comparison configure @ 2526:902d5bd9b75c

[xemacs-hg @ 2005-01-28 02:36:11 by ben] Support symlinks under Windows nt.c, fileio.c: Fix sync comments. config.h.in, dired-msw.c, emacs.c, event-msw.c, fileio.c, glyphs.c, lisp.h, nt.c, process-nt.c, realpath.c, sound.c, symsinit.h, sysdep.c, sysfile.h, syswindows.h, win32.c: Add support for treating shortcuts under Windows as symbolic links. Enabled with mswindows-shortcuts-are-links (t by default). Rewrite lots of places to use PATHNAME_CONVERT_OUT, which is moved to sysfile.h. Add PATHNAME_RESOLVE_LINKS, which only does things under Windows. Add profiling section for expand_file_name calls. nt.c, sysdep.c: Unicode-ize. realpath.c: Renamed from readlink_and_correct_case. Fix some problems with Windows implementation due to incorrect understanding of workings of the function. sound.c, ntplay.c, sound.h: Rename play_sound_file to nt_play_sound_file and pass internally-formatted data to it to avoid converting out and back again. text.h: is_c -> is_ascii.
author ben
date Fri, 28 Jan 2005 02:36:28 +0000
parents 3d8143fc88e1
children b880fa9b5d8a
comparison
equal deleted inserted replaced
2525:52f00344a629 2526:902d5bd9b75c
364 with_kerberos | \ 364 with_kerberos | \
365 with_hesiod | \ 365 with_hesiod | \
366 with_dnet | \ 366 with_dnet | \
367 with_infodock | \ 367 with_infodock | \
368 with_netinstall | \ 368 with_netinstall | \
369 with_optimization | \
369 with_ipv6_cname | \ 370 with_ipv6_cname | \
370 external_widget | \ 371 external_widget | \
371 use_kkcc | \ 372 use_kkcc | \
372 verbose | \ 373 verbose | \
373 extra_verbose | \ 374 extra_verbose | \
392 393
393 compiler | \ 394 compiler | \
394 xemacs_compiler | \ 395 xemacs_compiler | \
395 cflags | \ 396 cflags | \
396 cflags_warning | \ 397 cflags_warning | \
398 cflags_optimization | \
399 cflags_debugging | \
397 cpp | \ 400 cpp | \
398 cppflags | \ 401 cppflags | \
399 libs | \ 402 libs | \
400 ldflags | \ 403 ldflags | \
401 cache_file | \ 404 cache_file | \
857 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 860 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
858 fi 861 fi
859 fi 862 fi
860 863
861 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 864 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
862 echo "configure:863: checking whether ln -s works" >&5 865 echo "configure:866: checking whether ln -s works" >&5
863 866
864 rm -f conftestdata 867 rm -f conftestdata
865 if ln -s X conftestdata 2>/dev/null 868 if ln -s X conftestdata 2>/dev/null
866 then 869 then
867 rm -f conftestdata 870 rm -f conftestdata
1143 } 1146 }
1144 1147
1145 1148
1146 1149
1147 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 1150 echo $ac_n "checking "host system type"""... $ac_c" 1>&6
1148 echo "configure:1149: checking "host system type"" >&5 1151 echo "configure:1152: checking "host system type"" >&5
1149 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` 1152 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
1150 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` 1153 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"`
1151 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 1154 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
1152 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 1155 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
1153 echo "$ac_t""$configuration" 1>&6 1156 echo "$ac_t""$configuration" 1>&6
1676 if test "${cflags_warning-unset}" != unset 1679 if test "${cflags_warning-unset}" != unset
1677 then cflags_warning_specified=yes; 1680 then cflags_warning_specified=yes;
1678 else cflags_warning_specified=no; 1681 else cflags_warning_specified=no;
1679 fi 1682 fi
1680 1683
1684 if test "${cflags_optimization-unset}" != unset
1685 then cflags_optimization_specified=yes;
1686 else cflags_optimization_specified=no;
1687 fi
1688
1689 if test "${cflags_debugging-unset}" != unset
1690 then cflags_debugging_specified=yes;
1691 else cflags_debugging_specified=no;
1692 fi
1693
1681 xe_save_CFLAGS="$CFLAGS" 1694 xe_save_CFLAGS="$CFLAGS"
1682 1695
1683 # Extract the first word of "gcc", so it can be a program name with args. 1696 # Extract the first word of "gcc", so it can be a program name with args.
1684 set dummy gcc; ac_word=$2 1697 set dummy gcc; ac_word=$2
1685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1686 echo "configure:1687: checking for $ac_word" >&5 1699 echo "configure:1700: checking for $ac_word" >&5
1687 1700
1688 if test -n "$CC"; then 1701 if test -n "$CC"; then
1689 ac_cv_prog_CC="$CC" # Let the user override the test. 1702 ac_cv_prog_CC="$CC" # Let the user override the test.
1690 else 1703 else
1691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1708 1721
1709 if test -z "$CC"; then 1722 if test -z "$CC"; then
1710 # Extract the first word of "cc", so it can be a program name with args. 1723 # Extract the first word of "cc", so it can be a program name with args.
1711 set dummy cc; ac_word=$2 1724 set dummy cc; ac_word=$2
1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1713 echo "configure:1714: checking for $ac_word" >&5 1726 echo "configure:1727: checking for $ac_word" >&5
1714 1727
1715 if test -n "$CC"; then 1728 if test -n "$CC"; then
1716 ac_cv_prog_CC="$CC" # Let the user override the test. 1729 ac_cv_prog_CC="$CC" # Let the user override the test.
1717 else 1730 else
1718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1756 case "`uname -s`" in 1769 case "`uname -s`" in
1757 *win32* | *WIN32*) 1770 *win32* | *WIN32*)
1758 # Extract the first word of "cl", so it can be a program name with args. 1771 # Extract the first word of "cl", so it can be a program name with args.
1759 set dummy cl; ac_word=$2 1772 set dummy cl; ac_word=$2
1760 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1761 echo "configure:1762: checking for $ac_word" >&5 1774 echo "configure:1775: checking for $ac_word" >&5
1762 1775
1763 if test -n "$CC"; then 1776 if test -n "$CC"; then
1764 ac_cv_prog_CC="$CC" # Let the user override the test. 1777 ac_cv_prog_CC="$CC" # Let the user override the test.
1765 else 1778 else
1766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1785 fi 1798 fi
1786 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1799 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1787 fi 1800 fi
1788 1801
1789 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1802 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1790 echo "configure:1791: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1803 echo "configure:1804: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1791 1804
1792 ac_ext=c 1805 ac_ext=c
1793 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1806 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1794 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1807 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1795 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 1808 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
1798 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1811 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1799 cross_compiling=no 1812 cross_compiling=no
1800 1813
1801 cat > conftest.$ac_ext << EOF 1814 cat > conftest.$ac_ext << EOF
1802 1815
1803 #line 1804 "configure" 1816 #line 1817 "configure"
1804 #include "confdefs.h" 1817 #include "confdefs.h"
1805 1818
1806 main(){return(0);} 1819 main(){return(0);}
1807 EOF 1820 EOF
1808 if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1821 if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1809 ac_cv_prog_cc_works=yes 1822 ac_cv_prog_cc_works=yes
1810 # If we can't run a trivial program, we are probably using a cross compiler. 1823 # If we can't run a trivial program, we are probably using a cross compiler.
1811 if (./conftest; exit) 2>/dev/null; then 1824 if (./conftest; exit) 2>/dev/null; then
1812 ac_cv_prog_cc_cross=no 1825 ac_cv_prog_cc_cross=no
1813 else 1826 else
1831 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1844 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1832 if test $ac_cv_prog_cc_works = no; then 1845 if test $ac_cv_prog_cc_works = no; then
1833 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1846 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1834 fi 1847 fi
1835 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1848 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1836 echo "configure:1837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1849 echo "configure:1850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1837 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1850 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1838 cross_compiling=$ac_cv_prog_cc_cross 1851 cross_compiling=$ac_cv_prog_cc_cross
1839 1852
1840 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1853 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1841 echo "configure:1842: checking whether we are using GNU C" >&5 1854 echo "configure:1855: checking whether we are using GNU C" >&5
1842 1855
1843 cat > conftest.c <<EOF 1856 cat > conftest.c <<EOF
1844 #ifdef __GNUC__ 1857 #ifdef __GNUC__
1845 yes; 1858 yes;
1846 #endif 1859 #endif
1847 EOF 1860 EOF
1848 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1861 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1849 ac_cv_prog_gcc=yes 1862 ac_cv_prog_gcc=yes
1850 else 1863 else
1851 ac_cv_prog_gcc=no 1864 ac_cv_prog_gcc=no
1852 fi 1865 fi
1853 1866
1861 1874
1862 ac_test_CFLAGS="${CFLAGS+set}" 1875 ac_test_CFLAGS="${CFLAGS+set}"
1863 ac_save_CFLAGS="$CFLAGS" 1876 ac_save_CFLAGS="$CFLAGS"
1864 CFLAGS= 1877 CFLAGS=
1865 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1878 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1866 echo "configure:1867: checking whether ${CC-cc} accepts -g" >&5 1879 echo "configure:1880: checking whether ${CC-cc} accepts -g" >&5
1867 1880
1868 echo 'void f(){}' > conftest.c 1881 echo 'void f(){}' > conftest.c
1869 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1882 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1870 ac_cv_prog_cc_g=yes 1883 ac_cv_prog_cc_g=yes
1871 else 1884 else
1894 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then 1907 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
1895 CC=${NON_GNU_CC-cc} 1908 CC=${NON_GNU_CC-cc}
1896 # Extract the first word of "gcc", so it can be a program name with args. 1909 # Extract the first word of "gcc", so it can be a program name with args.
1897 set dummy gcc; ac_word=$2 1910 set dummy gcc; ac_word=$2
1898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1899 echo "configure:1900: checking for $ac_word" >&5 1912 echo "configure:1913: checking for $ac_word" >&5
1900 1913
1901 if test -n "$CC"; then 1914 if test -n "$CC"; then
1902 ac_cv_prog_CC="$CC" # Let the user override the test. 1915 ac_cv_prog_CC="$CC" # Let the user override the test.
1903 else 1916 else
1904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1917 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1921 1934
1922 if test -z "$CC"; then 1935 if test -z "$CC"; then
1923 # Extract the first word of "cc", so it can be a program name with args. 1936 # Extract the first word of "cc", so it can be a program name with args.
1924 set dummy cc; ac_word=$2 1937 set dummy cc; ac_word=$2
1925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1926 echo "configure:1927: checking for $ac_word" >&5 1939 echo "configure:1940: checking for $ac_word" >&5
1927 1940
1928 if test -n "$CC"; then 1941 if test -n "$CC"; then
1929 ac_cv_prog_CC="$CC" # Let the user override the test. 1942 ac_cv_prog_CC="$CC" # Let the user override the test.
1930 else 1943 else
1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1944 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1969 case "`uname -s`" in 1982 case "`uname -s`" in
1970 *win32* | *WIN32*) 1983 *win32* | *WIN32*)
1971 # Extract the first word of "cl", so it can be a program name with args. 1984 # Extract the first word of "cl", so it can be a program name with args.
1972 set dummy cl; ac_word=$2 1985 set dummy cl; ac_word=$2
1973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1986 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1974 echo "configure:1975: checking for $ac_word" >&5 1987 echo "configure:1988: checking for $ac_word" >&5
1975 1988
1976 if test -n "$CC"; then 1989 if test -n "$CC"; then
1977 ac_cv_prog_CC="$CC" # Let the user override the test. 1990 ac_cv_prog_CC="$CC" # Let the user override the test.
1978 else 1991 else
1979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1992 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1998 fi 2011 fi
1999 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 2012 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2000 fi 2013 fi
2001 2014
2002 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2015 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2003 echo "configure:2004: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2016 echo "configure:2017: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2004 2017
2005 ac_ext=c 2018 ac_ext=c
2006 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 2019 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
2007 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 2020 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
2008 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 2021 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
2011 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 2024 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
2012 cross_compiling=no 2025 cross_compiling=no
2013 2026
2014 cat > conftest.$ac_ext << EOF 2027 cat > conftest.$ac_ext << EOF
2015 2028
2016 #line 2017 "configure" 2029 #line 2030 "configure"
2017 #include "confdefs.h" 2030 #include "confdefs.h"
2018 2031
2019 main(){return(0);} 2032 main(){return(0);}
2020 EOF 2033 EOF
2021 if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2034 if { (eval echo configure:2035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2022 ac_cv_prog_cc_works=yes 2035 ac_cv_prog_cc_works=yes
2023 # If we can't run a trivial program, we are probably using a cross compiler. 2036 # If we can't run a trivial program, we are probably using a cross compiler.
2024 if (./conftest; exit) 2>/dev/null; then 2037 if (./conftest; exit) 2>/dev/null; then
2025 ac_cv_prog_cc_cross=no 2038 ac_cv_prog_cc_cross=no
2026 else 2039 else
2044 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2057 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2045 if test $ac_cv_prog_cc_works = no; then 2058 if test $ac_cv_prog_cc_works = no; then
2046 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2059 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2047 fi 2060 fi
2048 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2061 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2049 echo "configure:2050: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2062 echo "configure:2063: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2050 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2063 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2051 cross_compiling=$ac_cv_prog_cc_cross 2064 cross_compiling=$ac_cv_prog_cc_cross
2052 2065
2053 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2066 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2054 echo "configure:2055: checking whether we are using GNU C" >&5 2067 echo "configure:2068: checking whether we are using GNU C" >&5
2055 2068
2056 cat > conftest.c <<EOF 2069 cat > conftest.c <<EOF
2057 #ifdef __GNUC__ 2070 #ifdef __GNUC__
2058 yes; 2071 yes;
2059 #endif 2072 #endif
2060 EOF 2073 EOF
2061 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2074 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2062 ac_cv_prog_gcc=yes 2075 ac_cv_prog_gcc=yes
2063 else 2076 else
2064 ac_cv_prog_gcc=no 2077 ac_cv_prog_gcc=no
2065 fi 2078 fi
2066 2079
2074 2087
2075 ac_test_CFLAGS="${CFLAGS+set}" 2088 ac_test_CFLAGS="${CFLAGS+set}"
2076 ac_save_CFLAGS="$CFLAGS" 2089 ac_save_CFLAGS="$CFLAGS"
2077 CFLAGS= 2090 CFLAGS=
2078 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2091 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2079 echo "configure:2080: checking whether ${CC-cc} accepts -g" >&5 2092 echo "configure:2093: checking whether ${CC-cc} accepts -g" >&5
2080 2093
2081 echo 'void f(){}' > conftest.c 2094 echo 'void f(){}' > conftest.c
2082 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2095 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2083 ac_cv_prog_cc_g=yes 2096 ac_cv_prog_cc_g=yes
2084 else 2097 else
2107 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then 2120 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
2108 CC=gcc 2121 CC=gcc
2109 # Extract the first word of "gcc", so it can be a program name with args. 2122 # Extract the first word of "gcc", so it can be a program name with args.
2110 set dummy gcc; ac_word=$2 2123 set dummy gcc; ac_word=$2
2111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2112 echo "configure:2113: checking for $ac_word" >&5 2125 echo "configure:2126: checking for $ac_word" >&5
2113 2126
2114 if test -n "$CC"; then 2127 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test. 2128 ac_cv_prog_CC="$CC" # Let the user override the test.
2116 else 2129 else
2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2130 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2134 2147
2135 if test -z "$CC"; then 2148 if test -z "$CC"; then
2136 # Extract the first word of "cc", so it can be a program name with args. 2149 # Extract the first word of "cc", so it can be a program name with args.
2137 set dummy cc; ac_word=$2 2150 set dummy cc; ac_word=$2
2138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2151 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2139 echo "configure:2140: checking for $ac_word" >&5 2152 echo "configure:2153: checking for $ac_word" >&5
2140 2153
2141 if test -n "$CC"; then 2154 if test -n "$CC"; then
2142 ac_cv_prog_CC="$CC" # Let the user override the test. 2155 ac_cv_prog_CC="$CC" # Let the user override the test.
2143 else 2156 else
2144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2157 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2182 case "`uname -s`" in 2195 case "`uname -s`" in
2183 *win32* | *WIN32*) 2196 *win32* | *WIN32*)
2184 # Extract the first word of "cl", so it can be a program name with args. 2197 # Extract the first word of "cl", so it can be a program name with args.
2185 set dummy cl; ac_word=$2 2198 set dummy cl; ac_word=$2
2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2199 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2187 echo "configure:2188: checking for $ac_word" >&5 2200 echo "configure:2201: checking for $ac_word" >&5
2188 2201
2189 if test -n "$CC"; then 2202 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test. 2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else 2204 else
2192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2205 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2211 fi 2224 fi
2212 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 2225 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2213 fi 2226 fi
2214 2227
2215 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2228 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2216 echo "configure:2217: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2229 echo "configure:2230: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2217 2230
2218 ac_ext=c 2231 ac_ext=c
2219 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 2232 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
2220 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 2233 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
2221 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' 2234 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
2224 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 2237 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
2225 cross_compiling=no 2238 cross_compiling=no
2226 2239
2227 cat > conftest.$ac_ext << EOF 2240 cat > conftest.$ac_ext << EOF
2228 2241
2229 #line 2230 "configure" 2242 #line 2243 "configure"
2230 #include "confdefs.h" 2243 #include "confdefs.h"
2231 2244
2232 main(){return(0);} 2245 main(){return(0);}
2233 EOF 2246 EOF
2234 if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2247 if { (eval echo configure:2248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2235 ac_cv_prog_cc_works=yes 2248 ac_cv_prog_cc_works=yes
2236 # If we can't run a trivial program, we are probably using a cross compiler. 2249 # If we can't run a trivial program, we are probably using a cross compiler.
2237 if (./conftest; exit) 2>/dev/null; then 2250 if (./conftest; exit) 2>/dev/null; then
2238 ac_cv_prog_cc_cross=no 2251 ac_cv_prog_cc_cross=no
2239 else 2252 else
2257 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2270 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2258 if test $ac_cv_prog_cc_works = no; then 2271 if test $ac_cv_prog_cc_works = no; then
2259 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2272 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2260 fi 2273 fi
2261 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2274 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2262 echo "configure:2263: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2275 echo "configure:2276: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2263 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2276 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2264 cross_compiling=$ac_cv_prog_cc_cross 2277 cross_compiling=$ac_cv_prog_cc_cross
2265 2278
2266 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2279 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2267 echo "configure:2268: checking whether we are using GNU C" >&5 2280 echo "configure:2281: checking whether we are using GNU C" >&5
2268 2281
2269 cat > conftest.c <<EOF 2282 cat > conftest.c <<EOF
2270 #ifdef __GNUC__ 2283 #ifdef __GNUC__
2271 yes; 2284 yes;
2272 #endif 2285 #endif
2273 EOF 2286 EOF
2274 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2287 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2275 ac_cv_prog_gcc=yes 2288 ac_cv_prog_gcc=yes
2276 else 2289 else
2277 ac_cv_prog_gcc=no 2290 ac_cv_prog_gcc=no
2278 fi 2291 fi
2279 2292
2287 2300
2288 ac_test_CFLAGS="${CFLAGS+set}" 2301 ac_test_CFLAGS="${CFLAGS+set}"
2289 ac_save_CFLAGS="$CFLAGS" 2302 ac_save_CFLAGS="$CFLAGS"
2290 CFLAGS= 2303 CFLAGS=
2291 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2304 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2292 echo "configure:2293: checking whether ${CC-cc} accepts -g" >&5 2305 echo "configure:2306: checking whether ${CC-cc} accepts -g" >&5
2293 2306
2294 echo 'void f(){}' > conftest.c 2307 echo 'void f(){}' > conftest.c
2295 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2308 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2296 ac_cv_prog_cc_g=yes 2309 ac_cv_prog_cc_g=yes
2297 else 2310 else
2320 fi 2333 fi
2321 CFLAGS="$xe_save_CFLAGS" 2334 CFLAGS="$xe_save_CFLAGS"
2322 2335
2323 if test "$GCC" = "yes"; then 2336 if test "$GCC" = "yes"; then
2324 cat > conftest.$ac_ext <<EOF 2337 cat > conftest.$ac_ext <<EOF
2325 #line 2326 "configure" 2338 #line 2339 "configure"
2326 #include "confdefs.h" 2339 #include "confdefs.h"
2327 int main () { 2340 int main () {
2328 #if __GNUC__ >= 3 2341 #if __GNUC__ >= 3
2329 return 11; 2342 return 11;
2330 #else 2343 #else
2331 return 0; 2344 return 0;
2332 #endif 2345 #endif
2333 } 2346 }
2334 EOF 2347 EOF
2335 if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 2348 if { (eval echo configure:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
2336 then 2349 then
2337 : 2350 :
2338 else 2351 else
2339 conftest_rc="$?" 2352 conftest_rc="$?"
2340 echo "configure: failed program was:" >&5 2353 echo "configure: failed program was:" >&5
2356 test -n "$CPP" -a -d "$CPP" && CPP= 2369 test -n "$CPP" -a -d "$CPP" && CPP=
2357 2370
2358 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 2371 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
2359 2372
2360 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2373 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2361 echo "configure:2362: checking how to run the C preprocessor" >&5 2374 echo "configure:2375: checking how to run the C preprocessor" >&5
2362 # On Suns, sometimes $CPP names a directory. 2375 # On Suns, sometimes $CPP names a directory.
2363 if test -n "$CPP" && test -d "$CPP"; then 2376 if test -n "$CPP" && test -d "$CPP"; then
2364 CPP= 2377 CPP=
2365 fi 2378 fi
2366 if test -z "$CPP"; then 2379 if test -z "$CPP"; then
2369 # substituted into the Makefile and "${CC-cc}" will confuse make. 2382 # substituted into the Makefile and "${CC-cc}" will confuse make.
2370 CPP="${CC-cc} -E" 2383 CPP="${CC-cc} -E"
2371 # On the NeXT, cc -E runs the code through the compiler's parser, 2384 # On the NeXT, cc -E runs the code through the compiler's parser,
2372 # not just through cpp. 2385 # not just through cpp.
2373 cat > conftest.$ac_ext <<EOF 2386 cat > conftest.$ac_ext <<EOF
2374 #line 2375 "configure" 2387 #line 2388 "configure"
2375 #include "confdefs.h" 2388 #include "confdefs.h"
2376 #include <assert.h> 2389 #include <assert.h>
2377 Syntax Error 2390 Syntax Error
2378 EOF 2391 EOF
2379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2380 { (eval echo configure:2381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2393 { (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2382 if test -z "$ac_err"; then 2395 if test -z "$ac_err"; then
2383 : 2396 :
2384 else 2397 else
2385 echo "$ac_err" >&5 2398 echo "$ac_err" >&5
2386 echo "configure: failed program was:" >&5 2399 echo "configure: failed program was:" >&5
2387 cat conftest.$ac_ext >&5 2400 cat conftest.$ac_ext >&5
2388 rm -rf conftest* 2401 rm -rf conftest*
2389 CPP="${CC-cc} -E -traditional-cpp" 2402 CPP="${CC-cc} -E -traditional-cpp"
2390 cat > conftest.$ac_ext <<EOF 2403 cat > conftest.$ac_ext <<EOF
2391 #line 2392 "configure" 2404 #line 2405 "configure"
2392 #include "confdefs.h" 2405 #include "confdefs.h"
2393 #include <assert.h> 2406 #include <assert.h>
2394 Syntax Error 2407 Syntax Error
2395 EOF 2408 EOF
2396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2397 { (eval echo configure:2398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2410 { (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2399 if test -z "$ac_err"; then 2412 if test -z "$ac_err"; then
2400 : 2413 :
2401 else 2414 else
2402 echo "$ac_err" >&5 2415 echo "$ac_err" >&5
2403 echo "configure: failed program was:" >&5 2416 echo "configure: failed program was:" >&5
2404 cat conftest.$ac_ext >&5 2417 cat conftest.$ac_ext >&5
2405 rm -rf conftest* 2418 rm -rf conftest*
2406 CPP="${CC-cc} -nologo -E" 2419 CPP="${CC-cc} -nologo -E"
2407 cat > conftest.$ac_ext <<EOF 2420 cat > conftest.$ac_ext <<EOF
2408 #line 2409 "configure" 2421 #line 2422 "configure"
2409 #include "confdefs.h" 2422 #include "confdefs.h"
2410 #include <assert.h> 2423 #include <assert.h>
2411 Syntax Error 2424 Syntax Error
2412 EOF 2425 EOF
2413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2414 { (eval echo configure:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2427 { (eval echo configure:2428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2416 if test -z "$ac_err"; then 2429 if test -z "$ac_err"; then
2417 : 2430 :
2418 else 2431 else
2419 echo "$ac_err" >&5 2432 echo "$ac_err" >&5
2435 echo "$ac_t""$CPP" 1>&6 2448 echo "$ac_t""$CPP" 1>&6
2436 2449
2437 2450
2438 2451
2439 echo $ac_n "checking for AIX""... $ac_c" 1>&6 2452 echo $ac_n "checking for AIX""... $ac_c" 1>&6
2440 echo "configure:2441: checking for AIX" >&5 2453 echo "configure:2454: checking for AIX" >&5
2441 cat > conftest.$ac_ext <<EOF 2454 cat > conftest.$ac_ext <<EOF
2442 #line 2443 "configure" 2455 #line 2456 "configure"
2443 #include "confdefs.h" 2456 #include "confdefs.h"
2444 #ifdef _AIX 2457 #ifdef _AIX
2445 yes 2458 yes
2446 #endif 2459 #endif
2447 2460
2464 rm -f conftest* 2477 rm -f conftest*
2465 2478
2466 2479
2467 2480
2468 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 2481 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
2469 echo "configure:2470: checking for GNU libc" >&5 2482 echo "configure:2483: checking for GNU libc" >&5
2470 cat > conftest.$ac_ext <<EOF 2483 cat > conftest.$ac_ext <<EOF
2471 #line 2472 "configure" 2484 #line 2485 "configure"
2472 #include "confdefs.h" 2485 #include "confdefs.h"
2473 #include <features.h> 2486 #include <features.h>
2474 int main() { 2487 int main() {
2475 2488
2476 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) 2489 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
2478 ******* ======= ******** &&&&&&&& 2491 ******* ======= ******** &&&&&&&&
2479 #endif 2492 #endif
2480 2493
2481 ; return 0; } 2494 ; return 0; }
2482 EOF 2495 EOF
2483 if { (eval echo configure:2484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2496 if { (eval echo configure:2497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2484 rm -rf conftest* 2497 rm -rf conftest*
2485 have_glibc=yes 2498 have_glibc=yes
2486 else 2499 else
2487 echo "configure: failed program was:" >&5 2500 echo "configure: failed program was:" >&5
2488 cat conftest.$ac_ext >&5 2501 cat conftest.$ac_ext >&5
2573 2586
2574 ;; 2587 ;;
2575 esac 2588 esac
2576 2589
2577 cat > conftest.$ac_ext <<EOF 2590 cat > conftest.$ac_ext <<EOF
2578 #line 2579 "configure" 2591 #line 2592 "configure"
2579 #include "confdefs.h" 2592 #include "confdefs.h"
2580 int main () { 2593 int main () {
2581 #if defined __SUNPRO_C 2594 #if defined __SUNPRO_C
2582 return 11; 2595 return 11;
2583 #elif defined __DECC 2596 #elif defined __DECC
2589 #else 2602 #else
2590 return 0; 2603 return 0;
2591 #endif 2604 #endif
2592 } 2605 }
2593 EOF 2606 EOF
2594 if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 2607 if { (eval echo configure:2608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
2595 then 2608 then
2596 : 2609 :
2597 else 2610 else
2598 conftest_rc="$?" 2611 conftest_rc="$?"
2599 echo "configure: failed program was:" >&5 2612 echo "configure: failed program was:" >&5
2843 2856
2844 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi 2857 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi
2845 2858
2846 if test "$__USLC__" = yes; then 2859 if test "$__USLC__" = yes; then
2847 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 2860 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6
2848 echo "configure:2849: checking for whether the -Kalloca compiler flag is needed" >&5 2861 echo "configure:2862: checking for whether the -Kalloca compiler flag is needed" >&5
2849 need_kalloca=no 2862 need_kalloca=no
2850 cat > conftest.$ac_ext <<EOF 2863 cat > conftest.$ac_ext <<EOF
2851 #line 2852 "configure" 2864 #line 2865 "configure"
2852 #include "confdefs.h" 2865 #include "confdefs.h"
2853 2866
2854 int main() { 2867 int main() {
2855 void *x = alloca(4); 2868 void *x = alloca(4);
2856 ; return 0; } 2869 ; return 0; }
2857 EOF 2870 EOF
2858 if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2871 if { (eval echo configure:2872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2859 rm -rf conftest* 2872 rm -rf conftest*
2860 : 2873 :
2861 else 2874 else
2862 echo "configure: failed program was:" >&5 2875 echo "configure: failed program was:" >&5
2863 cat conftest.$ac_ext >&5 2876 cat conftest.$ac_ext >&5
2864 rm -rf conftest* 2877 rm -rf conftest*
2865 2878
2866 xe_save_c_switch_system="$c_switch_system" 2879 xe_save_c_switch_system="$c_switch_system"
2867 c_switch_system="$c_switch_system -Kalloca" 2880 c_switch_system="$c_switch_system -Kalloca"
2868 cat > conftest.$ac_ext <<EOF 2881 cat > conftest.$ac_ext <<EOF
2869 #line 2870 "configure" 2882 #line 2883 "configure"
2870 #include "confdefs.h" 2883 #include "confdefs.h"
2871 2884
2872 int main() { 2885 int main() {
2873 void *x = alloca(4); 2886 void *x = alloca(4);
2874 ; return 0; } 2887 ; return 0; }
2875 EOF 2888 EOF
2876 if { (eval echo configure:2877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2889 if { (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2877 rm -rf conftest* 2890 rm -rf conftest*
2878 need_kalloca=yes 2891 need_kalloca=yes
2879 else 2892 else
2880 echo "configure: failed program was:" >&5 2893 echo "configure: failed program was:" >&5
2881 cat conftest.$ac_ext >&5 2894 cat conftest.$ac_ext >&5
2899 xemacs_cc_cc_mismatch=no 2912 xemacs_cc_cc_mismatch=no
2900 fi 2913 fi
2901 fi 2914 fi
2902 2915
2903 2916
2904 echo $ac_n "checking for preferred CFLAGS""... $ac_c" 1>&6 2917 if test -z "$with_optimization" ; then
2905 echo "configure:2906: checking for preferred CFLAGS" >&5 2918 if test -n "$emacs_is_beta" ; then
2906 2919 with_optimization=no
2907 if test "$cflags_specified" = "no"; then 2920 else
2908 if test "$GCC" = "yes"; then 2921 with_optimization=yes
2909 CFLAGS="-g -O3" 2922 fi
2910 elif test "$__SUNPRO_C" = "yes"; then 2923 fi
2911 case "$opsys" in 2924
2912 sol2 ) CFLAGS="-xO4" ;; 2925
2913 sunos4* ) CFLAGS="-xO2" ;; 2926 echo $ac_n "checking for preferred optimization flags""... $ac_c" 1>&6
2914 esac 2927 echo "configure:2928: checking for preferred optimization flags" >&5
2915 elif test "$__DECC" = "yes"; then 2928 if test "$with_optimization" = "yes" ; then
2916 CFLAGS="-O3" 2929 if test "$cflags_optimization_specified" = "no"; then
2917 elif test "$CC" = "xlc"; then 2930 if test "$GCC" = "yes"; then
2918 CFLAGS="-g -O3 -qstrict -qnoansialias -qlibansi -qro -qmaxmem=20000" 2931 cflags_optimization="-O3"
2919 elif test "$__ICC" = "yes"; then 2932 elif test "$__SUNPRO_C" = "yes"; then
2920 CFLAGS="-g -O3 -Ob2" 2933 case "$opsys" in
2921 else 2934 sol2 ) cflags_optimization="-xO4" ;;
2922 CFLAGS="-O" ; fi 2935 sunos4* ) cflags_optimization="-xO2" ;;
2923 fi 2936 esac
2924 echo "$ac_t""${CFLAGS}" 1>&6 2937 elif test "$__DECC" = "yes"; then
2938 cflags_optimization="-O3"
2939 elif test "$CC" = "xlc"; then
2940 cflags_optimization="-O3 -qstrict -qnoansialias -qlibansi -qmaxmem=20000"
2941 elif test "$__ICC" = "yes"; then
2942 cflags_optimization="-O3 -Ob2"
2943 else
2944 cflags_optimization="-O" ; fi
2945 fi
2946 else
2947 cflags_optimization=
2948 fi
2949
2950 echo "$ac_t""${cflags_optimization}" 1>&6
2951
2952
2953 echo $ac_n "checking for preferred debugging flags""... $ac_c" 1>&6
2954 echo "configure:2955: checking for preferred debugging flags" >&5
2955 if test "$cflags_debugging_specified" = "no"; then
2956 cflags_debugging="-g"
2957
2958 debugging_ok_with_optimization=no
2959 if test "$GCC" = "yes" -o "$CC" = "xlc" -o "$__ICC" = "yes"; then
2960 debugging_ok_with_optimization=yes
2961 fi
2962
2963 if test "$with_optimization" = "yes" -a "$debugging_ok_with_optimization" = "no"; then
2964 cflags_debugging=
2965 fi
2966 fi
2967 echo "$ac_t""${cflags_debugging}" 1>&6
2925 2968
2926 2969
2927 echo $ac_n "checking for preferred warning flags for XEMACS_CC""... $ac_c" 1>&6 2970 echo $ac_n "checking for preferred warning flags for XEMACS_CC""... $ac_c" 1>&6
2928 echo "configure:2929: checking for preferred warning flags for XEMACS_CC" >&5 2971 echo "configure:2972: checking for preferred warning flags for XEMACS_CC" >&5
2929 2972
2930 xe_cflags_warning="" 2973 xe_cflags_warning=""
2931 2974
2932 if test "$cflags_warning_specified" = "no"; then 2975 if test "$cflags_warning_specified" = "no"; then
2933 if test "$__SUNPRO_C" = "yes"; then 2976 if test "$__SUNPRO_C" = "yes"; then
2956 fi 2999 fi
2957 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning" 3000 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning"
2958 echo "$ac_t""${xe_cflags_warning}" 1>&6 3001 echo "$ac_t""${xe_cflags_warning}" 1>&6
2959 3002
2960 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6 3003 echo $ac_n "checking for preferred warning flags for CC""... $ac_c" 1>&6
2961 echo "configure:2962: checking for preferred warning flags for CC" >&5 3004 echo "configure:3005: checking for preferred warning flags for CC" >&5
2962 echo "$ac_t""${cflags_warning}" 1>&6 3005 echo "$ac_t""${cflags_warning}" 1>&6
2963 3006
2964 XE_CFLAGS="$xe_cflags_warning $CFLAGS" 3007
2965 CFLAGS="$cflags_warning $CFLAGS" 3008 echo $ac_n "checking for remaining CFLAGS""... $ac_c" 1>&6
3009 echo "configure:3010: checking for remaining CFLAGS" >&5
3010
3011 if test "$cflags_specified" = "no"; then
3012 if test "$CC" = "xlc"; then
3013 CFLAGS="-qro"
3014 fi
3015 fi
3016 echo "$ac_t""${CFLAGS}" 1>&6
3017
3018
3019 XE_CFLAGS="$xe_cflags_warning $cflags_debugging $cflags_optimization $CFLAGS"
3020 CFLAGS="$cflags_warning $cflags_debugging $cflags_optimization $CFLAGS"
3021
3022 echo $ac_n "checking total value of XE_CFLAGS""... $ac_c" 1>&6
3023 echo "configure:3024: checking total value of XE_CFLAGS" >&5
3024 echo "$ac_t""${XE_CFLAGS}" 1>&6
3025 echo $ac_n "checking total value of CFLAGS""... $ac_c" 1>&6
3026 echo "configure:3027: checking total value of CFLAGS" >&5
3027 echo "$ac_t""${CFLAGS}" 1>&6
2966 3028
2967 if test "$GCC" = "yes"; then 3029 if test "$GCC" = "yes"; then
2968 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 3030 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6
2969 echo "configure:2970: checking for buggy gcc versions" >&5 3031 echo "configure:3032: checking for buggy gcc versions" >&5
2970 GCC_VERSION=`$CC --version` 3032 GCC_VERSION=`$CC --version`
2971 case `uname -s`:`uname -m`:$GCC_VERSION in 3033 case `uname -s`:`uname -m`:$GCC_VERSION in
2972 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) 3034 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
2973 case "$CFLAGS" in 3035 case "$CFLAGS" in
2974 *-O2*|*-O3*) 3036 *-O2*|*-O3*)
3022 echo "$ac_t""no" 1>&6 3084 echo "$ac_t""no" 1>&6
3023 fi 3085 fi
3024 3086
3025 if test "$pdump" != "yes"; then 3087 if test "$pdump" != "yes"; then
3026 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 3088 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
3027 echo "configure:3028: checking for \"-z nocombreloc\" linker flag" >&5 3089 echo "configure:3090: checking for \"-z nocombreloc\" linker flag" >&5
3028 case "`ld --help 2>&1`" in 3090 case "`ld --help 2>&1`" in
3029 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 3091 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
3030 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; 3092 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
3031 *) echo "$ac_t""no" 1>&6 ;; 3093 *) echo "$ac_t""no" 1>&6 ;;
3032 esac 3094 esac
3111 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then 3173 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then
3112 echo " xemacs will be linked with \"dumper.o\"" 3174 echo " xemacs will be linked with \"dumper.o\""
3113 fi 3175 fi
3114 3176
3115 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 3177 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
3116 echo "configure:3117: checking for dynodump" >&5 3178 echo "configure:3179: checking for dynodump" >&5
3117 if test "$unexec" != "unexsol2.o"; then 3179 if test "$unexec" != "unexsol2.o"; then
3118 echo "$ac_t""no" 1>&6 3180 echo "$ac_t""no" 1>&6
3119 else 3181 else
3120 echo "$ac_t""yes" 1>&6 3182 echo "$ac_t""yes" 1>&6
3121 { test "$extra_verbose" = "yes" && cat << \EOF 3183 { test "$extra_verbose" = "yes" && cat << \EOF
3148 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 3210 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
3149 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 3211 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
3150 done 3212 done
3151 3213
3152 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 3214 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
3153 echo "configure:3154: checking for terminateAndUnload in -lC" >&5 3215 echo "configure:3216: checking for terminateAndUnload in -lC" >&5
3154 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 3216 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
3155 3217
3156 xe_check_libs=" -lC " 3218 xe_check_libs=" -lC "
3157 cat > conftest.$ac_ext <<EOF 3219 cat > conftest.$ac_ext <<EOF
3158 #line 3159 "configure" 3220 #line 3221 "configure"
3159 #include "confdefs.h" 3221 #include "confdefs.h"
3160 /* Override any gcc2 internal prototype to avoid an error. */ 3222 /* Override any gcc2 internal prototype to avoid an error. */
3161 /* We use char because int might match the return type of a gcc2 3223 /* We use char because int might match the return type of a gcc2
3162 builtin and then its argument prototype would still apply. */ 3224 builtin and then its argument prototype would still apply. */
3163 char terminateAndUnload(); 3225 char terminateAndUnload();
3164 3226
3165 int main() { 3227 int main() {
3166 terminateAndUnload() 3228 terminateAndUnload()
3167 ; return 0; } 3229 ; return 0; }
3168 EOF 3230 EOF
3169 if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3231 if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3170 rm -rf conftest* 3232 rm -rf conftest*
3171 eval "ac_cv_lib_$ac_lib_var=yes" 3233 eval "ac_cv_lib_$ac_lib_var=yes"
3172 else 3234 else
3173 echo "configure: failed program was:" >&5 3235 echo "configure: failed program was:" >&5
3174 cat conftest.$ac_ext >&5 3236 cat conftest.$ac_ext >&5
3206 compiler_version="" 3268 compiler_version=""
3207 gcc_compiler_specs="" 3269 gcc_compiler_specs=""
3208 libc_version="" 3270 libc_version=""
3209 3271
3210 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 3272 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6
3211 echo "configure:3212: checking for compiler version information" >&5 3273 echo "configure:3274: checking for compiler version information" >&5
3212 3274
3213 if test "$GCC" = "yes"; then 3275 if test "$GCC" = "yes"; then
3214 compiler_version=`$XEMACS_CC --version | head -1` 3276 compiler_version=`$XEMACS_CC --version | head -1`
3215 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` 3277 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1`
3216 else case "$XEMACS_CC" in 3278 else case "$XEMACS_CC" in
3257 if test -z "$compiler_version"; then 3319 if test -z "$compiler_version"; then
3258 compiler_version="detection failed (please report this)" 3320 compiler_version="detection failed (please report this)"
3259 fi 3321 fi
3260 3322
3261 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 3323 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6
3262 echo "configure:3263: checking for standard C library version information" >&5 3324 echo "configure:3325: checking for standard C library version information" >&5
3263 3325
3264 case "$canonical" in 3326 case "$canonical" in
3265 *-*-linux*) 3327 *-*-linux*)
3266 if test -f /etc/redhat-release ; then 3328 if test -f /etc/redhat-release ; then
3267 libc_version=`rpm -q glibc` 3329 libc_version=`rpm -q glibc`
3369 esac 3431 esac
3370 fi 3432 fi
3371 3433
3372 if test "$add_runtime_path" = "yes"; then 3434 if test "$add_runtime_path" = "yes"; then
3373 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 3435 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
3374 echo "configure:3375: checking "for runtime libraries flag"" >&5 3436 echo "configure:3437: checking "for runtime libraries flag"" >&5
3375 case "$opsys" in 3437 case "$opsys" in
3376 sol2 ) dash_r="-R" ;; 3438 sol2 ) dash_r="-R" ;;
3377 decosf* | linux* | irix*) dash_r="-rpath " ;; 3439 decosf* | linux* | irix*) dash_r="-rpath " ;;
3378 *) 3440 *)
3379 dash_r="" 3441 dash_r=""
3391 esac 3453 esac
3392 shift 3454 shift
3393 done 3455 done
3394 fi 3456 fi
3395 cat > conftest.$ac_ext <<EOF 3457 cat > conftest.$ac_ext <<EOF
3396 #line 3397 "configure" 3458 #line 3459 "configure"
3397 #include "confdefs.h" 3459 #include "confdefs.h"
3398 3460
3399 int main() { 3461 int main() {
3400 3462
3401 ; return 0; } 3463 ; return 0; }
3402 EOF 3464 EOF
3403 if { (eval echo configure:3404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3465 if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3404 rm -rf conftest* 3466 rm -rf conftest*
3405 dash_r="$try_dash_r" 3467 dash_r="$try_dash_r"
3406 else 3468 else
3407 echo "configure: failed program was:" >&5 3469 echo "configure: failed program was:" >&5
3408 cat conftest.$ac_ext >&5 3470 cat conftest.$ac_ext >&5
3499 else 3561 else
3500 doug_lea_malloc=no 3562 doug_lea_malloc=no
3501 fi 3563 fi
3502 after_morecore_hook_exists=yes 3564 after_morecore_hook_exists=yes
3503 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3565 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3504 echo "configure:3505: checking for malloc_set_state" >&5 3566 echo "configure:3567: checking for malloc_set_state" >&5
3505 3567
3506 cat > conftest.$ac_ext <<EOF 3568 cat > conftest.$ac_ext <<EOF
3507 #line 3508 "configure" 3569 #line 3570 "configure"
3508 #include "confdefs.h" 3570 #include "confdefs.h"
3509 /* System header to define __stub macros and hopefully few prototypes, 3571 /* System header to define __stub macros and hopefully few prototypes,
3510 which can conflict with char malloc_set_state(); below. */ 3572 which can conflict with char malloc_set_state(); below. */
3511 #include <assert.h> 3573 #include <assert.h>
3512 /* Override any gcc2 internal prototype to avoid an error. */ 3574 /* Override any gcc2 internal prototype to avoid an error. */
3525 malloc_set_state(); 3587 malloc_set_state();
3526 #endif 3588 #endif
3527 3589
3528 ; return 0; } 3590 ; return 0; }
3529 EOF 3591 EOF
3530 if { (eval echo configure:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3592 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3531 rm -rf conftest* 3593 rm -rf conftest*
3532 eval "ac_cv_func_malloc_set_state=yes" 3594 eval "ac_cv_func_malloc_set_state=yes"
3533 else 3595 else
3534 echo "configure: failed program was:" >&5 3596 echo "configure: failed program was:" >&5
3535 cat conftest.$ac_ext >&5 3597 cat conftest.$ac_ext >&5
3545 echo "$ac_t""no" 1>&6 3607 echo "$ac_t""no" 1>&6
3546 doug_lea_malloc=no 3608 doug_lea_malloc=no
3547 fi 3609 fi
3548 3610
3549 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3611 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3550 echo "configure:3551: checking whether __after_morecore_hook exists" >&5 3612 echo "configure:3613: checking whether __after_morecore_hook exists" >&5
3551 cat > conftest.$ac_ext <<EOF 3613 cat > conftest.$ac_ext <<EOF
3552 #line 3553 "configure" 3614 #line 3615 "configure"
3553 #include "confdefs.h" 3615 #include "confdefs.h"
3554 extern void (* __after_morecore_hook)(); 3616 extern void (* __after_morecore_hook)();
3555 int main() { 3617 int main() {
3556 __after_morecore_hook = 0 3618 __after_morecore_hook = 0
3557 ; return 0; } 3619 ; return 0; }
3558 EOF 3620 EOF
3559 if { (eval echo configure:3560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3621 if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3560 rm -rf conftest* 3622 rm -rf conftest*
3561 echo "$ac_t""yes" 1>&6 3623 echo "$ac_t""yes" 1>&6
3562 else 3624 else
3563 echo "configure: failed program was:" >&5 3625 echo "configure: failed program was:" >&5
3564 cat conftest.$ac_ext >&5 3626 cat conftest.$ac_ext >&5
3610 3672
3611 3673
3612 # Extract the first word of "ranlib", so it can be a program name with args. 3674 # Extract the first word of "ranlib", so it can be a program name with args.
3613 set dummy ranlib; ac_word=$2 3675 set dummy ranlib; ac_word=$2
3614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3615 echo "configure:3616: checking for $ac_word" >&5 3677 echo "configure:3678: checking for $ac_word" >&5
3616 3678
3617 if test -n "$RANLIB"; then 3679 if test -n "$RANLIB"; then
3618 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3680 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3619 else 3681 else
3620 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3682 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3727 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3728 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3729 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3668 # ./install, which can be erroneously created by make from ./install.sh. 3730 # ./install, which can be erroneously created by make from ./install.sh.
3669 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 3731 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3670 echo "configure:3671: checking for a BSD compatible install" >&5 3732 echo "configure:3733: checking for a BSD compatible install" >&5
3671 if test -z "$INSTALL"; then 3733 if test -z "$INSTALL"; then
3672 3734
3673 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3735 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3674 for ac_dir in $PATH; do 3736 for ac_dir in $PATH; do
3675 # Account for people who put trailing slashes in PATH elements. 3737 # Account for people who put trailing slashes in PATH elements.
3719 for ac_prog in 'bison -y' byacc 3781 for ac_prog in 'bison -y' byacc
3720 do 3782 do
3721 # Extract the first word of "$ac_prog", so it can be a program name with args. 3783 # Extract the first word of "$ac_prog", so it can be a program name with args.
3722 set dummy $ac_prog; ac_word=$2 3784 set dummy $ac_prog; ac_word=$2
3723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3724 echo "configure:3725: checking for $ac_word" >&5 3786 echo "configure:3787: checking for $ac_word" >&5
3725 3787
3726 if test -n "$YACC"; then 3788 if test -n "$YACC"; then
3727 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3789 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3728 else 3790 else
3729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3751 3813
3752 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h 3814 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h unistd.h
3753 do 3815 do
3754 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3816 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3817 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3756 echo "configure:3757: checking for $ac_hdr" >&5 3818 echo "configure:3819: checking for $ac_hdr" >&5
3757 3819
3758 cat > conftest.$ac_ext <<EOF 3820 cat > conftest.$ac_ext <<EOF
3759 #line 3760 "configure" 3821 #line 3822 "configure"
3760 #include "confdefs.h" 3822 #include "confdefs.h"
3761 #include <$ac_hdr> 3823 #include <$ac_hdr>
3762 EOF 3824 EOF
3763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3764 { (eval echo configure:3765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3826 { (eval echo configure:3827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3766 if test -z "$ac_err"; then 3828 if test -z "$ac_err"; then
3767 rm -rf conftest* 3829 rm -rf conftest*
3768 eval "ac_cv_header_$ac_safe=yes" 3830 eval "ac_cv_header_$ac_safe=yes"
3769 else 3831 else
3789 echo "$ac_t""no" 1>&6 3851 echo "$ac_t""no" 1>&6
3790 fi 3852 fi
3791 done 3853 done
3792 3854
3793 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 3855 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3794 echo "configure:3795: checking for sys/wait.h that is POSIX.1 compatible" >&5 3856 echo "configure:3857: checking for sys/wait.h that is POSIX.1 compatible" >&5
3795 3857
3796 cat > conftest.$ac_ext <<EOF 3858 cat > conftest.$ac_ext <<EOF
3797 #line 3798 "configure" 3859 #line 3860 "configure"
3798 #include "confdefs.h" 3860 #include "confdefs.h"
3799 #include <sys/types.h> 3861 #include <sys/types.h>
3800 #include <sys/wait.h> 3862 #include <sys/wait.h>
3801 #ifndef WEXITSTATUS 3863 #ifndef WEXITSTATUS
3802 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3864 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3808 int s; 3870 int s;
3809 wait (&s); 3871 wait (&s);
3810 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3872 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3811 ; return 0; } 3873 ; return 0; }
3812 EOF 3874 EOF
3813 if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3875 if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3814 rm -rf conftest* 3876 rm -rf conftest*
3815 ac_cv_header_sys_wait_h=yes 3877 ac_cv_header_sys_wait_h=yes
3816 else 3878 else
3817 echo "configure: failed program was:" >&5 3879 echo "configure: failed program was:" >&5
3818 cat conftest.$ac_ext >&5 3880 cat conftest.$ac_ext >&5
3832 } 3894 }
3833 3895
3834 fi 3896 fi
3835 3897
3836 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3898 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3837 echo "configure:3838: checking for ANSI C header files" >&5 3899 echo "configure:3900: checking for ANSI C header files" >&5
3838 3900
3839 cat > conftest.$ac_ext <<EOF 3901 cat > conftest.$ac_ext <<EOF
3840 #line 3841 "configure" 3902 #line 3903 "configure"
3841 #include "confdefs.h" 3903 #include "confdefs.h"
3842 #include <stdlib.h> 3904 #include <stdlib.h>
3843 #include <stdarg.h> 3905 #include <stdarg.h>
3844 #include <string.h> 3906 #include <string.h>
3845 #include <float.h> 3907 #include <float.h>
3846 EOF 3908 EOF
3847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3848 { (eval echo configure:3849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3910 { (eval echo configure:3911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3850 if test -z "$ac_err"; then 3912 if test -z "$ac_err"; then
3851 rm -rf conftest* 3913 rm -rf conftest*
3852 ac_cv_header_stdc=yes 3914 ac_cv_header_stdc=yes
3853 else 3915 else
3860 rm -f conftest* 3922 rm -f conftest*
3861 3923
3862 if test $ac_cv_header_stdc = yes; then 3924 if test $ac_cv_header_stdc = yes; then
3863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3864 cat > conftest.$ac_ext <<EOF 3926 cat > conftest.$ac_ext <<EOF
3865 #line 3866 "configure" 3927 #line 3928 "configure"
3866 #include "confdefs.h" 3928 #include "confdefs.h"
3867 #include <string.h> 3929 #include <string.h>
3868 EOF 3930 EOF
3869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3870 egrep "memchr" >/dev/null 2>&1; then 3932 egrep "memchr" >/dev/null 2>&1; then
3878 fi 3940 fi
3879 3941
3880 if test $ac_cv_header_stdc = yes; then 3942 if test $ac_cv_header_stdc = yes; then
3881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3943 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3882 cat > conftest.$ac_ext <<EOF 3944 cat > conftest.$ac_ext <<EOF
3883 #line 3884 "configure" 3945 #line 3946 "configure"
3884 #include "confdefs.h" 3946 #include "confdefs.h"
3885 #include <stdlib.h> 3947 #include <stdlib.h>
3886 EOF 3948 EOF
3887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3888 egrep "free" >/dev/null 2>&1; then 3950 egrep "free" >/dev/null 2>&1; then
3896 fi 3958 fi
3897 3959
3898 if test $ac_cv_header_stdc = yes; then 3960 if test $ac_cv_header_stdc = yes; then
3899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3900 cat > conftest.$ac_ext <<EOF 3962 cat > conftest.$ac_ext <<EOF
3901 #line 3902 "configure" 3963 #line 3964 "configure"
3902 #include "confdefs.h" 3964 #include "confdefs.h"
3903 #include <ctype.h> 3965 #include <ctype.h>
3904 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3966 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3905 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3967 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3906 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3907 int main () { int i; for (i = 0; i < 256; i++) 3969 int main () { int i; for (i = 0; i < 256; i++)
3908 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3970 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3909 exit (0); } 3971 exit (0); }
3910 3972
3911 EOF 3973 EOF
3912 if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3974 if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3913 then 3975 then
3914 : 3976 :
3915 else 3977 else
3916 conftest_rc="$?" 3978 conftest_rc="$?"
3917 echo "configure: failed program was:" >&5 3979 echo "configure: failed program was:" >&5
3933 } 3995 }
3934 3996
3935 fi 3997 fi
3936 3998
3937 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3999 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3938 echo "configure:3939: checking whether time.h and sys/time.h may both be included" >&5 4000 echo "configure:4001: checking whether time.h and sys/time.h may both be included" >&5
3939 4001
3940 cat > conftest.$ac_ext <<EOF 4002 cat > conftest.$ac_ext <<EOF
3941 #line 3942 "configure" 4003 #line 4004 "configure"
3942 #include "confdefs.h" 4004 #include "confdefs.h"
3943 #include <sys/types.h> 4005 #include <sys/types.h>
3944 #include <sys/time.h> 4006 #include <sys/time.h>
3945 #include <time.h> 4007 #include <time.h>
3946 int main() { 4008 int main() {
3947 struct tm *tp; 4009 struct tm *tp;
3948 ; return 0; } 4010 ; return 0; }
3949 EOF 4011 EOF
3950 if { (eval echo configure:3951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4012 if { (eval echo configure:4013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3951 rm -rf conftest* 4013 rm -rf conftest*
3952 ac_cv_header_time=yes 4014 ac_cv_header_time=yes
3953 else 4015 else
3954 echo "configure: failed program was:" >&5 4016 echo "configure: failed program was:" >&5
3955 cat conftest.$ac_ext >&5 4017 cat conftest.$ac_ext >&5
3969 } 4031 }
3970 4032
3971 fi 4033 fi
3972 4034
3973 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 4035 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3974 echo "configure:3975: checking for sys_siglist declaration in signal.h or unistd.h" >&5 4036 echo "configure:4037: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3975 4037
3976 cat > conftest.$ac_ext <<EOF 4038 cat > conftest.$ac_ext <<EOF
3977 #line 3978 "configure" 4039 #line 4040 "configure"
3978 #include "confdefs.h" 4040 #include "confdefs.h"
3979 #include <sys/types.h> 4041 #include <sys/types.h>
3980 #include <signal.h> 4042 #include <signal.h>
3981 /* NetBSD declares sys_siglist in unistd.h. */ 4043 /* NetBSD declares sys_siglist in unistd.h. */
3982 #ifdef HAVE_UNISTD_H 4044 #ifdef HAVE_UNISTD_H
3984 #endif 4046 #endif
3985 int main() { 4047 int main() {
3986 char *msg = *(sys_siglist + 1); 4048 char *msg = *(sys_siglist + 1);
3987 ; return 0; } 4049 ; return 0; }
3988 EOF 4050 EOF
3989 if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3990 rm -rf conftest* 4052 rm -rf conftest*
3991 ac_cv_decl_sys_siglist=yes 4053 ac_cv_decl_sys_siglist=yes
3992 else 4054 else
3993 echo "configure: failed program was:" >&5 4055 echo "configure: failed program was:" >&5
3994 cat conftest.$ac_ext >&5 4056 cat conftest.$ac_ext >&5
4010 fi 4072 fi
4011 4073
4012 4074
4013 4075
4014 echo $ac_n "checking for utime""... $ac_c" 1>&6 4076 echo $ac_n "checking for utime""... $ac_c" 1>&6
4015 echo "configure:4016: checking for utime" >&5 4077 echo "configure:4078: checking for utime" >&5
4016 cat > conftest.$ac_ext <<EOF 4078 cat > conftest.$ac_ext <<EOF
4017 #line 4018 "configure" 4079 #line 4080 "configure"
4018 #include "confdefs.h" 4080 #include "confdefs.h"
4019 #include <sys/types.h> 4081 #include <sys/types.h>
4020 #include <utime.h> 4082 #include <utime.h>
4021 int main() { 4083 int main() {
4022 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); 4084 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
4023 ; return 0; } 4085 ; return 0; }
4024 EOF 4086 EOF
4025 if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4087 if { (eval echo configure:4088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4026 rm -rf conftest* 4088 rm -rf conftest*
4027 echo "$ac_t""yes" 1>&6 4089 echo "$ac_t""yes" 1>&6
4028 { test "$extra_verbose" = "yes" && cat << \EOF 4090 { test "$extra_verbose" = "yes" && cat << \EOF
4029 Defining HAVE_UTIME 4091 Defining HAVE_UTIME
4030 EOF 4092 EOF
4039 rm -rf conftest* 4101 rm -rf conftest*
4040 echo "$ac_t""no" 1>&6 4102 echo "$ac_t""no" 1>&6
4041 for ac_func in utimes 4103 for ac_func in utimes
4042 do 4104 do
4043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4044 echo "configure:4045: checking for $ac_func" >&5 4106 echo "configure:4107: checking for $ac_func" >&5
4045 4107
4046 cat > conftest.$ac_ext <<EOF 4108 cat > conftest.$ac_ext <<EOF
4047 #line 4048 "configure" 4109 #line 4110 "configure"
4048 #include "confdefs.h" 4110 #include "confdefs.h"
4049 /* System header to define __stub macros and hopefully few prototypes, 4111 /* System header to define __stub macros and hopefully few prototypes,
4050 which can conflict with char $ac_func(); below. */ 4112 which can conflict with char $ac_func(); below. */
4051 #include <assert.h> 4113 #include <assert.h>
4052 /* Override any gcc2 internal prototype to avoid an error. */ 4114 /* Override any gcc2 internal prototype to avoid an error. */
4065 $ac_func(); 4127 $ac_func();
4066 #endif 4128 #endif
4067 4129
4068 ; return 0; } 4130 ; return 0; }
4069 EOF 4131 EOF
4070 if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4132 if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4071 rm -rf conftest* 4133 rm -rf conftest*
4072 eval "ac_cv_func_$ac_func=yes" 4134 eval "ac_cv_func_$ac_func=yes"
4073 else 4135 else
4074 echo "configure: failed program was:" >&5 4136 echo "configure: failed program was:" >&5
4075 cat conftest.$ac_ext >&5 4137 cat conftest.$ac_ext >&5
4097 fi 4159 fi
4098 rm -f conftest* 4160 rm -f conftest*
4099 4161
4100 4162
4101 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 4163 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
4102 echo "configure:4103: checking return type of signal handlers" >&5 4164 echo "configure:4165: checking return type of signal handlers" >&5
4103 4165
4104 cat > conftest.$ac_ext <<EOF 4166 cat > conftest.$ac_ext <<EOF
4105 #line 4106 "configure" 4167 #line 4168 "configure"
4106 #include "confdefs.h" 4168 #include "confdefs.h"
4107 #include <sys/types.h> 4169 #include <sys/types.h>
4108 #include <signal.h> 4170 #include <signal.h>
4109 #ifdef signal 4171 #ifdef signal
4110 #undef signal 4172 #undef signal
4117 4179
4118 int main() { 4180 int main() {
4119 int i; 4181 int i;
4120 ; return 0; } 4182 ; return 0; }
4121 EOF 4183 EOF
4122 if { (eval echo configure:4123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4184 if { (eval echo configure:4185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4123 rm -rf conftest* 4185 rm -rf conftest*
4124 ac_cv_type_signal=void 4186 ac_cv_type_signal=void
4125 else 4187 else
4126 echo "configure: failed program was:" >&5 4188 echo "configure: failed program was:" >&5
4127 cat conftest.$ac_ext >&5 4189 cat conftest.$ac_ext >&5
4139 EOF 4201 EOF
4140 } 4202 }
4141 4203
4142 4204
4143 echo $ac_n "checking for size_t""... $ac_c" 1>&6 4205 echo $ac_n "checking for size_t""... $ac_c" 1>&6
4144 echo "configure:4145: checking for size_t" >&5 4206 echo "configure:4207: checking for size_t" >&5
4145 4207
4146 cat > conftest.$ac_ext <<EOF 4208 cat > conftest.$ac_ext <<EOF
4147 #line 4148 "configure" 4209 #line 4210 "configure"
4148 #include "confdefs.h" 4210 #include "confdefs.h"
4149 #include <sys/types.h> 4211 #include <sys/types.h>
4150 #if STDC_HEADERS 4212 #if STDC_HEADERS
4151 #include <stdlib.h> 4213 #include <stdlib.h>
4152 #include <stddef.h> 4214 #include <stddef.h>
4173 } 4235 }
4174 4236
4175 fi 4237 fi
4176 4238
4177 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 4239 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
4178 echo "configure:4179: checking for pid_t" >&5 4240 echo "configure:4241: checking for pid_t" >&5
4179 4241
4180 cat > conftest.$ac_ext <<EOF 4242 cat > conftest.$ac_ext <<EOF
4181 #line 4182 "configure" 4243 #line 4244 "configure"
4182 #include "confdefs.h" 4244 #include "confdefs.h"
4183 #include <sys/types.h> 4245 #include <sys/types.h>
4184 #if STDC_HEADERS 4246 #if STDC_HEADERS
4185 #include <stdlib.h> 4247 #include <stdlib.h>
4186 #include <stddef.h> 4248 #include <stddef.h>
4207 } 4269 }
4208 4270
4209 fi 4271 fi
4210 4272
4211 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 4273 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
4212 echo "configure:4213: checking for uid_t in sys/types.h" >&5 4274 echo "configure:4275: checking for uid_t in sys/types.h" >&5
4213 4275
4214 cat > conftest.$ac_ext <<EOF 4276 cat > conftest.$ac_ext <<EOF
4215 #line 4216 "configure" 4277 #line 4278 "configure"
4216 #include "confdefs.h" 4278 #include "confdefs.h"
4217 #include <sys/types.h> 4279 #include <sys/types.h>
4218 EOF 4280 EOF
4219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4220 egrep "uid_t" >/dev/null 2>&1; then 4282 egrep "uid_t" >/dev/null 2>&1; then
4246 } 4308 }
4247 4309
4248 fi 4310 fi
4249 4311
4250 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 4312 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
4251 echo "configure:4252: checking for mode_t" >&5 4313 echo "configure:4314: checking for mode_t" >&5
4252 4314
4253 cat > conftest.$ac_ext <<EOF 4315 cat > conftest.$ac_ext <<EOF
4254 #line 4255 "configure" 4316 #line 4317 "configure"
4255 #include "confdefs.h" 4317 #include "confdefs.h"
4256 #include <sys/types.h> 4318 #include <sys/types.h>
4257 #if STDC_HEADERS 4319 #if STDC_HEADERS
4258 #include <stdlib.h> 4320 #include <stdlib.h>
4259 #include <stddef.h> 4321 #include <stddef.h>
4280 } 4342 }
4281 4343
4282 fi 4344 fi
4283 4345
4284 echo $ac_n "checking for off_t""... $ac_c" 1>&6 4346 echo $ac_n "checking for off_t""... $ac_c" 1>&6
4285 echo "configure:4286: checking for off_t" >&5 4347 echo "configure:4348: checking for off_t" >&5
4286 4348
4287 cat > conftest.$ac_ext <<EOF 4349 cat > conftest.$ac_ext <<EOF
4288 #line 4289 "configure" 4350 #line 4351 "configure"
4289 #include "confdefs.h" 4351 #include "confdefs.h"
4290 #include <sys/types.h> 4352 #include <sys/types.h>
4291 #if STDC_HEADERS 4353 #if STDC_HEADERS
4292 #include <stdlib.h> 4354 #include <stdlib.h>
4293 #include <stddef.h> 4355 #include <stddef.h>
4314 } 4376 }
4315 4377
4316 fi 4378 fi
4317 4379
4318 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 4380 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4319 echo "configure:4320: checking for ssize_t" >&5 4381 echo "configure:4382: checking for ssize_t" >&5
4320 4382
4321 cat > conftest.$ac_ext <<EOF 4383 cat > conftest.$ac_ext <<EOF
4322 #line 4323 "configure" 4384 #line 4385 "configure"
4323 #include "confdefs.h" 4385 #include "confdefs.h"
4324 #include <sys/types.h> 4386 #include <sys/types.h>
4325 #if STDC_HEADERS 4387 #if STDC_HEADERS
4326 #include <stdlib.h> 4388 #include <stdlib.h>
4327 #include <stddef.h> 4389 #include <stddef.h>
4350 fi 4412 fi
4351 4413
4352 4414
4353 if test "$ac_cv_header_inttypes_h" != "yes"; then 4415 if test "$ac_cv_header_inttypes_h" != "yes"; then
4354 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 4416 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6
4355 echo "configure:4356: checking for intptr_t in sys/types.h" >&5 4417 echo "configure:4418: checking for intptr_t in sys/types.h" >&5
4356 cat > conftest.$ac_ext <<EOF 4418 cat > conftest.$ac_ext <<EOF
4357 #line 4358 "configure" 4419 #line 4420 "configure"
4358 #include "confdefs.h" 4420 #include "confdefs.h"
4359 #include <sys/types.h> 4421 #include <sys/types.h>
4360 intptr_t x; 4422 intptr_t x;
4361 4423
4362 int main() { 4424 int main() {
4363 4425
4364 ; return 0; } 4426 ; return 0; }
4365 EOF 4427 EOF
4366 if { (eval echo configure:4367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4428 if { (eval echo configure:4429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4367 rm -rf conftest* 4429 rm -rf conftest*
4368 echo "$ac_t""yes" 1>&6 4430 echo "$ac_t""yes" 1>&6
4369 { test "$extra_verbose" = "yes" && cat << \EOF 4431 { test "$extra_verbose" = "yes" && cat << \EOF
4370 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 4432 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1
4371 EOF 4433 EOF
4382 fi 4444 fi
4383 rm -f conftest* 4445 rm -f conftest*
4384 fi 4446 fi
4385 4447
4386 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 4448 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
4387 echo "configure:4388: checking for socklen_t" >&5 4449 echo "configure:4450: checking for socklen_t" >&5
4388 cat > conftest.$ac_ext <<EOF 4450 cat > conftest.$ac_ext <<EOF
4389 #line 4390 "configure" 4451 #line 4452 "configure"
4390 #include "confdefs.h" 4452 #include "confdefs.h"
4391 #include <sys/types.h> 4453 #include <sys/types.h>
4392 #include <sys/socket.h> 4454 #include <sys/socket.h>
4393 socklen_t x; 4455 socklen_t x;
4394 4456
4395 int main() { 4457 int main() {
4396 4458
4397 ; return 0; } 4459 ; return 0; }
4398 EOF 4460 EOF
4399 if { (eval echo configure:4400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4461 if { (eval echo configure:4462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4400 rm -rf conftest* 4462 rm -rf conftest*
4401 echo "$ac_t""yes" 1>&6 4463 echo "$ac_t""yes" 1>&6
4402 else 4464 else
4403 echo "configure: failed program was:" >&5 4465 echo "configure: failed program was:" >&5
4404 cat conftest.$ac_ext >&5 4466 cat conftest.$ac_ext >&5
4405 rm -rf conftest* 4467 rm -rf conftest*
4406 4468
4407 cat > conftest.$ac_ext <<EOF 4469 cat > conftest.$ac_ext <<EOF
4408 #line 4409 "configure" 4470 #line 4471 "configure"
4409 #include "confdefs.h" 4471 #include "confdefs.h"
4410 #include <sys/types.h> 4472 #include <sys/types.h>
4411 #include <sys/socket.h> 4473 #include <sys/socket.h>
4412 int accept (int, struct sockaddr *, size_t *); 4474 int accept (int, struct sockaddr *, size_t *);
4413 4475
4414 int main() { 4476 int main() {
4415 4477
4416 ; return 0; } 4478 ; return 0; }
4417 EOF 4479 EOF
4418 if { (eval echo configure:4419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4480 if { (eval echo configure:4481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4419 rm -rf conftest* 4481 rm -rf conftest*
4420 4482
4421 echo "$ac_t""size_t" 1>&6 4483 echo "$ac_t""size_t" 1>&6
4422 { test "$extra_verbose" = "yes" && cat << \EOF 4484 { test "$extra_verbose" = "yes" && cat << \EOF
4423 Defining socklen_t = size_t 4485 Defining socklen_t = size_t
4445 rm -f conftest* 4507 rm -f conftest*
4446 fi 4508 fi
4447 rm -f conftest* 4509 rm -f conftest*
4448 4510
4449 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 4511 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
4450 echo "configure:4451: checking for struct timeval" >&5 4512 echo "configure:4513: checking for struct timeval" >&5
4451 cat > conftest.$ac_ext <<EOF 4513 cat > conftest.$ac_ext <<EOF
4452 #line 4453 "configure" 4514 #line 4515 "configure"
4453 #include "confdefs.h" 4515 #include "confdefs.h"
4454 #ifdef TIME_WITH_SYS_TIME 4516 #ifdef TIME_WITH_SYS_TIME
4455 #include <sys/time.h> 4517 #include <sys/time.h>
4456 #include <time.h> 4518 #include <time.h>
4457 #else 4519 #else
4463 #endif 4525 #endif
4464 int main() { 4526 int main() {
4465 static struct timeval x; x.tv_sec = x.tv_usec; 4527 static struct timeval x; x.tv_sec = x.tv_usec;
4466 ; return 0; } 4528 ; return 0; }
4467 EOF 4529 EOF
4468 if { (eval echo configure:4469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4530 if { (eval echo configure:4531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4469 rm -rf conftest* 4531 rm -rf conftest*
4470 echo "$ac_t""yes" 1>&6 4532 echo "$ac_t""yes" 1>&6
4471 HAVE_TIMEVAL=yes 4533 HAVE_TIMEVAL=yes
4472 { test "$extra_verbose" = "yes" && cat << \EOF 4534 { test "$extra_verbose" = "yes" && cat << \EOF
4473 Defining HAVE_TIMEVAL 4535 Defining HAVE_TIMEVAL
4485 HAVE_TIMEVAL=no 4547 HAVE_TIMEVAL=no
4486 fi 4548 fi
4487 rm -f conftest* 4549 rm -f conftest*
4488 4550
4489 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 4551 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4490 echo "configure:4491: checking whether struct tm is in sys/time.h or time.h" >&5 4552 echo "configure:4553: checking whether struct tm is in sys/time.h or time.h" >&5
4491 4553
4492 cat > conftest.$ac_ext <<EOF 4554 cat > conftest.$ac_ext <<EOF
4493 #line 4494 "configure" 4555 #line 4556 "configure"
4494 #include "confdefs.h" 4556 #include "confdefs.h"
4495 #include <sys/types.h> 4557 #include <sys/types.h>
4496 #include <time.h> 4558 #include <time.h>
4497 int main() { 4559 int main() {
4498 struct tm *tp; tp->tm_sec; 4560 struct tm *tp; tp->tm_sec;
4499 ; return 0; } 4561 ; return 0; }
4500 EOF 4562 EOF
4501 if { (eval echo configure:4502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4563 if { (eval echo configure:4564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4502 rm -rf conftest* 4564 rm -rf conftest*
4503 ac_cv_struct_tm=time.h 4565 ac_cv_struct_tm=time.h
4504 else 4566 else
4505 echo "configure: failed program was:" >&5 4567 echo "configure: failed program was:" >&5
4506 cat conftest.$ac_ext >&5 4568 cat conftest.$ac_ext >&5
4520 } 4582 }
4521 4583
4522 fi 4584 fi
4523 4585
4524 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 4586 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4525 echo "configure:4526: checking for tm_zone in struct tm" >&5 4587 echo "configure:4588: checking for tm_zone in struct tm" >&5
4526 4588
4527 cat > conftest.$ac_ext <<EOF 4589 cat > conftest.$ac_ext <<EOF
4528 #line 4529 "configure" 4590 #line 4591 "configure"
4529 #include "confdefs.h" 4591 #include "confdefs.h"
4530 #include <sys/types.h> 4592 #include <sys/types.h>
4531 #include <$ac_cv_struct_tm> 4593 #include <$ac_cv_struct_tm>
4532 int main() { 4594 int main() {
4533 struct tm tm; tm.tm_zone; 4595 struct tm tm; tm.tm_zone;
4534 ; return 0; } 4596 ; return 0; }
4535 EOF 4597 EOF
4536 if { (eval echo configure:4537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4598 if { (eval echo configure:4599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4537 rm -rf conftest* 4599 rm -rf conftest*
4538 ac_cv_struct_tm_zone=yes 4600 ac_cv_struct_tm_zone=yes
4539 else 4601 else
4540 echo "configure: failed program was:" >&5 4602 echo "configure: failed program was:" >&5
4541 cat conftest.$ac_ext >&5 4603 cat conftest.$ac_ext >&5
4554 EOF 4616 EOF
4555 } 4617 }
4556 4618
4557 else 4619 else
4558 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4620 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4559 echo "configure:4560: checking for tzname" >&5 4621 echo "configure:4622: checking for tzname" >&5
4560 4622
4561 cat > conftest.$ac_ext <<EOF 4623 cat > conftest.$ac_ext <<EOF
4562 #line 4563 "configure" 4624 #line 4625 "configure"
4563 #include "confdefs.h" 4625 #include "confdefs.h"
4564 #include <time.h> 4626 #include <time.h>
4565 #ifndef tzname /* For SGI. */ 4627 #ifndef tzname /* For SGI. */
4566 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4628 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4567 #endif 4629 #endif
4568 int main() { 4630 int main() {
4569 atoi(*tzname); 4631 atoi(*tzname);
4570 ; return 0; } 4632 ; return 0; }
4571 EOF 4633 EOF
4572 if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4573 rm -rf conftest* 4635 rm -rf conftest*
4574 ac_cv_var_tzname=yes 4636 ac_cv_var_tzname=yes
4575 else 4637 else
4576 echo "configure: failed program was:" >&5 4638 echo "configure: failed program was:" >&5
4577 cat conftest.$ac_ext >&5 4639 cat conftest.$ac_ext >&5
4593 fi 4655 fi
4594 fi 4656 fi
4595 4657
4596 4658
4597 echo $ac_n "checking for working const""... $ac_c" 1>&6 4659 echo $ac_n "checking for working const""... $ac_c" 1>&6
4598 echo "configure:4599: checking for working const" >&5 4660 echo "configure:4661: checking for working const" >&5
4599 4661
4600 cat > conftest.$ac_ext <<EOF 4662 cat > conftest.$ac_ext <<EOF
4601 #line 4602 "configure" 4663 #line 4664 "configure"
4602 #include "confdefs.h" 4664 #include "confdefs.h"
4603 4665
4604 int main() { 4666 int main() {
4605 4667
4606 /* Ultrix mips cc rejects this. */ 4668 /* Ultrix mips cc rejects this. */
4645 const int foo = 10; 4707 const int foo = 10;
4646 } 4708 }
4647 4709
4648 ; return 0; } 4710 ; return 0; }
4649 EOF 4711 EOF
4650 if { (eval echo configure:4651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4712 if { (eval echo configure:4713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4651 rm -rf conftest* 4713 rm -rf conftest*
4652 ac_cv_c_const=yes 4714 ac_cv_c_const=yes
4653 else 4715 else
4654 echo "configure: failed program was:" >&5 4716 echo "configure: failed program was:" >&5
4655 cat conftest.$ac_ext >&5 4717 cat conftest.$ac_ext >&5
4670 4732
4671 fi 4733 fi
4672 4734
4673 4735
4674 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 4736 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
4675 echo "configure:4676: checking whether ${MAKE-make} sets \${MAKE}" >&5 4737 echo "configure:4738: checking whether ${MAKE-make} sets \${MAKE}" >&5
4676 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4738 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4677 4739
4678 cat > conftestmake <<\EOF 4740 cat > conftestmake <<\EOF
4679 all: 4741 all:
4680 @echo 'ac_maketemp="${MAKE}"' 4742 @echo 'ac_maketemp="${MAKE}"'
4695 SET_MAKE="MAKE=${MAKE-make}" 4757 SET_MAKE="MAKE=${MAKE-make}"
4696 fi 4758 fi
4697 4759
4698 4760
4699 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4761 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4700 echo "configure:4701: checking whether byte ordering is bigendian" >&5 4762 echo "configure:4763: checking whether byte ordering is bigendian" >&5
4701 4763
4702 ac_cv_c_bigendian=unknown 4764 ac_cv_c_bigendian=unknown
4703 # See if sys/param.h defines the BYTE_ORDER macro. 4765 # See if sys/param.h defines the BYTE_ORDER macro.
4704 cat > conftest.$ac_ext <<EOF 4766 cat > conftest.$ac_ext <<EOF
4705 #line 4706 "configure" 4767 #line 4768 "configure"
4706 #include "confdefs.h" 4768 #include "confdefs.h"
4707 #include <sys/types.h> 4769 #include <sys/types.h>
4708 #include <sys/param.h> 4770 #include <sys/param.h>
4709 int main() { 4771 int main() {
4710 4772
4711 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4773 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4712 bogus endian macros 4774 bogus endian macros
4713 #endif 4775 #endif
4714 ; return 0; } 4776 ; return 0; }
4715 EOF 4777 EOF
4716 if { (eval echo configure:4717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4778 if { (eval echo configure:4779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4717 rm -rf conftest* 4779 rm -rf conftest*
4718 # It does; now see whether it defined to BIG_ENDIAN or not. 4780 # It does; now see whether it defined to BIG_ENDIAN or not.
4719 cat > conftest.$ac_ext <<EOF 4781 cat > conftest.$ac_ext <<EOF
4720 #line 4721 "configure" 4782 #line 4783 "configure"
4721 #include "confdefs.h" 4783 #include "confdefs.h"
4722 #include <sys/types.h> 4784 #include <sys/types.h>
4723 #include <sys/param.h> 4785 #include <sys/param.h>
4724 int main() { 4786 int main() {
4725 4787
4726 #if BYTE_ORDER != BIG_ENDIAN 4788 #if BYTE_ORDER != BIG_ENDIAN
4727 not big endian 4789 not big endian
4728 #endif 4790 #endif
4729 ; return 0; } 4791 ; return 0; }
4730 EOF 4792 EOF
4731 if { (eval echo configure:4732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4793 if { (eval echo configure:4794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4732 rm -rf conftest* 4794 rm -rf conftest*
4733 ac_cv_c_bigendian=yes 4795 ac_cv_c_bigendian=yes
4734 else 4796 else
4735 echo "configure: failed program was:" >&5 4797 echo "configure: failed program was:" >&5
4736 cat conftest.$ac_ext >&5 4798 cat conftest.$ac_ext >&5
4743 cat conftest.$ac_ext >&5 4805 cat conftest.$ac_ext >&5
4744 fi 4806 fi
4745 rm -f conftest* 4807 rm -f conftest*
4746 if test $ac_cv_c_bigendian = unknown; then 4808 if test $ac_cv_c_bigendian = unknown; then
4747 cat > conftest.$ac_ext <<EOF 4809 cat > conftest.$ac_ext <<EOF
4748 #line 4749 "configure" 4810 #line 4811 "configure"
4749 #include "confdefs.h" 4811 #include "confdefs.h"
4750 main () { 4812 main () {
4751 /* Are we little or big endian? From Harbison&Steele. */ 4813 /* Are we little or big endian? From Harbison&Steele. */
4752 union 4814 union
4753 { 4815 {
4756 } u; 4818 } u;
4757 u.l = 1; 4819 u.l = 1;
4758 exit (u.c[sizeof (long) - 1] == 1); 4820 exit (u.c[sizeof (long) - 1] == 1);
4759 } 4821 }
4760 EOF 4822 EOF
4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4823 if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4762 then 4824 then
4763 ac_cv_c_bigendian=no 4825 ac_cv_c_bigendian=no
4764 else 4826 else
4765 conftest_rc="$?" 4827 conftest_rc="$?"
4766 echo "configure: failed program was:" >&5 4828 echo "configure: failed program was:" >&5
4783 4845
4784 fi 4846 fi
4785 4847
4786 4848
4787 echo $ac_n "checking size of short""... $ac_c" 1>&6 4849 echo $ac_n "checking size of short""... $ac_c" 1>&6
4788 echo "configure:4789: checking size of short" >&5 4850 echo "configure:4851: checking size of short" >&5
4789 4851
4790 cat > conftest.$ac_ext <<EOF 4852 cat > conftest.$ac_ext <<EOF
4791 #line 4792 "configure" 4853 #line 4854 "configure"
4792 #include "confdefs.h" 4854 #include "confdefs.h"
4793 #include <stdio.h> 4855 #include <stdio.h>
4794 main() 4856 main()
4795 { 4857 {
4796 FILE *f=fopen("conftestval", "w"); 4858 FILE *f=fopen("conftestval", "w");
4797 if (!f) exit(1); 4859 if (!f) exit(1);
4798 fprintf(f, "%d\n", sizeof(short)); 4860 fprintf(f, "%d\n", sizeof(short));
4799 exit(0); 4861 exit(0);
4800 } 4862 }
4801 EOF 4863 EOF
4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4803 then 4865 then
4804 ac_cv_sizeof_short=`cat conftestval` 4866 ac_cv_sizeof_short=`cat conftestval`
4805 else 4867 else
4806 conftest_rc="$?" 4868 conftest_rc="$?"
4807 echo "configure: failed program was:" >&5 4869 echo "configure: failed program was:" >&5
4825 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4887 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4826 echo "*** PANIC *** Please examine config.log for compilation errors." 4888 echo "*** PANIC *** Please examine config.log for compilation errors."
4827 exit 1 4889 exit 1
4828 fi 4890 fi
4829 echo $ac_n "checking size of int""... $ac_c" 1>&6 4891 echo $ac_n "checking size of int""... $ac_c" 1>&6
4830 echo "configure:4831: checking size of int" >&5 4892 echo "configure:4893: checking size of int" >&5
4831 4893
4832 cat > conftest.$ac_ext <<EOF 4894 cat > conftest.$ac_ext <<EOF
4833 #line 4834 "configure" 4895 #line 4896 "configure"
4834 #include "confdefs.h" 4896 #include "confdefs.h"
4835 #include <stdio.h> 4897 #include <stdio.h>
4836 main() 4898 main()
4837 { 4899 {
4838 FILE *f=fopen("conftestval", "w"); 4900 FILE *f=fopen("conftestval", "w");
4839 if (!f) exit(1); 4901 if (!f) exit(1);
4840 fprintf(f, "%d\n", sizeof(int)); 4902 fprintf(f, "%d\n", sizeof(int));
4841 exit(0); 4903 exit(0);
4842 } 4904 }
4843 EOF 4905 EOF
4844 if { (eval echo configure:4845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4845 then 4907 then
4846 ac_cv_sizeof_int=`cat conftestval` 4908 ac_cv_sizeof_int=`cat conftestval`
4847 else 4909 else
4848 conftest_rc="$?" 4910 conftest_rc="$?"
4849 echo "configure: failed program was:" >&5 4911 echo "configure: failed program was:" >&5
4861 EOF 4923 EOF
4862 } 4924 }
4863 4925
4864 4926
4865 echo $ac_n "checking size of long""... $ac_c" 1>&6 4927 echo $ac_n "checking size of long""... $ac_c" 1>&6
4866 echo "configure:4867: checking size of long" >&5 4928 echo "configure:4929: checking size of long" >&5
4867 4929
4868 cat > conftest.$ac_ext <<EOF 4930 cat > conftest.$ac_ext <<EOF
4869 #line 4870 "configure" 4931 #line 4932 "configure"
4870 #include "confdefs.h" 4932 #include "confdefs.h"
4871 #include <stdio.h> 4933 #include <stdio.h>
4872 main() 4934 main()
4873 { 4935 {
4874 FILE *f=fopen("conftestval", "w"); 4936 FILE *f=fopen("conftestval", "w");
4875 if (!f) exit(1); 4937 if (!f) exit(1);
4876 fprintf(f, "%d\n", sizeof(long)); 4938 fprintf(f, "%d\n", sizeof(long));
4877 exit(0); 4939 exit(0);
4878 } 4940 }
4879 EOF 4941 EOF
4880 if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4881 then 4943 then
4882 ac_cv_sizeof_long=`cat conftestval` 4944 ac_cv_sizeof_long=`cat conftestval`
4883 else 4945 else
4884 conftest_rc="$?" 4946 conftest_rc="$?"
4885 echo "configure: failed program was:" >&5 4947 echo "configure: failed program was:" >&5
4897 EOF 4959 EOF
4898 } 4960 }
4899 4961
4900 4962
4901 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4963 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4902 echo "configure:4903: checking size of long long" >&5 4964 echo "configure:4965: checking size of long long" >&5
4903 4965
4904 cat > conftest.$ac_ext <<EOF 4966 cat > conftest.$ac_ext <<EOF
4905 #line 4906 "configure" 4967 #line 4968 "configure"
4906 #include "confdefs.h" 4968 #include "confdefs.h"
4907 #include <stdio.h> 4969 #include <stdio.h>
4908 main() 4970 main()
4909 { 4971 {
4910 FILE *f=fopen("conftestval", "w"); 4972 FILE *f=fopen("conftestval", "w");
4911 if (!f) exit(1); 4973 if (!f) exit(1);
4912 fprintf(f, "%d\n", sizeof(long long)); 4974 fprintf(f, "%d\n", sizeof(long long));
4913 exit(0); 4975 exit(0);
4914 } 4976 }
4915 EOF 4977 EOF
4916 if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4917 then 4979 then
4918 ac_cv_sizeof_long_long=`cat conftestval` 4980 ac_cv_sizeof_long_long=`cat conftestval`
4919 else 4981 else
4920 conftest_rc="$?" 4982 conftest_rc="$?"
4921 echo "configure: failed program was:" >&5 4983 echo "configure: failed program was:" >&5
4933 EOF 4995 EOF
4934 } 4996 }
4935 4997
4936 4998
4937 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4999 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4938 echo "configure:4939: checking size of void *" >&5 5000 echo "configure:5001: checking size of void *" >&5
4939 5001
4940 cat > conftest.$ac_ext <<EOF 5002 cat > conftest.$ac_ext <<EOF
4941 #line 4942 "configure" 5003 #line 5004 "configure"
4942 #include "confdefs.h" 5004 #include "confdefs.h"
4943 #include <stdio.h> 5005 #include <stdio.h>
4944 main() 5006 main()
4945 { 5007 {
4946 FILE *f=fopen("conftestval", "w"); 5008 FILE *f=fopen("conftestval", "w");
4947 if (!f) exit(1); 5009 if (!f) exit(1);
4948 fprintf(f, "%d\n", sizeof(void *)); 5010 fprintf(f, "%d\n", sizeof(void *));
4949 exit(0); 5011 exit(0);
4950 } 5012 }
4951 EOF 5013 EOF
4952 if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4953 then 5015 then
4954 ac_cv_sizeof_void_p=`cat conftestval` 5016 ac_cv_sizeof_void_p=`cat conftestval`
4955 else 5017 else
4956 conftest_rc="$?" 5018 conftest_rc="$?"
4957 echo "configure: failed program was:" >&5 5019 echo "configure: failed program was:" >&5
4969 EOF 5031 EOF
4970 } 5032 }
4971 5033
4972 5034
4973 echo $ac_n "checking size of double""... $ac_c" 1>&6 5035 echo $ac_n "checking size of double""... $ac_c" 1>&6
4974 echo "configure:4975: checking size of double" >&5 5036 echo "configure:5037: checking size of double" >&5
4975 5037
4976 cat > conftest.$ac_ext <<EOF 5038 cat > conftest.$ac_ext <<EOF
4977 #line 4978 "configure" 5039 #line 5040 "configure"
4978 #include "confdefs.h" 5040 #include "confdefs.h"
4979 #include <stdio.h> 5041 #include <stdio.h>
4980 main() 5042 main()
4981 { 5043 {
4982 FILE *f=fopen("conftestval", "w"); 5044 FILE *f=fopen("conftestval", "w");
4983 if (!f) exit(1); 5045 if (!f) exit(1);
4984 fprintf(f, "%d\n", sizeof(double)); 5046 fprintf(f, "%d\n", sizeof(double));
4985 exit(0); 5047 exit(0);
4986 } 5048 }
4987 EOF 5049 EOF
4988 if { (eval echo configure:4989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5050 if { (eval echo configure:5051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4989 then 5051 then
4990 ac_cv_sizeof_double=`cat conftestval` 5052 ac_cv_sizeof_double=`cat conftestval`
4991 else 5053 else
4992 conftest_rc="$?" 5054 conftest_rc="$?"
4993 echo "configure: failed program was:" >&5 5055 echo "configure: failed program was:" >&5
5006 } 5068 }
5007 5069
5008 5070
5009 5071
5010 echo $ac_n "checking for long file names""... $ac_c" 1>&6 5072 echo $ac_n "checking for long file names""... $ac_c" 1>&6
5011 echo "configure:5012: checking for long file names" >&5 5073 echo "configure:5074: checking for long file names" >&5
5012 5074
5013 ac_cv_sys_long_file_names=yes 5075 ac_cv_sys_long_file_names=yes
5014 # Test for long file names in all the places we know might matter: 5076 # Test for long file names in all the places we know might matter:
5015 # . the current directory, where building will happen 5077 # . the current directory, where building will happen
5016 # $prefix/lib where we will be installing things 5078 # $prefix/lib where we will be installing things
5052 5114
5053 fi 5115 fi
5054 5116
5055 5117
5056 echo $ac_n "checking for sin""... $ac_c" 1>&6 5118 echo $ac_n "checking for sin""... $ac_c" 1>&6
5057 echo "configure:5058: checking for sin" >&5 5119 echo "configure:5120: checking for sin" >&5
5058 5120
5059 cat > conftest.$ac_ext <<EOF 5121 cat > conftest.$ac_ext <<EOF
5060 #line 5061 "configure" 5122 #line 5123 "configure"
5061 #include "confdefs.h" 5123 #include "confdefs.h"
5062 /* System header to define __stub macros and hopefully few prototypes, 5124 /* System header to define __stub macros and hopefully few prototypes,
5063 which can conflict with char sin(); below. */ 5125 which can conflict with char sin(); below. */
5064 #include <assert.h> 5126 #include <assert.h>
5065 /* Override any gcc2 internal prototype to avoid an error. */ 5127 /* Override any gcc2 internal prototype to avoid an error. */
5078 sin(); 5140 sin();
5079 #endif 5141 #endif
5080 5142
5081 ; return 0; } 5143 ; return 0; }
5082 EOF 5144 EOF
5083 if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5145 if { (eval echo configure:5146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5084 rm -rf conftest* 5146 rm -rf conftest*
5085 eval "ac_cv_func_sin=yes" 5147 eval "ac_cv_func_sin=yes"
5086 else 5148 else
5087 echo "configure: failed program was:" >&5 5149 echo "configure: failed program was:" >&5
5088 cat conftest.$ac_ext >&5 5150 cat conftest.$ac_ext >&5
5096 : 5158 :
5097 else 5159 else
5098 echo "$ac_t""no" 1>&6 5160 echo "$ac_t""no" 1>&6
5099 5161
5100 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 5162 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5101 echo "configure:5102: checking for sin in -lm" >&5 5163 echo "configure:5164: checking for sin in -lm" >&5
5102 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 5164 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5103 5165
5104 xe_check_libs=" -lm " 5166 xe_check_libs=" -lm "
5105 cat > conftest.$ac_ext <<EOF 5167 cat > conftest.$ac_ext <<EOF
5106 #line 5107 "configure" 5168 #line 5169 "configure"
5107 #include "confdefs.h" 5169 #include "confdefs.h"
5108 /* Override any gcc2 internal prototype to avoid an error. */ 5170 /* Override any gcc2 internal prototype to avoid an error. */
5109 /* We use char because int might match the return type of a gcc2 5171 /* We use char because int might match the return type of a gcc2
5110 builtin and then its argument prototype would still apply. */ 5172 builtin and then its argument prototype would still apply. */
5111 char sin(); 5173 char sin();
5112 5174
5113 int main() { 5175 int main() {
5114 sin() 5176 sin()
5115 ; return 0; } 5177 ; return 0; }
5116 EOF 5178 EOF
5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5179 if { (eval echo configure:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5118 rm -rf conftest* 5180 rm -rf conftest*
5119 eval "ac_cv_lib_$ac_lib_var=yes" 5181 eval "ac_cv_lib_$ac_lib_var=yes"
5120 else 5182 else
5121 echo "configure: failed program was:" >&5 5183 echo "configure: failed program was:" >&5
5122 cat conftest.$ac_ext >&5 5184 cat conftest.$ac_ext >&5
5147 5209
5148 fi 5210 fi
5149 5211
5150 5212
5151 cat > conftest.$ac_ext <<EOF 5213 cat > conftest.$ac_ext <<EOF
5152 #line 5153 "configure" 5214 #line 5215 "configure"
5153 #include "confdefs.h" 5215 #include "confdefs.h"
5154 #include <math.h> 5216 #include <math.h>
5155 int main() { 5217 int main() {
5156 return atanh(1.0) + asinh(1.0) + acosh(1.0); 5218 return atanh(1.0) + asinh(1.0) + acosh(1.0);
5157 ; return 0; } 5219 ; return 0; }
5158 EOF 5220 EOF
5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5221 if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5160 rm -rf conftest* 5222 rm -rf conftest*
5161 { test "$extra_verbose" = "yes" && cat << \EOF 5223 { test "$extra_verbose" = "yes" && cat << \EOF
5162 Defining HAVE_INVERSE_HYPERBOLIC 5224 Defining HAVE_INVERSE_HYPERBOLIC
5163 EOF 5225 EOF
5164 cat >> confdefs.h <<\EOF 5226 cat >> confdefs.h <<\EOF
5173 rm -f conftest* 5235 rm -f conftest*
5174 5236
5175 for ac_func in mkstemp 5237 for ac_func in mkstemp
5176 do 5238 do
5177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5178 echo "configure:5179: checking for $ac_func" >&5 5240 echo "configure:5241: checking for $ac_func" >&5
5179 5241
5180 cat > conftest.$ac_ext <<EOF 5242 cat > conftest.$ac_ext <<EOF
5181 #line 5182 "configure" 5243 #line 5244 "configure"
5182 #include "confdefs.h" 5244 #include "confdefs.h"
5183 /* System header to define __stub macros and hopefully few prototypes, 5245 /* System header to define __stub macros and hopefully few prototypes,
5184 which can conflict with char $ac_func(); below. */ 5246 which can conflict with char $ac_func(); below. */
5185 #include <assert.h> 5247 #include <assert.h>
5186 /* Override any gcc2 internal prototype to avoid an error. */ 5248 /* Override any gcc2 internal prototype to avoid an error. */
5199 $ac_func(); 5261 $ac_func();
5200 #endif 5262 #endif
5201 5263
5202 ; return 0; } 5264 ; return 0; }
5203 EOF 5265 EOF
5204 if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5266 if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5205 rm -rf conftest* 5267 rm -rf conftest*
5206 eval "ac_cv_func_$ac_func=yes" 5268 eval "ac_cv_func_$ac_func=yes"
5207 else 5269 else
5208 echo "configure: failed program was:" >&5 5270 echo "configure: failed program was:" >&5
5209 cat conftest.$ac_ext >&5 5271 cat conftest.$ac_ext >&5
5228 fi 5290 fi
5229 done 5291 done
5230 5292
5231 5293
5232 echo "checking type of mail spool file locking" 1>&6 5294 echo "checking type of mail spool file locking" 1>&6
5233 echo "configure:5234: checking type of mail spool file locking" >&5 5295 echo "configure:5296: checking type of mail spool file locking" >&5
5234 for ac_func in lockf flock 5296 for ac_func in lockf flock
5235 do 5297 do
5236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5237 echo "configure:5238: checking for $ac_func" >&5 5299 echo "configure:5300: checking for $ac_func" >&5
5238 5300
5239 cat > conftest.$ac_ext <<EOF 5301 cat > conftest.$ac_ext <<EOF
5240 #line 5241 "configure" 5302 #line 5303 "configure"
5241 #include "confdefs.h" 5303 #include "confdefs.h"
5242 /* System header to define __stub macros and hopefully few prototypes, 5304 /* System header to define __stub macros and hopefully few prototypes,
5243 which can conflict with char $ac_func(); below. */ 5305 which can conflict with char $ac_func(); below. */
5244 #include <assert.h> 5306 #include <assert.h>
5245 /* Override any gcc2 internal prototype to avoid an error. */ 5307 /* Override any gcc2 internal prototype to avoid an error. */
5258 $ac_func(); 5320 $ac_func();
5259 #endif 5321 #endif
5260 5322
5261 ; return 0; } 5323 ; return 0; }
5262 EOF 5324 EOF
5263 if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5325 if { (eval echo configure:5326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5264 rm -rf conftest* 5326 rm -rf conftest*
5265 eval "ac_cv_func_$ac_func=yes" 5327 eval "ac_cv_func_$ac_func=yes"
5266 else 5328 else
5267 echo "configure: failed program was:" >&5 5329 echo "configure: failed program was:" >&5
5268 cat conftest.$ac_ext >&5 5330 cat conftest.$ac_ext >&5
5348 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5410 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5349 5411
5350 case "$opsys" in decosf*) 5412 case "$opsys" in decosf*)
5351 5413
5352 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5414 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5353 echo "configure:5354: checking for cma_open in -lpthreads" >&5 5415 echo "configure:5416: checking for cma_open in -lpthreads" >&5
5354 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5416 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5355 5417
5356 xe_check_libs=" -lpthreads " 5418 xe_check_libs=" -lpthreads "
5357 cat > conftest.$ac_ext <<EOF 5419 cat > conftest.$ac_ext <<EOF
5358 #line 5359 "configure" 5420 #line 5421 "configure"
5359 #include "confdefs.h" 5421 #include "confdefs.h"
5360 /* Override any gcc2 internal prototype to avoid an error. */ 5422 /* Override any gcc2 internal prototype to avoid an error. */
5361 /* We use char because int might match the return type of a gcc2 5423 /* We use char because int might match the return type of a gcc2
5362 builtin and then its argument prototype would still apply. */ 5424 builtin and then its argument prototype would still apply. */
5363 char cma_open(); 5425 char cma_open();
5364 5426
5365 int main() { 5427 int main() {
5366 cma_open() 5428 cma_open()
5367 ; return 0; } 5429 ; return 0; }
5368 EOF 5430 EOF
5369 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5431 if { (eval echo configure:5432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5370 rm -rf conftest* 5432 rm -rf conftest*
5371 eval "ac_cv_lib_$ac_lib_var=yes" 5433 eval "ac_cv_lib_$ac_lib_var=yes"
5372 else 5434 else
5373 echo "configure: failed program was:" >&5 5435 echo "configure: failed program was:" >&5
5374 cat conftest.$ac_ext >&5 5436 cat conftest.$ac_ext >&5
5401 c_switch_site="$c_switch_site -threads" ;; 5463 c_switch_site="$c_switch_site -threads" ;;
5402 esac 5464 esac
5403 5465
5404 5466
5405 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5467 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5406 echo "configure:5407: checking whether the -xildoff compiler flag is required" >&5 5468 echo "configure:5469: checking whether the -xildoff compiler flag is required" >&5
5407 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5469 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5408 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5470 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5409 then echo "$ac_t""no" 1>&6; 5471 then echo "$ac_t""no" 1>&6;
5410 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi 5472 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi
5411 fi 5473 fi
5413 fi 5475 fi
5414 5476
5415 if test "$opsys" = "sol2"; then 5477 if test "$opsys" = "sol2"; then
5416 if test "$os_release" -ge 506; then 5478 if test "$os_release" -ge 506; then
5417 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5479 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5418 echo "configure:5419: checking for \"-z ignore\" linker flag" >&5 5480 echo "configure:5481: checking for \"-z ignore\" linker flag" >&5
5419 case "`ld -h 2>&1`" in 5481 case "`ld -h 2>&1`" in
5420 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5482 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5421 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5483 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5422 *) echo "$ac_t""no" 1>&6 ;; 5484 *) echo "$ac_t""no" 1>&6 ;;
5423 esac 5485 esac
5424 fi 5486 fi
5425 fi 5487 fi
5426 5488
5427 5489
5428 echo "checking "for specified window system"" 1>&6 5490 echo "checking "for specified window system"" 1>&6
5429 echo "configure:5430: checking "for specified window system"" >&5 5491 echo "configure:5492: checking "for specified window system"" >&5
5430 5492
5431 5493
5432 GNOME_CONFIG=no 5494 GNOME_CONFIG=no
5433 GTK_CONFIG=no 5495 GTK_CONFIG=no
5434 5496
5435 if test "$with_gnome" != "no"; then 5497 if test "$with_gnome" != "no"; then
5436 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5498 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5437 echo "configure:5438: checking for GNOME configuration script" >&5 5499 echo "configure:5500: checking for GNOME configuration script" >&5
5438 for possible in gnome-config 5500 for possible in gnome-config
5439 do 5501 do
5440 possible_version=`${possible} --version 2> /dev/null` 5502 possible_version=`${possible} --version 2> /dev/null`
5441 if test "x${possible_version}" != "x"; then 5503 if test "x${possible_version}" != "x"; then
5442 GNOME_CONFIG="${possible}" 5504 GNOME_CONFIG="${possible}"
5463 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5525 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5464 fi 5526 fi
5465 5527
5466 if test "$with_gtk" != "no";then 5528 if test "$with_gtk" != "no";then
5467 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5529 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5468 echo "configure:5469: checking for GTK configuration script" >&5 5530 echo "configure:5531: checking for GTK configuration script" >&5
5469 for possible in gtk12-config gtk14-config gtk-config 5531 for possible in gtk12-config gtk14-config gtk-config
5470 do 5532 do
5471 possible_version=`${possible} --version 2> /dev/null` 5533 possible_version=`${possible} --version 2> /dev/null`
5472 if test "x${possible_version}" != "x"; then 5534 if test "x${possible_version}" != "x"; then
5473 GTK_CONFIG="${possible}" 5535 GTK_CONFIG="${possible}"
5485 echo "$ac_t""${GTK_CONFIG}" 1>&6 5547 echo "$ac_t""${GTK_CONFIG}" 1>&6
5486 fi 5548 fi
5487 5549
5488 if test "${GTK_CONFIG}" != "no"; then 5550 if test "${GTK_CONFIG}" != "no"; then
5489 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5551 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5490 echo "configure:5491: checking gtk version" >&5 5552 echo "configure:5553: checking gtk version" >&5
5491 GTK_VERSION=`${GTK_CONFIG} --version` 5553 GTK_VERSION=`${GTK_CONFIG} --version`
5492 echo "$ac_t""${GTK_VERSION}" 1>&6 5554 echo "$ac_t""${GTK_VERSION}" 1>&6
5493 5555
5494 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5556 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5495 echo "configure:5496: checking gtk libs" >&5 5557 echo "configure:5558: checking gtk libs" >&5
5496 GTK_LIBS=`${GTK_CONFIG} --libs` 5558 GTK_LIBS=`${GTK_CONFIG} --libs`
5497 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5559 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5498 echo "$ac_t""${GTK_LIBS}" 1>&6 5560 echo "$ac_t""${GTK_LIBS}" 1>&6
5499 5561
5500 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5562 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5501 echo "configure:5502: checking gtk cflags" >&5 5563 echo "configure:5564: checking gtk cflags" >&5
5502 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5564 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5503 if test "$GCC" = "yes"; then 5565 if test "$GCC" = "yes"; then
5504 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5566 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5505 fi 5567 fi
5506 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5568 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5507 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5569 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5508 5570
5509 5571
5510 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5572 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5511 echo "configure:5512: checking for main in -lgdk_imlib" >&5 5573 echo "configure:5574: checking for main in -lgdk_imlib" >&5
5512 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5574 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5513 5575
5514 xe_check_libs=" -lgdk_imlib " 5576 xe_check_libs=" -lgdk_imlib "
5515 cat > conftest.$ac_ext <<EOF 5577 cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure" 5578 #line 5579 "configure"
5517 #include "confdefs.h" 5579 #include "confdefs.h"
5518 5580
5519 int main() { 5581 int main() {
5520 main() 5582 main()
5521 ; return 0; } 5583 ; return 0; }
5522 EOF 5584 EOF
5523 if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5524 rm -rf conftest* 5586 rm -rf conftest*
5525 eval "ac_cv_lib_$ac_lib_var=yes" 5587 eval "ac_cv_lib_$ac_lib_var=yes"
5526 else 5588 else
5527 echo "configure: failed program was:" >&5 5589 echo "configure: failed program was:" >&5
5528 cat conftest.$ac_ext >&5 5590 cat conftest.$ac_ext >&5
5540 fi 5602 fi
5541 5603
5542 5604
5543 5605
5544 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5606 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5545 echo "configure:5546: checking for Imlib_init in -lImlib" >&5 5607 echo "configure:5608: checking for Imlib_init in -lImlib" >&5
5546 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5608 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5547 5609
5548 xe_check_libs=" -lImlib " 5610 xe_check_libs=" -lImlib "
5549 cat > conftest.$ac_ext <<EOF 5611 cat > conftest.$ac_ext <<EOF
5550 #line 5551 "configure" 5612 #line 5613 "configure"
5551 #include "confdefs.h" 5613 #include "confdefs.h"
5552 /* Override any gcc2 internal prototype to avoid an error. */ 5614 /* Override any gcc2 internal prototype to avoid an error. */
5553 /* We use char because int might match the return type of a gcc2 5615 /* We use char because int might match the return type of a gcc2
5554 builtin and then its argument prototype would still apply. */ 5616 builtin and then its argument prototype would still apply. */
5555 char Imlib_init(); 5617 char Imlib_init();
5556 5618
5557 int main() { 5619 int main() {
5558 Imlib_init() 5620 Imlib_init()
5559 ; return 0; } 5621 ; return 0; }
5560 EOF 5622 EOF
5561 if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5623 if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5562 rm -rf conftest* 5624 rm -rf conftest*
5563 eval "ac_cv_lib_$ac_lib_var=yes" 5625 eval "ac_cv_lib_$ac_lib_var=yes"
5564 else 5626 else
5565 echo "configure: failed program was:" >&5 5627 echo "configure: failed program was:" >&5
5566 cat conftest.$ac_ext >&5 5628 cat conftest.$ac_ext >&5
5579 5641
5580 5642
5581 for ac_func in gdk_imlib_init 5643 for ac_func in gdk_imlib_init
5582 do 5644 do
5583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5584 echo "configure:5585: checking for $ac_func" >&5 5646 echo "configure:5647: checking for $ac_func" >&5
5585 5647
5586 cat > conftest.$ac_ext <<EOF 5648 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure" 5649 #line 5650 "configure"
5588 #include "confdefs.h" 5650 #include "confdefs.h"
5589 /* System header to define __stub macros and hopefully few prototypes, 5651 /* System header to define __stub macros and hopefully few prototypes,
5590 which can conflict with char $ac_func(); below. */ 5652 which can conflict with char $ac_func(); below. */
5591 #include <assert.h> 5653 #include <assert.h>
5592 /* Override any gcc2 internal prototype to avoid an error. */ 5654 /* Override any gcc2 internal prototype to avoid an error. */
5605 $ac_func(); 5667 $ac_func();
5606 #endif 5668 #endif
5607 5669
5608 ; return 0; } 5670 ; return 0; }
5609 EOF 5671 EOF
5610 if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5672 if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5611 rm -rf conftest* 5673 rm -rf conftest*
5612 eval "ac_cv_func_$ac_func=yes" 5674 eval "ac_cv_func_$ac_func=yes"
5613 else 5675 else
5614 echo "configure: failed program was:" >&5 5676 echo "configure: failed program was:" >&5
5615 cat conftest.$ac_ext >&5 5677 cat conftest.$ac_ext >&5
5689 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5751 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5690 for ac_hdr in glade/glade.h glade.h 5752 for ac_hdr in glade/glade.h glade.h
5691 do 5753 do
5692 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5754 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5693 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5694 echo "configure:5695: checking for $ac_hdr" >&5 5756 echo "configure:5757: checking for $ac_hdr" >&5
5695 5757
5696 cat > conftest.$ac_ext <<EOF 5758 cat > conftest.$ac_ext <<EOF
5697 #line 5698 "configure" 5759 #line 5760 "configure"
5698 #include "confdefs.h" 5760 #include "confdefs.h"
5699 #include <$ac_hdr> 5761 #include <$ac_hdr>
5700 EOF 5762 EOF
5701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5702 { (eval echo configure:5703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5764 { (eval echo configure:5765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5703 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5704 if test -z "$ac_err"; then 5766 if test -z "$ac_err"; then
5705 rm -rf conftest* 5767 rm -rf conftest*
5706 eval "ac_cv_header_$ac_safe=yes" 5768 eval "ac_cv_header_$ac_safe=yes"
5707 else 5769 else
5728 fi 5790 fi
5729 done 5791 done
5730 5792
5731 5793
5732 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5794 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5733 echo "configure:5734: checking for main in -lxml" >&5 5795 echo "configure:5796: checking for main in -lxml" >&5
5734 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5796 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5735 5797
5736 xe_check_libs=" -lxml " 5798 xe_check_libs=" -lxml "
5737 cat > conftest.$ac_ext <<EOF 5799 cat > conftest.$ac_ext <<EOF
5738 #line 5739 "configure" 5800 #line 5801 "configure"
5739 #include "confdefs.h" 5801 #include "confdefs.h"
5740 5802
5741 int main() { 5803 int main() {
5742 main() 5804 main()
5743 ; return 0; } 5805 ; return 0; }
5744 EOF 5806 EOF
5745 if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5807 if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5746 rm -rf conftest* 5808 rm -rf conftest*
5747 eval "ac_cv_lib_$ac_lib_var=yes" 5809 eval "ac_cv_lib_$ac_lib_var=yes"
5748 else 5810 else
5749 echo "configure: failed program was:" >&5 5811 echo "configure: failed program was:" >&5
5750 cat conftest.$ac_ext >&5 5812 cat conftest.$ac_ext >&5
5762 fi 5824 fi
5763 5825
5764 5826
5765 5827
5766 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5828 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5767 echo "configure:5768: checking for main in -lglade" >&5 5829 echo "configure:5830: checking for main in -lglade" >&5
5768 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5830 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5769 5831
5770 xe_check_libs=" -lglade " 5832 xe_check_libs=" -lglade "
5771 cat > conftest.$ac_ext <<EOF 5833 cat > conftest.$ac_ext <<EOF
5772 #line 5773 "configure" 5834 #line 5835 "configure"
5773 #include "confdefs.h" 5835 #include "confdefs.h"
5774 5836
5775 int main() { 5837 int main() {
5776 main() 5838 main()
5777 ; return 0; } 5839 ; return 0; }
5778 EOF 5840 EOF
5779 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5841 if { (eval echo configure:5842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5780 rm -rf conftest* 5842 rm -rf conftest*
5781 eval "ac_cv_lib_$ac_lib_var=yes" 5843 eval "ac_cv_lib_$ac_lib_var=yes"
5782 else 5844 else
5783 echo "configure: failed program was:" >&5 5845 echo "configure: failed program was:" >&5
5784 cat conftest.$ac_ext >&5 5846 cat conftest.$ac_ext >&5
5796 fi 5858 fi
5797 5859
5798 5860
5799 5861
5800 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5862 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5801 echo "configure:5802: checking for main in -lglade-gnome" >&5 5863 echo "configure:5864: checking for main in -lglade-gnome" >&5
5802 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5864 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5803 5865
5804 xe_check_libs=" -lglade-gnome " 5866 xe_check_libs=" -lglade-gnome "
5805 cat > conftest.$ac_ext <<EOF 5867 cat > conftest.$ac_ext <<EOF
5806 #line 5807 "configure" 5868 #line 5869 "configure"
5807 #include "confdefs.h" 5869 #include "confdefs.h"
5808 5870
5809 int main() { 5871 int main() {
5810 main() 5872 main()
5811 ; return 0; } 5873 ; return 0; }
5812 EOF 5874 EOF
5813 if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5814 rm -rf conftest* 5876 rm -rf conftest*
5815 eval "ac_cv_lib_$ac_lib_var=yes" 5877 eval "ac_cv_lib_$ac_lib_var=yes"
5816 else 5878 else
5817 echo "configure: failed program was:" >&5 5879 echo "configure: failed program was:" >&5
5818 cat conftest.$ac_ext >&5 5880 cat conftest.$ac_ext >&5
5829 echo "$ac_t""no" 1>&6 5891 echo "$ac_t""no" 1>&6
5830 fi 5892 fi
5831 5893
5832 5894
5833 cat > conftest.$ac_ext <<EOF 5895 cat > conftest.$ac_ext <<EOF
5834 #line 5835 "configure" 5896 #line 5897 "configure"
5835 #include "confdefs.h" 5897 #include "confdefs.h"
5836 #include <glade/glade-xml.h> 5898 #include <glade/glade-xml.h>
5837 EOF 5899 EOF
5838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5839 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5901 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5888 # If we find X, set shell vars x_includes and x_libraries to the 5950 # If we find X, set shell vars x_includes and x_libraries to the
5889 # paths, otherwise set no_x=yes. 5951 # paths, otherwise set no_x=yes.
5890 # Uses ac_ vars as temps to allow command line to override cache and checks. 5952 # Uses ac_ vars as temps to allow command line to override cache and checks.
5891 # --without-x overrides everything else, but does not touch the cache. 5953 # --without-x overrides everything else, but does not touch the cache.
5892 echo $ac_n "checking for X""... $ac_c" 1>&6 5954 echo $ac_n "checking for X""... $ac_c" 1>&6
5893 echo "configure:5894: checking for X" >&5 5955 echo "configure:5956: checking for X" >&5
5894 5956
5895 # Check whether --with-x or --without-x was given. 5957 # Check whether --with-x or --without-x was given.
5896 if test "${with_x+set}" = set; then 5958 if test "${with_x+set}" = set; then
5897 withval="$with_x" 5959 withval="$with_x"
5898 : 5960 :
5948 # Guess where to find include files, by looking for this one X11 .h file. 6010 # Guess where to find include files, by looking for this one X11 .h file.
5949 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 6011 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5950 6012
5951 # First, try using that file with no special directory specified. 6013 # First, try using that file with no special directory specified.
5952 cat > conftest.$ac_ext <<EOF 6014 cat > conftest.$ac_ext <<EOF
5953 #line 5954 "configure" 6015 #line 6016 "configure"
5954 #include "confdefs.h" 6016 #include "confdefs.h"
5955 #include <$x_direct_test_include> 6017 #include <$x_direct_test_include>
5956 EOF 6018 EOF
5957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5958 { (eval echo configure:5959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6020 { (eval echo configure:6021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5960 if test -z "$ac_err"; then 6022 if test -z "$ac_err"; then
5961 rm -rf conftest* 6023 rm -rf conftest*
5962 # We can compile using X headers with no special include directory. 6024 # We can compile using X headers with no special include directory.
5963 ac_x_includes= 6025 ac_x_includes=
6022 # See if we find them without any special options. 6084 # See if we find them without any special options.
6023 # Don't add to $LIBS permanently. 6085 # Don't add to $LIBS permanently.
6024 ac_save_LIBS="$LIBS" 6086 ac_save_LIBS="$LIBS"
6025 LIBS="-l$x_direct_test_library $LIBS" 6087 LIBS="-l$x_direct_test_library $LIBS"
6026 cat > conftest.$ac_ext <<EOF 6088 cat > conftest.$ac_ext <<EOF
6027 #line 6028 "configure" 6089 #line 6090 "configure"
6028 #include "confdefs.h" 6090 #include "confdefs.h"
6029 6091
6030 int main() { 6092 int main() {
6031 ${x_direct_test_function}() 6093 ${x_direct_test_function}()
6032 ; return 0; } 6094 ; return 0; }
6033 EOF 6095 EOF
6034 if { (eval echo configure:6035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6096 if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6035 rm -rf conftest* 6097 rm -rf conftest*
6036 LIBS="$ac_save_LIBS" 6098 LIBS="$ac_save_LIBS"
6037 # We can link X programs with no special library path. 6099 # We can link X programs with no special library path.
6038 ac_x_libraries= 6100 ac_x_libraries=
6039 else 6101 else
6138 # For Solaris; some versions of Sun CC require a space after -R and 6200 # For Solaris; some versions of Sun CC require a space after -R and
6139 # others require no space. Words are not sufficient . . . . 6201 # others require no space. Words are not sufficient . . . .
6140 case "`(uname -sr) 2>/dev/null`" in 6202 case "`(uname -sr) 2>/dev/null`" in
6141 "SunOS 5"*) 6203 "SunOS 5"*)
6142 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 6204 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6143 echo "configure:6144: checking whether -R must be followed by a space" >&5 6205 echo "configure:6206: checking whether -R must be followed by a space" >&5
6144 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 6206 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
6145 cat > conftest.$ac_ext <<EOF 6207 cat > conftest.$ac_ext <<EOF
6146 #line 6147 "configure" 6208 #line 6209 "configure"
6147 #include "confdefs.h" 6209 #include "confdefs.h"
6148 6210
6149 int main() { 6211 int main() {
6150 6212
6151 ; return 0; } 6213 ; return 0; }
6152 EOF 6214 EOF
6153 if { (eval echo configure:6154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6215 if { (eval echo configure:6216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6154 rm -rf conftest* 6216 rm -rf conftest*
6155 ac_R_nospace=yes 6217 ac_R_nospace=yes
6156 else 6218 else
6157 echo "configure: failed program was:" >&5 6219 echo "configure: failed program was:" >&5
6158 cat conftest.$ac_ext >&5 6220 cat conftest.$ac_ext >&5
6164 echo "$ac_t""no" 1>&6 6226 echo "$ac_t""no" 1>&6
6165 X_LIBS="$X_LIBS -R$x_libraries" 6227 X_LIBS="$X_LIBS -R$x_libraries"
6166 else 6228 else
6167 LIBS="$ac_xsave_LIBS -R $x_libraries" 6229 LIBS="$ac_xsave_LIBS -R $x_libraries"
6168 cat > conftest.$ac_ext <<EOF 6230 cat > conftest.$ac_ext <<EOF
6169 #line 6170 "configure" 6231 #line 6232 "configure"
6170 #include "confdefs.h" 6232 #include "confdefs.h"
6171 6233
6172 int main() { 6234 int main() {
6173 6235
6174 ; return 0; } 6236 ; return 0; }
6175 EOF 6237 EOF
6176 if { (eval echo configure:6177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6177 rm -rf conftest* 6239 rm -rf conftest*
6178 ac_R_space=yes 6240 ac_R_space=yes
6179 else 6241 else
6180 echo "configure: failed program was:" >&5 6242 echo "configure: failed program was:" >&5
6181 cat conftest.$ac_ext >&5 6243 cat conftest.$ac_ext >&5
6207 if test "$with_dnet" = "no" ; then 6269 if test "$with_dnet" = "no" ; then
6208 ac_cv_lib_dnet_dnet_ntoa=no 6270 ac_cv_lib_dnet_dnet_ntoa=no
6209 else 6271 else
6210 6272
6211 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 6273 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6212 echo "configure:6213: checking for dnet_ntoa in -ldnet" >&5 6274 echo "configure:6275: checking for dnet_ntoa in -ldnet" >&5
6213 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6275 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6214 6276
6215 xe_check_libs=" -ldnet " 6277 xe_check_libs=" -ldnet "
6216 cat > conftest.$ac_ext <<EOF 6278 cat > conftest.$ac_ext <<EOF
6217 #line 6218 "configure" 6279 #line 6280 "configure"
6218 #include "confdefs.h" 6280 #include "confdefs.h"
6219 /* Override any gcc2 internal prototype to avoid an error. */ 6281 /* Override any gcc2 internal prototype to avoid an error. */
6220 /* We use char because int might match the return type of a gcc2 6282 /* We use char because int might match the return type of a gcc2
6221 builtin and then its argument prototype would still apply. */ 6283 builtin and then its argument prototype would still apply. */
6222 char dnet_ntoa(); 6284 char dnet_ntoa();
6223 6285
6224 int main() { 6286 int main() {
6225 dnet_ntoa() 6287 dnet_ntoa()
6226 ; return 0; } 6288 ; return 0; }
6227 EOF 6289 EOF
6228 if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6290 if { (eval echo configure:6291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6229 rm -rf conftest* 6291 rm -rf conftest*
6230 eval "ac_cv_lib_$ac_lib_var=yes" 6292 eval "ac_cv_lib_$ac_lib_var=yes"
6231 else 6293 else
6232 echo "configure: failed program was:" >&5 6294 echo "configure: failed program was:" >&5
6233 cat conftest.$ac_ext >&5 6295 cat conftest.$ac_ext >&5
6247 fi 6309 fi
6248 6310
6249 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6311 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
6250 6312
6251 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 6313 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6252 echo "configure:6253: checking for dnet_ntoa in -ldnet_stub" >&5 6314 echo "configure:6315: checking for dnet_ntoa in -ldnet_stub" >&5
6253 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 6315 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6254 6316
6255 xe_check_libs=" -ldnet_stub " 6317 xe_check_libs=" -ldnet_stub "
6256 cat > conftest.$ac_ext <<EOF 6318 cat > conftest.$ac_ext <<EOF
6257 #line 6258 "configure" 6319 #line 6320 "configure"
6258 #include "confdefs.h" 6320 #include "confdefs.h"
6259 /* Override any gcc2 internal prototype to avoid an error. */ 6321 /* Override any gcc2 internal prototype to avoid an error. */
6260 /* We use char because int might match the return type of a gcc2 6322 /* We use char because int might match the return type of a gcc2
6261 builtin and then its argument prototype would still apply. */ 6323 builtin and then its argument prototype would still apply. */
6262 char dnet_ntoa(); 6324 char dnet_ntoa();
6263 6325
6264 int main() { 6326 int main() {
6265 dnet_ntoa() 6327 dnet_ntoa()
6266 ; return 0; } 6328 ; return 0; }
6267 EOF 6329 EOF
6268 if { (eval echo configure:6269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6269 rm -rf conftest* 6331 rm -rf conftest*
6270 eval "ac_cv_lib_$ac_lib_var=yes" 6332 eval "ac_cv_lib_$ac_lib_var=yes"
6271 else 6333 else
6272 echo "configure: failed program was:" >&5 6334 echo "configure: failed program was:" >&5
6273 cat conftest.$ac_ext >&5 6335 cat conftest.$ac_ext >&5
6292 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 6354 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
6293 # needs -lnsl. 6355 # needs -lnsl.
6294 # The nsl library prevents programs from opening the X display 6356 # The nsl library prevents programs from opening the X display
6295 # on Irix 5.2, according to dickey@clark.net. 6357 # on Irix 5.2, according to dickey@clark.net.
6296 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 6358 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
6297 echo "configure:6298: checking for gethostbyname" >&5 6359 echo "configure:6360: checking for gethostbyname" >&5
6298 6360
6299 cat > conftest.$ac_ext <<EOF 6361 cat > conftest.$ac_ext <<EOF
6300 #line 6301 "configure" 6362 #line 6363 "configure"
6301 #include "confdefs.h" 6363 #include "confdefs.h"
6302 /* System header to define __stub macros and hopefully few prototypes, 6364 /* System header to define __stub macros and hopefully few prototypes,
6303 which can conflict with char gethostbyname(); below. */ 6365 which can conflict with char gethostbyname(); below. */
6304 #include <assert.h> 6366 #include <assert.h>
6305 /* Override any gcc2 internal prototype to avoid an error. */ 6367 /* Override any gcc2 internal prototype to avoid an error. */
6318 gethostbyname(); 6380 gethostbyname();
6319 #endif 6381 #endif
6320 6382
6321 ; return 0; } 6383 ; return 0; }
6322 EOF 6384 EOF
6323 if { (eval echo configure:6324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6324 rm -rf conftest* 6386 rm -rf conftest*
6325 eval "ac_cv_func_gethostbyname=yes" 6387 eval "ac_cv_func_gethostbyname=yes"
6326 else 6388 else
6327 echo "configure: failed program was:" >&5 6389 echo "configure: failed program was:" >&5
6328 cat conftest.$ac_ext >&5 6390 cat conftest.$ac_ext >&5
6339 fi 6401 fi
6340 6402
6341 if test $ac_cv_func_gethostbyname = no; then 6403 if test $ac_cv_func_gethostbyname = no; then
6342 6404
6343 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6405 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6344 echo "configure:6345: checking for gethostbyname in -lnsl" >&5 6406 echo "configure:6407: checking for gethostbyname in -lnsl" >&5
6345 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6407 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6346 6408
6347 xe_check_libs=" -lnsl " 6409 xe_check_libs=" -lnsl "
6348 cat > conftest.$ac_ext <<EOF 6410 cat > conftest.$ac_ext <<EOF
6349 #line 6350 "configure" 6411 #line 6412 "configure"
6350 #include "confdefs.h" 6412 #include "confdefs.h"
6351 /* Override any gcc2 internal prototype to avoid an error. */ 6413 /* Override any gcc2 internal prototype to avoid an error. */
6352 /* We use char because int might match the return type of a gcc2 6414 /* We use char because int might match the return type of a gcc2
6353 builtin and then its argument prototype would still apply. */ 6415 builtin and then its argument prototype would still apply. */
6354 char gethostbyname(); 6416 char gethostbyname();
6355 6417
6356 int main() { 6418 int main() {
6357 gethostbyname() 6419 gethostbyname()
6358 ; return 0; } 6420 ; return 0; }
6359 EOF 6421 EOF
6360 if { (eval echo configure:6361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6422 if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6361 rm -rf conftest* 6423 rm -rf conftest*
6362 eval "ac_cv_lib_$ac_lib_var=yes" 6424 eval "ac_cv_lib_$ac_lib_var=yes"
6363 else 6425 else
6364 echo "configure: failed program was:" >&5 6426 echo "configure: failed program was:" >&5
6365 cat conftest.$ac_ext >&5 6427 cat conftest.$ac_ext >&5
6385 # on later versions), says simon@lia.di.epfl.ch: it contains 6447 # on later versions), says simon@lia.di.epfl.ch: it contains
6386 # gethostby* variants that don't use the nameserver (or something). 6448 # gethostby* variants that don't use the nameserver (or something).
6387 # -lsocket must be given before -lnsl if both are needed. 6449 # -lsocket must be given before -lnsl if both are needed.
6388 # We assume that if connect needs -lnsl, so does gethostbyname. 6450 # We assume that if connect needs -lnsl, so does gethostbyname.
6389 echo $ac_n "checking for connect""... $ac_c" 1>&6 6451 echo $ac_n "checking for connect""... $ac_c" 1>&6
6390 echo "configure:6391: checking for connect" >&5 6452 echo "configure:6453: checking for connect" >&5
6391 6453
6392 cat > conftest.$ac_ext <<EOF 6454 cat > conftest.$ac_ext <<EOF
6393 #line 6394 "configure" 6455 #line 6456 "configure"
6394 #include "confdefs.h" 6456 #include "confdefs.h"
6395 /* System header to define __stub macros and hopefully few prototypes, 6457 /* System header to define __stub macros and hopefully few prototypes,
6396 which can conflict with char connect(); below. */ 6458 which can conflict with char connect(); below. */
6397 #include <assert.h> 6459 #include <assert.h>
6398 /* Override any gcc2 internal prototype to avoid an error. */ 6460 /* Override any gcc2 internal prototype to avoid an error. */
6411 connect(); 6473 connect();
6412 #endif 6474 #endif
6413 6475
6414 ; return 0; } 6476 ; return 0; }
6415 EOF 6477 EOF
6416 if { (eval echo configure:6417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6478 if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6417 rm -rf conftest* 6479 rm -rf conftest*
6418 eval "ac_cv_func_connect=yes" 6480 eval "ac_cv_func_connect=yes"
6419 else 6481 else
6420 echo "configure: failed program was:" >&5 6482 echo "configure: failed program was:" >&5
6421 cat conftest.$ac_ext >&5 6483 cat conftest.$ac_ext >&5
6434 if test $ac_cv_func_connect = no; then 6496 if test $ac_cv_func_connect = no; then
6435 6497
6436 xe_msg_checking="for connect in -lsocket" 6498 xe_msg_checking="for connect in -lsocket"
6437 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6499 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6438 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6500 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6439 echo "configure:6440: checking "$xe_msg_checking"" >&5 6501 echo "configure:6502: checking "$xe_msg_checking"" >&5
6440 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6502 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6441 6503
6442 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6504 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6443 cat > conftest.$ac_ext <<EOF 6505 cat > conftest.$ac_ext <<EOF
6444 #line 6445 "configure" 6506 #line 6507 "configure"
6445 #include "confdefs.h" 6507 #include "confdefs.h"
6446 /* Override any gcc2 internal prototype to avoid an error. */ 6508 /* Override any gcc2 internal prototype to avoid an error. */
6447 /* We use char because int might match the return type of a gcc2 6509 /* We use char because int might match the return type of a gcc2
6448 builtin and then its argument prototype would still apply. */ 6510 builtin and then its argument prototype would still apply. */
6449 char connect(); 6511 char connect();
6450 6512
6451 int main() { 6513 int main() {
6452 connect() 6514 connect()
6453 ; return 0; } 6515 ; return 0; }
6454 EOF 6516 EOF
6455 if { (eval echo configure:6456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6517 if { (eval echo configure:6518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6456 rm -rf conftest* 6518 rm -rf conftest*
6457 eval "ac_cv_lib_$ac_lib_var=yes" 6519 eval "ac_cv_lib_$ac_lib_var=yes"
6458 else 6520 else
6459 echo "configure: failed program was:" >&5 6521 echo "configure: failed program was:" >&5
6460 cat conftest.$ac_ext >&5 6522 cat conftest.$ac_ext >&5
6474 6536
6475 fi 6537 fi
6476 6538
6477 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6539 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6478 echo $ac_n "checking for remove""... $ac_c" 1>&6 6540 echo $ac_n "checking for remove""... $ac_c" 1>&6
6479 echo "configure:6480: checking for remove" >&5 6541 echo "configure:6542: checking for remove" >&5
6480 6542
6481 cat > conftest.$ac_ext <<EOF 6543 cat > conftest.$ac_ext <<EOF
6482 #line 6483 "configure" 6544 #line 6545 "configure"
6483 #include "confdefs.h" 6545 #include "confdefs.h"
6484 /* System header to define __stub macros and hopefully few prototypes, 6546 /* System header to define __stub macros and hopefully few prototypes,
6485 which can conflict with char remove(); below. */ 6547 which can conflict with char remove(); below. */
6486 #include <assert.h> 6548 #include <assert.h>
6487 /* Override any gcc2 internal prototype to avoid an error. */ 6549 /* Override any gcc2 internal prototype to avoid an error. */
6500 remove(); 6562 remove();
6501 #endif 6563 #endif
6502 6564
6503 ; return 0; } 6565 ; return 0; }
6504 EOF 6566 EOF
6505 if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6567 if { (eval echo configure:6568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6506 rm -rf conftest* 6568 rm -rf conftest*
6507 eval "ac_cv_func_remove=yes" 6569 eval "ac_cv_func_remove=yes"
6508 else 6570 else
6509 echo "configure: failed program was:" >&5 6571 echo "configure: failed program was:" >&5
6510 cat conftest.$ac_ext >&5 6572 cat conftest.$ac_ext >&5
6521 fi 6583 fi
6522 6584
6523 if test $ac_cv_func_remove = no; then 6585 if test $ac_cv_func_remove = no; then
6524 6586
6525 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6587 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6526 echo "configure:6527: checking for remove in -lposix" >&5 6588 echo "configure:6589: checking for remove in -lposix" >&5
6527 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6589 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6528 6590
6529 xe_check_libs=" -lposix " 6591 xe_check_libs=" -lposix "
6530 cat > conftest.$ac_ext <<EOF 6592 cat > conftest.$ac_ext <<EOF
6531 #line 6532 "configure" 6593 #line 6594 "configure"
6532 #include "confdefs.h" 6594 #include "confdefs.h"
6533 /* Override any gcc2 internal prototype to avoid an error. */ 6595 /* Override any gcc2 internal prototype to avoid an error. */
6534 /* We use char because int might match the return type of a gcc2 6596 /* We use char because int might match the return type of a gcc2
6535 builtin and then its argument prototype would still apply. */ 6597 builtin and then its argument prototype would still apply. */
6536 char remove(); 6598 char remove();
6537 6599
6538 int main() { 6600 int main() {
6539 remove() 6601 remove()
6540 ; return 0; } 6602 ; return 0; }
6541 EOF 6603 EOF
6542 if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6604 if { (eval echo configure:6605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6543 rm -rf conftest* 6605 rm -rf conftest*
6544 eval "ac_cv_lib_$ac_lib_var=yes" 6606 eval "ac_cv_lib_$ac_lib_var=yes"
6545 else 6607 else
6546 echo "configure: failed program was:" >&5 6608 echo "configure: failed program was:" >&5
6547 cat conftest.$ac_ext >&5 6609 cat conftest.$ac_ext >&5
6561 6623
6562 fi 6624 fi
6563 6625
6564 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6626 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6565 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6627 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6566 echo "configure:6567: checking for shmat" >&5 6628 echo "configure:6629: checking for shmat" >&5
6567 6629
6568 cat > conftest.$ac_ext <<EOF 6630 cat > conftest.$ac_ext <<EOF
6569 #line 6570 "configure" 6631 #line 6632 "configure"
6570 #include "confdefs.h" 6632 #include "confdefs.h"
6571 /* System header to define __stub macros and hopefully few prototypes, 6633 /* System header to define __stub macros and hopefully few prototypes,
6572 which can conflict with char shmat(); below. */ 6634 which can conflict with char shmat(); below. */
6573 #include <assert.h> 6635 #include <assert.h>
6574 /* Override any gcc2 internal prototype to avoid an error. */ 6636 /* Override any gcc2 internal prototype to avoid an error. */
6587 shmat(); 6649 shmat();
6588 #endif 6650 #endif
6589 6651
6590 ; return 0; } 6652 ; return 0; }
6591 EOF 6653 EOF
6592 if { (eval echo configure:6593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6654 if { (eval echo configure:6655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6593 rm -rf conftest* 6655 rm -rf conftest*
6594 eval "ac_cv_func_shmat=yes" 6656 eval "ac_cv_func_shmat=yes"
6595 else 6657 else
6596 echo "configure: failed program was:" >&5 6658 echo "configure: failed program was:" >&5
6597 cat conftest.$ac_ext >&5 6659 cat conftest.$ac_ext >&5
6608 fi 6670 fi
6609 6671
6610 if test $ac_cv_func_shmat = no; then 6672 if test $ac_cv_func_shmat = no; then
6611 6673
6612 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6674 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6613 echo "configure:6614: checking for shmat in -lipc" >&5 6675 echo "configure:6676: checking for shmat in -lipc" >&5
6614 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6676 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6615 6677
6616 xe_check_libs=" -lipc " 6678 xe_check_libs=" -lipc "
6617 cat > conftest.$ac_ext <<EOF 6679 cat > conftest.$ac_ext <<EOF
6618 #line 6619 "configure" 6680 #line 6681 "configure"
6619 #include "confdefs.h" 6681 #include "confdefs.h"
6620 /* Override any gcc2 internal prototype to avoid an error. */ 6682 /* Override any gcc2 internal prototype to avoid an error. */
6621 /* We use char because int might match the return type of a gcc2 6683 /* We use char because int might match the return type of a gcc2
6622 builtin and then its argument prototype would still apply. */ 6684 builtin and then its argument prototype would still apply. */
6623 char shmat(); 6685 char shmat();
6624 6686
6625 int main() { 6687 int main() {
6626 shmat() 6688 shmat()
6627 ; return 0; } 6689 ; return 0; }
6628 EOF 6690 EOF
6629 if { (eval echo configure:6630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6691 if { (eval echo configure:6692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6630 rm -rf conftest* 6692 rm -rf conftest*
6631 eval "ac_cv_lib_$ac_lib_var=yes" 6693 eval "ac_cv_lib_$ac_lib_var=yes"
6632 else 6694 else
6633 echo "configure: failed program was:" >&5 6695 echo "configure: failed program was:" >&5
6634 cat conftest.$ac_ext >&5 6696 cat conftest.$ac_ext >&5
6660 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6722 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6661 6723
6662 xe_msg_checking="for IceConnectionNumber in -lICE" 6724 xe_msg_checking="for IceConnectionNumber in -lICE"
6663 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6725 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6664 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6726 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6665 echo "configure:6666: checking "$xe_msg_checking"" >&5 6727 echo "configure:6728: checking "$xe_msg_checking"" >&5
6666 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6728 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6667 6729
6668 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6730 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6669 cat > conftest.$ac_ext <<EOF 6731 cat > conftest.$ac_ext <<EOF
6670 #line 6671 "configure" 6732 #line 6733 "configure"
6671 #include "confdefs.h" 6733 #include "confdefs.h"
6672 /* Override any gcc2 internal prototype to avoid an error. */ 6734 /* Override any gcc2 internal prototype to avoid an error. */
6673 /* We use char because int might match the return type of a gcc2 6735 /* We use char because int might match the return type of a gcc2
6674 builtin and then its argument prototype would still apply. */ 6736 builtin and then its argument prototype would still apply. */
6675 char IceConnectionNumber(); 6737 char IceConnectionNumber();
6676 6738
6677 int main() { 6739 int main() {
6678 IceConnectionNumber() 6740 IceConnectionNumber()
6679 ; return 0; } 6741 ; return 0; }
6680 EOF 6742 EOF
6681 if { (eval echo configure:6682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6743 if { (eval echo configure:6744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6682 rm -rf conftest* 6744 rm -rf conftest*
6683 eval "ac_cv_lib_$ac_lib_var=yes" 6745 eval "ac_cv_lib_$ac_lib_var=yes"
6684 else 6746 else
6685 echo "configure: failed program was:" >&5 6747 echo "configure: failed program was:" >&5
6686 cat conftest.$ac_ext >&5 6748 cat conftest.$ac_ext >&5
6722 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 6784 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
6723 6785
6724 6786
6725 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 6787 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
6726 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 6788 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
6727 echo "configure:6728: checking for Xm/Xm.h" >&5 6789 echo "configure:6790: checking for Xm/Xm.h" >&5
6728 6790
6729 cat > conftest.$ac_ext <<EOF 6791 cat > conftest.$ac_ext <<EOF
6730 #line 6731 "configure" 6792 #line 6793 "configure"
6731 #include "confdefs.h" 6793 #include "confdefs.h"
6732 #include <Xm/Xm.h> 6794 #include <Xm/Xm.h>
6733 EOF 6795 EOF
6734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6735 { (eval echo configure:6736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6797 { (eval echo configure:6798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6798 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6737 if test -z "$ac_err"; then 6799 if test -z "$ac_err"; then
6738 rm -rf conftest* 6800 rm -rf conftest*
6739 eval "ac_cv_header_$ac_safe=yes" 6801 eval "ac_cv_header_$ac_safe=yes"
6740 else 6802 else
6747 rm -f conftest* 6809 rm -f conftest*
6748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 6810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6749 echo "$ac_t""yes" 1>&6 6811 echo "$ac_t""yes" 1>&6
6750 6812
6751 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 6813 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
6752 echo "configure:6753: checking for XmStringFree in -lXm" >&5 6814 echo "configure:6815: checking for XmStringFree in -lXm" >&5
6753 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 6815 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
6754 6816
6755 xe_check_libs=" -lXm " 6817 xe_check_libs=" -lXm "
6756 cat > conftest.$ac_ext <<EOF 6818 cat > conftest.$ac_ext <<EOF
6757 #line 6758 "configure" 6819 #line 6820 "configure"
6758 #include "confdefs.h" 6820 #include "confdefs.h"
6759 /* Override any gcc2 internal prototype to avoid an error. */ 6821 /* Override any gcc2 internal prototype to avoid an error. */
6760 /* We use char because int might match the return type of a gcc2 6822 /* We use char because int might match the return type of a gcc2
6761 builtin and then its argument prototype would still apply. */ 6823 builtin and then its argument prototype would still apply. */
6762 char XmStringFree(); 6824 char XmStringFree();
6763 6825
6764 int main() { 6826 int main() {
6765 XmStringFree() 6827 XmStringFree()
6766 ; return 0; } 6828 ; return 0; }
6767 EOF 6829 EOF
6768 if { (eval echo configure:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6830 if { (eval echo configure:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6769 rm -rf conftest* 6831 rm -rf conftest*
6770 eval "ac_cv_lib_$ac_lib_var=yes" 6832 eval "ac_cv_lib_$ac_lib_var=yes"
6771 else 6833 else
6772 echo "configure: failed program was:" >&5 6834 echo "configure: failed program was:" >&5
6773 cat conftest.$ac_ext >&5 6835 cat conftest.$ac_ext >&5
6915 EOF 6977 EOF
6916 } 6978 }
6917 6979
6918 6980
6919 echo "checking for X defines extracted by xmkmf" 1>&6 6981 echo "checking for X defines extracted by xmkmf" 1>&6
6920 echo "configure:6921: checking for X defines extracted by xmkmf" >&5 6982 echo "configure:6983: checking for X defines extracted by xmkmf" >&5
6921 rm -fr conftestdir 6983 rm -fr conftestdir
6922 if mkdir conftestdir; then 6984 if mkdir conftestdir; then
6923 cd conftestdir 6985 cd conftestdir
6924 cat > Imakefile <<'EOF' 6986 cat > Imakefile <<'EOF'
6925 xetest: 6987 xetest:
6964 done 7026 done
6965 fi 7027 fi
6966 7028
6967 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 7029 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6968 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 7030 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6969 echo "configure:6970: checking for X11/Intrinsic.h" >&5 7031 echo "configure:7032: checking for X11/Intrinsic.h" >&5
6970 7032
6971 cat > conftest.$ac_ext <<EOF 7033 cat > conftest.$ac_ext <<EOF
6972 #line 6973 "configure" 7034 #line 7035 "configure"
6973 #include "confdefs.h" 7035 #include "confdefs.h"
6974 #include <X11/Intrinsic.h> 7036 #include <X11/Intrinsic.h>
6975 EOF 7037 EOF
6976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6977 { (eval echo configure:6978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7039 { (eval echo configure:7040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6979 if test -z "$ac_err"; then 7041 if test -z "$ac_err"; then
6980 rm -rf conftest* 7042 rm -rf conftest*
6981 eval "ac_cv_header_$ac_safe=yes" 7043 eval "ac_cv_header_$ac_safe=yes"
6982 else 7044 else
6996 fi 7058 fi
6997 7059
6998 7060
6999 7061
7000 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 7062 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
7001 echo "configure:7002: checking for XOpenDisplay in -lX11" >&5 7063 echo "configure:7064: checking for XOpenDisplay in -lX11" >&5
7002 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 7064 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
7003 7065
7004 xe_check_libs=" -lX11 " 7066 xe_check_libs=" -lX11 "
7005 cat > conftest.$ac_ext <<EOF 7067 cat > conftest.$ac_ext <<EOF
7006 #line 7007 "configure" 7068 #line 7069 "configure"
7007 #include "confdefs.h" 7069 #include "confdefs.h"
7008 /* Override any gcc2 internal prototype to avoid an error. */ 7070 /* Override any gcc2 internal prototype to avoid an error. */
7009 /* We use char because int might match the return type of a gcc2 7071 /* We use char because int might match the return type of a gcc2
7010 builtin and then its argument prototype would still apply. */ 7072 builtin and then its argument prototype would still apply. */
7011 char XOpenDisplay(); 7073 char XOpenDisplay();
7012 7074
7013 int main() { 7075 int main() {
7014 XOpenDisplay() 7076 XOpenDisplay()
7015 ; return 0; } 7077 ; return 0; }
7016 EOF 7078 EOF
7017 if { (eval echo configure:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7079 if { (eval echo configure:7080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7018 rm -rf conftest* 7080 rm -rf conftest*
7019 eval "ac_cv_lib_$ac_lib_var=yes" 7081 eval "ac_cv_lib_$ac_lib_var=yes"
7020 else 7082 else
7021 echo "configure: failed program was:" >&5 7083 echo "configure: failed program was:" >&5
7022 cat conftest.$ac_ext >&5 7084 cat conftest.$ac_ext >&5
7037 if test "$have_lib_x11" != "yes"; then 7099 if test "$have_lib_x11" != "yes"; then
7038 7100
7039 xe_msg_checking="for XGetFontProperty in -lX11" 7101 xe_msg_checking="for XGetFontProperty in -lX11"
7040 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 7102 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
7041 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7103 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7042 echo "configure:7043: checking "$xe_msg_checking"" >&5 7104 echo "configure:7105: checking "$xe_msg_checking"" >&5
7043 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 7105 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
7044 7106
7045 xe_check_libs=" -lX11 -b i486-linuxaout" 7107 xe_check_libs=" -lX11 -b i486-linuxaout"
7046 cat > conftest.$ac_ext <<EOF 7108 cat > conftest.$ac_ext <<EOF
7047 #line 7048 "configure" 7109 #line 7110 "configure"
7048 #include "confdefs.h" 7110 #include "confdefs.h"
7049 /* Override any gcc2 internal prototype to avoid an error. */ 7111 /* Override any gcc2 internal prototype to avoid an error. */
7050 /* We use char because int might match the return type of a gcc2 7112 /* We use char because int might match the return type of a gcc2
7051 builtin and then its argument prototype would still apply. */ 7113 builtin and then its argument prototype would still apply. */
7052 char XGetFontProperty(); 7114 char XGetFontProperty();
7053 7115
7054 int main() { 7116 int main() {
7055 XGetFontProperty() 7117 XGetFontProperty()
7056 ; return 0; } 7118 ; return 0; }
7057 EOF 7119 EOF
7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7059 rm -rf conftest* 7121 rm -rf conftest*
7060 eval "ac_cv_lib_$ac_lib_var=yes" 7122 eval "ac_cv_lib_$ac_lib_var=yes"
7061 else 7123 else
7062 echo "configure: failed program was:" >&5 7124 echo "configure: failed program was:" >&5
7063 cat conftest.$ac_ext >&5 7125 cat conftest.$ac_ext >&5
7080 libs_x="-lX11" 7142 libs_x="-lX11"
7081 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 7143 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
7082 7144
7083 7145
7084 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 7146 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
7085 echo "configure:7086: checking for XShapeSelectInput in -lXext" >&5 7147 echo "configure:7148: checking for XShapeSelectInput in -lXext" >&5
7086 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 7148 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
7087 7149
7088 xe_check_libs=" -lXext " 7150 xe_check_libs=" -lXext "
7089 cat > conftest.$ac_ext <<EOF 7151 cat > conftest.$ac_ext <<EOF
7090 #line 7091 "configure" 7152 #line 7153 "configure"
7091 #include "confdefs.h" 7153 #include "confdefs.h"
7092 /* Override any gcc2 internal prototype to avoid an error. */ 7154 /* Override any gcc2 internal prototype to avoid an error. */
7093 /* We use char because int might match the return type of a gcc2 7155 /* We use char because int might match the return type of a gcc2
7094 builtin and then its argument prototype would still apply. */ 7156 builtin and then its argument prototype would still apply. */
7095 char XShapeSelectInput(); 7157 char XShapeSelectInput();
7096 7158
7097 int main() { 7159 int main() {
7098 XShapeSelectInput() 7160 XShapeSelectInput()
7099 ; return 0; } 7161 ; return 0; }
7100 EOF 7162 EOF
7101 if { (eval echo configure:7102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7163 if { (eval echo configure:7164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7102 rm -rf conftest* 7164 rm -rf conftest*
7103 eval "ac_cv_lib_$ac_lib_var=yes" 7165 eval "ac_cv_lib_$ac_lib_var=yes"
7104 else 7166 else
7105 echo "configure: failed program was:" >&5 7167 echo "configure: failed program was:" >&5
7106 cat conftest.$ac_ext >&5 7168 cat conftest.$ac_ext >&5
7119 7181
7120 7182
7121 7183
7122 7184
7123 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 7185 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
7124 echo "configure:7125: checking for XtOpenDisplay in -lXt" >&5 7186 echo "configure:7187: checking for XtOpenDisplay in -lXt" >&5
7125 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 7187 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
7126 7188
7127 xe_check_libs=" -lXt " 7189 xe_check_libs=" -lXt "
7128 cat > conftest.$ac_ext <<EOF 7190 cat > conftest.$ac_ext <<EOF
7129 #line 7130 "configure" 7191 #line 7192 "configure"
7130 #include "confdefs.h" 7192 #include "confdefs.h"
7131 /* Override any gcc2 internal prototype to avoid an error. */ 7193 /* Override any gcc2 internal prototype to avoid an error. */
7132 /* We use char because int might match the return type of a gcc2 7194 /* We use char because int might match the return type of a gcc2
7133 builtin and then its argument prototype would still apply. */ 7195 builtin and then its argument prototype would still apply. */
7134 char XtOpenDisplay(); 7196 char XtOpenDisplay();
7135 7197
7136 int main() { 7198 int main() {
7137 XtOpenDisplay() 7199 XtOpenDisplay()
7138 ; return 0; } 7200 ; return 0; }
7139 EOF 7201 EOF
7140 if { (eval echo configure:7141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7202 if { (eval echo configure:7203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7141 rm -rf conftest* 7203 rm -rf conftest*
7142 eval "ac_cv_lib_$ac_lib_var=yes" 7204 eval "ac_cv_lib_$ac_lib_var=yes"
7143 else 7205 else
7144 echo "configure: failed program was:" >&5 7206 echo "configure: failed program was:" >&5
7145 cat conftest.$ac_ext >&5 7207 cat conftest.$ac_ext >&5
7158 fi 7220 fi
7159 7221
7160 7222
7161 7223
7162 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 7224 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
7163 echo "configure:7164: checking the version of X11 being used" >&5 7225 echo "configure:7226: checking the version of X11 being used" >&5
7164 cat > conftest.$ac_ext <<EOF 7226 cat > conftest.$ac_ext <<EOF
7165 #line 7166 "configure" 7227 #line 7228 "configure"
7166 #include "confdefs.h" 7228 #include "confdefs.h"
7167 #include <X11/Intrinsic.h> 7229 #include <X11/Intrinsic.h>
7168 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 7230 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
7169 EOF 7231 EOF
7170 if { (eval echo configure:7171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7171 then 7233 then
7172 ./conftest foobar; x11_release=$? 7234 ./conftest foobar; x11_release=$?
7173 else 7235 else
7174 conftest_rc="$?" 7236 conftest_rc="$?"
7175 echo "configure: failed program was:" >&5 7237 echo "configure: failed program was:" >&5
7196 fi 7258 fi
7197 7259
7198 for ac_func in XConvertCase 7260 for ac_func in XConvertCase
7199 do 7261 do
7200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7201 echo "configure:7202: checking for $ac_func" >&5 7263 echo "configure:7264: checking for $ac_func" >&5
7202 7264
7203 cat > conftest.$ac_ext <<EOF 7265 cat > conftest.$ac_ext <<EOF
7204 #line 7205 "configure" 7266 #line 7267 "configure"
7205 #include "confdefs.h" 7267 #include "confdefs.h"
7206 /* System header to define __stub macros and hopefully few prototypes, 7268 /* System header to define __stub macros and hopefully few prototypes,
7207 which can conflict with char $ac_func(); below. */ 7269 which can conflict with char $ac_func(); below. */
7208 #include <assert.h> 7270 #include <assert.h>
7209 /* Override any gcc2 internal prototype to avoid an error. */ 7271 /* Override any gcc2 internal prototype to avoid an error. */
7222 $ac_func(); 7284 $ac_func();
7223 #endif 7285 #endif
7224 7286
7225 ; return 0; } 7287 ; return 0; }
7226 EOF 7288 EOF
7227 if { (eval echo configure:7228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7289 if { (eval echo configure:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7228 rm -rf conftest* 7290 rm -rf conftest*
7229 eval "ac_cv_func_$ac_func=yes" 7291 eval "ac_cv_func_$ac_func=yes"
7230 else 7292 else
7231 echo "configure: failed program was:" >&5 7293 echo "configure: failed program was:" >&5
7232 cat conftest.$ac_ext >&5 7294 cat conftest.$ac_ext >&5
7254 7316
7255 for ac_hdr in X11/Xlocale.h 7317 for ac_hdr in X11/Xlocale.h
7256 do 7318 do
7257 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7319 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7258 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7259 echo "configure:7260: checking for $ac_hdr" >&5 7321 echo "configure:7322: checking for $ac_hdr" >&5
7260 7322
7261 cat > conftest.$ac_ext <<EOF 7323 cat > conftest.$ac_ext <<EOF
7262 #line 7263 "configure" 7324 #line 7325 "configure"
7263 #include "confdefs.h" 7325 #include "confdefs.h"
7264 #include <$ac_hdr> 7326 #include <$ac_hdr>
7265 EOF 7327 EOF
7266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7267 { (eval echo configure:7268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7329 { (eval echo configure:7330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7269 if test -z "$ac_err"; then 7331 if test -z "$ac_err"; then
7270 rm -rf conftest* 7332 rm -rf conftest*
7271 eval "ac_cv_header_$ac_safe=yes" 7333 eval "ac_cv_header_$ac_safe=yes"
7272 else 7334 else
7295 7357
7296 7358
7297 for ac_func in XRegisterIMInstantiateCallback 7359 for ac_func in XRegisterIMInstantiateCallback
7298 do 7360 do
7299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7300 echo "configure:7301: checking for $ac_func" >&5 7362 echo "configure:7363: checking for $ac_func" >&5
7301 7363
7302 cat > conftest.$ac_ext <<EOF 7364 cat > conftest.$ac_ext <<EOF
7303 #line 7304 "configure" 7365 #line 7366 "configure"
7304 #include "confdefs.h" 7366 #include "confdefs.h"
7305 /* System header to define __stub macros and hopefully few prototypes, 7367 /* System header to define __stub macros and hopefully few prototypes,
7306 which can conflict with char $ac_func(); below. */ 7368 which can conflict with char $ac_func(); below. */
7307 #include <assert.h> 7369 #include <assert.h>
7308 /* Override any gcc2 internal prototype to avoid an error. */ 7370 /* Override any gcc2 internal prototype to avoid an error. */
7321 $ac_func(); 7383 $ac_func();
7322 #endif 7384 #endif
7323 7385
7324 ; return 0; } 7386 ; return 0; }
7325 EOF 7387 EOF
7326 if { (eval echo configure:7327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7327 rm -rf conftest* 7389 rm -rf conftest*
7328 eval "ac_cv_func_$ac_func=yes" 7390 eval "ac_cv_func_$ac_func=yes"
7329 else 7391 else
7330 echo "configure: failed program was:" >&5 7392 echo "configure: failed program was:" >&5
7331 cat conftest.$ac_ext >&5 7393 cat conftest.$ac_ext >&5
7349 echo "$ac_t""no" 1>&6 7411 echo "$ac_t""no" 1>&6
7350 fi 7412 fi
7351 done 7413 done
7352 7414
7353 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 7415 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
7354 echo "configure:7355: checking for standard XRegisterIMInstantiateCallback prototype" >&5 7416 echo "configure:7417: checking for standard XRegisterIMInstantiateCallback prototype" >&5
7355 cat > conftest.$ac_ext <<EOF 7417 cat > conftest.$ac_ext <<EOF
7356 #line 7357 "configure" 7418 #line 7419 "configure"
7357 #include "confdefs.h" 7419 #include "confdefs.h"
7358 7420
7359 #define NeedFunctionPrototypes 1 7421 #define NeedFunctionPrototypes 1
7360 #include <X11/Xlib.h> 7422 #include <X11/Xlib.h>
7361 extern Bool XRegisterIMInstantiateCallback( 7423 extern Bool XRegisterIMInstantiateCallback(
7363 7425
7364 int main() { 7426 int main() {
7365 7427
7366 ; return 0; } 7428 ; return 0; }
7367 EOF 7429 EOF
7368 if { (eval echo configure:7369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7430 if { (eval echo configure:7431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7369 rm -rf conftest* 7431 rm -rf conftest*
7370 echo "$ac_t""yes" 1>&6 7432 echo "$ac_t""yes" 1>&6
7371 else 7433 else
7372 echo "configure: failed program was:" >&5 7434 echo "configure: failed program was:" >&5
7373 cat conftest.$ac_ext >&5 7435 cat conftest.$ac_ext >&5
7384 fi 7446 fi
7385 rm -f conftest* 7447 rm -f conftest*
7386 7448
7387 test -z "$with_xmu" && { 7449 test -z "$with_xmu" && {
7388 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 7450 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
7389 echo "configure:7390: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 7451 echo "configure:7452: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
7390 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 7452 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
7391 7453
7392 xe_check_libs=" -lXmu " 7454 xe_check_libs=" -lXmu "
7393 cat > conftest.$ac_ext <<EOF 7455 cat > conftest.$ac_ext <<EOF
7394 #line 7395 "configure" 7456 #line 7457 "configure"
7395 #include "confdefs.h" 7457 #include "confdefs.h"
7396 /* Override any gcc2 internal prototype to avoid an error. */ 7458 /* Override any gcc2 internal prototype to avoid an error. */
7397 /* We use char because int might match the return type of a gcc2 7459 /* We use char because int might match the return type of a gcc2
7398 builtin and then its argument prototype would still apply. */ 7460 builtin and then its argument prototype would still apply. */
7399 char XmuReadBitmapDataFromFile(); 7461 char XmuReadBitmapDataFromFile();
7400 7462
7401 int main() { 7463 int main() {
7402 XmuReadBitmapDataFromFile() 7464 XmuReadBitmapDataFromFile()
7403 ; return 0; } 7465 ; return 0; }
7404 EOF 7466 EOF
7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7467 if { (eval echo configure:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7406 rm -rf conftest* 7468 rm -rf conftest*
7407 eval "ac_cv_lib_$ac_lib_var=yes" 7469 eval "ac_cv_lib_$ac_lib_var=yes"
7408 else 7470 else
7409 echo "configure: failed program was:" >&5 7471 echo "configure: failed program was:" >&5
7410 cat conftest.$ac_ext >&5 7472 cat conftest.$ac_ext >&5
7439 7501
7440 fi 7502 fi
7441 7503
7442 7504
7443 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7505 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7444 echo "configure:7445: checking for main in -lXbsd" >&5 7506 echo "configure:7507: checking for main in -lXbsd" >&5
7445 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7507 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7446 7508
7447 xe_check_libs=" -lXbsd " 7509 xe_check_libs=" -lXbsd "
7448 cat > conftest.$ac_ext <<EOF 7510 cat > conftest.$ac_ext <<EOF
7449 #line 7450 "configure" 7511 #line 7512 "configure"
7450 #include "confdefs.h" 7512 #include "confdefs.h"
7451 7513
7452 int main() { 7514 int main() {
7453 main() 7515 main()
7454 ; return 0; } 7516 ; return 0; }
7455 EOF 7517 EOF
7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7518 if { (eval echo configure:7519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7457 rm -rf conftest* 7519 rm -rf conftest*
7458 eval "ac_cv_lib_$ac_lib_var=yes" 7520 eval "ac_cv_lib_$ac_lib_var=yes"
7459 else 7521 else
7460 echo "configure: failed program was:" >&5 7522 echo "configure: failed program was:" >&5
7461 cat conftest.$ac_ext >&5 7523 cat conftest.$ac_ext >&5
7488 fi 7550 fi
7489 7551
7490 fi 7552 fi
7491 if test "$with_msw" != "no"; then 7553 if test "$with_msw" != "no"; then
7492 echo "checking for MS-Windows" 1>&6 7554 echo "checking for MS-Windows" 1>&6
7493 echo "configure:7494: checking for MS-Windows" >&5 7555 echo "configure:7556: checking for MS-Windows" >&5
7494 7556
7495 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7557 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7496 echo "configure:7497: checking for main in -lgdi32" >&5 7558 echo "configure:7559: checking for main in -lgdi32" >&5
7497 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7559 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7498 7560
7499 xe_check_libs=" -lgdi32 " 7561 xe_check_libs=" -lgdi32 "
7500 cat > conftest.$ac_ext <<EOF 7562 cat > conftest.$ac_ext <<EOF
7501 #line 7502 "configure" 7563 #line 7564 "configure"
7502 #include "confdefs.h" 7564 #include "confdefs.h"
7503 7565
7504 int main() { 7566 int main() {
7505 main() 7567 main()
7506 ; return 0; } 7568 ; return 0; }
7507 EOF 7569 EOF
7508 if { (eval echo configure:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7570 if { (eval echo configure:7571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7509 rm -rf conftest* 7571 rm -rf conftest*
7510 eval "ac_cv_lib_$ac_lib_var=yes" 7572 eval "ac_cv_lib_$ac_lib_var=yes"
7511 else 7573 else
7512 echo "configure: failed program was:" >&5 7574 echo "configure: failed program was:" >&5
7513 cat conftest.$ac_ext >&5 7575 cat conftest.$ac_ext >&5
7554 test "$with_toolbars" != "no" && with_toolbars=msw 7616 test "$with_toolbars" != "no" && with_toolbars=msw
7555 test "$with_dialogs" != "no" && with_dialogs=msw 7617 test "$with_dialogs" != "no" && with_dialogs=msw
7556 test "$with_widgets" != "no" && with_widgets=msw 7618 test "$with_widgets" != "no" && with_widgets=msw
7557 fi 7619 fi
7558 cat > conftest.$ac_ext <<EOF 7620 cat > conftest.$ac_ext <<EOF
7559 #line 7560 "configure" 7621 #line 7622 "configure"
7560 #include "confdefs.h" 7622 #include "confdefs.h"
7561 #include <fcntl.h> 7623 #include <fcntl.h>
7562 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7624 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7563 EOF 7625 EOF
7564 if { (eval echo configure:7565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7565 then 7627 then
7566 { test "$extra_verbose" = "yes" && cat << \EOF 7628 { test "$extra_verbose" = "yes" && cat << \EOF
7567 Defining HAVE_MSG_SELECT 7629 Defining HAVE_MSG_SELECT
7568 EOF 7630 EOF
7569 cat >> confdefs.h <<\EOF 7631 cat >> confdefs.h <<\EOF
7620 fi 7682 fi
7621 7683
7622 if test "$with_x11" = "yes"; then 7684 if test "$with_x11" = "yes"; then
7623 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7685 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7624 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7686 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7625 echo "configure:7626: checking for X11/extensions/shape.h" >&5 7687 echo "configure:7688: checking for X11/extensions/shape.h" >&5
7626 7688
7627 cat > conftest.$ac_ext <<EOF 7689 cat > conftest.$ac_ext <<EOF
7628 #line 7629 "configure" 7690 #line 7691 "configure"
7629 #include "confdefs.h" 7691 #include "confdefs.h"
7630 #include <X11/extensions/shape.h> 7692 #include <X11/extensions/shape.h>
7631 EOF 7693 EOF
7632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7633 { (eval echo configure:7634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7695 { (eval echo configure:7696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7635 if test -z "$ac_err"; then 7697 if test -z "$ac_err"; then
7636 rm -rf conftest* 7698 rm -rf conftest*
7637 eval "ac_cv_header_$ac_safe=yes" 7699 eval "ac_cv_header_$ac_safe=yes"
7638 else 7700 else
7678 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7740 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7679 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7741 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7680 esac 7742 esac
7681 7743
7682 echo "checking for WM_COMMAND option" 1>&6 7744 echo "checking for WM_COMMAND option" 1>&6
7683 echo "configure:7684: checking for WM_COMMAND option" >&5; 7745 echo "configure:7746: checking for WM_COMMAND option" >&5;
7684 if test "$with_wmcommand" != "no"; then 7746 if test "$with_wmcommand" != "no"; then
7685 { test "$extra_verbose" = "yes" && cat << \EOF 7747 { test "$extra_verbose" = "yes" && cat << \EOF
7686 Defining HAVE_WMCOMMAND 7748 Defining HAVE_WMCOMMAND
7687 EOF 7749 EOF
7688 cat >> confdefs.h <<\EOF 7750 cat >> confdefs.h <<\EOF
7693 fi 7755 fi
7694 7756
7695 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7757 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7696 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7758 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7697 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7759 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7698 echo "configure:7699: checking for X11/Xauth.h" >&5 7760 echo "configure:7761: checking for X11/Xauth.h" >&5
7699 7761
7700 cat > conftest.$ac_ext <<EOF 7762 cat > conftest.$ac_ext <<EOF
7701 #line 7702 "configure" 7763 #line 7764 "configure"
7702 #include "confdefs.h" 7764 #include "confdefs.h"
7703 #include <X11/Xauth.h> 7765 #include <X11/Xauth.h>
7704 EOF 7766 EOF
7705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7706 { (eval echo configure:7707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7768 { (eval echo configure:7769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7708 if test -z "$ac_err"; then 7770 if test -z "$ac_err"; then
7709 rm -rf conftest* 7771 rm -rf conftest*
7710 eval "ac_cv_header_$ac_safe=yes" 7772 eval "ac_cv_header_$ac_safe=yes"
7711 else 7773 else
7724 with_xauth=no 7786 with_xauth=no
7725 fi 7787 fi
7726 } 7788 }
7727 test -z "$with_xauth" && { 7789 test -z "$with_xauth" && {
7728 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7790 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7729 echo "configure:7730: checking for XauGetAuthByAddr in -lXau" >&5 7791 echo "configure:7792: checking for XauGetAuthByAddr in -lXau" >&5
7730 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7792 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7731 7793
7732 xe_check_libs=" -lXau " 7794 xe_check_libs=" -lXau "
7733 cat > conftest.$ac_ext <<EOF 7795 cat > conftest.$ac_ext <<EOF
7734 #line 7735 "configure" 7796 #line 7797 "configure"
7735 #include "confdefs.h" 7797 #include "confdefs.h"
7736 /* Override any gcc2 internal prototype to avoid an error. */ 7798 /* Override any gcc2 internal prototype to avoid an error. */
7737 /* We use char because int might match the return type of a gcc2 7799 /* We use char because int might match the return type of a gcc2
7738 builtin and then its argument prototype would still apply. */ 7800 builtin and then its argument prototype would still apply. */
7739 char XauGetAuthByAddr(); 7801 char XauGetAuthByAddr();
7740 7802
7741 int main() { 7803 int main() {
7742 XauGetAuthByAddr() 7804 XauGetAuthByAddr()
7743 ; return 0; } 7805 ; return 0; }
7744 EOF 7806 EOF
7745 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7807 if { (eval echo configure:7808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7746 rm -rf conftest* 7808 rm -rf conftest*
7747 eval "ac_cv_lib_$ac_lib_var=yes" 7809 eval "ac_cv_lib_$ac_lib_var=yes"
7748 else 7810 else
7749 echo "configure: failed program was:" >&5 7811 echo "configure: failed program was:" >&5
7750 cat conftest.$ac_ext >&5 7812 cat conftest.$ac_ext >&5
7791 fi 7853 fi
7792 7854
7793 7855
7794 if test "$with_modules" != "no"; then 7856 if test "$with_modules" != "no"; then
7795 echo "checking for module support" 1>&6 7857 echo "checking for module support" 1>&6
7796 echo "configure:7797: checking for module support" >&5 7858 echo "configure:7859: checking for module support" >&5
7797 7859
7798 case "$opsys" in 7860 case "$opsys" in
7799 mingw* | cygwin* ) have_dl=yes ;; 7861 mingw* | cygwin* ) have_dl=yes ;;
7800 darwin ) have_dl=yes 7862 darwin ) have_dl=yes
7801 { test "$extra_verbose" = "yes" && cat << \EOF 7863 { test "$extra_verbose" = "yes" && cat << \EOF
7808 7870
7809 ;; 7871 ;;
7810 * ) 7872 * )
7811 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 7873 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
7812 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 7874 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
7813 echo "configure:7814: checking for dlfcn.h" >&5 7875 echo "configure:7876: checking for dlfcn.h" >&5
7814 7876
7815 cat > conftest.$ac_ext <<EOF 7877 cat > conftest.$ac_ext <<EOF
7816 #line 7817 "configure" 7878 #line 7879 "configure"
7817 #include "confdefs.h" 7879 #include "confdefs.h"
7818 #include <dlfcn.h> 7880 #include <dlfcn.h>
7819 EOF 7881 EOF
7820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7821 { (eval echo configure:7822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7883 { (eval echo configure:7884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7823 if test -z "$ac_err"; then 7885 if test -z "$ac_err"; then
7824 rm -rf conftest* 7886 rm -rf conftest*
7825 eval "ac_cv_header_$ac_safe=yes" 7887 eval "ac_cv_header_$ac_safe=yes"
7826 else 7888 else
7833 rm -f conftest* 7895 rm -f conftest*
7834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7835 echo "$ac_t""yes" 1>&6 7897 echo "$ac_t""yes" 1>&6
7836 7898
7837 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 7899 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
7838 echo "configure:7839: checking for dlopen in -lc" >&5 7900 echo "configure:7901: checking for dlopen in -lc" >&5
7839 cat > conftest.$ac_ext <<EOF 7901 cat > conftest.$ac_ext <<EOF
7840 #line 7841 "configure" 7902 #line 7903 "configure"
7841 #include "confdefs.h" 7903 #include "confdefs.h"
7842 #include <dlfcn.h> 7904 #include <dlfcn.h>
7843 int main() { 7905 int main() {
7844 dlopen ("", 0); 7906 dlopen ("", 0);
7845 ; return 0; } 7907 ; return 0; }
7846 EOF 7908 EOF
7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7909 if { (eval echo configure:7910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7848 rm -rf conftest* 7910 rm -rf conftest*
7849 have_dl=yes 7911 have_dl=yes
7850 else 7912 else
7851 echo "configure: failed program was:" >&5 7913 echo "configure: failed program was:" >&5
7852 cat conftest.$ac_ext >&5 7914 cat conftest.$ac_ext >&5
7853 rm -rf conftest* 7915 rm -rf conftest*
7854 7916
7855 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 7917 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
7856 echo "configure:7857: checking for dlopen in -ldl" >&5 7918 echo "configure:7919: checking for dlopen in -ldl" >&5
7857 ac_save_LIBS="$LIBS" 7919 ac_save_LIBS="$LIBS"
7858 LIBS="$LIBS -ldl" 7920 LIBS="$LIBS -ldl"
7859 cat > conftest.$ac_ext <<EOF 7921 cat > conftest.$ac_ext <<EOF
7860 #line 7861 "configure" 7922 #line 7923 "configure"
7861 #include "confdefs.h" 7923 #include "confdefs.h"
7862 #include <dlfcn.h> 7924 #include <dlfcn.h>
7863 int main() { 7925 int main() {
7864 dlopen ("", 0); 7926 dlopen ("", 0);
7865 ; return 0; } 7927 ; return 0; }
7866 EOF 7928 EOF
7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7868 rm -rf conftest* 7930 rm -rf conftest*
7869 have_dl=yes 7931 have_dl=yes
7870 else 7932 else
7871 echo "configure: failed program was:" >&5 7933 echo "configure: failed program was:" >&5
7872 cat conftest.$ac_ext >&5 7934 cat conftest.$ac_ext >&5
7873 rm -rf conftest* 7935 rm -rf conftest*
7874 7936
7875 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 7937 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
7876 echo "configure:7877: checking for dlopen in -lsvld" >&5 7938 echo "configure:7939: checking for dlopen in -lsvld" >&5
7877 LIBS="$ac_save_LIBS -lsvld" 7939 LIBS="$ac_save_LIBS -lsvld"
7878 cat > conftest.$ac_ext <<EOF 7940 cat > conftest.$ac_ext <<EOF
7879 #line 7880 "configure" 7941 #line 7942 "configure"
7880 #include "confdefs.h" 7942 #include "confdefs.h"
7881 #include <dlfcn.h> 7943 #include <dlfcn.h>
7882 int main() { 7944 int main() {
7883 dlopen ("", 0); 7945 dlopen ("", 0);
7884 ; return 0; } 7946 ; return 0; }
7885 EOF 7947 EOF
7886 if { (eval echo configure:7887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7948 if { (eval echo configure:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7887 rm -rf conftest* 7949 rm -rf conftest*
7888 have_dl=yes 7950 have_dl=yes
7889 else 7951 else
7890 echo "configure: failed program was:" >&5 7952 echo "configure: failed program was:" >&5
7891 cat conftest.$ac_ext >&5 7953 cat conftest.$ac_ext >&5
7911 } 7973 }
7912 7974
7913 else 7975 else
7914 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` 7976 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'`
7915 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 7977 echo $ac_n "checking for dl.h""... $ac_c" 1>&6
7916 echo "configure:7917: checking for dl.h" >&5 7978 echo "configure:7979: checking for dl.h" >&5
7917 7979
7918 cat > conftest.$ac_ext <<EOF 7980 cat > conftest.$ac_ext <<EOF
7919 #line 7920 "configure" 7981 #line 7982 "configure"
7920 #include "confdefs.h" 7982 #include "confdefs.h"
7921 #include <dl.h> 7983 #include <dl.h>
7922 EOF 7984 EOF
7923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7924 { (eval echo configure:7925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7986 { (eval echo configure:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7987 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7926 if test -z "$ac_err"; then 7988 if test -z "$ac_err"; then
7927 rm -rf conftest* 7989 rm -rf conftest*
7928 eval "ac_cv_header_$ac_safe=yes" 7990 eval "ac_cv_header_$ac_safe=yes"
7929 else 7991 else
7936 rm -f conftest* 7998 rm -f conftest*
7937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7938 echo "$ac_t""yes" 1>&6 8000 echo "$ac_t""yes" 1>&6
7939 8001
7940 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 8002 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6
7941 echo "configure:7942: checking for shl_load in -lc" >&5 8003 echo "configure:8004: checking for shl_load in -lc" >&5
7942 cat > conftest.$ac_ext <<EOF 8004 cat > conftest.$ac_ext <<EOF
7943 #line 7944 "configure" 8005 #line 8006 "configure"
7944 #include "confdefs.h" 8006 #include "confdefs.h"
7945 #include <dl.h> 8007 #include <dl.h>
7946 int main() { 8008 int main() {
7947 shl_load ("", 0, 0); 8009 shl_load ("", 0, 0);
7948 ; return 0; } 8010 ; return 0; }
7949 EOF 8011 EOF
7950 if { (eval echo configure:7951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7951 rm -rf conftest* 8013 rm -rf conftest*
7952 have_dl=yes 8014 have_dl=yes
7953 else 8015 else
7954 echo "configure: failed program was:" >&5 8016 echo "configure: failed program was:" >&5
7955 cat conftest.$ac_ext >&5 8017 cat conftest.$ac_ext >&5
7956 rm -rf conftest* 8018 rm -rf conftest*
7957 8019
7958 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 8020 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6
7959 echo "configure:7960: checking for shl_load in -ldl" >&5 8021 echo "configure:8022: checking for shl_load in -ldl" >&5
7960 ac_save_LIBS="$LIBS" 8022 ac_save_LIBS="$LIBS"
7961 LIBS="$LIBS -ldld" 8023 LIBS="$LIBS -ldld"
7962 cat > conftest.$ac_ext <<EOF 8024 cat > conftest.$ac_ext <<EOF
7963 #line 7964 "configure" 8025 #line 8026 "configure"
7964 #include "confdefs.h" 8026 #include "confdefs.h"
7965 #include <dl.h> 8027 #include <dl.h>
7966 int main() { 8028 int main() {
7967 shl_load ("", 0, 0); 8029 shl_load ("", 0, 0);
7968 ; return 0; } 8030 ; return 0; }
7969 EOF 8031 EOF
7970 if { (eval echo configure:7971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8032 if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7971 rm -rf conftest* 8033 rm -rf conftest*
7972 have_dl=yes 8034 have_dl=yes
7973 else 8035 else
7974 echo "configure: failed program was:" >&5 8036 echo "configure: failed program was:" >&5
7975 cat conftest.$ac_ext >&5 8037 cat conftest.$ac_ext >&5
7993 } 8055 }
7994 8056
7995 else 8057 else
7996 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` 8058 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'`
7997 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 8059 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6
7998 echo "configure:7999: checking for ltdl.h" >&5 8060 echo "configure:8061: checking for ltdl.h" >&5
7999 8061
8000 cat > conftest.$ac_ext <<EOF 8062 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure" 8063 #line 8064 "configure"
8002 #include "confdefs.h" 8064 #include "confdefs.h"
8003 #include <ltdl.h> 8065 #include <ltdl.h>
8004 EOF 8066 EOF
8005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8006 { (eval echo configure:8007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8068 { (eval echo configure:8069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8007 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8008 if test -z "$ac_err"; then 8070 if test -z "$ac_err"; then
8009 rm -rf conftest* 8071 rm -rf conftest*
8010 eval "ac_cv_header_$ac_safe=yes" 8072 eval "ac_cv_header_$ac_safe=yes"
8011 else 8073 else
8018 rm -f conftest* 8080 rm -f conftest*
8019 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8020 echo "$ac_t""yes" 1>&6 8082 echo "$ac_t""yes" 1>&6
8021 8083
8022 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 8084 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
8023 echo "configure:8024: checking for lt_dlinit in -lltdl" >&5 8085 echo "configure:8086: checking for lt_dlinit in -lltdl" >&5
8024 ac_save_LIBS="$LIBS" 8086 ac_save_LIBS="$LIBS"
8025 LIBS="$LIBS -lltdl" 8087 LIBS="$LIBS -lltdl"
8026 cat > conftest.$ac_ext <<EOF 8088 cat > conftest.$ac_ext <<EOF
8027 #line 8028 "configure" 8089 #line 8090 "configure"
8028 #include "confdefs.h" 8090 #include "confdefs.h"
8029 #include <ltdl.h> 8091 #include <ltdl.h>
8030 int main() { 8092 int main() {
8031 lt_dlinit (); 8093 lt_dlinit ();
8032 ; return 0; } 8094 ; return 0; }
8033 EOF 8095 EOF
8034 if { (eval echo configure:8035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8096 if { (eval echo configure:8097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8035 rm -rf conftest* 8097 rm -rf conftest*
8036 have_dl=yes 8098 have_dl=yes
8037 else 8099 else
8038 echo "configure: failed program was:" >&5 8100 echo "configure: failed program was:" >&5
8039 cat conftest.$ac_ext >&5 8101 cat conftest.$ac_ext >&5
8070 ld_dynamic_link_flags= 8132 ld_dynamic_link_flags=
8071 xehost=$canonical 8133 xehost=$canonical
8072 xealias=$internal_configuration 8134 xealias=$internal_configuration
8073 8135
8074 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 8136 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
8075 echo "configure:8076: checking how to build dynamic libraries for ${xehost}" >&5 8137 echo "configure:8138: checking how to build dynamic libraries for ${xehost}" >&5
8076 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 8138 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
8077 case "$xehost" in 8139 case "$xehost" in
8078 *-*-linux-gnu*) ;; 8140 *-*-linux-gnu*) ;;
8079 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 8141 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
8080 esac 8142 esac
8098 # Now see if the compiler is really GCC. 8160 # Now see if the compiler is really GCC.
8099 if test "$GCC" = "yes"; then 8161 if test "$GCC" = "yes"; then
8100 XEGCC=yes 8162 XEGCC=yes
8101 else 8163 else
8102 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 8164 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
8103 echo "configure:8104: checking checking whether we are using GNU C" >&5 8165 echo "configure:8166: checking checking whether we are using GNU C" >&5
8104 cat > conftest.$ac_ext <<EOF 8166 cat > conftest.$ac_ext <<EOF
8105 #line 8106 "configure" 8167 #line 8168 "configure"
8106 #include "confdefs.h" 8168 #include "confdefs.h"
8107 8169
8108 #ifdef __GNUC__ 8170 #ifdef __GNUC__
8109 yes; 8171 yes;
8110 #endif 8172 #endif
8122 8184
8123 echo "$ac_t""${XEGCC}" 1>&6 8185 echo "$ac_t""${XEGCC}" 1>&6
8124 fi 8186 fi
8125 8187
8126 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 8188 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
8127 echo "configure:8128: checking how to produce PIC code" >&5 8189 echo "configure:8190: checking how to produce PIC code" >&5
8128 wl= 8190 wl=
8129 8191
8130 can_build_shared=yes 8192 can_build_shared=yes
8131 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8193 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8132 wl='-Wl,' 8194 wl='-Wl,'
8226 if test -n "$dll_cflags"; then 8288 if test -n "$dll_cflags"; then
8227 echo "$ac_t""${dll_cflags}" 1>&6 8289 echo "$ac_t""${dll_cflags}" 1>&6
8228 8290
8229 # Check to make sure the dll_cflags actually works. 8291 # Check to make sure the dll_cflags actually works.
8230 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 8292 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
8231 echo "configure:8232: checking if PIC flag ${dll_cflags} really works" >&5 8293 echo "configure:8294: checking if PIC flag ${dll_cflags} really works" >&5
8232 save_CFLAGS="$CFLAGS" 8294 save_CFLAGS="$CFLAGS"
8233 CFLAGS="$CFLAGS $dll_cflags -DPIC" 8295 CFLAGS="$CFLAGS $dll_cflags -DPIC"
8234 cat > conftest.$ac_ext <<EOF 8296 cat > conftest.$ac_ext <<EOF
8235 #line 8236 "configure" 8297 #line 8298 "configure"
8236 #include "confdefs.h" 8298 #include "confdefs.h"
8237 8299
8238 int main() { 8300 int main() {
8239 int x=0; 8301 int x=0;
8240 ; return 0; } 8302 ; return 0; }
8241 EOF 8303 EOF
8242 if { (eval echo configure:8243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8304 if { (eval echo configure:8305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8243 rm -rf conftest* 8305 rm -rf conftest*
8244 8306
8245 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 8307 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
8246 # reports no error. So, we need to grep stderr for (Bundled). 8308 # reports no error. So, we need to grep stderr for (Bundled).
8247 if grep '(Bundled)' config.log >/dev/null; then 8309 if grep '(Bundled)' config.log >/dev/null; then
8268 if test "$can_build_shared" = "yes"; then 8330 if test "$can_build_shared" = "yes"; then
8269 cc_produces_so=no 8331 cc_produces_so=no
8270 xldf= 8332 xldf=
8271 xcldf= 8333 xcldf=
8272 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 8334 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
8273 echo "configure:8274: checking if C compiler can produce shared libraries" >&5 8335 echo "configure:8336: checking if C compiler can produce shared libraries" >&5
8274 if test "$XEGCC" = yes -o "$__ICC" = yes; then 8336 if test "$XEGCC" = yes -o "$__ICC" = yes; then
8275 case "$xehost_os" in 8337 case "$xehost_os" in
8276 *darwin*) 8338 *darwin*)
8277 xcldf='-bundle' 8339 xcldf='-bundle'
8278 xldf='-bundle -bundle_loader ../../src/xemacs' 8340 xldf='-bundle -bundle_loader ../../src/xemacs'
8327 LDFLAGS="$xcldf $LDFLAGS" 8389 LDFLAGS="$xcldf $LDFLAGS"
8328 LIBS= 8390 LIBS=
8329 xe_libs= 8391 xe_libs=
8330 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 8392 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
8331 cat > conftest.$ac_ext <<EOF 8393 cat > conftest.$ac_ext <<EOF
8332 #line 8333 "configure" 8394 #line 8395 "configure"
8333 #include "confdefs.h" 8395 #include "confdefs.h"
8334 8396
8335 int main() { 8397 int main() {
8336 int x=0; 8398 int x=0;
8337 ; return 0; } 8399 ; return 0; }
8338 EOF 8400 EOF
8339 if { (eval echo configure:8340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8401 if { (eval echo configure:8402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8340 rm -rf conftest* 8402 rm -rf conftest*
8341 cc_produces_so=yes 8403 cc_produces_so=yes
8342 else 8404 else
8343 echo "configure: failed program was:" >&5 8405 echo "configure: failed program was:" >&5
8344 cat conftest.$ac_ext >&5 8406 cat conftest.$ac_ext >&5
8359 if test -z "$LTLD"; then 8421 if test -z "$LTLD"; then
8360 ac_prog=ld 8422 ac_prog=ld
8361 if test "$XEGCC" = yes; then 8423 if test "$XEGCC" = yes; then
8362 # Check if gcc -print-prog-name=ld gives a path. 8424 # Check if gcc -print-prog-name=ld gives a path.
8363 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 8425 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
8364 echo "configure:8365: checking for ld used by GCC" >&5 8426 echo "configure:8427: checking for ld used by GCC" >&5
8365 ac_prog=`($CC -print-prog-name=ld) 2>&5` 8427 ac_prog=`($CC -print-prog-name=ld) 2>&5`
8366 case "$ac_prog" in 8428 case "$ac_prog" in
8367 # Accept absolute paths. 8429 # Accept absolute paths.
8368 /*) 8430 /*)
8369 if test -z "$LTLD"; then 8431 if test -z "$LTLD"; then
8385 with_gnu_ld=unknown 8447 with_gnu_ld=unknown
8386 ;; 8448 ;;
8387 esac 8449 esac
8388 else 8450 else
8389 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 8451 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
8390 echo "configure:8391: checking for GNU ld" >&5 8452 echo "configure:8453: checking for GNU ld" >&5
8391 fi 8453 fi
8392 8454
8393 if test -z "$LTLD"; then 8455 if test -z "$LTLD"; then
8394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8456 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8395 for ac_dir in $PATH; do 8457 for ac_dir in $PATH; do
8423 8485
8424 ld_dynamic_link_flags= 8486 ld_dynamic_link_flags=
8425 8487
8426 # Check to see if it really is or isn't GNU ld. 8488 # Check to see if it really is or isn't GNU ld.
8427 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 8489 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
8428 echo "configure:8429: checking if the linker is GNU ld" >&5 8490 echo "configure:8491: checking if the linker is GNU ld" >&5
8429 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 8491 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8430 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 8492 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8431 xe_gnu_ld=yes 8493 xe_gnu_ld=yes
8432 else 8494 else
8433 xe_gnu_ld=no 8495 xe_gnu_ld=no
8458 ld_shlibs=yes 8520 ld_shlibs=yes
8459 else 8521 else
8460 # OK - only NOW do we futz about with ld. 8522 # OK - only NOW do we futz about with ld.
8461 # See if the linker supports building shared libraries. 8523 # See if the linker supports building shared libraries.
8462 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 8524 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
8463 echo "configure:8464: checking whether the linker supports shared libraries" >&5 8525 echo "configure:8526: checking whether the linker supports shared libraries" >&5
8464 dll_ld=$CC 8526 dll_ld=$CC
8465 dll_ldflags=$LDFLAGS 8527 dll_ldflags=$LDFLAGS
8466 ld_shlibs=yes 8528 ld_shlibs=yes
8467 can_build_shared=yes 8529 can_build_shared=yes
8468 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 8530 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
8671 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 8733 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
8672 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 8734 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
8673 for ac_func in dlerror _dlerror 8735 for ac_func in dlerror _dlerror
8674 do 8736 do
8675 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8676 echo "configure:8677: checking for $ac_func" >&5 8738 echo "configure:8739: checking for $ac_func" >&5
8677 8739
8678 cat > conftest.$ac_ext <<EOF 8740 cat > conftest.$ac_ext <<EOF
8679 #line 8680 "configure" 8741 #line 8742 "configure"
8680 #include "confdefs.h" 8742 #include "confdefs.h"
8681 /* System header to define __stub macros and hopefully few prototypes, 8743 /* System header to define __stub macros and hopefully few prototypes,
8682 which can conflict with char $ac_func(); below. */ 8744 which can conflict with char $ac_func(); below. */
8683 #include <assert.h> 8745 #include <assert.h>
8684 /* Override any gcc2 internal prototype to avoid an error. */ 8746 /* Override any gcc2 internal prototype to avoid an error. */
8697 $ac_func(); 8759 $ac_func();
8698 #endif 8760 #endif
8699 8761
8700 ; return 0; } 8762 ; return 0; }
8701 EOF 8763 EOF
8702 if { (eval echo configure:8703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8764 if { (eval echo configure:8765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8703 rm -rf conftest* 8765 rm -rf conftest*
8704 eval "ac_cv_func_$ac_func=yes" 8766 eval "ac_cv_func_$ac_func=yes"
8705 else 8767 else
8706 echo "configure: failed program was:" >&5 8768 echo "configure: failed program was:" >&5
8707 cat conftest.$ac_ext >&5 8769 cat conftest.$ac_ext >&5
8761 8823
8762 if test "$with_tooltalk" != "no" ; then 8824 if test "$with_tooltalk" != "no" ; then
8763 for dir in "" "Tt/" "desktop/" ; do 8825 for dir in "" "Tt/" "desktop/" ; do
8764 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 8826 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
8765 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 8827 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
8766 echo "configure:8767: checking for ${dir}tt_c.h" >&5 8828 echo "configure:8829: checking for ${dir}tt_c.h" >&5
8767 8829
8768 cat > conftest.$ac_ext <<EOF 8830 cat > conftest.$ac_ext <<EOF
8769 #line 8770 "configure" 8831 #line 8832 "configure"
8770 #include "confdefs.h" 8832 #include "confdefs.h"
8771 #include <${dir}tt_c.h> 8833 #include <${dir}tt_c.h>
8772 EOF 8834 EOF
8773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8774 { (eval echo configure:8775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8836 { (eval echo configure:8837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8776 if test -z "$ac_err"; then 8838 if test -z "$ac_err"; then
8777 rm -rf conftest* 8839 rm -rf conftest*
8778 eval "ac_cv_header_$ac_safe=yes" 8840 eval "ac_cv_header_$ac_safe=yes"
8779 else 8841 else
8805 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 8867 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
8806 8868
8807 xe_msg_checking="for tt_message_create in -ltt" 8869 xe_msg_checking="for tt_message_create in -ltt"
8808 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 8870 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
8809 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 8871 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
8810 echo "configure:8811: checking "$xe_msg_checking"" >&5 8872 echo "configure:8873: checking "$xe_msg_checking"" >&5
8811 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 8873 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
8812 8874
8813 xe_check_libs=" -ltt $extra_libs" 8875 xe_check_libs=" -ltt $extra_libs"
8814 cat > conftest.$ac_ext <<EOF 8876 cat > conftest.$ac_ext <<EOF
8815 #line 8816 "configure" 8877 #line 8878 "configure"
8816 #include "confdefs.h" 8878 #include "confdefs.h"
8817 /* Override any gcc2 internal prototype to avoid an error. */ 8879 /* Override any gcc2 internal prototype to avoid an error. */
8818 /* We use char because int might match the return type of a gcc2 8880 /* We use char because int might match the return type of a gcc2
8819 builtin and then its argument prototype would still apply. */ 8881 builtin and then its argument prototype would still apply. */
8820 char tt_message_create(); 8882 char tt_message_create();
8821 8883
8822 int main() { 8884 int main() {
8823 tt_message_create() 8885 tt_message_create()
8824 ; return 0; } 8886 ; return 0; }
8825 EOF 8887 EOF
8826 if { (eval echo configure:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8888 if { (eval echo configure:8889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8827 rm -rf conftest* 8889 rm -rf conftest*
8828 eval "ac_cv_lib_$ac_lib_var=yes" 8890 eval "ac_cv_lib_$ac_lib_var=yes"
8829 else 8891 else
8830 echo "configure: failed program was:" >&5 8892 echo "configure: failed program was:" >&5
8831 cat conftest.$ac_ext >&5 8893 cat conftest.$ac_ext >&5
8875 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 8937 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
8876 fi 8938 fi
8877 8939
8878 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 8940 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
8879 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 8941 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
8880 echo "configure:8881: checking for Dt/Dt.h" >&5 8942 echo "configure:8943: checking for Dt/Dt.h" >&5
8881 8943
8882 cat > conftest.$ac_ext <<EOF 8944 cat > conftest.$ac_ext <<EOF
8883 #line 8884 "configure" 8945 #line 8946 "configure"
8884 #include "confdefs.h" 8946 #include "confdefs.h"
8885 #include <Dt/Dt.h> 8947 #include <Dt/Dt.h>
8886 EOF 8948 EOF
8887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8888 { (eval echo configure:8889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8950 { (eval echo configure:8951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8890 if test -z "$ac_err"; then 8952 if test -z "$ac_err"; then
8891 rm -rf conftest* 8953 rm -rf conftest*
8892 eval "ac_cv_header_$ac_safe=yes" 8954 eval "ac_cv_header_$ac_safe=yes"
8893 else 8955 else
8906 with_cde=no 8968 with_cde=no
8907 fi 8969 fi
8908 } 8970 }
8909 test -z "$with_cde" && { 8971 test -z "$with_cde" && {
8910 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 8972 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
8911 echo "configure:8912: checking for DtDndDragStart in -lDtSvc" >&5 8973 echo "configure:8974: checking for DtDndDragStart in -lDtSvc" >&5
8912 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 8974 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
8913 8975
8914 xe_check_libs=" -lDtSvc " 8976 xe_check_libs=" -lDtSvc "
8915 cat > conftest.$ac_ext <<EOF 8977 cat > conftest.$ac_ext <<EOF
8916 #line 8917 "configure" 8978 #line 8979 "configure"
8917 #include "confdefs.h" 8979 #include "confdefs.h"
8918 /* Override any gcc2 internal prototype to avoid an error. */ 8980 /* Override any gcc2 internal prototype to avoid an error. */
8919 /* We use char because int might match the return type of a gcc2 8981 /* We use char because int might match the return type of a gcc2
8920 builtin and then its argument prototype would still apply. */ 8982 builtin and then its argument prototype would still apply. */
8921 char DtDndDragStart(); 8983 char DtDndDragStart();
8922 8984
8923 int main() { 8985 int main() {
8924 DtDndDragStart() 8986 DtDndDragStart()
8925 ; return 0; } 8987 ; return 0; }
8926 EOF 8988 EOF
8927 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8989 if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8928 rm -rf conftest* 8990 rm -rf conftest*
8929 eval "ac_cv_lib_$ac_lib_var=yes" 8991 eval "ac_cv_lib_$ac_lib_var=yes"
8930 else 8992 else
8931 echo "configure: failed program was:" >&5 8993 echo "configure: failed program was:" >&5
8932 cat conftest.$ac_ext >&5 8994 cat conftest.$ac_ext >&5
9003 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 9065 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
9004 fi 9066 fi
9005 9067
9006 if test "$with_dragndrop" != "no" ; then 9068 if test "$with_dragndrop" != "no" ; then
9007 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 9069 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
9008 echo "configure:9009: checking if drag and drop API is needed" >&5 9070 echo "configure:9071: checking if drag and drop API is needed" >&5
9009 if test -n "$dragndrop_proto" ; then 9071 if test -n "$dragndrop_proto" ; then
9010 with_dragndrop=yes 9072 with_dragndrop=yes
9011 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 9073 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
9012 { test "$extra_verbose" = "yes" && cat << \EOF 9074 { test "$extra_verbose" = "yes" && cat << \EOF
9013 Defining HAVE_DRAGNDROP 9075 Defining HAVE_DRAGNDROP
9023 echo "$ac_t""no" 1>&6 9085 echo "$ac_t""no" 1>&6
9024 fi 9086 fi
9025 fi 9087 fi
9026 9088
9027 echo "checking for LDAP" 1>&6 9089 echo "checking for LDAP" 1>&6
9028 echo "configure:9029: checking for LDAP" >&5 9090 echo "configure:9091: checking for LDAP" >&5
9029 ldap_libs= 9091 ldap_libs=
9030 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 9092 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
9031 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 9093 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
9032 echo "configure:9033: checking for ldap.h" >&5 9094 echo "configure:9095: checking for ldap.h" >&5
9033 9095
9034 cat > conftest.$ac_ext <<EOF 9096 cat > conftest.$ac_ext <<EOF
9035 #line 9036 "configure" 9097 #line 9098 "configure"
9036 #include "confdefs.h" 9098 #include "confdefs.h"
9037 #include <ldap.h> 9099 #include <ldap.h>
9038 EOF 9100 EOF
9039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9101 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9040 { (eval echo configure:9041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9102 { (eval echo configure:9103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9042 if test -z "$ac_err"; then 9104 if test -z "$ac_err"; then
9043 rm -rf conftest* 9105 rm -rf conftest*
9044 eval "ac_cv_header_$ac_safe=yes" 9106 eval "ac_cv_header_$ac_safe=yes"
9045 else 9107 else
9058 with_ldap=no 9120 with_ldap=no
9059 fi 9121 fi
9060 } 9122 }
9061 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 9123 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
9062 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 9124 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
9063 echo "configure:9064: checking for lber.h" >&5 9125 echo "configure:9126: checking for lber.h" >&5
9064 9126
9065 cat > conftest.$ac_ext <<EOF 9127 cat > conftest.$ac_ext <<EOF
9066 #line 9067 "configure" 9128 #line 9129 "configure"
9067 #include "confdefs.h" 9129 #include "confdefs.h"
9068 #include <lber.h> 9130 #include <lber.h>
9069 EOF 9131 EOF
9070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9071 { (eval echo configure:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9133 { (eval echo configure:9134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9073 if test -z "$ac_err"; then 9135 if test -z "$ac_err"; then
9074 rm -rf conftest* 9136 rm -rf conftest*
9075 eval "ac_cv_header_$ac_safe=yes" 9137 eval "ac_cv_header_$ac_safe=yes"
9076 else 9138 else
9090 fi 9152 fi
9091 } 9153 }
9092 if test "$with_ldap" != "no"; then 9154 if test "$with_ldap" != "no"; then
9093 9155
9094 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 9156 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
9095 echo "configure:9096: checking for ldap_search in -lldap" >&5 9157 echo "configure:9158: checking for ldap_search in -lldap" >&5
9096 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 9158 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
9097 9159
9098 xe_check_libs=" -lldap " 9160 xe_check_libs=" -lldap "
9099 cat > conftest.$ac_ext <<EOF 9161 cat > conftest.$ac_ext <<EOF
9100 #line 9101 "configure" 9162 #line 9163 "configure"
9101 #include "confdefs.h" 9163 #include "confdefs.h"
9102 /* Override any gcc2 internal prototype to avoid an error. */ 9164 /* Override any gcc2 internal prototype to avoid an error. */
9103 /* We use char because int might match the return type of a gcc2 9165 /* We use char because int might match the return type of a gcc2
9104 builtin and then its argument prototype would still apply. */ 9166 builtin and then its argument prototype would still apply. */
9105 char ldap_search(); 9167 char ldap_search();
9106 9168
9107 int main() { 9169 int main() {
9108 ldap_search() 9170 ldap_search()
9109 ; return 0; } 9171 ; return 0; }
9110 EOF 9172 EOF
9111 if { (eval echo configure:9112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9112 rm -rf conftest* 9174 rm -rf conftest*
9113 eval "ac_cv_lib_$ac_lib_var=yes" 9175 eval "ac_cv_lib_$ac_lib_var=yes"
9114 else 9176 else
9115 echo "configure: failed program was:" >&5 9177 echo "configure: failed program was:" >&5
9116 cat conftest.$ac_ext >&5 9178 cat conftest.$ac_ext >&5
9130 9192
9131 test "$with_ldap" != "yes" && { 9193 test "$with_ldap" != "yes" && {
9132 xe_msg_checking="for ldap_open in -lldap" 9194 xe_msg_checking="for ldap_open in -lldap"
9133 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 9195 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
9134 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9196 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9135 echo "configure:9136: checking "$xe_msg_checking"" >&5 9197 echo "configure:9198: checking "$xe_msg_checking"" >&5
9136 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9198 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9137 9199
9138 xe_check_libs=" -lldap -llber" 9200 xe_check_libs=" -lldap -llber"
9139 cat > conftest.$ac_ext <<EOF 9201 cat > conftest.$ac_ext <<EOF
9140 #line 9141 "configure" 9202 #line 9203 "configure"
9141 #include "confdefs.h" 9203 #include "confdefs.h"
9142 /* Override any gcc2 internal prototype to avoid an error. */ 9204 /* Override any gcc2 internal prototype to avoid an error. */
9143 /* We use char because int might match the return type of a gcc2 9205 /* We use char because int might match the return type of a gcc2
9144 builtin and then its argument prototype would still apply. */ 9206 builtin and then its argument prototype would still apply. */
9145 char ldap_open(); 9207 char ldap_open();
9146 9208
9147 int main() { 9209 int main() {
9148 ldap_open() 9210 ldap_open()
9149 ; return 0; } 9211 ; return 0; }
9150 EOF 9212 EOF
9151 if { (eval echo configure:9152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9213 if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9152 rm -rf conftest* 9214 rm -rf conftest*
9153 eval "ac_cv_lib_$ac_lib_var=yes" 9215 eval "ac_cv_lib_$ac_lib_var=yes"
9154 else 9216 else
9155 echo "configure: failed program was:" >&5 9217 echo "configure: failed program was:" >&5
9156 cat conftest.$ac_ext >&5 9218 cat conftest.$ac_ext >&5
9170 } 9232 }
9171 test "$with_ldap" != "yes" && { 9233 test "$with_ldap" != "yes" && {
9172 xe_msg_checking="for ldap_open in -lldap" 9234 xe_msg_checking="for ldap_open in -lldap"
9173 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 9235 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
9174 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9236 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9175 echo "configure:9176: checking "$xe_msg_checking"" >&5 9237 echo "configure:9238: checking "$xe_msg_checking"" >&5
9176 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9238 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9177 9239
9178 xe_check_libs=" -lldap -llber -lkrb" 9240 xe_check_libs=" -lldap -llber -lkrb"
9179 cat > conftest.$ac_ext <<EOF 9241 cat > conftest.$ac_ext <<EOF
9180 #line 9181 "configure" 9242 #line 9243 "configure"
9181 #include "confdefs.h" 9243 #include "confdefs.h"
9182 /* Override any gcc2 internal prototype to avoid an error. */ 9244 /* Override any gcc2 internal prototype to avoid an error. */
9183 /* We use char because int might match the return type of a gcc2 9245 /* We use char because int might match the return type of a gcc2
9184 builtin and then its argument prototype would still apply. */ 9246 builtin and then its argument prototype would still apply. */
9185 char ldap_open(); 9247 char ldap_open();
9186 9248
9187 int main() { 9249 int main() {
9188 ldap_open() 9250 ldap_open()
9189 ; return 0; } 9251 ; return 0; }
9190 EOF 9252 EOF
9191 if { (eval echo configure:9192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9192 rm -rf conftest* 9254 rm -rf conftest*
9193 eval "ac_cv_lib_$ac_lib_var=yes" 9255 eval "ac_cv_lib_$ac_lib_var=yes"
9194 else 9256 else
9195 echo "configure: failed program was:" >&5 9257 echo "configure: failed program was:" >&5
9196 cat conftest.$ac_ext >&5 9258 cat conftest.$ac_ext >&5
9210 } 9272 }
9211 test "$with_ldap" != "yes" && { 9273 test "$with_ldap" != "yes" && {
9212 xe_msg_checking="for ldap_open in -lldap" 9274 xe_msg_checking="for ldap_open in -lldap"
9213 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 9275 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
9214 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 9276 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
9215 echo "configure:9216: checking "$xe_msg_checking"" >&5 9277 echo "configure:9278: checking "$xe_msg_checking"" >&5
9216 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 9278 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
9217 9279
9218 xe_check_libs=" -lldap -llber -lkrb -ldes" 9280 xe_check_libs=" -lldap -llber -lkrb -ldes"
9219 cat > conftest.$ac_ext <<EOF 9281 cat > conftest.$ac_ext <<EOF
9220 #line 9221 "configure" 9282 #line 9283 "configure"
9221 #include "confdefs.h" 9283 #include "confdefs.h"
9222 /* Override any gcc2 internal prototype to avoid an error. */ 9284 /* Override any gcc2 internal prototype to avoid an error. */
9223 /* We use char because int might match the return type of a gcc2 9285 /* We use char because int might match the return type of a gcc2
9224 builtin and then its argument prototype would still apply. */ 9286 builtin and then its argument prototype would still apply. */
9225 char ldap_open(); 9287 char ldap_open();
9226 9288
9227 int main() { 9289 int main() {
9228 ldap_open() 9290 ldap_open()
9229 ; return 0; } 9291 ; return 0; }
9230 EOF 9292 EOF
9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9293 if { (eval echo configure:9294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9232 rm -rf conftest* 9294 rm -rf conftest*
9233 eval "ac_cv_lib_$ac_lib_var=yes" 9295 eval "ac_cv_lib_$ac_lib_var=yes"
9234 else 9296 else
9235 echo "configure: failed program was:" >&5 9297 echo "configure: failed program was:" >&5
9236 cat conftest.$ac_ext >&5 9298 cat conftest.$ac_ext >&5
9248 fi 9310 fi
9249 9311
9250 } 9312 }
9251 test "$with_ldap_lber" != "yes" && { 9313 test "$with_ldap_lber" != "yes" && {
9252 echo $ac_n "checking for ber_pvt_opt_on in -llber""... $ac_c" 1>&6 9314 echo $ac_n "checking for ber_pvt_opt_on in -llber""... $ac_c" 1>&6
9253 echo "configure:9254: checking for ber_pvt_opt_on in -llber" >&5 9315 echo "configure:9316: checking for ber_pvt_opt_on in -llber" >&5
9254 ac_lib_var=`echo lber'_'ber_pvt_opt_on | sed 'y%./+-%__p_%'` 9316 ac_lib_var=`echo lber'_'ber_pvt_opt_on | sed 'y%./+-%__p_%'`
9255 9317
9256 xe_check_libs=" -llber " 9318 xe_check_libs=" -llber "
9257 cat > conftest.$ac_ext <<EOF 9319 cat > conftest.$ac_ext <<EOF
9258 #line 9259 "configure" 9320 #line 9321 "configure"
9259 #include "confdefs.h" 9321 #include "confdefs.h"
9260 /* Override any gcc2 internal prototype to avoid an error. */ 9322 /* Override any gcc2 internal prototype to avoid an error. */
9261 /* We use char because int might match the return type of a gcc2 9323 /* We use char because int might match the return type of a gcc2
9262 builtin and then its argument prototype would still apply. */ 9324 builtin and then its argument prototype would still apply. */
9263 char ber_pvt_opt_on(); 9325 char ber_pvt_opt_on();
9264 9326
9265 int main() { 9327 int main() {
9266 ber_pvt_opt_on() 9328 ber_pvt_opt_on()
9267 ; return 0; } 9329 ; return 0; }
9268 EOF 9330 EOF
9269 if { (eval echo configure:9270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9270 rm -rf conftest* 9332 rm -rf conftest*
9271 eval "ac_cv_lib_$ac_lib_var=yes" 9333 eval "ac_cv_lib_$ac_lib_var=yes"
9272 else 9334 else
9273 echo "configure: failed program was:" >&5 9335 echo "configure: failed program was:" >&5
9274 cat conftest.$ac_ext >&5 9336 cat conftest.$ac_ext >&5
9308 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi 9370 ldap_libs="-lldap $ldap_libs" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$ldap_libs"; fi
9309 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 9371 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
9310 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 9372 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
9311 do 9373 do
9312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9313 echo "configure:9314: checking for $ac_func" >&5 9375 echo "configure:9376: checking for $ac_func" >&5
9314 9376
9315 cat > conftest.$ac_ext <<EOF 9377 cat > conftest.$ac_ext <<EOF
9316 #line 9317 "configure" 9378 #line 9379 "configure"
9317 #include "confdefs.h" 9379 #include "confdefs.h"
9318 /* System header to define __stub macros and hopefully few prototypes, 9380 /* System header to define __stub macros and hopefully few prototypes,
9319 which can conflict with char $ac_func(); below. */ 9381 which can conflict with char $ac_func(); below. */
9320 #include <assert.h> 9382 #include <assert.h>
9321 /* Override any gcc2 internal prototype to avoid an error. */ 9383 /* Override any gcc2 internal prototype to avoid an error. */
9334 $ac_func(); 9396 $ac_func();
9335 #endif 9397 #endif
9336 9398
9337 ; return 0; } 9399 ; return 0; }
9338 EOF 9400 EOF
9339 if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9401 if { (eval echo configure:9402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9340 rm -rf conftest* 9402 rm -rf conftest*
9341 eval "ac_cv_func_$ac_func=yes" 9403 eval "ac_cv_func_$ac_func=yes"
9342 else 9404 else
9343 echo "configure: failed program was:" >&5 9405 echo "configure: failed program was:" >&5
9344 cat conftest.$ac_ext >&5 9406 cat conftest.$ac_ext >&5
9373 9435
9374 9436
9375 postgresql_libs= 9437 postgresql_libs=
9376 if test "$with_postgresql" != "no"; then 9438 if test "$with_postgresql" != "no"; then
9377 echo "checking for PostgreSQL" 1>&6 9439 echo "checking for PostgreSQL" 1>&6
9378 echo "configure:9379: checking for PostgreSQL" >&5 9440 echo "configure:9441: checking for PostgreSQL" >&5
9379 9441
9380 for header_dir in "" "pgsql/" "postgresql/"; do 9442 for header_dir in "" "pgsql/" "postgresql/"; do
9381 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 9443 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
9382 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 9444 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
9383 echo "configure:9384: checking for ${header_dir}libpq-fe.h" >&5 9445 echo "configure:9446: checking for ${header_dir}libpq-fe.h" >&5
9384 9446
9385 cat > conftest.$ac_ext <<EOF 9447 cat > conftest.$ac_ext <<EOF
9386 #line 9387 "configure" 9448 #line 9449 "configure"
9387 #include "confdefs.h" 9449 #include "confdefs.h"
9388 #include <${header_dir}libpq-fe.h> 9450 #include <${header_dir}libpq-fe.h>
9389 EOF 9451 EOF
9390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9391 { (eval echo configure:9392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9453 { (eval echo configure:9454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9393 if test -z "$ac_err"; then 9455 if test -z "$ac_err"; then
9394 rm -rf conftest* 9456 rm -rf conftest*
9395 eval "ac_cv_header_$ac_safe=yes" 9457 eval "ac_cv_header_$ac_safe=yes"
9396 else 9458 else
9410 9472
9411 done 9473 done
9412 9474
9413 test -n "$libpq_fe_h_file" && { 9475 test -n "$libpq_fe_h_file" && {
9414 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 9476 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
9415 echo "configure:9416: checking for PQconnectdb in -lpq" >&5 9477 echo "configure:9478: checking for PQconnectdb in -lpq" >&5
9416 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 9478 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
9417 9479
9418 xe_check_libs=" -lpq " 9480 xe_check_libs=" -lpq "
9419 cat > conftest.$ac_ext <<EOF 9481 cat > conftest.$ac_ext <<EOF
9420 #line 9421 "configure" 9482 #line 9483 "configure"
9421 #include "confdefs.h" 9483 #include "confdefs.h"
9422 /* Override any gcc2 internal prototype to avoid an error. */ 9484 /* Override any gcc2 internal prototype to avoid an error. */
9423 /* We use char because int might match the return type of a gcc2 9485 /* We use char because int might match the return type of a gcc2
9424 builtin and then its argument prototype would still apply. */ 9486 builtin and then its argument prototype would still apply. */
9425 char PQconnectdb(); 9487 char PQconnectdb();
9426 9488
9427 int main() { 9489 int main() {
9428 PQconnectdb() 9490 PQconnectdb()
9429 ; return 0; } 9491 ; return 0; }
9430 EOF 9492 EOF
9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9432 rm -rf conftest* 9494 rm -rf conftest*
9433 eval "ac_cv_lib_$ac_lib_var=yes" 9495 eval "ac_cv_lib_$ac_lib_var=yes"
9434 else 9496 else
9435 echo "configure: failed program was:" >&5 9497 echo "configure: failed program was:" >&5
9436 cat conftest.$ac_ext >&5 9498 cat conftest.$ac_ext >&5
9459 EOF 9521 EOF
9460 } 9522 }
9461 9523
9462 9524
9463 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 9525 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
9464 echo "configure:9465: checking for PQconnectStart in -lpq" >&5 9526 echo "configure:9527: checking for PQconnectStart in -lpq" >&5
9465 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 9527 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
9466 9528
9467 xe_check_libs=" -lpq " 9529 xe_check_libs=" -lpq "
9468 cat > conftest.$ac_ext <<EOF 9530 cat > conftest.$ac_ext <<EOF
9469 #line 9470 "configure" 9531 #line 9532 "configure"
9470 #include "confdefs.h" 9532 #include "confdefs.h"
9471 /* Override any gcc2 internal prototype to avoid an error. */ 9533 /* Override any gcc2 internal prototype to avoid an error. */
9472 /* We use char because int might match the return type of a gcc2 9534 /* We use char because int might match the return type of a gcc2
9473 builtin and then its argument prototype would still apply. */ 9535 builtin and then its argument prototype would still apply. */
9474 char PQconnectStart(); 9536 char PQconnectStart();
9475 9537
9476 int main() { 9538 int main() {
9477 PQconnectStart() 9539 PQconnectStart()
9478 ; return 0; } 9540 ; return 0; }
9479 EOF 9541 EOF
9480 if { (eval echo configure:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9481 rm -rf conftest* 9543 rm -rf conftest*
9482 eval "ac_cv_lib_$ac_lib_var=yes" 9544 eval "ac_cv_lib_$ac_lib_var=yes"
9483 else 9545 else
9484 echo "configure: failed program was:" >&5 9546 echo "configure: failed program was:" >&5
9485 cat conftest.$ac_ext >&5 9547 cat conftest.$ac_ext >&5
9526 9588
9527 9589
9528 9590
9529 if test "$window_system" != "none"; then 9591 if test "$window_system" != "none"; then
9530 echo "checking for graphics libraries" 1>&6 9592 echo "checking for graphics libraries" 1>&6
9531 echo "configure:9532: checking for graphics libraries" >&5 9593 echo "configure:9594: checking for graphics libraries" >&5
9532 9594
9533 libpath_xpm= 9595 libpath_xpm=
9534 incpath_xpm= 9596 incpath_xpm=
9535 case "$opsys" in 9597 case "$opsys" in
9536 cygwin*) 9598 cygwin*)
9552 xpm_problem="" 9614 xpm_problem=""
9553 if test -z "$with_xpm"; then 9615 if test -z "$with_xpm"; then
9554 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9616 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9555 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9617 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9556 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 9618 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
9557 echo "configure:9558: checking for Xpm - no older than 3.4f" >&5 9619 echo "configure:9620: checking for Xpm - no older than 3.4f" >&5
9558 xe_check_libs=-lXpm 9620 xe_check_libs=-lXpm
9559 cat > conftest.$ac_ext <<EOF 9621 cat > conftest.$ac_ext <<EOF
9560 #line 9561 "configure" 9622 #line 9623 "configure"
9561 #include "confdefs.h" 9623 #include "confdefs.h"
9562 #define XPM_NUMBERS 9624 #define XPM_NUMBERS
9563 #include <X11/xpm.h> 9625 #include <X11/xpm.h>
9564 int main(int c, char **v) { 9626 int main(int c, char **v) {
9565 return c == 1 ? 0 : 9627 return c == 1 ? 0 :
9566 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 9628 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
9567 XpmIncludeVersion < 30406 ? 2 : 0 ;} 9629 XpmIncludeVersion < 30406 ? 2 : 0 ;}
9568 EOF 9630 EOF
9569 if { (eval echo configure:9570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9631 if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9570 then 9632 then
9571 ./conftest dummy_arg; xpm_status=$?; 9633 ./conftest dummy_arg; xpm_status=$?;
9572 if test "$xpm_status" = "0"; then 9634 if test "$xpm_status" = "0"; then
9573 with_xpm=yes; 9635 with_xpm=yes;
9574 else 9636 else
9608 9670
9609 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 9671 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
9610 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 9672 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
9611 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 9673 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
9612 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 9674 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
9613 echo "configure:9614: checking for \"FOR_MSW\" xpm" >&5 9675 echo "configure:9676: checking for \"FOR_MSW\" xpm" >&5
9614 xe_check_libs=-lXpm 9676 xe_check_libs=-lXpm
9615 cat > conftest.$ac_ext <<EOF 9677 cat > conftest.$ac_ext <<EOF
9616 #line 9617 "configure" 9678 #line 9679 "configure"
9617 #include "confdefs.h" 9679 #include "confdefs.h"
9618 9680
9619 int main() { 9681 int main() {
9620 XpmCreatePixmapFromData() 9682 XpmCreatePixmapFromData()
9621 ; return 0; } 9683 ; return 0; }
9622 EOF 9684 EOF
9623 if { (eval echo configure:9624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9685 if { (eval echo configure:9686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9624 rm -rf conftest* 9686 rm -rf conftest*
9625 xpm_for_msw=no 9687 xpm_for_msw=no
9626 else 9688 else
9627 echo "configure: failed program was:" >&5 9689 echo "configure: failed program was:" >&5
9628 cat conftest.$ac_ext >&5 9690 cat conftest.$ac_ext >&5
9644 fi 9706 fi
9645 fi 9707 fi
9646 9708
9647 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 9709 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
9648 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 9710 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
9649 echo "configure:9650: checking for compface.h" >&5 9711 echo "configure:9712: checking for compface.h" >&5
9650 9712
9651 cat > conftest.$ac_ext <<EOF 9713 cat > conftest.$ac_ext <<EOF
9652 #line 9653 "configure" 9714 #line 9715 "configure"
9653 #include "confdefs.h" 9715 #include "confdefs.h"
9654 #include <compface.h> 9716 #include <compface.h>
9655 EOF 9717 EOF
9656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9657 { (eval echo configure:9658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9719 { (eval echo configure:9720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9659 if test -z "$ac_err"; then 9721 if test -z "$ac_err"; then
9660 rm -rf conftest* 9722 rm -rf conftest*
9661 eval "ac_cv_header_$ac_safe=yes" 9723 eval "ac_cv_header_$ac_safe=yes"
9662 else 9724 else
9675 with_xface=no 9737 with_xface=no
9676 fi 9738 fi
9677 } 9739 }
9678 test -z "$with_xface" && { 9740 test -z "$with_xface" && {
9679 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 9741 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
9680 echo "configure:9681: checking for UnGenFace in -lcompface" >&5 9742 echo "configure:9743: checking for UnGenFace in -lcompface" >&5
9681 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 9743 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
9682 9744
9683 xe_check_libs=" -lcompface " 9745 xe_check_libs=" -lcompface "
9684 cat > conftest.$ac_ext <<EOF 9746 cat > conftest.$ac_ext <<EOF
9685 #line 9686 "configure" 9747 #line 9748 "configure"
9686 #include "confdefs.h" 9748 #include "confdefs.h"
9687 /* Override any gcc2 internal prototype to avoid an error. */ 9749 /* Override any gcc2 internal prototype to avoid an error. */
9688 /* We use char because int might match the return type of a gcc2 9750 /* We use char because int might match the return type of a gcc2
9689 builtin and then its argument prototype would still apply. */ 9751 builtin and then its argument prototype would still apply. */
9690 char UnGenFace(); 9752 char UnGenFace();
9691 9753
9692 int main() { 9754 int main() {
9693 UnGenFace() 9755 UnGenFace()
9694 ; return 0; } 9756 ; return 0; }
9695 EOF 9757 EOF
9696 if { (eval echo configure:9697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9697 rm -rf conftest* 9759 rm -rf conftest*
9698 eval "ac_cv_lib_$ac_lib_var=yes" 9760 eval "ac_cv_lib_$ac_lib_var=yes"
9699 else 9761 else
9700 echo "configure: failed program was:" >&5 9762 echo "configure: failed program was:" >&5
9701 cat conftest.$ac_ext >&5 9763 cat conftest.$ac_ext >&5
9740 fi 9802 fi
9741 9803
9742 if test "$with_png $with_tiff" != "no no"; then 9804 if test "$with_png $with_tiff" != "no no"; then
9743 9805
9744 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 9806 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
9745 echo "configure:9746: checking for inflate in -lc" >&5 9807 echo "configure:9808: checking for inflate in -lc" >&5
9746 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 9808 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
9747 9809
9748 xe_check_libs=" -lc " 9810 xe_check_libs=" -lc "
9749 cat > conftest.$ac_ext <<EOF 9811 cat > conftest.$ac_ext <<EOF
9750 #line 9751 "configure" 9812 #line 9813 "configure"
9751 #include "confdefs.h" 9813 #include "confdefs.h"
9752 /* Override any gcc2 internal prototype to avoid an error. */ 9814 /* Override any gcc2 internal prototype to avoid an error. */
9753 /* We use char because int might match the return type of a gcc2 9815 /* We use char because int might match the return type of a gcc2
9754 builtin and then its argument prototype would still apply. */ 9816 builtin and then its argument prototype would still apply. */
9755 char inflate(); 9817 char inflate();
9756 9818
9757 int main() { 9819 int main() {
9758 inflate() 9820 inflate()
9759 ; return 0; } 9821 ; return 0; }
9760 EOF 9822 EOF
9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9823 if { (eval echo configure:9824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9762 rm -rf conftest* 9824 rm -rf conftest*
9763 eval "ac_cv_lib_$ac_lib_var=yes" 9825 eval "ac_cv_lib_$ac_lib_var=yes"
9764 else 9826 else
9765 echo "configure: failed program was:" >&5 9827 echo "configure: failed program was:" >&5
9766 cat conftest.$ac_ext >&5 9828 cat conftest.$ac_ext >&5
9775 : 9837 :
9776 else 9838 else
9777 echo "$ac_t""no" 1>&6 9839 echo "$ac_t""no" 1>&6
9778 9840
9779 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 9841 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
9780 echo "configure:9781: checking for inflate in -lz" >&5 9842 echo "configure:9843: checking for inflate in -lz" >&5
9781 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 9843 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
9782 9844
9783 xe_check_libs=" -lz " 9845 xe_check_libs=" -lz "
9784 cat > conftest.$ac_ext <<EOF 9846 cat > conftest.$ac_ext <<EOF
9785 #line 9786 "configure" 9847 #line 9848 "configure"
9786 #include "confdefs.h" 9848 #include "confdefs.h"
9787 /* Override any gcc2 internal prototype to avoid an error. */ 9849 /* Override any gcc2 internal prototype to avoid an error. */
9788 /* We use char because int might match the return type of a gcc2 9850 /* We use char because int might match the return type of a gcc2
9789 builtin and then its argument prototype would still apply. */ 9851 builtin and then its argument prototype would still apply. */
9790 char inflate(); 9852 char inflate();
9791 9853
9792 int main() { 9854 int main() {
9793 inflate() 9855 inflate()
9794 ; return 0; } 9856 ; return 0; }
9795 EOF 9857 EOF
9796 if { (eval echo configure:9797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9797 rm -rf conftest* 9859 rm -rf conftest*
9798 eval "ac_cv_lib_$ac_lib_var=yes" 9860 eval "ac_cv_lib_$ac_lib_var=yes"
9799 else 9861 else
9800 echo "configure: failed program was:" >&5 9862 echo "configure: failed program was:" >&5
9801 cat conftest.$ac_ext >&5 9863 cat conftest.$ac_ext >&5
9810 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 9872 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
9811 else 9873 else
9812 echo "$ac_t""no" 1>&6 9874 echo "$ac_t""no" 1>&6
9813 9875
9814 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 9876 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
9815 echo "configure:9816: checking for inflate in -lgz" >&5 9877 echo "configure:9878: checking for inflate in -lgz" >&5
9816 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 9878 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
9817 9879
9818 xe_check_libs=" -lgz " 9880 xe_check_libs=" -lgz "
9819 cat > conftest.$ac_ext <<EOF 9881 cat > conftest.$ac_ext <<EOF
9820 #line 9821 "configure" 9882 #line 9883 "configure"
9821 #include "confdefs.h" 9883 #include "confdefs.h"
9822 /* Override any gcc2 internal prototype to avoid an error. */ 9884 /* Override any gcc2 internal prototype to avoid an error. */
9823 /* We use char because int might match the return type of a gcc2 9885 /* We use char because int might match the return type of a gcc2
9824 builtin and then its argument prototype would still apply. */ 9886 builtin and then its argument prototype would still apply. */
9825 char inflate(); 9887 char inflate();
9826 9888
9827 int main() { 9889 int main() {
9828 inflate() 9890 inflate()
9829 ; return 0; } 9891 ; return 0; }
9830 EOF 9892 EOF
9831 if { (eval echo configure:9832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9893 if { (eval echo configure:9894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9832 rm -rf conftest* 9894 rm -rf conftest*
9833 eval "ac_cv_lib_$ac_lib_var=yes" 9895 eval "ac_cv_lib_$ac_lib_var=yes"
9834 else 9896 else
9835 echo "configure: failed program was:" >&5 9897 echo "configure: failed program was:" >&5
9836 cat conftest.$ac_ext >&5 9898 cat conftest.$ac_ext >&5
9856 9918
9857 fi 9919 fi
9858 9920
9859 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 9921 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
9860 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 9922 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9861 echo "configure:9862: checking for jpeglib.h" >&5 9923 echo "configure:9924: checking for jpeglib.h" >&5
9862 9924
9863 cat > conftest.$ac_ext <<EOF 9925 cat > conftest.$ac_ext <<EOF
9864 #line 9865 "configure" 9926 #line 9927 "configure"
9865 #include "confdefs.h" 9927 #include "confdefs.h"
9866 #include <jpeglib.h> 9928 #include <jpeglib.h>
9867 EOF 9929 EOF
9868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9869 { (eval echo configure:9870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9931 { (eval echo configure:9932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9871 if test -z "$ac_err"; then 9933 if test -z "$ac_err"; then
9872 rm -rf conftest* 9934 rm -rf conftest*
9873 eval "ac_cv_header_$ac_safe=yes" 9935 eval "ac_cv_header_$ac_safe=yes"
9874 else 9936 else
9887 with_jpeg=no 9949 with_jpeg=no
9888 fi 9950 fi
9889 } 9951 }
9890 test -z "$with_jpeg" && { 9952 test -z "$with_jpeg" && {
9891 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 9953 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
9892 echo "configure:9893: checking for jpeg_destroy_decompress in -ljpeg" >&5 9954 echo "configure:9955: checking for jpeg_destroy_decompress in -ljpeg" >&5
9893 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 9955 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
9894 9956
9895 xe_check_libs=" -ljpeg " 9957 xe_check_libs=" -ljpeg "
9896 cat > conftest.$ac_ext <<EOF 9958 cat > conftest.$ac_ext <<EOF
9897 #line 9898 "configure" 9959 #line 9960 "configure"
9898 #include "confdefs.h" 9960 #include "confdefs.h"
9899 /* Override any gcc2 internal prototype to avoid an error. */ 9961 /* Override any gcc2 internal prototype to avoid an error. */
9900 /* We use char because int might match the return type of a gcc2 9962 /* We use char because int might match the return type of a gcc2
9901 builtin and then its argument prototype would still apply. */ 9963 builtin and then its argument prototype would still apply. */
9902 char jpeg_destroy_decompress(); 9964 char jpeg_destroy_decompress();
9903 9965
9904 int main() { 9966 int main() {
9905 jpeg_destroy_decompress() 9967 jpeg_destroy_decompress()
9906 ; return 0; } 9968 ; return 0; }
9907 EOF 9969 EOF
9908 if { (eval echo configure:9909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9970 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9909 rm -rf conftest* 9971 rm -rf conftest*
9910 eval "ac_cv_lib_$ac_lib_var=yes" 9972 eval "ac_cv_lib_$ac_lib_var=yes"
9911 else 9973 else
9912 echo "configure: failed program was:" >&5 9974 echo "configure: failed program was:" >&5
9913 cat conftest.$ac_ext >&5 9975 cat conftest.$ac_ext >&5
9939 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 10001 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
9940 fi 10002 fi
9941 10003
9942 png_problem="" 10004 png_problem=""
9943 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 10005 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
9944 echo "configure:9945: checking for pow" >&5 10006 echo "configure:10007: checking for pow" >&5
9945 10007
9946 cat > conftest.$ac_ext <<EOF 10008 cat > conftest.$ac_ext <<EOF
9947 #line 9948 "configure" 10009 #line 10010 "configure"
9948 #include "confdefs.h" 10010 #include "confdefs.h"
9949 /* System header to define __stub macros and hopefully few prototypes, 10011 /* System header to define __stub macros and hopefully few prototypes,
9950 which can conflict with char pow(); below. */ 10012 which can conflict with char pow(); below. */
9951 #include <assert.h> 10013 #include <assert.h>
9952 /* Override any gcc2 internal prototype to avoid an error. */ 10014 /* Override any gcc2 internal prototype to avoid an error. */
9965 pow(); 10027 pow();
9966 #endif 10028 #endif
9967 10029
9968 ; return 0; } 10030 ; return 0; }
9969 EOF 10031 EOF
9970 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10032 if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9971 rm -rf conftest* 10033 rm -rf conftest*
9972 eval "ac_cv_func_pow=yes" 10034 eval "ac_cv_func_pow=yes"
9973 else 10035 else
9974 echo "configure: failed program was:" >&5 10036 echo "configure: failed program was:" >&5
9975 cat conftest.$ac_ext >&5 10037 cat conftest.$ac_ext >&5
9986 with_png=no 10048 with_png=no
9987 fi 10049 fi
9988 } 10050 }
9989 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 10051 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9990 echo $ac_n "checking for png.h""... $ac_c" 1>&6 10052 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9991 echo "configure:9992: checking for png.h" >&5 10053 echo "configure:10054: checking for png.h" >&5
9992 10054
9993 cat > conftest.$ac_ext <<EOF 10055 cat > conftest.$ac_ext <<EOF
9994 #line 9995 "configure" 10056 #line 10057 "configure"
9995 #include "confdefs.h" 10057 #include "confdefs.h"
9996 #include <png.h> 10058 #include <png.h>
9997 EOF 10059 EOF
9998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9999 { (eval echo configure:10000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10061 { (eval echo configure:10062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10001 if test -z "$ac_err"; then 10063 if test -z "$ac_err"; then
10002 rm -rf conftest* 10064 rm -rf conftest*
10003 eval "ac_cv_header_$ac_safe=yes" 10065 eval "ac_cv_header_$ac_safe=yes"
10004 else 10066 else
10017 with_png=no 10079 with_png=no
10018 fi 10080 fi
10019 } 10081 }
10020 test -z "$with_png" && { 10082 test -z "$with_png" && {
10021 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 10083 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
10022 echo "configure:10023: checking for png_read_image in -lpng" >&5 10084 echo "configure:10085: checking for png_read_image in -lpng" >&5
10023 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 10085 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
10024 10086
10025 xe_check_libs=" -lpng " 10087 xe_check_libs=" -lpng "
10026 cat > conftest.$ac_ext <<EOF 10088 cat > conftest.$ac_ext <<EOF
10027 #line 10028 "configure" 10089 #line 10090 "configure"
10028 #include "confdefs.h" 10090 #include "confdefs.h"
10029 /* Override any gcc2 internal prototype to avoid an error. */ 10091 /* Override any gcc2 internal prototype to avoid an error. */
10030 /* We use char because int might match the return type of a gcc2 10092 /* We use char because int might match the return type of a gcc2
10031 builtin and then its argument prototype would still apply. */ 10093 builtin and then its argument prototype would still apply. */
10032 char png_read_image(); 10094 char png_read_image();
10033 10095
10034 int main() { 10096 int main() {
10035 png_read_image() 10097 png_read_image()
10036 ; return 0; } 10098 ; return 0; }
10037 EOF 10099 EOF
10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10100 if { (eval echo configure:10101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10039 rm -rf conftest* 10101 rm -rf conftest*
10040 eval "ac_cv_lib_$ac_lib_var=yes" 10102 eval "ac_cv_lib_$ac_lib_var=yes"
10041 else 10103 else
10042 echo "configure: failed program was:" >&5 10104 echo "configure: failed program was:" >&5
10043 cat conftest.$ac_ext >&5 10105 cat conftest.$ac_ext >&5
10056 fi 10118 fi
10057 10119
10058 } 10120 }
10059 if test -z "$with_png"; then 10121 if test -z "$with_png"; then
10060 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 10122 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
10061 echo "configure:10062: checking for workable png version information" >&5 10123 echo "configure:10124: checking for workable png version information" >&5
10062 xe_check_libs="-lpng -lz" 10124 xe_check_libs="-lpng -lz"
10063 cat > conftest.$ac_ext <<EOF 10125 cat > conftest.$ac_ext <<EOF
10064 #line 10065 "configure" 10126 #line 10127 "configure"
10065 #include "confdefs.h" 10127 #include "confdefs.h"
10066 #include <png.h> 10128 #include <png.h>
10067 int main(int c, char **v) { 10129 int main(int c, char **v) {
10068 if (c == 1) return 0; 10130 if (c == 1) return 0;
10069 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 10131 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
10070 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 10132 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
10071 EOF 10133 EOF
10072 if { (eval echo configure:10073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10134 if { (eval echo configure:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10073 then 10135 then
10074 ./conftest dummy_arg; png_status=$?; 10136 ./conftest dummy_arg; png_status=$?;
10075 if test "$png_status" = "0"; then 10137 if test "$png_status" = "0"; then
10076 with_png=yes; 10138 with_png=yes;
10077 else 10139 else
10110 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 10172 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
10111 fi 10173 fi
10112 10174
10113 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 10175 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10114 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 10176 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10115 echo "configure:10116: checking for tiffio.h" >&5 10177 echo "configure:10178: checking for tiffio.h" >&5
10116 10178
10117 cat > conftest.$ac_ext <<EOF 10179 cat > conftest.$ac_ext <<EOF
10118 #line 10119 "configure" 10180 #line 10181 "configure"
10119 #include "confdefs.h" 10181 #include "confdefs.h"
10120 #include <tiffio.h> 10182 #include <tiffio.h>
10121 EOF 10183 EOF
10122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10123 { (eval echo configure:10124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10185 { (eval echo configure:10186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10125 if test -z "$ac_err"; then 10187 if test -z "$ac_err"; then
10126 rm -rf conftest* 10188 rm -rf conftest*
10127 eval "ac_cv_header_$ac_safe=yes" 10189 eval "ac_cv_header_$ac_safe=yes"
10128 else 10190 else
10141 with_tiff=no 10203 with_tiff=no
10142 fi 10204 fi
10143 } 10205 }
10144 test -z "$with_tiff" && { 10206 test -z "$with_tiff" && {
10145 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 10207 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
10146 echo "configure:10147: checking for TIFFClientOpen in -ltiff" >&5 10208 echo "configure:10209: checking for TIFFClientOpen in -ltiff" >&5
10147 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 10209 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
10148 10210
10149 xe_check_libs=" -ltiff " 10211 xe_check_libs=" -ltiff "
10150 cat > conftest.$ac_ext <<EOF 10212 cat > conftest.$ac_ext <<EOF
10151 #line 10152 "configure" 10213 #line 10214 "configure"
10152 #include "confdefs.h" 10214 #include "confdefs.h"
10153 /* Override any gcc2 internal prototype to avoid an error. */ 10215 /* Override any gcc2 internal prototype to avoid an error. */
10154 /* We use char because int might match the return type of a gcc2 10216 /* We use char because int might match the return type of a gcc2
10155 builtin and then its argument prototype would still apply. */ 10217 builtin and then its argument prototype would still apply. */
10156 char TIFFClientOpen(); 10218 char TIFFClientOpen();
10157 10219
10158 int main() { 10220 int main() {
10159 TIFFClientOpen() 10221 TIFFClientOpen()
10160 ; return 0; } 10222 ; return 0; }
10161 EOF 10223 EOF
10162 if { (eval echo configure:10163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10224 if { (eval echo configure:10225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10163 rm -rf conftest* 10225 rm -rf conftest*
10164 eval "ac_cv_lib_$ac_lib_var=yes" 10226 eval "ac_cv_lib_$ac_lib_var=yes"
10165 else 10227 else
10166 echo "configure: failed program was:" >&5 10228 echo "configure: failed program was:" >&5
10167 cat conftest.$ac_ext >&5 10229 cat conftest.$ac_ext >&5
10196 10258
10197 10259
10198 if test "$with_gtk" = "yes"; then 10260 if test "$with_gtk" = "yes"; then
10199 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 10261 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
10200 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 10262 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
10201 echo "configure:10202: checking for compface.h" >&5 10263 echo "configure:10264: checking for compface.h" >&5
10202 10264
10203 cat > conftest.$ac_ext <<EOF 10265 cat > conftest.$ac_ext <<EOF
10204 #line 10205 "configure" 10266 #line 10267 "configure"
10205 #include "confdefs.h" 10267 #include "confdefs.h"
10206 #include <compface.h> 10268 #include <compface.h>
10207 EOF 10269 EOF
10208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10209 { (eval echo configure:10210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10211 if test -z "$ac_err"; then 10273 if test -z "$ac_err"; then
10212 rm -rf conftest* 10274 rm -rf conftest*
10213 eval "ac_cv_header_$ac_safe=yes" 10275 eval "ac_cv_header_$ac_safe=yes"
10214 else 10276 else
10227 with_xface=no 10289 with_xface=no
10228 fi 10290 fi
10229 } 10291 }
10230 test -z "$with_xface" && { 10292 test -z "$with_xface" && {
10231 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 10293 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
10232 echo "configure:10233: checking for UnGenFace in -lcompface" >&5 10294 echo "configure:10295: checking for UnGenFace in -lcompface" >&5
10233 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 10295 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
10234 10296
10235 xe_check_libs=" -lcompface " 10297 xe_check_libs=" -lcompface "
10236 cat > conftest.$ac_ext <<EOF 10298 cat > conftest.$ac_ext <<EOF
10237 #line 10238 "configure" 10299 #line 10300 "configure"
10238 #include "confdefs.h" 10300 #include "confdefs.h"
10239 /* Override any gcc2 internal prototype to avoid an error. */ 10301 /* Override any gcc2 internal prototype to avoid an error. */
10240 /* We use char because int might match the return type of a gcc2 10302 /* We use char because int might match the return type of a gcc2
10241 builtin and then its argument prototype would still apply. */ 10303 builtin and then its argument prototype would still apply. */
10242 char UnGenFace(); 10304 char UnGenFace();
10243 10305
10244 int main() { 10306 int main() {
10245 UnGenFace() 10307 UnGenFace()
10246 ; return 0; } 10308 ; return 0; }
10247 EOF 10309 EOF
10248 if { (eval echo configure:10249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10310 if { (eval echo configure:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10249 rm -rf conftest* 10311 rm -rf conftest*
10250 eval "ac_cv_lib_$ac_lib_var=yes" 10312 eval "ac_cv_lib_$ac_lib_var=yes"
10251 else 10313 else
10252 echo "configure: failed program was:" >&5 10314 echo "configure: failed program was:" >&5
10253 cat conftest.$ac_ext >&5 10315 cat conftest.$ac_ext >&5
10282 10344
10283 10345
10284 10346
10285 if test "$with_x11" = "yes"; then 10347 if test "$with_x11" = "yes"; then
10286 echo "checking for X11 graphics libraries" 1>&6 10348 echo "checking for X11 graphics libraries" 1>&6
10287 echo "configure:10288: checking for X11 graphics libraries" >&5 10349 echo "configure:10350: checking for X11 graphics libraries" >&5
10288 fi 10350 fi
10289 10351
10290 case "$with_widgets" in 10352 case "$with_widgets" in
10291 "yes" | "athena") detect_athena=yes ;; 10353 "yes" | "athena") detect_athena=yes ;;
10292 *) detect_athena=no ;; 10354 *) detect_athena=no ;;
10293 esac 10355 esac
10294 10356
10295 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 10357 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
10296 echo "checking for the Athena widgets" 1>&6 10358 echo "checking for the Athena widgets" 1>&6
10297 echo "configure:10298: checking for the Athena widgets" >&5 10359 echo "configure:10360: checking for the Athena widgets" >&5
10298 10360
10299 case "$with_athena" in 10361 case "$with_athena" in
10300 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 10362 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
10301 "3d") athena_variant=Xaw3d athena_3d=yes ;; 10363 "3d") athena_variant=Xaw3d athena_3d=yes ;;
10302 "next") athena_variant=neXtaw athena_3d=yes ;; 10364 "next") athena_variant=neXtaw athena_3d=yes ;;
10306 esac 10368 esac
10307 10369
10308 if test "$athena_3d" = "no"; then 10370 if test "$athena_3d" = "no"; then
10309 10371
10310 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 10372 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
10311 echo "configure:10312: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 10373 echo "configure:10374: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
10312 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 10374 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
10313 10375
10314 xe_check_libs=" -l$athena_variant " 10376 xe_check_libs=" -l$athena_variant "
10315 cat > conftest.$ac_ext <<EOF 10377 cat > conftest.$ac_ext <<EOF
10316 #line 10317 "configure" 10378 #line 10379 "configure"
10317 #include "confdefs.h" 10379 #include "confdefs.h"
10318 /* Override any gcc2 internal prototype to avoid an error. */ 10380 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2 10381 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */ 10382 builtin and then its argument prototype would still apply. */
10321 char XawScrollbarSetThumb(); 10383 char XawScrollbarSetThumb();
10322 10384
10323 int main() { 10385 int main() {
10324 XawScrollbarSetThumb() 10386 XawScrollbarSetThumb()
10325 ; return 0; } 10387 ; return 0; }
10326 EOF 10388 EOF
10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10389 if { (eval echo configure:10390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10328 rm -rf conftest* 10390 rm -rf conftest*
10329 eval "ac_cv_lib_$ac_lib_var=yes" 10391 eval "ac_cv_lib_$ac_lib_var=yes"
10330 else 10392 else
10331 echo "configure: failed program was:" >&5 10393 echo "configure: failed program was:" >&5
10332 cat conftest.$ac_ext >&5 10394 cat conftest.$ac_ext >&5
10338 10400
10339 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 10401 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
10340 echo "$ac_t""yes" 1>&6 10402 echo "$ac_t""yes" 1>&6
10341 10403
10342 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10404 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10343 echo "configure:10344: checking for threeDClassRec in -l$athena_variant" >&5 10405 echo "configure:10406: checking for threeDClassRec in -l$athena_variant" >&5
10344 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10406 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10345 10407
10346 xe_check_libs=" -l$athena_variant " 10408 xe_check_libs=" -l$athena_variant "
10347 cat > conftest.$ac_ext <<EOF 10409 cat > conftest.$ac_ext <<EOF
10348 #line 10349 "configure" 10410 #line 10411 "configure"
10349 #include "confdefs.h" 10411 #include "confdefs.h"
10350 /* Override any gcc2 internal prototype to avoid an error. */ 10412 /* Override any gcc2 internal prototype to avoid an error. */
10351 /* We use char because int might match the return type of a gcc2 10413 /* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */ 10414 builtin and then its argument prototype would still apply. */
10353 char threeDClassRec(); 10415 char threeDClassRec();
10354 10416
10355 int main() { 10417 int main() {
10356 threeDClassRec() 10418 threeDClassRec()
10357 ; return 0; } 10419 ; return 0; }
10358 EOF 10420 EOF
10359 if { (eval echo configure:10360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10421 if { (eval echo configure:10422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10360 rm -rf conftest* 10422 rm -rf conftest*
10361 eval "ac_cv_lib_$ac_lib_var=yes" 10423 eval "ac_cv_lib_$ac_lib_var=yes"
10362 else 10424 else
10363 echo "configure: failed program was:" >&5 10425 echo "configure: failed program was:" >&5
10364 cat conftest.$ac_ext >&5 10426 cat conftest.$ac_ext >&5
10385 10447
10386 10448
10387 else 10449 else
10388 10450
10389 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 10451 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
10390 echo "configure:10391: checking for threeDClassRec in -l$athena_variant" >&5 10452 echo "configure:10453: checking for threeDClassRec in -l$athena_variant" >&5
10391 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 10453 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
10392 10454
10393 xe_check_libs=" -l$athena_variant " 10455 xe_check_libs=" -l$athena_variant "
10394 cat > conftest.$ac_ext <<EOF 10456 cat > conftest.$ac_ext <<EOF
10395 #line 10396 "configure" 10457 #line 10458 "configure"
10396 #include "confdefs.h" 10458 #include "confdefs.h"
10397 /* Override any gcc2 internal prototype to avoid an error. */ 10459 /* Override any gcc2 internal prototype to avoid an error. */
10398 /* We use char because int might match the return type of a gcc2 10460 /* We use char because int might match the return type of a gcc2
10399 builtin and then its argument prototype would still apply. */ 10461 builtin and then its argument prototype would still apply. */
10400 char threeDClassRec(); 10462 char threeDClassRec();
10401 10463
10402 int main() { 10464 int main() {
10403 threeDClassRec() 10465 threeDClassRec()
10404 ; return 0; } 10466 ; return 0; }
10405 EOF 10467 EOF
10406 if { (eval echo configure:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10468 if { (eval echo configure:10469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10407 rm -rf conftest* 10469 rm -rf conftest*
10408 eval "ac_cv_lib_$ac_lib_var=yes" 10470 eval "ac_cv_lib_$ac_lib_var=yes"
10409 else 10471 else
10410 echo "configure: failed program was:" >&5 10472 echo "configure: failed program was:" >&5
10411 cat conftest.$ac_ext >&5 10473 cat conftest.$ac_ext >&5
10419 echo "$ac_t""yes" 1>&6 10481 echo "$ac_t""yes" 1>&6
10420 athena_lib=$athena_variant 10482 athena_lib=$athena_variant
10421 else 10483 else
10422 echo "$ac_t""no" 1>&6 10484 echo "$ac_t""no" 1>&6
10423 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 10485 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
10424 echo "configure:10425: checking for threeDClassRec in -lXaw" >&5 10486 echo "configure:10487: checking for threeDClassRec in -lXaw" >&5
10425 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 10487 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
10426 10488
10427 xe_check_libs=" -lXaw " 10489 xe_check_libs=" -lXaw "
10428 cat > conftest.$ac_ext <<EOF 10490 cat > conftest.$ac_ext <<EOF
10429 #line 10430 "configure" 10491 #line 10492 "configure"
10430 #include "confdefs.h" 10492 #include "confdefs.h"
10431 /* Override any gcc2 internal prototype to avoid an error. */ 10493 /* Override any gcc2 internal prototype to avoid an error. */
10432 /* We use char because int might match the return type of a gcc2 10494 /* We use char because int might match the return type of a gcc2
10433 builtin and then its argument prototype would still apply. */ 10495 builtin and then its argument prototype would still apply. */
10434 char threeDClassRec(); 10496 char threeDClassRec();
10435 10497
10436 int main() { 10498 int main() {
10437 threeDClassRec() 10499 threeDClassRec()
10438 ; return 0; } 10500 ; return 0; }
10439 EOF 10501 EOF
10440 if { (eval echo configure:10441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10502 if { (eval echo configure:10503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10441 rm -rf conftest* 10503 rm -rf conftest*
10442 eval "ac_cv_lib_$ac_lib_var=yes" 10504 eval "ac_cv_lib_$ac_lib_var=yes"
10443 else 10505 else
10444 echo "configure: failed program was:" >&5 10506 echo "configure: failed program was:" >&5
10445 cat conftest.$ac_ext >&5 10507 cat conftest.$ac_ext >&5
10466 fi 10528 fi
10467 10529
10468 if test "$athena_3d" = "no"; then 10530 if test "$athena_3d" = "no"; then
10469 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10531 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10470 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10532 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10471 echo "configure:10472: checking for X11/Xaw/ThreeD.h" >&5 10533 echo "configure:10534: checking for X11/Xaw/ThreeD.h" >&5
10472 10534
10473 cat > conftest.$ac_ext <<EOF 10535 cat > conftest.$ac_ext <<EOF
10474 #line 10475 "configure" 10536 #line 10537 "configure"
10475 #include "confdefs.h" 10537 #include "confdefs.h"
10476 #include <X11/Xaw/ThreeD.h> 10538 #include <X11/Xaw/ThreeD.h>
10477 EOF
10478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10479 { (eval echo configure:10480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10481 if test -z "$ac_err"; then
10482 rm -rf conftest*
10483 eval "ac_cv_header_$ac_safe=yes"
10484 else
10485 echo "$ac_err" >&5
10486 echo "configure: failed program was:" >&5
10487 cat conftest.$ac_ext >&5
10488 rm -rf conftest*
10489 eval "ac_cv_header_$ac_safe=no"
10490 fi
10491 rm -f conftest*
10492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10493 echo "$ac_t""yes" 1>&6
10494 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10495 else
10496 echo "$ac_t""no" 1>&6
10497 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10498 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10499 echo "configure:10500: checking for X11/Xaw/XawInit.h" >&5
10500
10501 cat > conftest.$ac_ext <<EOF
10502 #line 10503 "configure"
10503 #include "confdefs.h"
10504 #include <X11/Xaw/XawInit.h>
10505 EOF
10506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10507 { (eval echo configure:10508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10509 if test -z "$ac_err"; then
10510 rm -rf conftest*
10511 eval "ac_cv_header_$ac_safe=yes"
10512 else
10513 echo "$ac_err" >&5
10514 echo "configure: failed program was:" >&5
10515 cat conftest.$ac_ext >&5
10516 rm -rf conftest*
10517 eval "ac_cv_header_$ac_safe=no"
10518 fi
10519 rm -f conftest*
10520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10521 echo "$ac_t""yes" 1>&6
10522 athena_h_path=X11/Xaw
10523 else
10524 echo "$ac_t""no" 1>&6
10525 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10526 fi
10527
10528 fi
10529
10530 else
10531 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10532 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10533 echo "configure:10534: checking for X11/$athena_variant/XawInit.h" >&5
10534
10535 cat > conftest.$ac_ext <<EOF
10536 #line 10537 "configure"
10537 #include "confdefs.h"
10538 #include <X11/$athena_variant/XawInit.h>
10539 EOF 10539 EOF
10540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10541 { (eval echo configure:10542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10541 { (eval echo configure:10542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10543 if test -z "$ac_err"; then 10543 if test -z "$ac_err"; then
10551 eval "ac_cv_header_$ac_safe=no" 10551 eval "ac_cv_header_$ac_safe=no"
10552 fi 10552 fi
10553 rm -f conftest* 10553 rm -f conftest*
10554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10555 echo "$ac_t""yes" 1>&6 10555 echo "$ac_t""yes" 1>&6
10556 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10557 else
10558 echo "$ac_t""no" 1>&6
10559 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
10560 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
10561 echo "configure:10562: checking for X11/Xaw/XawInit.h" >&5
10562
10563 cat > conftest.$ac_ext <<EOF
10564 #line 10565 "configure"
10565 #include "confdefs.h"
10566 #include <X11/Xaw/XawInit.h>
10567 EOF
10568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10569 { (eval echo configure:10570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10571 if test -z "$ac_err"; then
10572 rm -rf conftest*
10573 eval "ac_cv_header_$ac_safe=yes"
10574 else
10575 echo "$ac_err" >&5
10576 echo "configure: failed program was:" >&5
10577 cat conftest.$ac_ext >&5
10578 rm -rf conftest*
10579 eval "ac_cv_header_$ac_safe=no"
10580 fi
10581 rm -f conftest*
10582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10583 echo "$ac_t""yes" 1>&6
10584 athena_h_path=X11/Xaw
10585 else
10586 echo "$ac_t""no" 1>&6
10587 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
10588 fi
10589
10590 fi
10591
10592 else
10593 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10594 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
10595 echo "configure:10596: checking for X11/$athena_variant/XawInit.h" >&5
10596
10597 cat > conftest.$ac_ext <<EOF
10598 #line 10599 "configure"
10599 #include "confdefs.h"
10600 #include <X11/$athena_variant/XawInit.h>
10601 EOF
10602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10603 { (eval echo configure:10604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10605 if test -z "$ac_err"; then
10606 rm -rf conftest*
10607 eval "ac_cv_header_$ac_safe=yes"
10608 else
10609 echo "$ac_err" >&5
10610 echo "configure: failed program was:" >&5
10611 cat conftest.$ac_ext >&5
10612 rm -rf conftest*
10613 eval "ac_cv_header_$ac_safe=no"
10614 fi
10615 rm -f conftest*
10616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10617 echo "$ac_t""yes" 1>&6
10556 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 10618 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10557 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 10619 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
10558 echo "configure:10559: checking for X11/$athena_variant/ThreeD.h" >&5 10620 echo "configure:10621: checking for X11/$athena_variant/ThreeD.h" >&5
10559 10621
10560 cat > conftest.$ac_ext <<EOF 10622 cat > conftest.$ac_ext <<EOF
10561 #line 10562 "configure" 10623 #line 10624 "configure"
10562 #include "confdefs.h" 10624 #include "confdefs.h"
10563 #include <X11/$athena_variant/ThreeD.h> 10625 #include <X11/$athena_variant/ThreeD.h>
10564 EOF 10626 EOF
10565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10566 { (eval echo configure:10567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10568 if test -z "$ac_err"; then 10630 if test -z "$ac_err"; then
10569 rm -rf conftest* 10631 rm -rf conftest*
10570 eval "ac_cv_header_$ac_safe=yes" 10632 eval "ac_cv_header_$ac_safe=yes"
10571 else 10633 else
10589 10651
10590 10652
10591 if test -z "$athena_h_path"; then 10653 if test -z "$athena_h_path"; then
10592 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 10654 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
10593 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 10655 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
10594 echo "configure:10595: checking for $athena_variant/XawInit.h" >&5 10656 echo "configure:10657: checking for $athena_variant/XawInit.h" >&5
10595 10657
10596 cat > conftest.$ac_ext <<EOF 10658 cat > conftest.$ac_ext <<EOF
10597 #line 10598 "configure" 10659 #line 10660 "configure"
10598 #include "confdefs.h" 10660 #include "confdefs.h"
10599 #include <$athena_variant/XawInit.h> 10661 #include <$athena_variant/XawInit.h>
10600 EOF
10601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10602 { (eval echo configure:10603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10604 if test -z "$ac_err"; then
10605 rm -rf conftest*
10606 eval "ac_cv_header_$ac_safe=yes"
10607 else
10608 echo "$ac_err" >&5
10609 echo "configure: failed program was:" >&5
10610 cat conftest.$ac_ext >&5
10611 rm -rf conftest*
10612 eval "ac_cv_header_$ac_safe=no"
10613 fi
10614 rm -f conftest*
10615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10616 echo "$ac_t""yes" 1>&6
10617 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10618 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10619 echo "configure:10620: checking for $athena_variant/ThreeD.h" >&5
10620
10621 cat > conftest.$ac_ext <<EOF
10622 #line 10623 "configure"
10623 #include "confdefs.h"
10624 #include <$athena_variant/ThreeD.h>
10625 EOF
10626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10627 { (eval echo configure:10628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10629 if test -z "$ac_err"; then
10630 rm -rf conftest*
10631 eval "ac_cv_header_$ac_safe=yes"
10632 else
10633 echo "$ac_err" >&5
10634 echo "configure: failed program was:" >&5
10635 cat conftest.$ac_ext >&5
10636 rm -rf conftest*
10637 eval "ac_cv_header_$ac_safe=no"
10638 fi
10639 rm -f conftest*
10640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10641 echo "$ac_t""yes" 1>&6
10642 athena_h_path=$athena_variant
10643 else
10644 echo "$ac_t""no" 1>&6
10645 fi
10646
10647 else
10648 echo "$ac_t""no" 1>&6
10649 fi
10650
10651 fi
10652
10653 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10654 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10655 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10656 echo "configure:10657: checking for X11/Xaw3d/XawInit.h" >&5
10657
10658 cat > conftest.$ac_ext <<EOF
10659 #line 10660 "configure"
10660 #include "confdefs.h"
10661 #include <X11/Xaw3d/XawInit.h>
10662 EOF 10662 EOF
10663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10664 { (eval echo configure:10665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10664 { (eval echo configure:10665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10666 if test -z "$ac_err"; then 10666 if test -z "$ac_err"; then
10674 eval "ac_cv_header_$ac_safe=no" 10674 eval "ac_cv_header_$ac_safe=no"
10675 fi 10675 fi
10676 rm -f conftest* 10676 rm -f conftest*
10677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10678 echo "$ac_t""yes" 1>&6 10678 echo "$ac_t""yes" 1>&6
10679 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10679 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
10680 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 10680 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
10681 echo "configure:10682: checking for X11/Xaw3d/ThreeD.h" >&5 10681 echo "configure:10682: checking for $athena_variant/ThreeD.h" >&5
10682 10682
10683 cat > conftest.$ac_ext <<EOF 10683 cat > conftest.$ac_ext <<EOF
10684 #line 10685 "configure" 10684 #line 10685 "configure"
10685 #include "confdefs.h" 10685 #include "confdefs.h"
10686 #include <X11/Xaw3d/ThreeD.h> 10686 #include <$athena_variant/ThreeD.h>
10687 EOF 10687 EOF
10688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10689 { (eval echo configure:10690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10689 { (eval echo configure:10690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10691 if test -z "$ac_err"; then 10691 if test -z "$ac_err"; then
10699 eval "ac_cv_header_$ac_safe=no" 10699 eval "ac_cv_header_$ac_safe=no"
10700 fi 10700 fi
10701 rm -f conftest* 10701 rm -f conftest*
10702 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10702 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10703 echo "$ac_t""yes" 1>&6 10703 echo "$ac_t""yes" 1>&6
10704 athena_h_path=$athena_variant
10705 else
10706 echo "$ac_t""no" 1>&6
10707 fi
10708
10709 else
10710 echo "$ac_t""no" 1>&6
10711 fi
10712
10713 fi
10714
10715 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10716 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10717 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
10718 echo "configure:10719: checking for X11/Xaw3d/XawInit.h" >&5
10719
10720 cat > conftest.$ac_ext <<EOF
10721 #line 10722 "configure"
10722 #include "confdefs.h"
10723 #include <X11/Xaw3d/XawInit.h>
10724 EOF
10725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10726 { (eval echo configure:10727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10728 if test -z "$ac_err"; then
10729 rm -rf conftest*
10730 eval "ac_cv_header_$ac_safe=yes"
10731 else
10732 echo "$ac_err" >&5
10733 echo "configure: failed program was:" >&5
10734 cat conftest.$ac_ext >&5
10735 rm -rf conftest*
10736 eval "ac_cv_header_$ac_safe=no"
10737 fi
10738 rm -f conftest*
10739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10740 echo "$ac_t""yes" 1>&6
10741 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10742 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
10743 echo "configure:10744: checking for X11/Xaw3d/ThreeD.h" >&5
10744
10745 cat > conftest.$ac_ext <<EOF
10746 #line 10747 "configure"
10747 #include "confdefs.h"
10748 #include <X11/Xaw3d/ThreeD.h>
10749 EOF
10750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10751 { (eval echo configure:10752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10753 if test -z "$ac_err"; then
10754 rm -rf conftest*
10755 eval "ac_cv_header_$ac_safe=yes"
10756 else
10757 echo "$ac_err" >&5
10758 echo "configure: failed program was:" >&5
10759 cat conftest.$ac_ext >&5
10760 rm -rf conftest*
10761 eval "ac_cv_header_$ac_safe=no"
10762 fi
10763 rm -f conftest*
10764 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10765 echo "$ac_t""yes" 1>&6
10704 10766
10705 echo "configure: warning: Assuming that X11/Xaw3d headers are suitable for $athena_variant." 1>&2 10767 echo "configure: warning: Assuming that X11/Xaw3d headers are suitable for $athena_variant." 1>&2
10706 athena_h_path=X11/Xaw3d 10768 athena_h_path=X11/Xaw3d
10707 10769
10708 else 10770 else
10716 fi 10778 fi
10717 10779
10718 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 10780 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
10719 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 10781 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
10720 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 10782 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
10721 echo "configure:10722: checking for Xaw3d/XawInit.h" >&5 10783 echo "configure:10784: checking for Xaw3d/XawInit.h" >&5
10722 10784
10723 cat > conftest.$ac_ext <<EOF 10785 cat > conftest.$ac_ext <<EOF
10724 #line 10725 "configure" 10786 #line 10787 "configure"
10725 #include "confdefs.h" 10787 #include "confdefs.h"
10726 #include <Xaw3d/XawInit.h> 10788 #include <Xaw3d/XawInit.h>
10727 EOF 10789 EOF
10728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10729 { (eval echo configure:10730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10791 { (eval echo configure:10792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10731 if test -z "$ac_err"; then 10793 if test -z "$ac_err"; then
10732 rm -rf conftest* 10794 rm -rf conftest*
10733 eval "ac_cv_header_$ac_safe=yes" 10795 eval "ac_cv_header_$ac_safe=yes"
10734 else 10796 else
10741 rm -f conftest* 10803 rm -f conftest*
10742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10743 echo "$ac_t""yes" 1>&6 10805 echo "$ac_t""yes" 1>&6
10744 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 10806 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
10745 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 10807 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
10746 echo "configure:10747: checking for Xaw3d/ThreeD.h" >&5 10808 echo "configure:10809: checking for Xaw3d/ThreeD.h" >&5
10747 10809
10748 cat > conftest.$ac_ext <<EOF 10810 cat > conftest.$ac_ext <<EOF
10749 #line 10750 "configure" 10811 #line 10812 "configure"
10750 #include "confdefs.h" 10812 #include "confdefs.h"
10751 #include <Xaw3d/ThreeD.h> 10813 #include <Xaw3d/ThreeD.h>
10752 EOF 10814 EOF
10753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10754 { (eval echo configure:10755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10816 { (eval echo configure:10817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10756 if test -z "$ac_err"; then 10818 if test -z "$ac_err"; then
10757 rm -rf conftest* 10819 rm -rf conftest*
10758 eval "ac_cv_header_$ac_safe=yes" 10820 eval "ac_cv_header_$ac_safe=yes"
10759 else 10821 else
10781 fi 10843 fi
10782 10844
10783 if test -z "$athena_h_path"; then 10845 if test -z "$athena_h_path"; then
10784 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 10846 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
10785 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 10847 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
10786 echo "configure:10787: checking for X11/Xaw/ThreeD.h" >&5 10848 echo "configure:10849: checking for X11/Xaw/ThreeD.h" >&5
10787 10849
10788 cat > conftest.$ac_ext <<EOF 10850 cat > conftest.$ac_ext <<EOF
10789 #line 10790 "configure" 10851 #line 10852 "configure"
10790 #include "confdefs.h" 10852 #include "confdefs.h"
10791 #include <X11/Xaw/ThreeD.h> 10853 #include <X11/Xaw/ThreeD.h>
10792 EOF 10854 EOF
10793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10794 { (eval echo configure:10795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10856 { (eval echo configure:10857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10796 if test -z "$ac_err"; then 10858 if test -z "$ac_err"; then
10797 rm -rf conftest* 10859 rm -rf conftest*
10798 eval "ac_cv_header_$ac_safe=yes" 10860 eval "ac_cv_header_$ac_safe=yes"
10799 else 10861 else
10828 have_xaw=no 10890 have_xaw=no
10829 fi 10891 fi
10830 if test "$with_x11" = "yes"; then 10892 if test "$with_x11" = "yes"; then
10831 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 10893 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
10832 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 10894 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
10833 echo "configure:10834: checking for Xm/Xm.h" >&5 10895 echo "configure:10896: checking for Xm/Xm.h" >&5
10834 10896
10835 cat > conftest.$ac_ext <<EOF 10897 cat > conftest.$ac_ext <<EOF
10836 #line 10837 "configure" 10898 #line 10899 "configure"
10837 #include "confdefs.h" 10899 #include "confdefs.h"
10838 #include <Xm/Xm.h> 10900 #include <Xm/Xm.h>
10839 EOF 10901 EOF
10840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10841 { (eval echo configure:10842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10903 { (eval echo configure:10904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10843 if test -z "$ac_err"; then 10905 if test -z "$ac_err"; then
10844 rm -rf conftest* 10906 rm -rf conftest*
10845 eval "ac_cv_header_$ac_safe=yes" 10907 eval "ac_cv_header_$ac_safe=yes"
10846 else 10908 else
10853 rm -f conftest* 10915 rm -f conftest*
10854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10855 echo "$ac_t""yes" 1>&6 10917 echo "$ac_t""yes" 1>&6
10856 10918
10857 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 10919 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
10858 echo "configure:10859: checking for XmStringFree in -lXm" >&5 10920 echo "configure:10921: checking for XmStringFree in -lXm" >&5
10859 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 10921 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
10860 10922
10861 xe_check_libs=" -lXm " 10923 xe_check_libs=" -lXm "
10862 cat > conftest.$ac_ext <<EOF 10924 cat > conftest.$ac_ext <<EOF
10863 #line 10864 "configure" 10925 #line 10926 "configure"
10864 #include "confdefs.h" 10926 #include "confdefs.h"
10865 /* Override any gcc2 internal prototype to avoid an error. */ 10927 /* Override any gcc2 internal prototype to avoid an error. */
10866 /* We use char because int might match the return type of a gcc2 10928 /* We use char because int might match the return type of a gcc2
10867 builtin and then its argument prototype would still apply. */ 10929 builtin and then its argument prototype would still apply. */
10868 char XmStringFree(); 10930 char XmStringFree();
10869 10931
10870 int main() { 10932 int main() {
10871 XmStringFree() 10933 XmStringFree()
10872 ; return 0; } 10934 ; return 0; }
10873 EOF 10935 EOF
10874 if { (eval echo configure:10875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10936 if { (eval echo configure:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10875 rm -rf conftest* 10937 rm -rf conftest*
10876 eval "ac_cv_lib_$ac_lib_var=yes" 10938 eval "ac_cv_lib_$ac_lib_var=yes"
10877 else 10939 else
10878 echo "configure: failed program was:" >&5 10940 echo "configure: failed program was:" >&5
10879 cat conftest.$ac_ext >&5 10941 cat conftest.$ac_ext >&5
10898 fi 10960 fi
10899 10961
10900 10962
10901 if test "$have_motif" = "yes"; then 10963 if test "$have_motif" = "yes"; then
10902 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 10964 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
10903 echo "configure:10904: checking for Lesstif" >&5 10965 echo "configure:10966: checking for Lesstif" >&5
10904 cat > conftest.$ac_ext <<EOF 10966 cat > conftest.$ac_ext <<EOF
10905 #line 10906 "configure" 10967 #line 10968 "configure"
10906 #include "confdefs.h" 10968 #include "confdefs.h"
10907 #include <Xm/Xm.h> 10969 #include <Xm/Xm.h>
10908 #ifdef LESSTIF_VERSION 10970 #ifdef LESSTIF_VERSION
10909 yes 10971 yes
10910 #endif 10972 #endif
11273 11335
11274 fi 11336 fi
11275 11337
11276 if test "$with_mule" = "yes" ; then 11338 if test "$with_mule" = "yes" ; then
11277 echo "checking for Mule-related features" 1>&6 11339 echo "checking for Mule-related features" 1>&6
11278 echo "configure:11279: checking for Mule-related features" >&5 11340 echo "configure:11341: checking for Mule-related features" >&5
11279 { test "$extra_verbose" = "yes" && cat << \EOF 11341 { test "$extra_verbose" = "yes" && cat << \EOF
11280 Defining MULE 11342 Defining MULE
11281 EOF 11343 EOF
11282 cat >> confdefs.h <<\EOF 11344 cat >> confdefs.h <<\EOF
11283 #define MULE 1 11345 #define MULE 1
11287 11349
11288 for ac_hdr in libintl.h 11350 for ac_hdr in libintl.h
11289 do 11351 do
11290 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11291 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11292 echo "configure:11293: checking for $ac_hdr" >&5 11354 echo "configure:11355: checking for $ac_hdr" >&5
11293 11355
11294 cat > conftest.$ac_ext <<EOF 11356 cat > conftest.$ac_ext <<EOF
11295 #line 11296 "configure" 11357 #line 11358 "configure"
11296 #include "confdefs.h" 11358 #include "confdefs.h"
11297 #include <$ac_hdr> 11359 #include <$ac_hdr>
11298 EOF 11360 EOF
11299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11300 { (eval echo configure:11301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11362 { (eval echo configure:11363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11302 if test -z "$ac_err"; then 11364 if test -z "$ac_err"; then
11303 rm -rf conftest* 11365 rm -rf conftest*
11304 eval "ac_cv_header_$ac_safe=yes" 11366 eval "ac_cv_header_$ac_safe=yes"
11305 else 11367 else
11326 fi 11388 fi
11327 done 11389 done
11328 11390
11329 11391
11330 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 11392 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
11331 echo "configure:11332: checking for strerror in -lintl" >&5 11393 echo "configure:11394: checking for strerror in -lintl" >&5
11332 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 11394 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
11333 11395
11334 xe_check_libs=" -lintl " 11396 xe_check_libs=" -lintl "
11335 cat > conftest.$ac_ext <<EOF 11397 cat > conftest.$ac_ext <<EOF
11336 #line 11337 "configure" 11398 #line 11399 "configure"
11337 #include "confdefs.h" 11399 #include "confdefs.h"
11338 /* Override any gcc2 internal prototype to avoid an error. */ 11400 /* Override any gcc2 internal prototype to avoid an error. */
11339 /* We use char because int might match the return type of a gcc2 11401 /* We use char because int might match the return type of a gcc2
11340 builtin and then its argument prototype would still apply. */ 11402 builtin and then its argument prototype would still apply. */
11341 char strerror(); 11403 char strerror();
11342 11404
11343 int main() { 11405 int main() {
11344 strerror() 11406 strerror()
11345 ; return 0; } 11407 ; return 0; }
11346 EOF 11408 EOF
11347 if { (eval echo configure:11348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11348 rm -rf conftest* 11410 rm -rf conftest*
11349 eval "ac_cv_lib_$ac_lib_var=yes" 11411 eval "ac_cv_lib_$ac_lib_var=yes"
11350 else 11412 else
11351 echo "configure: failed program was:" >&5 11413 echo "configure: failed program was:" >&5
11352 cat conftest.$ac_ext >&5 11414 cat conftest.$ac_ext >&5
11375 fi 11437 fi
11376 11438
11377 11439
11378 11440
11379 echo "checking for Mule input methods" 1>&6 11441 echo "checking for Mule input methods" 1>&6
11380 echo "configure:11381: checking for Mule input methods" >&5 11442 echo "configure:11443: checking for Mule input methods" >&5
11381 case "$with_xim" in "" | "yes" ) 11443 case "$with_xim" in "" | "yes" )
11382 echo "checking for XIM" 1>&6 11444 echo "checking for XIM" 1>&6
11383 echo "configure:11384: checking for XIM" >&5 11445 echo "configure:11446: checking for XIM" >&5
11384 11446
11385 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 11447 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
11386 echo "configure:11387: checking for XOpenIM in -lX11" >&5 11448 echo "configure:11449: checking for XOpenIM in -lX11" >&5
11387 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 11449 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
11388 11450
11389 xe_check_libs=" -lX11 " 11451 xe_check_libs=" -lX11 "
11390 cat > conftest.$ac_ext <<EOF 11452 cat > conftest.$ac_ext <<EOF
11391 #line 11392 "configure" 11453 #line 11454 "configure"
11392 #include "confdefs.h" 11454 #include "confdefs.h"
11393 /* Override any gcc2 internal prototype to avoid an error. */ 11455 /* Override any gcc2 internal prototype to avoid an error. */
11394 /* We use char because int might match the return type of a gcc2 11456 /* We use char because int might match the return type of a gcc2
11395 builtin and then its argument prototype would still apply. */ 11457 builtin and then its argument prototype would still apply. */
11396 char XOpenIM(); 11458 char XOpenIM();
11397 11459
11398 int main() { 11460 int main() {
11399 XOpenIM() 11461 XOpenIM()
11400 ; return 0; } 11462 ; return 0; }
11401 EOF 11463 EOF
11402 if { (eval echo configure:11403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11464 if { (eval echo configure:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11403 rm -rf conftest* 11465 rm -rf conftest*
11404 eval "ac_cv_lib_$ac_lib_var=yes" 11466 eval "ac_cv_lib_$ac_lib_var=yes"
11405 else 11467 else
11406 echo "configure: failed program was:" >&5 11468 echo "configure: failed program was:" >&5
11407 cat conftest.$ac_ext >&5 11469 cat conftest.$ac_ext >&5
11421 11483
11422 11484
11423 if test "$have_motif $have_lesstif" = "yes no"; then 11485 if test "$have_motif $have_lesstif" = "yes no"; then
11424 11486
11425 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 11487 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
11426 echo "configure:11427: checking for XmImMbLookupString in -lXm" >&5 11488 echo "configure:11489: checking for XmImMbLookupString in -lXm" >&5
11427 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 11489 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
11428 11490
11429 xe_check_libs=" -lXm " 11491 xe_check_libs=" -lXm "
11430 cat > conftest.$ac_ext <<EOF 11492 cat > conftest.$ac_ext <<EOF
11431 #line 11432 "configure" 11493 #line 11494 "configure"
11432 #include "confdefs.h" 11494 #include "confdefs.h"
11433 /* Override any gcc2 internal prototype to avoid an error. */ 11495 /* Override any gcc2 internal prototype to avoid an error. */
11434 /* We use char because int might match the return type of a gcc2 11496 /* We use char because int might match the return type of a gcc2
11435 builtin and then its argument prototype would still apply. */ 11497 builtin and then its argument prototype would still apply. */
11436 char XmImMbLookupString(); 11498 char XmImMbLookupString();
11437 11499
11438 int main() { 11500 int main() {
11439 XmImMbLookupString() 11501 XmImMbLookupString()
11440 ; return 0; } 11502 ; return 0; }
11441 EOF 11503 EOF
11442 if { (eval echo configure:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11504 if { (eval echo configure:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11443 rm -rf conftest* 11505 rm -rf conftest*
11444 eval "ac_cv_lib_$ac_lib_var=yes" 11506 eval "ac_cv_lib_$ac_lib_var=yes"
11445 else 11507 else
11446 echo "configure: failed program was:" >&5 11508 echo "configure: failed program was:" >&5
11447 cat conftest.$ac_ext >&5 11509 cat conftest.$ac_ext >&5
11502 fi 11564 fi
11503 fi 11565 fi
11504 11566
11505 if test "$with_xfs" = "yes" ; then 11567 if test "$with_xfs" = "yes" ; then
11506 echo "checking for XFontSet" 1>&6 11568 echo "checking for XFontSet" 1>&6
11507 echo "configure:11508: checking for XFontSet" >&5 11569 echo "configure:11570: checking for XFontSet" >&5
11508 11570
11509 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 11571 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
11510 echo "configure:11511: checking for XmbDrawString in -lX11" >&5 11572 echo "configure:11573: checking for XmbDrawString in -lX11" >&5
11511 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 11573 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
11512 11574
11513 xe_check_libs=" -lX11 " 11575 xe_check_libs=" -lX11 "
11514 cat > conftest.$ac_ext <<EOF 11576 cat > conftest.$ac_ext <<EOF
11515 #line 11516 "configure" 11577 #line 11578 "configure"
11516 #include "confdefs.h" 11578 #include "confdefs.h"
11517 /* Override any gcc2 internal prototype to avoid an error. */ 11579 /* Override any gcc2 internal prototype to avoid an error. */
11518 /* We use char because int might match the return type of a gcc2 11580 /* We use char because int might match the return type of a gcc2
11519 builtin and then its argument prototype would still apply. */ 11581 builtin and then its argument prototype would still apply. */
11520 char XmbDrawString(); 11582 char XmbDrawString();
11521 11583
11522 int main() { 11584 int main() {
11523 XmbDrawString() 11585 XmbDrawString()
11524 ; return 0; } 11586 ; return 0; }
11525 EOF 11587 EOF
11526 if { (eval echo configure:11527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11527 rm -rf conftest* 11589 rm -rf conftest*
11528 eval "ac_cv_lib_$ac_lib_var=yes" 11590 eval "ac_cv_lib_$ac_lib_var=yes"
11529 else 11591 else
11530 echo "configure: failed program was:" >&5 11592 echo "configure: failed program was:" >&5
11531 cat conftest.$ac_ext >&5 11593 cat conftest.$ac_ext >&5
11561 fi 11623 fi
11562 fi 11624 fi
11563 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 11625 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
11564 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 11626 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
11565 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 11627 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
11566 echo "configure:11567: checking for wnn/jllib.h" >&5 11628 echo "configure:11629: checking for wnn/jllib.h" >&5
11567 11629
11568 cat > conftest.$ac_ext <<EOF 11630 cat > conftest.$ac_ext <<EOF
11569 #line 11570 "configure" 11631 #line 11632 "configure"
11570 #include "confdefs.h" 11632 #include "confdefs.h"
11571 #include <wnn/jllib.h> 11633 #include <wnn/jllib.h>
11572 EOF 11634 EOF
11573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11574 { (eval echo configure:11575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11636 { (eval echo configure:11637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11576 if test -z "$ac_err"; then 11638 if test -z "$ac_err"; then
11577 rm -rf conftest* 11639 rm -rf conftest*
11578 eval "ac_cv_header_$ac_safe=yes" 11640 eval "ac_cv_header_$ac_safe=yes"
11579 else 11641 else
11592 with_wnn=no 11654 with_wnn=no
11593 fi 11655 fi
11594 } 11656 }
11595 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 11657 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
11596 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 11658 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
11597 echo "configure:11598: checking for wnn/commonhd.h" >&5 11659 echo "configure:11660: checking for wnn/commonhd.h" >&5
11598 11660
11599 cat > conftest.$ac_ext <<EOF 11661 cat > conftest.$ac_ext <<EOF
11600 #line 11601 "configure" 11662 #line 11663 "configure"
11601 #include "confdefs.h" 11663 #include "confdefs.h"
11602 #include <wnn/commonhd.h> 11664 #include <wnn/commonhd.h>
11603 EOF 11665 EOF
11604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11605 { (eval echo configure:11606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11667 { (eval echo configure:11668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11607 if test -z "$ac_err"; then 11669 if test -z "$ac_err"; then
11608 rm -rf conftest* 11670 rm -rf conftest*
11609 eval "ac_cv_header_$ac_safe=yes" 11671 eval "ac_cv_header_$ac_safe=yes"
11610 else 11672 else
11625 } 11687 }
11626 if test "$with_wnn" != "no"; then 11688 if test "$with_wnn" != "no"; then
11627 for ac_func in crypt 11689 for ac_func in crypt
11628 do 11690 do
11629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11630 echo "configure:11631: checking for $ac_func" >&5 11692 echo "configure:11693: checking for $ac_func" >&5
11631 11693
11632 cat > conftest.$ac_ext <<EOF 11694 cat > conftest.$ac_ext <<EOF
11633 #line 11634 "configure" 11695 #line 11696 "configure"
11634 #include "confdefs.h" 11696 #include "confdefs.h"
11635 /* System header to define __stub macros and hopefully few prototypes, 11697 /* System header to define __stub macros and hopefully few prototypes,
11636 which can conflict with char $ac_func(); below. */ 11698 which can conflict with char $ac_func(); below. */
11637 #include <assert.h> 11699 #include <assert.h>
11638 /* Override any gcc2 internal prototype to avoid an error. */ 11700 /* Override any gcc2 internal prototype to avoid an error. */
11651 $ac_func(); 11713 $ac_func();
11652 #endif 11714 #endif
11653 11715
11654 ; return 0; } 11716 ; return 0; }
11655 EOF 11717 EOF
11656 if { (eval echo configure:11657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11718 if { (eval echo configure:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11657 rm -rf conftest* 11719 rm -rf conftest*
11658 eval "ac_cv_func_$ac_func=yes" 11720 eval "ac_cv_func_$ac_func=yes"
11659 else 11721 else
11660 echo "configure: failed program was:" >&5 11722 echo "configure: failed program was:" >&5
11661 cat conftest.$ac_ext >&5 11723 cat conftest.$ac_ext >&5
11680 fi 11742 fi
11681 done 11743 done
11682 11744
11683 test "$ac_cv_func_crypt" != "yes" && { 11745 test "$ac_cv_func_crypt" != "yes" && {
11684 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 11746 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
11685 echo "configure:11686: checking for crypt in -lcrypt" >&5 11747 echo "configure:11748: checking for crypt in -lcrypt" >&5
11686 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 11748 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
11687 11749
11688 xe_check_libs=" -lcrypt " 11750 xe_check_libs=" -lcrypt "
11689 cat > conftest.$ac_ext <<EOF 11751 cat > conftest.$ac_ext <<EOF
11690 #line 11691 "configure" 11752 #line 11753 "configure"
11691 #include "confdefs.h" 11753 #include "confdefs.h"
11692 /* Override any gcc2 internal prototype to avoid an error. */ 11754 /* Override any gcc2 internal prototype to avoid an error. */
11693 /* We use char because int might match the return type of a gcc2 11755 /* We use char because int might match the return type of a gcc2
11694 builtin and then its argument prototype would still apply. */ 11756 builtin and then its argument prototype would still apply. */
11695 char crypt(); 11757 char crypt();
11696 11758
11697 int main() { 11759 int main() {
11698 crypt() 11760 crypt()
11699 ; return 0; } 11761 ; return 0; }
11700 EOF 11762 EOF
11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11763 if { (eval echo configure:11764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11702 rm -rf conftest* 11764 rm -rf conftest*
11703 eval "ac_cv_lib_$ac_lib_var=yes" 11765 eval "ac_cv_lib_$ac_lib_var=yes"
11704 else 11766 else
11705 echo "configure: failed program was:" >&5 11767 echo "configure: failed program was:" >&5
11706 cat conftest.$ac_ext >&5 11768 cat conftest.$ac_ext >&5
11731 } 11793 }
11732 fi 11794 fi
11733 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 11795 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
11734 11796
11735 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 11797 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
11736 echo "configure:11737: checking for jl_dic_list_e in -lwnn" >&5 11798 echo "configure:11799: checking for jl_dic_list_e in -lwnn" >&5
11737 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11799 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11738 11800
11739 xe_check_libs=" -lwnn " 11801 xe_check_libs=" -lwnn "
11740 cat > conftest.$ac_ext <<EOF 11802 cat > conftest.$ac_ext <<EOF
11741 #line 11742 "configure" 11803 #line 11804 "configure"
11742 #include "confdefs.h" 11804 #include "confdefs.h"
11743 /* Override any gcc2 internal prototype to avoid an error. */ 11805 /* Override any gcc2 internal prototype to avoid an error. */
11744 /* We use char because int might match the return type of a gcc2 11806 /* We use char because int might match the return type of a gcc2
11745 builtin and then its argument prototype would still apply. */ 11807 builtin and then its argument prototype would still apply. */
11746 char jl_dic_list_e(); 11808 char jl_dic_list_e();
11747 11809
11748 int main() { 11810 int main() {
11749 jl_dic_list_e() 11811 jl_dic_list_e()
11750 ; return 0; } 11812 ; return 0; }
11751 EOF 11813 EOF
11752 if { (eval echo configure:11753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11753 rm -rf conftest* 11815 rm -rf conftest*
11754 eval "ac_cv_lib_$ac_lib_var=yes" 11816 eval "ac_cv_lib_$ac_lib_var=yes"
11755 else 11817 else
11756 echo "configure: failed program was:" >&5 11818 echo "configure: failed program was:" >&5
11757 cat conftest.$ac_ext >&5 11819 cat conftest.$ac_ext >&5
11765 echo "$ac_t""yes" 1>&6 11827 echo "$ac_t""yes" 1>&6
11766 libwnn=wnn 11828 libwnn=wnn
11767 else 11829 else
11768 echo "$ac_t""no" 1>&6 11830 echo "$ac_t""no" 1>&6
11769 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 11831 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
11770 echo "configure:11771: checking for jl_dic_list_e in -lwnn4" >&5 11832 echo "configure:11833: checking for jl_dic_list_e in -lwnn4" >&5
11771 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11833 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11772 11834
11773 xe_check_libs=" -lwnn4 " 11835 xe_check_libs=" -lwnn4 "
11774 cat > conftest.$ac_ext <<EOF 11836 cat > conftest.$ac_ext <<EOF
11775 #line 11776 "configure" 11837 #line 11838 "configure"
11776 #include "confdefs.h" 11838 #include "confdefs.h"
11777 /* Override any gcc2 internal prototype to avoid an error. */ 11839 /* Override any gcc2 internal prototype to avoid an error. */
11778 /* We use char because int might match the return type of a gcc2 11840 /* We use char because int might match the return type of a gcc2
11779 builtin and then its argument prototype would still apply. */ 11841 builtin and then its argument prototype would still apply. */
11780 char jl_dic_list_e(); 11842 char jl_dic_list_e();
11781 11843
11782 int main() { 11844 int main() {
11783 jl_dic_list_e() 11845 jl_dic_list_e()
11784 ; return 0; } 11846 ; return 0; }
11785 EOF 11847 EOF
11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11848 if { (eval echo configure:11849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11787 rm -rf conftest* 11849 rm -rf conftest*
11788 eval "ac_cv_lib_$ac_lib_var=yes" 11850 eval "ac_cv_lib_$ac_lib_var=yes"
11789 else 11851 else
11790 echo "configure: failed program was:" >&5 11852 echo "configure: failed program was:" >&5
11791 cat conftest.$ac_ext >&5 11853 cat conftest.$ac_ext >&5
11799 echo "$ac_t""yes" 1>&6 11861 echo "$ac_t""yes" 1>&6
11800 libwnn=wnn4 11862 libwnn=wnn4
11801 else 11863 else
11802 echo "$ac_t""no" 1>&6 11864 echo "$ac_t""no" 1>&6
11803 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 11865 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
11804 echo "configure:11805: checking for jl_dic_list_e in -lwnn6" >&5 11866 echo "configure:11867: checking for jl_dic_list_e in -lwnn6" >&5
11805 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 11867 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
11806 11868
11807 xe_check_libs=" -lwnn6 " 11869 xe_check_libs=" -lwnn6 "
11808 cat > conftest.$ac_ext <<EOF 11870 cat > conftest.$ac_ext <<EOF
11809 #line 11810 "configure" 11871 #line 11872 "configure"
11810 #include "confdefs.h" 11872 #include "confdefs.h"
11811 /* Override any gcc2 internal prototype to avoid an error. */ 11873 /* Override any gcc2 internal prototype to avoid an error. */
11812 /* We use char because int might match the return type of a gcc2 11874 /* We use char because int might match the return type of a gcc2
11813 builtin and then its argument prototype would still apply. */ 11875 builtin and then its argument prototype would still apply. */
11814 char jl_dic_list_e(); 11876 char jl_dic_list_e();
11815 11877
11816 int main() { 11878 int main() {
11817 jl_dic_list_e() 11879 jl_dic_list_e()
11818 ; return 0; } 11880 ; return 0; }
11819 EOF 11881 EOF
11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11882 if { (eval echo configure:11883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11821 rm -rf conftest* 11883 rm -rf conftest*
11822 eval "ac_cv_lib_$ac_lib_var=yes" 11884 eval "ac_cv_lib_$ac_lib_var=yes"
11823 else 11885 else
11824 echo "configure: failed program was:" >&5 11886 echo "configure: failed program was:" >&5
11825 cat conftest.$ac_ext >&5 11887 cat conftest.$ac_ext >&5
11833 echo "$ac_t""yes" 1>&6 11895 echo "$ac_t""yes" 1>&6
11834 libwnn=wnn6 11896 libwnn=wnn6
11835 else 11897 else
11836 echo "$ac_t""no" 1>&6 11898 echo "$ac_t""no" 1>&6
11837 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 11899 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
11838 echo "configure:11839: checking for dic_list_e in -lwnn6_fromsrc" >&5 11900 echo "configure:11901: checking for dic_list_e in -lwnn6_fromsrc" >&5
11839 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 11901 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
11840 11902
11841 xe_check_libs=" -lwnn6_fromsrc " 11903 xe_check_libs=" -lwnn6_fromsrc "
11842 cat > conftest.$ac_ext <<EOF 11904 cat > conftest.$ac_ext <<EOF
11843 #line 11844 "configure" 11905 #line 11906 "configure"
11844 #include "confdefs.h" 11906 #include "confdefs.h"
11845 /* Override any gcc2 internal prototype to avoid an error. */ 11907 /* Override any gcc2 internal prototype to avoid an error. */
11846 /* We use char because int might match the return type of a gcc2 11908 /* We use char because int might match the return type of a gcc2
11847 builtin and then its argument prototype would still apply. */ 11909 builtin and then its argument prototype would still apply. */
11848 char dic_list_e(); 11910 char dic_list_e();
11849 11911
11850 int main() { 11912 int main() {
11851 dic_list_e() 11913 dic_list_e()
11852 ; return 0; } 11914 ; return 0; }
11853 EOF 11915 EOF
11854 if { (eval echo configure:11855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11916 if { (eval echo configure:11917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11855 rm -rf conftest* 11917 rm -rf conftest*
11856 eval "ac_cv_lib_$ac_lib_var=yes" 11918 eval "ac_cv_lib_$ac_lib_var=yes"
11857 else 11919 else
11858 echo "configure: failed program was:" >&5 11920 echo "configure: failed program was:" >&5
11859 cat conftest.$ac_ext >&5 11921 cat conftest.$ac_ext >&5
11894 11956
11895 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 11957 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
11896 if test "$with_wnn6" != "no"; then 11958 if test "$with_wnn6" != "no"; then
11897 11959
11898 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 11960 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
11899 echo "configure:11900: checking for jl_fi_dic_list in -l$libwnn" >&5 11961 echo "configure:11962: checking for jl_fi_dic_list in -l$libwnn" >&5
11900 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 11962 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
11901 11963
11902 xe_check_libs=" -l$libwnn " 11964 xe_check_libs=" -l$libwnn "
11903 cat > conftest.$ac_ext <<EOF 11965 cat > conftest.$ac_ext <<EOF
11904 #line 11905 "configure" 11966 #line 11967 "configure"
11905 #include "confdefs.h" 11967 #include "confdefs.h"
11906 /* Override any gcc2 internal prototype to avoid an error. */ 11968 /* Override any gcc2 internal prototype to avoid an error. */
11907 /* We use char because int might match the return type of a gcc2 11969 /* We use char because int might match the return type of a gcc2
11908 builtin and then its argument prototype would still apply. */ 11970 builtin and then its argument prototype would still apply. */
11909 char jl_fi_dic_list(); 11971 char jl_fi_dic_list();
11910 11972
11911 int main() { 11973 int main() {
11912 jl_fi_dic_list() 11974 jl_fi_dic_list()
11913 ; return 0; } 11975 ; return 0; }
11914 EOF 11976 EOF
11915 if { (eval echo configure:11916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11977 if { (eval echo configure:11978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11916 rm -rf conftest* 11978 rm -rf conftest*
11917 eval "ac_cv_lib_$ac_lib_var=yes" 11979 eval "ac_cv_lib_$ac_lib_var=yes"
11918 else 11980 else
11919 echo "configure: failed program was:" >&5 11981 echo "configure: failed program was:" >&5
11920 cat conftest.$ac_ext >&5 11982 cat conftest.$ac_ext >&5
11945 12007
11946 canna_includes_found=no 12008 canna_includes_found=no
11947 if test "$with_canna" != "no"; then 12009 if test "$with_canna" != "no"; then
11948 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 12010 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11949 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 12011 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11950 echo "configure:11951: checking for canna/jrkanji.h" >&5 12012 echo "configure:12013: checking for canna/jrkanji.h" >&5
11951 12013
11952 cat > conftest.$ac_ext <<EOF 12014 cat > conftest.$ac_ext <<EOF
11953 #line 11954 "configure" 12015 #line 12016 "configure"
11954 #include "confdefs.h" 12016 #include "confdefs.h"
11955 #include <canna/jrkanji.h> 12017 #include <canna/jrkanji.h>
11956 EOF 12018 EOF
11957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11958 { (eval echo configure:11959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12020 { (eval echo configure:12021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11960 if test -z "$ac_err"; then 12022 if test -z "$ac_err"; then
11961 rm -rf conftest* 12023 rm -rf conftest*
11962 eval "ac_cv_header_$ac_safe=yes" 12024 eval "ac_cv_header_$ac_safe=yes"
11963 else 12025 else
11980 -d "/usr/local/canna/include"; then 12042 -d "/usr/local/canna/include"; then
11981 save_c_switch_site="$c_switch_site" 12043 save_c_switch_site="$c_switch_site"
11982 c_switch_site="$c_switch_site -I/usr/local/canna/include" 12044 c_switch_site="$c_switch_site -I/usr/local/canna/include"
11983 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 12045 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
11984 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 12046 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
11985 echo "configure:11986: checking for canna/jrkanji.h" >&5 12047 echo "configure:12048: checking for canna/jrkanji.h" >&5
11986 12048
11987 cat > conftest.$ac_ext <<EOF 12049 cat > conftest.$ac_ext <<EOF
11988 #line 11989 "configure" 12050 #line 12051 "configure"
11989 #include "confdefs.h" 12051 #include "confdefs.h"
11990 #include <canna/jrkanji.h> 12052 #include <canna/jrkanji.h>
11991 EOF 12053 EOF
11992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11993 { (eval echo configure:11994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12055 { (eval echo configure:12056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11995 if test -z "$ac_err"; then 12057 if test -z "$ac_err"; then
11996 rm -rf conftest* 12058 rm -rf conftest*
11997 eval "ac_cv_header_$ac_safe=yes" 12059 eval "ac_cv_header_$ac_safe=yes"
11998 else 12060 else
12016 fi 12078 fi
12017 fi 12079 fi
12018 12080
12019 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 12081 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
12020 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 12082 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
12021 echo "configure:12022: checking for canna/RK.h" >&5 12083 echo "configure:12084: checking for canna/RK.h" >&5
12022 12084
12023 cat > conftest.$ac_ext <<EOF 12085 cat > conftest.$ac_ext <<EOF
12024 #line 12025 "configure" 12086 #line 12087 "configure"
12025 #include "confdefs.h" 12087 #include "confdefs.h"
12026 #include <canna/RK.h> 12088 #include <canna/RK.h>
12027 EOF 12089 EOF
12028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12029 { (eval echo configure:12030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12091 { (eval echo configure:12092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12031 if test -z "$ac_err"; then 12093 if test -z "$ac_err"; then
12032 rm -rf conftest* 12094 rm -rf conftest*
12033 eval "ac_cv_header_$ac_safe=yes" 12095 eval "ac_cv_header_$ac_safe=yes"
12034 else 12096 else
12047 with_canna=no 12109 with_canna=no
12048 fi 12110 fi
12049 } 12111 }
12050 test -z "$with_canna" && { 12112 test -z "$with_canna" && {
12051 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 12113 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
12052 echo "configure:12053: checking for RkBgnBun in -lRKC" >&5 12114 echo "configure:12115: checking for RkBgnBun in -lRKC" >&5
12053 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 12115 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
12054 12116
12055 xe_check_libs=" -lRKC " 12117 xe_check_libs=" -lRKC "
12056 cat > conftest.$ac_ext <<EOF 12118 cat > conftest.$ac_ext <<EOF
12057 #line 12058 "configure" 12119 #line 12120 "configure"
12058 #include "confdefs.h" 12120 #include "confdefs.h"
12059 /* Override any gcc2 internal prototype to avoid an error. */ 12121 /* Override any gcc2 internal prototype to avoid an error. */
12060 /* We use char because int might match the return type of a gcc2 12122 /* We use char because int might match the return type of a gcc2
12061 builtin and then its argument prototype would still apply. */ 12123 builtin and then its argument prototype would still apply. */
12062 char RkBgnBun(); 12124 char RkBgnBun();
12063 12125
12064 int main() { 12126 int main() {
12065 RkBgnBun() 12127 RkBgnBun()
12066 ; return 0; } 12128 ; return 0; }
12067 EOF 12129 EOF
12068 if { (eval echo configure:12069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12130 if { (eval echo configure:12131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12069 rm -rf conftest* 12131 rm -rf conftest*
12070 eval "ac_cv_lib_$ac_lib_var=yes" 12132 eval "ac_cv_lib_$ac_lib_var=yes"
12071 else 12133 else
12072 echo "configure: failed program was:" >&5 12134 echo "configure: failed program was:" >&5
12073 cat conftest.$ac_ext >&5 12135 cat conftest.$ac_ext >&5
12086 fi 12148 fi
12087 12149
12088 } 12150 }
12089 test -z "$with_canna" && { 12151 test -z "$with_canna" && {
12090 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 12152 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
12091 echo "configure:12092: checking for jrKanjiControl in -lcanna" >&5 12153 echo "configure:12154: checking for jrKanjiControl in -lcanna" >&5
12092 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 12154 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
12093 12155
12094 xe_check_libs=" -lcanna " 12156 xe_check_libs=" -lcanna "
12095 cat > conftest.$ac_ext <<EOF 12157 cat > conftest.$ac_ext <<EOF
12096 #line 12097 "configure" 12158 #line 12159 "configure"
12097 #include "confdefs.h" 12159 #include "confdefs.h"
12098 /* Override any gcc2 internal prototype to avoid an error. */ 12160 /* Override any gcc2 internal prototype to avoid an error. */
12099 /* We use char because int might match the return type of a gcc2 12161 /* We use char because int might match the return type of a gcc2
12100 builtin and then its argument prototype would still apply. */ 12162 builtin and then its argument prototype would still apply. */
12101 char jrKanjiControl(); 12163 char jrKanjiControl();
12102 12164
12103 int main() { 12165 int main() {
12104 jrKanjiControl() 12166 jrKanjiControl()
12105 ; return 0; } 12167 ; return 0; }
12106 EOF 12168 EOF
12107 if { (eval echo configure:12108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12169 if { (eval echo configure:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12108 rm -rf conftest* 12170 rm -rf conftest*
12109 eval "ac_cv_lib_$ac_lib_var=yes" 12171 eval "ac_cv_lib_$ac_lib_var=yes"
12110 else 12172 else
12111 echo "configure: failed program was:" >&5 12173 echo "configure: failed program was:" >&5
12112 cat conftest.$ac_ext >&5 12174 cat conftest.$ac_ext >&5
12148 12210
12149 if test "$need_motif" = "yes" ; then 12211 if test "$need_motif" = "yes" ; then
12150 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 12212 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
12151 12213
12152 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 12214 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
12153 echo "configure:12154: checking for layout_object_getvalue in -li18n" >&5 12215 echo "configure:12216: checking for layout_object_getvalue in -li18n" >&5
12154 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 12216 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
12155 12217
12156 xe_check_libs=" -li18n " 12218 xe_check_libs=" -li18n "
12157 cat > conftest.$ac_ext <<EOF 12219 cat > conftest.$ac_ext <<EOF
12158 #line 12159 "configure" 12220 #line 12221 "configure"
12159 #include "confdefs.h" 12221 #include "confdefs.h"
12160 /* Override any gcc2 internal prototype to avoid an error. */ 12222 /* Override any gcc2 internal prototype to avoid an error. */
12161 /* We use char because int might match the return type of a gcc2 12223 /* We use char because int might match the return type of a gcc2
12162 builtin and then its argument prototype would still apply. */ 12224 builtin and then its argument prototype would still apply. */
12163 char layout_object_getvalue(); 12225 char layout_object_getvalue();
12164 12226
12165 int main() { 12227 int main() {
12166 layout_object_getvalue() 12228 layout_object_getvalue()
12167 ; return 0; } 12229 ; return 0; }
12168 EOF 12230 EOF
12169 if { (eval echo configure:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12231 if { (eval echo configure:12232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12170 rm -rf conftest* 12232 rm -rf conftest*
12171 eval "ac_cv_lib_$ac_lib_var=yes" 12233 eval "ac_cv_lib_$ac_lib_var=yes"
12172 else 12234 else
12173 echo "configure: failed program was:" >&5 12235 echo "configure: failed program was:" >&5
12174 cat conftest.$ac_ext >&5 12236 cat conftest.$ac_ext >&5
12251 12313
12252 12314
12253 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen 12315 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen
12254 do 12316 do
12255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12256 echo "configure:12257: checking for $ac_func" >&5 12318 echo "configure:12319: checking for $ac_func" >&5
12257 12319
12258 cat > conftest.$ac_ext <<EOF 12320 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure" 12321 #line 12322 "configure"
12260 #include "confdefs.h" 12322 #include "confdefs.h"
12261 /* System header to define __stub macros and hopefully few prototypes, 12323 /* System header to define __stub macros and hopefully few prototypes,
12262 which can conflict with char $ac_func(); below. */ 12324 which can conflict with char $ac_func(); below. */
12263 #include <assert.h> 12325 #include <assert.h>
12264 /* Override any gcc2 internal prototype to avoid an error. */ 12326 /* Override any gcc2 internal prototype to avoid an error. */
12277 $ac_func(); 12339 $ac_func();
12278 #endif 12340 #endif
12279 12341
12280 ; return 0; } 12342 ; return 0; }
12281 EOF 12343 EOF
12282 if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12344 if { (eval echo configure:12345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12283 rm -rf conftest* 12345 rm -rf conftest*
12284 eval "ac_cv_func_$ac_func=yes" 12346 eval "ac_cv_func_$ac_func=yes"
12285 else 12347 else
12286 echo "configure: failed program was:" >&5 12348 echo "configure: failed program was:" >&5
12287 cat conftest.$ac_ext >&5 12349 cat conftest.$ac_ext >&5
12318 12380
12319 12381
12320 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 12382 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
12321 do 12383 do
12322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12323 echo "configure:12324: checking for $ac_func" >&5 12385 echo "configure:12386: checking for $ac_func" >&5
12324 12386
12325 cat > conftest.$ac_ext <<EOF 12387 cat > conftest.$ac_ext <<EOF
12326 #line 12327 "configure" 12388 #line 12389 "configure"
12327 #include "confdefs.h" 12389 #include "confdefs.h"
12328 /* System header to define __stub macros and hopefully few prototypes, 12390 /* System header to define __stub macros and hopefully few prototypes,
12329 which can conflict with char $ac_func(); below. */ 12391 which can conflict with char $ac_func(); below. */
12330 #include <assert.h> 12392 #include <assert.h>
12331 /* Override any gcc2 internal prototype to avoid an error. */ 12393 /* Override any gcc2 internal prototype to avoid an error. */
12344 $ac_func(); 12406 $ac_func();
12345 #endif 12407 #endif
12346 12408
12347 ; return 0; } 12409 ; return 0; }
12348 EOF 12410 EOF
12349 if { (eval echo configure:12350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12411 if { (eval echo configure:12412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12350 rm -rf conftest* 12412 rm -rf conftest*
12351 eval "ac_cv_func_$ac_func=yes" 12413 eval "ac_cv_func_$ac_func=yes"
12352 else 12414 else
12353 echo "configure: failed program was:" >&5 12415 echo "configure: failed program was:" >&5
12354 cat conftest.$ac_ext >&5 12416 cat conftest.$ac_ext >&5
12373 fi 12435 fi
12374 done 12436 done
12375 12437
12376 12438
12377 echo $ac_n "checking for openpty""... $ac_c" 1>&6 12439 echo $ac_n "checking for openpty""... $ac_c" 1>&6
12378 echo "configure:12379: checking for openpty" >&5 12440 echo "configure:12441: checking for openpty" >&5
12379 12441
12380 cat > conftest.$ac_ext <<EOF 12442 cat > conftest.$ac_ext <<EOF
12381 #line 12382 "configure" 12443 #line 12444 "configure"
12382 #include "confdefs.h" 12444 #include "confdefs.h"
12383 /* System header to define __stub macros and hopefully few prototypes, 12445 /* System header to define __stub macros and hopefully few prototypes,
12384 which can conflict with char openpty(); below. */ 12446 which can conflict with char openpty(); below. */
12385 #include <assert.h> 12447 #include <assert.h>
12386 /* Override any gcc2 internal prototype to avoid an error. */ 12448 /* Override any gcc2 internal prototype to avoid an error. */
12399 openpty(); 12461 openpty();
12400 #endif 12462 #endif
12401 12463
12402 ; return 0; } 12464 ; return 0; }
12403 EOF 12465 EOF
12404 if { (eval echo configure:12405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12466 if { (eval echo configure:12467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12405 rm -rf conftest* 12467 rm -rf conftest*
12406 eval "ac_cv_func_openpty=yes" 12468 eval "ac_cv_func_openpty=yes"
12407 else 12469 else
12408 echo "configure: failed program was:" >&5 12470 echo "configure: failed program was:" >&5
12409 cat conftest.$ac_ext >&5 12471 cat conftest.$ac_ext >&5
12418 else 12480 else
12419 echo "$ac_t""no" 1>&6 12481 echo "$ac_t""no" 1>&6
12420 12482
12421 12483
12422 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 12484 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
12423 echo "configure:12424: checking for openpty in -lutil" >&5 12485 echo "configure:12486: checking for openpty in -lutil" >&5
12424 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 12486 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
12425 12487
12426 xe_check_libs=" -lutil " 12488 xe_check_libs=" -lutil "
12427 cat > conftest.$ac_ext <<EOF 12489 cat > conftest.$ac_ext <<EOF
12428 #line 12429 "configure" 12490 #line 12491 "configure"
12429 #include "confdefs.h" 12491 #include "confdefs.h"
12430 /* Override any gcc2 internal prototype to avoid an error. */ 12492 /* Override any gcc2 internal prototype to avoid an error. */
12431 /* We use char because int might match the return type of a gcc2 12493 /* We use char because int might match the return type of a gcc2
12432 builtin and then its argument prototype would still apply. */ 12494 builtin and then its argument prototype would still apply. */
12433 char openpty(); 12495 char openpty();
12434 12496
12435 int main() { 12497 int main() {
12436 openpty() 12498 openpty()
12437 ; return 0; } 12499 ; return 0; }
12438 EOF 12500 EOF
12439 if { (eval echo configure:12440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12501 if { (eval echo configure:12502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12440 rm -rf conftest* 12502 rm -rf conftest*
12441 eval "ac_cv_lib_$ac_lib_var=yes" 12503 eval "ac_cv_lib_$ac_lib_var=yes"
12442 else 12504 else
12443 echo "configure: failed program was:" >&5 12505 echo "configure: failed program was:" >&5
12444 cat conftest.$ac_ext >&5 12506 cat conftest.$ac_ext >&5
12469 12531
12470 for ac_hdr in libutil.h util.h 12532 for ac_hdr in libutil.h util.h
12471 do 12533 do
12472 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12534 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12473 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12474 echo "configure:12475: checking for $ac_hdr" >&5 12536 echo "configure:12537: checking for $ac_hdr" >&5
12475 12537
12476 cat > conftest.$ac_ext <<EOF 12538 cat > conftest.$ac_ext <<EOF
12477 #line 12478 "configure" 12539 #line 12540 "configure"
12478 #include "confdefs.h" 12540 #include "confdefs.h"
12479 #include <$ac_hdr> 12541 #include <$ac_hdr>
12480 EOF 12542 EOF
12481 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12482 { (eval echo configure:12483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12544 { (eval echo configure:12545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12483 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12484 if test -z "$ac_err"; then 12546 if test -z "$ac_err"; then
12485 rm -rf conftest* 12547 rm -rf conftest*
12486 eval "ac_cv_header_$ac_safe=yes" 12548 eval "ac_cv_header_$ac_safe=yes"
12487 else 12549 else
12514 case "$opsys" in 12576 case "$opsys" in
12515 hpux*) for ac_hdr in sys/ptyio.h 12577 hpux*) for ac_hdr in sys/ptyio.h
12516 do 12578 do
12517 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12518 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12519 echo "configure:12520: checking for $ac_hdr" >&5 12581 echo "configure:12582: checking for $ac_hdr" >&5
12520 12582
12521 cat > conftest.$ac_ext <<EOF 12583 cat > conftest.$ac_ext <<EOF
12522 #line 12523 "configure" 12584 #line 12585 "configure"
12523 #include "confdefs.h" 12585 #include "confdefs.h"
12524 #include <$ac_hdr> 12586 #include <$ac_hdr>
12525 EOF 12587 EOF
12526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12527 { (eval echo configure:12528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12589 { (eval echo configure:12590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12529 if test -z "$ac_err"; then 12591 if test -z "$ac_err"; then
12530 rm -rf conftest* 12592 rm -rf conftest*
12531 eval "ac_cv_header_$ac_safe=yes" 12593 eval "ac_cv_header_$ac_safe=yes"
12532 else 12594 else
12555 ;; 12617 ;;
12556 *) for ac_hdr in pty.h 12618 *) for ac_hdr in pty.h
12557 do 12619 do
12558 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12620 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12559 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12560 echo "configure:12561: checking for $ac_hdr" >&5 12622 echo "configure:12623: checking for $ac_hdr" >&5
12561 12623
12562 cat > conftest.$ac_ext <<EOF 12624 cat > conftest.$ac_ext <<EOF
12563 #line 12564 "configure" 12625 #line 12626 "configure"
12564 #include "confdefs.h" 12626 #include "confdefs.h"
12565 #include <$ac_hdr> 12627 #include <$ac_hdr>
12566 EOF 12628 EOF
12567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12568 { (eval echo configure:12569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12630 { (eval echo configure:12631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12570 if test -z "$ac_err"; then 12632 if test -z "$ac_err"; then
12571 rm -rf conftest* 12633 rm -rf conftest*
12572 eval "ac_cv_header_$ac_safe=yes" 12634 eval "ac_cv_header_$ac_safe=yes"
12573 else 12635 else
12596 12658
12597 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 12659 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
12598 do 12660 do
12599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12661 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12662 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12601 echo "configure:12602: checking for $ac_hdr" >&5 12663 echo "configure:12664: checking for $ac_hdr" >&5
12602 12664
12603 cat > conftest.$ac_ext <<EOF 12665 cat > conftest.$ac_ext <<EOF
12604 #line 12605 "configure" 12666 #line 12667 "configure"
12605 #include "confdefs.h" 12667 #include "confdefs.h"
12606 #include <$ac_hdr> 12668 #include <$ac_hdr>
12607 EOF 12669 EOF
12608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12609 { (eval echo configure:12610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12671 { (eval echo configure:12672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12611 if test -z "$ac_err"; then 12673 if test -z "$ac_err"; then
12612 rm -rf conftest* 12674 rm -rf conftest*
12613 eval "ac_cv_header_$ac_safe=yes" 12675 eval "ac_cv_header_$ac_safe=yes"
12614 else 12676 else
12640 12702
12641 for ac_hdr in stropts.h 12703 for ac_hdr in stropts.h
12642 do 12704 do
12643 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12705 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12644 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12706 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12645 echo "configure:12646: checking for $ac_hdr" >&5 12707 echo "configure:12708: checking for $ac_hdr" >&5
12646 12708
12647 cat > conftest.$ac_ext <<EOF 12709 cat > conftest.$ac_ext <<EOF
12648 #line 12649 "configure" 12710 #line 12711 "configure"
12649 #include "confdefs.h" 12711 #include "confdefs.h"
12650 #include <$ac_hdr> 12712 #include <$ac_hdr>
12651 EOF 12713 EOF
12652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12653 { (eval echo configure:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12715 { (eval echo configure:12716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12655 if test -z "$ac_err"; then 12717 if test -z "$ac_err"; then
12656 rm -rf conftest* 12718 rm -rf conftest*
12657 eval "ac_cv_header_$ac_safe=yes" 12719 eval "ac_cv_header_$ac_safe=yes"
12658 else 12720 else
12681 12743
12682 if test "$ac_cv_header_stropts_h" = "yes"; then 12744 if test "$ac_cv_header_stropts_h" = "yes"; then
12683 for ac_func in isastream 12745 for ac_func in isastream
12684 do 12746 do
12685 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12686 echo "configure:12687: checking for $ac_func" >&5 12748 echo "configure:12749: checking for $ac_func" >&5
12687 12749
12688 cat > conftest.$ac_ext <<EOF 12750 cat > conftest.$ac_ext <<EOF
12689 #line 12690 "configure" 12751 #line 12752 "configure"
12690 #include "confdefs.h" 12752 #include "confdefs.h"
12691 /* System header to define __stub macros and hopefully few prototypes, 12753 /* System header to define __stub macros and hopefully few prototypes,
12692 which can conflict with char $ac_func(); below. */ 12754 which can conflict with char $ac_func(); below. */
12693 #include <assert.h> 12755 #include <assert.h>
12694 /* Override any gcc2 internal prototype to avoid an error. */ 12756 /* Override any gcc2 internal prototype to avoid an error. */
12707 $ac_func(); 12769 $ac_func();
12708 #endif 12770 #endif
12709 12771
12710 ; return 0; } 12772 ; return 0; }
12711 EOF 12773 EOF
12712 if { (eval echo configure:12713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12774 if { (eval echo configure:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12713 rm -rf conftest* 12775 rm -rf conftest*
12714 eval "ac_cv_func_$ac_func=yes" 12776 eval "ac_cv_func_$ac_func=yes"
12715 else 12777 else
12716 echo "configure: failed program was:" >&5 12778 echo "configure: failed program was:" >&5
12717 cat conftest.$ac_ext >&5 12779 cat conftest.$ac_ext >&5
12738 12800
12739 for ac_hdr in strtio.h 12801 for ac_hdr in strtio.h
12740 do 12802 do
12741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12803 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12804 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12743 echo "configure:12744: checking for $ac_hdr" >&5 12805 echo "configure:12806: checking for $ac_hdr" >&5
12744 12806
12745 cat > conftest.$ac_ext <<EOF 12807 cat > conftest.$ac_ext <<EOF
12746 #line 12747 "configure" 12808 #line 12809 "configure"
12747 #include "confdefs.h" 12809 #include "confdefs.h"
12748 #include <$ac_hdr> 12810 #include <$ac_hdr>
12749 EOF 12811 EOF
12750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12751 { (eval echo configure:12752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12813 { (eval echo configure:12814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12753 if test -z "$ac_err"; then 12815 if test -z "$ac_err"; then
12754 rm -rf conftest* 12816 rm -rf conftest*
12755 eval "ac_cv_header_$ac_safe=yes" 12817 eval "ac_cv_header_$ac_safe=yes"
12756 else 12818 else
12779 fi 12841 fi
12780 12842
12781 for ac_func in getloadavg 12843 for ac_func in getloadavg
12782 do 12844 do
12783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12784 echo "configure:12785: checking for $ac_func" >&5 12846 echo "configure:12847: checking for $ac_func" >&5
12785 12847
12786 cat > conftest.$ac_ext <<EOF 12848 cat > conftest.$ac_ext <<EOF
12787 #line 12788 "configure" 12849 #line 12850 "configure"
12788 #include "confdefs.h" 12850 #include "confdefs.h"
12789 /* System header to define __stub macros and hopefully few prototypes, 12851 /* System header to define __stub macros and hopefully few prototypes,
12790 which can conflict with char $ac_func(); below. */ 12852 which can conflict with char $ac_func(); below. */
12791 #include <assert.h> 12853 #include <assert.h>
12792 /* Override any gcc2 internal prototype to avoid an error. */ 12854 /* Override any gcc2 internal prototype to avoid an error. */
12805 $ac_func(); 12867 $ac_func();
12806 #endif 12868 #endif
12807 12869
12808 ; return 0; } 12870 ; return 0; }
12809 EOF 12871 EOF
12810 if { (eval echo configure:12811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12872 if { (eval echo configure:12873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12811 rm -rf conftest* 12873 rm -rf conftest*
12812 eval "ac_cv_func_$ac_func=yes" 12874 eval "ac_cv_func_$ac_func=yes"
12813 else 12875 else
12814 echo "configure: failed program was:" >&5 12876 echo "configure: failed program was:" >&5
12815 cat conftest.$ac_ext >&5 12877 cat conftest.$ac_ext >&5
12838 if test "$ac_cv_func_getloadavg" = "yes"; then 12900 if test "$ac_cv_func_getloadavg" = "yes"; then
12839 for ac_hdr in sys/loadavg.h 12901 for ac_hdr in sys/loadavg.h
12840 do 12902 do
12841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12903 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12904 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12843 echo "configure:12844: checking for $ac_hdr" >&5 12905 echo "configure:12906: checking for $ac_hdr" >&5
12844 12906
12845 cat > conftest.$ac_ext <<EOF 12907 cat > conftest.$ac_ext <<EOF
12846 #line 12847 "configure" 12908 #line 12909 "configure"
12847 #include "confdefs.h" 12909 #include "confdefs.h"
12848 #include <$ac_hdr> 12910 #include <$ac_hdr>
12849 EOF 12911 EOF
12850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12851 { (eval echo configure:12852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12913 { (eval echo configure:12914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12853 if test -z "$ac_err"; then 12915 if test -z "$ac_err"; then
12854 rm -rf conftest* 12916 rm -rf conftest*
12855 eval "ac_cv_header_$ac_safe=yes" 12917 eval "ac_cv_header_$ac_safe=yes"
12856 else 12918 else
12882 echo " xemacs will be linked with \"getloadavg.o\"" 12944 echo " xemacs will be linked with \"getloadavg.o\""
12883 fi 12945 fi
12884 12946
12885 12947
12886 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 12948 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
12887 echo "configure:12888: checking for kstat_open in -lkstat" >&5 12949 echo "configure:12950: checking for kstat_open in -lkstat" >&5
12888 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 12950 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
12889 12951
12890 xe_check_libs=" -lkstat " 12952 xe_check_libs=" -lkstat "
12891 cat > conftest.$ac_ext <<EOF 12953 cat > conftest.$ac_ext <<EOF
12892 #line 12893 "configure" 12954 #line 12955 "configure"
12893 #include "confdefs.h" 12955 #include "confdefs.h"
12894 /* Override any gcc2 internal prototype to avoid an error. */ 12956 /* Override any gcc2 internal prototype to avoid an error. */
12895 /* We use char because int might match the return type of a gcc2 12957 /* We use char because int might match the return type of a gcc2
12896 builtin and then its argument prototype would still apply. */ 12958 builtin and then its argument prototype would still apply. */
12897 char kstat_open(); 12959 char kstat_open();
12898 12960
12899 int main() { 12961 int main() {
12900 kstat_open() 12962 kstat_open()
12901 ; return 0; } 12963 ; return 0; }
12902 EOF 12964 EOF
12903 if { (eval echo configure:12904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12965 if { (eval echo configure:12966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12904 rm -rf conftest* 12966 rm -rf conftest*
12905 eval "ac_cv_lib_$ac_lib_var=yes" 12967 eval "ac_cv_lib_$ac_lib_var=yes"
12906 else 12968 else
12907 echo "configure: failed program was:" >&5 12969 echo "configure: failed program was:" >&5
12908 cat conftest.$ac_ext >&5 12970 cat conftest.$ac_ext >&5
12933 12995
12934 for ac_hdr in kstat.h 12996 for ac_hdr in kstat.h
12935 do 12997 do
12936 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12998 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12937 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12938 echo "configure:12939: checking for $ac_hdr" >&5 13000 echo "configure:13001: checking for $ac_hdr" >&5
12939 13001
12940 cat > conftest.$ac_ext <<EOF 13002 cat > conftest.$ac_ext <<EOF
12941 #line 12942 "configure" 13003 #line 13004 "configure"
12942 #include "confdefs.h" 13004 #include "confdefs.h"
12943 #include <$ac_hdr> 13005 #include <$ac_hdr>
12944 EOF 13006 EOF
12945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12946 { (eval echo configure:12947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13008 { (eval echo configure:13009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12948 if test -z "$ac_err"; then 13010 if test -z "$ac_err"; then
12949 rm -rf conftest* 13011 rm -rf conftest*
12950 eval "ac_cv_header_$ac_safe=yes" 13012 eval "ac_cv_header_$ac_safe=yes"
12951 else 13013 else
12973 done 13035 done
12974 13036
12975 13037
12976 13038
12977 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 13039 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
12978 echo "configure:12979: checking for kvm_read in -lkvm" >&5 13040 echo "configure:13041: checking for kvm_read in -lkvm" >&5
12979 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 13041 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
12980 13042
12981 xe_check_libs=" -lkvm " 13043 xe_check_libs=" -lkvm "
12982 cat > conftest.$ac_ext <<EOF 13044 cat > conftest.$ac_ext <<EOF
12983 #line 12984 "configure" 13045 #line 13046 "configure"
12984 #include "confdefs.h" 13046 #include "confdefs.h"
12985 /* Override any gcc2 internal prototype to avoid an error. */ 13047 /* Override any gcc2 internal prototype to avoid an error. */
12986 /* We use char because int might match the return type of a gcc2 13048 /* We use char because int might match the return type of a gcc2
12987 builtin and then its argument prototype would still apply. */ 13049 builtin and then its argument prototype would still apply. */
12988 char kvm_read(); 13050 char kvm_read();
12989 13051
12990 int main() { 13052 int main() {
12991 kvm_read() 13053 kvm_read()
12992 ; return 0; } 13054 ; return 0; }
12993 EOF 13055 EOF
12994 if { (eval echo configure:12995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12995 rm -rf conftest* 13057 rm -rf conftest*
12996 eval "ac_cv_lib_$ac_lib_var=yes" 13058 eval "ac_cv_lib_$ac_lib_var=yes"
12997 else 13059 else
12998 echo "configure: failed program was:" >&5 13060 echo "configure: failed program was:" >&5
12999 cat conftest.$ac_ext >&5 13061 cat conftest.$ac_ext >&5
13023 13085
13024 13086
13025 fi 13087 fi
13026 13088
13027 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 13089 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
13028 echo "configure:13029: checking whether netdb declares h_errno" >&5 13090 echo "configure:13091: checking whether netdb declares h_errno" >&5
13029 cat > conftest.$ac_ext <<EOF 13091 cat > conftest.$ac_ext <<EOF
13030 #line 13031 "configure" 13092 #line 13093 "configure"
13031 #include "confdefs.h" 13093 #include "confdefs.h"
13032 #include <netdb.h> 13094 #include <netdb.h>
13033 int main() { 13095 int main() {
13034 return h_errno; 13096 return h_errno;
13035 ; return 0; } 13097 ; return 0; }
13036 EOF 13098 EOF
13037 if { (eval echo configure:13038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13099 if { (eval echo configure:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13038 rm -rf conftest* 13100 rm -rf conftest*
13039 echo "$ac_t""yes" 1>&6 13101 echo "$ac_t""yes" 1>&6
13040 { test "$extra_verbose" = "yes" && cat << \EOF 13102 { test "$extra_verbose" = "yes" && cat << \EOF
13041 Defining HAVE_H_ERRNO 13103 Defining HAVE_H_ERRNO
13042 EOF 13104 EOF
13052 echo "$ac_t""no" 1>&6 13114 echo "$ac_t""no" 1>&6
13053 fi 13115 fi
13054 rm -f conftest* 13116 rm -f conftest*
13055 13117
13056 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 13118 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
13057 echo "configure:13058: checking for sigsetjmp" >&5 13119 echo "configure:13120: checking for sigsetjmp" >&5
13058 cat > conftest.$ac_ext <<EOF 13120 cat > conftest.$ac_ext <<EOF
13059 #line 13060 "configure" 13121 #line 13122 "configure"
13060 #include "confdefs.h" 13122 #include "confdefs.h"
13061 #include <setjmp.h> 13123 #include <setjmp.h>
13062 int main() { 13124 int main() {
13063 sigjmp_buf bar; sigsetjmp (bar, 0); 13125 sigjmp_buf bar; sigsetjmp (bar, 0);
13064 ; return 0; } 13126 ; return 0; }
13065 EOF 13127 EOF
13066 if { (eval echo configure:13067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13128 if { (eval echo configure:13129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13067 rm -rf conftest* 13129 rm -rf conftest*
13068 echo "$ac_t""yes" 1>&6 13130 echo "$ac_t""yes" 1>&6
13069 { test "$extra_verbose" = "yes" && cat << \EOF 13131 { test "$extra_verbose" = "yes" && cat << \EOF
13070 Defining HAVE_SIGSETJMP 13132 Defining HAVE_SIGSETJMP
13071 EOF 13133 EOF
13081 echo "$ac_t""no" 1>&6 13143 echo "$ac_t""no" 1>&6
13082 fi 13144 fi
13083 rm -f conftest* 13145 rm -f conftest*
13084 13146
13085 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 13147 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
13086 echo "configure:13087: checking whether localtime caches TZ" >&5 13148 echo "configure:13149: checking whether localtime caches TZ" >&5
13087 13149
13088 if test "$ac_cv_func_tzset" = "yes"; then 13150 if test "$ac_cv_func_tzset" = "yes"; then
13089 cat > conftest.$ac_ext <<EOF 13151 cat > conftest.$ac_ext <<EOF
13090 #line 13091 "configure" 13152 #line 13153 "configure"
13091 #include "confdefs.h" 13153 #include "confdefs.h"
13092 #include <time.h> 13154 #include <time.h>
13093 #if STDC_HEADERS 13155 #if STDC_HEADERS
13094 # include <stdlib.h> 13156 # include <stdlib.h>
13095 #endif 13157 #endif
13120 if (localtime (&now)->tm_hour != hour_unset) 13182 if (localtime (&now)->tm_hour != hour_unset)
13121 exit (1); 13183 exit (1);
13122 exit (0); 13184 exit (0);
13123 } 13185 }
13124 EOF 13186 EOF
13125 if { (eval echo configure:13126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13187 if { (eval echo configure:13188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13126 then 13188 then
13127 emacs_cv_localtime_cache=no 13189 emacs_cv_localtime_cache=no
13128 else 13190 else
13129 conftest_rc="$?" 13191 conftest_rc="$?"
13130 echo "configure: failed program was:" >&5 13192 echo "configure: failed program was:" >&5
13150 13212
13151 fi 13213 fi
13152 13214
13153 if test "$HAVE_TIMEVAL" = "yes"; then 13215 if test "$HAVE_TIMEVAL" = "yes"; then
13154 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 13216 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
13155 echo "configure:13156: checking whether gettimeofday accepts one or two arguments" >&5 13217 echo "configure:13218: checking whether gettimeofday accepts one or two arguments" >&5
13156 cat > conftest.$ac_ext <<EOF 13218 cat > conftest.$ac_ext <<EOF
13157 #line 13158 "configure" 13219 #line 13220 "configure"
13158 #include "confdefs.h" 13220 #include "confdefs.h"
13159 13221
13160 #ifdef TIME_WITH_SYS_TIME 13222 #ifdef TIME_WITH_SYS_TIME
13161 #include <sys/time.h> 13223 #include <sys/time.h>
13162 #include <time.h> 13224 #include <time.h>
13173 struct timeval time; 13235 struct timeval time;
13174 gettimeofday (&time, 0); 13236 gettimeofday (&time, 0);
13175 13237
13176 ; return 0; } 13238 ; return 0; }
13177 EOF 13239 EOF
13178 if { (eval echo configure:13179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13240 if { (eval echo configure:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13179 rm -rf conftest* 13241 rm -rf conftest*
13180 echo "$ac_t""two" 1>&6 13242 echo "$ac_t""two" 1>&6
13181 else 13243 else
13182 echo "configure: failed program was:" >&5 13244 echo "configure: failed program was:" >&5
13183 cat conftest.$ac_ext >&5 13245 cat conftest.$ac_ext >&5
13195 rm -f conftest* 13257 rm -f conftest*
13196 fi 13258 fi
13197 13259
13198 13260
13199 echo $ac_n "checking for inline""... $ac_c" 1>&6 13261 echo $ac_n "checking for inline""... $ac_c" 1>&6
13200 echo "configure:13201: checking for inline" >&5 13262 echo "configure:13263: checking for inline" >&5
13201 13263
13202 ac_cv_c_inline=no 13264 ac_cv_c_inline=no
13203 for ac_kw in inline __inline__ __inline; do 13265 for ac_kw in inline __inline__ __inline; do
13204 cat > conftest.$ac_ext <<EOF 13266 cat > conftest.$ac_ext <<EOF
13205 #line 13206 "configure" 13267 #line 13268 "configure"
13206 #include "confdefs.h" 13268 #include "confdefs.h"
13207 13269
13208 int main() { 13270 int main() {
13209 } $ac_kw foo() { 13271 } $ac_kw foo() {
13210 ; return 0; } 13272 ; return 0; }
13211 EOF 13273 EOF
13212 if { (eval echo configure:13213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13274 if { (eval echo configure:13275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13213 rm -rf conftest* 13275 rm -rf conftest*
13214 ac_cv_c_inline=$ac_kw; break 13276 ac_cv_c_inline=$ac_kw; break
13215 else 13277 else
13216 echo "configure: failed program was:" >&5 13278 echo "configure: failed program was:" >&5
13217 cat conftest.$ac_ext >&5 13279 cat conftest.$ac_ext >&5
13244 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 13306 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
13245 echo " xemacs will be linked with \"inline.o\"" 13307 echo " xemacs will be linked with \"inline.o\""
13246 fi 13308 fi
13247 13309
13248 echo $ac_n "checking for typeof""... $ac_c" 1>&6 13310 echo $ac_n "checking for typeof""... $ac_c" 1>&6
13249 echo "configure:13250: checking for typeof" >&5 13311 echo "configure:13312: checking for typeof" >&5
13250 cat > conftest.$ac_ext <<EOF 13312 cat > conftest.$ac_ext <<EOF
13251 #line 13252 "configure" 13313 #line 13314 "configure"
13252 #include "confdefs.h" 13314 #include "confdefs.h"
13253 13315
13254 int main() { 13316 int main() {
13255 int i; __typeof__(i) j; 13317 int i; __typeof__(i) j;
13256 ; return 0; } 13318 ; return 0; }
13257 EOF 13319 EOF
13258 if { (eval echo configure:13259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13320 if { (eval echo configure:13321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13259 rm -rf conftest* 13321 rm -rf conftest*
13260 typeofname="__typeof__" 13322 typeofname="__typeof__"
13261 else 13323 else
13262 echo "configure: failed program was:" >&5 13324 echo "configure: failed program was:" >&5
13263 cat conftest.$ac_ext >&5 13325 cat conftest.$ac_ext >&5
13264 rm -rf conftest* 13326 rm -rf conftest*
13265 cat > conftest.$ac_ext <<EOF 13327 cat > conftest.$ac_ext <<EOF
13266 #line 13267 "configure" 13328 #line 13329 "configure"
13267 #include "confdefs.h" 13329 #include "confdefs.h"
13268 13330
13269 int main() { 13331 int main() {
13270 int i; typeof(i) j; 13332 int i; typeof(i) j;
13271 ; return 0; } 13333 ; return 0; }
13272 EOF 13334 EOF
13273 if { (eval echo configure:13274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13335 if { (eval echo configure:13336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13274 rm -rf conftest* 13336 rm -rf conftest*
13275 typeofname="typeof" 13337 typeofname="typeof"
13276 else 13338 else
13277 echo "configure: failed program was:" >&5 13339 echo "configure: failed program was:" >&5
13278 cat conftest.$ac_ext >&5 13340 cat conftest.$ac_ext >&5
13297 13359
13298 if test "$__DECC" != "yes"; then 13360 if test "$__DECC" != "yes"; then
13299 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 13361 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13300 # for constant arguments. Useless! 13362 # for constant arguments. Useless!
13301 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 13363 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
13302 echo "configure:13303: checking for working alloca.h" >&5 13364 echo "configure:13365: checking for working alloca.h" >&5
13303 13365
13304 cat > conftest.$ac_ext <<EOF 13366 cat > conftest.$ac_ext <<EOF
13305 #line 13306 "configure" 13367 #line 13368 "configure"
13306 #include "confdefs.h" 13368 #include "confdefs.h"
13307 #include <alloca.h> 13369 #include <alloca.h>
13308 int main() { 13370 int main() {
13309 char *p = alloca(2 * sizeof(int)); 13371 char *p = alloca(2 * sizeof(int));
13310 ; return 0; } 13372 ; return 0; }
13311 EOF 13373 EOF
13312 if { (eval echo configure:13313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13374 if { (eval echo configure:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13313 rm -rf conftest* 13375 rm -rf conftest*
13314 ac_cv_header_alloca_h=yes 13376 ac_cv_header_alloca_h=yes
13315 else 13377 else
13316 echo "configure: failed program was:" >&5 13378 echo "configure: failed program was:" >&5
13317 cat conftest.$ac_ext >&5 13379 cat conftest.$ac_ext >&5
13331 } 13393 }
13332 13394
13333 fi 13395 fi
13334 13396
13335 echo $ac_n "checking for alloca""... $ac_c" 1>&6 13397 echo $ac_n "checking for alloca""... $ac_c" 1>&6
13336 echo "configure:13337: checking for alloca" >&5 13398 echo "configure:13399: checking for alloca" >&5
13337 13399
13338 cat > conftest.$ac_ext <<EOF 13400 cat > conftest.$ac_ext <<EOF
13339 #line 13340 "configure" 13401 #line 13402 "configure"
13340 #include "confdefs.h" 13402 #include "confdefs.h"
13341 13403
13342 #ifdef __GNUC__ 13404 #ifdef __GNUC__
13343 # define alloca __builtin_alloca 13405 # define alloca __builtin_alloca
13344 #else 13406 #else
13362 13424
13363 int main() { 13425 int main() {
13364 char *p = (char *) alloca(1); 13426 char *p = (char *) alloca(1);
13365 ; return 0; } 13427 ; return 0; }
13366 EOF 13428 EOF
13367 if { (eval echo configure:13368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13429 if { (eval echo configure:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13368 rm -rf conftest* 13430 rm -rf conftest*
13369 ac_cv_func_alloca_works=yes 13431 ac_cv_func_alloca_works=yes
13370 else 13432 else
13371 echo "configure: failed program was:" >&5 13433 echo "configure: failed program was:" >&5
13372 cat conftest.$ac_ext >&5 13434 cat conftest.$ac_ext >&5
13401 EOF 13463 EOF
13402 } 13464 }
13403 13465
13404 13466
13405 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13467 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
13406 echo "configure:13407: checking whether alloca needs Cray hooks" >&5 13468 echo "configure:13469: checking whether alloca needs Cray hooks" >&5
13407 13469
13408 cat > conftest.$ac_ext <<EOF 13470 cat > conftest.$ac_ext <<EOF
13409 #line 13410 "configure" 13471 #line 13472 "configure"
13410 #include "confdefs.h" 13472 #include "confdefs.h"
13411 #if defined(CRAY) && ! defined(CRAY2) 13473 #if defined(CRAY) && ! defined(CRAY2)
13412 webecray 13474 webecray
13413 #else 13475 #else
13414 wenotbecray 13476 wenotbecray
13428 13490
13429 echo "$ac_t""$ac_cv_os_cray" 1>&6 13491 echo "$ac_t""$ac_cv_os_cray" 1>&6
13430 if test $ac_cv_os_cray = yes; then 13492 if test $ac_cv_os_cray = yes; then
13431 for ac_func in _getb67 GETB67 getb67; do 13493 for ac_func in _getb67 GETB67 getb67; do
13432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13433 echo "configure:13434: checking for $ac_func" >&5 13495 echo "configure:13496: checking for $ac_func" >&5
13434 13496
13435 cat > conftest.$ac_ext <<EOF 13497 cat > conftest.$ac_ext <<EOF
13436 #line 13437 "configure" 13498 #line 13499 "configure"
13437 #include "confdefs.h" 13499 #include "confdefs.h"
13438 /* System header to define __stub macros and hopefully few prototypes, 13500 /* System header to define __stub macros and hopefully few prototypes,
13439 which can conflict with char $ac_func(); below. */ 13501 which can conflict with char $ac_func(); below. */
13440 #include <assert.h> 13502 #include <assert.h>
13441 /* Override any gcc2 internal prototype to avoid an error. */ 13503 /* Override any gcc2 internal prototype to avoid an error. */
13454 $ac_func(); 13516 $ac_func();
13455 #endif 13517 #endif
13456 13518
13457 ; return 0; } 13519 ; return 0; }
13458 EOF 13520 EOF
13459 if { (eval echo configure:13460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13521 if { (eval echo configure:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13460 rm -rf conftest* 13522 rm -rf conftest*
13461 eval "ac_cv_func_$ac_func=yes" 13523 eval "ac_cv_func_$ac_func=yes"
13462 else 13524 else
13463 echo "configure: failed program was:" >&5 13525 echo "configure: failed program was:" >&5
13464 cat conftest.$ac_ext >&5 13526 cat conftest.$ac_ext >&5
13484 13546
13485 done 13547 done
13486 fi 13548 fi
13487 13549
13488 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13550 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13489 echo "configure:13490: checking stack direction for C alloca" >&5 13551 echo "configure:13552: checking stack direction for C alloca" >&5
13490 13552
13491 cat > conftest.$ac_ext <<EOF 13553 cat > conftest.$ac_ext <<EOF
13492 #line 13493 "configure" 13554 #line 13555 "configure"
13493 #include "confdefs.h" 13555 #include "confdefs.h"
13494 find_stack_direction () 13556 find_stack_direction ()
13495 { 13557 {
13496 static char *addr = 0; 13558 static char *addr = 0;
13497 auto char dummy; 13559 auto char dummy;
13506 main () 13568 main ()
13507 { 13569 {
13508 exit (find_stack_direction() < 0); 13570 exit (find_stack_direction() < 0);
13509 } 13571 }
13510 EOF 13572 EOF
13511 if { (eval echo configure:13512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13573 if { (eval echo configure:13574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13512 then 13574 then
13513 ac_cv_c_stack_direction=1 13575 ac_cv_c_stack_direction=1
13514 else 13576 else
13515 conftest_rc="$?" 13577 conftest_rc="$?"
13516 echo "configure: failed program was:" >&5 13578 echo "configure: failed program was:" >&5
13535 echo " xemacs will be linked with \"$ALLOCA\"" 13597 echo " xemacs will be linked with \"$ALLOCA\""
13536 fi 13598 fi
13537 fi 13599 fi
13538 13600
13539 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13601 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13540 echo "configure:13541: checking for working alloca in function calls" >&5 13602 echo "configure:13603: checking for working alloca in function calls" >&5
13541 cat > conftest.$ac_ext <<EOF 13603 cat > conftest.$ac_ext <<EOF
13542 #line 13543 "configure" 13604 #line 13605 "configure"
13543 #include "confdefs.h" 13605 #include "confdefs.h"
13544 13606
13545 #if defined (__CYGWIN__) 13607 #if defined (__CYGWIN__)
13546 #include <alloca.h> 13608 #include <alloca.h>
13547 #elif defined (__GNUC__) 13609 #elif defined (__GNUC__)
13590 return 1; 13652 return 1;
13591 return 0; 13653 return 0;
13592 } 13654 }
13593 13655
13594 EOF 13656 EOF
13595 if { (eval echo configure:13596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13657 if { (eval echo configure:13658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13596 then 13658 then
13597 working_alloca_in_function_calls=yes 13659 working_alloca_in_function_calls=yes
13598 else 13660 else
13599 conftest_rc="$?" 13661 conftest_rc="$?"
13600 echo "configure: failed program was:" >&5 13662 echo "configure: failed program was:" >&5
13613 EOF 13675 EOF
13614 } 13676 }
13615 13677
13616 13678
13617 echo $ac_n "checking for working scanf""... $ac_c" 1>&6 13679 echo $ac_n "checking for working scanf""... $ac_c" 1>&6
13618 echo "configure:13619: checking for working scanf" >&5 13680 echo "configure:13681: checking for working scanf" >&5
13619 cat > conftest.$ac_ext <<EOF 13681 cat > conftest.$ac_ext <<EOF
13620 #line 13621 "configure" 13682 #line 13683 "configure"
13621 #include "confdefs.h" 13683 #include "confdefs.h"
13622 13684
13623 int 13685 int
13624 main (int argc, char **argv) 13686 main (int argc, char **argv)
13625 { 13687 {
13630 this breaks unicode.c */ 13692 this breaks unicode.c */
13631 return endcount != 13; 13693 return endcount != 13;
13632 } 13694 }
13633 13695
13634 EOF 13696 EOF
13635 if { (eval echo configure:13636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13697 if { (eval echo configure:13698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13636 then 13698 then
13637 working_scanf=yes 13699 working_scanf=yes
13638 else 13700 else
13639 conftest_rc="$?" 13701 conftest_rc="$?"
13640 echo "configure: failed program was:" >&5 13702 echo "configure: failed program was:" >&5
13653 EOF 13715 EOF
13654 } 13716 }
13655 13717
13656 13718
13657 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13719 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13658 echo "configure:13659: checking for working strcoll" >&5 13720 echo "configure:13721: checking for working strcoll" >&5
13659 13721
13660 cat > conftest.$ac_ext <<EOF 13722 cat > conftest.$ac_ext <<EOF
13661 #line 13662 "configure" 13723 #line 13724 "configure"
13662 #include "confdefs.h" 13724 #include "confdefs.h"
13663 #include <string.h> 13725 #include <string.h>
13664 main () 13726 main ()
13665 { 13727 {
13666 exit (strcoll ("abc", "def") >= 0 || 13728 exit (strcoll ("abc", "def") >= 0 ||
13667 strcoll ("ABC", "DEF") >= 0 || 13729 strcoll ("ABC", "DEF") >= 0 ||
13668 strcoll ("123", "456") >= 0); 13730 strcoll ("123", "456") >= 0);
13669 } 13731 }
13670 EOF 13732 EOF
13671 if { (eval echo configure:13672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13672 then 13734 then
13673 ac_cv_func_strcoll_works=yes 13735 ac_cv_func_strcoll_works=yes
13674 else 13736 else
13675 conftest_rc="$?" 13737 conftest_rc="$?"
13676 echo "configure: failed program was:" >&5 13738 echo "configure: failed program was:" >&5
13694 13756
13695 13757
13696 for ac_func in getpgrp 13758 for ac_func in getpgrp
13697 do 13759 do
13698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13699 echo "configure:13700: checking for $ac_func" >&5 13761 echo "configure:13762: checking for $ac_func" >&5
13700 13762
13701 cat > conftest.$ac_ext <<EOF 13763 cat > conftest.$ac_ext <<EOF
13702 #line 13703 "configure" 13764 #line 13765 "configure"
13703 #include "confdefs.h" 13765 #include "confdefs.h"
13704 /* System header to define __stub macros and hopefully few prototypes, 13766 /* System header to define __stub macros and hopefully few prototypes,
13705 which can conflict with char $ac_func(); below. */ 13767 which can conflict with char $ac_func(); below. */
13706 #include <assert.h> 13768 #include <assert.h>
13707 /* Override any gcc2 internal prototype to avoid an error. */ 13769 /* Override any gcc2 internal prototype to avoid an error. */
13720 $ac_func(); 13782 $ac_func();
13721 #endif 13783 #endif
13722 13784
13723 ; return 0; } 13785 ; return 0; }
13724 EOF 13786 EOF
13725 if { (eval echo configure:13726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13726 rm -rf conftest* 13788 rm -rf conftest*
13727 eval "ac_cv_func_$ac_func=yes" 13789 eval "ac_cv_func_$ac_func=yes"
13728 else 13790 else
13729 echo "configure: failed program was:" >&5 13791 echo "configure: failed program was:" >&5
13730 cat conftest.$ac_ext >&5 13792 cat conftest.$ac_ext >&5
13748 echo "$ac_t""no" 1>&6 13810 echo "$ac_t""no" 1>&6
13749 fi 13811 fi
13750 done 13812 done
13751 13813
13752 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13814 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13753 echo "configure:13754: checking whether getpgrp takes no argument" >&5 13815 echo "configure:13816: checking whether getpgrp takes no argument" >&5
13754 13816
13755 cat > conftest.$ac_ext <<EOF 13817 cat > conftest.$ac_ext <<EOF
13756 #line 13757 "configure" 13818 #line 13819 "configure"
13757 #include "confdefs.h" 13819 #include "confdefs.h"
13758 13820
13759 /* 13821 /*
13760 * If this system has a BSD-style getpgrp(), 13822 * If this system has a BSD-style getpgrp(),
13761 * which takes a pid argument, exit unsuccessfully. 13823 * which takes a pid argument, exit unsuccessfully.
13806 exit(s>>8); 13868 exit(s>>8);
13807 } 13869 }
13808 } 13870 }
13809 13871
13810 EOF 13872 EOF
13811 if { (eval echo configure:13812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13873 if { (eval echo configure:13874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13812 then 13874 then
13813 ac_cv_func_getpgrp_void=yes 13875 ac_cv_func_getpgrp_void=yes
13814 else 13876 else
13815 conftest_rc="$?" 13877 conftest_rc="$?"
13816 echo "configure: failed program was:" >&5 13878 echo "configure: failed program was:" >&5
13833 13895
13834 fi 13896 fi
13835 13897
13836 13898
13837 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13899 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13838 echo "configure:13839: checking for working mmap" >&5 13900 echo "configure:13901: checking for working mmap" >&5
13839 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13901 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13840 cat > conftest.$ac_ext <<EOF 13902 cat > conftest.$ac_ext <<EOF
13841 #line 13842 "configure" 13903 #line 13904 "configure"
13842 #include "confdefs.h" 13904 #include "confdefs.h"
13843 #include <stdio.h> 13905 #include <stdio.h>
13844 #include <unistd.h> 13906 #include <unistd.h>
13845 #include <fcntl.h> 13907 #include <fcntl.h>
13846 #include <sys/mman.h> 13908 #include <sys/mman.h>
13869 return 0; 13931 return 0;
13870 perror ("conftest: mmap failed"); 13932 perror ("conftest: mmap failed");
13871 return 1; 13933 return 1;
13872 } 13934 }
13873 EOF 13935 EOF
13874 if { (eval echo configure:13875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13936 if { (eval echo configure:13937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13875 then 13937 then
13876 have_mmap=yes 13938 have_mmap=yes
13877 else 13939 else
13878 conftest_rc="$?" 13940 conftest_rc="$?"
13879 echo "configure: failed program was:" >&5 13941 echo "configure: failed program was:" >&5
13898 esac 13960 esac
13899 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13961 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13900 if test "$rel_alloc $have_mmap" = "default yes"; then 13962 if test "$rel_alloc $have_mmap" = "default yes"; then
13901 if test "$doug_lea_malloc" = "yes"; then 13963 if test "$doug_lea_malloc" = "yes"; then
13902 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13964 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13903 echo "configure:13904: checking for M_MMAP_THRESHOLD" >&5 13965 echo "configure:13966: checking for M_MMAP_THRESHOLD" >&5
13904 cat > conftest.$ac_ext <<EOF 13966 cat > conftest.$ac_ext <<EOF
13905 #line 13906 "configure" 13967 #line 13968 "configure"
13906 #include "confdefs.h" 13968 #include "confdefs.h"
13907 #include <malloc.h> 13969 #include <malloc.h>
13908 int main() { 13970 int main() {
13909 13971
13910 #ifndef M_MMAP_THRESHOLD 13972 #ifndef M_MMAP_THRESHOLD
13912 !@+$%^&*_)(_ - unlikely to compile... 13974 !@+$%^&*_)(_ - unlikely to compile...
13913 #endif 13975 #endif
13914 13976
13915 ; return 0; } 13977 ; return 0; }
13916 EOF 13978 EOF
13917 if { (eval echo configure:13918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13979 if { (eval echo configure:13980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13918 rm -rf conftest* 13980 rm -rf conftest*
13919 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13981 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13920 else 13982 else
13921 echo "configure: failed program was:" >&5 13983 echo "configure: failed program was:" >&5
13922 cat conftest.$ac_ext >&5 13984 cat conftest.$ac_ext >&5
13937 } 13999 }
13938 14000
13939 14001
13940 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 14002 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13941 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 14003 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13942 echo "configure:13943: checking for termios.h" >&5 14004 echo "configure:14005: checking for termios.h" >&5
13943 14005
13944 cat > conftest.$ac_ext <<EOF 14006 cat > conftest.$ac_ext <<EOF
13945 #line 13946 "configure" 14007 #line 14008 "configure"
13946 #include "confdefs.h" 14008 #include "confdefs.h"
13947 #include <termios.h> 14009 #include <termios.h>
13948 EOF 14010 EOF
13949 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13950 { (eval echo configure:13951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14012 { (eval echo configure:14013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13951 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13952 if test -z "$ac_err"; then 14014 if test -z "$ac_err"; then
13953 rm -rf conftest* 14015 rm -rf conftest*
13954 eval "ac_cv_header_$ac_safe=yes" 14016 eval "ac_cv_header_$ac_safe=yes"
13955 else 14017 else
13988 14050
13989 else 14051 else
13990 echo "$ac_t""no" 1>&6 14052 echo "$ac_t""no" 1>&6
13991 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 14053 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13992 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 14054 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13993 echo "configure:13994: checking for termio.h" >&5 14055 echo "configure:14056: checking for termio.h" >&5
13994 14056
13995 cat > conftest.$ac_ext <<EOF 14057 cat > conftest.$ac_ext <<EOF
13996 #line 13997 "configure" 14058 #line 14059 "configure"
13997 #include "confdefs.h" 14059 #include "confdefs.h"
13998 #include <termio.h> 14060 #include <termio.h>
13999 EOF 14061 EOF
14000 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14001 { (eval echo configure:14002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14063 { (eval echo configure:14064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14002 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14003 if test -z "$ac_err"; then 14065 if test -z "$ac_err"; then
14004 rm -rf conftest* 14066 rm -rf conftest*
14005 eval "ac_cv_header_$ac_safe=yes" 14067 eval "ac_cv_header_$ac_safe=yes"
14006 else 14068 else
14028 fi 14090 fi
14029 14091
14030 14092
14031 14093
14032 echo $ac_n "checking for socket""... $ac_c" 1>&6 14094 echo $ac_n "checking for socket""... $ac_c" 1>&6
14033 echo "configure:14034: checking for socket" >&5 14095 echo "configure:14096: checking for socket" >&5
14034 14096
14035 cat > conftest.$ac_ext <<EOF 14097 cat > conftest.$ac_ext <<EOF
14036 #line 14037 "configure" 14098 #line 14099 "configure"
14037 #include "confdefs.h" 14099 #include "confdefs.h"
14038 /* System header to define __stub macros and hopefully few prototypes, 14100 /* System header to define __stub macros and hopefully few prototypes,
14039 which can conflict with char socket(); below. */ 14101 which can conflict with char socket(); below. */
14040 #include <assert.h> 14102 #include <assert.h>
14041 /* Override any gcc2 internal prototype to avoid an error. */ 14103 /* Override any gcc2 internal prototype to avoid an error. */
14054 socket(); 14116 socket();
14055 #endif 14117 #endif
14056 14118
14057 ; return 0; } 14119 ; return 0; }
14058 EOF 14120 EOF
14059 if { (eval echo configure:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14121 if { (eval echo configure:14122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14060 rm -rf conftest* 14122 rm -rf conftest*
14061 eval "ac_cv_func_socket=yes" 14123 eval "ac_cv_func_socket=yes"
14062 else 14124 else
14063 echo "configure: failed program was:" >&5 14125 echo "configure: failed program was:" >&5
14064 cat conftest.$ac_ext >&5 14126 cat conftest.$ac_ext >&5
14069 14131
14070 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 14132 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
14071 echo "$ac_t""yes" 1>&6 14133 echo "$ac_t""yes" 1>&6
14072 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 14134 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
14073 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 14135 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
14074 echo "configure:14075: checking for netinet/in.h" >&5 14136 echo "configure:14137: checking for netinet/in.h" >&5
14075 14137
14076 cat > conftest.$ac_ext <<EOF 14138 cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure" 14139 #line 14140 "configure"
14078 #include "confdefs.h" 14140 #include "confdefs.h"
14079 #include <netinet/in.h> 14141 #include <netinet/in.h>
14080 EOF 14142 EOF
14081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14082 { (eval echo configure:14083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14144 { (eval echo configure:14145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14084 if test -z "$ac_err"; then 14146 if test -z "$ac_err"; then
14085 rm -rf conftest* 14147 rm -rf conftest*
14086 eval "ac_cv_header_$ac_safe=yes" 14148 eval "ac_cv_header_$ac_safe=yes"
14087 else 14149 else
14094 rm -f conftest* 14156 rm -f conftest*
14095 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14096 echo "$ac_t""yes" 1>&6 14158 echo "$ac_t""yes" 1>&6
14097 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 14159 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
14098 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 14160 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
14099 echo "configure:14100: checking for arpa/inet.h" >&5 14161 echo "configure:14162: checking for arpa/inet.h" >&5
14100 14162
14101 cat > conftest.$ac_ext <<EOF 14163 cat > conftest.$ac_ext <<EOF
14102 #line 14103 "configure" 14164 #line 14165 "configure"
14103 #include "confdefs.h" 14165 #include "confdefs.h"
14104 #include <arpa/inet.h> 14166 #include <arpa/inet.h>
14105 EOF 14167 EOF
14106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14107 { (eval echo configure:14108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14169 { (eval echo configure:14170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14109 if test -z "$ac_err"; then 14171 if test -z "$ac_err"; then
14110 rm -rf conftest* 14172 rm -rf conftest*
14111 eval "ac_cv_header_$ac_safe=yes" 14173 eval "ac_cv_header_$ac_safe=yes"
14112 else 14174 else
14127 #define HAVE_SOCKETS 1 14189 #define HAVE_SOCKETS 1
14128 EOF 14190 EOF
14129 } 14191 }
14130 14192
14131 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 14193 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
14132 echo "configure:14133: checking "for sun_len member in struct sockaddr_un"" >&5 14194 echo "configure:14195: checking "for sun_len member in struct sockaddr_un"" >&5
14133 cat > conftest.$ac_ext <<EOF 14195 cat > conftest.$ac_ext <<EOF
14134 #line 14135 "configure" 14196 #line 14197 "configure"
14135 #include "confdefs.h" 14197 #include "confdefs.h"
14136 14198
14137 #include <sys/types.h> 14199 #include <sys/types.h>
14138 #include <sys/socket.h> 14200 #include <sys/socket.h>
14139 #include <sys/un.h> 14201 #include <sys/un.h>
14140 14202
14141 int main() { 14203 int main() {
14142 static struct sockaddr_un x; x.sun_len = 1; 14204 static struct sockaddr_un x; x.sun_len = 1;
14143 ; return 0; } 14205 ; return 0; }
14144 EOF 14206 EOF
14145 if { (eval echo configure:14146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14207 if { (eval echo configure:14208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14146 rm -rf conftest* 14208 rm -rf conftest*
14147 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14209 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14148 Defining HAVE_SOCKADDR_SUN_LEN 14210 Defining HAVE_SOCKADDR_SUN_LEN
14149 EOF 14211 EOF
14150 cat >> confdefs.h <<\EOF 14212 cat >> confdefs.h <<\EOF
14158 rm -rf conftest* 14220 rm -rf conftest*
14159 echo "$ac_t""no" 1>&6 14221 echo "$ac_t""no" 1>&6
14160 fi 14222 fi
14161 rm -f conftest* 14223 rm -f conftest*
14162 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 14224 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
14163 echo "configure:14164: checking "for ip_mreq struct in netinet/in.h"" >&5 14225 echo "configure:14226: checking "for ip_mreq struct in netinet/in.h"" >&5
14164 cat > conftest.$ac_ext <<EOF 14226 cat > conftest.$ac_ext <<EOF
14165 #line 14166 "configure" 14227 #line 14228 "configure"
14166 #include "confdefs.h" 14228 #include "confdefs.h"
14167 14229
14168 #include <sys/types.h> 14230 #include <sys/types.h>
14169 #include <netinet/in.h> 14231 #include <netinet/in.h>
14170 14232
14171 int main() { 14233 int main() {
14172 static struct ip_mreq x; 14234 static struct ip_mreq x;
14173 ; return 0; } 14235 ; return 0; }
14174 EOF 14236 EOF
14175 if { (eval echo configure:14176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14237 if { (eval echo configure:14238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14176 rm -rf conftest* 14238 rm -rf conftest*
14177 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 14239 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
14178 Defining HAVE_MULTICAST 14240 Defining HAVE_MULTICAST
14179 EOF 14241 EOF
14180 cat >> confdefs.h <<\EOF 14242 cat >> confdefs.h <<\EOF
14201 echo "$ac_t""no" 1>&6 14263 echo "$ac_t""no" 1>&6
14202 fi 14264 fi
14203 14265
14204 14266
14205 echo $ac_n "checking for msgget""... $ac_c" 1>&6 14267 echo $ac_n "checking for msgget""... $ac_c" 1>&6
14206 echo "configure:14207: checking for msgget" >&5 14268 echo "configure:14269: checking for msgget" >&5
14207 14269
14208 cat > conftest.$ac_ext <<EOF 14270 cat > conftest.$ac_ext <<EOF
14209 #line 14210 "configure" 14271 #line 14272 "configure"
14210 #include "confdefs.h" 14272 #include "confdefs.h"
14211 /* System header to define __stub macros and hopefully few prototypes, 14273 /* System header to define __stub macros and hopefully few prototypes,
14212 which can conflict with char msgget(); below. */ 14274 which can conflict with char msgget(); below. */
14213 #include <assert.h> 14275 #include <assert.h>
14214 /* Override any gcc2 internal prototype to avoid an error. */ 14276 /* Override any gcc2 internal prototype to avoid an error. */
14227 msgget(); 14289 msgget();
14228 #endif 14290 #endif
14229 14291
14230 ; return 0; } 14292 ; return 0; }
14231 EOF 14293 EOF
14232 if { (eval echo configure:14233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14294 if { (eval echo configure:14295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14233 rm -rf conftest* 14295 rm -rf conftest*
14234 eval "ac_cv_func_msgget=yes" 14296 eval "ac_cv_func_msgget=yes"
14235 else 14297 else
14236 echo "configure: failed program was:" >&5 14298 echo "configure: failed program was:" >&5
14237 cat conftest.$ac_ext >&5 14299 cat conftest.$ac_ext >&5
14242 14304
14243 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 14305 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
14244 echo "$ac_t""yes" 1>&6 14306 echo "$ac_t""yes" 1>&6
14245 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 14307 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
14246 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 14308 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
14247 echo "configure:14248: checking for sys/ipc.h" >&5 14309 echo "configure:14310: checking for sys/ipc.h" >&5
14248 14310
14249 cat > conftest.$ac_ext <<EOF 14311 cat > conftest.$ac_ext <<EOF
14250 #line 14251 "configure" 14312 #line 14313 "configure"
14251 #include "confdefs.h" 14313 #include "confdefs.h"
14252 #include <sys/ipc.h> 14314 #include <sys/ipc.h>
14253 EOF 14315 EOF
14254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14255 { (eval echo configure:14256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14317 { (eval echo configure:14318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14257 if test -z "$ac_err"; then 14319 if test -z "$ac_err"; then
14258 rm -rf conftest* 14320 rm -rf conftest*
14259 eval "ac_cv_header_$ac_safe=yes" 14321 eval "ac_cv_header_$ac_safe=yes"
14260 else 14322 else
14267 rm -f conftest* 14329 rm -f conftest*
14268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14330 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14269 echo "$ac_t""yes" 1>&6 14331 echo "$ac_t""yes" 1>&6
14270 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 14332 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
14271 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 14333 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
14272 echo "configure:14273: checking for sys/msg.h" >&5 14334 echo "configure:14335: checking for sys/msg.h" >&5
14273 14335
14274 cat > conftest.$ac_ext <<EOF 14336 cat > conftest.$ac_ext <<EOF
14275 #line 14276 "configure" 14337 #line 14338 "configure"
14276 #include "confdefs.h" 14338 #include "confdefs.h"
14277 #include <sys/msg.h> 14339 #include <sys/msg.h>
14278 EOF 14340 EOF
14279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14280 { (eval echo configure:14281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14342 { (eval echo configure:14343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14282 if test -z "$ac_err"; then 14344 if test -z "$ac_err"; then
14283 rm -rf conftest* 14345 rm -rf conftest*
14284 eval "ac_cv_header_$ac_safe=yes" 14346 eval "ac_cv_header_$ac_safe=yes"
14285 else 14347 else
14313 fi 14375 fi
14314 14376
14315 14377
14316 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 14378 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
14317 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 14379 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
14318 echo "configure:14319: checking for dirent.h" >&5 14380 echo "configure:14381: checking for dirent.h" >&5
14319 14381
14320 cat > conftest.$ac_ext <<EOF 14382 cat > conftest.$ac_ext <<EOF
14321 #line 14322 "configure" 14383 #line 14384 "configure"
14322 #include "confdefs.h" 14384 #include "confdefs.h"
14323 #include <dirent.h> 14385 #include <dirent.h>
14324 EOF 14386 EOF
14325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14326 { (eval echo configure:14327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14388 { (eval echo configure:14389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14389 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14328 if test -z "$ac_err"; then 14390 if test -z "$ac_err"; then
14329 rm -rf conftest* 14391 rm -rf conftest*
14330 eval "ac_cv_header_$ac_safe=yes" 14392 eval "ac_cv_header_$ac_safe=yes"
14331 else 14393 else
14348 14410
14349 else 14411 else
14350 echo "$ac_t""no" 1>&6 14412 echo "$ac_t""no" 1>&6
14351 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 14413 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
14352 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 14414 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
14353 echo "configure:14354: checking for sys/dir.h" >&5 14415 echo "configure:14416: checking for sys/dir.h" >&5
14354 14416
14355 cat > conftest.$ac_ext <<EOF 14417 cat > conftest.$ac_ext <<EOF
14356 #line 14357 "configure" 14418 #line 14419 "configure"
14357 #include "confdefs.h" 14419 #include "confdefs.h"
14358 #include <sys/dir.h> 14420 #include <sys/dir.h>
14359 EOF 14421 EOF
14360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14361 { (eval echo configure:14362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14423 { (eval echo configure:14424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14363 if test -z "$ac_err"; then 14425 if test -z "$ac_err"; then
14364 rm -rf conftest* 14426 rm -rf conftest*
14365 eval "ac_cv_header_$ac_safe=yes" 14427 eval "ac_cv_header_$ac_safe=yes"
14366 else 14428 else
14389 fi 14451 fi
14390 14452
14391 14453
14392 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 14454 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
14393 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 14455 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
14394 echo "configure:14395: checking for nlist.h" >&5 14456 echo "configure:14457: checking for nlist.h" >&5
14395 14457
14396 cat > conftest.$ac_ext <<EOF 14458 cat > conftest.$ac_ext <<EOF
14397 #line 14398 "configure" 14459 #line 14460 "configure"
14398 #include "confdefs.h" 14460 #include "confdefs.h"
14399 #include <nlist.h> 14461 #include <nlist.h>
14400 EOF 14462 EOF
14401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14402 { (eval echo configure:14403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14464 { (eval echo configure:14465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14404 if test -z "$ac_err"; then 14466 if test -z "$ac_err"; then
14405 rm -rf conftest* 14467 rm -rf conftest*
14406 eval "ac_cv_header_$ac_safe=yes" 14468 eval "ac_cv_header_$ac_safe=yes"
14407 else 14469 else
14427 fi 14489 fi
14428 14490
14429 14491
14430 14492
14431 echo "checking "for sound support"" 1>&6 14493 echo "checking "for sound support"" 1>&6
14432 echo "configure:14433: checking "for sound support"" >&5 14494 echo "configure:14495: checking "for sound support"" >&5
14433 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 14495 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
14434 14496
14435 if test "$with_native_sound" != "no"; then 14497 if test "$with_native_sound" != "no"; then
14436 if test -n "$native_sound_lib"; then 14498 if test -n "$native_sound_lib"; then
14437 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14499 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
14438 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14500 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
14439 echo "configure:14440: checking for multimedia/audio_device.h" >&5 14501 echo "configure:14502: checking for multimedia/audio_device.h" >&5
14440 14502
14441 cat > conftest.$ac_ext <<EOF 14503 cat > conftest.$ac_ext <<EOF
14442 #line 14443 "configure" 14504 #line 14505 "configure"
14443 #include "confdefs.h" 14505 #include "confdefs.h"
14444 #include <multimedia/audio_device.h> 14506 #include <multimedia/audio_device.h>
14445 EOF 14507 EOF
14446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14447 { (eval echo configure:14448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14509 { (eval echo configure:14510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14449 if test -z "$ac_err"; then 14511 if test -z "$ac_err"; then
14450 rm -rf conftest* 14512 rm -rf conftest*
14451 eval "ac_cv_header_$ac_safe=yes" 14513 eval "ac_cv_header_$ac_safe=yes"
14452 else 14514 else
14498 case "$canonical" in 14560 case "$canonical" in
14499 *-sgi-* ) 14561 *-sgi-* )
14500 if test -z "$native_sound_lib"; then 14562 if test -z "$native_sound_lib"; then
14501 14563
14502 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14564 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14503 echo "configure:14504: checking for ALopenport in -laudio" >&5 14565 echo "configure:14566: checking for ALopenport in -laudio" >&5
14504 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14566 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14505 14567
14506 xe_check_libs=" -laudio " 14568 xe_check_libs=" -laudio "
14507 cat > conftest.$ac_ext <<EOF 14569 cat > conftest.$ac_ext <<EOF
14508 #line 14509 "configure" 14570 #line 14571 "configure"
14509 #include "confdefs.h" 14571 #include "confdefs.h"
14510 /* Override any gcc2 internal prototype to avoid an error. */ 14572 /* Override any gcc2 internal prototype to avoid an error. */
14511 /* We use char because int might match the return type of a gcc2 14573 /* We use char because int might match the return type of a gcc2
14512 builtin and then its argument prototype would still apply. */ 14574 builtin and then its argument prototype would still apply. */
14513 char ALopenport(); 14575 char ALopenport();
14514 14576
14515 int main() { 14577 int main() {
14516 ALopenport() 14578 ALopenport()
14517 ; return 0; } 14579 ; return 0; }
14518 EOF 14580 EOF
14519 if { (eval echo configure:14520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14581 if { (eval echo configure:14582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14520 rm -rf conftest* 14582 rm -rf conftest*
14521 eval "ac_cv_lib_$ac_lib_var=yes" 14583 eval "ac_cv_lib_$ac_lib_var=yes"
14522 else 14584 else
14523 echo "configure: failed program was:" >&5 14585 echo "configure: failed program was:" >&5
14524 cat conftest.$ac_ext >&5 14586 cat conftest.$ac_ext >&5
14545 fi ;; 14607 fi ;;
14546 hppa*-hp-hpux* ) 14608 hppa*-hp-hpux* )
14547 if test -z "$native_sound_lib"; then 14609 if test -z "$native_sound_lib"; then
14548 14610
14549 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14611 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14550 echo "configure:14551: checking for AOpenAudio in -lAlib" >&5 14612 echo "configure:14613: checking for AOpenAudio in -lAlib" >&5
14551 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14613 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14552 14614
14553 xe_check_libs=" -lAlib " 14615 xe_check_libs=" -lAlib "
14554 cat > conftest.$ac_ext <<EOF 14616 cat > conftest.$ac_ext <<EOF
14555 #line 14556 "configure" 14617 #line 14618 "configure"
14556 #include "confdefs.h" 14618 #include "confdefs.h"
14557 /* Override any gcc2 internal prototype to avoid an error. */ 14619 /* Override any gcc2 internal prototype to avoid an error. */
14558 /* We use char because int might match the return type of a gcc2 14620 /* We use char because int might match the return type of a gcc2
14559 builtin and then its argument prototype would still apply. */ 14621 builtin and then its argument prototype would still apply. */
14560 char AOpenAudio(); 14622 char AOpenAudio();
14561 14623
14562 int main() { 14624 int main() {
14563 AOpenAudio() 14625 AOpenAudio()
14564 ; return 0; } 14626 ; return 0; }
14565 EOF 14627 EOF
14566 if { (eval echo configure:14567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14628 if { (eval echo configure:14629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14567 rm -rf conftest* 14629 rm -rf conftest*
14568 eval "ac_cv_lib_$ac_lib_var=yes" 14630 eval "ac_cv_lib_$ac_lib_var=yes"
14569 else 14631 else
14570 echo "configure: failed program was:" >&5 14632 echo "configure: failed program was:" >&5
14571 cat conftest.$ac_ext >&5 14633 cat conftest.$ac_ext >&5
14609 14671
14610 if test -z "$sound_found"; then 14672 if test -z "$sound_found"; then
14611 for dir in "machine" "sys" "linux"; do 14673 for dir in "machine" "sys" "linux"; do
14612 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14674 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14613 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14675 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14614 echo "configure:14615: checking for ${dir}/soundcard.h" >&5 14676 echo "configure:14677: checking for ${dir}/soundcard.h" >&5
14615 14677
14616 cat > conftest.$ac_ext <<EOF 14678 cat > conftest.$ac_ext <<EOF
14617 #line 14618 "configure" 14679 #line 14680 "configure"
14618 #include "confdefs.h" 14680 #include "confdefs.h"
14619 #include <${dir}/soundcard.h> 14681 #include <${dir}/soundcard.h>
14620 EOF 14682 EOF
14621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14622 { (eval echo configure:14623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14684 { (eval echo configure:14685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14624 if test -z "$ac_err"; then 14686 if test -z "$ac_err"; then
14625 rm -rf conftest* 14687 rm -rf conftest*
14626 eval "ac_cv_header_$ac_safe=yes" 14688 eval "ac_cv_header_$ac_safe=yes"
14627 else 14689 else
14659 with_native_sound=yes 14721 with_native_sound=yes
14660 14722
14661 if test "$opsys" = "netbsd" ; then 14723 if test "$opsys" = "netbsd" ; then
14662 14724
14663 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 14725 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6
14664 echo "configure:14665: checking for _oss_ioctl in -lossaudio" >&5 14726 echo "configure:14727: checking for _oss_ioctl in -lossaudio" >&5
14665 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` 14727 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'`
14666 14728
14667 xe_check_libs=" -lossaudio " 14729 xe_check_libs=" -lossaudio "
14668 cat > conftest.$ac_ext <<EOF 14730 cat > conftest.$ac_ext <<EOF
14669 #line 14670 "configure" 14731 #line 14732 "configure"
14670 #include "confdefs.h" 14732 #include "confdefs.h"
14671 /* Override any gcc2 internal prototype to avoid an error. */ 14733 /* Override any gcc2 internal prototype to avoid an error. */
14672 /* We use char because int might match the return type of a gcc2 14734 /* We use char because int might match the return type of a gcc2
14673 builtin and then its argument prototype would still apply. */ 14735 builtin and then its argument prototype would still apply. */
14674 char _oss_ioctl(); 14736 char _oss_ioctl();
14675 14737
14676 int main() { 14738 int main() {
14677 _oss_ioctl() 14739 _oss_ioctl()
14678 ; return 0; } 14740 ; return 0; }
14679 EOF 14741 EOF
14680 if { (eval echo configure:14681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14742 if { (eval echo configure:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14681 rm -rf conftest* 14743 rm -rf conftest*
14682 eval "ac_cv_lib_$ac_lib_var=yes" 14744 eval "ac_cv_lib_$ac_lib_var=yes"
14683 else 14745 else
14684 echo "configure: failed program was:" >&5 14746 echo "configure: failed program was:" >&5
14685 cat conftest.$ac_ext >&5 14747 cat conftest.$ac_ext >&5
14714 fi 14776 fi
14715 14777
14716 if test "$with_nas_sound" != "no"; then 14778 if test "$with_nas_sound" != "no"; then
14717 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14779 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14718 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14780 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14719 echo "configure:14720: checking for audio/audiolib.h" >&5 14781 echo "configure:14782: checking for audio/audiolib.h" >&5
14720 14782
14721 cat > conftest.$ac_ext <<EOF 14783 cat > conftest.$ac_ext <<EOF
14722 #line 14723 "configure" 14784 #line 14785 "configure"
14723 #include "confdefs.h" 14785 #include "confdefs.h"
14724 #include <audio/audiolib.h> 14786 #include <audio/audiolib.h>
14725 EOF 14787 EOF
14726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14727 { (eval echo configure:14728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14789 { (eval echo configure:14790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14729 if test -z "$ac_err"; then 14791 if test -z "$ac_err"; then
14730 rm -rf conftest* 14792 rm -rf conftest*
14731 eval "ac_cv_header_$ac_safe=yes" 14793 eval "ac_cv_header_$ac_safe=yes"
14732 else 14794 else
14740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14741 echo "$ac_t""yes" 1>&6 14803 echo "$ac_t""yes" 1>&6
14742 14804
14743 14805
14744 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14806 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14745 echo "configure:14746: checking for AuOpenServer in -laudio" >&5 14807 echo "configure:14808: checking for AuOpenServer in -laudio" >&5
14746 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14808 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14747 14809
14748 xe_check_libs=" -laudio " 14810 xe_check_libs=" -laudio "
14749 cat > conftest.$ac_ext <<EOF 14811 cat > conftest.$ac_ext <<EOF
14750 #line 14751 "configure" 14812 #line 14813 "configure"
14751 #include "confdefs.h" 14813 #include "confdefs.h"
14752 /* Override any gcc2 internal prototype to avoid an error. */ 14814 /* Override any gcc2 internal prototype to avoid an error. */
14753 /* We use char because int might match the return type of a gcc2 14815 /* We use char because int might match the return type of a gcc2
14754 builtin and then its argument prototype would still apply. */ 14816 builtin and then its argument prototype would still apply. */
14755 char AuOpenServer(); 14817 char AuOpenServer();
14756 14818
14757 int main() { 14819 int main() {
14758 AuOpenServer() 14820 AuOpenServer()
14759 ; return 0; } 14821 ; return 0; }
14760 EOF 14822 EOF
14761 if { (eval echo configure:14762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14762 rm -rf conftest* 14824 rm -rf conftest*
14763 eval "ac_cv_lib_$ac_lib_var=yes" 14825 eval "ac_cv_lib_$ac_lib_var=yes"
14764 else 14826 else
14765 echo "configure: failed program was:" >&5 14827 echo "configure: failed program was:" >&5
14766 cat conftest.$ac_ext >&5 14828 cat conftest.$ac_ext >&5
14795 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14857 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14796 echo " xemacs will be linked with \"nas.o\"" 14858 echo " xemacs will be linked with \"nas.o\""
14797 fi 14859 fi
14798 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14860 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14799 cat > conftest.$ac_ext <<EOF 14861 cat > conftest.$ac_ext <<EOF
14800 #line 14801 "configure" 14862 #line 14863 "configure"
14801 #include "confdefs.h" 14863 #include "confdefs.h"
14802 #include <audio/Xtutil.h> 14864 #include <audio/Xtutil.h>
14803 EOF 14865 EOF
14804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14805 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14867 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14826 14888
14827 if test "$with_esd_sound" != "no"; then 14889 if test "$with_esd_sound" != "no"; then
14828 # Extract the first word of "esd-config", so it can be a program name with args. 14890 # Extract the first word of "esd-config", so it can be a program name with args.
14829 set dummy esd-config; ac_word=$2 14891 set dummy esd-config; ac_word=$2
14830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14892 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14831 echo "configure:14832: checking for $ac_word" >&5 14893 echo "configure:14894: checking for $ac_word" >&5
14832 14894
14833 if test -n "$have_esd_config"; then 14895 if test -n "$have_esd_config"; then
14834 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14896 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14835 else 14897 else
14836 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14898 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14855 if test "$have_esd_config" = "yes"; then 14917 if test "$have_esd_config" = "yes"; then
14856 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14918 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14857 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi 14919 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi
14858 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14920 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14859 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14921 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14860 echo "configure:14861: checking for esd_play_stream" >&5 14922 echo "configure:14923: checking for esd_play_stream" >&5
14861 14923
14862 cat > conftest.$ac_ext <<EOF 14924 cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure" 14925 #line 14926 "configure"
14864 #include "confdefs.h" 14926 #include "confdefs.h"
14865 /* System header to define __stub macros and hopefully few prototypes, 14927 /* System header to define __stub macros and hopefully few prototypes,
14866 which can conflict with char esd_play_stream(); below. */ 14928 which can conflict with char esd_play_stream(); below. */
14867 #include <assert.h> 14929 #include <assert.h>
14868 /* Override any gcc2 internal prototype to avoid an error. */ 14930 /* Override any gcc2 internal prototype to avoid an error. */
14881 esd_play_stream(); 14943 esd_play_stream();
14882 #endif 14944 #endif
14883 14945
14884 ; return 0; } 14946 ; return 0; }
14885 EOF 14947 EOF
14886 if { (eval echo configure:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14948 if { (eval echo configure:14949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14887 rm -rf conftest* 14949 rm -rf conftest*
14888 eval "ac_cv_func_esd_play_stream=yes" 14950 eval "ac_cv_func_esd_play_stream=yes"
14889 else 14951 else
14890 echo "configure: failed program was:" >&5 14952 echo "configure: failed program was:" >&5
14891 cat conftest.$ac_ext >&5 14953 cat conftest.$ac_ext >&5
14932 14994
14933 test -z "$with_tty" && with_tty=yes 14995 test -z "$with_tty" && with_tty=yes
14934 14996
14935 if test "$with_tty" = "yes" ; then 14997 if test "$with_tty" = "yes" ; then
14936 echo "checking for TTY-related features" 1>&6 14998 echo "checking for TTY-related features" 1>&6
14937 echo "configure:14938: checking for TTY-related features" >&5 14999 echo "configure:15000: checking for TTY-related features" >&5
14938 { test "$extra_verbose" = "yes" && cat << \EOF 15000 { test "$extra_verbose" = "yes" && cat << \EOF
14939 Defining HAVE_TTY 15001 Defining HAVE_TTY
14940 EOF 15002 EOF
14941 cat >> confdefs.h <<\EOF 15003 cat >> confdefs.h <<\EOF
14942 #define HAVE_TTY 1 15004 #define HAVE_TTY 1
14945 15007
14946 15008
14947 if test -z "$with_ncurses"; then 15009 if test -z "$with_ncurses"; then
14948 15010
14949 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 15011 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14950 echo "configure:14951: checking for tgetent in -lncurses" >&5 15012 echo "configure:15013: checking for tgetent in -lncurses" >&5
14951 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 15013 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14952 15014
14953 xe_check_libs=" -lncurses " 15015 xe_check_libs=" -lncurses "
14954 cat > conftest.$ac_ext <<EOF 15016 cat > conftest.$ac_ext <<EOF
14955 #line 14956 "configure" 15017 #line 15018 "configure"
14956 #include "confdefs.h" 15018 #include "confdefs.h"
14957 /* Override any gcc2 internal prototype to avoid an error. */ 15019 /* Override any gcc2 internal prototype to avoid an error. */
14958 /* We use char because int might match the return type of a gcc2 15020 /* We use char because int might match the return type of a gcc2
14959 builtin and then its argument prototype would still apply. */ 15021 builtin and then its argument prototype would still apply. */
14960 char tgetent(); 15022 char tgetent();
14961 15023
14962 int main() { 15024 int main() {
14963 tgetent() 15025 tgetent()
14964 ; return 0; } 15026 ; return 0; }
14965 EOF 15027 EOF
14966 if { (eval echo configure:14967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15028 if { (eval echo configure:15029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14967 rm -rf conftest* 15029 rm -rf conftest*
14968 eval "ac_cv_lib_$ac_lib_var=yes" 15030 eval "ac_cv_lib_$ac_lib_var=yes"
14969 else 15031 else
14970 echo "configure: failed program was:" >&5 15032 echo "configure: failed program was:" >&5
14971 cat conftest.$ac_ext >&5 15033 cat conftest.$ac_ext >&5
14994 EOF 15056 EOF
14995 } 15057 }
14996 15058
14997 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 15059 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14998 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 15060 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14999 echo "configure:15000: checking for ncurses/curses.h" >&5 15061 echo "configure:15062: checking for ncurses/curses.h" >&5
15000 15062
15001 cat > conftest.$ac_ext <<EOF 15063 cat > conftest.$ac_ext <<EOF
15002 #line 15003 "configure" 15064 #line 15065 "configure"
15003 #include "confdefs.h" 15065 #include "confdefs.h"
15004 #include <ncurses/curses.h> 15066 #include <ncurses/curses.h>
15005 EOF 15067 EOF
15006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15007 { (eval echo configure:15008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15069 { (eval echo configure:15070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15009 if test -z "$ac_err"; then 15071 if test -z "$ac_err"; then
15010 rm -rf conftest* 15072 rm -rf conftest*
15011 eval "ac_cv_header_$ac_safe=yes" 15073 eval "ac_cv_header_$ac_safe=yes"
15012 else 15074 else
15024 echo "$ac_t""no" 1>&6 15086 echo "$ac_t""no" 1>&6
15025 fi 15087 fi
15026 15088
15027 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 15089 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
15028 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 15090 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
15029 echo "configure:15030: checking for ncurses/term.h" >&5 15091 echo "configure:15092: checking for ncurses/term.h" >&5
15030 15092
15031 cat > conftest.$ac_ext <<EOF 15093 cat > conftest.$ac_ext <<EOF
15032 #line 15033 "configure" 15094 #line 15095 "configure"
15033 #include "confdefs.h" 15095 #include "confdefs.h"
15034 #include <ncurses/term.h> 15096 #include <ncurses/term.h>
15035 EOF 15097 EOF
15036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15037 { (eval echo configure:15038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15099 { (eval echo configure:15100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15039 if test -z "$ac_err"; then 15101 if test -z "$ac_err"; then
15040 rm -rf conftest* 15102 rm -rf conftest*
15041 eval "ac_cv_header_$ac_safe=yes" 15103 eval "ac_cv_header_$ac_safe=yes"
15042 else 15104 else
15062 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 15124 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
15063 save_c_switch_site="$c_switch_site" 15125 save_c_switch_site="$c_switch_site"
15064 c_switch_site="$c_switch_site -I/usr/include/ncurses" 15126 c_switch_site="$c_switch_site -I/usr/include/ncurses"
15065 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 15127 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
15066 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 15128 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
15067 echo "configure:15068: checking for ncurses/curses.h" >&5 15129 echo "configure:15130: checking for ncurses/curses.h" >&5
15068 15130
15069 cat > conftest.$ac_ext <<EOF 15131 cat > conftest.$ac_ext <<EOF
15070 #line 15071 "configure" 15132 #line 15133 "configure"
15071 #include "confdefs.h" 15133 #include "confdefs.h"
15072 #include <ncurses/curses.h> 15134 #include <ncurses/curses.h>
15073 EOF 15135 EOF
15074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15075 { (eval echo configure:15076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15137 { (eval echo configure:15138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15077 if test -z "$ac_err"; then 15139 if test -z "$ac_err"; then
15078 rm -rf conftest* 15140 rm -rf conftest*
15079 eval "ac_cv_header_$ac_safe=yes" 15141 eval "ac_cv_header_$ac_safe=yes"
15080 else 15142 else
15105 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15167 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15106 else 15168 else
15107 for lib in curses termlib termcap; do 15169 for lib in curses termlib termcap; do
15108 15170
15109 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 15171 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
15110 echo "configure:15111: checking for tgetent in -l$lib" >&5 15172 echo "configure:15173: checking for tgetent in -l$lib" >&5
15111 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 15173 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
15112 15174
15113 xe_check_libs=" -l$lib " 15175 xe_check_libs=" -l$lib "
15114 cat > conftest.$ac_ext <<EOF 15176 cat > conftest.$ac_ext <<EOF
15115 #line 15116 "configure" 15177 #line 15178 "configure"
15116 #include "confdefs.h" 15178 #include "confdefs.h"
15117 /* Override any gcc2 internal prototype to avoid an error. */ 15179 /* Override any gcc2 internal prototype to avoid an error. */
15118 /* We use char because int might match the return type of a gcc2 15180 /* We use char because int might match the return type of a gcc2
15119 builtin and then its argument prototype would still apply. */ 15181 builtin and then its argument prototype would still apply. */
15120 char tgetent(); 15182 char tgetent();
15121 15183
15122 int main() { 15184 int main() {
15123 tgetent() 15185 tgetent()
15124 ; return 0; } 15186 ; return 0; }
15125 EOF 15187 EOF
15126 if { (eval echo configure:15127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15188 if { (eval echo configure:15189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15127 rm -rf conftest* 15189 rm -rf conftest*
15128 eval "ac_cv_lib_$ac_lib_var=yes" 15190 eval "ac_cv_lib_$ac_lib_var=yes"
15129 else 15191 else
15130 echo "configure: failed program was:" >&5 15192 echo "configure: failed program was:" >&5
15131 cat conftest.$ac_ext >&5 15193 cat conftest.$ac_ext >&5
15152 if test -n "$libs_termcap"; then 15214 if test -n "$libs_termcap"; then
15153 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 15215 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
15154 else 15216 else
15155 15217
15156 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 15218 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
15157 echo "configure:15158: checking for tgetent in -lcurses" >&5 15219 echo "configure:15220: checking for tgetent in -lcurses" >&5
15158 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 15220 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
15159 15221
15160 xe_check_libs=" -lcurses " 15222 xe_check_libs=" -lcurses "
15161 cat > conftest.$ac_ext <<EOF 15223 cat > conftest.$ac_ext <<EOF
15162 #line 15163 "configure" 15224 #line 15225 "configure"
15163 #include "confdefs.h" 15225 #include "confdefs.h"
15164 /* Override any gcc2 internal prototype to avoid an error. */ 15226 /* Override any gcc2 internal prototype to avoid an error. */
15165 /* We use char because int might match the return type of a gcc2 15227 /* We use char because int might match the return type of a gcc2
15166 builtin and then its argument prototype would still apply. */ 15228 builtin and then its argument prototype would still apply. */
15167 char tgetent(); 15229 char tgetent();
15168 15230
15169 int main() { 15231 int main() {
15170 tgetent() 15232 tgetent()
15171 ; return 0; } 15233 ; return 0; }
15172 EOF 15234 EOF
15173 if { (eval echo configure:15174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15235 if { (eval echo configure:15236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15174 rm -rf conftest* 15236 rm -rf conftest*
15175 eval "ac_cv_lib_$ac_lib_var=yes" 15237 eval "ac_cv_lib_$ac_lib_var=yes"
15176 else 15238 else
15177 echo "configure: failed program was:" >&5 15239 echo "configure: failed program was:" >&5
15178 cat conftest.$ac_ext >&5 15240 cat conftest.$ac_ext >&5
15186 echo "$ac_t""yes" 1>&6 15248 echo "$ac_t""yes" 1>&6
15187 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 15249 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
15188 else 15250 else
15189 echo "$ac_t""no" 1>&6 15251 echo "$ac_t""no" 1>&6
15190 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 15252 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
15191 echo "configure:15192: checking for tgetent in -ltermcap" >&5 15253 echo "configure:15254: checking for tgetent in -ltermcap" >&5
15192 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 15254 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
15193 15255
15194 xe_check_libs=" -ltermcap " 15256 xe_check_libs=" -ltermcap "
15195 cat > conftest.$ac_ext <<EOF 15257 cat > conftest.$ac_ext <<EOF
15196 #line 15197 "configure" 15258 #line 15259 "configure"
15197 #include "confdefs.h" 15259 #include "confdefs.h"
15198 /* Override any gcc2 internal prototype to avoid an error. */ 15260 /* Override any gcc2 internal prototype to avoid an error. */
15199 /* We use char because int might match the return type of a gcc2 15261 /* We use char because int might match the return type of a gcc2
15200 builtin and then its argument prototype would still apply. */ 15262 builtin and then its argument prototype would still apply. */
15201 char tgetent(); 15263 char tgetent();
15202 15264
15203 int main() { 15265 int main() {
15204 tgetent() 15266 tgetent()
15205 ; return 0; } 15267 ; return 0; }
15206 EOF 15268 EOF
15207 if { (eval echo configure:15208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15269 if { (eval echo configure:15270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15208 rm -rf conftest* 15270 rm -rf conftest*
15209 eval "ac_cv_lib_$ac_lib_var=yes" 15271 eval "ac_cv_lib_$ac_lib_var=yes"
15210 else 15272 else
15211 echo "configure: failed program was:" >&5 15273 echo "configure: failed program was:" >&5
15212 cat conftest.$ac_ext >&5 15274 cat conftest.$ac_ext >&5
15251 15313
15252 15314
15253 if test "$with_gpm" != "no"; then 15315 if test "$with_gpm" != "no"; then
15254 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 15316 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
15255 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 15317 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
15256 echo "configure:15257: checking for gpm.h" >&5 15318 echo "configure:15319: checking for gpm.h" >&5
15257 15319
15258 cat > conftest.$ac_ext <<EOF 15320 cat > conftest.$ac_ext <<EOF
15259 #line 15260 "configure" 15321 #line 15322 "configure"
15260 #include "confdefs.h" 15322 #include "confdefs.h"
15261 #include <gpm.h> 15323 #include <gpm.h>
15262 EOF 15324 EOF
15263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15264 { (eval echo configure:15265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15326 { (eval echo configure:15327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15266 if test -z "$ac_err"; then 15328 if test -z "$ac_err"; then
15267 rm -rf conftest* 15329 rm -rf conftest*
15268 eval "ac_cv_header_$ac_safe=yes" 15330 eval "ac_cv_header_$ac_safe=yes"
15269 else 15331 else
15277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15278 echo "$ac_t""yes" 1>&6 15340 echo "$ac_t""yes" 1>&6
15279 15341
15280 15342
15281 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 15343 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
15282 echo "configure:15283: checking for Gpm_Open in -lgpm" >&5 15344 echo "configure:15345: checking for Gpm_Open in -lgpm" >&5
15283 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 15345 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
15284 15346
15285 xe_check_libs=" -lgpm " 15347 xe_check_libs=" -lgpm "
15286 cat > conftest.$ac_ext <<EOF 15348 cat > conftest.$ac_ext <<EOF
15287 #line 15288 "configure" 15349 #line 15350 "configure"
15288 #include "confdefs.h" 15350 #include "confdefs.h"
15289 /* Override any gcc2 internal prototype to avoid an error. */ 15351 /* Override any gcc2 internal prototype to avoid an error. */
15290 /* We use char because int might match the return type of a gcc2 15352 /* We use char because int might match the return type of a gcc2
15291 builtin and then its argument prototype would still apply. */ 15353 builtin and then its argument prototype would still apply. */
15292 char Gpm_Open(); 15354 char Gpm_Open();
15293 15355
15294 int main() { 15356 int main() {
15295 Gpm_Open() 15357 Gpm_Open()
15296 ; return 0; } 15358 ; return 0; }
15297 EOF 15359 EOF
15298 if { (eval echo configure:15299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15360 if { (eval echo configure:15361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15299 rm -rf conftest* 15361 rm -rf conftest*
15300 eval "ac_cv_lib_$ac_lib_var=yes" 15362 eval "ac_cv_lib_$ac_lib_var=yes"
15301 else 15363 else
15302 echo "configure: failed program was:" >&5 15364 echo "configure: failed program was:" >&5
15303 cat conftest.$ac_ext >&5 15365 cat conftest.$ac_ext >&5
15345 done 15407 done
15346 fi 15408 fi
15347 15409
15348 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 15410 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
15349 != "no no no" && echo "checking for database support" 1>&6 15411 != "no no no" && echo "checking for database support" 1>&6
15350 echo "configure:15351: checking for database support" >&5 15412 echo "configure:15413: checking for database support" >&5
15351 15413
15352 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 15414 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
15353 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 15415 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
15354 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 15416 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
15355 echo "configure:15356: checking for ndbm.h" >&5 15417 echo "configure:15418: checking for ndbm.h" >&5
15356 15418
15357 cat > conftest.$ac_ext <<EOF 15419 cat > conftest.$ac_ext <<EOF
15358 #line 15359 "configure" 15420 #line 15421 "configure"
15359 #include "confdefs.h" 15421 #include "confdefs.h"
15360 #include <ndbm.h> 15422 #include <ndbm.h>
15361 EOF 15423 EOF
15362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15363 { (eval echo configure:15364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15425 { (eval echo configure:15426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15426 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15365 if test -z "$ac_err"; then 15427 if test -z "$ac_err"; then
15366 rm -rf conftest* 15428 rm -rf conftest*
15367 eval "ac_cv_header_$ac_safe=yes" 15429 eval "ac_cv_header_$ac_safe=yes"
15368 else 15430 else
15388 fi 15450 fi
15389 15451
15390 if test "$with_database_gdbm" != "no"; then 15452 if test "$with_database_gdbm" != "no"; then
15391 15453
15392 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 15454 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
15393 echo "configure:15394: checking for dbm_open in -lgdbm" >&5 15455 echo "configure:15456: checking for dbm_open in -lgdbm" >&5
15394 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 15456 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
15395 15457
15396 xe_check_libs=" -lgdbm " 15458 xe_check_libs=" -lgdbm "
15397 cat > conftest.$ac_ext <<EOF 15459 cat > conftest.$ac_ext <<EOF
15398 #line 15399 "configure" 15460 #line 15461 "configure"
15399 #include "confdefs.h" 15461 #include "confdefs.h"
15400 /* Override any gcc2 internal prototype to avoid an error. */ 15462 /* Override any gcc2 internal prototype to avoid an error. */
15401 /* We use char because int might match the return type of a gcc2 15463 /* We use char because int might match the return type of a gcc2
15402 builtin and then its argument prototype would still apply. */ 15464 builtin and then its argument prototype would still apply. */
15403 char dbm_open(); 15465 char dbm_open();
15404 15466
15405 int main() { 15467 int main() {
15406 dbm_open() 15468 dbm_open()
15407 ; return 0; } 15469 ; return 0; }
15408 EOF 15470 EOF
15409 if { (eval echo configure:15410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15471 if { (eval echo configure:15472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15410 rm -rf conftest* 15472 rm -rf conftest*
15411 eval "ac_cv_lib_$ac_lib_var=yes" 15473 eval "ac_cv_lib_$ac_lib_var=yes"
15412 else 15474 else
15413 echo "configure: failed program was:" >&5 15475 echo "configure: failed program was:" >&5
15414 cat conftest.$ac_ext >&5 15476 cat conftest.$ac_ext >&5
15432 15494
15433 fi 15495 fi
15434 15496
15435 if test "$with_database_dbm" != "no"; then 15497 if test "$with_database_dbm" != "no"; then
15436 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 15498 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
15437 echo "configure:15438: checking for dbm_open" >&5 15499 echo "configure:15500: checking for dbm_open" >&5
15438 15500
15439 cat > conftest.$ac_ext <<EOF 15501 cat > conftest.$ac_ext <<EOF
15440 #line 15441 "configure" 15502 #line 15503 "configure"
15441 #include "confdefs.h" 15503 #include "confdefs.h"
15442 /* System header to define __stub macros and hopefully few prototypes, 15504 /* System header to define __stub macros and hopefully few prototypes,
15443 which can conflict with char dbm_open(); below. */ 15505 which can conflict with char dbm_open(); below. */
15444 #include <assert.h> 15506 #include <assert.h>
15445 /* Override any gcc2 internal prototype to avoid an error. */ 15507 /* Override any gcc2 internal prototype to avoid an error. */
15458 dbm_open(); 15520 dbm_open();
15459 #endif 15521 #endif
15460 15522
15461 ; return 0; } 15523 ; return 0; }
15462 EOF 15524 EOF
15463 if { (eval echo configure:15464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15525 if { (eval echo configure:15526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15464 rm -rf conftest* 15526 rm -rf conftest*
15465 eval "ac_cv_func_dbm_open=yes" 15527 eval "ac_cv_func_dbm_open=yes"
15466 else 15528 else
15467 echo "configure: failed program was:" >&5 15529 echo "configure: failed program was:" >&5
15468 cat conftest.$ac_ext >&5 15530 cat conftest.$ac_ext >&5
15477 else 15539 else
15478 echo "$ac_t""no" 1>&6 15540 echo "$ac_t""no" 1>&6
15479 15541
15480 15542
15481 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 15543 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
15482 echo "configure:15483: checking for dbm_open in -ldbm" >&5 15544 echo "configure:15545: checking for dbm_open in -ldbm" >&5
15483 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 15545 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
15484 15546
15485 xe_check_libs=" -ldbm " 15547 xe_check_libs=" -ldbm "
15486 cat > conftest.$ac_ext <<EOF 15548 cat > conftest.$ac_ext <<EOF
15487 #line 15488 "configure" 15549 #line 15550 "configure"
15488 #include "confdefs.h" 15550 #include "confdefs.h"
15489 /* Override any gcc2 internal prototype to avoid an error. */ 15551 /* Override any gcc2 internal prototype to avoid an error. */
15490 /* We use char because int might match the return type of a gcc2 15552 /* We use char because int might match the return type of a gcc2
15491 builtin and then its argument prototype would still apply. */ 15553 builtin and then its argument prototype would still apply. */
15492 char dbm_open(); 15554 char dbm_open();
15493 15555
15494 int main() { 15556 int main() {
15495 dbm_open() 15557 dbm_open()
15496 ; return 0; } 15558 ; return 0; }
15497 EOF 15559 EOF
15498 if { (eval echo configure:15499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15560 if { (eval echo configure:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15499 rm -rf conftest* 15561 rm -rf conftest*
15500 eval "ac_cv_lib_$ac_lib_var=yes" 15562 eval "ac_cv_lib_$ac_lib_var=yes"
15501 else 15563 else
15502 echo "configure: failed program was:" >&5 15564 echo "configure: failed program was:" >&5
15503 cat conftest.$ac_ext >&5 15565 cat conftest.$ac_ext >&5
15534 } 15596 }
15535 15597
15536 15598
15537 if test "$with_database_berkdb" != "no"; then 15599 if test "$with_database_berkdb" != "no"; then
15538 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15600 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15539 echo "configure:15540: checking for Berkeley db.h" >&5 15601 echo "configure:15602: checking for Berkeley db.h" >&5
15540 for header in "db/db.h" "db.h"; do 15602 for header in "db/db.h" "db.h"; do
15541 cat > conftest.$ac_ext <<EOF 15603 cat > conftest.$ac_ext <<EOF
15542 #line 15543 "configure" 15604 #line 15605 "configure"
15543 #include "confdefs.h" 15605 #include "confdefs.h"
15544 15606
15545 #include <stdlib.h> 15607 #include <stdlib.h>
15546 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15608 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15547 #ifdef HAVE_INTTYPES_H 15609 #ifdef HAVE_INTTYPES_H
15559 15621
15560 int main() { 15622 int main() {
15561 15623
15562 ; return 0; } 15624 ; return 0; }
15563 EOF 15625 EOF
15564 if { (eval echo configure:15565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15626 if { (eval echo configure:15627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15565 rm -rf conftest* 15627 rm -rf conftest*
15566 db_h_file="$header"; break 15628 db_h_file="$header"; break
15567 else 15629 else
15568 echo "configure: failed program was:" >&5 15630 echo "configure: failed program was:" >&5
15569 cat conftest.$ac_ext >&5 15631 cat conftest.$ac_ext >&5
15575 else echo "$ac_t""$db_h_file" 1>&6 15637 else echo "$ac_t""$db_h_file" 1>&6
15576 fi 15638 fi
15577 15639
15578 if test "$with_database_berkdb" != "no"; then 15640 if test "$with_database_berkdb" != "no"; then
15579 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15641 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15580 echo "configure:15581: checking for Berkeley DB version" >&5 15642 echo "configure:15643: checking for Berkeley DB version" >&5
15581 cat > conftest.$ac_ext <<EOF 15643 cat > conftest.$ac_ext <<EOF
15582 #line 15583 "configure" 15644 #line 15645 "configure"
15583 #include "confdefs.h" 15645 #include "confdefs.h"
15584 #include <$db_h_file> 15646 #include <$db_h_file>
15585 #if DB_VERSION_MAJOR > 1 15647 #if DB_VERSION_MAJOR > 1
15586 yes 15648 yes
15587 #endif 15649 #endif
15589 EOF 15651 EOF
15590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15591 egrep "yes" >/dev/null 2>&1; then 15653 egrep "yes" >/dev/null 2>&1; then
15592 rm -rf conftest* 15654 rm -rf conftest*
15593 cat > conftest.$ac_ext <<EOF 15655 cat > conftest.$ac_ext <<EOF
15594 #line 15595 "configure" 15656 #line 15657 "configure"
15595 #include "confdefs.h" 15657 #include "confdefs.h"
15596 #include <$db_h_file> 15658 #include <$db_h_file>
15597 #if DB_VERSION_MAJOR > 2 15659 #if DB_VERSION_MAJOR > 2
15598 yes 15660 yes
15599 #endif 15661 #endif
15601 EOF 15663 EOF
15602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15603 egrep "yes" >/dev/null 2>&1; then 15665 egrep "yes" >/dev/null 2>&1; then
15604 rm -rf conftest* 15666 rm -rf conftest*
15605 cat > conftest.$ac_ext <<EOF 15667 cat > conftest.$ac_ext <<EOF
15606 #line 15607 "configure" 15668 #line 15669 "configure"
15607 #include "confdefs.h" 15669 #include "confdefs.h"
15608 #include <$db_h_file> 15670 #include <$db_h_file>
15609 #if DB_VERSION_MAJOR > 3 15671 #if DB_VERSION_MAJOR > 3
15610 yes 15672 yes
15611 #endif 15673 #endif
15635 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15697 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15636 fi 15698 fi
15637 rm -f conftest* 15699 rm -f conftest*
15638 15700
15639 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15701 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15640 echo "configure:15641: checking for $dbfunc" >&5 15702 echo "configure:15703: checking for $dbfunc" >&5
15641 15703
15642 cat > conftest.$ac_ext <<EOF 15704 cat > conftest.$ac_ext <<EOF
15643 #line 15644 "configure" 15705 #line 15706 "configure"
15644 #include "confdefs.h" 15706 #include "confdefs.h"
15645 /* System header to define __stub macros and hopefully few prototypes, 15707 /* System header to define __stub macros and hopefully few prototypes,
15646 which can conflict with char $dbfunc(); below. */ 15708 which can conflict with char $dbfunc(); below. */
15647 #include <assert.h> 15709 #include <assert.h>
15648 /* Override any gcc2 internal prototype to avoid an error. */ 15710 /* Override any gcc2 internal prototype to avoid an error. */
15661 $dbfunc(); 15723 $dbfunc();
15662 #endif 15724 #endif
15663 15725
15664 ; return 0; } 15726 ; return 0; }
15665 EOF 15727 EOF
15666 if { (eval echo configure:15667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15728 if { (eval echo configure:15729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15667 rm -rf conftest* 15729 rm -rf conftest*
15668 eval "ac_cv_func_$dbfunc=yes" 15730 eval "ac_cv_func_$dbfunc=yes"
15669 else 15731 else
15670 echo "configure: failed program was:" >&5 15732 echo "configure: failed program was:" >&5
15671 cat conftest.$ac_ext >&5 15733 cat conftest.$ac_ext >&5
15680 else 15742 else
15681 echo "$ac_t""no" 1>&6 15743 echo "$ac_t""no" 1>&6
15682 15744
15683 15745
15684 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15746 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15685 echo "configure:15686: checking for $dbfunc in -ldb" >&5 15747 echo "configure:15748: checking for $dbfunc in -ldb" >&5
15686 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15748 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15687 15749
15688 xe_check_libs=" -ldb " 15750 xe_check_libs=" -ldb "
15689 cat > conftest.$ac_ext <<EOF 15751 cat > conftest.$ac_ext <<EOF
15690 #line 15691 "configure" 15752 #line 15753 "configure"
15691 #include "confdefs.h" 15753 #include "confdefs.h"
15692 /* Override any gcc2 internal prototype to avoid an error. */ 15754 /* Override any gcc2 internal prototype to avoid an error. */
15693 /* We use char because int might match the return type of a gcc2 15755 /* We use char because int might match the return type of a gcc2
15694 builtin and then its argument prototype would still apply. */ 15756 builtin and then its argument prototype would still apply. */
15695 char $dbfunc(); 15757 char $dbfunc();
15696 15758
15697 int main() { 15759 int main() {
15698 $dbfunc() 15760 $dbfunc()
15699 ; return 0; } 15761 ; return 0; }
15700 EOF 15762 EOF
15701 if { (eval echo configure:15702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15763 if { (eval echo configure:15764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15702 rm -rf conftest* 15764 rm -rf conftest*
15703 eval "ac_cv_lib_$ac_lib_var=yes" 15765 eval "ac_cv_lib_$ac_lib_var=yes"
15704 else 15766 else
15705 echo "configure: failed program was:" >&5 15767 echo "configure: failed program was:" >&5
15706 cat conftest.$ac_ext >&5 15768 cat conftest.$ac_ext >&5
15730 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15792 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15731 rm -f $tempcname 15793 rm -f $tempcname
15732 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15794 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15733 15795
15734 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15796 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15735 echo "configure:15736: checking for $dbfunc in -ldb" >&5 15797 echo "configure:15798: checking for $dbfunc in -ldb" >&5
15736 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15798 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15737 15799
15738 xe_check_libs=" -ldb " 15800 xe_check_libs=" -ldb "
15739 cat > conftest.$ac_ext <<EOF 15801 cat > conftest.$ac_ext <<EOF
15740 #line 15741 "configure" 15802 #line 15803 "configure"
15741 #include "confdefs.h" 15803 #include "confdefs.h"
15742 /* Override any gcc2 internal prototype to avoid an error. */ 15804 /* Override any gcc2 internal prototype to avoid an error. */
15743 /* We use char because int might match the return type of a gcc2 15805 /* We use char because int might match the return type of a gcc2
15744 builtin and then its argument prototype would still apply. */ 15806 builtin and then its argument prototype would still apply. */
15745 char $dbfunc(); 15807 char $dbfunc();
15746 15808
15747 int main() { 15809 int main() {
15748 $dbfunc() 15810 $dbfunc()
15749 ; return 0; } 15811 ; return 0; }
15750 EOF 15812 EOF
15751 if { (eval echo configure:15752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15813 if { (eval echo configure:15814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15752 rm -rf conftest* 15814 rm -rf conftest*
15753 eval "ac_cv_lib_$ac_lib_var=yes" 15815 eval "ac_cv_lib_$ac_lib_var=yes"
15754 else 15816 else
15755 echo "configure: failed program was:" >&5 15817 echo "configure: failed program was:" >&5
15756 cat conftest.$ac_ext >&5 15818 cat conftest.$ac_ext >&5
15805 fi 15867 fi
15806 15868
15807 if test "$with_socks" = "yes"; then 15869 if test "$with_socks" = "yes"; then
15808 15870
15809 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15871 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15810 echo "configure:15811: checking for SOCKSinit in -lsocks" >&5 15872 echo "configure:15873: checking for SOCKSinit in -lsocks" >&5
15811 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15873 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15812 15874
15813 xe_check_libs=" -lsocks " 15875 xe_check_libs=" -lsocks "
15814 cat > conftest.$ac_ext <<EOF 15876 cat > conftest.$ac_ext <<EOF
15815 #line 15816 "configure" 15877 #line 15878 "configure"
15816 #include "confdefs.h" 15878 #include "confdefs.h"
15817 /* Override any gcc2 internal prototype to avoid an error. */ 15879 /* Override any gcc2 internal prototype to avoid an error. */
15818 /* We use char because int might match the return type of a gcc2 15880 /* We use char because int might match the return type of a gcc2
15819 builtin and then its argument prototype would still apply. */ 15881 builtin and then its argument prototype would still apply. */
15820 char SOCKSinit(); 15882 char SOCKSinit();
15821 15883
15822 int main() { 15884 int main() {
15823 SOCKSinit() 15885 SOCKSinit()
15824 ; return 0; } 15886 ; return 0; }
15825 EOF 15887 EOF
15826 if { (eval echo configure:15827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15888 if { (eval echo configure:15889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15827 rm -rf conftest* 15889 rm -rf conftest*
15828 eval "ac_cv_lib_$ac_lib_var=yes" 15890 eval "ac_cv_lib_$ac_lib_var=yes"
15829 else 15891 else
15830 echo "configure: failed program was:" >&5 15892 echo "configure: failed program was:" >&5
15831 cat conftest.$ac_ext >&5 15893 cat conftest.$ac_ext >&5
15877 fi 15939 fi
15878 15940
15879 if test "$use_number_lib" = "gmp"; then 15941 if test "$use_number_lib" = "gmp"; then
15880 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` 15942 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'`
15881 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 15943 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6
15882 echo "configure:15883: checking for gmp.h" >&5 15944 echo "configure:15945: checking for gmp.h" >&5
15883 15945
15884 cat > conftest.$ac_ext <<EOF 15946 cat > conftest.$ac_ext <<EOF
15885 #line 15886 "configure" 15947 #line 15948 "configure"
15886 #include "confdefs.h" 15948 #include "confdefs.h"
15887 #include <gmp.h> 15949 #include <gmp.h>
15888 EOF 15950 EOF
15889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15890 { (eval echo configure:15891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15952 { (eval echo configure:15953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15892 if test -z "$ac_err"; then 15954 if test -z "$ac_err"; then
15893 rm -rf conftest* 15955 rm -rf conftest*
15894 eval "ac_cv_header_$ac_safe=yes" 15956 eval "ac_cv_header_$ac_safe=yes"
15895 else 15957 else
15903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 15965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15904 echo "$ac_t""yes" 1>&6 15966 echo "$ac_t""yes" 1>&6
15905 15967
15906 15968
15907 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 15969 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6
15908 echo "configure:15909: checking for __gmpz_init in -lgmp" >&5 15970 echo "configure:15971: checking for __gmpz_init in -lgmp" >&5
15909 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` 15971 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'`
15910 15972
15911 xe_check_libs=" -lgmp " 15973 xe_check_libs=" -lgmp "
15912 cat > conftest.$ac_ext <<EOF 15974 cat > conftest.$ac_ext <<EOF
15913 #line 15914 "configure" 15975 #line 15976 "configure"
15914 #include "confdefs.h" 15976 #include "confdefs.h"
15915 /* Override any gcc2 internal prototype to avoid an error. */ 15977 /* Override any gcc2 internal prototype to avoid an error. */
15916 /* We use char because int might match the return type of a gcc2 15978 /* We use char because int might match the return type of a gcc2
15917 builtin and then its argument prototype would still apply. */ 15979 builtin and then its argument prototype would still apply. */
15918 char __gmpz_init(); 15980 char __gmpz_init();
15919 15981
15920 int main() { 15982 int main() {
15921 __gmpz_init() 15983 __gmpz_init()
15922 ; return 0; } 15984 ; return 0; }
15923 EOF 15985 EOF
15924 if { (eval echo configure:15925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15986 if { (eval echo configure:15987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15925 rm -rf conftest* 15987 rm -rf conftest*
15926 eval "ac_cv_lib_$ac_lib_var=yes" 15988 eval "ac_cv_lib_$ac_lib_var=yes"
15927 else 15989 else
15928 echo "configure: failed program was:" >&5 15990 echo "configure: failed program was:" >&5
15929 cat conftest.$ac_ext >&5 15991 cat conftest.$ac_ext >&5
15968 fi 16030 fi
15969 elif test "$use_number_lib" = "mp"; then 16031 elif test "$use_number_lib" = "mp"; then
15970 for library in "" "-lcrypto"; do 16032 for library in "" "-lcrypto"; do
15971 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` 16033 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'`
15972 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 16034 echo $ac_n "checking for mp.h""... $ac_c" 1>&6
15973 echo "configure:15974: checking for mp.h" >&5 16035 echo "configure:16036: checking for mp.h" >&5
15974 16036
15975 cat > conftest.$ac_ext <<EOF 16037 cat > conftest.$ac_ext <<EOF
15976 #line 15977 "configure" 16038 #line 16039 "configure"
15977 #include "confdefs.h" 16039 #include "confdefs.h"
15978 #include <mp.h> 16040 #include <mp.h>
15979 EOF 16041 EOF
15980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 16042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15981 { (eval echo configure:15982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 16043 { (eval echo configure:16044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 16044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15983 if test -z "$ac_err"; then 16045 if test -z "$ac_err"; then
15984 rm -rf conftest* 16046 rm -rf conftest*
15985 eval "ac_cv_header_$ac_safe=yes" 16047 eval "ac_cv_header_$ac_safe=yes"
15986 else 16048 else
15996 16058
15997 16059
15998 xe_msg_checking="for mp_mfree in -lmp" 16060 xe_msg_checking="for mp_mfree in -lmp"
15999 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 16061 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
16000 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 16062 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
16001 echo "configure:16002: checking "$xe_msg_checking"" >&5 16063 echo "configure:16064: checking "$xe_msg_checking"" >&5
16002 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` 16064 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'`
16003 16065
16004 xe_check_libs=" -lmp $library" 16066 xe_check_libs=" -lmp $library"
16005 cat > conftest.$ac_ext <<EOF 16067 cat > conftest.$ac_ext <<EOF
16006 #line 16007 "configure" 16068 #line 16069 "configure"
16007 #include "confdefs.h" 16069 #include "confdefs.h"
16008 /* Override any gcc2 internal prototype to avoid an error. */ 16070 /* Override any gcc2 internal prototype to avoid an error. */
16009 /* We use char because int might match the return type of a gcc2 16071 /* We use char because int might match the return type of a gcc2
16010 builtin and then its argument prototype would still apply. */ 16072 builtin and then its argument prototype would still apply. */
16011 char mp_mfree(); 16073 char mp_mfree();
16012 16074
16013 int main() { 16075 int main() {
16014 mp_mfree() 16076 mp_mfree()
16015 ; return 0; } 16077 ; return 0; }
16016 EOF 16078 EOF
16017 if { (eval echo configure:16018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16079 if { (eval echo configure:16080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16018 rm -rf conftest* 16080 rm -rf conftest*
16019 eval "ac_cv_lib_$ac_lib_var=yes" 16081 eval "ac_cv_lib_$ac_lib_var=yes"
16020 else 16082 else
16021 echo "configure: failed program was:" >&5 16083 echo "configure: failed program was:" >&5
16022 cat conftest.$ac_ext >&5 16084 cat conftest.$ac_ext >&5
16033 echo "$ac_t""no" 1>&6 16095 echo "$ac_t""no" 1>&6
16034 16096
16035 xe_msg_checking="for mfree in -lmp" 16097 xe_msg_checking="for mfree in -lmp"
16036 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" 16098 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library"
16037 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 16099 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
16038 echo "configure:16039: checking "$xe_msg_checking"" >&5 16100 echo "configure:16101: checking "$xe_msg_checking"" >&5
16039 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` 16101 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'`
16040 16102
16041 xe_check_libs=" -lmp $library" 16103 xe_check_libs=" -lmp $library"
16042 cat > conftest.$ac_ext <<EOF 16104 cat > conftest.$ac_ext <<EOF
16043 #line 16044 "configure" 16105 #line 16106 "configure"
16044 #include "confdefs.h" 16106 #include "confdefs.h"
16045 /* Override any gcc2 internal prototype to avoid an error. */ 16107 /* Override any gcc2 internal prototype to avoid an error. */
16046 /* We use char because int might match the return type of a gcc2 16108 /* We use char because int might match the return type of a gcc2
16047 builtin and then its argument prototype would still apply. */ 16109 builtin and then its argument prototype would still apply. */
16048 char mfree(); 16110 char mfree();
16049 16111
16050 int main() { 16112 int main() {
16051 mfree() 16113 mfree()
16052 ; return 0; } 16114 ; return 0; }
16053 EOF 16115 EOF
16054 if { (eval echo configure:16055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16116 if { (eval echo configure:16117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16055 rm -rf conftest* 16117 rm -rf conftest*
16056 eval "ac_cv_lib_$ac_lib_var=yes" 16118 eval "ac_cv_lib_$ac_lib_var=yes"
16057 else 16119 else
16058 echo "configure: failed program was:" >&5 16120 echo "configure: failed program was:" >&5
16059 cat conftest.$ac_ext >&5 16121 cat conftest.$ac_ext >&5
16091 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16153 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16092 if test "$library" != ""; then 16154 if test "$library" != ""; then
16093 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16155 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16094 fi 16156 fi
16095 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 16157 echo $ac_n "checking for mp_move""... $ac_c" 1>&6
16096 echo "configure:16097: checking for mp_move" >&5 16158 echo "configure:16159: checking for mp_move" >&5
16097 16159
16098 cat > conftest.$ac_ext <<EOF 16160 cat > conftest.$ac_ext <<EOF
16099 #line 16100 "configure" 16161 #line 16162 "configure"
16100 #include "confdefs.h" 16162 #include "confdefs.h"
16101 /* System header to define __stub macros and hopefully few prototypes, 16163 /* System header to define __stub macros and hopefully few prototypes,
16102 which can conflict with char mp_move(); below. */ 16164 which can conflict with char mp_move(); below. */
16103 #include <assert.h> 16165 #include <assert.h>
16104 /* Override any gcc2 internal prototype to avoid an error. */ 16166 /* Override any gcc2 internal prototype to avoid an error. */
16117 mp_move(); 16179 mp_move();
16118 #endif 16180 #endif
16119 16181
16120 ; return 0; } 16182 ; return 0; }
16121 EOF 16183 EOF
16122 if { (eval echo configure:16123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16184 if { (eval echo configure:16185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16123 rm -rf conftest* 16185 rm -rf conftest*
16124 eval "ac_cv_func_mp_move=yes" 16186 eval "ac_cv_func_mp_move=yes"
16125 else 16187 else
16126 echo "configure: failed program was:" >&5 16188 echo "configure: failed program was:" >&5
16127 cat conftest.$ac_ext >&5 16189 cat conftest.$ac_ext >&5
16148 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 16210 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
16149 if test "$library" != ""; then 16211 if test "$library" != ""; then
16150 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 16212 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
16151 fi 16213 fi
16152 echo $ac_n "checking for move""... $ac_c" 1>&6 16214 echo $ac_n "checking for move""... $ac_c" 1>&6
16153 echo "configure:16154: checking for move" >&5 16215 echo "configure:16216: checking for move" >&5
16154 16216
16155 cat > conftest.$ac_ext <<EOF 16217 cat > conftest.$ac_ext <<EOF
16156 #line 16157 "configure" 16218 #line 16219 "configure"
16157 #include "confdefs.h" 16219 #include "confdefs.h"
16158 /* System header to define __stub macros and hopefully few prototypes, 16220 /* System header to define __stub macros and hopefully few prototypes,
16159 which can conflict with char move(); below. */ 16221 which can conflict with char move(); below. */
16160 #include <assert.h> 16222 #include <assert.h>
16161 /* Override any gcc2 internal prototype to avoid an error. */ 16223 /* Override any gcc2 internal prototype to avoid an error. */
16174 move(); 16236 move();
16175 #endif 16237 #endif
16176 16238
16177 ; return 0; } 16239 ; return 0; }
16178 EOF 16240 EOF
16179 if { (eval echo configure:16180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 16241 if { (eval echo configure:16242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16180 rm -rf conftest* 16242 rm -rf conftest*
16181 eval "ac_cv_func_move=yes" 16243 eval "ac_cv_func_move=yes"
16182 else 16244 else
16183 echo "configure: failed program was:" >&5 16245 echo "configure: failed program was:" >&5
16184 cat conftest.$ac_ext >&5 16246 cat conftest.$ac_ext >&5
16221 } 16283 }
16222 16284
16223 fi 16285 fi
16224 16286
16225 cat > conftest.$ac_ext <<EOF 16287 cat > conftest.$ac_ext <<EOF
16226 #line 16227 "configure" 16288 #line 16289 "configure"
16227 #include "confdefs.h" 16289 #include "confdefs.h"
16228 int main(int c,char *v[]){return 0;} 16290 int main(int c,char *v[]){return 0;}
16229 EOF 16291 EOF
16230 if { (eval echo configure:16231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 16292 if { (eval echo configure:16293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
16231 then 16293 then
16232 : 16294 :
16233 else 16295 else
16234 conftest_rc="$?" 16296 conftest_rc="$?"
16235 echo "configure: failed program was:" >&5 16297 echo "configure: failed program was:" >&5