~ubuntu-branches/ubuntu/saucy/clamav/saucy-backports

« back to all changes in this revision

Viewing changes to m4/acinclude.m4

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-07-15 01:08:10 UTC
  • mfrom: (0.35.47 sid)
  • Revision ID: package-import@ubuntu.com-20140715010810-ru66ek4fun2iseba
Tags: 0.98.4+dfsg-2~ubuntu13.10.1
No-change backport to saucy (LP: #1341962)

Show diffs side-by-side

added added

removed removed

Lines of Context:
584
584
]
585
585
)
586
586
 
587
 
dnl AC_C_FPU_BIGENDIAN
588
 
dnl Detects FPU endianess
589
 
dnl FPU_WORDS_BIGENDIAN = 1 for big endian
590
 
dnl FPU_WORDS_BIGENDIAN = 0 for little endian
591
 
dnl FPU_WORDS_BIGENDIAN undefined when endianes cannot be determined
592
 
 
593
 
AC_DEFUN([AC_C_FPU_BIGENDIAN],
594
 
[AC_CACHE_CHECK([whether FPU byte ordering is bigendian], [ac_cv_c_fpu_bigendian],
595
 
[ac_cv_c_fpu_bigendian=auto
596
 
AC_ARG_WITH(fpu-words-bigendian,
597
 
[  --with-fpu-words-bigendian=(yes/no/auto)    specify FPU endianess (default=auto)],
598
 
ac_cv_c_fpu_bigendian=$with_fpu_words_bigendian, ac_cv_c_fpu_bigendian=auto)
599
 
 
600
 
if test $ac_cv_c_fpu_bigendian = auto; then
601
 
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[double d = 3815911171354501045744583353695226502220105394563506259449467213186125718792664588210662403287568710818873279842508553551908601408568128557088985172985437412593385138085986771664896.0;]])],[
602
 
if ${GREP-grep} emmeelle conftest.$ac_objext >/dev/null 2>&1 ; then
603
 
        ac_cv_c_fpu_bigendian=yes
604
 
fi
605
 
if ${GREP-grep} elleemme conftest.$ac_objext >/dev/null 2>&1 ; then
606
 
        ac_cv_c_fpu_bigendian=no
607
 
fi
608
 
if test "$ac_cv_c_bigendian" = "universal"; then
609
 
        ac_cv_c_fpu_bigendian=universal
610
 
fi
611
 
])
612
 
fi
613
 
 
614
 
])
615
 
have_autoitea06="no"
616
 
case $ac_cv_c_fpu_bigendian in
617
 
        yes)
618
 
                AC_DEFINE([FPU_WORDS_BIGENDIAN], 1, [FPU byte ordering is big endian])
619
 
                have_autoitea06="yes"
620
 
                ;;
621
 
        no)
622
 
                AC_DEFINE([FPU_WORDS_BIGENDIAN], 0, [FPU byte ordering is little endian])
623
 
                have_autoitea06="yes"
624
 
                ;;
625
 
        universal)
626
 
                AC_DEFINE([FPU_WORDS_BIGENDIAN], [WORDS_BIGENDIAN], [FPU byte ordering matches CPU])
627
 
                have_autoitea06="yes"
628
 
                ;;
629
 
        *)
630
 
                AC_MSG_WARN([Unable to determine FPU endianess, some features may not be available in this build])
631
 
esac
632
 
])
633
 
 
634
587
dnl AC_C_CVE_2008_1372
635
588
dnl Checks DoS in bzlib 
636
589
AC_DEFUN([AC_C_CVE_2008_1372],