... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Mon Oct 18 11:27:16 EEST 2010 (edwin) |
|
2 |
+------------------------------------- |
|
3 |
+ * configure: fix bytecode and autoit for Apple-style universal builds (bb #2030) |
|
4 |
+ |
|
1 | 5 |
Mon Oct 18 10:46:25 EEST 2010 (edwin) |
2 | 6 |
------------------------------------- |
3 | 7 |
* libclamav: test mode for bytecode (bb #2101) |
... | ... |
@@ -12525,6 +12525,9 @@ fi |
12525 | 12525 |
if ${GREP-grep} elleemme conftest.$ac_objext >/dev/null 2>&1 ; then |
12526 | 12526 |
ac_cv_c_fpu_bigendian=no |
12527 | 12527 |
fi |
12528 |
+if test "$ac_cv_c_bigendian" = "universal"; then |
|
12529 |
+ ac_cv_c_fpu_bigendian=universal |
|
12530 |
+fi |
|
12528 | 12531 |
|
12529 | 12532 |
fi |
12530 | 12533 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
... | ... |
@@ -12548,6 +12551,12 @@ $as_echo "#define FPU_WORDS_BIGENDIAN 0" >>confdefs.h |
12548 | 12548 |
|
12549 | 12549 |
have_autoitea06="yes" |
12550 | 12550 |
;; |
12551 |
+ universal) |
|
12552 |
+ |
|
12553 |
+$as_echo "#define FPU_WORDS_BIGENDIAN WORDS_BIGENDIAN" >>confdefs.h |
|
12554 |
+ |
|
12555 |
+ have_autoitea06="yes" |
|
12556 |
+ ;; |
|
12551 | 12557 |
*) |
12552 | 12558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to determine FPU endianess, some features may not be available in this build" >&5 |
12553 | 12559 |
$as_echo "$as_me: WARNING: Unable to determine FPU endianess, some features may not be available in this build" >&2;} |
... | ... |
@@ -769,7 +769,6 @@ LLVMCONFIG_CXXFLAGS |
769 | 769 |
GMAKE |
770 | 770 |
ifGNUmake |
771 | 771 |
CXXCPP |
772 |
-CPP |
|
773 | 772 |
OTOOL64 |
774 | 773 |
OTOOL |
775 | 774 |
LIPO |
... | ... |
@@ -785,19 +784,20 @@ ac_ct_DUMPBIN |
785 | 785 |
DUMPBIN |
786 | 786 |
LD |
787 | 787 |
FGREP |
788 |
+SED |
|
789 |
+LIBTOOL |
|
790 |
+MAINT |
|
791 |
+MAINTAINER_MODE_FALSE |
|
792 |
+MAINTAINER_MODE_TRUE |
|
788 | 793 |
EGREP |
789 | 794 |
GREP |
790 |
-SED |
|
795 |
+CPP |
|
791 | 796 |
am__fastdepCC_FALSE |
792 | 797 |
am__fastdepCC_TRUE |
793 | 798 |
CCDEPMODE |
794 | 799 |
ac_ct_CC |
795 | 800 |
CFLAGS |
796 | 801 |
CC |
797 |
-LIBTOOL |
|
798 |
-MAINT |
|
799 |
-MAINTAINER_MODE_FALSE |
|
800 |
-MAINTAINER_MODE_TRUE |
|
801 | 802 |
am__fastdepCXX_FALSE |
802 | 803 |
am__fastdepCXX_TRUE |
803 | 804 |
CXXDEPMODE |
... | ... |
@@ -1734,13 +1734,13 @@ fi |
1734 | 1734 |
|
1735 | 1735 |
} # ac_fn_c_try_compile |
1736 | 1736 |
|
1737 |
-# ac_fn_c_try_link LINENO |
|
1738 |
-# ----------------------- |
|
1739 |
-# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1740 |
-ac_fn_c_try_link () |
|
1737 |
+# ac_fn_c_try_run LINENO |
|
1738 |
+# ---------------------- |
|
1739 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1740 |
+# that executables *can* be run. |
|
1741 |
+ac_fn_c_try_run () |
|
1741 | 1742 |
{ |
1742 | 1743 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1743 |
- rm -f conftest.$ac_objext conftest$ac_exeext |
|
1744 | 1744 |
if { { ac_try="$ac_link" |
1745 | 1745 |
case "(($ac_try" in |
1746 | 1746 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
... | ... |
@@ -1748,7 +1748,48 @@ case "(($ac_try" in |
1748 | 1748 |
esac |
1749 | 1749 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1750 | 1750 |
$as_echo "$ac_try_echo"; } >&5 |
1751 |
- (eval "$ac_link") 2>conftest.err |
|
1751 |
+ (eval "$ac_link") 2>&5 |
|
1752 |
+ ac_status=$? |
|
1753 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1754 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1755 |
+ { { case "(($ac_try" in |
|
1756 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1757 |
+ *) ac_try_echo=$ac_try;; |
|
1758 |
+esac |
|
1759 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1760 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1761 |
+ (eval "$ac_try") 2>&5 |
|
1762 |
+ ac_status=$? |
|
1763 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1764 |
+ test $ac_status = 0; }; }; then : |
|
1765 |
+ ac_retval=0 |
|
1766 |
+else |
|
1767 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1768 |
+ $as_echo "$as_me: failed program was:" >&5 |
|
1769 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
1770 |
+ |
|
1771 |
+ ac_retval=$ac_status |
|
1772 |
+fi |
|
1773 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1774 |
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
1775 |
+ as_fn_set_status $ac_retval |
|
1776 |
+ |
|
1777 |
+} # ac_fn_c_try_run |
|
1778 |
+ |
|
1779 |
+# ac_fn_c_try_cpp LINENO |
|
1780 |
+# ---------------------- |
|
1781 |
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1782 |
+ac_fn_c_try_cpp () |
|
1783 |
+{ |
|
1784 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1785 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1786 |
+case "(($ac_try" in |
|
1787 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1788 |
+ *) ac_try_echo=$ac_try;; |
|
1789 |
+esac |
|
1790 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1791 |
+$as_echo "$ac_try_echo"; } >&5 |
|
1792 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1752 | 1793 |
ac_status=$? |
1753 | 1794 |
if test -s conftest.err; then |
1754 | 1795 |
grep -v '^ *+' conftest.err >conftest.er1 |
... | ... |
@@ -1756,29 +1797,21 @@ $as_echo "$ac_try_echo"; } >&5 |
1756 | 1756 |
mv -f conftest.er1 conftest.err |
1757 | 1757 |
fi |
1758 | 1758 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1759 |
- test $ac_status = 0; } && { |
|
1760 |
- test -z "$ac_c_werror_flag" || |
|
1759 |
+ test $ac_status = 0; } > conftest.i && { |
|
1760 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1761 | 1761 |
test ! -s conftest.err |
1762 |
- } && test -s conftest$ac_exeext && { |
|
1763 |
- test "$cross_compiling" = yes || |
|
1764 |
- $as_test_x conftest$ac_exeext |
|
1765 | 1762 |
}; then : |
1766 | 1763 |
ac_retval=0 |
1767 | 1764 |
else |
1768 | 1765 |
$as_echo "$as_me: failed program was:" >&5 |
1769 | 1766 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1770 | 1767 |
|
1771 |
- ac_retval=1 |
|
1768 |
+ ac_retval=1 |
|
1772 | 1769 |
fi |
1773 |
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1774 |
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1775 |
- # interfere with the next link command; also delete a directory that is |
|
1776 |
- # left behind by Apple's compiler. We do this before executing the actions. |
|
1777 |
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1778 | 1770 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1779 | 1771 |
as_fn_set_status $ac_retval |
1780 | 1772 |
|
1781 |
-} # ac_fn_c_try_link |
|
1773 |
+} # ac_fn_c_try_cpp |
|
1782 | 1774 |
|
1783 | 1775 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1784 | 1776 |
# ------------------------------------------------------- |
... | ... |
@@ -1811,20 +1844,21 @@ $as_echo "$ac_res" >&6; } |
1811 | 1811 |
|
1812 | 1812 |
} # ac_fn_c_check_header_compile |
1813 | 1813 |
|
1814 |
-# ac_fn_c_try_cpp LINENO |
|
1815 |
-# ---------------------- |
|
1816 |
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1817 |
-ac_fn_c_try_cpp () |
|
1814 |
+# ac_fn_c_try_link LINENO |
|
1815 |
+# ----------------------- |
|
1816 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1817 |
+ac_fn_c_try_link () |
|
1818 | 1818 |
{ |
1819 | 1819 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1820 |
- if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1820 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
|
1821 |
+ if { { ac_try="$ac_link" |
|
1821 | 1822 |
case "(($ac_try" in |
1822 | 1823 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1823 | 1824 |
*) ac_try_echo=$ac_try;; |
1824 | 1825 |
esac |
1825 | 1826 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1826 | 1827 |
$as_echo "$ac_try_echo"; } >&5 |
1827 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1828 |
+ (eval "$ac_link") 2>conftest.err |
|
1828 | 1829 |
ac_status=$? |
1829 | 1830 |
if test -s conftest.err; then |
1830 | 1831 |
grep -v '^ *+' conftest.err >conftest.er1 |
... | ... |
@@ -1832,63 +1866,29 @@ $as_echo "$ac_try_echo"; } >&5 |
1832 | 1832 |
mv -f conftest.er1 conftest.err |
1833 | 1833 |
fi |
1834 | 1834 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1835 |
- test $ac_status = 0; } > conftest.i && { |
|
1836 |
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1835 |
+ test $ac_status = 0; } && { |
|
1836 |
+ test -z "$ac_c_werror_flag" || |
|
1837 | 1837 |
test ! -s conftest.err |
1838 |
+ } && test -s conftest$ac_exeext && { |
|
1839 |
+ test "$cross_compiling" = yes || |
|
1840 |
+ $as_test_x conftest$ac_exeext |
|
1838 | 1841 |
}; then : |
1839 | 1842 |
ac_retval=0 |
1840 | 1843 |
else |
1841 | 1844 |
$as_echo "$as_me: failed program was:" >&5 |
1842 | 1845 |
sed 's/^/| /' conftest.$ac_ext >&5 |
1843 | 1846 |
|
1844 |
- ac_retval=1 |
|
1845 |
-fi |
|
1846 |
- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
1847 |
- as_fn_set_status $ac_retval |
|
1848 |
- |
|
1849 |
-} # ac_fn_c_try_cpp |
|
1850 |
- |
|
1851 |
-# ac_fn_c_try_run LINENO |
|
1852 |
-# ---------------------- |
|
1853 |
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1854 |
-# that executables *can* be run. |
|
1855 |
-ac_fn_c_try_run () |
|
1856 |
-{ |
|
1857 |
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1858 |
- if { { ac_try="$ac_link" |
|
1859 |
-case "(($ac_try" in |
|
1860 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1861 |
- *) ac_try_echo=$ac_try;; |
|
1862 |
-esac |
|
1863 |
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1864 |
-$as_echo "$ac_try_echo"; } >&5 |
|
1865 |
- (eval "$ac_link") 2>&5 |
|
1866 |
- ac_status=$? |
|
1867 |
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1868 |
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1869 |
- { { case "(($ac_try" in |
|
1870 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1871 |
- *) ac_try_echo=$ac_try;; |
|
1872 |
-esac |
|
1873 |
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1874 |
-$as_echo "$ac_try_echo"; } >&5 |
|
1875 |
- (eval "$ac_try") 2>&5 |
|
1876 |
- ac_status=$? |
|
1877 |
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1878 |
- test $ac_status = 0; }; }; then : |
|
1879 |
- ac_retval=0 |
|
1880 |
-else |
|
1881 |
- $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1882 |
- $as_echo "$as_me: failed program was:" >&5 |
|
1883 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
1884 |
- |
|
1885 |
- ac_retval=$ac_status |
|
1847 |
+ ac_retval=1 |
|
1886 | 1848 |
fi |
1849 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1850 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1851 |
+ # interfere with the next link command; also delete a directory that is |
|
1852 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
|
1887 | 1853 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1888 | 1854 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1889 | 1855 |
as_fn_set_status $ac_retval |
1890 | 1856 |
|
1891 |
-} # ac_fn_c_try_run |
|
1857 |
+} # ac_fn_c_try_link |
|
1892 | 1858 |
|
1893 | 1859 |
# ac_fn_c_check_func LINENO FUNC VAR |
1894 | 1860 |
# ---------------------------------- |
... | ... |
@@ -3836,67 +3836,6 @@ else |
3836 | 3836 |
fi |
3837 | 3837 |
|
3838 | 3838 |
|
3839 |
- |
|
3840 |
-if test "$cxxset" != set; then |
|
3841 |
-# don't use the default -O2 -g because -g bloats the C++ binaries too much |
|
3842 |
- CXXFLAGS="-O2" |
|
3843 |
-fi |
|
3844 |
-case "$target_os" in |
|
3845 |
-solaris*) |
|
3846 |
- CXXFLAGS="$CXXFLAGS -include llvm/include/llvm/System/Solaris.h" |
|
3847 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: Building on Solaris" >&5 |
|
3848 |
-$as_echo "$as_me: Building on Solaris" >&6;} |
|
3849 |
- ;; |
|
3850 |
-esac |
|
3851 |
- |
|
3852 |
- |
|
3853 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
3854 |
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
|
3855 |
- # Check whether --enable-maintainer-mode was given. |
|
3856 |
-if test "${enable_maintainer_mode+set}" = set; then : |
|
3857 |
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
|
3858 |
-else |
|
3859 |
- USE_MAINTAINER_MODE=no |
|
3860 |
-fi |
|
3861 |
- |
|
3862 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
|
3863 |
-$as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
3864 |
- if test $USE_MAINTAINER_MODE = yes; then |
|
3865 |
- MAINTAINER_MODE_TRUE= |
|
3866 |
- MAINTAINER_MODE_FALSE='#' |
|
3867 |
-else |
|
3868 |
- MAINTAINER_MODE_TRUE='#' |
|
3869 |
- MAINTAINER_MODE_FALSE= |
|
3870 |
-fi |
|
3871 |
- |
|
3872 |
- MAINT=$MAINTAINER_MODE_TRUE |
|
3873 |
- |
|
3874 |
- |
|
3875 |
-case `pwd` in |
|
3876 |
- *\ * | *\ *) |
|
3877 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
3878 |
-$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
3879 |
-esac |
|
3880 |
- |
|
3881 |
- |
|
3882 |
- |
|
3883 |
-macro_version='2.2.6b' |
|
3884 |
-macro_revision='1.3017' |
|
3885 |
- |
|
3886 |
- |
|
3887 |
- |
|
3888 |
- |
|
3889 |
- |
|
3890 |
- |
|
3891 |
- |
|
3892 |
- |
|
3893 |
- |
|
3894 |
- |
|
3895 |
- |
|
3896 |
- |
|
3897 |
- |
|
3898 |
-ltmain="$ac_aux_dir/ltmain.sh" |
|
3899 |
- |
|
3900 | 3839 |
ac_ext=c |
3901 | 3840 |
ac_cpp='$CPP $CPPFLAGS' |
3902 | 3841 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
... | ... |
@@ -4564,86 +4503,143 @@ else |
4564 | 4564 |
fi |
4565 | 4565 |
|
4566 | 4566 |
|
4567 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
|
4568 |
-$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
4569 |
-if test "${ac_cv_path_SED+set}" = set; then : |
|
4567 |
+ |
|
4568 |
+ac_ext=c |
|
4569 |
+ac_cpp='$CPP $CPPFLAGS' |
|
4570 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4571 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4572 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4573 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
4574 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
4575 |
+# On Suns, sometimes $CPP names a directory. |
|
4576 |
+if test -n "$CPP" && test -d "$CPP"; then |
|
4577 |
+ CPP= |
|
4578 |
+fi |
|
4579 |
+if test -z "$CPP"; then |
|
4580 |
+ if test "${ac_cv_prog_CPP+set}" = set; then : |
|
4570 | 4581 |
$as_echo_n "(cached) " >&6 |
4571 | 4582 |
else |
4572 |
- ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
4573 |
- for ac_i in 1 2 3 4 5 6 7; do |
|
4574 |
- ac_script="$ac_script$as_nl$ac_script" |
|
4575 |
- done |
|
4576 |
- echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
4577 |
- { ac_script=; unset ac_script;} |
|
4578 |
- if test -z "$SED"; then |
|
4579 |
- ac_path_SED_found=false |
|
4580 |
- # Loop through the user's path and test for each of PROGNAME-LIST |
|
4581 |
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4582 |
-for as_dir in $PATH |
|
4583 |
+ # Double quotes because CPP needs to be expanded |
|
4584 |
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4585 |
+ do |
|
4586 |
+ ac_preproc_ok=false |
|
4587 |
+for ac_c_preproc_warn_flag in '' yes |
|
4583 | 4588 |
do |
4584 |
- IFS=$as_save_IFS |
|
4585 |
- test -z "$as_dir" && as_dir=. |
|
4586 |
- for ac_prog in sed gsed; do |
|
4587 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
|
4588 |
- ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
4589 |
- { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
4590 |
-# Check for GNU ac_path_SED and select it if it is found. |
|
4591 |
- # Check for GNU $ac_path_SED |
|
4592 |
-case `"$ac_path_SED" --version 2>&1` in |
|
4593 |
-*GNU*) |
|
4594 |
- ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
4595 |
-*) |
|
4596 |
- ac_count=0 |
|
4597 |
- $as_echo_n 0123456789 >"conftest.in" |
|
4598 |
- while : |
|
4599 |
- do |
|
4600 |
- cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4601 |
- mv "conftest.tmp" "conftest.in" |
|
4602 |
- cp "conftest.in" "conftest.nl" |
|
4603 |
- $as_echo '' >> "conftest.nl" |
|
4604 |
- "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4605 |
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4606 |
- as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4607 |
- if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
4608 |
- # Best one so far, save it but keep looking for a better one |
|
4609 |
- ac_cv_path_SED="$ac_path_SED" |
|
4610 |
- ac_path_SED_max=$ac_count |
|
4611 |
- fi |
|
4612 |
- # 10*(2^10) chars as input seems more than enough |
|
4613 |
- test $ac_count -gt 10 && break |
|
4614 |
- done |
|
4615 |
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4616 |
-esac |
|
4589 |
+ # Use a header file that comes with gcc, so configuring glibc |
|
4590 |
+ # with a fresh cross-compiler works. |
|
4591 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4592 |
+ # <limits.h> exists even on freestanding compilers. |
|
4593 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
|
4594 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
|
4595 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4596 |
+/* end confdefs.h. */ |
|
4597 |
+#ifdef __STDC__ |
|
4598 |
+# include <limits.h> |
|
4599 |
+#else |
|
4600 |
+# include <assert.h> |
|
4601 |
+#endif |
|
4602 |
+ Syntax error |
|
4603 |
+_ACEOF |
|
4604 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
4617 | 4605 |
|
4618 |
- $ac_path_SED_found && break 3 |
|
4619 |
- done |
|
4620 |
- done |
|
4621 |
- done |
|
4622 |
-IFS=$as_save_IFS |
|
4623 |
- if test -z "$ac_cv_path_SED"; then |
|
4624 |
- as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
4625 |
- fi |
|
4626 | 4606 |
else |
4627 |
- ac_cv_path_SED=$SED |
|
4607 |
+ # Broken: fails on valid input. |
|
4608 |
+continue |
|
4628 | 4609 |
fi |
4610 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
4629 | 4611 |
|
4612 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
|
4613 |
+ # can be detected and how. |
|
4614 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4615 |
+/* end confdefs.h. */ |
|
4616 |
+#include <ac_nonexistent.h> |
|
4617 |
+_ACEOF |
|
4618 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
4619 |
+ # Broken: success on invalid input. |
|
4620 |
+continue |
|
4621 |
+else |
|
4622 |
+ # Passes both tests. |
|
4623 |
+ac_preproc_ok=: |
|
4624 |
+break |
|
4630 | 4625 |
fi |
4631 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
4632 |
-$as_echo "$ac_cv_path_SED" >&6; } |
|
4633 |
- SED="$ac_cv_path_SED" |
|
4634 |
- rm -f conftest.sed |
|
4635 |
- |
|
4636 |
-test -z "$SED" && SED=sed |
|
4637 |
-Xsed="$SED -e 1s/^X//" |
|
4638 |
- |
|
4626 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
4639 | 4627 |
|
4628 |
+done |
|
4629 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4630 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
|
4631 |
+if $ac_preproc_ok; then : |
|
4632 |
+ break |
|
4633 |
+fi |
|
4640 | 4634 |
|
4635 |
+ done |
|
4636 |
+ ac_cv_prog_CPP=$CPP |
|
4641 | 4637 |
|
4638 |
+fi |
|
4639 |
+ CPP=$ac_cv_prog_CPP |
|
4640 |
+else |
|
4641 |
+ ac_cv_prog_CPP=$CPP |
|
4642 |
+fi |
|
4643 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
4644 |
+$as_echo "$CPP" >&6; } |
|
4645 |
+ac_preproc_ok=false |
|
4646 |
+for ac_c_preproc_warn_flag in '' yes |
|
4647 |
+do |
|
4648 |
+ # Use a header file that comes with gcc, so configuring glibc |
|
4649 |
+ # with a fresh cross-compiler works. |
|
4650 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4651 |
+ # <limits.h> exists even on freestanding compilers. |
|
4652 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
|
4653 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
|
4654 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4655 |
+/* end confdefs.h. */ |
|
4656 |
+#ifdef __STDC__ |
|
4657 |
+# include <limits.h> |
|
4658 |
+#else |
|
4659 |
+# include <assert.h> |
|
4660 |
+#endif |
|
4661 |
+ Syntax error |
|
4662 |
+_ACEOF |
|
4663 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
4642 | 4664 |
|
4665 |
+else |
|
4666 |
+ # Broken: fails on valid input. |
|
4667 |
+continue |
|
4668 |
+fi |
|
4669 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
4643 | 4670 |
|
4671 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
|
4672 |
+ # can be detected and how. |
|
4673 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4674 |
+/* end confdefs.h. */ |
|
4675 |
+#include <ac_nonexistent.h> |
|
4676 |
+_ACEOF |
|
4677 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
|
4678 |
+ # Broken: success on invalid input. |
|
4679 |
+continue |
|
4680 |
+else |
|
4681 |
+ # Passes both tests. |
|
4682 |
+ac_preproc_ok=: |
|
4683 |
+break |
|
4684 |
+fi |
|
4685 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
|
4644 | 4686 |
|
4687 |
+done |
|
4688 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4689 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
|
4690 |
+if $ac_preproc_ok; then : |
|
4645 | 4691 |
|
4692 |
+else |
|
4693 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
4694 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4695 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
4696 |
+See \`config.log' for more details" "$LINENO" 5 ; } |
|
4697 |
+fi |
|
4646 | 4698 |
|
4699 |
+ac_ext=c |
|
4700 |
+ac_cpp='$CPP $CPPFLAGS' |
|
4701 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4702 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4703 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4647 | 4704 |
|
4648 | 4705 |
|
4649 | 4706 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
... | ... |
@@ -4776,6 +4772,502 @@ $as_echo "$ac_cv_path_EGREP" >&6; } |
4776 | 4776 |
EGREP="$ac_cv_path_EGREP" |
4777 | 4777 |
|
4778 | 4778 |
|
4779 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
4780 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
|
4781 |
+if test "${ac_cv_header_stdc+set}" = set; then : |
|
4782 |
+ $as_echo_n "(cached) " >&6 |
|
4783 |
+else |
|
4784 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4785 |
+/* end confdefs.h. */ |
|
4786 |
+#include <stdlib.h> |
|
4787 |
+#include <stdarg.h> |
|
4788 |
+#include <string.h> |
|
4789 |
+#include <float.h> |
|
4790 |
+ |
|
4791 |
+int |
|
4792 |
+main () |
|
4793 |
+{ |
|
4794 |
+ |
|
4795 |
+ ; |
|
4796 |
+ return 0; |
|
4797 |
+} |
|
4798 |
+_ACEOF |
|
4799 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
4800 |
+ ac_cv_header_stdc=yes |
|
4801 |
+else |
|
4802 |
+ ac_cv_header_stdc=no |
|
4803 |
+fi |
|
4804 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4805 |
+ |
|
4806 |
+if test $ac_cv_header_stdc = yes; then |
|
4807 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
4808 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4809 |
+/* end confdefs.h. */ |
|
4810 |
+#include <string.h> |
|
4811 |
+ |
|
4812 |
+_ACEOF |
|
4813 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4814 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
|
4815 |
+ |
|
4816 |
+else |
|
4817 |
+ ac_cv_header_stdc=no |
|
4818 |
+fi |
|
4819 |
+rm -f conftest* |
|
4820 |
+ |
|
4821 |
+fi |
|
4822 |
+ |
|
4823 |
+if test $ac_cv_header_stdc = yes; then |
|
4824 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
4825 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4826 |
+/* end confdefs.h. */ |
|
4827 |
+#include <stdlib.h> |
|
4828 |
+ |
|
4829 |
+_ACEOF |
|
4830 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4831 |
+ $EGREP "free" >/dev/null 2>&1; then : |
|
4832 |
+ |
|
4833 |
+else |
|
4834 |
+ ac_cv_header_stdc=no |
|
4835 |
+fi |
|
4836 |
+rm -f conftest* |
|
4837 |
+ |
|
4838 |
+fi |
|
4839 |
+ |
|
4840 |
+if test $ac_cv_header_stdc = yes; then |
|
4841 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
4842 |
+ if test "$cross_compiling" = yes; then : |
|
4843 |
+ : |
|
4844 |
+else |
|
4845 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4846 |
+/* end confdefs.h. */ |
|
4847 |
+#include <ctype.h> |
|
4848 |
+#include <stdlib.h> |
|
4849 |
+#if ((' ' & 0x0FF) == 0x020) |
|
4850 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
4851 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
4852 |
+#else |
|
4853 |
+# define ISLOWER(c) \ |
|
4854 |
+ (('a' <= (c) && (c) <= 'i') \ |
|
4855 |
+ || ('j' <= (c) && (c) <= 'r') \ |
|
4856 |
+ || ('s' <= (c) && (c) <= 'z')) |
|
4857 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
4858 |
+#endif |
|
4859 |
+ |
|
4860 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
4861 |
+int |
|
4862 |
+main () |
|
4863 |
+{ |
|
4864 |
+ int i; |
|
4865 |
+ for (i = 0; i < 256; i++) |
|
4866 |
+ if (XOR (islower (i), ISLOWER (i)) |
|
4867 |
+ || toupper (i) != TOUPPER (i)) |
|
4868 |
+ return 2; |
|
4869 |
+ return 0; |
|
4870 |
+} |
|
4871 |
+_ACEOF |
|
4872 |
+if ac_fn_c_try_run "$LINENO"; then : |
|
4873 |
+ |
|
4874 |
+else |
|
4875 |
+ ac_cv_header_stdc=no |
|
4876 |
+fi |
|
4877 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4878 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4879 |
+fi |
|
4880 |
+ |
|
4881 |
+fi |
|
4882 |
+fi |
|
4883 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
4884 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
|
4885 |
+if test $ac_cv_header_stdc = yes; then |
|
4886 |
+ |
|
4887 |
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
4888 |
+ |
|
4889 |
+fi |
|
4890 |
+ |
|
4891 |
+# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
4892 |
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4893 |
+ inttypes.h stdint.h unistd.h |
|
4894 |
+do : |
|
4895 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4896 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
4897 |
+" |
|
4898 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
4899 |
+ cat >>confdefs.h <<_ACEOF |
|
4900 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
4901 |
+_ACEOF |
|
4902 |
+ |
|
4903 |
+fi |
|
4904 |
+ |
|
4905 |
+done |
|
4906 |
+ |
|
4907 |
+ |
|
4908 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
|
4909 |
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
|
4910 |
+if test "${ac_cv_c_bigendian+set}" = set; then : |
|
4911 |
+ $as_echo_n "(cached) " >&6 |
|
4912 |
+else |
|
4913 |
+ ac_cv_c_bigendian=unknown |
|
4914 |
+ # See if we're dealing with a universal compiler. |
|
4915 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4916 |
+/* end confdefs.h. */ |
|
4917 |
+#ifndef __APPLE_CC__ |
|
4918 |
+ not a universal capable compiler |
|
4919 |
+ #endif |
|
4920 |
+ typedef int dummy; |
|
4921 |
+ |
|
4922 |
+_ACEOF |
|
4923 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
4924 |
+ |
|
4925 |
+ # Check for potential -arch flags. It is not universal unless |
|
4926 |
+ # there are at least two -arch flags with different values. |
|
4927 |
+ ac_arch= |
|
4928 |
+ ac_prev= |
|
4929 |
+ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
|
4930 |
+ if test -n "$ac_prev"; then |
|
4931 |
+ case $ac_word in |
|
4932 |
+ i?86 | x86_64 | ppc | ppc64) |
|
4933 |
+ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
|
4934 |
+ ac_arch=$ac_word |
|
4935 |
+ else |
|
4936 |
+ ac_cv_c_bigendian=universal |
|
4937 |
+ break |
|
4938 |
+ fi |
|
4939 |
+ ;; |
|
4940 |
+ esac |
|
4941 |
+ ac_prev= |
|
4942 |
+ elif test "x$ac_word" = "x-arch"; then |
|
4943 |
+ ac_prev=arch |
|
4944 |
+ fi |
|
4945 |
+ done |
|
4946 |
+fi |
|
4947 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4948 |
+ if test $ac_cv_c_bigendian = unknown; then |
|
4949 |
+ # See if sys/param.h defines the BYTE_ORDER macro. |
|
4950 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4951 |
+/* end confdefs.h. */ |
|
4952 |
+#include <sys/types.h> |
|
4953 |
+ #include <sys/param.h> |
|
4954 |
+ |
|
4955 |
+int |
|
4956 |
+main () |
|
4957 |
+{ |
|
4958 |
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
|
4959 |
+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
|
4960 |
+ && LITTLE_ENDIAN) |
|
4961 |
+ bogus endian macros |
|
4962 |
+ #endif |
|
4963 |
+ |
|
4964 |
+ ; |
|
4965 |
+ return 0; |
|
4966 |
+} |
|
4967 |
+_ACEOF |
|
4968 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
4969 |
+ # It does; now see whether it defined to BIG_ENDIAN or not. |
|
4970 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4971 |
+/* end confdefs.h. */ |
|
4972 |
+#include <sys/types.h> |
|
4973 |
+ #include <sys/param.h> |
|
4974 |
+ |
|
4975 |
+int |
|
4976 |
+main () |
|
4977 |
+{ |
|
4978 |
+#if BYTE_ORDER != BIG_ENDIAN |
|
4979 |
+ not big endian |
|
4980 |
+ #endif |
|
4981 |
+ |
|
4982 |
+ ; |
|
4983 |
+ return 0; |
|
4984 |
+} |
|
4985 |
+_ACEOF |
|
4986 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
4987 |
+ ac_cv_c_bigendian=yes |
|
4988 |
+else |
|
4989 |
+ ac_cv_c_bigendian=no |
|
4990 |
+fi |
|
4991 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4992 |
+fi |
|
4993 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4994 |
+ fi |
|
4995 |
+ if test $ac_cv_c_bigendian = unknown; then |
|
4996 |
+ # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
|
4997 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4998 |
+/* end confdefs.h. */ |
|
4999 |
+#include <limits.h> |
|
5000 |
+ |
|
5001 |
+int |
|
5002 |
+main () |
|
5003 |
+{ |
|
5004 |
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
|
5005 |
+ bogus endian macros |
|
5006 |
+ #endif |
|
5007 |
+ |
|
5008 |
+ ; |
|
5009 |
+ return 0; |
|
5010 |
+} |
|
5011 |
+_ACEOF |
|
5012 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
5013 |
+ # It does; now see whether it defined to _BIG_ENDIAN or not. |
|
5014 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5015 |
+/* end confdefs.h. */ |
|
5016 |
+#include <limits.h> |
|
5017 |
+ |
|
5018 |
+int |
|
5019 |
+main () |
|
5020 |
+{ |
|
5021 |
+#ifndef _BIG_ENDIAN |
|
5022 |
+ not big endian |
|
5023 |
+ #endif |
|
5024 |
+ |
|
5025 |
+ ; |
|
5026 |
+ return 0; |
|
5027 |
+} |
|
5028 |
+_ACEOF |
|
5029 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
5030 |
+ ac_cv_c_bigendian=yes |
|
5031 |
+else |
|
5032 |
+ ac_cv_c_bigendian=no |
|
5033 |
+fi |
|
5034 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5035 |
+fi |
|
5036 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5037 |
+ fi |
|
5038 |
+ if test $ac_cv_c_bigendian = unknown; then |
|
5039 |
+ # Compile a test program. |
|
5040 |
+ if test "$cross_compiling" = yes; then : |
|
5041 |
+ # Try to guess by grepping values from an object file. |
|
5042 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5043 |
+/* end confdefs.h. */ |
|
5044 |
+short int ascii_mm[] = |
|
5045 |
+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
|
5046 |
+ short int ascii_ii[] = |
|
5047 |
+ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
|
5048 |
+ int use_ascii (int i) { |
|
5049 |
+ return ascii_mm[i] + ascii_ii[i]; |
|
5050 |
+ } |
|
5051 |
+ short int ebcdic_ii[] = |
|
5052 |
+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
|
5053 |
+ short int ebcdic_mm[] = |
|
5054 |
+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
|
5055 |
+ int use_ebcdic (int i) { |
|
5056 |
+ return ebcdic_mm[i] + ebcdic_ii[i]; |
|
5057 |
+ } |
|
5058 |
+ extern int foo; |
|
5059 |
+ |
|
5060 |
+int |
|
5061 |
+main () |
|
5062 |
+{ |
|
5063 |
+return use_ascii (foo) == use_ebcdic (foo); |
|
5064 |
+ ; |
|
5065 |
+ return 0; |
|
5066 |
+} |
|
5067 |
+_ACEOF |
|
5068 |
+if ac_fn_c_try_compile "$LINENO"; then : |
|
5069 |
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
|
5070 |
+ ac_cv_c_bigendian=yes |
|
5071 |
+ fi |
|
5072 |
+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
|
5073 |
+ if test "$ac_cv_c_bigendian" = unknown; then |
|
5074 |
+ ac_cv_c_bigendian=no |
|
5075 |
+ else |
|
5076 |
+ # finding both strings is unlikely to happen, but who knows? |
|
5077 |
+ ac_cv_c_bigendian=unknown |
|
5078 |
+ fi |
|
5079 |
+ fi |
|
5080 |
+fi |
|
5081 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5082 |
+else |
|
5083 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5084 |
+/* end confdefs.h. */ |
|
5085 |
+$ac_includes_default |
|
5086 |
+int |
|
5087 |
+main () |
|
5088 |
+{ |
|
5089 |
+ |
|
5090 |
+ /* Are we little or big endian? From Harbison&Steele. */ |
|
5091 |
+ union |
|
5092 |
+ { |
|
5093 |
+ long int l; |
|
5094 |
+ char c[sizeof (long int)]; |
|
5095 |
+ } u; |
|
5096 |
+ u.l = 1; |
|
5097 |
+ return u.c[sizeof (long int) - 1] == 1; |
|
5098 |
+ |
|
5099 |
+ ; |
|
5100 |
+ return 0; |
|
5101 |
+} |
|
5102 |
+_ACEOF |
|
5103 |
+if ac_fn_c_try_run "$LINENO"; then : |
|
5104 |
+ ac_cv_c_bigendian=no |
|
5105 |
+else |
|
5106 |
+ ac_cv_c_bigendian=yes |
|
5107 |
+fi |
|
5108 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
5109 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
5110 |
+fi |
|
5111 |
+ |
|
5112 |
+ fi |
|
5113 |
+fi |
|
5114 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
|
5115 |
+$as_echo "$ac_cv_c_bigendian" >&6; } |
|
5116 |
+ case $ac_cv_c_bigendian in #( |
|
5117 |
+ yes) |
|
5118 |
+ $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
|
5119 |
+;; #( |
|
5120 |
+ no) |
|
5121 |
+ ;; #( |
|
5122 |
+ universal) |
|
5123 |
+ |
|
5124 |
+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
|
5125 |
+ |
|
5126 |
+ ;; #( |
|
5127 |
+ *) |
|
5128 |
+ as_fn_error $? "unknown endianness |
|
5129 |
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
|
5130 |
+ esac |
|
5131 |
+ |
|
5132 |
+ |
|
5133 |
+if test "$cxxset" != set; then |
|
5134 |
+# don't use the default -O2 -g because -g bloats the C++ binaries too much |
|
5135 |
+ CXXFLAGS="-O2" |
|
5136 |
+fi |
|
5137 |
+case "$target_os" in |
|
5138 |
+solaris*) |
|
5139 |
+ CXXFLAGS="$CXXFLAGS -include llvm/include/llvm/System/Solaris.h" |
|
5140 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Building on Solaris" >&5 |
|
5141 |
+$as_echo "$as_me: Building on Solaris" >&6;} |
|
5142 |
+ ;; |
|
5143 |
+esac |
|
5144 |
+ |
|
5145 |
+ |
|
5146 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
5147 |
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
|
5148 |
+ # Check whether --enable-maintainer-mode was given. |
|
5149 |
+if test "${enable_maintainer_mode+set}" = set; then : |
|
5150 |
+ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
|
5151 |
+else |
|
5152 |
+ USE_MAINTAINER_MODE=no |
|
5153 |
+fi |
|
5154 |
+ |
|
5155 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
|
5156 |
+$as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
5157 |
+ if test $USE_MAINTAINER_MODE = yes; then |
|
5158 |
+ MAINTAINER_MODE_TRUE= |
|
5159 |
+ MAINTAINER_MODE_FALSE='#' |
|
5160 |
+else |
|
5161 |
+ MAINTAINER_MODE_TRUE='#' |
|
5162 |
+ MAINTAINER_MODE_FALSE= |
|
5163 |
+fi |
|
5164 |
+ |
|
5165 |
+ MAINT=$MAINTAINER_MODE_TRUE |
|
5166 |
+ |
|
5167 |
+ |
|
5168 |
+case `pwd` in |
|
5169 |
+ *\ * | *\ *) |
|
5170 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
5171 |
+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
5172 |
+esac |
|
5173 |
+ |
|
5174 |
+ |
|
5175 |
+ |
|
5176 |
+macro_version='2.2.6b' |
|
5177 |
+macro_revision='1.3017' |
|
5178 |
+ |
|
5179 |
+ |
|
5180 |
+ |
|
5181 |
+ |
|
5182 |
+ |
|
5183 |
+ |
|
5184 |
+ |
|
5185 |
+ |
|
5186 |
+ |
|
5187 |
+ |
|
5188 |
+ |
|
5189 |
+ |
|
5190 |
+ |
|
5191 |
+ltmain="$ac_aux_dir/ltmain.sh" |
|
5192 |
+ |
|
5193 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
|
5194 |
+$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
|
5195 |
+if test "${ac_cv_path_SED+set}" = set; then : |
|
5196 |
+ $as_echo_n "(cached) " >&6 |
|
5197 |
+else |
|
5198 |
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
|
5199 |
+ for ac_i in 1 2 3 4 5 6 7; do |
|
5200 |
+ ac_script="$ac_script$as_nl$ac_script" |
|
5201 |
+ done |
|
5202 |
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
|
5203 |
+ { ac_script=; unset ac_script;} |
|
5204 |
+ if test -z "$SED"; then |
|
5205 |
+ ac_path_SED_found=false |
|
5206 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
|
5207 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5208 |
+for as_dir in $PATH |
|
5209 |
+do |
|
5210 |
+ IFS=$as_save_IFS |
|
5211 |
+ test -z "$as_dir" && as_dir=. |
|
5212 |
+ for ac_prog in sed gsed; do |
|
5213 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
|
5214 |
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
|
5215 |
+ { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
|
5216 |
+# Check for GNU ac_path_SED and select it if it is found. |
|
5217 |
+ # Check for GNU $ac_path_SED |
|
5218 |
+case `"$ac_path_SED" --version 2>&1` in |
|
5219 |
+*GNU*) |
|
5220 |
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
|
5221 |
+*) |
|
5222 |
+ ac_count=0 |
|
5223 |
+ $as_echo_n 0123456789 >"conftest.in" |
|
5224 |
+ while : |
|
5225 |
+ do |
|
5226 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
5227 |
+ mv "conftest.tmp" "conftest.in" |
|
5228 |
+ cp "conftest.in" "conftest.nl" |
|
5229 |
+ $as_echo '' >> "conftest.nl" |
|
5230 |
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
5231 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
5232 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
5233 |
+ if test $ac_count -gt ${ac_path_SED_max-0}; then |
|
5234 |
+ # Best one so far, save it but keep looking for a better one |
|
5235 |
+ ac_cv_path_SED="$ac_path_SED" |
|
5236 |
+ ac_path_SED_max=$ac_count |
|
5237 |
+ fi |
|
5238 |
+ # 10*(2^10) chars as input seems more than enough |
|
5239 |
+ test $ac_count -gt 10 && break |
|
5240 |
+ done |
|
5241 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
5242 |
+esac |
|
5243 |
+ |
|
5244 |
+ $ac_path_SED_found && break 3 |
|
5245 |
+ done |
|
5246 |
+ done |
|
5247 |
+ done |
|
5248 |
+IFS=$as_save_IFS |
|
5249 |
+ if test -z "$ac_cv_path_SED"; then |
|
5250 |
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
|
5251 |
+ fi |
|
5252 |
+else |
|
5253 |
+ ac_cv_path_SED=$SED |
|
5254 |
+fi |
|
5255 |
+ |
|
5256 |
+fi |
|
5257 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
|
5258 |
+$as_echo "$ac_cv_path_SED" >&6; } |
|
5259 |
+ SED="$ac_cv_path_SED" |
|
5260 |
+ rm -f conftest.sed |
|
5261 |
+ |
|
5262 |
+test -z "$SED" && SED=sed |
|
5263 |
+Xsed="$SED -e 1s/^X//" |
|
5264 |
+ |
|
5265 |
+ |
|
5266 |
+ |
|
5267 |
+ |
|
5268 |
+ |
|
5269 |
+ |
|
5270 |
+ |
|
5271 |
+ |
|
5272 |
+ |
|
5273 |
+ |
|
5274 |
+ |
|
4779 | 5275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4780 | 5276 |
$as_echo_n "checking for fgrep... " >&6; } |
4781 | 5277 |
if test "${ac_cv_path_FGREP+set}" = set; then : |
... | ... |
@@ -5148,13 +5640,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : |
5148 | 5148 |
else |
5149 | 5149 |
lt_cv_nm_interface="BSD nm" |
5150 | 5150 |
echo "int some_variable = 0;" > conftest.$ac_ext |
5151 |
- (eval echo "\"\$as_me:5151: $ac_compile\"" >&5) |
|
5151 |
+ (eval echo "\"\$as_me:5643: $ac_compile\"" >&5) |
|
5152 | 5152 |
(eval "$ac_compile" 2>conftest.err) |
5153 | 5153 |
cat conftest.err >&5 |
5154 |
- (eval echo "\"\$as_me:5154: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
5154 |
+ (eval echo "\"\$as_me:5646: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
5155 | 5155 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5156 | 5156 |
cat conftest.err >&5 |
5157 |
- (eval echo "\"\$as_me:5157: output\"" >&5) |
|
5157 |
+ (eval echo "\"\$as_me:5649: output\"" >&5) |
|
5158 | 5158 |
cat conftest.out >&5 |
5159 | 5159 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5160 | 5160 |
lt_cv_nm_interface="MS dumpbin" |
... | ... |
@@ -6328,7 +6820,6 @@ fi |
6328 | 6328 |
|
6329 | 6329 |
|
6330 | 6330 |
|
6331 |
- |
|
6332 | 6331 |
# Check whether --enable-libtool-lock was given. |
6333 | 6332 |
if test "${enable_libtool_lock+set}" = set; then : |
6334 | 6333 |
enableval=$enable_libtool_lock; |
... | ... |
@@ -6360,7 +6851,7 @@ ia64-*-hpux*) |
6360 | 6360 |
;; |
6361 | 6361 |
*-*-irix6*) |
6362 | 6362 |
# Find out which ABI we are using. |
6363 |
- echo '#line 6363 "configure"' > conftest.$ac_ext |
|
6363 |
+ echo '#line 6854 "configure"' > conftest.$ac_ext |
|
6364 | 6364 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6365 | 6365 |
(eval $ac_compile) 2>&5 |
6366 | 6366 |
ac_status=$? |
... | ... |
@@ -7107,273 +7598,6 @@ $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7107 | 7107 |
;; |
7108 | 7108 |
esac |
7109 | 7109 |
|
7110 |
-ac_ext=c |
|
7111 |
-ac_cpp='$CPP $CPPFLAGS' |
|
7112 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7113 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7114 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7115 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
7116 |
-$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
7117 |
-# On Suns, sometimes $CPP names a directory. |
|
7118 |
-if test -n "$CPP" && test -d "$CPP"; then |
|
7119 |
- CPP= |
|
7120 |
-fi |
|
7121 |
-if test -z "$CPP"; then |
|
7122 |
- if test "${ac_cv_prog_CPP+set}" = set; then : |
|
7123 |
- $as_echo_n "(cached) " >&6 |
|
7124 |
-else |
|
7125 |
- # Double quotes because CPP needs to be expanded |
|
7126 |
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
7127 |
- do |
|
7128 |
- ac_preproc_ok=false |
|
7129 |
-for ac_c_preproc_warn_flag in '' yes |
|
7130 |
-do |
|
7131 |
- # Use a header file that comes with gcc, so configuring glibc |
|
7132 |
- # with a fresh cross-compiler works. |
|
7133 |
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
7134 |
- # <limits.h> exists even on freestanding compilers. |
|
7135 |
- # On the NeXT, cc -E runs the code through the compiler's parser, |
|
7136 |
- # not just through cpp. "Syntax error" is here to catch this case. |
|
7137 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7138 |
-/* end confdefs.h. */ |
|
7139 |
-#ifdef __STDC__ |
|
7140 |
-# include <limits.h> |
|
7141 |
-#else |
|
7142 |
-# include <assert.h> |
|
7143 |
-#endif |
|
7144 |
- Syntax error |
|
7145 |
-_ACEOF |
|
7146 |
-if ac_fn_c_try_cpp "$LINENO"; then : |
|
7147 |
- |
|
7148 |
-else |
|
7149 |
- # Broken: fails on valid input. |
|
7150 |
-continue |
|
7151 |
-fi |
|
7152 |
-rm -f conftest.err conftest.i conftest.$ac_ext |
|
7153 |
- |
|
7154 |
- # OK, works on sane cases. Now check whether nonexistent headers |
|
7155 |
- # can be detected and how. |
|
7156 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7157 |
-/* end confdefs.h. */ |
|
7158 |
-#include <ac_nonexistent.h> |
|
7159 |
-_ACEOF |
|
7160 |
-if ac_fn_c_try_cpp "$LINENO"; then : |
|
7161 |
- # Broken: success on invalid input. |
|
7162 |
-continue |
|
7163 |
-else |
|
7164 |
- # Passes both tests. |
|
7165 |
-ac_preproc_ok=: |
|
7166 |
-break |
|
7167 |
-fi |
|
7168 |
-rm -f conftest.err conftest.i conftest.$ac_ext |
|
7169 |
- |
|
7170 |
-done |
|
7171 |
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
7172 |
-rm -f conftest.i conftest.err conftest.$ac_ext |
|
7173 |
-if $ac_preproc_ok; then : |
|
7174 |
- break |
|
7175 |
-fi |
|
7176 |
- |
|
7177 |
- done |
|
7178 |
- ac_cv_prog_CPP=$CPP |
|
7179 |
- |
|
7180 |
-fi |
|
7181 |
- CPP=$ac_cv_prog_CPP |
|
7182 |
-else |
|
7183 |
- ac_cv_prog_CPP=$CPP |
|
7184 |
-fi |
|
7185 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
7186 |
-$as_echo "$CPP" >&6; } |
|
7187 |
-ac_preproc_ok=false |
|
7188 |
-for ac_c_preproc_warn_flag in '' yes |
|
7189 |
-do |
|
7190 |
- # Use a header file that comes with gcc, so configuring glibc |
|
7191 |
- # with a fresh cross-compiler works. |
|
7192 |
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
7193 |
- # <limits.h> exists even on freestanding compilers. |
|
7194 |
- # On the NeXT, cc -E runs the code through the compiler's parser, |
|
7195 |
- # not just through cpp. "Syntax error" is here to catch this case. |
|
7196 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7197 |
-/* end confdefs.h. */ |
|
7198 |
-#ifdef __STDC__ |
|
7199 |
-# include <limits.h> |
|
7200 |
-#else |
|
7201 |
-# include <assert.h> |
|
7202 |
-#endif |
|
7203 |
- Syntax error |
|
7204 |
-_ACEOF |
|
7205 |
-if ac_fn_c_try_cpp "$LINENO"; then : |
|
7206 |
- |
|
7207 |
-else |
|
7208 |
- # Broken: fails on valid input. |
|
7209 |
-continue |
|
7210 |
-fi |
|
7211 |
-rm -f conftest.err conftest.i conftest.$ac_ext |
|
7212 |
- |
|
7213 |
- # OK, works on sane cases. Now check whether nonexistent headers |
|
7214 |
- # can be detected and how. |
|
7215 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7216 |
-/* end confdefs.h. */ |
|
7217 |
-#include <ac_nonexistent.h> |
|
7218 |
-_ACEOF |
|
7219 |
-if ac_fn_c_try_cpp "$LINENO"; then : |
|
7220 |
- # Broken: success on invalid input. |
|
7221 |
-continue |
|
7222 |
-else |
|
7223 |
- # Passes both tests. |
|
7224 |
-ac_preproc_ok=: |
|
7225 |
-break |
|
7226 |
-fi |
|
7227 |
-rm -f conftest.err conftest.i conftest.$ac_ext |
|
7228 |
- |
|
7229 |
-done |
|
7230 |
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
7231 |
-rm -f conftest.i conftest.err conftest.$ac_ext |
|
7232 |
-if $ac_preproc_ok; then : |
|
7233 |
- |
|
7234 |
-else |
|
7235 |
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
7236 |
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
7237 |
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
7238 |
-See \`config.log' for more details" "$LINENO" 5 ; } |
|
7239 |
-fi |
|
7240 |
- |
|
7241 |
-ac_ext=c |
|
7242 |
-ac_cpp='$CPP $CPPFLAGS' |
|
7243 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
7244 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
7245 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
7246 |
- |
|
7247 |
- |
|
7248 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
7249 |
-$as_echo_n "checking for ANSI C header files... " >&6; } |
|
7250 |
-if test "${ac_cv_header_stdc+set}" = set; then : |
|
7251 |
- $as_echo_n "(cached) " >&6 |
|
7252 |
-else |
|
7253 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7254 |
-/* end confdefs.h. */ |
|
7255 |
-#include <stdlib.h> |
|
7256 |
-#include <stdarg.h> |
|
7257 |
-#include <string.h> |
|
7258 |
-#include <float.h> |
|
7259 |
- |
|
7260 |
-int |
|
7261 |
-main () |
|
7262 |
-{ |
|
7263 |
- |
|
7264 |
- ; |
|
7265 |
- return 0; |
|
7266 |
-} |
|
7267 |
-_ACEOF |
|
7268 |
-if ac_fn_c_try_compile "$LINENO"; then : |
|
7269 |
- ac_cv_header_stdc=yes |
|
7270 |
-else |
|
7271 |
- ac_cv_header_stdc=no |
|
7272 |
-fi |
|
7273 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
7274 |
- |
|
7275 |
-if test $ac_cv_header_stdc = yes; then |
|
7276 |
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
7277 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7278 |
-/* end confdefs.h. */ |
|
7279 |
-#include <string.h> |
|
7280 |
- |
|
7281 |
-_ACEOF |
|
7282 |
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7283 |
- $EGREP "memchr" >/dev/null 2>&1; then : |
|
7284 |
- |
|
7285 |
-else |
|
7286 |
- ac_cv_header_stdc=no |
|
7287 |
-fi |
|
7288 |
-rm -f conftest* |
|
7289 |
- |
|
7290 |
-fi |
|
7291 |
- |
|
7292 |
-if test $ac_cv_header_stdc = yes; then |
|
7293 |
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
7294 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7295 |
-/* end confdefs.h. */ |
|
7296 |
-#include <stdlib.h> |
|
7297 |
- |
|
7298 |
-_ACEOF |
|
7299 |
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
7300 |
- $EGREP "free" >/dev/null 2>&1; then : |
|
7301 |
- |
|
7302 |
-else |
|
7303 |
- ac_cv_header_stdc=no |
|
7304 |
-fi |
|
7305 |
-rm -f conftest* |
|
7306 |
- |
|
7307 |
-fi |
|
7308 |
- |
|
7309 |
-if test $ac_cv_header_stdc = yes; then |
|
7310 |
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
7311 |
- if test "$cross_compiling" = yes; then : |
|
7312 |
- : |
|
7313 |
-else |
|
7314 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
7315 |
-/* end confdefs.h. */ |
|
7316 |
-#include <ctype.h> |
|
7317 |
-#include <stdlib.h> |
|
7318 |
-#if ((' ' & 0x0FF) == 0x020) |
|
7319 |
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
7320 |
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
7321 |
-#else |
|
7322 |
-# define ISLOWER(c) \ |
|
7323 |
- (('a' <= (c) && (c) <= 'i') \ |
|
7324 |
- || ('j' <= (c) && (c) <= 'r') \ |
|
7325 |
- || ('s' <= (c) && (c) <= 'z')) |
|
7326 |
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
7327 |
-#endif |
|
7328 |
- |
|
7329 |
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
7330 |
-int |
|
7331 |
-main () |
|
7332 |
-{ |
|
7333 |
- int i; |
|
7334 |
- for (i = 0; i < 256; i++) |
|
7335 |
- if (XOR (islower (i), ISLOWER (i)) |
|
7336 |
- || toupper (i) != TOUPPER (i)) |
|
7337 |
- return 2; |
|
7338 |
- return 0; |
|
7339 |
-} |
|
7340 |
-_ACEOF |
|
7341 |
-if ac_fn_c_try_run "$LINENO"; then : |
|
7342 |
- |
|
7343 |
-else |
|
7344 |
- ac_cv_header_stdc=no |
|
7345 |
-fi |
|
7346 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
7347 |
- conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
7348 |
-fi |
|
7349 |
- |
|
7350 |
-fi |
|
7351 |
-fi |
|
7352 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
7353 |
-$as_echo "$ac_cv_header_stdc" >&6; } |
|
7354 |
-if test $ac_cv_header_stdc = yes; then |
|
7355 |
- |
|
7356 |
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
7357 |
- |
|
7358 |
-fi |
|
7359 |
- |
|
7360 |
-# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
7361 |
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
7362 |
- inttypes.h stdint.h unistd.h |
|
7363 |
-do : |
|
7364 |
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
7365 |
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
7366 |
-" |
|
7367 |
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
7368 |
- cat >>confdefs.h <<_ACEOF |
|
7369 |
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
7370 |
-_ACEOF |
|
7371 |
- |
|
7372 |
-fi |
|
7373 |
- |
|
7374 |
-done |
|
7375 |
- |
|
7376 |
- |
|
7377 | 7110 |
for ac_header in dlfcn.h |
7378 | 7111 |
do : |
7379 | 7112 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
... | ... |
@@ -8415,11 +8639,11 @@ else |
8415 | 8415 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8416 | 8416 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8417 | 8417 |
-e 's:$: $lt_compiler_flag:'` |
8418 |
- (eval echo "\"\$as_me:8418: $lt_compile\"" >&5) |
|
8418 |
+ (eval echo "\"\$as_me:8642: $lt_compile\"" >&5) |
|
8419 | 8419 |
(eval "$lt_compile" 2>conftest.err) |
8420 | 8420 |
ac_status=$? |
8421 | 8421 |
cat conftest.err >&5 |
8422 |
- echo "$as_me:8422: \$? = $ac_status" >&5 |
|
8422 |
+ echo "$as_me:8646: \$? = $ac_status" >&5 |
|
8423 | 8423 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8424 | 8424 |
# The compiler can only warn and ignore the option if not recognized |
8425 | 8425 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -8754,11 +8978,11 @@ else |
8754 | 8754 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8755 | 8755 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8756 | 8756 |
-e 's:$: $lt_compiler_flag:'` |
8757 |
- (eval echo "\"\$as_me:8757: $lt_compile\"" >&5) |
|
8757 |
+ (eval echo "\"\$as_me:8981: $lt_compile\"" >&5) |
|
8758 | 8758 |
(eval "$lt_compile" 2>conftest.err) |
8759 | 8759 |
ac_status=$? |
8760 | 8760 |
cat conftest.err >&5 |
8761 |
- echo "$as_me:8761: \$? = $ac_status" >&5 |
|
8761 |
+ echo "$as_me:8985: \$? = $ac_status" >&5 |
|
8762 | 8762 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8763 | 8763 |
# The compiler can only warn and ignore the option if not recognized |
8764 | 8764 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -8859,11 +9083,11 @@ else |
8859 | 8859 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8860 | 8860 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8861 | 8861 |
-e 's:$: $lt_compiler_flag:'` |
8862 |
- (eval echo "\"\$as_me:8862: $lt_compile\"" >&5) |
|
8862 |
+ (eval echo "\"\$as_me:9086: $lt_compile\"" >&5) |
|
8863 | 8863 |
(eval "$lt_compile" 2>out/conftest.err) |
8864 | 8864 |
ac_status=$? |
8865 | 8865 |
cat out/conftest.err >&5 |
8866 |
- echo "$as_me:8866: \$? = $ac_status" >&5 |
|
8866 |
+ echo "$as_me:9090: \$? = $ac_status" >&5 |
|
8867 | 8867 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8868 | 8868 |
then |
8869 | 8869 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -8914,11 +9138,11 @@ else |
8914 | 8914 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8915 | 8915 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8916 | 8916 |
-e 's:$: $lt_compiler_flag:'` |
8917 |
- (eval echo "\"\$as_me:8917: $lt_compile\"" >&5) |
|
8917 |
+ (eval echo "\"\$as_me:9141: $lt_compile\"" >&5) |
|
8918 | 8918 |
(eval "$lt_compile" 2>out/conftest.err) |
8919 | 8919 |
ac_status=$? |
8920 | 8920 |
cat out/conftest.err >&5 |
8921 |
- echo "$as_me:8921: \$? = $ac_status" >&5 |
|
8921 |
+ echo "$as_me:9145: \$? = $ac_status" >&5 |
|
8922 | 8922 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8923 | 8923 |
then |
8924 | 8924 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -11298,7 +11522,7 @@ else |
11298 | 11298 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11299 | 11299 |
lt_status=$lt_dlunknown |
11300 | 11300 |
cat > conftest.$ac_ext <<_LT_EOF |
11301 |
-#line 11301 "configure" |
|
11301 |
+#line 11525 "configure" |
|
11302 | 11302 |
#include "confdefs.h" |
11303 | 11303 |
|
11304 | 11304 |
#if HAVE_DLFCN_H |
... | ... |
@@ -11394,7 +11618,7 @@ else |
11394 | 11394 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11395 | 11395 |
lt_status=$lt_dlunknown |
11396 | 11396 |
cat > conftest.$ac_ext <<_LT_EOF |
11397 |
-#line 11397 "configure" |
|
11397 |
+#line 11621 "configure" |
|
11398 | 11398 |
#include "confdefs.h" |
11399 | 11399 |
|
11400 | 11400 |
#if HAVE_DLFCN_H |
... | ... |
@@ -13350,11 +13574,11 @@ else |
13350 | 13350 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13351 | 13351 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13352 | 13352 |
-e 's:$: $lt_compiler_flag:'` |
13353 |
- (eval echo "\"\$as_me:13353: $lt_compile\"" >&5) |
|
13353 |
+ (eval echo "\"\$as_me:13577: $lt_compile\"" >&5) |
|
13354 | 13354 |
(eval "$lt_compile" 2>conftest.err) |
13355 | 13355 |
ac_status=$? |
13356 | 13356 |
cat conftest.err >&5 |
13357 |
- echo "$as_me:13357: \$? = $ac_status" >&5 |
|
13357 |
+ echo "$as_me:13581: \$? = $ac_status" >&5 |
|
13358 | 13358 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13359 | 13359 |
# The compiler can only warn and ignore the option if not recognized |
13360 | 13360 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -13449,11 +13673,11 @@ else |
13449 | 13449 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13450 | 13450 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13451 | 13451 |
-e 's:$: $lt_compiler_flag:'` |
13452 |
- (eval echo "\"\$as_me:13452: $lt_compile\"" >&5) |
|
13452 |
+ (eval echo "\"\$as_me:13676: $lt_compile\"" >&5) |
|
13453 | 13453 |
(eval "$lt_compile" 2>out/conftest.err) |
13454 | 13454 |
ac_status=$? |
13455 | 13455 |
cat out/conftest.err >&5 |
13456 |
- echo "$as_me:13456: \$? = $ac_status" >&5 |
|
13456 |
+ echo "$as_me:13680: \$? = $ac_status" >&5 |
|
13457 | 13457 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13458 | 13458 |
then |
13459 | 13459 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -13501,11 +13725,11 @@ else |
13501 | 13501 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
13502 | 13502 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13503 | 13503 |
-e 's:$: $lt_compiler_flag:'` |
13504 |
- (eval echo "\"\$as_me:13504: $lt_compile\"" >&5) |
|
13504 |
+ (eval echo "\"\$as_me:13728: $lt_compile\"" >&5) |
|
13505 | 13505 |
(eval "$lt_compile" 2>out/conftest.err) |
13506 | 13506 |
ac_status=$? |
13507 | 13507 |
cat out/conftest.err >&5 |
13508 |
- echo "$as_me:13508: \$? = $ac_status" >&5 |
|
13508 |
+ echo "$as_me:13732: \$? = $ac_status" >&5 |
|
13509 | 13509 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13510 | 13510 |
then |
13511 | 13511 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -14733,6 +14957,10 @@ if test "$enable_alltargets" = "yes"; then |
14733 | 14733 |
build_ppc=yes |
14734 | 14734 |
build_arm=yes |
14735 | 14735 |
fi |
14736 |
+if test "$ac_cv_c_bigendian" = "universal"; then |
|
14737 |
+ build_x86 = yes |
|
14738 |
+ build_ppc = yes |
|
14739 |
+fi |
|
14736 | 14740 |
if test "$build_x86" = "yes"; then |
14737 | 14741 |
BUILD_X86_TRUE= |
14738 | 14742 |
BUILD_X86_FALSE='#' |
... | ... |
@@ -14892,14 +15120,15 @@ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
14892 | 14892 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
14893 | 14893 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14894 | 14894 |
fi |
14895 |
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
|
14896 |
- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
|
14897 |
-Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
14898 |
-fi |
|
14899 | 14895 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
14900 | 14896 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
14901 | 14897 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14902 | 14898 |
fi |
14899 |
+ |
|
14900 |
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
|
14901 |
+ as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
|
14902 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
14903 |
+fi |
|
14903 | 14904 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
14904 | 14905 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
14905 | 14906 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |