comparison configure @ 1149:15767031950c

AC_USE_SYSTEM_EXTENSIONS replaces the need for hacky #defines at starts of C files
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Feb 2010 13:46:17 -0500
parents a48966743c37
children 7a17588edbff
comparison
equal deleted inserted replaced
1148:a48966743c37 1149:15767031950c
746 GCCARGS 746 GCCARGS
747 SITELISP 747 SITELISP
748 INCLUDE 748 INCLUDE
749 LIB 749 LIB
750 BIN 750 BIN
751 CPP
752 OTOOL64 751 OTOOL64
753 OTOOL 752 OTOOL
754 LIPO 753 LIPO
755 NMEDIT 754 NMEDIT
756 DSYMUTIL 755 DSYMUTIL
762 NM 761 NM
763 ac_ct_DUMPBIN 762 ac_ct_DUMPBIN
764 DUMPBIN 763 DUMPBIN
765 LD 764 LD
766 FGREP 765 FGREP
767 EGREP
768 GREP
769 SED 766 SED
770 host_os 767 host_os
771 host_vendor 768 host_vendor
772 host_cpu 769 host_cpu
773 host 770 host
783 AMDEP_FALSE 780 AMDEP_FALSE
784 AMDEP_TRUE 781 AMDEP_TRUE
785 am__quote 782 am__quote
786 am__include 783 am__include
787 DEPDIR 784 DEPDIR
788 OBJEXT
789 EXEEXT
790 ac_ct_CC
791 CPPFLAGS
792 LDFLAGS
793 CFLAGS
794 CC
795 am__untar 785 am__untar
796 am__tar 786 am__tar
797 AMTAR 787 AMTAR
798 am__leading_dot 788 am__leading_dot
799 SET_MAKE 789 SET_MAKE
813 CYGPATH_W 803 CYGPATH_W
814 am__isrc 804 am__isrc
815 INSTALL_DATA 805 INSTALL_DATA
816 INSTALL_SCRIPT 806 INSTALL_SCRIPT
817 INSTALL_PROGRAM 807 INSTALL_PROGRAM
808 EGREP
809 GREP
810 CPP
811 OBJEXT
812 EXEEXT
813 ac_ct_CC
814 CPPFLAGS
815 LDFLAGS
816 CFLAGS
817 CC
818 target_alias 818 target_alias
819 host_alias 819 host_alias
820 build_alias 820 build_alias
821 LIBS 821 LIBS
822 ECHO_T 822 ECHO_T
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 as_fn_set_status $ac_retval 1634 as_fn_set_status $ac_retval
1635 1635
1636 } # ac_fn_c_try_compile 1636 } # ac_fn_c_try_compile
1637 1637
1638 # ac_fn_c_try_cpp LINENO
1639 # ----------------------
1640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1641 ac_fn_c_try_cpp ()
1642 {
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 if { { ac_try="$ac_cpp conftest.$ac_ext"
1645 case "(($ac_try" in
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1652 ac_status=$?
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1657 fi
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } >/dev/null && {
1660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1662 }; then :
1663 ac_retval=0
1664 else
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668 ac_retval=1
1669 fi
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671 as_fn_set_status $ac_retval
1672
1673 } # ac_fn_c_try_cpp
1674
1675 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1676 # -------------------------------------------------------
1677 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1678 # the include files in INCLUDES and setting the cache variable VAR
1679 # accordingly.
1680 ac_fn_c_check_header_mongrel ()
1681 {
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687 $as_echo_n "(cached) " >&6
1688 fi
1689 eval ac_res=\$$3
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 else
1693 # Is the header compilable?
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1695 $as_echo_n "checking $2 usability... " >&6; }
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1698 $4
1699 #include <$2>
1700 _ACEOF
1701 if ac_fn_c_try_compile "$LINENO"; then :
1702 ac_header_compiler=yes
1703 else
1704 ac_header_compiler=no
1705 fi
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1708 $as_echo "$ac_header_compiler" >&6; }
1709
1710 # Is the header present?
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1712 $as_echo_n "checking $2 presence... " >&6; }
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1715 #include <$2>
1716 _ACEOF
1717 if ac_fn_c_try_cpp "$LINENO"; then :
1718 ac_header_preproc=yes
1719 else
1720 ac_header_preproc=no
1721 fi
1722 rm -f conftest.err conftest.$ac_ext
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1724 $as_echo "$ac_header_preproc" >&6; }
1725
1726 # So? What about this header?
1727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1728 yes:no: )
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1730 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 ;;
1734 no:yes:* )
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1736 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1738 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1740 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1742 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1745 ;;
1746 esac
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1750 $as_echo_n "(cached) " >&6
1751 else
1752 eval "$3=\$ac_header_compiler"
1753 fi
1754 eval ac_res=\$$3
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757 fi
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759
1760 } # ac_fn_c_check_header_mongrel
1761
1762 # ac_fn_c_try_run LINENO
1763 # ----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1765 # that executables *can* be run.
1766 ac_fn_c_try_run ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_link"
1770 case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>&5
1777 ac_status=$?
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1780 { { case "(($ac_try" in
1781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782 *) ac_try_echo=$ac_try;;
1783 esac
1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_try") 2>&5
1787 ac_status=$?
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; }; }; then :
1790 ac_retval=0
1791 else
1792 $as_echo "$as_me: program exited with status $ac_status" >&5
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796 ac_retval=$ac_status
1797 fi
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 as_fn_set_status $ac_retval
1801
1802 } # ac_fn_c_try_run
1803
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1809 {
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814 $as_echo_n "(cached) " >&6
1815 else
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1818 $4
1819 #include <$2>
1820 _ACEOF
1821 if ac_fn_c_try_compile "$LINENO"; then :
1822 eval "$3=yes"
1823 else
1824 eval "$3=no"
1825 fi
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 fi
1828 eval ac_res=\$$3
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832
1833 } # ac_fn_c_check_header_compile
1834
1638 # ac_fn_c_try_link LINENO 1835 # ac_fn_c_try_link LINENO
1639 # ----------------------- 1836 # -----------------------
1640 # Try to link conftest.$ac_ext, and return whether this succeeded. 1837 # Try to link conftest.$ac_ext, and return whether this succeeded.
1641 ac_fn_c_try_link () 1838 ac_fn_c_try_link ()
1642 { 1839 {
1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1680 as_fn_set_status $ac_retval 1877 as_fn_set_status $ac_retval
1681 1878
1682 } # ac_fn_c_try_link 1879 } # ac_fn_c_try_link
1683
1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists and can be compiled using the include files in
1687 # INCLUDES, setting the cache variable VAR accordingly.
1688 ac_fn_c_check_header_compile ()
1689 {
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692 $as_echo_n "checking for $2... " >&6; }
1693 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1694 $as_echo_n "(cached) " >&6
1695 else
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1698 $4
1699 #include <$2>
1700 _ACEOF
1701 if ac_fn_c_try_compile "$LINENO"; then :
1702 eval "$3=yes"
1703 else
1704 eval "$3=no"
1705 fi
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707 fi
1708 eval ac_res=\$$3
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1712
1713 } # ac_fn_c_check_header_compile
1714
1715 # ac_fn_c_try_cpp LINENO
1716 # ----------------------
1717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_cpp ()
1719 {
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 if { { ac_try="$ac_cpp conftest.$ac_ext"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1734 fi
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } >/dev/null && {
1737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 }; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1744
1745 ac_retval=1
1746 fi
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_cpp
1751
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1756 ac_fn_c_try_run ()
1757 {
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1767 ac_status=$?
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1777 ac_status=$?
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1780 ac_retval=0
1781 else
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786 ac_retval=$ac_status
1787 fi
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790 as_fn_set_status $ac_retval
1791
1792 } # ac_fn_c_try_run
1793 1880
1794 # ac_fn_c_check_func LINENO FUNC VAR 1881 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ---------------------------------- 1882 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1883 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func () 1884 ac_fn_c_check_func ()
2206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2209 2296
2210 2297
2298 ac_ext=c
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2305 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_CC+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC="$CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2316 do
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2324 fi
2325 done
2326 done
2327 IFS=$as_save_IFS
2328
2329 fi
2330 fi
2331 CC=$ac_cv_prog_CC
2332 if test -n "$CC"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2334 $as_echo "$CC" >&6; }
2335 else
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2338 fi
2339
2340
2341 fi
2342 if test -z "$ac_cv_prog_CC"; then
2343 ac_ct_CC=$CC
2344 # Extract the first word of "gcc", so it can be a program name with args.
2345 set dummy gcc; ac_word=$2
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2347 $as_echo_n "checking for $ac_word... " >&6; }
2348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2349 $as_echo_n "(cached) " >&6
2350 else
2351 if test -n "$ac_ct_CC"; then
2352 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2353 else
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2356 do
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_CC="gcc"
2362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 break 2
2364 fi
2365 done
2366 done
2367 IFS=$as_save_IFS
2368
2369 fi
2370 fi
2371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2372 if test -n "$ac_ct_CC"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2374 $as_echo "$ac_ct_CC" >&6; }
2375 else
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2377 $as_echo "no" >&6; }
2378 fi
2379
2380 if test "x$ac_ct_CC" = x; then
2381 CC=""
2382 else
2383 case $cross_compiling:$ac_tool_warned in
2384 yes:)
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2387 ac_tool_warned=yes ;;
2388 esac
2389 CC=$ac_ct_CC
2390 fi
2391 else
2392 CC="$ac_cv_prog_CC"
2393 fi
2394
2395 if test -z "$CC"; then
2396 if test -n "$ac_tool_prefix"; then
2397 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2398 set dummy ${ac_tool_prefix}cc; ac_word=$2
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2400 $as_echo_n "checking for $ac_word... " >&6; }
2401 if test "${ac_cv_prog_CC+set}" = set; then :
2402 $as_echo_n "(cached) " >&6
2403 else
2404 if test -n "$CC"; then
2405 ac_cv_prog_CC="$CC" # Let the user override the test.
2406 else
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 for as_dir in $PATH
2409 do
2410 IFS=$as_save_IFS
2411 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2414 ac_cv_prog_CC="${ac_tool_prefix}cc"
2415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 break 2
2417 fi
2418 done
2419 done
2420 IFS=$as_save_IFS
2421
2422 fi
2423 fi
2424 CC=$ac_cv_prog_CC
2425 if test -n "$CC"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2427 $as_echo "$CC" >&6; }
2428 else
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2431 fi
2432
2433
2434 fi
2435 fi
2436 if test -z "$CC"; then
2437 # Extract the first word of "cc", so it can be a program name with args.
2438 set dummy cc; ac_word=$2
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2440 $as_echo_n "checking for $ac_word... " >&6; }
2441 if test "${ac_cv_prog_CC+set}" = set; then :
2442 $as_echo_n "(cached) " >&6
2443 else
2444 if test -n "$CC"; then
2445 ac_cv_prog_CC="$CC" # Let the user override the test.
2446 else
2447 ac_prog_rejected=no
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 for as_dir in $PATH
2450 do
2451 IFS=$as_save_IFS
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2456 ac_prog_rejected=yes
2457 continue
2458 fi
2459 ac_cv_prog_CC="cc"
2460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 break 2
2462 fi
2463 done
2464 done
2465 IFS=$as_save_IFS
2466
2467 if test $ac_prog_rejected = yes; then
2468 # We found a bogon in the path, so make sure we never use it.
2469 set dummy $ac_cv_prog_CC
2470 shift
2471 if test $# != 0; then
2472 # We chose a different compiler from the bogus one.
2473 # However, it has the same basename, so the bogon will be chosen
2474 # first if we set CC to just the basename; use the full file name.
2475 shift
2476 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2477 fi
2478 fi
2479 fi
2480 fi
2481 CC=$ac_cv_prog_CC
2482 if test -n "$CC"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2484 $as_echo "$CC" >&6; }
2485 else
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2488 fi
2489
2490
2491 fi
2492 if test -z "$CC"; then
2493 if test -n "$ac_tool_prefix"; then
2494 for ac_prog in cl.exe
2495 do
2496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if test "${ac_cv_prog_CC+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2502 else
2503 if test -n "$CC"; then
2504 ac_cv_prog_CC="$CC" # Let the user override the test.
2505 else
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 for as_dir in $PATH
2508 do
2509 IFS=$as_save_IFS
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 break 2
2516 fi
2517 done
2518 done
2519 IFS=$as_save_IFS
2520
2521 fi
2522 fi
2523 CC=$ac_cv_prog_CC
2524 if test -n "$CC"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2526 $as_echo "$CC" >&6; }
2527 else
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 fi
2531
2532
2533 test -n "$CC" && break
2534 done
2535 fi
2536 if test -z "$CC"; then
2537 ac_ct_CC=$CC
2538 for ac_prog in cl.exe
2539 do
2540 # Extract the first word of "$ac_prog", so it can be a program name with args.
2541 set dummy $ac_prog; ac_word=$2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2545 $as_echo_n "(cached) " >&6
2546 else
2547 if test -n "$ac_ct_CC"; then
2548 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2552 do
2553 IFS=$as_save_IFS
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557 ac_cv_prog_ac_ct_CC="$ac_prog"
2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2560 fi
2561 done
2562 done
2563 IFS=$as_save_IFS
2564
2565 fi
2566 fi
2567 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2568 if test -n "$ac_ct_CC"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2570 $as_echo "$ac_ct_CC" >&6; }
2571 else
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573 $as_echo "no" >&6; }
2574 fi
2575
2576
2577 test -n "$ac_ct_CC" && break
2578 done
2579
2580 if test "x$ac_ct_CC" = x; then
2581 CC=""
2582 else
2583 case $cross_compiling:$ac_tool_warned in
2584 yes:)
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2587 ac_tool_warned=yes ;;
2588 esac
2589 CC=$ac_ct_CC
2590 fi
2591 fi
2592
2593 fi
2594
2595
2596 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 as_fn_error "no acceptable C compiler found in \$PATH
2599 See \`config.log' for more details." "$LINENO" 5; }
2600
2601 # Provide some information about the compiler.
2602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2603 set X $ac_compile
2604 ac_compiler=$2
2605 for ac_option in --version -v -V -qversion; do
2606 { { ac_try="$ac_compiler $ac_option >&5"
2607 case "(($ac_try" in
2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2610 esac
2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2614 ac_status=$?
2615 if test -s conftest.err; then
2616 sed '10a\
2617 ... rest of stderr output deleted ...
2618 10q' conftest.err >conftest.er1
2619 cat conftest.er1 >&5
2620 fi
2621 rm -f conftest.er1 conftest.err
2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2623 test $ac_status = 0; }
2624 done
2625
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628
2629 int
2630 main ()
2631 {
2632
2633 ;
2634 return 0;
2635 }
2636 _ACEOF
2637 ac_clean_files_save=$ac_clean_files
2638 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2639 # Try to create an executable without -o first, disregard a.out.
2640 # It will help us diagnose broken compilers, and finding out an intuition
2641 # of exeext.
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2643 $as_echo_n "checking whether the C compiler works... " >&6; }
2644 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2645
2646 # The possible output files:
2647 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2648
2649 ac_rmfiles=
2650 for ac_file in $ac_files
2651 do
2652 case $ac_file in
2653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2654 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2655 esac
2656 done
2657 rm -f $ac_rmfiles
2658
2659 if { { ac_try="$ac_link_default"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_link_default") 2>&5
2667 ac_status=$?
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; }; then :
2670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2673 # so that the user can short-circuit this test for compilers unknown to
2674 # Autoconf.
2675 for ac_file in $ac_files ''
2676 do
2677 test -f "$ac_file" || continue
2678 case $ac_file in
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2680 ;;
2681 [ab].out )
2682 # We found the default executable, but exeext='' is most
2683 # certainly right.
2684 break;;
2685 *.* )
2686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2687 then :; else
2688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2689 fi
2690 # We set ac_cv_exeext here because the later test for it is not
2691 # safe: cross compilers may not add the suffix if given an `-o'
2692 # argument, so we may need to know it at that point already.
2693 # Even if this section looks crufty: it has the advantage of
2694 # actually working.
2695 break;;
2696 * )
2697 break;;
2698 esac
2699 done
2700 test "$ac_cv_exeext" = no && ac_cv_exeext=
2701
2702 else
2703 ac_file=''
2704 fi
2705 if test -z "$ac_file"; then :
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2713 { as_fn_set_status 77
2714 as_fn_error "C compiler cannot create executables
2715 See \`config.log' for more details." "$LINENO" 5; }; }
2716 else
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2718 $as_echo "yes" >&6; }
2719 fi
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2721 $as_echo_n "checking for C compiler default output file name... " >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2723 $as_echo "$ac_file" >&6; }
2724 ac_exeext=$ac_cv_exeext
2725
2726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2727 ac_clean_files=$ac_clean_files_save
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2729 $as_echo_n "checking for suffix of executables... " >&6; }
2730 if { { ac_try="$ac_link"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_link") 2>&5
2738 ac_status=$?
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; }; then :
2741 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2742 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2743 # work properly (i.e., refer to `conftest.exe'), while it won't with
2744 # `rm'.
2745 for ac_file in conftest.exe conftest conftest.*; do
2746 test -f "$ac_file" || continue
2747 case $ac_file in
2748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2749 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2750 break;;
2751 * ) break;;
2752 esac
2753 done
2754 else
2755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757 as_fn_error "cannot compute suffix of executables: cannot compile and link
2758 See \`config.log' for more details." "$LINENO" 5; }
2759 fi
2760 rm -f conftest conftest$ac_cv_exeext
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2762 $as_echo "$ac_cv_exeext" >&6; }
2763
2764 rm -f conftest.$ac_ext
2765 EXEEXT=$ac_cv_exeext
2766 ac_exeext=$EXEEXT
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2769 #include <stdio.h>
2770 int
2771 main ()
2772 {
2773 FILE *f = fopen ("conftest.out", "w");
2774 return ferror (f) || fclose (f) != 0;
2775
2776 ;
2777 return 0;
2778 }
2779 _ACEOF
2780 ac_clean_files="$ac_clean_files conftest.out"
2781 # Check that the compiler produces executables we can run. If not, either
2782 # the compiler is broken, or we cross compile.
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2784 $as_echo_n "checking whether we are cross compiling... " >&6; }
2785 if test "$cross_compiling" != yes; then
2786 { { ac_try="$ac_link"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_link") 2>&5
2794 ac_status=$?
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; }
2797 if { ac_try='./conftest$ac_cv_exeext'
2798 { { case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_try") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; }; }; then
2808 cross_compiling=no
2809 else
2810 if test "$cross_compiling" = maybe; then
2811 cross_compiling=yes
2812 else
2813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815 as_fn_error "cannot run C compiled programs.
2816 If you meant to cross compile, use \`--host'.
2817 See \`config.log' for more details." "$LINENO" 5; }
2818 fi
2819 fi
2820 fi
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2822 $as_echo "$cross_compiling" >&6; }
2823
2824 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2825 ac_clean_files=$ac_clean_files_save
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2827 $as_echo_n "checking for suffix of object files... " >&6; }
2828 if test "${ac_cv_objext+set}" = set; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2833
2834 int
2835 main ()
2836 {
2837
2838 ;
2839 return 0;
2840 }
2841 _ACEOF
2842 rm -f conftest.o conftest.obj
2843 if { { ac_try="$ac_compile"
2844 case "(($ac_try" in
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2847 esac
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850 (eval "$ac_compile") 2>&5
2851 ac_status=$?
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; }; then :
2854 for ac_file in conftest.o conftest.obj conftest.*; do
2855 test -f "$ac_file" || continue;
2856 case $ac_file in
2857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2858 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2859 break;;
2860 esac
2861 done
2862 else
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2865
2866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2868 as_fn_error "cannot compute suffix of object files: cannot compile
2869 See \`config.log' for more details." "$LINENO" 5; }
2870 fi
2871 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2872 fi
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2874 $as_echo "$ac_cv_objext" >&6; }
2875 OBJEXT=$ac_cv_objext
2876 ac_objext=$OBJEXT
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2878 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2879 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2884
2885 int
2886 main ()
2887 {
2888 #ifndef __GNUC__
2889 choke me
2890 #endif
2891
2892 ;
2893 return 0;
2894 }
2895 _ACEOF
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 ac_compiler_gnu=yes
2898 else
2899 ac_compiler_gnu=no
2900 fi
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2903
2904 fi
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2906 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2907 if test $ac_compiler_gnu = yes; then
2908 GCC=yes
2909 else
2910 GCC=
2911 fi
2912 ac_test_CFLAGS=${CFLAGS+set}
2913 ac_save_CFLAGS=$CFLAGS
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2915 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2916 if test "${ac_cv_prog_cc_g+set}" = set; then :
2917 $as_echo_n "(cached) " >&6
2918 else
2919 ac_save_c_werror_flag=$ac_c_werror_flag
2920 ac_c_werror_flag=yes
2921 ac_cv_prog_cc_g=no
2922 CFLAGS="-g"
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2925
2926 int
2927 main ()
2928 {
2929
2930 ;
2931 return 0;
2932 }
2933 _ACEOF
2934 if ac_fn_c_try_compile "$LINENO"; then :
2935 ac_cv_prog_cc_g=yes
2936 else
2937 CFLAGS=""
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2940
2941 int
2942 main ()
2943 {
2944
2945 ;
2946 return 0;
2947 }
2948 _ACEOF
2949 if ac_fn_c_try_compile "$LINENO"; then :
2950
2951 else
2952 ac_c_werror_flag=$ac_save_c_werror_flag
2953 CFLAGS="-g"
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2956
2957 int
2958 main ()
2959 {
2960
2961 ;
2962 return 0;
2963 }
2964 _ACEOF
2965 if ac_fn_c_try_compile "$LINENO"; then :
2966 ac_cv_prog_cc_g=yes
2967 fi
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 fi
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 fi
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 ac_c_werror_flag=$ac_save_c_werror_flag
2974 fi
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2976 $as_echo "$ac_cv_prog_cc_g" >&6; }
2977 if test "$ac_test_CFLAGS" = set; then
2978 CFLAGS=$ac_save_CFLAGS
2979 elif test $ac_cv_prog_cc_g = yes; then
2980 if test "$GCC" = yes; then
2981 CFLAGS="-g -O2"
2982 else
2983 CFLAGS="-g"
2984 fi
2985 else
2986 if test "$GCC" = yes; then
2987 CFLAGS="-O2"
2988 else
2989 CFLAGS=
2990 fi
2991 fi
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2994 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 ac_cv_prog_cc_c89=no
2998 ac_save_CC=$CC
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3001 #include <stdarg.h>
3002 #include <stdio.h>
3003 #include <sys/types.h>
3004 #include <sys/stat.h>
3005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3006 struct buf { int x; };
3007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3008 static char *e (p, i)
3009 char **p;
3010 int i;
3011 {
3012 return p[i];
3013 }
3014 static char *f (char * (*g) (char **, int), char **p, ...)
3015 {
3016 char *s;
3017 va_list v;
3018 va_start (v,p);
3019 s = g (p, va_arg (v,int));
3020 va_end (v);
3021 return s;
3022 }
3023
3024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3025 function prototypes and stuff, but not '\xHH' hex character constants.
3026 These don't provoke an error unfortunately, instead are silently treated
3027 as 'x'. The following induces an error, until -std is added to get
3028 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3029 array size at least. It's necessary to write '\x00'==0 to get something
3030 that's true only with -std. */
3031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3032
3033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3034 inside strings and character constants. */
3035 #define FOO(x) 'x'
3036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3037
3038 int test (int i, double x);
3039 struct s1 {int (*f) (int a);};
3040 struct s2 {int (*f) (double a);};
3041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3042 int argc;
3043 char **argv;
3044 int
3045 main ()
3046 {
3047 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3048 ;
3049 return 0;
3050 }
3051 _ACEOF
3052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3053 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3054 do
3055 CC="$ac_save_CC $ac_arg"
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 ac_cv_prog_cc_c89=$ac_arg
3058 fi
3059 rm -f core conftest.err conftest.$ac_objext
3060 test "x$ac_cv_prog_cc_c89" != "xno" && break
3061 done
3062 rm -f conftest.$ac_ext
3063 CC=$ac_save_CC
3064
3065 fi
3066 # AC_CACHE_VAL
3067 case "x$ac_cv_prog_cc_c89" in
3068 x)
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3070 $as_echo "none needed" >&6; } ;;
3071 xno)
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3073 $as_echo "unsupported" >&6; } ;;
3074 *)
3075 CC="$CC $ac_cv_prog_cc_c89"
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3077 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3078 esac
3079 if test "x$ac_cv_prog_cc_c89" != xno; then :
3080
3081 fi
3082
3083 ac_ext=c
3084 ac_cpp='$CPP $CPPFLAGS'
3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3088
3089
3090 ac_ext=c
3091 ac_cpp='$CPP $CPPFLAGS'
3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3096 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3097 # On Suns, sometimes $CPP names a directory.
3098 if test -n "$CPP" && test -d "$CPP"; then
3099 CPP=
3100 fi
3101 if test -z "$CPP"; then
3102 if test "${ac_cv_prog_CPP+set}" = set; then :
3103 $as_echo_n "(cached) " >&6
3104 else
3105 # Double quotes because CPP needs to be expanded
3106 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3107 do
3108 ac_preproc_ok=false
3109 for ac_c_preproc_warn_flag in '' yes
3110 do
3111 # Use a header file that comes with gcc, so configuring glibc
3112 # with a fresh cross-compiler works.
3113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3114 # <limits.h> exists even on freestanding compilers.
3115 # On the NeXT, cc -E runs the code through the compiler's parser,
3116 # not just through cpp. "Syntax error" is here to catch this case.
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3119 #ifdef __STDC__
3120 # include <limits.h>
3121 #else
3122 # include <assert.h>
3123 #endif
3124 Syntax error
3125 _ACEOF
3126 if ac_fn_c_try_cpp "$LINENO"; then :
3127
3128 else
3129 # Broken: fails on valid input.
3130 continue
3131 fi
3132 rm -f conftest.err conftest.$ac_ext
3133
3134 # OK, works on sane cases. Now check whether nonexistent headers
3135 # can be detected and how.
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3138 #include <ac_nonexistent.h>
3139 _ACEOF
3140 if ac_fn_c_try_cpp "$LINENO"; then :
3141 # Broken: success on invalid input.
3142 continue
3143 else
3144 # Passes both tests.
3145 ac_preproc_ok=:
3146 break
3147 fi
3148 rm -f conftest.err conftest.$ac_ext
3149
3150 done
3151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3152 rm -f conftest.err conftest.$ac_ext
3153 if $ac_preproc_ok; then :
3154 break
3155 fi
3156
3157 done
3158 ac_cv_prog_CPP=$CPP
3159
3160 fi
3161 CPP=$ac_cv_prog_CPP
3162 else
3163 ac_cv_prog_CPP=$CPP
3164 fi
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3166 $as_echo "$CPP" >&6; }
3167 ac_preproc_ok=false
3168 for ac_c_preproc_warn_flag in '' yes
3169 do
3170 # Use a header file that comes with gcc, so configuring glibc
3171 # with a fresh cross-compiler works.
3172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3173 # <limits.h> exists even on freestanding compilers.
3174 # On the NeXT, cc -E runs the code through the compiler's parser,
3175 # not just through cpp. "Syntax error" is here to catch this case.
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3178 #ifdef __STDC__
3179 # include <limits.h>
3180 #else
3181 # include <assert.h>
3182 #endif
3183 Syntax error
3184 _ACEOF
3185 if ac_fn_c_try_cpp "$LINENO"; then :
3186
3187 else
3188 # Broken: fails on valid input.
3189 continue
3190 fi
3191 rm -f conftest.err conftest.$ac_ext
3192
3193 # OK, works on sane cases. Now check whether nonexistent headers
3194 # can be detected and how.
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3197 #include <ac_nonexistent.h>
3198 _ACEOF
3199 if ac_fn_c_try_cpp "$LINENO"; then :
3200 # Broken: success on invalid input.
3201 continue
3202 else
3203 # Passes both tests.
3204 ac_preproc_ok=:
3205 break
3206 fi
3207 rm -f conftest.err conftest.$ac_ext
3208
3209 done
3210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3211 rm -f conftest.err conftest.$ac_ext
3212 if $ac_preproc_ok; then :
3213
3214 else
3215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3218 See \`config.log' for more details." "$LINENO" 5; }
3219 fi
3220
3221 ac_ext=c
3222 ac_cpp='$CPP $CPPFLAGS'
3223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3226
3227
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3229 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3230 if test "${ac_cv_path_GREP+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3232 else
3233 if test -z "$GREP"; then
3234 ac_path_GREP_found=false
3235 # Loop through the user's path and test for each of PROGNAME-LIST
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3238 do
3239 IFS=$as_save_IFS
3240 test -z "$as_dir" && as_dir=.
3241 for ac_prog in grep ggrep; do
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3244 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3245 # Check for GNU ac_path_GREP and select it if it is found.
3246 # Check for GNU $ac_path_GREP
3247 case `"$ac_path_GREP" --version 2>&1` in
3248 *GNU*)
3249 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3250 *)
3251 ac_count=0
3252 $as_echo_n 0123456789 >"conftest.in"
3253 while :
3254 do
3255 cat "conftest.in" "conftest.in" >"conftest.tmp"
3256 mv "conftest.tmp" "conftest.in"
3257 cp "conftest.in" "conftest.nl"
3258 $as_echo 'GREP' >> "conftest.nl"
3259 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3260 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3261 as_fn_arith $ac_count + 1 && ac_count=$as_val
3262 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3263 # Best one so far, save it but keep looking for a better one
3264 ac_cv_path_GREP="$ac_path_GREP"
3265 ac_path_GREP_max=$ac_count
3266 fi
3267 # 10*(2^10) chars as input seems more than enough
3268 test $ac_count -gt 10 && break
3269 done
3270 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3271 esac
3272
3273 $ac_path_GREP_found && break 3
3274 done
3275 done
3276 done
3277 IFS=$as_save_IFS
3278 if test -z "$ac_cv_path_GREP"; then
3279 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3280 fi
3281 else
3282 ac_cv_path_GREP=$GREP
3283 fi
3284
3285 fi
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3287 $as_echo "$ac_cv_path_GREP" >&6; }
3288 GREP="$ac_cv_path_GREP"
3289
3290
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3292 $as_echo_n "checking for egrep... " >&6; }
3293 if test "${ac_cv_path_EGREP+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3297 then ac_cv_path_EGREP="$GREP -E"
3298 else
3299 if test -z "$EGREP"; then
3300 ac_path_EGREP_found=false
3301 # Loop through the user's path and test for each of PROGNAME-LIST
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3304 do
3305 IFS=$as_save_IFS
3306 test -z "$as_dir" && as_dir=.
3307 for ac_prog in egrep; do
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3310 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3311 # Check for GNU ac_path_EGREP and select it if it is found.
3312 # Check for GNU $ac_path_EGREP
3313 case `"$ac_path_EGREP" --version 2>&1` in
3314 *GNU*)
3315 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3316 *)
3317 ac_count=0
3318 $as_echo_n 0123456789 >"conftest.in"
3319 while :
3320 do
3321 cat "conftest.in" "conftest.in" >"conftest.tmp"
3322 mv "conftest.tmp" "conftest.in"
3323 cp "conftest.in" "conftest.nl"
3324 $as_echo 'EGREP' >> "conftest.nl"
3325 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3327 as_fn_arith $ac_count + 1 && ac_count=$as_val
3328 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3329 # Best one so far, save it but keep looking for a better one
3330 ac_cv_path_EGREP="$ac_path_EGREP"
3331 ac_path_EGREP_max=$ac_count
3332 fi
3333 # 10*(2^10) chars as input seems more than enough
3334 test $ac_count -gt 10 && break
3335 done
3336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3337 esac
3338
3339 $ac_path_EGREP_found && break 3
3340 done
3341 done
3342 done
3343 IFS=$as_save_IFS
3344 if test -z "$ac_cv_path_EGREP"; then
3345 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3346 fi
3347 else
3348 ac_cv_path_EGREP=$EGREP
3349 fi
3350
3351 fi
3352 fi
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3354 $as_echo "$ac_cv_path_EGREP" >&6; }
3355 EGREP="$ac_cv_path_EGREP"
3356
3357
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3359 $as_echo_n "checking for ANSI C header files... " >&6; }
3360 if test "${ac_cv_header_stdc+set}" = set; then :
3361 $as_echo_n "(cached) " >&6
3362 else
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 #include <stdlib.h>
3366 #include <stdarg.h>
3367 #include <string.h>
3368 #include <float.h>
3369
3370 int
3371 main ()
3372 {
3373
3374 ;
3375 return 0;
3376 }
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 ac_cv_header_stdc=yes
3380 else
3381 ac_cv_header_stdc=no
3382 fi
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384
3385 if test $ac_cv_header_stdc = yes; then
3386 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3389 #include <string.h>
3390
3391 _ACEOF
3392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3393 $EGREP "memchr" >/dev/null 2>&1; then :
3394
3395 else
3396 ac_cv_header_stdc=no
3397 fi
3398 rm -f conftest*
3399
3400 fi
3401
3402 if test $ac_cv_header_stdc = yes; then
3403 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3406 #include <stdlib.h>
3407
3408 _ACEOF
3409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3410 $EGREP "free" >/dev/null 2>&1; then :
3411
3412 else
3413 ac_cv_header_stdc=no
3414 fi
3415 rm -f conftest*
3416
3417 fi
3418
3419 if test $ac_cv_header_stdc = yes; then
3420 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3421 if test "$cross_compiling" = yes; then :
3422 :
3423 else
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3426 #include <ctype.h>
3427 #include <stdlib.h>
3428 #if ((' ' & 0x0FF) == 0x020)
3429 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3430 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3431 #else
3432 # define ISLOWER(c) \
3433 (('a' <= (c) && (c) <= 'i') \
3434 || ('j' <= (c) && (c) <= 'r') \
3435 || ('s' <= (c) && (c) <= 'z'))
3436 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3437 #endif
3438
3439 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3440 int
3441 main ()
3442 {
3443 int i;
3444 for (i = 0; i < 256; i++)
3445 if (XOR (islower (i), ISLOWER (i))
3446 || toupper (i) != TOUPPER (i))
3447 return 2;
3448 return 0;
3449 }
3450 _ACEOF
3451 if ac_fn_c_try_run "$LINENO"; then :
3452
3453 else
3454 ac_cv_header_stdc=no
3455 fi
3456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3457 conftest.$ac_objext conftest.beam conftest.$ac_ext
3458 fi
3459
3460 fi
3461 fi
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3463 $as_echo "$ac_cv_header_stdc" >&6; }
3464 if test $ac_cv_header_stdc = yes; then
3465
3466 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3467
3468 fi
3469
3470 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3471 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3472 inttypes.h stdint.h unistd.h
3473 do :
3474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3475 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3476 "
3477 eval as_val=\$$as_ac_Header
3478 if test "x$as_val" = x""yes; then :
3479 cat >>confdefs.h <<_ACEOF
3480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3481 _ACEOF
3482
3483 fi
3484
3485 done
3486
3487
3488
3489 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3490 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3491 MINIX=yes
3492 else
3493 MINIX=
3494 fi
3495
3496
3497 if test "$MINIX" = yes; then
3498
3499 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3500
3501
3502 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3503
3504
3505 $as_echo "#define _MINIX 1" >>confdefs.h
3506
3507 fi
3508
3509
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3511 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3512 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3514 else
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516 /* end confdefs.h. */
3517
3518 # define __EXTENSIONS__ 1
3519 $ac_includes_default
3520 int
3521 main ()
3522 {
3523
3524 ;
3525 return 0;
3526 }
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529 ac_cv_safe_to_define___extensions__=yes
3530 else
3531 ac_cv_safe_to_define___extensions__=no
3532 fi
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 fi
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3536 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3537 test $ac_cv_safe_to_define___extensions__ = yes &&
3538 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3539
3540 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3541
3542 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3543
3544 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3545
3546 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3547
3548
2211 am__api_version='1.11' 3549 am__api_version='1.11'
2212 3550
2213 ac_aux_dir= 3551 ac_aux_dir=
2214 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3552 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2215 for ac_t in install-sh install.sh shtool; do 3553 for ac_t in install-sh install.sh shtool; do
2645 else 3983 else
2646 am__leading_dot=_ 3984 am__leading_dot=_
2647 fi 3985 fi
2648 rmdir .tst 2>/dev/null 3986 rmdir .tst 2>/dev/null
2649 3987
2650 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2651 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2652 # is not polluted with repeated "-I."
2653 am__isrc=' -I$(srcdir)'
2654 # test to see if srcdir already configured
2655 if test -f $srcdir/config.status; then
2656 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2657 fi
2658 fi
2659
2660 # test whether we have cygpath
2661 if test -z "$CYGPATH_W"; then
2662 if (cygpath --version) >/dev/null 2>/dev/null; then
2663 CYGPATH_W='cygpath -w'
2664 else
2665 CYGPATH_W=echo
2666 fi
2667 fi
2668
2669
2670 # Define the identity of the package.
2671 PACKAGE='urweb'
2672 VERSION='1.0'
2673
2674
2675 # Some tools Automake needs.
2676
2677 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2678
2679
2680 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2681
2682
2683 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2684
2685
2686 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2687
2688
2689 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2690
2691 # We need awk for the "check" target. The system "awk" is bad on
2692 # some platforms.
2693 # Always define AMTAR for backward compatibility.
2694
2695 AMTAR=${AMTAR-"${am_missing_run}tar"}
2696
2697 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2698
2699
2700
2701
2702
2703 ac_ext=c
2704 ac_cpp='$CPP $CPPFLAGS'
2705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2708 if test -n "$ac_tool_prefix"; then
2709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2710 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if test "${ac_cv_prog_CC+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2715 else
2716 if test -n "$CC"; then
2717 ac_cv_prog_CC="$CC" # Let the user override the test.
2718 else
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH
2721 do
2722 IFS=$as_save_IFS
2723 test -z "$as_dir" && as_dir=.
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 break 2
2729 fi
2730 done
2731 done
2732 IFS=$as_save_IFS
2733
2734 fi
2735 fi
2736 CC=$ac_cv_prog_CC
2737 if test -n "$CC"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2739 $as_echo "$CC" >&6; }
2740 else
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2743 fi
2744
2745
2746 fi
2747 if test -z "$ac_cv_prog_CC"; then
2748 ac_ct_CC=$CC
2749 # Extract the first word of "gcc", so it can be a program name with args.
2750 set dummy gcc; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 if test -n "$ac_ct_CC"; then
2757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2761 do
2762 IFS=$as_save_IFS
2763 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_ac_ct_CC="gcc"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 break 2
2769 fi
2770 done
2771 done
2772 IFS=$as_save_IFS
2773
2774 fi
2775 fi
2776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2777 if test -n "$ac_ct_CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2779 $as_echo "$ac_ct_CC" >&6; }
2780 else
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2783 fi
2784
2785 if test "x$ac_ct_CC" = x; then
2786 CC=""
2787 else
2788 case $cross_compiling:$ac_tool_warned in
2789 yes:)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2792 ac_tool_warned=yes ;;
2793 esac
2794 CC=$ac_ct_CC
2795 fi
2796 else
2797 CC="$ac_cv_prog_CC"
2798 fi
2799
2800 if test -z "$CC"; then
2801 if test -n "$ac_tool_prefix"; then
2802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2803 set dummy ${ac_tool_prefix}cc; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC="$CC" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2814 do
2815 IFS=$as_save_IFS
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC="${ac_tool_prefix}cc"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 break 2
2822 fi
2823 done
2824 done
2825 IFS=$as_save_IFS
2826
2827 fi
2828 fi
2829 CC=$ac_cv_prog_CC
2830 if test -n "$CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832 $as_echo "$CC" >&6; }
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2836 fi
2837
2838
2839 fi
2840 fi
2841 if test -z "$CC"; then
2842 # Extract the first word of "cc", so it can be a program name with args.
2843 set dummy cc; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if test "${ac_cv_prog_CC+set}" = set; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC="$CC" # Let the user override the test.
2851 else
2852 ac_prog_rejected=no
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2855 do
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2861 ac_prog_rejected=yes
2862 continue
2863 fi
2864 ac_cv_prog_CC="cc"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 break 2
2867 fi
2868 done
2869 done
2870 IFS=$as_save_IFS
2871
2872 if test $ac_prog_rejected = yes; then
2873 # We found a bogon in the path, so make sure we never use it.
2874 set dummy $ac_cv_prog_CC
2875 shift
2876 if test $# != 0; then
2877 # We chose a different compiler from the bogus one.
2878 # However, it has the same basename, so the bogon will be chosen
2879 # first if we set CC to just the basename; use the full file name.
2880 shift
2881 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2882 fi
2883 fi
2884 fi
2885 fi
2886 CC=$ac_cv_prog_CC
2887 if test -n "$CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2889 $as_echo "$CC" >&6; }
2890 else
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2893 fi
2894
2895
2896 fi
2897 if test -z "$CC"; then
2898 if test -n "$ac_tool_prefix"; then
2899 for ac_prog in cl.exe
2900 do
2901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if test "${ac_cv_prog_CC+set}" = set; then :
2906 $as_echo_n "(cached) " >&6
2907 else
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC="$CC" # Let the user override the test.
2910 else
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2913 do
2914 IFS=$as_save_IFS
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 break 2
2921 fi
2922 done
2923 done
2924 IFS=$as_save_IFS
2925
2926 fi
2927 fi
2928 CC=$ac_cv_prog_CC
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2932 else
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2935 fi
2936
2937
2938 test -n "$CC" && break
2939 done
2940 fi
2941 if test -z "$CC"; then
2942 ac_ct_CC=$CC
2943 for ac_prog in cl.exe
2944 do
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy $ac_prog; ac_word=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2951 else
2952 if test -n "$ac_ct_CC"; then
2953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2954 else
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2957 do
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 for ac_exec_ext in '' $ac_executable_extensions; do
2961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962 ac_cv_prog_ac_ct_CC="$ac_prog"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 break 2
2965 fi
2966 done
2967 done
2968 IFS=$as_save_IFS
2969
2970 fi
2971 fi
2972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2973 if test -n "$ac_ct_CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2975 $as_echo "$ac_ct_CC" >&6; }
2976 else
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2979 fi
2980
2981
2982 test -n "$ac_ct_CC" && break
2983 done
2984
2985 if test "x$ac_ct_CC" = x; then
2986 CC=""
2987 else
2988 case $cross_compiling:$ac_tool_warned in
2989 yes:)
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned=yes ;;
2993 esac
2994 CC=$ac_ct_CC
2995 fi
2996 fi
2997
2998 fi
2999
3000
3001 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3003 as_fn_error "no acceptable C compiler found in \$PATH
3004 See \`config.log' for more details." "$LINENO" 5; }
3005
3006 # Provide some information about the compiler.
3007 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3008 set X $ac_compile
3009 ac_compiler=$2
3010 for ac_option in --version -v -V -qversion; do
3011 { { ac_try="$ac_compiler $ac_option >&5"
3012 case "(($ac_try" in
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3015 esac
3016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3017 $as_echo "$ac_try_echo"; } >&5
3018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3019 ac_status=$?
3020 if test -s conftest.err; then
3021 sed '10a\
3022 ... rest of stderr output deleted ...
3023 10q' conftest.err >conftest.er1
3024 cat conftest.er1 >&5
3025 fi
3026 rm -f conftest.er1 conftest.err
3027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3028 test $ac_status = 0; }
3029 done
3030
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3033
3034 int
3035 main ()
3036 {
3037
3038 ;
3039 return 0;
3040 }
3041 _ACEOF
3042 ac_clean_files_save=$ac_clean_files
3043 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3044 # Try to create an executable without -o first, disregard a.out.
3045 # It will help us diagnose broken compilers, and finding out an intuition
3046 # of exeext.
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3048 $as_echo_n "checking whether the C compiler works... " >&6; }
3049 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3050
3051 # The possible output files:
3052 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3053
3054 ac_rmfiles=
3055 for ac_file in $ac_files
3056 do
3057 case $ac_file in
3058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3059 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3060 esac
3061 done
3062 rm -f $ac_rmfiles
3063
3064 if { { ac_try="$ac_link_default"
3065 case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3068 esac
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_link_default") 2>&5
3072 ac_status=$?
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; then :
3075 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3076 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3077 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3078 # so that the user can short-circuit this test for compilers unknown to
3079 # Autoconf.
3080 for ac_file in $ac_files ''
3081 do
3082 test -f "$ac_file" || continue
3083 case $ac_file in
3084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3085 ;;
3086 [ab].out )
3087 # We found the default executable, but exeext='' is most
3088 # certainly right.
3089 break;;
3090 *.* )
3091 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3092 then :; else
3093 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3094 fi
3095 # We set ac_cv_exeext here because the later test for it is not
3096 # safe: cross compilers may not add the suffix if given an `-o'
3097 # argument, so we may need to know it at that point already.
3098 # Even if this section looks crufty: it has the advantage of
3099 # actually working.
3100 break;;
3101 * )
3102 break;;
3103 esac
3104 done
3105 test "$ac_cv_exeext" = no && ac_cv_exeext=
3106
3107 else
3108 ac_file=''
3109 fi
3110 if test -z "$ac_file"; then :
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3113 $as_echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3115
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 { as_fn_set_status 77
3119 as_fn_error "C compiler cannot create executables
3120 See \`config.log' for more details." "$LINENO" 5; }; }
3121 else
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3123 $as_echo "yes" >&6; }
3124 fi
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3126 $as_echo_n "checking for C compiler default output file name... " >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3128 $as_echo "$ac_file" >&6; }
3129 ac_exeext=$ac_cv_exeext
3130
3131 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3132 ac_clean_files=$ac_clean_files_save
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3134 $as_echo_n "checking for suffix of executables... " >&6; }
3135 if { { ac_try="$ac_link"
3136 case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_link") 2>&5
3143 ac_status=$?
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; }; then :
3146 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3147 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3148 # work properly (i.e., refer to `conftest.exe'), while it won't with
3149 # `rm'.
3150 for ac_file in conftest.exe conftest conftest.*; do
3151 test -f "$ac_file" || continue
3152 case $ac_file in
3153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3154 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3155 break;;
3156 * ) break;;
3157 esac
3158 done
3159 else
3160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 as_fn_error "cannot compute suffix of executables: cannot compile and link
3163 See \`config.log' for more details." "$LINENO" 5; }
3164 fi
3165 rm -f conftest conftest$ac_cv_exeext
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3167 $as_echo "$ac_cv_exeext" >&6; }
3168
3169 rm -f conftest.$ac_ext
3170 EXEEXT=$ac_cv_exeext
3171 ac_exeext=$EXEEXT
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3174 #include <stdio.h>
3175 int
3176 main ()
3177 {
3178 FILE *f = fopen ("conftest.out", "w");
3179 return ferror (f) || fclose (f) != 0;
3180
3181 ;
3182 return 0;
3183 }
3184 _ACEOF
3185 ac_clean_files="$ac_clean_files conftest.out"
3186 # Check that the compiler produces executables we can run. If not, either
3187 # the compiler is broken, or we cross compile.
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3189 $as_echo_n "checking whether we are cross compiling... " >&6; }
3190 if test "$cross_compiling" != yes; then
3191 { { ac_try="$ac_link"
3192 case "(($ac_try" in
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3195 esac
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198 (eval "$ac_link") 2>&5
3199 ac_status=$?
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; }
3202 if { ac_try='./conftest$ac_cv_exeext'
3203 { { case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206 esac
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_try") 2>&5
3210 ac_status=$?
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }; }; then
3213 cross_compiling=no
3214 else
3215 if test "$cross_compiling" = maybe; then
3216 cross_compiling=yes
3217 else
3218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error "cannot run C compiled programs.
3221 If you meant to cross compile, use \`--host'.
3222 See \`config.log' for more details." "$LINENO" 5; }
3223 fi
3224 fi
3225 fi
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3227 $as_echo "$cross_compiling" >&6; }
3228
3229 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3230 ac_clean_files=$ac_clean_files_save
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3232 $as_echo_n "checking for suffix of object files... " >&6; }
3233 if test "${ac_cv_objext+set}" = set; then :
3234 $as_echo_n "(cached) " >&6
3235 else
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3238
3239 int
3240 main ()
3241 {
3242
3243 ;
3244 return 0;
3245 }
3246 _ACEOF
3247 rm -f conftest.o conftest.obj
3248 if { { ac_try="$ac_compile"
3249 case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3252 esac
3253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_compile") 2>&5
3256 ac_status=$?
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 for ac_file in conftest.o conftest.obj conftest.*; do
3260 test -f "$ac_file" || continue;
3261 case $ac_file in
3262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3263 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3264 break;;
3265 esac
3266 done
3267 else
3268 $as_echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.$ac_ext >&5
3270
3271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3273 as_fn_error "cannot compute suffix of object files: cannot compile
3274 See \`config.log' for more details." "$LINENO" 5; }
3275 fi
3276 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3277 fi
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3279 $as_echo "$ac_cv_objext" >&6; }
3280 OBJEXT=$ac_cv_objext
3281 ac_objext=$OBJEXT
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3283 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3284 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3285 $as_echo_n "(cached) " >&6
3286 else
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3289
3290 int
3291 main ()
3292 {
3293 #ifndef __GNUC__
3294 choke me
3295 #endif
3296
3297 ;
3298 return 0;
3299 }
3300 _ACEOF
3301 if ac_fn_c_try_compile "$LINENO"; then :
3302 ac_compiler_gnu=yes
3303 else
3304 ac_compiler_gnu=no
3305 fi
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3308
3309 fi
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3311 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3312 if test $ac_compiler_gnu = yes; then
3313 GCC=yes
3314 else
3315 GCC=
3316 fi
3317 ac_test_CFLAGS=${CFLAGS+set}
3318 ac_save_CFLAGS=$CFLAGS
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3320 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3321 if test "${ac_cv_prog_cc_g+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3323 else
3324 ac_save_c_werror_flag=$ac_c_werror_flag
3325 ac_c_werror_flag=yes
3326 ac_cv_prog_cc_g=no
3327 CFLAGS="-g"
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3330
3331 int
3332 main ()
3333 {
3334
3335 ;
3336 return 0;
3337 }
3338 _ACEOF
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 ac_cv_prog_cc_g=yes
3341 else
3342 CFLAGS=""
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3345
3346 int
3347 main ()
3348 {
3349
3350 ;
3351 return 0;
3352 }
3353 _ACEOF
3354 if ac_fn_c_try_compile "$LINENO"; then :
3355
3356 else
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3358 CFLAGS="-g"
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3361
3362 int
3363 main ()
3364 {
3365
3366 ;
3367 return 0;
3368 }
3369 _ACEOF
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371 ac_cv_prog_cc_g=yes
3372 fi
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 fi
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 fi
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_c_werror_flag=$ac_save_c_werror_flag
3379 fi
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3381 $as_echo "$ac_cv_prog_cc_g" >&6; }
3382 if test "$ac_test_CFLAGS" = set; then
3383 CFLAGS=$ac_save_CFLAGS
3384 elif test $ac_cv_prog_cc_g = yes; then
3385 if test "$GCC" = yes; then
3386 CFLAGS="-g -O2"
3387 else
3388 CFLAGS="-g"
3389 fi
3390 else
3391 if test "$GCC" = yes; then
3392 CFLAGS="-O2"
3393 else
3394 CFLAGS=
3395 fi
3396 fi
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3398 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3399 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3400 $as_echo_n "(cached) " >&6
3401 else
3402 ac_cv_prog_cc_c89=no
3403 ac_save_CC=$CC
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3406 #include <stdarg.h>
3407 #include <stdio.h>
3408 #include <sys/types.h>
3409 #include <sys/stat.h>
3410 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3411 struct buf { int x; };
3412 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3413 static char *e (p, i)
3414 char **p;
3415 int i;
3416 {
3417 return p[i];
3418 }
3419 static char *f (char * (*g) (char **, int), char **p, ...)
3420 {
3421 char *s;
3422 va_list v;
3423 va_start (v,p);
3424 s = g (p, va_arg (v,int));
3425 va_end (v);
3426 return s;
3427 }
3428
3429 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3430 function prototypes and stuff, but not '\xHH' hex character constants.
3431 These don't provoke an error unfortunately, instead are silently treated
3432 as 'x'. The following induces an error, until -std is added to get
3433 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3434 array size at least. It's necessary to write '\x00'==0 to get something
3435 that's true only with -std. */
3436 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3437
3438 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3439 inside strings and character constants. */
3440 #define FOO(x) 'x'
3441 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3442
3443 int test (int i, double x);
3444 struct s1 {int (*f) (int a);};
3445 struct s2 {int (*f) (double a);};
3446 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3447 int argc;
3448 char **argv;
3449 int
3450 main ()
3451 {
3452 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3453 ;
3454 return 0;
3455 }
3456 _ACEOF
3457 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3458 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3459 do
3460 CC="$ac_save_CC $ac_arg"
3461 if ac_fn_c_try_compile "$LINENO"; then :
3462 ac_cv_prog_cc_c89=$ac_arg
3463 fi
3464 rm -f core conftest.err conftest.$ac_objext
3465 test "x$ac_cv_prog_cc_c89" != "xno" && break
3466 done
3467 rm -f conftest.$ac_ext
3468 CC=$ac_save_CC
3469
3470 fi
3471 # AC_CACHE_VAL
3472 case "x$ac_cv_prog_cc_c89" in
3473 x)
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3475 $as_echo "none needed" >&6; } ;;
3476 xno)
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3478 $as_echo "unsupported" >&6; } ;;
3479 *)
3480 CC="$CC $ac_cv_prog_cc_c89"
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3482 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3483 esac
3484 if test "x$ac_cv_prog_cc_c89" != xno; then :
3485
3486 fi
3487
3488 ac_ext=c
3489 ac_cpp='$CPP $CPPFLAGS'
3490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3493 DEPDIR="${am__leading_dot}deps" 3988 DEPDIR="${am__leading_dot}deps"
3494 3989
3495 ac_config_commands="$ac_config_commands depfiles" 3990 ac_config_commands="$ac_config_commands depfiles"
3496 3991
3497 3992
3548 AMDEP_FALSE='#' 4043 AMDEP_FALSE='#'
3549 else 4044 else
3550 AMDEP_TRUE='#' 4045 AMDEP_TRUE='#'
3551 AMDEP_FALSE= 4046 AMDEP_FALSE=
3552 fi 4047 fi
4048
4049
4050 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4051 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4052 # is not polluted with repeated "-I."
4053 am__isrc=' -I$(srcdir)'
4054 # test to see if srcdir already configured
4055 if test -f $srcdir/config.status; then
4056 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4057 fi
4058 fi
4059
4060 # test whether we have cygpath
4061 if test -z "$CYGPATH_W"; then
4062 if (cygpath --version) >/dev/null 2>/dev/null; then
4063 CYGPATH_W='cygpath -w'
4064 else
4065 CYGPATH_W=echo
4066 fi
4067 fi
4068
4069
4070 # Define the identity of the package.
4071 PACKAGE='urweb'
4072 VERSION='1.0'
4073
4074
4075 # Some tools Automake needs.
4076
4077 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4078
4079
4080 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4081
4082
4083 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4084
4085
4086 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4087
4088
4089 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4090
4091 # We need awk for the "check" target. The system "awk" is bad on
4092 # some platforms.
4093 # Always define AMTAR for backward compatibility.
4094
4095 AMTAR=${AMTAR-"${am_missing_run}tar"}
4096
4097 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4098
3553 4099
3554 4100
3555 4101
3556 depcc="$CC" am_compiler_list= 4102 depcc="$CC" am_compiler_list=
3557 4103
3678 am__fastdepCC_TRUE='#' 4224 am__fastdepCC_TRUE='#'
3679 am__fastdepCC_FALSE= 4225 am__fastdepCC_FALSE=
3680 fi 4226 fi
3681 4227
3682 4228
4229
4230 ac_ext=c
4231 ac_cpp='$CPP $CPPFLAGS'
4232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4235 if test -n "$ac_tool_prefix"; then
4236 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4237 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4239 $as_echo_n "checking for $ac_word... " >&6; }
4240 if test "${ac_cv_prog_CC+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 if test -n "$CC"; then
4244 ac_cv_prog_CC="$CC" # Let the user override the test.
4245 else
4246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 for as_dir in $PATH
4248 do
4249 IFS=$as_save_IFS
4250 test -z "$as_dir" && as_dir=.
4251 for ac_exec_ext in '' $ac_executable_extensions; do
4252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4253 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 break 2
4256 fi
4257 done
4258 done
4259 IFS=$as_save_IFS
4260
4261 fi
4262 fi
4263 CC=$ac_cv_prog_CC
4264 if test -n "$CC"; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4266 $as_echo "$CC" >&6; }
4267 else
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4270 fi
4271
4272
4273 fi
4274 if test -z "$ac_cv_prog_CC"; then
4275 ac_ct_CC=$CC
4276 # Extract the first word of "gcc", so it can be a program name with args.
4277 set dummy gcc; ac_word=$2
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279 $as_echo_n "checking for $ac_word... " >&6; }
4280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 if test -n "$ac_ct_CC"; then
4284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4285 else
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 for as_dir in $PATH
4288 do
4289 IFS=$as_save_IFS
4290 test -z "$as_dir" && as_dir=.
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4293 ac_cv_prog_ac_ct_CC="gcc"
4294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 break 2
4296 fi
4297 done
4298 done
4299 IFS=$as_save_IFS
4300
4301 fi
4302 fi
4303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4304 if test -n "$ac_ct_CC"; then
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4306 $as_echo "$ac_ct_CC" >&6; }
4307 else
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4309 $as_echo "no" >&6; }
4310 fi
4311
4312 if test "x$ac_ct_CC" = x; then
4313 CC=""
4314 else
4315 case $cross_compiling:$ac_tool_warned in
4316 yes:)
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4319 ac_tool_warned=yes ;;
4320 esac
4321 CC=$ac_ct_CC
4322 fi
4323 else
4324 CC="$ac_cv_prog_CC"
4325 fi
4326
4327 if test -z "$CC"; then
4328 if test -n "$ac_tool_prefix"; then
4329 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}cc; ac_word=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if test "${ac_cv_prog_CC+set}" = set; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 if test -n "$CC"; then
4337 ac_cv_prog_CC="$CC" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4341 do
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4346 ac_cv_prog_CC="${ac_tool_prefix}cc"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4349 fi
4350 done
4351 done
4352 IFS=$as_save_IFS
4353
4354 fi
4355 fi
4356 CC=$ac_cv_prog_CC
4357 if test -n "$CC"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4359 $as_echo "$CC" >&6; }
4360 else
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4363 fi
4364
4365
4366 fi
4367 fi
4368 if test -z "$CC"; then
4369 # Extract the first word of "cc", so it can be a program name with args.
4370 set dummy cc; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CC+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CC"; then
4377 ac_cv_prog_CC="$CC" # Let the user override the test.
4378 else
4379 ac_prog_rejected=no
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4382 do
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4387 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4388 ac_prog_rejected=yes
4389 continue
4390 fi
4391 ac_cv_prog_CC="cc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4394 fi
4395 done
4396 done
4397 IFS=$as_save_IFS
4398
4399 if test $ac_prog_rejected = yes; then
4400 # We found a bogon in the path, so make sure we never use it.
4401 set dummy $ac_cv_prog_CC
4402 shift
4403 if test $# != 0; then
4404 # We chose a different compiler from the bogus one.
4405 # However, it has the same basename, so the bogon will be chosen
4406 # first if we set CC to just the basename; use the full file name.
4407 shift
4408 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4409 fi
4410 fi
4411 fi
4412 fi
4413 CC=$ac_cv_prog_CC
4414 if test -n "$CC"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4416 $as_echo "$CC" >&6; }
4417 else
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4420 fi
4421
4422
4423 fi
4424 if test -z "$CC"; then
4425 if test -n "$ac_tool_prefix"; then
4426 for ac_prog in cl.exe
4427 do
4428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if test "${ac_cv_prog_CC+set}" = set; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 if test -n "$CC"; then
4436 ac_cv_prog_CC="$CC" # Let the user override the test.
4437 else
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH
4440 do
4441 IFS=$as_save_IFS
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 break 2
4448 fi
4449 done
4450 done
4451 IFS=$as_save_IFS
4452
4453 fi
4454 fi
4455 CC=$ac_cv_prog_CC
4456 if test -n "$CC"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4458 $as_echo "$CC" >&6; }
4459 else
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4462 fi
4463
4464
4465 test -n "$CC" && break
4466 done
4467 fi
4468 if test -z "$CC"; then
4469 ac_ct_CC=$CC
4470 for ac_prog in cl.exe
4471 do
4472 # Extract the first word of "$ac_prog", so it can be a program name with args.
4473 set dummy $ac_prog; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 if test -n "$ac_ct_CC"; then
4480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4481 else
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 for as_dir in $PATH
4484 do
4485 IFS=$as_save_IFS
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4489 ac_cv_prog_ac_ct_CC="$ac_prog"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4492 fi
4493 done
4494 done
4495 IFS=$as_save_IFS
4496
4497 fi
4498 fi
4499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4500 if test -n "$ac_ct_CC"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4502 $as_echo "$ac_ct_CC" >&6; }
4503 else
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4506 fi
4507
4508
4509 test -n "$ac_ct_CC" && break
4510 done
4511
4512 if test "x$ac_ct_CC" = x; then
4513 CC=""
4514 else
4515 case $cross_compiling:$ac_tool_warned in
4516 yes:)
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4519 ac_tool_warned=yes ;;
4520 esac
4521 CC=$ac_ct_CC
4522 fi
4523 fi
4524
4525 fi
4526
4527
4528 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4530 as_fn_error "no acceptable C compiler found in \$PATH
4531 See \`config.log' for more details." "$LINENO" 5; }
4532
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 fi
4553 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4557
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4560 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565
4566 int
4567 main ()
4568 {
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4572
4573 ;
4574 return 0;
4575 }
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4581 fi
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4584
4585 fi
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4587 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GCC=yes
4590 else
4591 GCC=
4592 fi
4593 ac_test_CFLAGS=${CFLAGS+set}
4594 ac_save_CFLAGS=$CFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4596 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cc_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_c_werror_flag=$ac_c_werror_flag
4601 ac_c_werror_flag=yes
4602 ac_cv_prog_cc_g=no
4603 CFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4606
4607 int
4608 main ()
4609 {
4610
4611 ;
4612 return 0;
4613 }
4614 _ACEOF
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 ac_cv_prog_cc_g=yes
4617 else
4618 CFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4621
4622 int
4623 main ()
4624 {
4625
4626 ;
4627 return 0;
4628 }
4629 _ACEOF
4630 if ac_fn_c_try_compile "$LINENO"; then :
4631
4632 else
4633 ac_c_werror_flag=$ac_save_c_werror_flag
4634 CFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637
4638 int
4639 main ()
4640 {
4641
4642 ;
4643 return 0;
4644 }
4645 _ACEOF
4646 if ac_fn_c_try_compile "$LINENO"; then :
4647 ac_cv_prog_cc_g=yes
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 fi
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_c_werror_flag=$ac_save_c_werror_flag
4655 fi
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4657 $as_echo "$ac_cv_prog_cc_g" >&6; }
4658 if test "$ac_test_CFLAGS" = set; then
4659 CFLAGS=$ac_save_CFLAGS
4660 elif test $ac_cv_prog_cc_g = yes; then
4661 if test "$GCC" = yes; then
4662 CFLAGS="-g -O2"
4663 else
4664 CFLAGS="-g"
4665 fi
4666 else
4667 if test "$GCC" = yes; then
4668 CFLAGS="-O2"
4669 else
4670 CFLAGS=
4671 fi
4672 fi
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4674 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4675 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4676 $as_echo_n "(cached) " >&6
4677 else
4678 ac_cv_prog_cc_c89=no
4679 ac_save_CC=$CC
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4682 #include <stdarg.h>
4683 #include <stdio.h>
4684 #include <sys/types.h>
4685 #include <sys/stat.h>
4686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4687 struct buf { int x; };
4688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4689 static char *e (p, i)
4690 char **p;
4691 int i;
4692 {
4693 return p[i];
4694 }
4695 static char *f (char * (*g) (char **, int), char **p, ...)
4696 {
4697 char *s;
4698 va_list v;
4699 va_start (v,p);
4700 s = g (p, va_arg (v,int));
4701 va_end (v);
4702 return s;
4703 }
4704
4705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4706 function prototypes and stuff, but not '\xHH' hex character constants.
4707 These don't provoke an error unfortunately, instead are silently treated
4708 as 'x'. The following induces an error, until -std is added to get
4709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4710 array size at least. It's necessary to write '\x00'==0 to get something
4711 that's true only with -std. */
4712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4713
4714 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4715 inside strings and character constants. */
4716 #define FOO(x) 'x'
4717 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4718
4719 int test (int i, double x);
4720 struct s1 {int (*f) (int a);};
4721 struct s2 {int (*f) (double a);};
4722 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4723 int argc;
4724 char **argv;
4725 int
4726 main ()
4727 {
4728 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4729 ;
4730 return 0;
4731 }
4732 _ACEOF
4733 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4734 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4735 do
4736 CC="$ac_save_CC $ac_arg"
4737 if ac_fn_c_try_compile "$LINENO"; then :
4738 ac_cv_prog_cc_c89=$ac_arg
4739 fi
4740 rm -f core conftest.err conftest.$ac_objext
4741 test "x$ac_cv_prog_cc_c89" != "xno" && break
4742 done
4743 rm -f conftest.$ac_ext
4744 CC=$ac_save_CC
4745
4746 fi
4747 # AC_CACHE_VAL
4748 case "x$ac_cv_prog_cc_c89" in
4749 x)
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4751 $as_echo "none needed" >&6; } ;;
4752 xno)
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4754 $as_echo "unsupported" >&6; } ;;
4755 *)
4756 CC="$CC $ac_cv_prog_cc_c89"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4758 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4759 esac
4760 if test "x$ac_cv_prog_cc_c89" != xno; then :
4761
4762 fi
4763
4764 ac_ext=c
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4769
3683 case `pwd` in 4770 case `pwd` in
3684 *\ * | *\ *) 4771 *\ * | *\ *)
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3686 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4773 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3687 esac 4774 esac
3856 4943
3857 4944
3858 4945
3859 4946
3860 4947
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3862 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3863 if test "${ac_cv_path_GREP+set}" = set; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 if test -z "$GREP"; then
3867 ac_path_GREP_found=false
3868 # Loop through the user's path and test for each of PROGNAME-LIST
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3871 do
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_prog in grep ggrep; do
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3877 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3878 # Check for GNU ac_path_GREP and select it if it is found.
3879 # Check for GNU $ac_path_GREP
3880 case `"$ac_path_GREP" --version 2>&1` in
3881 *GNU*)
3882 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3883 *)
3884 ac_count=0
3885 $as_echo_n 0123456789 >"conftest.in"
3886 while :
3887 do
3888 cat "conftest.in" "conftest.in" >"conftest.tmp"
3889 mv "conftest.tmp" "conftest.in"
3890 cp "conftest.in" "conftest.nl"
3891 $as_echo 'GREP' >> "conftest.nl"
3892 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3893 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3894 as_fn_arith $ac_count + 1 && ac_count=$as_val
3895 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3896 # Best one so far, save it but keep looking for a better one
3897 ac_cv_path_GREP="$ac_path_GREP"
3898 ac_path_GREP_max=$ac_count
3899 fi
3900 # 10*(2^10) chars as input seems more than enough
3901 test $ac_count -gt 10 && break
3902 done
3903 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3904 esac
3905
3906 $ac_path_GREP_found && break 3
3907 done
3908 done
3909 done
3910 IFS=$as_save_IFS
3911 if test -z "$ac_cv_path_GREP"; then
3912 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3913 fi
3914 else
3915 ac_cv_path_GREP=$GREP
3916 fi
3917
3918 fi
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3920 $as_echo "$ac_cv_path_GREP" >&6; }
3921 GREP="$ac_cv_path_GREP"
3922
3923
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3925 $as_echo_n "checking for egrep... " >&6; }
3926 if test "${ac_cv_path_EGREP+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3928 else
3929 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3930 then ac_cv_path_EGREP="$GREP -E"
3931 else
3932 if test -z "$EGREP"; then
3933 ac_path_EGREP_found=false
3934 # Loop through the user's path and test for each of PROGNAME-LIST
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3937 do
3938 IFS=$as_save_IFS
3939 test -z "$as_dir" && as_dir=.
3940 for ac_prog in egrep; do
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3943 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3944 # Check for GNU ac_path_EGREP and select it if it is found.
3945 # Check for GNU $ac_path_EGREP
3946 case `"$ac_path_EGREP" --version 2>&1` in
3947 *GNU*)
3948 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3949 *)
3950 ac_count=0
3951 $as_echo_n 0123456789 >"conftest.in"
3952 while :
3953 do
3954 cat "conftest.in" "conftest.in" >"conftest.tmp"
3955 mv "conftest.tmp" "conftest.in"
3956 cp "conftest.in" "conftest.nl"
3957 $as_echo 'EGREP' >> "conftest.nl"
3958 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3960 as_fn_arith $ac_count + 1 && ac_count=$as_val
3961 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3962 # Best one so far, save it but keep looking for a better one
3963 ac_cv_path_EGREP="$ac_path_EGREP"
3964 ac_path_EGREP_max=$ac_count
3965 fi
3966 # 10*(2^10) chars as input seems more than enough
3967 test $ac_count -gt 10 && break
3968 done
3969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3970 esac
3971
3972 $ac_path_EGREP_found && break 3
3973 done
3974 done
3975 done
3976 IFS=$as_save_IFS
3977 if test -z "$ac_cv_path_EGREP"; then
3978 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3979 fi
3980 else
3981 ac_cv_path_EGREP=$EGREP
3982 fi
3983
3984 fi
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3987 $as_echo "$ac_cv_path_EGREP" >&6; }
3988 EGREP="$ac_cv_path_EGREP"
3989
3990
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3992 $as_echo_n "checking for fgrep... " >&6; } 4949 $as_echo_n "checking for fgrep... " >&6; }
3993 if test "${ac_cv_path_FGREP+set}" = set; then : 4950 if test "${ac_cv_path_FGREP+set}" = set; then :
3994 $as_echo_n "(cached) " >&6 4951 $as_echo_n "(cached) " >&6
3995 else 4952 else
4358 if test "${lt_cv_nm_interface+set}" = set; then : 5315 if test "${lt_cv_nm_interface+set}" = set; then :
4359 $as_echo_n "(cached) " >&6 5316 $as_echo_n "(cached) " >&6
4360 else 5317 else
4361 lt_cv_nm_interface="BSD nm" 5318 lt_cv_nm_interface="BSD nm"
4362 echo "int some_variable = 0;" > conftest.$ac_ext 5319 echo "int some_variable = 0;" > conftest.$ac_ext
4363 (eval echo "\"\$as_me:4363: $ac_compile\"" >&5) 5320 (eval echo "\"\$as_me:5320: $ac_compile\"" >&5)
4364 (eval "$ac_compile" 2>conftest.err) 5321 (eval "$ac_compile" 2>conftest.err)
4365 cat conftest.err >&5 5322 cat conftest.err >&5
4366 (eval echo "\"\$as_me:4366: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5323 (eval echo "\"\$as_me:5323: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4367 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5324 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4368 cat conftest.err >&5 5325 cat conftest.err >&5
4369 (eval echo "\"\$as_me:4369: output\"" >&5) 5326 (eval echo "\"\$as_me:5326: output\"" >&5)
4370 cat conftest.out >&5 5327 cat conftest.out >&5
4371 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5328 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4372 lt_cv_nm_interface="MS dumpbin" 5329 lt_cv_nm_interface="MS dumpbin"
4373 fi 5330 fi
4374 rm -f conftest* 5331 rm -f conftest*
5538 6495
5539 6496
5540 6497
5541 6498
5542 6499
5543
5544 # Check whether --enable-libtool-lock was given. 6500 # Check whether --enable-libtool-lock was given.
5545 if test "${enable_libtool_lock+set}" = set; then : 6501 if test "${enable_libtool_lock+set}" = set; then :
5546 enableval=$enable_libtool_lock; 6502 enableval=$enable_libtool_lock;
5547 fi 6503 fi
5548 6504
5570 fi 6526 fi
5571 rm -rf conftest* 6527 rm -rf conftest*
5572 ;; 6528 ;;
5573 *-*-irix6*) 6529 *-*-irix6*)
5574 # Find out which ABI we are using. 6530 # Find out which ABI we are using.
5575 echo '#line 5575 "configure"' > conftest.$ac_ext 6531 echo '#line 6531 "configure"' > conftest.$ac_ext
5576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5577 (eval $ac_compile) 2>&5 6533 (eval $ac_compile) 2>&5
5578 ac_status=$? 6534 ac_status=$?
5579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5580 test $ac_status = 0; }; then 6536 test $ac_status = 0; }; then
6317 _lt_dsymutil= 7273 _lt_dsymutil=
6318 fi 7274 fi
6319 ;; 7275 ;;
6320 esac 7276 esac
6321 7277
6322 ac_ext=c
6323 ac_cpp='$CPP $CPPFLAGS'
6324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6328 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6329 # On Suns, sometimes $CPP names a directory.
6330 if test -n "$CPP" && test -d "$CPP"; then
6331 CPP=
6332 fi
6333 if test -z "$CPP"; then
6334 if test "${ac_cv_prog_CPP+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 # Double quotes because CPP needs to be expanded
6338 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6339 do
6340 ac_preproc_ok=false
6341 for ac_c_preproc_warn_flag in '' yes
6342 do
6343 # Use a header file that comes with gcc, so configuring glibc
6344 # with a fresh cross-compiler works.
6345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6346 # <limits.h> exists even on freestanding compilers.
6347 # On the NeXT, cc -E runs the code through the compiler's parser,
6348 # not just through cpp. "Syntax error" is here to catch this case.
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6351 #ifdef __STDC__
6352 # include <limits.h>
6353 #else
6354 # include <assert.h>
6355 #endif
6356 Syntax error
6357 _ACEOF
6358 if ac_fn_c_try_cpp "$LINENO"; then :
6359
6360 else
6361 # Broken: fails on valid input.
6362 continue
6363 fi
6364 rm -f conftest.err conftest.$ac_ext
6365
6366 # OK, works on sane cases. Now check whether nonexistent headers
6367 # can be detected and how.
6368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6370 #include <ac_nonexistent.h>
6371 _ACEOF
6372 if ac_fn_c_try_cpp "$LINENO"; then :
6373 # Broken: success on invalid input.
6374 continue
6375 else
6376 # Passes both tests.
6377 ac_preproc_ok=:
6378 break
6379 fi
6380 rm -f conftest.err conftest.$ac_ext
6381
6382 done
6383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6384 rm -f conftest.err conftest.$ac_ext
6385 if $ac_preproc_ok; then :
6386 break
6387 fi
6388
6389 done
6390 ac_cv_prog_CPP=$CPP
6391
6392 fi
6393 CPP=$ac_cv_prog_CPP
6394 else
6395 ac_cv_prog_CPP=$CPP
6396 fi
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6398 $as_echo "$CPP" >&6; }
6399 ac_preproc_ok=false
6400 for ac_c_preproc_warn_flag in '' yes
6401 do
6402 # Use a header file that comes with gcc, so configuring glibc
6403 # with a fresh cross-compiler works.
6404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6405 # <limits.h> exists even on freestanding compilers.
6406 # On the NeXT, cc -E runs the code through the compiler's parser,
6407 # not just through cpp. "Syntax error" is here to catch this case.
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6410 #ifdef __STDC__
6411 # include <limits.h>
6412 #else
6413 # include <assert.h>
6414 #endif
6415 Syntax error
6416 _ACEOF
6417 if ac_fn_c_try_cpp "$LINENO"; then :
6418
6419 else
6420 # Broken: fails on valid input.
6421 continue
6422 fi
6423 rm -f conftest.err conftest.$ac_ext
6424
6425 # OK, works on sane cases. Now check whether nonexistent headers
6426 # can be detected and how.
6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6429 #include <ac_nonexistent.h>
6430 _ACEOF
6431 if ac_fn_c_try_cpp "$LINENO"; then :
6432 # Broken: success on invalid input.
6433 continue
6434 else
6435 # Passes both tests.
6436 ac_preproc_ok=:
6437 break
6438 fi
6439 rm -f conftest.err conftest.$ac_ext
6440
6441 done
6442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6443 rm -f conftest.err conftest.$ac_ext
6444 if $ac_preproc_ok; then :
6445
6446 else
6447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6449 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6450 See \`config.log' for more details." "$LINENO" 5; }
6451 fi
6452
6453 ac_ext=c
6454 ac_cpp='$CPP $CPPFLAGS'
6455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6458
6459
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6461 $as_echo_n "checking for ANSI C header files... " >&6; }
6462 if test "${ac_cv_header_stdc+set}" = set; then :
6463 $as_echo_n "(cached) " >&6
6464 else
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #include <stdlib.h>
6468 #include <stdarg.h>
6469 #include <string.h>
6470 #include <float.h>
6471
6472 int
6473 main ()
6474 {
6475
6476 ;
6477 return 0;
6478 }
6479 _ACEOF
6480 if ac_fn_c_try_compile "$LINENO"; then :
6481 ac_cv_header_stdc=yes
6482 else
6483 ac_cv_header_stdc=no
6484 fi
6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6486
6487 if test $ac_cv_header_stdc = yes; then
6488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 #include <string.h>
6492
6493 _ACEOF
6494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6495 $EGREP "memchr" >/dev/null 2>&1; then :
6496
6497 else
6498 ac_cv_header_stdc=no
6499 fi
6500 rm -f conftest*
6501
6502 fi
6503
6504 if test $ac_cv_header_stdc = yes; then
6505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <stdlib.h>
6509
6510 _ACEOF
6511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6512 $EGREP "free" >/dev/null 2>&1; then :
6513
6514 else
6515 ac_cv_header_stdc=no
6516 fi
6517 rm -f conftest*
6518
6519 fi
6520
6521 if test $ac_cv_header_stdc = yes; then
6522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6523 if test "$cross_compiling" = yes; then :
6524 :
6525 else
6526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6528 #include <ctype.h>
6529 #include <stdlib.h>
6530 #if ((' ' & 0x0FF) == 0x020)
6531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6533 #else
6534 # define ISLOWER(c) \
6535 (('a' <= (c) && (c) <= 'i') \
6536 || ('j' <= (c) && (c) <= 'r') \
6537 || ('s' <= (c) && (c) <= 'z'))
6538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6539 #endif
6540
6541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6542 int
6543 main ()
6544 {
6545 int i;
6546 for (i = 0; i < 256; i++)
6547 if (XOR (islower (i), ISLOWER (i))
6548 || toupper (i) != TOUPPER (i))
6549 return 2;
6550 return 0;
6551 }
6552 _ACEOF
6553 if ac_fn_c_try_run "$LINENO"; then :
6554
6555 else
6556 ac_cv_header_stdc=no
6557 fi
6558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6559 conftest.$ac_objext conftest.beam conftest.$ac_ext
6560 fi
6561
6562 fi
6563 fi
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6565 $as_echo "$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6567
6568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6569
6570 fi
6571
6572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6574 inttypes.h stdint.h unistd.h
6575 do :
6576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6578 "
6579 eval as_val=\$$as_ac_Header
6580 if test "x$as_val" = x""yes; then :
6581 cat >>confdefs.h <<_ACEOF
6582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 _ACEOF
6584
6585 fi
6586
6587 done
6588
6589
6590 for ac_header in dlfcn.h 7278 for ac_header in dlfcn.h
6591 do : 7279 do :
6592 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7280 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6593 " 7281 "
6594 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 7282 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7100 # The option is referenced via a variable to avoid confusing sed. 7788 # The option is referenced via a variable to avoid confusing sed.
7101 lt_compile=`echo "$ac_compile" | $SED \ 7789 lt_compile=`echo "$ac_compile" | $SED \
7102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7104 -e 's:$: $lt_compiler_flag:'` 7792 -e 's:$: $lt_compiler_flag:'`
7105 (eval echo "\"\$as_me:7105: $lt_compile\"" >&5) 7793 (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
7106 (eval "$lt_compile" 2>conftest.err) 7794 (eval "$lt_compile" 2>conftest.err)
7107 ac_status=$? 7795 ac_status=$?
7108 cat conftest.err >&5 7796 cat conftest.err >&5
7109 echo "$as_me:7109: \$? = $ac_status" >&5 7797 echo "$as_me:7797: \$? = $ac_status" >&5
7110 if (exit $ac_status) && test -s "$ac_outfile"; then 7798 if (exit $ac_status) && test -s "$ac_outfile"; then
7111 # The compiler can only warn and ignore the option if not recognized 7799 # The compiler can only warn and ignore the option if not recognized
7112 # So say no if there are warnings other than the usual output. 7800 # So say no if there are warnings other than the usual output.
7113 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7801 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7114 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7439 # The option is referenced via a variable to avoid confusing sed. 8127 # The option is referenced via a variable to avoid confusing sed.
7440 lt_compile=`echo "$ac_compile" | $SED \ 8128 lt_compile=`echo "$ac_compile" | $SED \
7441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7443 -e 's:$: $lt_compiler_flag:'` 8131 -e 's:$: $lt_compiler_flag:'`
7444 (eval echo "\"\$as_me:7444: $lt_compile\"" >&5) 8132 (eval echo "\"\$as_me:8132: $lt_compile\"" >&5)
7445 (eval "$lt_compile" 2>conftest.err) 8133 (eval "$lt_compile" 2>conftest.err)
7446 ac_status=$? 8134 ac_status=$?
7447 cat conftest.err >&5 8135 cat conftest.err >&5
7448 echo "$as_me:7448: \$? = $ac_status" >&5 8136 echo "$as_me:8136: \$? = $ac_status" >&5
7449 if (exit $ac_status) && test -s "$ac_outfile"; then 8137 if (exit $ac_status) && test -s "$ac_outfile"; then
7450 # The compiler can only warn and ignore the option if not recognized 8138 # The compiler can only warn and ignore the option if not recognized
7451 # So say no if there are warnings other than the usual output. 8139 # So say no if there are warnings other than the usual output.
7452 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8140 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7453 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8141 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7544 # with a dollar sign (not a hyphen), so the echo should work correctly. 8232 # with a dollar sign (not a hyphen), so the echo should work correctly.
7545 lt_compile=`echo "$ac_compile" | $SED \ 8233 lt_compile=`echo "$ac_compile" | $SED \
7546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8234 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8235 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7548 -e 's:$: $lt_compiler_flag:'` 8236 -e 's:$: $lt_compiler_flag:'`
7549 (eval echo "\"\$as_me:7549: $lt_compile\"" >&5) 8237 (eval echo "\"\$as_me:8237: $lt_compile\"" >&5)
7550 (eval "$lt_compile" 2>out/conftest.err) 8238 (eval "$lt_compile" 2>out/conftest.err)
7551 ac_status=$? 8239 ac_status=$?
7552 cat out/conftest.err >&5 8240 cat out/conftest.err >&5
7553 echo "$as_me:7553: \$? = $ac_status" >&5 8241 echo "$as_me:8241: \$? = $ac_status" >&5
7554 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8242 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7555 then 8243 then
7556 # The compiler can only warn and ignore the option if not recognized 8244 # The compiler can only warn and ignore the option if not recognized
7557 # So say no if there are warnings 8245 # So say no if there are warnings
7558 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8246 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7599 # with a dollar sign (not a hyphen), so the echo should work correctly. 8287 # with a dollar sign (not a hyphen), so the echo should work correctly.
7600 lt_compile=`echo "$ac_compile" | $SED \ 8288 lt_compile=`echo "$ac_compile" | $SED \
7601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7603 -e 's:$: $lt_compiler_flag:'` 8291 -e 's:$: $lt_compiler_flag:'`
7604 (eval echo "\"\$as_me:7604: $lt_compile\"" >&5) 8292 (eval echo "\"\$as_me:8292: $lt_compile\"" >&5)
7605 (eval "$lt_compile" 2>out/conftest.err) 8293 (eval "$lt_compile" 2>out/conftest.err)
7606 ac_status=$? 8294 ac_status=$?
7607 cat out/conftest.err >&5 8295 cat out/conftest.err >&5
7608 echo "$as_me:7608: \$? = $ac_status" >&5 8296 echo "$as_me:8296: \$? = $ac_status" >&5
7609 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8297 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7610 then 8298 then
7611 # The compiler can only warn and ignore the option if not recognized 8299 # The compiler can only warn and ignore the option if not recognized
7612 # So say no if there are warnings 8300 # So say no if there are warnings
7613 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8301 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9983 lt_cv_dlopen_self=cross 10671 lt_cv_dlopen_self=cross
9984 else 10672 else
9985 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10673 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9986 lt_status=$lt_dlunknown 10674 lt_status=$lt_dlunknown
9987 cat > conftest.$ac_ext <<_LT_EOF 10675 cat > conftest.$ac_ext <<_LT_EOF
9988 #line 9988 "configure" 10676 #line 10676 "configure"
9989 #include "confdefs.h" 10677 #include "confdefs.h"
9990 10678
9991 #if HAVE_DLFCN_H 10679 #if HAVE_DLFCN_H
9992 #include <dlfcn.h> 10680 #include <dlfcn.h>
9993 #endif 10681 #endif
10079 lt_cv_dlopen_self_static=cross 10767 lt_cv_dlopen_self_static=cross
10080 else 10768 else
10081 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10769 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10082 lt_status=$lt_dlunknown 10770 lt_status=$lt_dlunknown
10083 cat > conftest.$ac_ext <<_LT_EOF 10771 cat > conftest.$ac_ext <<_LT_EOF
10084 #line 10084 "configure" 10772 #line 10772 "configure"
10085 #include "confdefs.h" 10773 #include "confdefs.h"
10086 10774
10087 #if HAVE_DLFCN_H 10775 #if HAVE_DLFCN_H
10088 #include <dlfcn.h> 10776 #include <dlfcn.h>
10089 #endif 10777 #endif
10470 LIBOBJS=$ac_libobjs 11158 LIBOBJS=$ac_libobjs
10471 11159
10472 LTLIBOBJS=$ac_ltlibobjs 11160 LTLIBOBJS=$ac_ltlibobjs
10473 11161
10474 11162
11163 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11164 as_fn_error "conditional \"AMDEP\" was never defined.
11165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11166 fi
11167 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11168 as_fn_error "conditional \"am__fastdepCC\" was never defined.
11169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11170 fi
10475 if test -n "$EXEEXT"; then 11171 if test -n "$EXEEXT"; then
10476 am__EXEEXT_TRUE= 11172 am__EXEEXT_TRUE=
10477 am__EXEEXT_FALSE='#' 11173 am__EXEEXT_FALSE='#'
10478 else 11174 else
10479 am__EXEEXT_TRUE='#' 11175 am__EXEEXT_TRUE='#'
10480 am__EXEEXT_FALSE= 11176 am__EXEEXT_FALSE=
10481 fi 11177 fi
10482 11178
10483 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10484 as_fn_error "conditional \"AMDEP\" was never defined.
10485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10486 fi
10487 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10488 as_fn_error "conditional \"am__fastdepCC\" was never defined.
10489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10490 fi
10491 11179
10492 : ${CONFIG_STATUS=./config.status} 11180 : ${CONFIG_STATUS=./config.status}
10493 ac_write_fail=0 11181 ac_write_fail=0
10494 ac_clean_files_save=$ac_clean_files 11182 ac_clean_files_save=$ac_clean_files
10495 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11183 ac_clean_files="$ac_clean_files $CONFIG_STATUS"