|
|
|
@ -25852,6 +25852,63 @@ cat >>confdefs.h <<_ACEOF |
|
|
|
|
_ACEOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking if signed right shift is sign extended" >&5 |
|
|
|
|
echo $ECHO_N "checking if signed right shift is sign extended... $ECHO_C" >&6; } |
|
|
|
|
if test "$cross_compiling" = yes; then |
|
|
|
|
have_signed_rightshift_extended=no |
|
|
|
|
else |
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* confdefs.h. */ |
|
|
|
|
_ACEOF |
|
|
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
|
|
/* end confdefs.h. */ |
|
|
|
|
int main(void){int a=-1;int b=a>>1;return(a!=b);} |
|
|
|
|
_ACEOF |
|
|
|
|
rm -f conftest$ac_exeext |
|
|
|
|
if { (ac_try="$ac_link" |
|
|
|
|
case "(($ac_try" in |
|
|
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
|
|
*) ac_try_echo=$ac_try;; |
|
|
|
|
esac |
|
|
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
|
|
(eval "$ac_link") 2>&5 |
|
|
|
|
ac_status=$? |
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
|
|
{ (case "(($ac_try" in |
|
|
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
|
|
*) ac_try_echo=$ac_try;; |
|
|
|
|
esac |
|
|
|
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
|
|
(eval "$ac_try") 2>&5 |
|
|
|
|
ac_status=$? |
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
|
|
(exit $ac_status); }; }; then |
|
|
|
|
have_signed_rightshift_extended=yes |
|
|
|
|
else |
|
|
|
|
echo "$as_me: program exited with status $ac_status" >&5 |
|
|
|
|
echo "$as_me: failed program was:" >&5 |
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
|
|
|
|
( exit $ac_status ) |
|
|
|
|
have_signed_rightshift_extended=no |
|
|
|
|
fi |
|
|
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test $have_signed_rightshift_extended = yes; then |
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
#define HAVE_SAR 1 |
|
|
|
|
_ACEOF |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
{ echo "$as_me:$LINENO: result: $have_signed_rightshift_extended" >&5 |
|
|
|
|
echo "${ECHO_T}$have_signed_rightshift_extended" >&6; }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_config_files="$ac_config_files libclamav/Makefile clamscan/Makefile database/Makefile docs/Makefile clamd/Makefile clamdscan/Makefile clamav-milter/Makefile freshclam/Makefile sigtool/Makefile clamconf/Makefile etc/Makefile Makefile clamav-config libclamav.pc docs/man/clamav-milter.8 docs/man/clamconf.1 docs/man/clamd.8 docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 docs/man/freshclam.1 docs/man/freshclam.conf.5 docs/man/sigtool.1" |
|
|
|
|
|
|
|
|
|
cat >confcache <<\_ACEOF |
|
|
|
|