comparison configure @ 925:c4937d1216b6

[xemacs-hg @ 2002-07-16 08:26:38 by michaels] 2002-07-09 Mike Sperber <mike@xemacs.org> * configure.usage: * configure.in: Add --use-kkcc option for new GC algorithms.
author michaels
date Tue, 16 Jul 2002 08:26:47 +0000
parents 428608d46017
children 151d438d2d55
comparison
equal deleted inserted replaced
924:1b114504fa80 925:c4937d1216b6
352 with_dnet | \ 352 with_dnet | \
353 with_infodock | \ 353 with_infodock | \
354 with_netinstall | \ 354 with_netinstall | \
355 with_ipv6_cname | \ 355 with_ipv6_cname | \
356 external_widget | \ 356 external_widget | \
357 use_kkcc | \
357 verbose | \ 358 verbose | \
358 extra_verbose | \ 359 extra_verbose | \
359 usage_tracking | \ 360 usage_tracking | \
360 use_union_type | \ 361 use_union_type | \
361 pdump | \ 362 pdump | \
854 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 855 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
855 fi 856 fi
856 fi 857 fi
857 858
858 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 859 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
859 echo "configure:860: checking whether ln -s works" >&5 860 echo "configure:861: checking whether ln -s works" >&5
860 861
861 rm -f conftestdata 862 rm -f conftestdata
862 if ln -s X conftestdata 2>/dev/null 863 if ln -s X conftestdata 2>/dev/null
863 then 864 then
864 rm -f conftestdata 865 rm -f conftestdata
1130 } 1131 }
1131 1132
1132 1133
1133 1134
1134 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 1135 echo $ac_n "checking "host system type"""... $ac_c" 1>&6
1135 echo "configure:1136: checking "host system type"" >&5 1136 echo "configure:1137: checking "host system type"" >&5
1136 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` 1137 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'`
1137 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` 1138 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"`
1138 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 1139 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
1139 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 1140 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
1140 echo "$ac_t""$configuration" 1>&6 1141 echo "$ac_t""$configuration" 1>&6
1643 xe_save_CFLAGS="$CFLAGS" 1644 xe_save_CFLAGS="$CFLAGS"
1644 1645
1645 # Extract the first word of "gcc", so it can be a program name with args. 1646 # Extract the first word of "gcc", so it can be a program name with args.
1646 set dummy gcc; ac_word=$2 1647 set dummy gcc; ac_word=$2
1647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1648 echo "configure:1649: checking for $ac_word" >&5 1649 echo "configure:1650: checking for $ac_word" >&5
1649 1650
1650 if test -n "$CC"; then 1651 if test -n "$CC"; then
1651 ac_cv_prog_CC="$CC" # Let the user override the test. 1652 ac_cv_prog_CC="$CC" # Let the user override the test.
1652 else 1653 else
1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1670 1671
1671 if test -z "$CC"; then 1672 if test -z "$CC"; then
1672 # Extract the first word of "cc", so it can be a program name with args. 1673 # Extract the first word of "cc", so it can be a program name with args.
1673 set dummy cc; ac_word=$2 1674 set dummy cc; ac_word=$2
1674 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1675 echo "configure:1676: checking for $ac_word" >&5 1676 echo "configure:1677: checking for $ac_word" >&5
1676 1677
1677 if test -n "$CC"; then 1678 if test -n "$CC"; then
1678 ac_cv_prog_CC="$CC" # Let the user override the test. 1679 ac_cv_prog_CC="$CC" # Let the user override the test.
1679 else 1680 else
1680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1718 case "`uname -s`" in 1719 case "`uname -s`" in
1719 *win32* | *WIN32*) 1720 *win32* | *WIN32*)
1720 # Extract the first word of "cl", so it can be a program name with args. 1721 # Extract the first word of "cl", so it can be a program name with args.
1721 set dummy cl; ac_word=$2 1722 set dummy cl; ac_word=$2
1722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1723 echo "configure:1724: checking for $ac_word" >&5 1724 echo "configure:1725: checking for $ac_word" >&5
1724 1725
1725 if test -n "$CC"; then 1726 if test -n "$CC"; then
1726 ac_cv_prog_CC="$CC" # Let the user override the test. 1727 ac_cv_prog_CC="$CC" # Let the user override the test.
1727 else 1728 else
1728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1729 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1747 fi 1748 fi
1748 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1749 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1749 fi 1750 fi
1750 1751
1751 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1752 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1752 echo "configure:1753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1753 echo "configure:1754: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1753 1754
1754 ac_ext=c 1755 ac_ext=c
1755 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1756 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1756 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1757 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1757 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' 1758 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'
1760 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1761 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1761 cross_compiling=no 1762 cross_compiling=no
1762 1763
1763 cat > conftest.$ac_ext << EOF 1764 cat > conftest.$ac_ext << EOF
1764 1765
1765 #line 1766 "configure" 1766 #line 1767 "configure"
1766 #include "confdefs.h" 1767 #include "confdefs.h"
1767 1768
1768 main(){return(0);} 1769 main(){return(0);}
1769 EOF 1770 EOF
1770 if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1771 if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1771 ac_cv_prog_cc_works=yes 1772 ac_cv_prog_cc_works=yes
1772 # If we can't run a trivial program, we are probably using a cross compiler. 1773 # If we can't run a trivial program, we are probably using a cross compiler.
1773 if (./conftest; exit) 2>/dev/null; then 1774 if (./conftest; exit) 2>/dev/null; then
1774 ac_cv_prog_cc_cross=no 1775 ac_cv_prog_cc_cross=no
1775 else 1776 else
1793 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1794 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1794 if test $ac_cv_prog_cc_works = no; then 1795 if test $ac_cv_prog_cc_works = no; then
1795 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1796 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1796 fi 1797 fi
1797 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1798 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1798 echo "configure:1799: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1799 echo "configure:1800: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1799 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1800 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1800 cross_compiling=$ac_cv_prog_cc_cross 1801 cross_compiling=$ac_cv_prog_cc_cross
1801 1802
1802 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1803 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1803 echo "configure:1804: checking whether we are using GNU C" >&5 1804 echo "configure:1805: checking whether we are using GNU C" >&5
1804 1805
1805 cat > conftest.c <<EOF 1806 cat > conftest.c <<EOF
1806 #ifdef __GNUC__ 1807 #ifdef __GNUC__
1807 yes; 1808 yes;
1808 #endif 1809 #endif
1809 EOF 1810 EOF
1810 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1811 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1811 ac_cv_prog_gcc=yes 1812 ac_cv_prog_gcc=yes
1812 else 1813 else
1813 ac_cv_prog_gcc=no 1814 ac_cv_prog_gcc=no
1814 fi 1815 fi
1815 1816
1823 1824
1824 ac_test_CFLAGS="${CFLAGS+set}" 1825 ac_test_CFLAGS="${CFLAGS+set}"
1825 ac_save_CFLAGS="$CFLAGS" 1826 ac_save_CFLAGS="$CFLAGS"
1826 CFLAGS= 1827 CFLAGS=
1827 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1828 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1828 echo "configure:1829: checking whether ${CC-cc} accepts -g" >&5 1829 echo "configure:1830: checking whether ${CC-cc} accepts -g" >&5
1829 1830
1830 echo 'void f(){}' > conftest.c 1831 echo 'void f(){}' > conftest.c
1831 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1832 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1832 ac_cv_prog_cc_g=yes 1833 ac_cv_prog_cc_g=yes
1833 else 1834 else
1856 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then 1857 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then
1857 CC=${NON_GNU_CC-cc} 1858 CC=${NON_GNU_CC-cc}
1858 # Extract the first word of "gcc", so it can be a program name with args. 1859 # Extract the first word of "gcc", so it can be a program name with args.
1859 set dummy gcc; ac_word=$2 1860 set dummy gcc; ac_word=$2
1860 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1861 echo "configure:1862: checking for $ac_word" >&5 1862 echo "configure:1863: checking for $ac_word" >&5
1862 1863
1863 if test -n "$CC"; then 1864 if test -n "$CC"; then
1864 ac_cv_prog_CC="$CC" # Let the user override the test. 1865 ac_cv_prog_CC="$CC" # Let the user override the test.
1865 else 1866 else
1866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1883 1884
1884 if test -z "$CC"; then 1885 if test -z "$CC"; then
1885 # Extract the first word of "cc", so it can be a program name with args. 1886 # Extract the first word of "cc", so it can be a program name with args.
1886 set dummy cc; ac_word=$2 1887 set dummy cc; ac_word=$2
1887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1888 echo "configure:1889: checking for $ac_word" >&5 1889 echo "configure:1890: checking for $ac_word" >&5
1889 1890
1890 if test -n "$CC"; then 1891 if test -n "$CC"; then
1891 ac_cv_prog_CC="$CC" # Let the user override the test. 1892 ac_cv_prog_CC="$CC" # Let the user override the test.
1892 else 1893 else
1893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1931 case "`uname -s`" in 1932 case "`uname -s`" in
1932 *win32* | *WIN32*) 1933 *win32* | *WIN32*)
1933 # Extract the first word of "cl", so it can be a program name with args. 1934 # Extract the first word of "cl", so it can be a program name with args.
1934 set dummy cl; ac_word=$2 1935 set dummy cl; ac_word=$2
1935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1936 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1936 echo "configure:1937: checking for $ac_word" >&5 1937 echo "configure:1938: checking for $ac_word" >&5
1937 1938
1938 if test -n "$CC"; then 1939 if test -n "$CC"; then
1939 ac_cv_prog_CC="$CC" # Let the user override the test. 1940 ac_cv_prog_CC="$CC" # Let the user override the test.
1940 else 1941 else
1941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1942 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1960 fi 1961 fi
1961 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1962 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1962 fi 1963 fi
1963 1964
1964 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1965 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1965 echo "configure:1966: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1966 echo "configure:1967: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1966 1967
1967 ac_ext=c 1968 ac_ext=c
1968 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 1969 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
1969 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 1970 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
1970 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' 1971 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'
1973 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 1974 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
1974 cross_compiling=no 1975 cross_compiling=no
1975 1976
1976 cat > conftest.$ac_ext << EOF 1977 cat > conftest.$ac_ext << EOF
1977 1978
1978 #line 1979 "configure" 1979 #line 1980 "configure"
1979 #include "confdefs.h" 1980 #include "confdefs.h"
1980 1981
1981 main(){return(0);} 1982 main(){return(0);}
1982 EOF 1983 EOF
1983 if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1984 if { (eval echo configure:1985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1984 ac_cv_prog_cc_works=yes 1985 ac_cv_prog_cc_works=yes
1985 # If we can't run a trivial program, we are probably using a cross compiler. 1986 # If we can't run a trivial program, we are probably using a cross compiler.
1986 if (./conftest; exit) 2>/dev/null; then 1987 if (./conftest; exit) 2>/dev/null; then
1987 ac_cv_prog_cc_cross=no 1988 ac_cv_prog_cc_cross=no
1988 else 1989 else
2006 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2007 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2007 if test $ac_cv_prog_cc_works = no; then 2008 if test $ac_cv_prog_cc_works = no; then
2008 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2009 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2009 fi 2010 fi
2010 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2011 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2011 echo "configure:2012: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2012 echo "configure:2013: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2012 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2013 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2013 cross_compiling=$ac_cv_prog_cc_cross 2014 cross_compiling=$ac_cv_prog_cc_cross
2014 2015
2015 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2016 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2016 echo "configure:2017: checking whether we are using GNU C" >&5 2017 echo "configure:2018: checking whether we are using GNU C" >&5
2017 2018
2018 cat > conftest.c <<EOF 2019 cat > conftest.c <<EOF
2019 #ifdef __GNUC__ 2020 #ifdef __GNUC__
2020 yes; 2021 yes;
2021 #endif 2022 #endif
2022 EOF 2023 EOF
2023 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2024 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2024 ac_cv_prog_gcc=yes 2025 ac_cv_prog_gcc=yes
2025 else 2026 else
2026 ac_cv_prog_gcc=no 2027 ac_cv_prog_gcc=no
2027 fi 2028 fi
2028 2029
2036 2037
2037 ac_test_CFLAGS="${CFLAGS+set}" 2038 ac_test_CFLAGS="${CFLAGS+set}"
2038 ac_save_CFLAGS="$CFLAGS" 2039 ac_save_CFLAGS="$CFLAGS"
2039 CFLAGS= 2040 CFLAGS=
2040 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2041 echo "configure:2042: checking whether ${CC-cc} accepts -g" >&5 2042 echo "configure:2043: checking whether ${CC-cc} accepts -g" >&5
2042 2043
2043 echo 'void f(){}' > conftest.c 2044 echo 'void f(){}' > conftest.c
2044 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2045 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2045 ac_cv_prog_cc_g=yes 2046 ac_cv_prog_cc_g=yes
2046 else 2047 else
2069 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then 2070 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then
2070 CC=gcc 2071 CC=gcc
2071 # Extract the first word of "gcc", so it can be a program name with args. 2072 # Extract the first word of "gcc", so it can be a program name with args.
2072 set dummy gcc; ac_word=$2 2073 set dummy gcc; ac_word=$2
2073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2074 echo "configure:2075: checking for $ac_word" >&5 2075 echo "configure:2076: checking for $ac_word" >&5
2075 2076
2076 if test -n "$CC"; then 2077 if test -n "$CC"; then
2077 ac_cv_prog_CC="$CC" # Let the user override the test. 2078 ac_cv_prog_CC="$CC" # Let the user override the test.
2078 else 2079 else
2079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2096 2097
2097 if test -z "$CC"; then 2098 if test -z "$CC"; then
2098 # Extract the first word of "cc", so it can be a program name with args. 2099 # Extract the first word of "cc", so it can be a program name with args.
2099 set dummy cc; ac_word=$2 2100 set dummy cc; ac_word=$2
2100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2101 echo "configure:2102: checking for $ac_word" >&5 2102 echo "configure:2103: checking for $ac_word" >&5
2102 2103
2103 if test -n "$CC"; then 2104 if test -n "$CC"; then
2104 ac_cv_prog_CC="$CC" # Let the user override the test. 2105 ac_cv_prog_CC="$CC" # Let the user override the test.
2105 else 2106 else
2106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2144 case "`uname -s`" in 2145 case "`uname -s`" in
2145 *win32* | *WIN32*) 2146 *win32* | *WIN32*)
2146 # Extract the first word of "cl", so it can be a program name with args. 2147 # Extract the first word of "cl", so it can be a program name with args.
2147 set dummy cl; ac_word=$2 2148 set dummy cl; ac_word=$2
2148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2149 echo "configure:2150: checking for $ac_word" >&5 2150 echo "configure:2151: checking for $ac_word" >&5
2150 2151
2151 if test -n "$CC"; then 2152 if test -n "$CC"; then
2152 ac_cv_prog_CC="$CC" # Let the user override the test. 2153 ac_cv_prog_CC="$CC" # Let the user override the test.
2153 else 2154 else
2154 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2155 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 fi 2174 fi
2174 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 2175 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2175 fi 2176 fi
2176 2177
2177 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2178 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2178 echo "configure:2179: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2179 echo "configure:2180: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2179 2180
2180 ac_ext=c 2181 ac_ext=c
2181 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 2182 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
2182 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 2183 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
2183 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' 2184 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'
2186 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 2187 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
2187 cross_compiling=no 2188 cross_compiling=no
2188 2189
2189 cat > conftest.$ac_ext << EOF 2190 cat > conftest.$ac_ext << EOF
2190 2191
2191 #line 2192 "configure" 2192 #line 2193 "configure"
2192 #include "confdefs.h" 2193 #include "confdefs.h"
2193 2194
2194 main(){return(0);} 2195 main(){return(0);}
2195 EOF 2196 EOF
2196 if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2197 if { (eval echo configure:2198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2197 ac_cv_prog_cc_works=yes 2198 ac_cv_prog_cc_works=yes
2198 # If we can't run a trivial program, we are probably using a cross compiler. 2199 # If we can't run a trivial program, we are probably using a cross compiler.
2199 if (./conftest; exit) 2>/dev/null; then 2200 if (./conftest; exit) 2>/dev/null; then
2200 ac_cv_prog_cc_cross=no 2201 ac_cv_prog_cc_cross=no
2201 else 2202 else
2219 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2220 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2220 if test $ac_cv_prog_cc_works = no; then 2221 if test $ac_cv_prog_cc_works = no; then
2221 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2222 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2222 fi 2223 fi
2223 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2224 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2224 echo "configure:2225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2225 echo "configure:2226: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2225 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2226 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2226 cross_compiling=$ac_cv_prog_cc_cross 2227 cross_compiling=$ac_cv_prog_cc_cross
2227 2228
2228 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2229 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2229 echo "configure:2230: checking whether we are using GNU C" >&5 2230 echo "configure:2231: checking whether we are using GNU C" >&5
2230 2231
2231 cat > conftest.c <<EOF 2232 cat > conftest.c <<EOF
2232 #ifdef __GNUC__ 2233 #ifdef __GNUC__
2233 yes; 2234 yes;
2234 #endif 2235 #endif
2235 EOF 2236 EOF
2236 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2237 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2237 ac_cv_prog_gcc=yes 2238 ac_cv_prog_gcc=yes
2238 else 2239 else
2239 ac_cv_prog_gcc=no 2240 ac_cv_prog_gcc=no
2240 fi 2241 fi
2241 2242
2249 2250
2250 ac_test_CFLAGS="${CFLAGS+set}" 2251 ac_test_CFLAGS="${CFLAGS+set}"
2251 ac_save_CFLAGS="$CFLAGS" 2252 ac_save_CFLAGS="$CFLAGS"
2252 CFLAGS= 2253 CFLAGS=
2253 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2254 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2254 echo "configure:2255: checking whether ${CC-cc} accepts -g" >&5 2255 echo "configure:2256: checking whether ${CC-cc} accepts -g" >&5
2255 2256
2256 echo 'void f(){}' > conftest.c 2257 echo 'void f(){}' > conftest.c
2257 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2258 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2258 ac_cv_prog_cc_g=yes 2259 ac_cv_prog_cc_g=yes
2259 else 2260 else
2286 test -n "$CPP" -a -d "$CPP" && CPP= 2287 test -n "$CPP" -a -d "$CPP" && CPP=
2287 2288
2288 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 2289 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
2289 2290
2290 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2291 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2291 echo "configure:2292: checking how to run the C preprocessor" >&5 2292 echo "configure:2293: checking how to run the C preprocessor" >&5
2292 # On Suns, sometimes $CPP names a directory. 2293 # On Suns, sometimes $CPP names a directory.
2293 if test -n "$CPP" && test -d "$CPP"; then 2294 if test -n "$CPP" && test -d "$CPP"; then
2294 CPP= 2295 CPP=
2295 fi 2296 fi
2296 if test -z "$CPP"; then 2297 if test -z "$CPP"; then
2299 # substituted into the Makefile and "${CC-cc}" will confuse make. 2300 # substituted into the Makefile and "${CC-cc}" will confuse make.
2300 CPP="${CC-cc} -E" 2301 CPP="${CC-cc} -E"
2301 # On the NeXT, cc -E runs the code through the compiler's parser, 2302 # On the NeXT, cc -E runs the code through the compiler's parser,
2302 # not just through cpp. 2303 # not just through cpp.
2303 cat > conftest.$ac_ext <<EOF 2304 cat > conftest.$ac_ext <<EOF
2304 #line 2305 "configure" 2305 #line 2306 "configure"
2305 #include "confdefs.h" 2306 #include "confdefs.h"
2306 #include <assert.h> 2307 #include <assert.h>
2307 Syntax Error 2308 Syntax Error
2308 EOF 2309 EOF
2309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2310 { (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2311 { (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2312 if test -z "$ac_err"; then 2313 if test -z "$ac_err"; then
2313 : 2314 :
2314 else 2315 else
2315 echo "$ac_err" >&5 2316 echo "$ac_err" >&5
2316 echo "configure: failed program was:" >&5 2317 echo "configure: failed program was:" >&5
2317 cat conftest.$ac_ext >&5 2318 cat conftest.$ac_ext >&5
2318 rm -rf conftest* 2319 rm -rf conftest*
2319 CPP="${CC-cc} -E -traditional-cpp" 2320 CPP="${CC-cc} -E -traditional-cpp"
2320 cat > conftest.$ac_ext <<EOF 2321 cat > conftest.$ac_ext <<EOF
2321 #line 2322 "configure" 2322 #line 2323 "configure"
2322 #include "confdefs.h" 2323 #include "confdefs.h"
2323 #include <assert.h> 2324 #include <assert.h>
2324 Syntax Error 2325 Syntax Error
2325 EOF 2326 EOF
2326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2327 { (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2328 { (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2329 if test -z "$ac_err"; then 2330 if test -z "$ac_err"; then
2330 : 2331 :
2331 else 2332 else
2332 echo "$ac_err" >&5 2333 echo "$ac_err" >&5
2333 echo "configure: failed program was:" >&5 2334 echo "configure: failed program was:" >&5
2334 cat conftest.$ac_ext >&5 2335 cat conftest.$ac_ext >&5
2335 rm -rf conftest* 2336 rm -rf conftest*
2336 CPP="${CC-cc} -nologo -E" 2337 CPP="${CC-cc} -nologo -E"
2337 cat > conftest.$ac_ext <<EOF 2338 cat > conftest.$ac_ext <<EOF
2338 #line 2339 "configure" 2339 #line 2340 "configure"
2339 #include "confdefs.h" 2340 #include "confdefs.h"
2340 #include <assert.h> 2341 #include <assert.h>
2341 Syntax Error 2342 Syntax Error
2342 EOF 2343 EOF
2343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2344 { (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2345 { (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2346 if test -z "$ac_err"; then 2347 if test -z "$ac_err"; then
2347 : 2348 :
2348 else 2349 else
2349 echo "$ac_err" >&5 2350 echo "$ac_err" >&5
2365 echo "$ac_t""$CPP" 1>&6 2366 echo "$ac_t""$CPP" 1>&6
2366 2367
2367 2368
2368 2369
2369 echo $ac_n "checking for AIX""... $ac_c" 1>&6 2370 echo $ac_n "checking for AIX""... $ac_c" 1>&6
2370 echo "configure:2371: checking for AIX" >&5 2371 echo "configure:2372: checking for AIX" >&5
2371 cat > conftest.$ac_ext <<EOF 2372 cat > conftest.$ac_ext <<EOF
2372 #line 2373 "configure" 2373 #line 2374 "configure"
2373 #include "confdefs.h" 2374 #include "confdefs.h"
2374 #ifdef _AIX 2375 #ifdef _AIX
2375 yes 2376 yes
2376 #endif 2377 #endif
2377 2378
2394 rm -f conftest* 2395 rm -f conftest*
2395 2396
2396 2397
2397 2398
2398 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 2399 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6
2399 echo "configure:2400: checking for GNU libc" >&5 2400 echo "configure:2401: checking for GNU libc" >&5
2400 cat > conftest.$ac_ext <<EOF 2401 cat > conftest.$ac_ext <<EOF
2401 #line 2402 "configure" 2402 #line 2403 "configure"
2402 #include "confdefs.h" 2403 #include "confdefs.h"
2403 #include <features.h> 2404 #include <features.h>
2404 int main() { 2405 int main() {
2405 2406
2406 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) 2407 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__)
2408 ******* ======= ******** &&&&&&&& 2409 ******* ======= ******** &&&&&&&&
2409 #endif 2410 #endif
2410 2411
2411 ; return 0; } 2412 ; return 0; }
2412 EOF 2413 EOF
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2414 if { (eval echo configure:2415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 rm -rf conftest* 2415 rm -rf conftest*
2415 have_glibc=yes 2416 have_glibc=yes
2416 else 2417 else
2417 echo "configure: failed program was:" >&5 2418 echo "configure: failed program was:" >&5
2418 cat conftest.$ac_ext >&5 2419 cat conftest.$ac_ext >&5
2485 2486
2486 ;; 2487 ;;
2487 esac 2488 esac
2488 2489
2489 cat > conftest.$ac_ext <<EOF 2490 cat > conftest.$ac_ext <<EOF
2490 #line 2491 "configure" 2491 #line 2492 "configure"
2491 #include "confdefs.h" 2492 #include "confdefs.h"
2492 int main () { 2493 int main () {
2493 #if defined __SUNPRO_C 2494 #if defined __SUNPRO_C
2494 return 11; 2495 return 11;
2495 #elif defined __DECC 2496 #elif defined __DECC
2499 #else 2500 #else
2500 return 0; 2501 return 0;
2501 #endif 2502 #endif
2502 } 2503 }
2503 EOF 2504 EOF
2504 if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 2505 if { (eval echo configure:2506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
2505 then 2506 then
2506 : 2507 :
2507 else 2508 else
2508 conftest_rc="$?" 2509 conftest_rc="$?"
2509 echo "configure: failed program was:" >&5 2510 echo "configure: failed program was:" >&5
2751 2752
2752 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi 2753 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi
2753 2754
2754 if test "$__USLC__" = yes; then 2755 if test "$__USLC__" = yes; then
2755 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 2756 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6
2756 echo "configure:2757: checking for whether the -Kalloca compiler flag is needed" >&5 2757 echo "configure:2758: checking for whether the -Kalloca compiler flag is needed" >&5
2757 need_kalloca=no 2758 need_kalloca=no
2758 cat > conftest.$ac_ext <<EOF 2759 cat > conftest.$ac_ext <<EOF
2759 #line 2760 "configure" 2760 #line 2761 "configure"
2760 #include "confdefs.h" 2761 #include "confdefs.h"
2761 2762
2762 int main() { 2763 int main() {
2763 void *x = alloca(4); 2764 void *x = alloca(4);
2764 ; return 0; } 2765 ; return 0; }
2765 EOF 2766 EOF
2766 if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2767 if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2767 rm -rf conftest* 2768 rm -rf conftest*
2768 : 2769 :
2769 else 2770 else
2770 echo "configure: failed program was:" >&5 2771 echo "configure: failed program was:" >&5
2771 cat conftest.$ac_ext >&5 2772 cat conftest.$ac_ext >&5
2772 rm -rf conftest* 2773 rm -rf conftest*
2773 2774
2774 xe_save_c_switch_system="$c_switch_system" 2775 xe_save_c_switch_system="$c_switch_system"
2775 c_switch_system="$c_switch_system -Kalloca" 2776 c_switch_system="$c_switch_system -Kalloca"
2776 cat > conftest.$ac_ext <<EOF 2777 cat > conftest.$ac_ext <<EOF
2777 #line 2778 "configure" 2778 #line 2779 "configure"
2778 #include "confdefs.h" 2779 #include "confdefs.h"
2779 2780
2780 int main() { 2781 int main() {
2781 void *x = alloca(4); 2782 void *x = alloca(4);
2782 ; return 0; } 2783 ; return 0; }
2783 EOF 2784 EOF
2784 if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2785 if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2785 rm -rf conftest* 2786 rm -rf conftest*
2786 need_kalloca=yes 2787 need_kalloca=yes
2787 else 2788 else
2788 echo "configure: failed program was:" >&5 2789 echo "configure: failed program was:" >&5
2789 cat conftest.$ac_ext >&5 2790 cat conftest.$ac_ext >&5
2817 CFLAGS="-O" ; fi 2818 CFLAGS="-O" ; fi
2818 fi 2819 fi
2819 2820
2820 if test "$GCC" = "yes"; then 2821 if test "$GCC" = "yes"; then
2821 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 2822 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6
2822 echo "configure:2823: checking for buggy gcc versions" >&5 2823 echo "configure:2824: checking for buggy gcc versions" >&5
2823 GCC_VERSION=`$CC --version` 2824 GCC_VERSION=`$CC --version`
2824 case `uname -s`:`uname -m`:$GCC_VERSION in 2825 case `uname -s`:`uname -m`:$GCC_VERSION in
2825 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) 2826 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*)
2826 case "$CFLAGS" in 2827 case "$CFLAGS" in
2827 *-O2*|*-O3*) 2828 *-O2*|*-O3*)
2875 echo "$ac_t""no" 1>&6 2876 echo "$ac_t""no" 1>&6
2876 fi 2877 fi
2877 2878
2878 if test "$pdump" != "yes"; then 2879 if test "$pdump" != "yes"; then
2879 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 2880 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
2880 echo "configure:2881: checking for \"-z nocombreloc\" linker flag" >&5 2881 echo "configure:2882: checking for \"-z nocombreloc\" linker flag" >&5
2881 case "`ld --help 2>&1`" in 2882 case "`ld --help 2>&1`" in
2882 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 2883 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
2883 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; 2884 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
2884 *) echo "$ac_t""no" 1>&6 ;; 2885 *) echo "$ac_t""no" 1>&6 ;;
2885 esac 2886 esac
2964 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then 2965 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then
2965 echo " xemacs will be linked with \"dumper.o\"" 2966 echo " xemacs will be linked with \"dumper.o\""
2966 fi 2967 fi
2967 2968
2968 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 2969 echo $ac_n "checking for dynodump""... $ac_c" 1>&6
2969 echo "configure:2970: checking for dynodump" >&5 2970 echo "configure:2971: checking for dynodump" >&5
2970 if test "$unexec" != "unexsol2.o"; then 2971 if test "$unexec" != "unexsol2.o"; then
2971 echo "$ac_t""no" 1>&6 2972 echo "$ac_t""no" 1>&6
2972 else 2973 else
2973 echo "$ac_t""yes" 1>&6 2974 echo "$ac_t""yes" 1>&6
2974 { test "$extra_verbose" = "yes" && cat << \EOF 2975 { test "$extra_verbose" = "yes" && cat << \EOF
3002 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 3003 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
3003 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 3004 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
3004 done 3005 done
3005 3006
3006 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 3007 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6
3007 echo "configure:3008: checking for terminateAndUnload in -lC" >&5 3008 echo "configure:3009: checking for terminateAndUnload in -lC" >&5
3008 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` 3009 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'`
3009 3010
3010 xe_check_libs=" -lC " 3011 xe_check_libs=" -lC "
3011 cat > conftest.$ac_ext <<EOF 3012 cat > conftest.$ac_ext <<EOF
3012 #line 3013 "configure" 3013 #line 3014 "configure"
3013 #include "confdefs.h" 3014 #include "confdefs.h"
3014 /* Override any gcc2 internal prototype to avoid an error. */ 3015 /* Override any gcc2 internal prototype to avoid an error. */
3015 /* We use char because int might match the return type of a gcc2 3016 /* We use char because int might match the return type of a gcc2
3016 builtin and then its argument prototype would still apply. */ 3017 builtin and then its argument prototype would still apply. */
3017 char terminateAndUnload(); 3018 char terminateAndUnload();
3018 3019
3019 int main() { 3020 int main() {
3020 terminateAndUnload() 3021 terminateAndUnload()
3021 ; return 0; } 3022 ; return 0; }
3022 EOF 3023 EOF
3023 if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3024 if { (eval echo configure:3025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3024 rm -rf conftest* 3025 rm -rf conftest*
3025 eval "ac_cv_lib_$ac_lib_var=yes" 3026 eval "ac_cv_lib_$ac_lib_var=yes"
3026 else 3027 else
3027 echo "configure: failed program was:" >&5 3028 echo "configure: failed program was:" >&5
3028 cat conftest.$ac_ext >&5 3029 cat conftest.$ac_ext >&5
3126 esac 3127 esac
3127 fi 3128 fi
3128 3129
3129 if test "$add_runtime_path" = "yes"; then 3130 if test "$add_runtime_path" = "yes"; then
3130 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 3131 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
3131 echo "configure:3132: checking "for runtime libraries flag"" >&5 3132 echo "configure:3133: checking "for runtime libraries flag"" >&5
3132 case "$opsys" in 3133 case "$opsys" in
3133 sol2 ) dash_r="-R" ;; 3134 sol2 ) dash_r="-R" ;;
3134 decosf* | linux* | irix*) dash_r="-rpath " ;; 3135 decosf* | linux* | irix*) dash_r="-rpath " ;;
3135 *) 3136 *)
3136 dash_r="" 3137 dash_r=""
3148 esac 3149 esac
3149 shift 3150 shift
3150 done 3151 done
3151 fi 3152 fi
3152 cat > conftest.$ac_ext <<EOF 3153 cat > conftest.$ac_ext <<EOF
3153 #line 3154 "configure" 3154 #line 3155 "configure"
3154 #include "confdefs.h" 3155 #include "confdefs.h"
3155 3156
3156 int main() { 3157 int main() {
3157 3158
3158 ; return 0; } 3159 ; return 0; }
3159 EOF 3160 EOF
3160 if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3161 if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3161 rm -rf conftest* 3162 rm -rf conftest*
3162 dash_r="$try_dash_r" 3163 dash_r="$try_dash_r"
3163 else 3164 else
3164 echo "configure: failed program was:" >&5 3165 echo "configure: failed program was:" >&5
3165 cat conftest.$ac_ext >&5 3166 cat conftest.$ac_ext >&5
3256 else 3257 else
3257 doug_lea_malloc=no 3258 doug_lea_malloc=no
3258 fi 3259 fi
3259 after_morecore_hook_exists=yes 3260 after_morecore_hook_exists=yes
3260 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 3261 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6
3261 echo "configure:3262: checking for malloc_set_state" >&5 3262 echo "configure:3263: checking for malloc_set_state" >&5
3262 3263
3263 cat > conftest.$ac_ext <<EOF 3264 cat > conftest.$ac_ext <<EOF
3264 #line 3265 "configure" 3265 #line 3266 "configure"
3265 #include "confdefs.h" 3266 #include "confdefs.h"
3266 /* System header to define __stub macros and hopefully few prototypes, 3267 /* System header to define __stub macros and hopefully few prototypes,
3267 which can conflict with char malloc_set_state(); below. */ 3268 which can conflict with char malloc_set_state(); below. */
3268 #include <assert.h> 3269 #include <assert.h>
3269 /* Override any gcc2 internal prototype to avoid an error. */ 3270 /* Override any gcc2 internal prototype to avoid an error. */
3282 malloc_set_state(); 3283 malloc_set_state();
3283 #endif 3284 #endif
3284 3285
3285 ; return 0; } 3286 ; return 0; }
3286 EOF 3287 EOF
3287 if { (eval echo configure:3288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3288 if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3288 rm -rf conftest* 3289 rm -rf conftest*
3289 eval "ac_cv_func_malloc_set_state=yes" 3290 eval "ac_cv_func_malloc_set_state=yes"
3290 else 3291 else
3291 echo "configure: failed program was:" >&5 3292 echo "configure: failed program was:" >&5
3292 cat conftest.$ac_ext >&5 3293 cat conftest.$ac_ext >&5
3302 echo "$ac_t""no" 1>&6 3303 echo "$ac_t""no" 1>&6
3303 doug_lea_malloc=no 3304 doug_lea_malloc=no
3304 fi 3305 fi
3305 3306
3306 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 3307 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6
3307 echo "configure:3308: checking whether __after_morecore_hook exists" >&5 3308 echo "configure:3309: checking whether __after_morecore_hook exists" >&5
3308 cat > conftest.$ac_ext <<EOF 3309 cat > conftest.$ac_ext <<EOF
3309 #line 3310 "configure" 3310 #line 3311 "configure"
3310 #include "confdefs.h" 3311 #include "confdefs.h"
3311 extern void (* __after_morecore_hook)(); 3312 extern void (* __after_morecore_hook)();
3312 int main() { 3313 int main() {
3313 __after_morecore_hook = 0 3314 __after_morecore_hook = 0
3314 ; return 0; } 3315 ; return 0; }
3315 EOF 3316 EOF
3316 if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3317 if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3317 rm -rf conftest* 3318 rm -rf conftest*
3318 echo "$ac_t""yes" 1>&6 3319 echo "$ac_t""yes" 1>&6
3319 else 3320 else
3320 echo "configure: failed program was:" >&5 3321 echo "configure: failed program was:" >&5
3321 cat conftest.$ac_ext >&5 3322 cat conftest.$ac_ext >&5
3367 3368
3368 3369
3369 # Extract the first word of "ranlib", so it can be a program name with args. 3370 # Extract the first word of "ranlib", so it can be a program name with args.
3370 set dummy ranlib; ac_word=$2 3371 set dummy ranlib; ac_word=$2
3371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3372 echo "configure:3373: checking for $ac_word" >&5 3373 echo "configure:3374: checking for $ac_word" >&5
3373 3374
3374 if test -n "$RANLIB"; then 3375 if test -n "$RANLIB"; then
3375 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3376 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3376 else 3377 else
3377 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3378 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3423 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 3424 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3425 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3425 # ./install, which can be erroneously created by make from ./install.sh. 3426 # ./install, which can be erroneously created by make from ./install.sh.
3426 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 3427 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3427 echo "configure:3428: checking for a BSD compatible install" >&5 3428 echo "configure:3429: checking for a BSD compatible install" >&5
3428 if test -z "$INSTALL"; then 3429 if test -z "$INSTALL"; then
3429 3430
3430 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3431 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3431 for ac_dir in $PATH; do 3432 for ac_dir in $PATH; do
3432 # Account for people who put trailing slashes in PATH elements. 3433 # Account for people who put trailing slashes in PATH elements.
3476 for ac_prog in 'bison -y' byacc 3477 for ac_prog in 'bison -y' byacc
3477 do 3478 do
3478 # Extract the first word of "$ac_prog", so it can be a program name with args. 3479 # Extract the first word of "$ac_prog", so it can be a program name with args.
3479 set dummy $ac_prog; ac_word=$2 3480 set dummy $ac_prog; ac_word=$2
3480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3481 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3481 echo "configure:3482: checking for $ac_word" >&5 3482 echo "configure:3483: checking for $ac_word" >&5
3482 3483
3483 if test -n "$YACC"; then 3484 if test -n "$YACC"; then
3484 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3485 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3485 else 3486 else
3486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3487 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3508 3509
3509 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/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h 3510 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/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h
3510 do 3511 do
3511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3513 echo "configure:3514: checking for $ac_hdr" >&5 3514 echo "configure:3515: checking for $ac_hdr" >&5
3514 3515
3515 cat > conftest.$ac_ext <<EOF 3516 cat > conftest.$ac_ext <<EOF
3516 #line 3517 "configure" 3517 #line 3518 "configure"
3517 #include "confdefs.h" 3518 #include "confdefs.h"
3518 #include <$ac_hdr> 3519 #include <$ac_hdr>
3519 EOF 3520 EOF
3520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3521 { (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3522 { (eval echo configure:3523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3523 if test -z "$ac_err"; then 3524 if test -z "$ac_err"; then
3524 rm -rf conftest* 3525 rm -rf conftest*
3525 eval "ac_cv_header_$ac_safe=yes" 3526 eval "ac_cv_header_$ac_safe=yes"
3526 else 3527 else
3546 echo "$ac_t""no" 1>&6 3547 echo "$ac_t""no" 1>&6
3547 fi 3548 fi
3548 done 3549 done
3549 3550
3550 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 3551 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
3551 echo "configure:3552: checking for sys/wait.h that is POSIX.1 compatible" >&5 3552 echo "configure:3553: checking for sys/wait.h that is POSIX.1 compatible" >&5
3552 3553
3553 cat > conftest.$ac_ext <<EOF 3554 cat > conftest.$ac_ext <<EOF
3554 #line 3555 "configure" 3555 #line 3556 "configure"
3555 #include "confdefs.h" 3556 #include "confdefs.h"
3556 #include <sys/types.h> 3557 #include <sys/types.h>
3557 #include <sys/wait.h> 3558 #include <sys/wait.h>
3558 #ifndef WEXITSTATUS 3559 #ifndef WEXITSTATUS
3559 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 3560 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3565 int s; 3566 int s;
3566 wait (&s); 3567 wait (&s);
3567 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 3568 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3568 ; return 0; } 3569 ; return 0; }
3569 EOF 3570 EOF
3570 if { (eval echo configure:3571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3571 if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3571 rm -rf conftest* 3572 rm -rf conftest*
3572 ac_cv_header_sys_wait_h=yes 3573 ac_cv_header_sys_wait_h=yes
3573 else 3574 else
3574 echo "configure: failed program was:" >&5 3575 echo "configure: failed program was:" >&5
3575 cat conftest.$ac_ext >&5 3576 cat conftest.$ac_ext >&5
3589 } 3590 }
3590 3591
3591 fi 3592 fi
3592 3593
3593 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3594 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3594 echo "configure:3595: checking for ANSI C header files" >&5 3595 echo "configure:3596: checking for ANSI C header files" >&5
3595 3596
3596 cat > conftest.$ac_ext <<EOF 3597 cat > conftest.$ac_ext <<EOF
3597 #line 3598 "configure" 3598 #line 3599 "configure"
3598 #include "confdefs.h" 3599 #include "confdefs.h"
3599 #include <stdlib.h> 3600 #include <stdlib.h>
3600 #include <stdarg.h> 3601 #include <stdarg.h>
3601 #include <string.h> 3602 #include <string.h>
3602 #include <float.h> 3603 #include <float.h>
3603 EOF 3604 EOF
3604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3605 { (eval echo configure:3606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3606 { (eval echo configure:3607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3607 if test -z "$ac_err"; then 3608 if test -z "$ac_err"; then
3608 rm -rf conftest* 3609 rm -rf conftest*
3609 ac_cv_header_stdc=yes 3610 ac_cv_header_stdc=yes
3610 else 3611 else
3617 rm -f conftest* 3618 rm -f conftest*
3618 3619
3619 if test $ac_cv_header_stdc = yes; then 3620 if test $ac_cv_header_stdc = yes; then
3620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3621 cat > conftest.$ac_ext <<EOF 3622 cat > conftest.$ac_ext <<EOF
3622 #line 3623 "configure" 3623 #line 3624 "configure"
3623 #include "confdefs.h" 3624 #include "confdefs.h"
3624 #include <string.h> 3625 #include <string.h>
3625 EOF 3626 EOF
3626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3627 egrep "memchr" >/dev/null 2>&1; then 3628 egrep "memchr" >/dev/null 2>&1; then
3635 fi 3636 fi
3636 3637
3637 if test $ac_cv_header_stdc = yes; then 3638 if test $ac_cv_header_stdc = yes; then
3638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3639 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3639 cat > conftest.$ac_ext <<EOF 3640 cat > conftest.$ac_ext <<EOF
3640 #line 3641 "configure" 3641 #line 3642 "configure"
3641 #include "confdefs.h" 3642 #include "confdefs.h"
3642 #include <stdlib.h> 3643 #include <stdlib.h>
3643 EOF 3644 EOF
3644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3645 egrep "free" >/dev/null 2>&1; then 3646 egrep "free" >/dev/null 2>&1; then
3653 fi 3654 fi
3654 3655
3655 if test $ac_cv_header_stdc = yes; then 3656 if test $ac_cv_header_stdc = yes; then
3656 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3657 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3657 cat > conftest.$ac_ext <<EOF 3658 cat > conftest.$ac_ext <<EOF
3658 #line 3659 "configure" 3659 #line 3660 "configure"
3659 #include "confdefs.h" 3660 #include "confdefs.h"
3660 #include <ctype.h> 3661 #include <ctype.h>
3661 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3662 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3662 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3663 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3664 int main () { int i; for (i = 0; i < 256; i++) 3665 int main () { int i; for (i = 0; i < 256; i++)
3665 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3666 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3666 exit (0); } 3667 exit (0); }
3667 3668
3668 EOF 3669 EOF
3669 if { (eval echo configure:3670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 3670 if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
3670 then 3671 then
3671 : 3672 :
3672 else 3673 else
3673 conftest_rc="$?" 3674 conftest_rc="$?"
3674 echo "configure: failed program was:" >&5 3675 echo "configure: failed program was:" >&5
3690 } 3691 }
3691 3692
3692 fi 3693 fi
3693 3694
3694 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3695 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3695 echo "configure:3696: checking whether time.h and sys/time.h may both be included" >&5 3696 echo "configure:3697: checking whether time.h and sys/time.h may both be included" >&5
3696 3697
3697 cat > conftest.$ac_ext <<EOF 3698 cat > conftest.$ac_ext <<EOF
3698 #line 3699 "configure" 3699 #line 3700 "configure"
3699 #include "confdefs.h" 3700 #include "confdefs.h"
3700 #include <sys/types.h> 3701 #include <sys/types.h>
3701 #include <sys/time.h> 3702 #include <sys/time.h>
3702 #include <time.h> 3703 #include <time.h>
3703 int main() { 3704 int main() {
3704 struct tm *tp; 3705 struct tm *tp;
3705 ; return 0; } 3706 ; return 0; }
3706 EOF 3707 EOF
3707 if { (eval echo configure:3708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3708 if { (eval echo configure:3709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3708 rm -rf conftest* 3709 rm -rf conftest*
3709 ac_cv_header_time=yes 3710 ac_cv_header_time=yes
3710 else 3711 else
3711 echo "configure: failed program was:" >&5 3712 echo "configure: failed program was:" >&5
3712 cat conftest.$ac_ext >&5 3713 cat conftest.$ac_ext >&5
3726 } 3727 }
3727 3728
3728 fi 3729 fi
3729 3730
3730 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 3731 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
3731 echo "configure:3732: checking for sys_siglist declaration in signal.h or unistd.h" >&5 3732 echo "configure:3733: checking for sys_siglist declaration in signal.h or unistd.h" >&5
3732 3733
3733 cat > conftest.$ac_ext <<EOF 3734 cat > conftest.$ac_ext <<EOF
3734 #line 3735 "configure" 3735 #line 3736 "configure"
3735 #include "confdefs.h" 3736 #include "confdefs.h"
3736 #include <sys/types.h> 3737 #include <sys/types.h>
3737 #include <signal.h> 3738 #include <signal.h>
3738 /* NetBSD declares sys_siglist in unistd.h. */ 3739 /* NetBSD declares sys_siglist in unistd.h. */
3739 #ifdef HAVE_UNISTD_H 3740 #ifdef HAVE_UNISTD_H
3741 #endif 3742 #endif
3742 int main() { 3743 int main() {
3743 char *msg = *(sys_siglist + 1); 3744 char *msg = *(sys_siglist + 1);
3744 ; return 0; } 3745 ; return 0; }
3745 EOF 3746 EOF
3746 if { (eval echo configure:3747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3747 if { (eval echo configure:3748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3747 rm -rf conftest* 3748 rm -rf conftest*
3748 ac_cv_decl_sys_siglist=yes 3749 ac_cv_decl_sys_siglist=yes
3749 else 3750 else
3750 echo "configure: failed program was:" >&5 3751 echo "configure: failed program was:" >&5
3751 cat conftest.$ac_ext >&5 3752 cat conftest.$ac_ext >&5
3767 fi 3768 fi
3768 3769
3769 3770
3770 3771
3771 echo $ac_n "checking for utime""... $ac_c" 1>&6 3772 echo $ac_n "checking for utime""... $ac_c" 1>&6
3772 echo "configure:3773: checking for utime" >&5 3773 echo "configure:3774: checking for utime" >&5
3773 cat > conftest.$ac_ext <<EOF 3774 cat > conftest.$ac_ext <<EOF
3774 #line 3775 "configure" 3775 #line 3776 "configure"
3775 #include "confdefs.h" 3776 #include "confdefs.h"
3776 #include <sys/types.h> 3777 #include <sys/types.h>
3777 #include <utime.h> 3778 #include <utime.h>
3778 int main() { 3779 int main() {
3779 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); 3780 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);
3780 ; return 0; } 3781 ; return 0; }
3781 EOF 3782 EOF
3782 if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3783 if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3783 rm -rf conftest* 3784 rm -rf conftest*
3784 echo "$ac_t""yes" 1>&6 3785 echo "$ac_t""yes" 1>&6
3785 { test "$extra_verbose" = "yes" && cat << \EOF 3786 { test "$extra_verbose" = "yes" && cat << \EOF
3786 Defining HAVE_UTIME 3787 Defining HAVE_UTIME
3787 EOF 3788 EOF
3796 rm -rf conftest* 3797 rm -rf conftest*
3797 echo "$ac_t""no" 1>&6 3798 echo "$ac_t""no" 1>&6
3798 for ac_func in utimes 3799 for ac_func in utimes
3799 do 3800 do
3800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3801 echo "configure:3802: checking for $ac_func" >&5 3802 echo "configure:3803: checking for $ac_func" >&5
3802 3803
3803 cat > conftest.$ac_ext <<EOF 3804 cat > conftest.$ac_ext <<EOF
3804 #line 3805 "configure" 3805 #line 3806 "configure"
3805 #include "confdefs.h" 3806 #include "confdefs.h"
3806 /* System header to define __stub macros and hopefully few prototypes, 3807 /* System header to define __stub macros and hopefully few prototypes,
3807 which can conflict with char $ac_func(); below. */ 3808 which can conflict with char $ac_func(); below. */
3808 #include <assert.h> 3809 #include <assert.h>
3809 /* Override any gcc2 internal prototype to avoid an error. */ 3810 /* Override any gcc2 internal prototype to avoid an error. */
3822 $ac_func(); 3823 $ac_func();
3823 #endif 3824 #endif
3824 3825
3825 ; return 0; } 3826 ; return 0; }
3826 EOF 3827 EOF
3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3828 if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3828 rm -rf conftest* 3829 rm -rf conftest*
3829 eval "ac_cv_func_$ac_func=yes" 3830 eval "ac_cv_func_$ac_func=yes"
3830 else 3831 else
3831 echo "configure: failed program was:" >&5 3832 echo "configure: failed program was:" >&5
3832 cat conftest.$ac_ext >&5 3833 cat conftest.$ac_ext >&5
3854 fi 3855 fi
3855 rm -f conftest* 3856 rm -f conftest*
3856 3857
3857 3858
3858 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3859 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3859 echo "configure:3860: checking return type of signal handlers" >&5 3860 echo "configure:3861: checking return type of signal handlers" >&5
3860 3861
3861 cat > conftest.$ac_ext <<EOF 3862 cat > conftest.$ac_ext <<EOF
3862 #line 3863 "configure" 3863 #line 3864 "configure"
3863 #include "confdefs.h" 3864 #include "confdefs.h"
3864 #include <sys/types.h> 3865 #include <sys/types.h>
3865 #include <signal.h> 3866 #include <signal.h>
3866 #ifdef signal 3867 #ifdef signal
3867 #undef signal 3868 #undef signal
3874 3875
3875 int main() { 3876 int main() {
3876 int i; 3877 int i;
3877 ; return 0; } 3878 ; return 0; }
3878 EOF 3879 EOF
3879 if { (eval echo configure:3880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3880 if { (eval echo configure:3881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3880 rm -rf conftest* 3881 rm -rf conftest*
3881 ac_cv_type_signal=void 3882 ac_cv_type_signal=void
3882 else 3883 else
3883 echo "configure: failed program was:" >&5 3884 echo "configure: failed program was:" >&5
3884 cat conftest.$ac_ext >&5 3885 cat conftest.$ac_ext >&5
3896 EOF 3897 EOF
3897 } 3898 }
3898 3899
3899 3900
3900 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3901 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3901 echo "configure:3902: checking for size_t" >&5 3902 echo "configure:3903: checking for size_t" >&5
3902 3903
3903 cat > conftest.$ac_ext <<EOF 3904 cat > conftest.$ac_ext <<EOF
3904 #line 3905 "configure" 3905 #line 3906 "configure"
3905 #include "confdefs.h" 3906 #include "confdefs.h"
3906 #include <sys/types.h> 3907 #include <sys/types.h>
3907 #if STDC_HEADERS 3908 #if STDC_HEADERS
3908 #include <stdlib.h> 3909 #include <stdlib.h>
3909 #include <stddef.h> 3910 #include <stddef.h>
3930 } 3931 }
3931 3932
3932 fi 3933 fi
3933 3934
3934 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 3935 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3935 echo "configure:3936: checking for pid_t" >&5 3936 echo "configure:3937: checking for pid_t" >&5
3936 3937
3937 cat > conftest.$ac_ext <<EOF 3938 cat > conftest.$ac_ext <<EOF
3938 #line 3939 "configure" 3939 #line 3940 "configure"
3939 #include "confdefs.h" 3940 #include "confdefs.h"
3940 #include <sys/types.h> 3941 #include <sys/types.h>
3941 #if STDC_HEADERS 3942 #if STDC_HEADERS
3942 #include <stdlib.h> 3943 #include <stdlib.h>
3943 #include <stddef.h> 3944 #include <stddef.h>
3964 } 3965 }
3965 3966
3966 fi 3967 fi
3967 3968
3968 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 3969 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3969 echo "configure:3970: checking for uid_t in sys/types.h" >&5 3970 echo "configure:3971: checking for uid_t in sys/types.h" >&5
3970 3971
3971 cat > conftest.$ac_ext <<EOF 3972 cat > conftest.$ac_ext <<EOF
3972 #line 3973 "configure" 3973 #line 3974 "configure"
3973 #include "confdefs.h" 3974 #include "confdefs.h"
3974 #include <sys/types.h> 3975 #include <sys/types.h>
3975 EOF 3976 EOF
3976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3977 egrep "uid_t" >/dev/null 2>&1; then 3978 egrep "uid_t" >/dev/null 2>&1; then
4003 } 4004 }
4004 4005
4005 fi 4006 fi
4006 4007
4007 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 4008 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
4008 echo "configure:4009: checking for mode_t" >&5 4009 echo "configure:4010: checking for mode_t" >&5
4009 4010
4010 cat > conftest.$ac_ext <<EOF 4011 cat > conftest.$ac_ext <<EOF
4011 #line 4012 "configure" 4012 #line 4013 "configure"
4012 #include "confdefs.h" 4013 #include "confdefs.h"
4013 #include <sys/types.h> 4014 #include <sys/types.h>
4014 #if STDC_HEADERS 4015 #if STDC_HEADERS
4015 #include <stdlib.h> 4016 #include <stdlib.h>
4016 #include <stddef.h> 4017 #include <stddef.h>
4037 } 4038 }
4038 4039
4039 fi 4040 fi
4040 4041
4041 echo $ac_n "checking for off_t""... $ac_c" 1>&6 4042 echo $ac_n "checking for off_t""... $ac_c" 1>&6
4042 echo "configure:4043: checking for off_t" >&5 4043 echo "configure:4044: checking for off_t" >&5
4043 4044
4044 cat > conftest.$ac_ext <<EOF 4045 cat > conftest.$ac_ext <<EOF
4045 #line 4046 "configure" 4046 #line 4047 "configure"
4046 #include "confdefs.h" 4047 #include "confdefs.h"
4047 #include <sys/types.h> 4048 #include <sys/types.h>
4048 #if STDC_HEADERS 4049 #if STDC_HEADERS
4049 #include <stdlib.h> 4050 #include <stdlib.h>
4050 #include <stddef.h> 4051 #include <stddef.h>
4071 } 4072 }
4072 4073
4073 fi 4074 fi
4074 4075
4075 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 4076 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
4076 echo "configure:4077: checking for ssize_t" >&5 4077 echo "configure:4078: checking for ssize_t" >&5
4077 4078
4078 cat > conftest.$ac_ext <<EOF 4079 cat > conftest.$ac_ext <<EOF
4079 #line 4080 "configure" 4080 #line 4081 "configure"
4080 #include "confdefs.h" 4081 #include "confdefs.h"
4081 #include <sys/types.h> 4082 #include <sys/types.h>
4082 #if STDC_HEADERS 4083 #if STDC_HEADERS
4083 #include <stdlib.h> 4084 #include <stdlib.h>
4084 #include <stddef.h> 4085 #include <stddef.h>
4106 4107
4107 fi 4108 fi
4108 4109
4109 4110
4110 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 4111 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
4111 echo "configure:4112: checking for socklen_t" >&5 4112 echo "configure:4113: checking for socklen_t" >&5
4112 cat > conftest.$ac_ext <<EOF 4113 cat > conftest.$ac_ext <<EOF
4113 #line 4114 "configure" 4114 #line 4115 "configure"
4114 #include "confdefs.h" 4115 #include "confdefs.h"
4115 #include <sys/socket.h> 4116 #include <sys/socket.h>
4116 socklen_t x; 4117 socklen_t x;
4117 4118
4118 int main() { 4119 int main() {
4119 4120
4120 ; return 0; } 4121 ; return 0; }
4121 EOF 4122 EOF
4122 if { (eval echo configure:4123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4123 if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4123 rm -rf conftest* 4124 rm -rf conftest*
4124 echo "$ac_t""yes" 1>&6 4125 echo "$ac_t""yes" 1>&6
4125 else 4126 else
4126 echo "configure: failed program was:" >&5 4127 echo "configure: failed program was:" >&5
4127 cat conftest.$ac_ext >&5 4128 cat conftest.$ac_ext >&5
4128 rm -rf conftest* 4129 rm -rf conftest*
4129 4130
4130 cat > conftest.$ac_ext <<EOF 4131 cat > conftest.$ac_ext <<EOF
4131 #line 4132 "configure" 4132 #line 4133 "configure"
4132 #include "confdefs.h" 4133 #include "confdefs.h"
4133 #include <sys/socket.h> 4134 #include <sys/socket.h>
4134 int accept (int, struct sockaddr *, size_t *); 4135 int accept (int, struct sockaddr *, size_t *);
4135 4136
4136 int main() { 4137 int main() {
4137 4138
4138 ; return 0; } 4139 ; return 0; }
4139 EOF 4140 EOF
4140 if { (eval echo configure:4141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4141 if { (eval echo configure:4142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4141 rm -rf conftest* 4142 rm -rf conftest*
4142 4143
4143 echo "$ac_t""size_t" 1>&6 4144 echo "$ac_t""size_t" 1>&6
4144 { test "$extra_verbose" = "yes" && cat << \EOF 4145 { test "$extra_verbose" = "yes" && cat << \EOF
4145 Defining socklen_t = size_t 4146 Defining socklen_t = size_t
4167 rm -f conftest* 4168 rm -f conftest*
4168 fi 4169 fi
4169 rm -f conftest* 4170 rm -f conftest*
4170 4171
4171 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 4172 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
4172 echo "configure:4173: checking for struct timeval" >&5 4173 echo "configure:4174: checking for struct timeval" >&5
4173 cat > conftest.$ac_ext <<EOF 4174 cat > conftest.$ac_ext <<EOF
4174 #line 4175 "configure" 4175 #line 4176 "configure"
4175 #include "confdefs.h" 4176 #include "confdefs.h"
4176 #ifdef TIME_WITH_SYS_TIME 4177 #ifdef TIME_WITH_SYS_TIME
4177 #include <sys/time.h> 4178 #include <sys/time.h>
4178 #include <time.h> 4179 #include <time.h>
4179 #else 4180 #else
4185 #endif 4186 #endif
4186 int main() { 4187 int main() {
4187 static struct timeval x; x.tv_sec = x.tv_usec; 4188 static struct timeval x; x.tv_sec = x.tv_usec;
4188 ; return 0; } 4189 ; return 0; }
4189 EOF 4190 EOF
4190 if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4191 if { (eval echo configure:4192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4191 rm -rf conftest* 4192 rm -rf conftest*
4192 echo "$ac_t""yes" 1>&6 4193 echo "$ac_t""yes" 1>&6
4193 HAVE_TIMEVAL=yes 4194 HAVE_TIMEVAL=yes
4194 { test "$extra_verbose" = "yes" && cat << \EOF 4195 { test "$extra_verbose" = "yes" && cat << \EOF
4195 Defining HAVE_TIMEVAL 4196 Defining HAVE_TIMEVAL
4207 HAVE_TIMEVAL=no 4208 HAVE_TIMEVAL=no
4208 fi 4209 fi
4209 rm -f conftest* 4210 rm -f conftest*
4210 4211
4211 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 4212 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4212 echo "configure:4213: checking whether struct tm is in sys/time.h or time.h" >&5 4213 echo "configure:4214: checking whether struct tm is in sys/time.h or time.h" >&5
4213 4214
4214 cat > conftest.$ac_ext <<EOF 4215 cat > conftest.$ac_ext <<EOF
4215 #line 4216 "configure" 4216 #line 4217 "configure"
4216 #include "confdefs.h" 4217 #include "confdefs.h"
4217 #include <sys/types.h> 4218 #include <sys/types.h>
4218 #include <time.h> 4219 #include <time.h>
4219 int main() { 4220 int main() {
4220 struct tm *tp; tp->tm_sec; 4221 struct tm *tp; tp->tm_sec;
4221 ; return 0; } 4222 ; return 0; }
4222 EOF 4223 EOF
4223 if { (eval echo configure:4224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4224 if { (eval echo configure:4225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4224 rm -rf conftest* 4225 rm -rf conftest*
4225 ac_cv_struct_tm=time.h 4226 ac_cv_struct_tm=time.h
4226 else 4227 else
4227 echo "configure: failed program was:" >&5 4228 echo "configure: failed program was:" >&5
4228 cat conftest.$ac_ext >&5 4229 cat conftest.$ac_ext >&5
4242 } 4243 }
4243 4244
4244 fi 4245 fi
4245 4246
4246 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 4247 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4247 echo "configure:4248: checking for tm_zone in struct tm" >&5 4248 echo "configure:4249: checking for tm_zone in struct tm" >&5
4248 4249
4249 cat > conftest.$ac_ext <<EOF 4250 cat > conftest.$ac_ext <<EOF
4250 #line 4251 "configure" 4251 #line 4252 "configure"
4251 #include "confdefs.h" 4252 #include "confdefs.h"
4252 #include <sys/types.h> 4253 #include <sys/types.h>
4253 #include <$ac_cv_struct_tm> 4254 #include <$ac_cv_struct_tm>
4254 int main() { 4255 int main() {
4255 struct tm tm; tm.tm_zone; 4256 struct tm tm; tm.tm_zone;
4256 ; return 0; } 4257 ; return 0; }
4257 EOF 4258 EOF
4258 if { (eval echo configure:4259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4259 if { (eval echo configure:4260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4259 rm -rf conftest* 4260 rm -rf conftest*
4260 ac_cv_struct_tm_zone=yes 4261 ac_cv_struct_tm_zone=yes
4261 else 4262 else
4262 echo "configure: failed program was:" >&5 4263 echo "configure: failed program was:" >&5
4263 cat conftest.$ac_ext >&5 4264 cat conftest.$ac_ext >&5
4276 EOF 4277 EOF
4277 } 4278 }
4278 4279
4279 else 4280 else
4280 echo $ac_n "checking for tzname""... $ac_c" 1>&6 4281 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4281 echo "configure:4282: checking for tzname" >&5 4282 echo "configure:4283: checking for tzname" >&5
4282 4283
4283 cat > conftest.$ac_ext <<EOF 4284 cat > conftest.$ac_ext <<EOF
4284 #line 4285 "configure" 4285 #line 4286 "configure"
4285 #include "confdefs.h" 4286 #include "confdefs.h"
4286 #include <time.h> 4287 #include <time.h>
4287 #ifndef tzname /* For SGI. */ 4288 #ifndef tzname /* For SGI. */
4288 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ 4289 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4289 #endif 4290 #endif
4290 int main() { 4291 int main() {
4291 atoi(*tzname); 4292 atoi(*tzname);
4292 ; return 0; } 4293 ; return 0; }
4293 EOF 4294 EOF
4294 if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4295 if { (eval echo configure:4296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4295 rm -rf conftest* 4296 rm -rf conftest*
4296 ac_cv_var_tzname=yes 4297 ac_cv_var_tzname=yes
4297 else 4298 else
4298 echo "configure: failed program was:" >&5 4299 echo "configure: failed program was:" >&5
4299 cat conftest.$ac_ext >&5 4300 cat conftest.$ac_ext >&5
4315 fi 4316 fi
4316 fi 4317 fi
4317 4318
4318 4319
4319 echo $ac_n "checking for working const""... $ac_c" 1>&6 4320 echo $ac_n "checking for working const""... $ac_c" 1>&6
4320 echo "configure:4321: checking for working const" >&5 4321 echo "configure:4322: checking for working const" >&5
4321 4322
4322 cat > conftest.$ac_ext <<EOF 4323 cat > conftest.$ac_ext <<EOF
4323 #line 4324 "configure" 4324 #line 4325 "configure"
4324 #include "confdefs.h" 4325 #include "confdefs.h"
4325 4326
4326 int main() { 4327 int main() {
4327 4328
4328 /* Ultrix mips cc rejects this. */ 4329 /* Ultrix mips cc rejects this. */
4367 const int foo = 10; 4368 const int foo = 10;
4368 } 4369 }
4369 4370
4370 ; return 0; } 4371 ; return 0; }
4371 EOF 4372 EOF
4372 if { (eval echo configure:4373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4373 if { (eval echo configure:4374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4373 rm -rf conftest* 4374 rm -rf conftest*
4374 ac_cv_c_const=yes 4375 ac_cv_c_const=yes
4375 else 4376 else
4376 echo "configure: failed program was:" >&5 4377 echo "configure: failed program was:" >&5
4377 cat conftest.$ac_ext >&5 4378 cat conftest.$ac_ext >&5
4392 4393
4393 fi 4394 fi
4394 4395
4395 4396
4396 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 4397 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
4397 echo "configure:4398: checking whether ${MAKE-make} sets \${MAKE}" >&5 4398 echo "configure:4399: checking whether ${MAKE-make} sets \${MAKE}" >&5
4398 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 4399 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
4399 4400
4400 cat > conftestmake <<\EOF 4401 cat > conftestmake <<\EOF
4401 all: 4402 all:
4402 @echo 'ac_maketemp="${MAKE}"' 4403 @echo 'ac_maketemp="${MAKE}"'
4417 SET_MAKE="MAKE=${MAKE-make}" 4418 SET_MAKE="MAKE=${MAKE-make}"
4418 fi 4419 fi
4419 4420
4420 4421
4421 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4422 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
4422 echo "configure:4423: checking whether byte ordering is bigendian" >&5 4423 echo "configure:4424: checking whether byte ordering is bigendian" >&5
4423 4424
4424 ac_cv_c_bigendian=unknown 4425 ac_cv_c_bigendian=unknown
4425 # See if sys/param.h defines the BYTE_ORDER macro. 4426 # See if sys/param.h defines the BYTE_ORDER macro.
4426 cat > conftest.$ac_ext <<EOF 4427 cat > conftest.$ac_ext <<EOF
4427 #line 4428 "configure" 4428 #line 4429 "configure"
4428 #include "confdefs.h" 4429 #include "confdefs.h"
4429 #include <sys/types.h> 4430 #include <sys/types.h>
4430 #include <sys/param.h> 4431 #include <sys/param.h>
4431 int main() { 4432 int main() {
4432 4433
4433 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 4434 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4434 bogus endian macros 4435 bogus endian macros
4435 #endif 4436 #endif
4436 ; return 0; } 4437 ; return 0; }
4437 EOF 4438 EOF
4438 if { (eval echo configure:4439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4439 if { (eval echo configure:4440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4439 rm -rf conftest* 4440 rm -rf conftest*
4440 # It does; now see whether it defined to BIG_ENDIAN or not. 4441 # It does; now see whether it defined to BIG_ENDIAN or not.
4441 cat > conftest.$ac_ext <<EOF 4442 cat > conftest.$ac_ext <<EOF
4442 #line 4443 "configure" 4443 #line 4444 "configure"
4443 #include "confdefs.h" 4444 #include "confdefs.h"
4444 #include <sys/types.h> 4445 #include <sys/types.h>
4445 #include <sys/param.h> 4446 #include <sys/param.h>
4446 int main() { 4447 int main() {
4447 4448
4448 #if BYTE_ORDER != BIG_ENDIAN 4449 #if BYTE_ORDER != BIG_ENDIAN
4449 not big endian 4450 not big endian
4450 #endif 4451 #endif
4451 ; return 0; } 4452 ; return 0; }
4452 EOF 4453 EOF
4453 if { (eval echo configure:4454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4454 if { (eval echo configure:4455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4454 rm -rf conftest* 4455 rm -rf conftest*
4455 ac_cv_c_bigendian=yes 4456 ac_cv_c_bigendian=yes
4456 else 4457 else
4457 echo "configure: failed program was:" >&5 4458 echo "configure: failed program was:" >&5
4458 cat conftest.$ac_ext >&5 4459 cat conftest.$ac_ext >&5
4465 cat conftest.$ac_ext >&5 4466 cat conftest.$ac_ext >&5
4466 fi 4467 fi
4467 rm -f conftest* 4468 rm -f conftest*
4468 if test $ac_cv_c_bigendian = unknown; then 4469 if test $ac_cv_c_bigendian = unknown; then
4469 cat > conftest.$ac_ext <<EOF 4470 cat > conftest.$ac_ext <<EOF
4470 #line 4471 "configure" 4471 #line 4472 "configure"
4471 #include "confdefs.h" 4472 #include "confdefs.h"
4472 main () { 4473 main () {
4473 /* Are we little or big endian? From Harbison&Steele. */ 4474 /* Are we little or big endian? From Harbison&Steele. */
4474 union 4475 union
4475 { 4476 {
4478 } u; 4479 } u;
4479 u.l = 1; 4480 u.l = 1;
4480 exit (u.c[sizeof (long) - 1] == 1); 4481 exit (u.c[sizeof (long) - 1] == 1);
4481 } 4482 }
4482 EOF 4483 EOF
4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4484 if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4484 then 4485 then
4485 ac_cv_c_bigendian=no 4486 ac_cv_c_bigendian=no
4486 else 4487 else
4487 conftest_rc="$?" 4488 conftest_rc="$?"
4488 echo "configure: failed program was:" >&5 4489 echo "configure: failed program was:" >&5
4505 4506
4506 fi 4507 fi
4507 4508
4508 4509
4509 echo $ac_n "checking size of short""... $ac_c" 1>&6 4510 echo $ac_n "checking size of short""... $ac_c" 1>&6
4510 echo "configure:4511: checking size of short" >&5 4511 echo "configure:4512: checking size of short" >&5
4511 4512
4512 cat > conftest.$ac_ext <<EOF 4513 cat > conftest.$ac_ext <<EOF
4513 #line 4514 "configure" 4514 #line 4515 "configure"
4514 #include "confdefs.h" 4515 #include "confdefs.h"
4515 #include <stdio.h> 4516 #include <stdio.h>
4516 main() 4517 main()
4517 { 4518 {
4518 FILE *f=fopen("conftestval", "w"); 4519 FILE *f=fopen("conftestval", "w");
4519 if (!f) exit(1); 4520 if (!f) exit(1);
4520 fprintf(f, "%d\n", sizeof(short)); 4521 fprintf(f, "%d\n", sizeof(short));
4521 exit(0); 4522 exit(0);
4522 } 4523 }
4523 EOF 4524 EOF
4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4525 if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4525 then 4526 then
4526 ac_cv_sizeof_short=`cat conftestval` 4527 ac_cv_sizeof_short=`cat conftestval`
4527 else 4528 else
4528 conftest_rc="$?" 4529 conftest_rc="$?"
4529 echo "configure: failed program was:" >&5 4530 echo "configure: failed program was:" >&5
4547 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4548 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4548 echo "*** PANIC *** Please examine config.log for compilation errors." 4549 echo "*** PANIC *** Please examine config.log for compilation errors."
4549 exit 1 4550 exit 1
4550 fi 4551 fi
4551 echo $ac_n "checking size of int""... $ac_c" 1>&6 4552 echo $ac_n "checking size of int""... $ac_c" 1>&6
4552 echo "configure:4553: checking size of int" >&5 4553 echo "configure:4554: checking size of int" >&5
4553 4554
4554 cat > conftest.$ac_ext <<EOF 4555 cat > conftest.$ac_ext <<EOF
4555 #line 4556 "configure" 4556 #line 4557 "configure"
4556 #include "confdefs.h" 4557 #include "confdefs.h"
4557 #include <stdio.h> 4558 #include <stdio.h>
4558 main() 4559 main()
4559 { 4560 {
4560 FILE *f=fopen("conftestval", "w"); 4561 FILE *f=fopen("conftestval", "w");
4561 if (!f) exit(1); 4562 if (!f) exit(1);
4562 fprintf(f, "%d\n", sizeof(int)); 4563 fprintf(f, "%d\n", sizeof(int));
4563 exit(0); 4564 exit(0);
4564 } 4565 }
4565 EOF 4566 EOF
4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4567 then 4568 then
4568 ac_cv_sizeof_int=`cat conftestval` 4569 ac_cv_sizeof_int=`cat conftestval`
4569 else 4570 else
4570 conftest_rc="$?" 4571 conftest_rc="$?"
4571 echo "configure: failed program was:" >&5 4572 echo "configure: failed program was:" >&5
4583 EOF 4584 EOF
4584 } 4585 }
4585 4586
4586 4587
4587 echo $ac_n "checking size of long""... $ac_c" 1>&6 4588 echo $ac_n "checking size of long""... $ac_c" 1>&6
4588 echo "configure:4589: checking size of long" >&5 4589 echo "configure:4590: checking size of long" >&5
4589 4590
4590 cat > conftest.$ac_ext <<EOF 4591 cat > conftest.$ac_ext <<EOF
4591 #line 4592 "configure" 4592 #line 4593 "configure"
4592 #include "confdefs.h" 4593 #include "confdefs.h"
4593 #include <stdio.h> 4594 #include <stdio.h>
4594 main() 4595 main()
4595 { 4596 {
4596 FILE *f=fopen("conftestval", "w"); 4597 FILE *f=fopen("conftestval", "w");
4597 if (!f) exit(1); 4598 if (!f) exit(1);
4598 fprintf(f, "%d\n", sizeof(long)); 4599 fprintf(f, "%d\n", sizeof(long));
4599 exit(0); 4600 exit(0);
4600 } 4601 }
4601 EOF 4602 EOF
4602 if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4603 then 4604 then
4604 ac_cv_sizeof_long=`cat conftestval` 4605 ac_cv_sizeof_long=`cat conftestval`
4605 else 4606 else
4606 conftest_rc="$?" 4607 conftest_rc="$?"
4607 echo "configure: failed program was:" >&5 4608 echo "configure: failed program was:" >&5
4619 EOF 4620 EOF
4620 } 4621 }
4621 4622
4622 4623
4623 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4624 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4624 echo "configure:4625: checking size of long long" >&5 4625 echo "configure:4626: checking size of long long" >&5
4625 4626
4626 cat > conftest.$ac_ext <<EOF 4627 cat > conftest.$ac_ext <<EOF
4627 #line 4628 "configure" 4628 #line 4629 "configure"
4628 #include "confdefs.h" 4629 #include "confdefs.h"
4629 #include <stdio.h> 4630 #include <stdio.h>
4630 main() 4631 main()
4631 { 4632 {
4632 FILE *f=fopen("conftestval", "w"); 4633 FILE *f=fopen("conftestval", "w");
4633 if (!f) exit(1); 4634 if (!f) exit(1);
4634 fprintf(f, "%d\n", sizeof(long long)); 4635 fprintf(f, "%d\n", sizeof(long long));
4635 exit(0); 4636 exit(0);
4636 } 4637 }
4637 EOF 4638 EOF
4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4639 then 4640 then
4640 ac_cv_sizeof_long_long=`cat conftestval` 4641 ac_cv_sizeof_long_long=`cat conftestval`
4641 else 4642 else
4642 conftest_rc="$?" 4643 conftest_rc="$?"
4643 echo "configure: failed program was:" >&5 4644 echo "configure: failed program was:" >&5
4655 EOF 4656 EOF
4656 } 4657 }
4657 4658
4658 4659
4659 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4660 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4660 echo "configure:4661: checking size of void *" >&5 4661 echo "configure:4662: checking size of void *" >&5
4661 4662
4662 cat > conftest.$ac_ext <<EOF 4663 cat > conftest.$ac_ext <<EOF
4663 #line 4664 "configure" 4664 #line 4665 "configure"
4664 #include "confdefs.h" 4665 #include "confdefs.h"
4665 #include <stdio.h> 4666 #include <stdio.h>
4666 main() 4667 main()
4667 { 4668 {
4668 FILE *f=fopen("conftestval", "w"); 4669 FILE *f=fopen("conftestval", "w");
4669 if (!f) exit(1); 4670 if (!f) exit(1);
4670 fprintf(f, "%d\n", sizeof(void *)); 4671 fprintf(f, "%d\n", sizeof(void *));
4671 exit(0); 4672 exit(0);
4672 } 4673 }
4673 EOF 4674 EOF
4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4675 then 4676 then
4676 ac_cv_sizeof_void_p=`cat conftestval` 4677 ac_cv_sizeof_void_p=`cat conftestval`
4677 else 4678 else
4678 conftest_rc="$?" 4679 conftest_rc="$?"
4679 echo "configure: failed program was:" >&5 4680 echo "configure: failed program was:" >&5
4692 } 4693 }
4693 4694
4694 4695
4695 4696
4696 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4697 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4697 echo "configure:4698: checking for long file names" >&5 4698 echo "configure:4699: checking for long file names" >&5
4698 4699
4699 ac_cv_sys_long_file_names=yes 4700 ac_cv_sys_long_file_names=yes
4700 # Test for long file names in all the places we know might matter: 4701 # Test for long file names in all the places we know might matter:
4701 # . the current directory, where building will happen 4702 # . the current directory, where building will happen
4702 # $prefix/lib where we will be installing things 4703 # $prefix/lib where we will be installing things
4738 4739
4739 fi 4740 fi
4740 4741
4741 4742
4742 echo $ac_n "checking for sin""... $ac_c" 1>&6 4743 echo $ac_n "checking for sin""... $ac_c" 1>&6
4743 echo "configure:4744: checking for sin" >&5 4744 echo "configure:4745: checking for sin" >&5
4744 4745
4745 cat > conftest.$ac_ext <<EOF 4746 cat > conftest.$ac_ext <<EOF
4746 #line 4747 "configure" 4747 #line 4748 "configure"
4747 #include "confdefs.h" 4748 #include "confdefs.h"
4748 /* System header to define __stub macros and hopefully few prototypes, 4749 /* System header to define __stub macros and hopefully few prototypes,
4749 which can conflict with char sin(); below. */ 4750 which can conflict with char sin(); below. */
4750 #include <assert.h> 4751 #include <assert.h>
4751 /* Override any gcc2 internal prototype to avoid an error. */ 4752 /* Override any gcc2 internal prototype to avoid an error. */
4764 sin(); 4765 sin();
4765 #endif 4766 #endif
4766 4767
4767 ; return 0; } 4768 ; return 0; }
4768 EOF 4769 EOF
4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4770 if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4770 rm -rf conftest* 4771 rm -rf conftest*
4771 eval "ac_cv_func_sin=yes" 4772 eval "ac_cv_func_sin=yes"
4772 else 4773 else
4773 echo "configure: failed program was:" >&5 4774 echo "configure: failed program was:" >&5
4774 cat conftest.$ac_ext >&5 4775 cat conftest.$ac_ext >&5
4782 : 4783 :
4783 else 4784 else
4784 echo "$ac_t""no" 1>&6 4785 echo "$ac_t""no" 1>&6
4785 4786
4786 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 4787 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4787 echo "configure:4788: checking for sin in -lm" >&5 4788 echo "configure:4789: checking for sin in -lm" >&5
4788 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 4789 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4789 4790
4790 xe_check_libs=" -lm " 4791 xe_check_libs=" -lm "
4791 cat > conftest.$ac_ext <<EOF 4792 cat > conftest.$ac_ext <<EOF
4792 #line 4793 "configure" 4793 #line 4794 "configure"
4793 #include "confdefs.h" 4794 #include "confdefs.h"
4794 /* Override any gcc2 internal prototype to avoid an error. */ 4795 /* Override any gcc2 internal prototype to avoid an error. */
4795 /* We use char because int might match the return type of a gcc2 4796 /* We use char because int might match the return type of a gcc2
4796 builtin and then its argument prototype would still apply. */ 4797 builtin and then its argument prototype would still apply. */
4797 char sin(); 4798 char sin();
4798 4799
4799 int main() { 4800 int main() {
4800 sin() 4801 sin()
4801 ; return 0; } 4802 ; return 0; }
4802 EOF 4803 EOF
4803 if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4804 if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4804 rm -rf conftest* 4805 rm -rf conftest*
4805 eval "ac_cv_lib_$ac_lib_var=yes" 4806 eval "ac_cv_lib_$ac_lib_var=yes"
4806 else 4807 else
4807 echo "configure: failed program was:" >&5 4808 echo "configure: failed program was:" >&5
4808 cat conftest.$ac_ext >&5 4809 cat conftest.$ac_ext >&5
4842 EOF 4843 EOF
4843 } 4844 }
4844 4845
4845 4846
4846 cat > conftest.$ac_ext <<EOF 4847 cat > conftest.$ac_ext <<EOF
4847 #line 4848 "configure" 4848 #line 4849 "configure"
4848 #include "confdefs.h" 4849 #include "confdefs.h"
4849 #include <math.h> 4850 #include <math.h>
4850 int main() { 4851 int main() {
4851 return atanh(1.0) + asinh(1.0) + acosh(1.0); 4852 return atanh(1.0) + asinh(1.0) + acosh(1.0);
4852 ; return 0; } 4853 ; return 0; }
4853 EOF 4854 EOF
4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4855 if { (eval echo configure:4856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4855 rm -rf conftest* 4856 rm -rf conftest*
4856 { test "$extra_verbose" = "yes" && cat << \EOF 4857 { test "$extra_verbose" = "yes" && cat << \EOF
4857 Defining HAVE_INVERSE_HYPERBOLIC 4858 Defining HAVE_INVERSE_HYPERBOLIC
4858 EOF 4859 EOF
4859 cat >> confdefs.h <<\EOF 4860 cat >> confdefs.h <<\EOF
4868 rm -f conftest* 4869 rm -f conftest*
4869 4870
4870 for ac_func in mkstemp 4871 for ac_func in mkstemp
4871 do 4872 do
4872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4873 echo "configure:4874: checking for $ac_func" >&5 4874 echo "configure:4875: checking for $ac_func" >&5
4874 4875
4875 cat > conftest.$ac_ext <<EOF 4876 cat > conftest.$ac_ext <<EOF
4876 #line 4877 "configure" 4877 #line 4878 "configure"
4877 #include "confdefs.h" 4878 #include "confdefs.h"
4878 /* System header to define __stub macros and hopefully few prototypes, 4879 /* System header to define __stub macros and hopefully few prototypes,
4879 which can conflict with char $ac_func(); below. */ 4880 which can conflict with char $ac_func(); below. */
4880 #include <assert.h> 4881 #include <assert.h>
4881 /* Override any gcc2 internal prototype to avoid an error. */ 4882 /* Override any gcc2 internal prototype to avoid an error. */
4894 $ac_func(); 4895 $ac_func();
4895 #endif 4896 #endif
4896 4897
4897 ; return 0; } 4898 ; return 0; }
4898 EOF 4899 EOF
4899 if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4900 if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4900 rm -rf conftest* 4901 rm -rf conftest*
4901 eval "ac_cv_func_$ac_func=yes" 4902 eval "ac_cv_func_$ac_func=yes"
4902 else 4903 else
4903 echo "configure: failed program was:" >&5 4904 echo "configure: failed program was:" >&5
4904 cat conftest.$ac_ext >&5 4905 cat conftest.$ac_ext >&5
4923 fi 4924 fi
4924 done 4925 done
4925 4926
4926 4927
4927 echo "checking type of mail spool file locking" 1>&6 4928 echo "checking type of mail spool file locking" 1>&6
4928 echo "configure:4929: checking type of mail spool file locking" >&5 4929 echo "configure:4930: checking type of mail spool file locking" >&5
4929 for ac_func in lockf flock 4930 for ac_func in lockf flock
4930 do 4931 do
4931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4932 echo "configure:4933: checking for $ac_func" >&5 4933 echo "configure:4934: checking for $ac_func" >&5
4933 4934
4934 cat > conftest.$ac_ext <<EOF 4935 cat > conftest.$ac_ext <<EOF
4935 #line 4936 "configure" 4936 #line 4937 "configure"
4936 #include "confdefs.h" 4937 #include "confdefs.h"
4937 /* System header to define __stub macros and hopefully few prototypes, 4938 /* System header to define __stub macros and hopefully few prototypes,
4938 which can conflict with char $ac_func(); below. */ 4939 which can conflict with char $ac_func(); below. */
4939 #include <assert.h> 4940 #include <assert.h>
4940 /* Override any gcc2 internal prototype to avoid an error. */ 4941 /* Override any gcc2 internal prototype to avoid an error. */
4953 $ac_func(); 4954 $ac_func();
4954 #endif 4955 #endif
4955 4956
4956 ; return 0; } 4957 ; return 0; }
4957 EOF 4958 EOF
4958 if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4959 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4959 rm -rf conftest* 4960 rm -rf conftest*
4960 eval "ac_cv_func_$ac_func=yes" 4961 eval "ac_cv_func_$ac_func=yes"
4961 else 4962 else
4962 echo "configure: failed program was:" >&5 4963 echo "configure: failed program was:" >&5
4963 cat conftest.$ac_ext >&5 4964 cat conftest.$ac_ext >&5
5035 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5036 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5036 5037
5037 case "$opsys" in decosf*) 5038 case "$opsys" in decosf*)
5038 5039
5039 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5040 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5040 echo "configure:5041: checking for cma_open in -lpthreads" >&5 5041 echo "configure:5042: checking for cma_open in -lpthreads" >&5
5041 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5042 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5042 5043
5043 xe_check_libs=" -lpthreads " 5044 xe_check_libs=" -lpthreads "
5044 cat > conftest.$ac_ext <<EOF 5045 cat > conftest.$ac_ext <<EOF
5045 #line 5046 "configure" 5046 #line 5047 "configure"
5046 #include "confdefs.h" 5047 #include "confdefs.h"
5047 /* Override any gcc2 internal prototype to avoid an error. */ 5048 /* Override any gcc2 internal prototype to avoid an error. */
5048 /* We use char because int might match the return type of a gcc2 5049 /* We use char because int might match the return type of a gcc2
5049 builtin and then its argument prototype would still apply. */ 5050 builtin and then its argument prototype would still apply. */
5050 char cma_open(); 5051 char cma_open();
5051 5052
5052 int main() { 5053 int main() {
5053 cma_open() 5054 cma_open()
5054 ; return 0; } 5055 ; return 0; }
5055 EOF 5056 EOF
5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5057 if { (eval echo configure:5058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5057 rm -rf conftest* 5058 rm -rf conftest*
5058 eval "ac_cv_lib_$ac_lib_var=yes" 5059 eval "ac_cv_lib_$ac_lib_var=yes"
5059 else 5060 else
5060 echo "configure: failed program was:" >&5 5061 echo "configure: failed program was:" >&5
5061 cat conftest.$ac_ext >&5 5062 cat conftest.$ac_ext >&5
5088 c_switch_site="$c_switch_site -threads" ;; 5089 c_switch_site="$c_switch_site -threads" ;;
5089 esac 5090 esac
5090 5091
5091 5092
5092 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5093 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5093 echo "configure:5094: checking whether the -xildoff compiler flag is required" >&5 5094 echo "configure:5095: checking whether the -xildoff compiler flag is required" >&5
5094 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5095 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5095 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5096 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5096 then echo "$ac_t""no" 1>&6; 5097 then echo "$ac_t""no" 1>&6;
5097 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 5098 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
5098 fi 5099 fi
5100 fi 5101 fi
5101 5102
5102 if test "$opsys" = "sol2"; then 5103 if test "$opsys" = "sol2"; then
5103 if test "$os_release" -ge 56; then 5104 if test "$os_release" -ge 56; then
5104 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5105 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5105 echo "configure:5106: checking for \"-z ignore\" linker flag" >&5 5106 echo "configure:5107: checking for \"-z ignore\" linker flag" >&5
5106 case "`ld -h 2>&1`" in 5107 case "`ld -h 2>&1`" in
5107 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5108 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5108 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5109 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5109 *) echo "$ac_t""no" 1>&6 ;; 5110 *) echo "$ac_t""no" 1>&6 ;;
5110 esac 5111 esac
5111 fi 5112 fi
5112 fi 5113 fi
5113 5114
5114 5115
5115 echo "checking "for specified window system"" 1>&6 5116 echo "checking "for specified window system"" 1>&6
5116 echo "configure:5117: checking "for specified window system"" >&5 5117 echo "configure:5118: checking "for specified window system"" >&5
5117 5118
5118 5119
5119 GNOME_CONFIG=no 5120 GNOME_CONFIG=no
5120 GTK_CONFIG=no 5121 GTK_CONFIG=no
5121 5122
5122 if test "$with_gnome" != "no"; then 5123 if test "$with_gnome" != "no"; then
5123 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5124 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5124 echo "configure:5125: checking for GNOME configuration script" >&5 5125 echo "configure:5126: checking for GNOME configuration script" >&5
5125 for possible in gnome-config 5126 for possible in gnome-config
5126 do 5127 do
5127 possible_version=`${possible} --version 2> /dev/null` 5128 possible_version=`${possible} --version 2> /dev/null`
5128 if test "x${possible_version}" != "x"; then 5129 if test "x${possible_version}" != "x"; then
5129 GNOME_CONFIG="${possible}" 5130 GNOME_CONFIG="${possible}"
5150 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5151 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5151 fi 5152 fi
5152 5153
5153 if test "$with_gtk" != "no";then 5154 if test "$with_gtk" != "no";then
5154 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5155 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5155 echo "configure:5156: checking for GTK configuration script" >&5 5156 echo "configure:5157: checking for GTK configuration script" >&5
5156 for possible in gtk12-config gtk14-config gtk-config 5157 for possible in gtk12-config gtk14-config gtk-config
5157 do 5158 do
5158 possible_version=`${possible} --version 2> /dev/null` 5159 possible_version=`${possible} --version 2> /dev/null`
5159 if test "x${possible_version}" != "x"; then 5160 if test "x${possible_version}" != "x"; then
5160 GTK_CONFIG="${possible}" 5161 GTK_CONFIG="${possible}"
5172 echo "$ac_t""${GTK_CONFIG}" 1>&6 5173 echo "$ac_t""${GTK_CONFIG}" 1>&6
5173 fi 5174 fi
5174 5175
5175 if test "${GTK_CONFIG}" != "no"; then 5176 if test "${GTK_CONFIG}" != "no"; then
5176 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5177 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5177 echo "configure:5178: checking gtk version" >&5 5178 echo "configure:5179: checking gtk version" >&5
5178 GTK_VERSION=`${GTK_CONFIG} --version` 5179 GTK_VERSION=`${GTK_CONFIG} --version`
5179 echo "$ac_t""${GTK_VERSION}" 1>&6 5180 echo "$ac_t""${GTK_VERSION}" 1>&6
5180 5181
5181 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5182 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5182 echo "configure:5183: checking gtk libs" >&5 5183 echo "configure:5184: checking gtk libs" >&5
5183 GTK_LIBS=`${GTK_CONFIG} --libs` 5184 GTK_LIBS=`${GTK_CONFIG} --libs`
5184 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5185 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5185 echo "$ac_t""${GTK_LIBS}" 1>&6 5186 echo "$ac_t""${GTK_LIBS}" 1>&6
5186 5187
5187 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5188 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5188 echo "configure:5189: checking gtk cflags" >&5 5189 echo "configure:5190: checking gtk cflags" >&5
5189 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5190 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5190 if test "$GCC" = "yes"; then 5191 if test "$GCC" = "yes"; then
5191 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5192 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5192 fi 5193 fi
5193 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5194 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5194 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5195 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5195 5196
5196 5197
5197 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5198 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5198 echo "configure:5199: checking for main in -lgdk_imlib" >&5 5199 echo "configure:5200: checking for main in -lgdk_imlib" >&5
5199 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5200 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5200 5201
5201 xe_check_libs=" -lgdk_imlib " 5202 xe_check_libs=" -lgdk_imlib "
5202 cat > conftest.$ac_ext <<EOF 5203 cat > conftest.$ac_ext <<EOF
5203 #line 5204 "configure" 5204 #line 5205 "configure"
5204 #include "confdefs.h" 5205 #include "confdefs.h"
5205 5206
5206 int main() { 5207 int main() {
5207 main() 5208 main()
5208 ; return 0; } 5209 ; return 0; }
5209 EOF 5210 EOF
5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5211 if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5211 rm -rf conftest* 5212 rm -rf conftest*
5212 eval "ac_cv_lib_$ac_lib_var=yes" 5213 eval "ac_cv_lib_$ac_lib_var=yes"
5213 else 5214 else
5214 echo "configure: failed program was:" >&5 5215 echo "configure: failed program was:" >&5
5215 cat conftest.$ac_ext >&5 5216 cat conftest.$ac_ext >&5
5227 fi 5228 fi
5228 5229
5229 5230
5230 5231
5231 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5232 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5232 echo "configure:5233: checking for Imlib_init in -lImlib" >&5 5233 echo "configure:5234: checking for Imlib_init in -lImlib" >&5
5233 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5234 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5234 5235
5235 xe_check_libs=" -lImlib " 5236 xe_check_libs=" -lImlib "
5236 cat > conftest.$ac_ext <<EOF 5237 cat > conftest.$ac_ext <<EOF
5237 #line 5238 "configure" 5238 #line 5239 "configure"
5238 #include "confdefs.h" 5239 #include "confdefs.h"
5239 /* Override any gcc2 internal prototype to avoid an error. */ 5240 /* Override any gcc2 internal prototype to avoid an error. */
5240 /* We use char because int might match the return type of a gcc2 5241 /* We use char because int might match the return type of a gcc2
5241 builtin and then its argument prototype would still apply. */ 5242 builtin and then its argument prototype would still apply. */
5242 char Imlib_init(); 5243 char Imlib_init();
5243 5244
5244 int main() { 5245 int main() {
5245 Imlib_init() 5246 Imlib_init()
5246 ; return 0; } 5247 ; return 0; }
5247 EOF 5248 EOF
5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5249 rm -rf conftest* 5250 rm -rf conftest*
5250 eval "ac_cv_lib_$ac_lib_var=yes" 5251 eval "ac_cv_lib_$ac_lib_var=yes"
5251 else 5252 else
5252 echo "configure: failed program was:" >&5 5253 echo "configure: failed program was:" >&5
5253 cat conftest.$ac_ext >&5 5254 cat conftest.$ac_ext >&5
5266 5267
5267 5268
5268 for ac_func in gdk_imlib_init 5269 for ac_func in gdk_imlib_init
5269 do 5270 do
5270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5271 echo "configure:5272: checking for $ac_func" >&5 5272 echo "configure:5273: checking for $ac_func" >&5
5272 5273
5273 cat > conftest.$ac_ext <<EOF 5274 cat > conftest.$ac_ext <<EOF
5274 #line 5275 "configure" 5275 #line 5276 "configure"
5275 #include "confdefs.h" 5276 #include "confdefs.h"
5276 /* System header to define __stub macros and hopefully few prototypes, 5277 /* System header to define __stub macros and hopefully few prototypes,
5277 which can conflict with char $ac_func(); below. */ 5278 which can conflict with char $ac_func(); below. */
5278 #include <assert.h> 5279 #include <assert.h>
5279 /* Override any gcc2 internal prototype to avoid an error. */ 5280 /* Override any gcc2 internal prototype to avoid an error. */
5292 $ac_func(); 5293 $ac_func();
5293 #endif 5294 #endif
5294 5295
5295 ; return 0; } 5296 ; return 0; }
5296 EOF 5297 EOF
5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5298 if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5298 rm -rf conftest* 5299 rm -rf conftest*
5299 eval "ac_cv_func_$ac_func=yes" 5300 eval "ac_cv_func_$ac_func=yes"
5300 else 5301 else
5301 echo "configure: failed program was:" >&5 5302 echo "configure: failed program was:" >&5
5302 cat conftest.$ac_ext >&5 5303 cat conftest.$ac_ext >&5
5358 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5359 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5359 for ac_hdr in glade/glade.h glade.h 5360 for ac_hdr in glade/glade.h glade.h
5360 do 5361 do
5361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5362 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5363 echo "configure:5364: checking for $ac_hdr" >&5 5364 echo "configure:5365: checking for $ac_hdr" >&5
5364 5365
5365 cat > conftest.$ac_ext <<EOF 5366 cat > conftest.$ac_ext <<EOF
5366 #line 5367 "configure" 5367 #line 5368 "configure"
5367 #include "confdefs.h" 5368 #include "confdefs.h"
5368 #include <$ac_hdr> 5369 #include <$ac_hdr>
5369 EOF 5370 EOF
5370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5371 { (eval echo configure:5372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5372 { (eval echo configure:5373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5373 if test -z "$ac_err"; then 5374 if test -z "$ac_err"; then
5374 rm -rf conftest* 5375 rm -rf conftest*
5375 eval "ac_cv_header_$ac_safe=yes" 5376 eval "ac_cv_header_$ac_safe=yes"
5376 else 5377 else
5397 fi 5398 fi
5398 done 5399 done
5399 5400
5400 5401
5401 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5402 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5402 echo "configure:5403: checking for main in -lxml" >&5 5403 echo "configure:5404: checking for main in -lxml" >&5
5403 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5404 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5404 5405
5405 xe_check_libs=" -lxml " 5406 xe_check_libs=" -lxml "
5406 cat > conftest.$ac_ext <<EOF 5407 cat > conftest.$ac_ext <<EOF
5407 #line 5408 "configure" 5408 #line 5409 "configure"
5408 #include "confdefs.h" 5409 #include "confdefs.h"
5409 5410
5410 int main() { 5411 int main() {
5411 main() 5412 main()
5412 ; return 0; } 5413 ; return 0; }
5413 EOF 5414 EOF
5414 if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5415 if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5415 rm -rf conftest* 5416 rm -rf conftest*
5416 eval "ac_cv_lib_$ac_lib_var=yes" 5417 eval "ac_cv_lib_$ac_lib_var=yes"
5417 else 5418 else
5418 echo "configure: failed program was:" >&5 5419 echo "configure: failed program was:" >&5
5419 cat conftest.$ac_ext >&5 5420 cat conftest.$ac_ext >&5
5431 fi 5432 fi
5432 5433
5433 5434
5434 5435
5435 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5436 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5436 echo "configure:5437: checking for main in -lglade" >&5 5437 echo "configure:5438: checking for main in -lglade" >&5
5437 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5438 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5438 5439
5439 xe_check_libs=" -lglade " 5440 xe_check_libs=" -lglade "
5440 cat > conftest.$ac_ext <<EOF 5441 cat > conftest.$ac_ext <<EOF
5441 #line 5442 "configure" 5442 #line 5443 "configure"
5442 #include "confdefs.h" 5443 #include "confdefs.h"
5443 5444
5444 int main() { 5445 int main() {
5445 main() 5446 main()
5446 ; return 0; } 5447 ; return 0; }
5447 EOF 5448 EOF
5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5449 rm -rf conftest* 5450 rm -rf conftest*
5450 eval "ac_cv_lib_$ac_lib_var=yes" 5451 eval "ac_cv_lib_$ac_lib_var=yes"
5451 else 5452 else
5452 echo "configure: failed program was:" >&5 5453 echo "configure: failed program was:" >&5
5453 cat conftest.$ac_ext >&5 5454 cat conftest.$ac_ext >&5
5465 fi 5466 fi
5466 5467
5467 5468
5468 5469
5469 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5470 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5470 echo "configure:5471: checking for main in -lglade-gnome" >&5 5471 echo "configure:5472: checking for main in -lglade-gnome" >&5
5471 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5472 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5472 5473
5473 xe_check_libs=" -lglade-gnome " 5474 xe_check_libs=" -lglade-gnome "
5474 cat > conftest.$ac_ext <<EOF 5475 cat > conftest.$ac_ext <<EOF
5475 #line 5476 "configure" 5476 #line 5477 "configure"
5476 #include "confdefs.h" 5477 #include "confdefs.h"
5477 5478
5478 int main() { 5479 int main() {
5479 main() 5480 main()
5480 ; return 0; } 5481 ; return 0; }
5481 EOF 5482 EOF
5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5483 if { (eval echo configure:5484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5483 rm -rf conftest* 5484 rm -rf conftest*
5484 eval "ac_cv_lib_$ac_lib_var=yes" 5485 eval "ac_cv_lib_$ac_lib_var=yes"
5485 else 5486 else
5486 echo "configure: failed program was:" >&5 5487 echo "configure: failed program was:" >&5
5487 cat conftest.$ac_ext >&5 5488 cat conftest.$ac_ext >&5
5498 echo "$ac_t""no" 1>&6 5499 echo "$ac_t""no" 1>&6
5499 fi 5500 fi
5500 5501
5501 5502
5502 cat > conftest.$ac_ext <<EOF 5503 cat > conftest.$ac_ext <<EOF
5503 #line 5504 "configure" 5504 #line 5505 "configure"
5504 #include "confdefs.h" 5505 #include "confdefs.h"
5505 #include <glade/glade-xml.h> 5506 #include <glade/glade-xml.h>
5506 EOF 5507 EOF
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5509 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5557 # If we find X, set shell vars x_includes and x_libraries to the 5558 # If we find X, set shell vars x_includes and x_libraries to the
5558 # paths, otherwise set no_x=yes. 5559 # paths, otherwise set no_x=yes.
5559 # Uses ac_ vars as temps to allow command line to override cache and checks. 5560 # Uses ac_ vars as temps to allow command line to override cache and checks.
5560 # --without-x overrides everything else, but does not touch the cache. 5561 # --without-x overrides everything else, but does not touch the cache.
5561 echo $ac_n "checking for X""... $ac_c" 1>&6 5562 echo $ac_n "checking for X""... $ac_c" 1>&6
5562 echo "configure:5563: checking for X" >&5 5563 echo "configure:5564: checking for X" >&5
5563 5564
5564 # Check whether --with-x or --without-x was given. 5565 # Check whether --with-x or --without-x was given.
5565 if test "${with_x+set}" = set; then 5566 if test "${with_x+set}" = set; then
5566 withval="$with_x" 5567 withval="$with_x"
5567 : 5568 :
5617 # Guess where to find include files, by looking for this one X11 .h file. 5618 # Guess where to find include files, by looking for this one X11 .h file.
5618 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5619 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5619 5620
5620 # First, try using that file with no special directory specified. 5621 # First, try using that file with no special directory specified.
5621 cat > conftest.$ac_ext <<EOF 5622 cat > conftest.$ac_ext <<EOF
5622 #line 5623 "configure" 5623 #line 5624 "configure"
5623 #include "confdefs.h" 5624 #include "confdefs.h"
5624 #include <$x_direct_test_include> 5625 #include <$x_direct_test_include>
5625 EOF 5626 EOF
5626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5627 { (eval echo configure:5628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5628 { (eval echo configure:5629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5629 if test -z "$ac_err"; then 5630 if test -z "$ac_err"; then
5630 rm -rf conftest* 5631 rm -rf conftest*
5631 # We can compile using X headers with no special include directory. 5632 # We can compile using X headers with no special include directory.
5632 ac_x_includes= 5633 ac_x_includes=
5691 # See if we find them without any special options. 5692 # See if we find them without any special options.
5692 # Don't add to $LIBS permanently. 5693 # Don't add to $LIBS permanently.
5693 ac_save_LIBS="$LIBS" 5694 ac_save_LIBS="$LIBS"
5694 LIBS="-l$x_direct_test_library $LIBS" 5695 LIBS="-l$x_direct_test_library $LIBS"
5695 cat > conftest.$ac_ext <<EOF 5696 cat > conftest.$ac_ext <<EOF
5696 #line 5697 "configure" 5697 #line 5698 "configure"
5697 #include "confdefs.h" 5698 #include "confdefs.h"
5698 5699
5699 int main() { 5700 int main() {
5700 ${x_direct_test_function}() 5701 ${x_direct_test_function}()
5701 ; return 0; } 5702 ; return 0; }
5702 EOF 5703 EOF
5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5704 rm -rf conftest* 5705 rm -rf conftest*
5705 LIBS="$ac_save_LIBS" 5706 LIBS="$ac_save_LIBS"
5706 # We can link X programs with no special library path. 5707 # We can link X programs with no special library path.
5707 ac_x_libraries= 5708 ac_x_libraries=
5708 else 5709 else
5807 # For Solaris; some versions of Sun CC require a space after -R and 5808 # For Solaris; some versions of Sun CC require a space after -R and
5808 # others require no space. Words are not sufficient . . . . 5809 # others require no space. Words are not sufficient . . . .
5809 case "`(uname -sr) 2>/dev/null`" in 5810 case "`(uname -sr) 2>/dev/null`" in
5810 "SunOS 5"*) 5811 "SunOS 5"*)
5811 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 5812 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
5812 echo "configure:5813: checking whether -R must be followed by a space" >&5 5813 echo "configure:5814: checking whether -R must be followed by a space" >&5
5813 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 5814 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
5814 cat > conftest.$ac_ext <<EOF 5815 cat > conftest.$ac_ext <<EOF
5815 #line 5816 "configure" 5816 #line 5817 "configure"
5816 #include "confdefs.h" 5817 #include "confdefs.h"
5817 5818
5818 int main() { 5819 int main() {
5819 5820
5820 ; return 0; } 5821 ; return 0; }
5821 EOF 5822 EOF
5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5823 if { (eval echo configure:5824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5823 rm -rf conftest* 5824 rm -rf conftest*
5824 ac_R_nospace=yes 5825 ac_R_nospace=yes
5825 else 5826 else
5826 echo "configure: failed program was:" >&5 5827 echo "configure: failed program was:" >&5
5827 cat conftest.$ac_ext >&5 5828 cat conftest.$ac_ext >&5
5833 echo "$ac_t""no" 1>&6 5834 echo "$ac_t""no" 1>&6
5834 X_LIBS="$X_LIBS -R$x_libraries" 5835 X_LIBS="$X_LIBS -R$x_libraries"
5835 else 5836 else
5836 LIBS="$ac_xsave_LIBS -R $x_libraries" 5837 LIBS="$ac_xsave_LIBS -R $x_libraries"
5837 cat > conftest.$ac_ext <<EOF 5838 cat > conftest.$ac_ext <<EOF
5838 #line 5839 "configure" 5839 #line 5840 "configure"
5839 #include "confdefs.h" 5840 #include "confdefs.h"
5840 5841
5841 int main() { 5842 int main() {
5842 5843
5843 ; return 0; } 5844 ; return 0; }
5844 EOF 5845 EOF
5845 if { (eval echo configure:5846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5846 if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5846 rm -rf conftest* 5847 rm -rf conftest*
5847 ac_R_space=yes 5848 ac_R_space=yes
5848 else 5849 else
5849 echo "configure: failed program was:" >&5 5850 echo "configure: failed program was:" >&5
5850 cat conftest.$ac_ext >&5 5851 cat conftest.$ac_ext >&5
5876 if test "$with_dnet" = "no" ; then 5877 if test "$with_dnet" = "no" ; then
5877 ac_cv_lib_dnet_dnet_ntoa=no 5878 ac_cv_lib_dnet_dnet_ntoa=no
5878 else 5879 else
5879 5880
5880 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 5881 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
5881 echo "configure:5882: checking for dnet_ntoa in -ldnet" >&5 5882 echo "configure:5883: checking for dnet_ntoa in -ldnet" >&5
5882 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5883 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5883 5884
5884 xe_check_libs=" -ldnet " 5885 xe_check_libs=" -ldnet "
5885 cat > conftest.$ac_ext <<EOF 5886 cat > conftest.$ac_ext <<EOF
5886 #line 5887 "configure" 5887 #line 5888 "configure"
5887 #include "confdefs.h" 5888 #include "confdefs.h"
5888 /* Override any gcc2 internal prototype to avoid an error. */ 5889 /* Override any gcc2 internal prototype to avoid an error. */
5889 /* We use char because int might match the return type of a gcc2 5890 /* We use char because int might match the return type of a gcc2
5890 builtin and then its argument prototype would still apply. */ 5891 builtin and then its argument prototype would still apply. */
5891 char dnet_ntoa(); 5892 char dnet_ntoa();
5892 5893
5893 int main() { 5894 int main() {
5894 dnet_ntoa() 5895 dnet_ntoa()
5895 ; return 0; } 5896 ; return 0; }
5896 EOF 5897 EOF
5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5898 rm -rf conftest* 5899 rm -rf conftest*
5899 eval "ac_cv_lib_$ac_lib_var=yes" 5900 eval "ac_cv_lib_$ac_lib_var=yes"
5900 else 5901 else
5901 echo "configure: failed program was:" >&5 5902 echo "configure: failed program was:" >&5
5902 cat conftest.$ac_ext >&5 5903 cat conftest.$ac_ext >&5
5916 fi 5917 fi
5917 5918
5918 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5919 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5919 5920
5920 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 5921 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
5921 echo "configure:5922: checking for dnet_ntoa in -ldnet_stub" >&5 5922 echo "configure:5923: checking for dnet_ntoa in -ldnet_stub" >&5
5922 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5923 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5923 5924
5924 xe_check_libs=" -ldnet_stub " 5925 xe_check_libs=" -ldnet_stub "
5925 cat > conftest.$ac_ext <<EOF 5926 cat > conftest.$ac_ext <<EOF
5926 #line 5927 "configure" 5927 #line 5928 "configure"
5927 #include "confdefs.h" 5928 #include "confdefs.h"
5928 /* Override any gcc2 internal prototype to avoid an error. */ 5929 /* Override any gcc2 internal prototype to avoid an error. */
5929 /* We use char because int might match the return type of a gcc2 5930 /* We use char because int might match the return type of a gcc2
5930 builtin and then its argument prototype would still apply. */ 5931 builtin and then its argument prototype would still apply. */
5931 char dnet_ntoa(); 5932 char dnet_ntoa();
5932 5933
5933 int main() { 5934 int main() {
5934 dnet_ntoa() 5935 dnet_ntoa()
5935 ; return 0; } 5936 ; return 0; }
5936 EOF 5937 EOF
5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5938 if { (eval echo configure:5939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5938 rm -rf conftest* 5939 rm -rf conftest*
5939 eval "ac_cv_lib_$ac_lib_var=yes" 5940 eval "ac_cv_lib_$ac_lib_var=yes"
5940 else 5941 else
5941 echo "configure: failed program was:" >&5 5942 echo "configure: failed program was:" >&5
5942 cat conftest.$ac_ext >&5 5943 cat conftest.$ac_ext >&5
5961 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 5962 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
5962 # needs -lnsl. 5963 # needs -lnsl.
5963 # The nsl library prevents programs from opening the X display 5964 # The nsl library prevents programs from opening the X display
5964 # on Irix 5.2, according to dickey@clark.net. 5965 # on Irix 5.2, according to dickey@clark.net.
5965 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 5966 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5966 echo "configure:5967: checking for gethostbyname" >&5 5967 echo "configure:5968: checking for gethostbyname" >&5
5967 5968
5968 cat > conftest.$ac_ext <<EOF 5969 cat > conftest.$ac_ext <<EOF
5969 #line 5970 "configure" 5970 #line 5971 "configure"
5970 #include "confdefs.h" 5971 #include "confdefs.h"
5971 /* System header to define __stub macros and hopefully few prototypes, 5972 /* System header to define __stub macros and hopefully few prototypes,
5972 which can conflict with char gethostbyname(); below. */ 5973 which can conflict with char gethostbyname(); below. */
5973 #include <assert.h> 5974 #include <assert.h>
5974 /* Override any gcc2 internal prototype to avoid an error. */ 5975 /* Override any gcc2 internal prototype to avoid an error. */
5987 gethostbyname(); 5988 gethostbyname();
5988 #endif 5989 #endif
5989 5990
5990 ; return 0; } 5991 ; return 0; }
5991 EOF 5992 EOF
5992 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5993 if { (eval echo configure:5994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5993 rm -rf conftest* 5994 rm -rf conftest*
5994 eval "ac_cv_func_gethostbyname=yes" 5995 eval "ac_cv_func_gethostbyname=yes"
5995 else 5996 else
5996 echo "configure: failed program was:" >&5 5997 echo "configure: failed program was:" >&5
5997 cat conftest.$ac_ext >&5 5998 cat conftest.$ac_ext >&5
6008 fi 6009 fi
6009 6010
6010 if test $ac_cv_func_gethostbyname = no; then 6011 if test $ac_cv_func_gethostbyname = no; then
6011 6012
6012 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 6013 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6013 echo "configure:6014: checking for gethostbyname in -lnsl" >&5 6014 echo "configure:6015: checking for gethostbyname in -lnsl" >&5
6014 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 6015 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6015 6016
6016 xe_check_libs=" -lnsl " 6017 xe_check_libs=" -lnsl "
6017 cat > conftest.$ac_ext <<EOF 6018 cat > conftest.$ac_ext <<EOF
6018 #line 6019 "configure" 6019 #line 6020 "configure"
6019 #include "confdefs.h" 6020 #include "confdefs.h"
6020 /* Override any gcc2 internal prototype to avoid an error. */ 6021 /* Override any gcc2 internal prototype to avoid an error. */
6021 /* We use char because int might match the return type of a gcc2 6022 /* We use char because int might match the return type of a gcc2
6022 builtin and then its argument prototype would still apply. */ 6023 builtin and then its argument prototype would still apply. */
6023 char gethostbyname(); 6024 char gethostbyname();
6024 6025
6025 int main() { 6026 int main() {
6026 gethostbyname() 6027 gethostbyname()
6027 ; return 0; } 6028 ; return 0; }
6028 EOF 6029 EOF
6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6030 if { (eval echo configure:6031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6030 rm -rf conftest* 6031 rm -rf conftest*
6031 eval "ac_cv_lib_$ac_lib_var=yes" 6032 eval "ac_cv_lib_$ac_lib_var=yes"
6032 else 6033 else
6033 echo "configure: failed program was:" >&5 6034 echo "configure: failed program was:" >&5
6034 cat conftest.$ac_ext >&5 6035 cat conftest.$ac_ext >&5
6054 # on later versions), says simon@lia.di.epfl.ch: it contains 6055 # on later versions), says simon@lia.di.epfl.ch: it contains
6055 # gethostby* variants that don't use the nameserver (or something). 6056 # gethostby* variants that don't use the nameserver (or something).
6056 # -lsocket must be given before -lnsl if both are needed. 6057 # -lsocket must be given before -lnsl if both are needed.
6057 # We assume that if connect needs -lnsl, so does gethostbyname. 6058 # We assume that if connect needs -lnsl, so does gethostbyname.
6058 echo $ac_n "checking for connect""... $ac_c" 1>&6 6059 echo $ac_n "checking for connect""... $ac_c" 1>&6
6059 echo "configure:6060: checking for connect" >&5 6060 echo "configure:6061: checking for connect" >&5
6060 6061
6061 cat > conftest.$ac_ext <<EOF 6062 cat > conftest.$ac_ext <<EOF
6062 #line 6063 "configure" 6063 #line 6064 "configure"
6063 #include "confdefs.h" 6064 #include "confdefs.h"
6064 /* System header to define __stub macros and hopefully few prototypes, 6065 /* System header to define __stub macros and hopefully few prototypes,
6065 which can conflict with char connect(); below. */ 6066 which can conflict with char connect(); below. */
6066 #include <assert.h> 6067 #include <assert.h>
6067 /* Override any gcc2 internal prototype to avoid an error. */ 6068 /* Override any gcc2 internal prototype to avoid an error. */
6080 connect(); 6081 connect();
6081 #endif 6082 #endif
6082 6083
6083 ; return 0; } 6084 ; return 0; }
6084 EOF 6085 EOF
6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6086 if { (eval echo configure:6087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6086 rm -rf conftest* 6087 rm -rf conftest*
6087 eval "ac_cv_func_connect=yes" 6088 eval "ac_cv_func_connect=yes"
6088 else 6089 else
6089 echo "configure: failed program was:" >&5 6090 echo "configure: failed program was:" >&5
6090 cat conftest.$ac_ext >&5 6091 cat conftest.$ac_ext >&5
6103 if test $ac_cv_func_connect = no; then 6104 if test $ac_cv_func_connect = no; then
6104 6105
6105 xe_msg_checking="for connect in -lsocket" 6106 xe_msg_checking="for connect in -lsocket"
6106 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6107 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6108 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 6109 echo "configure:6110: checking "$xe_msg_checking"" >&5
6109 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6110 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6110 6111
6111 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6112 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6112 cat > conftest.$ac_ext <<EOF 6113 cat > conftest.$ac_ext <<EOF
6113 #line 6114 "configure" 6114 #line 6115 "configure"
6114 #include "confdefs.h" 6115 #include "confdefs.h"
6115 /* Override any gcc2 internal prototype to avoid an error. */ 6116 /* Override any gcc2 internal prototype to avoid an error. */
6116 /* We use char because int might match the return type of a gcc2 6117 /* We use char because int might match the return type of a gcc2
6117 builtin and then its argument prototype would still apply. */ 6118 builtin and then its argument prototype would still apply. */
6118 char connect(); 6119 char connect();
6119 6120
6120 int main() { 6121 int main() {
6121 connect() 6122 connect()
6122 ; return 0; } 6123 ; return 0; }
6123 EOF 6124 EOF
6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6125 if { (eval echo configure:6126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6125 rm -rf conftest* 6126 rm -rf conftest*
6126 eval "ac_cv_lib_$ac_lib_var=yes" 6127 eval "ac_cv_lib_$ac_lib_var=yes"
6127 else 6128 else
6128 echo "configure: failed program was:" >&5 6129 echo "configure: failed program was:" >&5
6129 cat conftest.$ac_ext >&5 6130 cat conftest.$ac_ext >&5
6143 6144
6144 fi 6145 fi
6145 6146
6146 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6147 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6147 echo $ac_n "checking for remove""... $ac_c" 1>&6 6148 echo $ac_n "checking for remove""... $ac_c" 1>&6
6148 echo "configure:6149: checking for remove" >&5 6149 echo "configure:6150: checking for remove" >&5
6149 6150
6150 cat > conftest.$ac_ext <<EOF 6151 cat > conftest.$ac_ext <<EOF
6151 #line 6152 "configure" 6152 #line 6153 "configure"
6152 #include "confdefs.h" 6153 #include "confdefs.h"
6153 /* System header to define __stub macros and hopefully few prototypes, 6154 /* System header to define __stub macros and hopefully few prototypes,
6154 which can conflict with char remove(); below. */ 6155 which can conflict with char remove(); below. */
6155 #include <assert.h> 6156 #include <assert.h>
6156 /* Override any gcc2 internal prototype to avoid an error. */ 6157 /* Override any gcc2 internal prototype to avoid an error. */
6169 remove(); 6170 remove();
6170 #endif 6171 #endif
6171 6172
6172 ; return 0; } 6173 ; return 0; }
6173 EOF 6174 EOF
6174 if { (eval echo configure:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6175 if { (eval echo configure:6176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6175 rm -rf conftest* 6176 rm -rf conftest*
6176 eval "ac_cv_func_remove=yes" 6177 eval "ac_cv_func_remove=yes"
6177 else 6178 else
6178 echo "configure: failed program was:" >&5 6179 echo "configure: failed program was:" >&5
6179 cat conftest.$ac_ext >&5 6180 cat conftest.$ac_ext >&5
6190 fi 6191 fi
6191 6192
6192 if test $ac_cv_func_remove = no; then 6193 if test $ac_cv_func_remove = no; then
6193 6194
6194 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6195 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6195 echo "configure:6196: checking for remove in -lposix" >&5 6196 echo "configure:6197: checking for remove in -lposix" >&5
6196 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6197 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6197 6198
6198 xe_check_libs=" -lposix " 6199 xe_check_libs=" -lposix "
6199 cat > conftest.$ac_ext <<EOF 6200 cat > conftest.$ac_ext <<EOF
6200 #line 6201 "configure" 6201 #line 6202 "configure"
6201 #include "confdefs.h" 6202 #include "confdefs.h"
6202 /* Override any gcc2 internal prototype to avoid an error. */ 6203 /* Override any gcc2 internal prototype to avoid an error. */
6203 /* We use char because int might match the return type of a gcc2 6204 /* We use char because int might match the return type of a gcc2
6204 builtin and then its argument prototype would still apply. */ 6205 builtin and then its argument prototype would still apply. */
6205 char remove(); 6206 char remove();
6206 6207
6207 int main() { 6208 int main() {
6208 remove() 6209 remove()
6209 ; return 0; } 6210 ; return 0; }
6210 EOF 6211 EOF
6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6212 if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6212 rm -rf conftest* 6213 rm -rf conftest*
6213 eval "ac_cv_lib_$ac_lib_var=yes" 6214 eval "ac_cv_lib_$ac_lib_var=yes"
6214 else 6215 else
6215 echo "configure: failed program was:" >&5 6216 echo "configure: failed program was:" >&5
6216 cat conftest.$ac_ext >&5 6217 cat conftest.$ac_ext >&5
6230 6231
6231 fi 6232 fi
6232 6233
6233 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6234 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6234 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6235 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6235 echo "configure:6236: checking for shmat" >&5 6236 echo "configure:6237: checking for shmat" >&5
6236 6237
6237 cat > conftest.$ac_ext <<EOF 6238 cat > conftest.$ac_ext <<EOF
6238 #line 6239 "configure" 6239 #line 6240 "configure"
6239 #include "confdefs.h" 6240 #include "confdefs.h"
6240 /* System header to define __stub macros and hopefully few prototypes, 6241 /* System header to define __stub macros and hopefully few prototypes,
6241 which can conflict with char shmat(); below. */ 6242 which can conflict with char shmat(); below. */
6242 #include <assert.h> 6243 #include <assert.h>
6243 /* Override any gcc2 internal prototype to avoid an error. */ 6244 /* Override any gcc2 internal prototype to avoid an error. */
6256 shmat(); 6257 shmat();
6257 #endif 6258 #endif
6258 6259
6259 ; return 0; } 6260 ; return 0; }
6260 EOF 6261 EOF
6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6262 if { (eval echo configure:6263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6262 rm -rf conftest* 6263 rm -rf conftest*
6263 eval "ac_cv_func_shmat=yes" 6264 eval "ac_cv_func_shmat=yes"
6264 else 6265 else
6265 echo "configure: failed program was:" >&5 6266 echo "configure: failed program was:" >&5
6266 cat conftest.$ac_ext >&5 6267 cat conftest.$ac_ext >&5
6277 fi 6278 fi
6278 6279
6279 if test $ac_cv_func_shmat = no; then 6280 if test $ac_cv_func_shmat = no; then
6280 6281
6281 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6282 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6282 echo "configure:6283: checking for shmat in -lipc" >&5 6283 echo "configure:6284: checking for shmat in -lipc" >&5
6283 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6284 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6284 6285
6285 xe_check_libs=" -lipc " 6286 xe_check_libs=" -lipc "
6286 cat > conftest.$ac_ext <<EOF 6287 cat > conftest.$ac_ext <<EOF
6287 #line 6288 "configure" 6288 #line 6289 "configure"
6288 #include "confdefs.h" 6289 #include "confdefs.h"
6289 /* Override any gcc2 internal prototype to avoid an error. */ 6290 /* Override any gcc2 internal prototype to avoid an error. */
6290 /* We use char because int might match the return type of a gcc2 6291 /* We use char because int might match the return type of a gcc2
6291 builtin and then its argument prototype would still apply. */ 6292 builtin and then its argument prototype would still apply. */
6292 char shmat(); 6293 char shmat();
6293 6294
6294 int main() { 6295 int main() {
6295 shmat() 6296 shmat()
6296 ; return 0; } 6297 ; return 0; }
6297 EOF 6298 EOF
6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6299 if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6299 rm -rf conftest* 6300 rm -rf conftest*
6300 eval "ac_cv_lib_$ac_lib_var=yes" 6301 eval "ac_cv_lib_$ac_lib_var=yes"
6301 else 6302 else
6302 echo "configure: failed program was:" >&5 6303 echo "configure: failed program was:" >&5
6303 cat conftest.$ac_ext >&5 6304 cat conftest.$ac_ext >&5
6329 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6330 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6330 6331
6331 xe_msg_checking="for IceConnectionNumber in -lICE" 6332 xe_msg_checking="for IceConnectionNumber in -lICE"
6332 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6333 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6333 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6334 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6334 echo "configure:6335: checking "$xe_msg_checking"" >&5 6335 echo "configure:6336: checking "$xe_msg_checking"" >&5
6335 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6336 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6336 6337
6337 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6338 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6338 cat > conftest.$ac_ext <<EOF 6339 cat > conftest.$ac_ext <<EOF
6339 #line 6340 "configure" 6340 #line 6341 "configure"
6340 #include "confdefs.h" 6341 #include "confdefs.h"
6341 /* Override any gcc2 internal prototype to avoid an error. */ 6342 /* Override any gcc2 internal prototype to avoid an error. */
6342 /* We use char because int might match the return type of a gcc2 6343 /* We use char because int might match the return type of a gcc2
6343 builtin and then its argument prototype would still apply. */ 6344 builtin and then its argument prototype would still apply. */
6344 char IceConnectionNumber(); 6345 char IceConnectionNumber();
6345 6346
6346 int main() { 6347 int main() {
6347 IceConnectionNumber() 6348 IceConnectionNumber()
6348 ; return 0; } 6349 ; return 0; }
6349 EOF 6350 EOF
6350 if { (eval echo configure:6351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6351 if { (eval echo configure:6352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6351 rm -rf conftest* 6352 rm -rf conftest*
6352 eval "ac_cv_lib_$ac_lib_var=yes" 6353 eval "ac_cv_lib_$ac_lib_var=yes"
6353 else 6354 else
6354 echo "configure: failed program was:" >&5 6355 echo "configure: failed program was:" >&5
6355 cat conftest.$ac_ext >&5 6356 cat conftest.$ac_ext >&5
6512 EOF 6513 EOF
6513 } 6514 }
6514 6515
6515 6516
6516 echo "checking for X defines extracted by xmkmf" 1>&6 6517 echo "checking for X defines extracted by xmkmf" 1>&6
6517 echo "configure:6518: checking for X defines extracted by xmkmf" >&5 6518 echo "configure:6519: checking for X defines extracted by xmkmf" >&5
6518 rm -fr conftestdir 6519 rm -fr conftestdir
6519 if mkdir conftestdir; then 6520 if mkdir conftestdir; then
6520 cd conftestdir 6521 cd conftestdir
6521 cat > Imakefile <<'EOF' 6522 cat > Imakefile <<'EOF'
6522 xetest: 6523 xetest:
6561 done 6562 done
6562 fi 6563 fi
6563 6564
6564 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6565 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6565 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6566 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6566 echo "configure:6567: checking for X11/Intrinsic.h" >&5 6567 echo "configure:6568: checking for X11/Intrinsic.h" >&5
6567 6568
6568 cat > conftest.$ac_ext <<EOF 6569 cat > conftest.$ac_ext <<EOF
6569 #line 6570 "configure" 6570 #line 6571 "configure"
6570 #include "confdefs.h" 6571 #include "confdefs.h"
6571 #include <X11/Intrinsic.h> 6572 #include <X11/Intrinsic.h>
6572 EOF 6573 EOF
6573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6574 { (eval echo configure:6575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6575 { (eval echo configure:6576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6576 if test -z "$ac_err"; then 6577 if test -z "$ac_err"; then
6577 rm -rf conftest* 6578 rm -rf conftest*
6578 eval "ac_cv_header_$ac_safe=yes" 6579 eval "ac_cv_header_$ac_safe=yes"
6579 else 6580 else
6593 fi 6594 fi
6594 6595
6595 6596
6596 6597
6597 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6598 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6598 echo "configure:6599: checking for XOpenDisplay in -lX11" >&5 6599 echo "configure:6600: checking for XOpenDisplay in -lX11" >&5
6599 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6600 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6600 6601
6601 xe_check_libs=" -lX11 " 6602 xe_check_libs=" -lX11 "
6602 cat > conftest.$ac_ext <<EOF 6603 cat > conftest.$ac_ext <<EOF
6603 #line 6604 "configure" 6604 #line 6605 "configure"
6604 #include "confdefs.h" 6605 #include "confdefs.h"
6605 /* Override any gcc2 internal prototype to avoid an error. */ 6606 /* Override any gcc2 internal prototype to avoid an error. */
6606 /* We use char because int might match the return type of a gcc2 6607 /* We use char because int might match the return type of a gcc2
6607 builtin and then its argument prototype would still apply. */ 6608 builtin and then its argument prototype would still apply. */
6608 char XOpenDisplay(); 6609 char XOpenDisplay();
6609 6610
6610 int main() { 6611 int main() {
6611 XOpenDisplay() 6612 XOpenDisplay()
6612 ; return 0; } 6613 ; return 0; }
6613 EOF 6614 EOF
6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6615 rm -rf conftest* 6616 rm -rf conftest*
6616 eval "ac_cv_lib_$ac_lib_var=yes" 6617 eval "ac_cv_lib_$ac_lib_var=yes"
6617 else 6618 else
6618 echo "configure: failed program was:" >&5 6619 echo "configure: failed program was:" >&5
6619 cat conftest.$ac_ext >&5 6620 cat conftest.$ac_ext >&5
6634 if test "$have_lib_x11" != "yes"; then 6635 if test "$have_lib_x11" != "yes"; then
6635 6636
6636 xe_msg_checking="for XGetFontProperty in -lX11" 6637 xe_msg_checking="for XGetFontProperty in -lX11"
6637 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 6638 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
6638 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6639 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6639 echo "configure:6640: checking "$xe_msg_checking"" >&5 6640 echo "configure:6641: checking "$xe_msg_checking"" >&5
6640 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 6641 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
6641 6642
6642 xe_check_libs=" -lX11 -b i486-linuxaout" 6643 xe_check_libs=" -lX11 -b i486-linuxaout"
6643 cat > conftest.$ac_ext <<EOF 6644 cat > conftest.$ac_ext <<EOF
6644 #line 6645 "configure" 6645 #line 6646 "configure"
6645 #include "confdefs.h" 6646 #include "confdefs.h"
6646 /* Override any gcc2 internal prototype to avoid an error. */ 6647 /* Override any gcc2 internal prototype to avoid an error. */
6647 /* We use char because int might match the return type of a gcc2 6648 /* We use char because int might match the return type of a gcc2
6648 builtin and then its argument prototype would still apply. */ 6649 builtin and then its argument prototype would still apply. */
6649 char XGetFontProperty(); 6650 char XGetFontProperty();
6650 6651
6651 int main() { 6652 int main() {
6652 XGetFontProperty() 6653 XGetFontProperty()
6653 ; return 0; } 6654 ; return 0; }
6654 EOF 6655 EOF
6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6656 rm -rf conftest* 6657 rm -rf conftest*
6657 eval "ac_cv_lib_$ac_lib_var=yes" 6658 eval "ac_cv_lib_$ac_lib_var=yes"
6658 else 6659 else
6659 echo "configure: failed program was:" >&5 6660 echo "configure: failed program was:" >&5
6660 cat conftest.$ac_ext >&5 6661 cat conftest.$ac_ext >&5
6677 libs_x="-lX11" 6678 libs_x="-lX11"
6678 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 6679 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
6679 6680
6680 6681
6681 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 6682 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
6682 echo "configure:6683: checking for XShapeSelectInput in -lXext" >&5 6683 echo "configure:6684: checking for XShapeSelectInput in -lXext" >&5
6683 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 6684 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
6684 6685
6685 xe_check_libs=" -lXext " 6686 xe_check_libs=" -lXext "
6686 cat > conftest.$ac_ext <<EOF 6687 cat > conftest.$ac_ext <<EOF
6687 #line 6688 "configure" 6688 #line 6689 "configure"
6688 #include "confdefs.h" 6689 #include "confdefs.h"
6689 /* Override any gcc2 internal prototype to avoid an error. */ 6690 /* Override any gcc2 internal prototype to avoid an error. */
6690 /* We use char because int might match the return type of a gcc2 6691 /* We use char because int might match the return type of a gcc2
6691 builtin and then its argument prototype would still apply. */ 6692 builtin and then its argument prototype would still apply. */
6692 char XShapeSelectInput(); 6693 char XShapeSelectInput();
6693 6694
6694 int main() { 6695 int main() {
6695 XShapeSelectInput() 6696 XShapeSelectInput()
6696 ; return 0; } 6697 ; return 0; }
6697 EOF 6698 EOF
6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6699 rm -rf conftest* 6700 rm -rf conftest*
6700 eval "ac_cv_lib_$ac_lib_var=yes" 6701 eval "ac_cv_lib_$ac_lib_var=yes"
6701 else 6702 else
6702 echo "configure: failed program was:" >&5 6703 echo "configure: failed program was:" >&5
6703 cat conftest.$ac_ext >&5 6704 cat conftest.$ac_ext >&5
6716 6717
6717 6718
6718 6719
6719 6720
6720 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 6721 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
6721 echo "configure:6722: checking for XtOpenDisplay in -lXt" >&5 6722 echo "configure:6723: checking for XtOpenDisplay in -lXt" >&5
6722 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 6723 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
6723 6724
6724 xe_check_libs=" -lXt " 6725 xe_check_libs=" -lXt "
6725 cat > conftest.$ac_ext <<EOF 6726 cat > conftest.$ac_ext <<EOF
6726 #line 6727 "configure" 6727 #line 6728 "configure"
6727 #include "confdefs.h" 6728 #include "confdefs.h"
6728 /* Override any gcc2 internal prototype to avoid an error. */ 6729 /* Override any gcc2 internal prototype to avoid an error. */
6729 /* We use char because int might match the return type of a gcc2 6730 /* We use char because int might match the return type of a gcc2
6730 builtin and then its argument prototype would still apply. */ 6731 builtin and then its argument prototype would still apply. */
6731 char XtOpenDisplay(); 6732 char XtOpenDisplay();
6732 6733
6733 int main() { 6734 int main() {
6734 XtOpenDisplay() 6735 XtOpenDisplay()
6735 ; return 0; } 6736 ; return 0; }
6736 EOF 6737 EOF
6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6738 if { (eval echo configure:6739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6738 rm -rf conftest* 6739 rm -rf conftest*
6739 eval "ac_cv_lib_$ac_lib_var=yes" 6740 eval "ac_cv_lib_$ac_lib_var=yes"
6740 else 6741 else
6741 echo "configure: failed program was:" >&5 6742 echo "configure: failed program was:" >&5
6742 cat conftest.$ac_ext >&5 6743 cat conftest.$ac_ext >&5
6755 fi 6756 fi
6756 6757
6757 6758
6758 6759
6759 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 6760 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
6760 echo "configure:6761: checking the version of X11 being used" >&5 6761 echo "configure:6762: checking the version of X11 being used" >&5
6761 cat > conftest.$ac_ext <<EOF 6762 cat > conftest.$ac_ext <<EOF
6762 #line 6763 "configure" 6763 #line 6764 "configure"
6763 #include "confdefs.h" 6764 #include "confdefs.h"
6764 #include <X11/Intrinsic.h> 6765 #include <X11/Intrinsic.h>
6765 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 6766 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
6766 EOF 6767 EOF
6767 if { (eval echo configure:6768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6768 if { (eval echo configure:6769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6768 then 6769 then
6769 ./conftest foobar; x11_release=$? 6770 ./conftest foobar; x11_release=$?
6770 else 6771 else
6771 conftest_rc="$?" 6772 conftest_rc="$?"
6772 echo "configure: failed program was:" >&5 6773 echo "configure: failed program was:" >&5
6793 fi 6794 fi
6794 6795
6795 for ac_func in XConvertCase 6796 for ac_func in XConvertCase
6796 do 6797 do
6797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6798 echo "configure:6799: checking for $ac_func" >&5 6799 echo "configure:6800: checking for $ac_func" >&5
6799 6800
6800 cat > conftest.$ac_ext <<EOF 6801 cat > conftest.$ac_ext <<EOF
6801 #line 6802 "configure" 6802 #line 6803 "configure"
6802 #include "confdefs.h" 6803 #include "confdefs.h"
6803 /* System header to define __stub macros and hopefully few prototypes, 6804 /* System header to define __stub macros and hopefully few prototypes,
6804 which can conflict with char $ac_func(); below. */ 6805 which can conflict with char $ac_func(); below. */
6805 #include <assert.h> 6806 #include <assert.h>
6806 /* Override any gcc2 internal prototype to avoid an error. */ 6807 /* Override any gcc2 internal prototype to avoid an error. */
6819 $ac_func(); 6820 $ac_func();
6820 #endif 6821 #endif
6821 6822
6822 ; return 0; } 6823 ; return 0; }
6823 EOF 6824 EOF
6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6825 if { (eval echo configure:6826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6825 rm -rf conftest* 6826 rm -rf conftest*
6826 eval "ac_cv_func_$ac_func=yes" 6827 eval "ac_cv_func_$ac_func=yes"
6827 else 6828 else
6828 echo "configure: failed program was:" >&5 6829 echo "configure: failed program was:" >&5
6829 cat conftest.$ac_ext >&5 6830 cat conftest.$ac_ext >&5
6851 6852
6852 for ac_hdr in X11/Xlocale.h 6853 for ac_hdr in X11/Xlocale.h
6853 do 6854 do
6854 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6856 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6856 echo "configure:6857: checking for $ac_hdr" >&5 6857 echo "configure:6858: checking for $ac_hdr" >&5
6857 6858
6858 cat > conftest.$ac_ext <<EOF 6859 cat > conftest.$ac_ext <<EOF
6859 #line 6860 "configure" 6860 #line 6861 "configure"
6860 #include "confdefs.h" 6861 #include "confdefs.h"
6861 #include <$ac_hdr> 6862 #include <$ac_hdr>
6862 EOF 6863 EOF
6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6865 { (eval echo configure:6866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6866 if test -z "$ac_err"; then 6867 if test -z "$ac_err"; then
6867 rm -rf conftest* 6868 rm -rf conftest*
6868 eval "ac_cv_header_$ac_safe=yes" 6869 eval "ac_cv_header_$ac_safe=yes"
6869 else 6870 else
6892 6893
6893 6894
6894 for ac_func in XRegisterIMInstantiateCallback 6895 for ac_func in XRegisterIMInstantiateCallback
6895 do 6896 do
6896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6897 echo "configure:6898: checking for $ac_func" >&5 6898 echo "configure:6899: checking for $ac_func" >&5
6898 6899
6899 cat > conftest.$ac_ext <<EOF 6900 cat > conftest.$ac_ext <<EOF
6900 #line 6901 "configure" 6901 #line 6902 "configure"
6901 #include "confdefs.h" 6902 #include "confdefs.h"
6902 /* System header to define __stub macros and hopefully few prototypes, 6903 /* System header to define __stub macros and hopefully few prototypes,
6903 which can conflict with char $ac_func(); below. */ 6904 which can conflict with char $ac_func(); below. */
6904 #include <assert.h> 6905 #include <assert.h>
6905 /* Override any gcc2 internal prototype to avoid an error. */ 6906 /* Override any gcc2 internal prototype to avoid an error. */
6918 $ac_func(); 6919 $ac_func();
6919 #endif 6920 #endif
6920 6921
6921 ; return 0; } 6922 ; return 0; }
6922 EOF 6923 EOF
6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6924 if { (eval echo configure:6925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6924 rm -rf conftest* 6925 rm -rf conftest*
6925 eval "ac_cv_func_$ac_func=yes" 6926 eval "ac_cv_func_$ac_func=yes"
6926 else 6927 else
6927 echo "configure: failed program was:" >&5 6928 echo "configure: failed program was:" >&5
6928 cat conftest.$ac_ext >&5 6929 cat conftest.$ac_ext >&5
6946 echo "$ac_t""no" 1>&6 6947 echo "$ac_t""no" 1>&6
6947 fi 6948 fi
6948 done 6949 done
6949 6950
6950 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 6951 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
6951 echo "configure:6952: checking for standard XRegisterIMInstantiateCallback prototype" >&5 6952 echo "configure:6953: checking for standard XRegisterIMInstantiateCallback prototype" >&5
6952 cat > conftest.$ac_ext <<EOF 6953 cat > conftest.$ac_ext <<EOF
6953 #line 6954 "configure" 6954 #line 6955 "configure"
6954 #include "confdefs.h" 6955 #include "confdefs.h"
6955 6956
6956 #define NeedFunctionPrototypes 1 6957 #define NeedFunctionPrototypes 1
6957 #include <X11/Xlib.h> 6958 #include <X11/Xlib.h>
6958 extern Bool XRegisterIMInstantiateCallback( 6959 extern Bool XRegisterIMInstantiateCallback(
6960 6961
6961 int main() { 6962 int main() {
6962 6963
6963 ; return 0; } 6964 ; return 0; }
6964 EOF 6965 EOF
6965 if { (eval echo configure:6966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6966 if { (eval echo configure:6967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6966 rm -rf conftest* 6967 rm -rf conftest*
6967 echo "$ac_t""yes" 1>&6 6968 echo "$ac_t""yes" 1>&6
6968 else 6969 else
6969 echo "configure: failed program was:" >&5 6970 echo "configure: failed program was:" >&5
6970 cat conftest.$ac_ext >&5 6971 cat conftest.$ac_ext >&5
6981 fi 6982 fi
6982 rm -f conftest* 6983 rm -f conftest*
6983 6984
6984 test -z "$with_xmu" && { 6985 test -z "$with_xmu" && {
6985 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 6986 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
6986 echo "configure:6987: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 6987 echo "configure:6988: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
6987 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 6988 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
6988 6989
6989 xe_check_libs=" -lXmu " 6990 xe_check_libs=" -lXmu "
6990 cat > conftest.$ac_ext <<EOF 6991 cat > conftest.$ac_ext <<EOF
6991 #line 6992 "configure" 6992 #line 6993 "configure"
6992 #include "confdefs.h" 6993 #include "confdefs.h"
6993 /* Override any gcc2 internal prototype to avoid an error. */ 6994 /* Override any gcc2 internal prototype to avoid an error. */
6994 /* We use char because int might match the return type of a gcc2 6995 /* We use char because int might match the return type of a gcc2
6995 builtin and then its argument prototype would still apply. */ 6996 builtin and then its argument prototype would still apply. */
6996 char XmuReadBitmapDataFromFile(); 6997 char XmuReadBitmapDataFromFile();
6997 6998
6998 int main() { 6999 int main() {
6999 XmuReadBitmapDataFromFile() 7000 XmuReadBitmapDataFromFile()
7000 ; return 0; } 7001 ; return 0; }
7001 EOF 7002 EOF
7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7003 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7003 rm -rf conftest* 7004 rm -rf conftest*
7004 eval "ac_cv_lib_$ac_lib_var=yes" 7005 eval "ac_cv_lib_$ac_lib_var=yes"
7005 else 7006 else
7006 echo "configure: failed program was:" >&5 7007 echo "configure: failed program was:" >&5
7007 cat conftest.$ac_ext >&5 7008 cat conftest.$ac_ext >&5
7036 7037
7037 fi 7038 fi
7038 7039
7039 7040
7040 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7041 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7041 echo "configure:7042: checking for main in -lXbsd" >&5 7042 echo "configure:7043: checking for main in -lXbsd" >&5
7042 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7043 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7043 7044
7044 xe_check_libs=" -lXbsd " 7045 xe_check_libs=" -lXbsd "
7045 cat > conftest.$ac_ext <<EOF 7046 cat > conftest.$ac_ext <<EOF
7046 #line 7047 "configure" 7047 #line 7048 "configure"
7047 #include "confdefs.h" 7048 #include "confdefs.h"
7048 7049
7049 int main() { 7050 int main() {
7050 main() 7051 main()
7051 ; return 0; } 7052 ; return 0; }
7052 EOF 7053 EOF
7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7054 if { (eval echo configure:7055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7054 rm -rf conftest* 7055 rm -rf conftest*
7055 eval "ac_cv_lib_$ac_lib_var=yes" 7056 eval "ac_cv_lib_$ac_lib_var=yes"
7056 else 7057 else
7057 echo "configure: failed program was:" >&5 7058 echo "configure: failed program was:" >&5
7058 cat conftest.$ac_ext >&5 7059 cat conftest.$ac_ext >&5
7085 fi 7086 fi
7086 7087
7087 fi 7088 fi
7088 if test "$with_msw" != "no"; then 7089 if test "$with_msw" != "no"; then
7089 echo "checking for MS-Windows" 1>&6 7090 echo "checking for MS-Windows" 1>&6
7090 echo "configure:7091: checking for MS-Windows" >&5 7091 echo "configure:7092: checking for MS-Windows" >&5
7091 7092
7092 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7093 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7093 echo "configure:7094: checking for main in -lgdi32" >&5 7094 echo "configure:7095: checking for main in -lgdi32" >&5
7094 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7095 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7095 7096
7096 xe_check_libs=" -lgdi32 " 7097 xe_check_libs=" -lgdi32 "
7097 cat > conftest.$ac_ext <<EOF 7098 cat > conftest.$ac_ext <<EOF
7098 #line 7099 "configure" 7099 #line 7100 "configure"
7099 #include "confdefs.h" 7100 #include "confdefs.h"
7100 7101
7101 int main() { 7102 int main() {
7102 main() 7103 main()
7103 ; return 0; } 7104 ; return 0; }
7104 EOF 7105 EOF
7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7106 if { (eval echo configure:7107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7106 rm -rf conftest* 7107 rm -rf conftest*
7107 eval "ac_cv_lib_$ac_lib_var=yes" 7108 eval "ac_cv_lib_$ac_lib_var=yes"
7108 else 7109 else
7109 echo "configure: failed program was:" >&5 7110 echo "configure: failed program was:" >&5
7110 cat conftest.$ac_ext >&5 7111 cat conftest.$ac_ext >&5
7151 test "$with_toolbars" != "no" && with_toolbars=msw 7152 test "$with_toolbars" != "no" && with_toolbars=msw
7152 test "$with_dialogs" != "no" && with_dialogs=msw 7153 test "$with_dialogs" != "no" && with_dialogs=msw
7153 test "$with_widgets" != "no" && with_widgets=msw 7154 test "$with_widgets" != "no" && with_widgets=msw
7154 fi 7155 fi
7155 cat > conftest.$ac_ext <<EOF 7156 cat > conftest.$ac_ext <<EOF
7156 #line 7157 "configure" 7157 #line 7158 "configure"
7157 #include "confdefs.h" 7158 #include "confdefs.h"
7158 #include <fcntl.h> 7159 #include <fcntl.h>
7159 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7160 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7160 EOF 7161 EOF
7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7162 if { (eval echo configure:7163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7162 then 7163 then
7163 { test "$extra_verbose" = "yes" && cat << \EOF 7164 { test "$extra_verbose" = "yes" && cat << \EOF
7164 Defining HAVE_MSG_SELECT 7165 Defining HAVE_MSG_SELECT
7165 EOF 7166 EOF
7166 cat >> confdefs.h <<\EOF 7167 cat >> confdefs.h <<\EOF
7217 fi 7218 fi
7218 7219
7219 if test "$with_x11" = "yes"; then 7220 if test "$with_x11" = "yes"; then
7220 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7221 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7221 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7222 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7222 echo "configure:7223: checking for X11/extensions/shape.h" >&5 7223 echo "configure:7224: checking for X11/extensions/shape.h" >&5
7223 7224
7224 cat > conftest.$ac_ext <<EOF 7225 cat > conftest.$ac_ext <<EOF
7225 #line 7226 "configure" 7226 #line 7227 "configure"
7226 #include "confdefs.h" 7227 #include "confdefs.h"
7227 #include <X11/extensions/shape.h> 7228 #include <X11/extensions/shape.h>
7228 EOF 7229 EOF
7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7231 { (eval echo configure:7232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7232 if test -z "$ac_err"; then 7233 if test -z "$ac_err"; then
7233 rm -rf conftest* 7234 rm -rf conftest*
7234 eval "ac_cv_header_$ac_safe=yes" 7235 eval "ac_cv_header_$ac_safe=yes"
7235 else 7236 else
7275 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7276 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7276 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7277 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7277 esac 7278 esac
7278 7279
7279 echo "checking for WM_COMMAND option" 1>&6 7280 echo "checking for WM_COMMAND option" 1>&6
7280 echo "configure:7281: checking for WM_COMMAND option" >&5; 7281 echo "configure:7282: checking for WM_COMMAND option" >&5;
7281 if test "$with_wmcommand" != "no"; then 7282 if test "$with_wmcommand" != "no"; then
7282 { test "$extra_verbose" = "yes" && cat << \EOF 7283 { test "$extra_verbose" = "yes" && cat << \EOF
7283 Defining HAVE_WMCOMMAND 7284 Defining HAVE_WMCOMMAND
7284 EOF 7285 EOF
7285 cat >> confdefs.h <<\EOF 7286 cat >> confdefs.h <<\EOF
7290 fi 7291 fi
7291 7292
7292 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7293 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7293 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7294 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7294 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7295 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7295 echo "configure:7296: checking for X11/Xauth.h" >&5 7296 echo "configure:7297: checking for X11/Xauth.h" >&5
7296 7297
7297 cat > conftest.$ac_ext <<EOF 7298 cat > conftest.$ac_ext <<EOF
7298 #line 7299 "configure" 7299 #line 7300 "configure"
7299 #include "confdefs.h" 7300 #include "confdefs.h"
7300 #include <X11/Xauth.h> 7301 #include <X11/Xauth.h>
7301 EOF 7302 EOF
7302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7303 { (eval echo configure:7304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7304 { (eval echo configure:7305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7305 if test -z "$ac_err"; then 7306 if test -z "$ac_err"; then
7306 rm -rf conftest* 7307 rm -rf conftest*
7307 eval "ac_cv_header_$ac_safe=yes" 7308 eval "ac_cv_header_$ac_safe=yes"
7308 else 7309 else
7321 with_xauth=no 7322 with_xauth=no
7322 fi 7323 fi
7323 } 7324 }
7324 test -z "$with_xauth" && { 7325 test -z "$with_xauth" && {
7325 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7326 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7326 echo "configure:7327: checking for XauGetAuthByAddr in -lXau" >&5 7327 echo "configure:7328: checking for XauGetAuthByAddr in -lXau" >&5
7327 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7328 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7328 7329
7329 xe_check_libs=" -lXau " 7330 xe_check_libs=" -lXau "
7330 cat > conftest.$ac_ext <<EOF 7331 cat > conftest.$ac_ext <<EOF
7331 #line 7332 "configure" 7332 #line 7333 "configure"
7332 #include "confdefs.h" 7333 #include "confdefs.h"
7333 /* Override any gcc2 internal prototype to avoid an error. */ 7334 /* Override any gcc2 internal prototype to avoid an error. */
7334 /* We use char because int might match the return type of a gcc2 7335 /* We use char because int might match the return type of a gcc2
7335 builtin and then its argument prototype would still apply. */ 7336 builtin and then its argument prototype would still apply. */
7336 char XauGetAuthByAddr(); 7337 char XauGetAuthByAddr();
7337 7338
7338 int main() { 7339 int main() {
7339 XauGetAuthByAddr() 7340 XauGetAuthByAddr()
7340 ; return 0; } 7341 ; return 0; }
7341 EOF 7342 EOF
7342 if { (eval echo configure:7343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7343 rm -rf conftest* 7344 rm -rf conftest*
7344 eval "ac_cv_lib_$ac_lib_var=yes" 7345 eval "ac_cv_lib_$ac_lib_var=yes"
7345 else 7346 else
7346 echo "configure: failed program was:" >&5 7347 echo "configure: failed program was:" >&5
7347 cat conftest.$ac_ext >&5 7348 cat conftest.$ac_ext >&5
7382 7383
7383 if test "$with_tooltalk" != "no" ; then 7384 if test "$with_tooltalk" != "no" ; then
7384 for dir in "" "Tt/" "desktop/" ; do 7385 for dir in "" "Tt/" "desktop/" ; do
7385 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 7386 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
7386 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 7387 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
7387 echo "configure:7388: checking for ${dir}tt_c.h" >&5 7388 echo "configure:7389: checking for ${dir}tt_c.h" >&5
7388 7389
7389 cat > conftest.$ac_ext <<EOF 7390 cat > conftest.$ac_ext <<EOF
7390 #line 7391 "configure" 7391 #line 7392 "configure"
7391 #include "confdefs.h" 7392 #include "confdefs.h"
7392 #include <${dir}tt_c.h> 7393 #include <${dir}tt_c.h>
7393 EOF 7394 EOF
7394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7395 { (eval echo configure:7396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7396 { (eval echo configure:7397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7397 if test -z "$ac_err"; then 7398 if test -z "$ac_err"; then
7398 rm -rf conftest* 7399 rm -rf conftest*
7399 eval "ac_cv_header_$ac_safe=yes" 7400 eval "ac_cv_header_$ac_safe=yes"
7400 else 7401 else
7426 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 7427 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
7427 7428
7428 xe_msg_checking="for tt_message_create in -ltt" 7429 xe_msg_checking="for tt_message_create in -ltt"
7429 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 7430 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
7430 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7431 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7431 echo "configure:7432: checking "$xe_msg_checking"" >&5 7432 echo "configure:7433: checking "$xe_msg_checking"" >&5
7432 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 7433 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
7433 7434
7434 xe_check_libs=" -ltt $extra_libs" 7435 xe_check_libs=" -ltt $extra_libs"
7435 cat > conftest.$ac_ext <<EOF 7436 cat > conftest.$ac_ext <<EOF
7436 #line 7437 "configure" 7437 #line 7438 "configure"
7437 #include "confdefs.h" 7438 #include "confdefs.h"
7438 /* Override any gcc2 internal prototype to avoid an error. */ 7439 /* Override any gcc2 internal prototype to avoid an error. */
7439 /* We use char because int might match the return type of a gcc2 7440 /* We use char because int might match the return type of a gcc2
7440 builtin and then its argument prototype would still apply. */ 7441 builtin and then its argument prototype would still apply. */
7441 char tt_message_create(); 7442 char tt_message_create();
7442 7443
7443 int main() { 7444 int main() {
7444 tt_message_create() 7445 tt_message_create()
7445 ; return 0; } 7446 ; return 0; }
7446 EOF 7447 EOF
7447 if { (eval echo configure:7448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7448 if { (eval echo configure:7449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7448 rm -rf conftest* 7449 rm -rf conftest*
7449 eval "ac_cv_lib_$ac_lib_var=yes" 7450 eval "ac_cv_lib_$ac_lib_var=yes"
7450 else 7451 else
7451 echo "configure: failed program was:" >&5 7452 echo "configure: failed program was:" >&5
7452 cat conftest.$ac_ext >&5 7453 cat conftest.$ac_ext >&5
7496 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 7497 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
7497 fi 7498 fi
7498 7499
7499 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 7500 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
7500 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 7501 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
7501 echo "configure:7502: checking for Dt/Dt.h" >&5 7502 echo "configure:7503: checking for Dt/Dt.h" >&5
7502 7503
7503 cat > conftest.$ac_ext <<EOF 7504 cat > conftest.$ac_ext <<EOF
7504 #line 7505 "configure" 7505 #line 7506 "configure"
7505 #include "confdefs.h" 7506 #include "confdefs.h"
7506 #include <Dt/Dt.h> 7507 #include <Dt/Dt.h>
7507 EOF 7508 EOF
7508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7509 { (eval echo configure:7510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7510 { (eval echo configure:7511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7511 if test -z "$ac_err"; then 7512 if test -z "$ac_err"; then
7512 rm -rf conftest* 7513 rm -rf conftest*
7513 eval "ac_cv_header_$ac_safe=yes" 7514 eval "ac_cv_header_$ac_safe=yes"
7514 else 7515 else
7527 with_cde=no 7528 with_cde=no
7528 fi 7529 fi
7529 } 7530 }
7530 test -z "$with_cde" && { 7531 test -z "$with_cde" && {
7531 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 7532 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
7532 echo "configure:7533: checking for DtDndDragStart in -lDtSvc" >&5 7533 echo "configure:7534: checking for DtDndDragStart in -lDtSvc" >&5
7533 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 7534 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
7534 7535
7535 xe_check_libs=" -lDtSvc " 7536 xe_check_libs=" -lDtSvc "
7536 cat > conftest.$ac_ext <<EOF 7537 cat > conftest.$ac_ext <<EOF
7537 #line 7538 "configure" 7538 #line 7539 "configure"
7538 #include "confdefs.h" 7539 #include "confdefs.h"
7539 /* Override any gcc2 internal prototype to avoid an error. */ 7540 /* Override any gcc2 internal prototype to avoid an error. */
7540 /* We use char because int might match the return type of a gcc2 7541 /* We use char because int might match the return type of a gcc2
7541 builtin and then its argument prototype would still apply. */ 7542 builtin and then its argument prototype would still apply. */
7542 char DtDndDragStart(); 7543 char DtDndDragStart();
7543 7544
7544 int main() { 7545 int main() {
7545 DtDndDragStart() 7546 DtDndDragStart()
7546 ; return 0; } 7547 ; return 0; }
7547 EOF 7548 EOF
7548 if { (eval echo configure:7549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7549 if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7549 rm -rf conftest* 7550 rm -rf conftest*
7550 eval "ac_cv_lib_$ac_lib_var=yes" 7551 eval "ac_cv_lib_$ac_lib_var=yes"
7551 else 7552 else
7552 echo "configure: failed program was:" >&5 7553 echo "configure: failed program was:" >&5
7553 cat conftest.$ac_ext >&5 7554 cat conftest.$ac_ext >&5
7624 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 7625 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
7625 fi 7626 fi
7626 7627
7627 if test "$with_dragndrop" != "no" ; then 7628 if test "$with_dragndrop" != "no" ; then
7628 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 7629 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
7629 echo "configure:7630: checking if drag and drop API is needed" >&5 7630 echo "configure:7631: checking if drag and drop API is needed" >&5
7630 if test -n "$dragndrop_proto" ; then 7631 if test -n "$dragndrop_proto" ; then
7631 with_dragndrop=yes 7632 with_dragndrop=yes
7632 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 7633 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
7633 { test "$extra_verbose" = "yes" && cat << \EOF 7634 { test "$extra_verbose" = "yes" && cat << \EOF
7634 Defining HAVE_DRAGNDROP 7635 Defining HAVE_DRAGNDROP
7644 echo "$ac_t""no" 1>&6 7645 echo "$ac_t""no" 1>&6
7645 fi 7646 fi
7646 fi 7647 fi
7647 7648
7648 echo "checking for LDAP" 1>&6 7649 echo "checking for LDAP" 1>&6
7649 echo "configure:7650: checking for LDAP" >&5 7650 echo "configure:7651: checking for LDAP" >&5
7650 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 7651 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
7651 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 7652 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
7652 echo "configure:7653: checking for ldap.h" >&5 7653 echo "configure:7654: checking for ldap.h" >&5
7653 7654
7654 cat > conftest.$ac_ext <<EOF 7655 cat > conftest.$ac_ext <<EOF
7655 #line 7656 "configure" 7656 #line 7657 "configure"
7656 #include "confdefs.h" 7657 #include "confdefs.h"
7657 #include <ldap.h> 7658 #include <ldap.h>
7658 EOF 7659 EOF
7659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7660 { (eval echo configure:7661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7661 { (eval echo configure:7662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7662 if test -z "$ac_err"; then 7663 if test -z "$ac_err"; then
7663 rm -rf conftest* 7664 rm -rf conftest*
7664 eval "ac_cv_header_$ac_safe=yes" 7665 eval "ac_cv_header_$ac_safe=yes"
7665 else 7666 else
7678 with_ldap=no 7679 with_ldap=no
7679 fi 7680 fi
7680 } 7681 }
7681 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 7682 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
7682 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 7683 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
7683 echo "configure:7684: checking for lber.h" >&5 7684 echo "configure:7685: checking for lber.h" >&5
7684 7685
7685 cat > conftest.$ac_ext <<EOF 7686 cat > conftest.$ac_ext <<EOF
7686 #line 7687 "configure" 7687 #line 7688 "configure"
7687 #include "confdefs.h" 7688 #include "confdefs.h"
7688 #include <lber.h> 7689 #include <lber.h>
7689 EOF 7690 EOF
7690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7691 { (eval echo configure:7692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7692 { (eval echo configure:7693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7693 if test -z "$ac_err"; then 7694 if test -z "$ac_err"; then
7694 rm -rf conftest* 7695 rm -rf conftest*
7695 eval "ac_cv_header_$ac_safe=yes" 7696 eval "ac_cv_header_$ac_safe=yes"
7696 else 7697 else
7710 fi 7711 fi
7711 } 7712 }
7712 if test "$with_ldap" != "no"; then 7713 if test "$with_ldap" != "no"; then
7713 7714
7714 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 7715 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
7715 echo "configure:7716: checking for ldap_search in -lldap" >&5 7716 echo "configure:7717: checking for ldap_search in -lldap" >&5
7716 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 7717 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
7717 7718
7718 xe_check_libs=" -lldap " 7719 xe_check_libs=" -lldap "
7719 cat > conftest.$ac_ext <<EOF 7720 cat > conftest.$ac_ext <<EOF
7720 #line 7721 "configure" 7721 #line 7722 "configure"
7721 #include "confdefs.h" 7722 #include "confdefs.h"
7722 /* Override any gcc2 internal prototype to avoid an error. */ 7723 /* Override any gcc2 internal prototype to avoid an error. */
7723 /* We use char because int might match the return type of a gcc2 7724 /* We use char because int might match the return type of a gcc2
7724 builtin and then its argument prototype would still apply. */ 7725 builtin and then its argument prototype would still apply. */
7725 char ldap_search(); 7726 char ldap_search();
7726 7727
7727 int main() { 7728 int main() {
7728 ldap_search() 7729 ldap_search()
7729 ; return 0; } 7730 ; return 0; }
7730 EOF 7731 EOF
7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7732 if { (eval echo configure:7733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7732 rm -rf conftest* 7733 rm -rf conftest*
7733 eval "ac_cv_lib_$ac_lib_var=yes" 7734 eval "ac_cv_lib_$ac_lib_var=yes"
7734 else 7735 else
7735 echo "configure: failed program was:" >&5 7736 echo "configure: failed program was:" >&5
7736 cat conftest.$ac_ext >&5 7737 cat conftest.$ac_ext >&5
7751 7752
7752 test "$with_ldap_nolber" = "no" && { 7753 test "$with_ldap_nolber" = "no" && {
7753 xe_msg_checking="for ldap_open in -lldap" 7754 xe_msg_checking="for ldap_open in -lldap"
7754 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 7755 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
7755 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7756 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7756 echo "configure:7757: checking "$xe_msg_checking"" >&5 7757 echo "configure:7758: checking "$xe_msg_checking"" >&5
7757 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7758 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7758 7759
7759 xe_check_libs=" -lldap -llber" 7760 xe_check_libs=" -lldap -llber"
7760 cat > conftest.$ac_ext <<EOF 7761 cat > conftest.$ac_ext <<EOF
7761 #line 7762 "configure" 7762 #line 7763 "configure"
7762 #include "confdefs.h" 7763 #include "confdefs.h"
7763 /* Override any gcc2 internal prototype to avoid an error. */ 7764 /* Override any gcc2 internal prototype to avoid an error. */
7764 /* We use char because int might match the return type of a gcc2 7765 /* We use char because int might match the return type of a gcc2
7765 builtin and then its argument prototype would still apply. */ 7766 builtin and then its argument prototype would still apply. */
7766 char ldap_open(); 7767 char ldap_open();
7767 7768
7768 int main() { 7769 int main() {
7769 ldap_open() 7770 ldap_open()
7770 ; return 0; } 7771 ; return 0; }
7771 EOF 7772 EOF
7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7773 rm -rf conftest* 7774 rm -rf conftest*
7774 eval "ac_cv_lib_$ac_lib_var=yes" 7775 eval "ac_cv_lib_$ac_lib_var=yes"
7775 else 7776 else
7776 echo "configure: failed program was:" >&5 7777 echo "configure: failed program was:" >&5
7777 cat conftest.$ac_ext >&5 7778 cat conftest.$ac_ext >&5
7792 } 7793 }
7793 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 7794 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
7794 xe_msg_checking="for ldap_open in -lldap" 7795 xe_msg_checking="for ldap_open in -lldap"
7795 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 7796 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
7796 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7797 echo "configure:7798: checking "$xe_msg_checking"" >&5 7798 echo "configure:7799: checking "$xe_msg_checking"" >&5
7798 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7799 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7799 7800
7800 xe_check_libs=" -lldap -llber -lkrb" 7801 xe_check_libs=" -lldap -llber -lkrb"
7801 cat > conftest.$ac_ext <<EOF 7802 cat > conftest.$ac_ext <<EOF
7802 #line 7803 "configure" 7803 #line 7804 "configure"
7803 #include "confdefs.h" 7804 #include "confdefs.h"
7804 /* Override any gcc2 internal prototype to avoid an error. */ 7805 /* Override any gcc2 internal prototype to avoid an error. */
7805 /* We use char because int might match the return type of a gcc2 7806 /* We use char because int might match the return type of a gcc2
7806 builtin and then its argument prototype would still apply. */ 7807 builtin and then its argument prototype would still apply. */
7807 char ldap_open(); 7808 char ldap_open();
7808 7809
7809 int main() { 7810 int main() {
7810 ldap_open() 7811 ldap_open()
7811 ; return 0; } 7812 ; return 0; }
7812 EOF 7813 EOF
7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7814 if { (eval echo configure:7815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7814 rm -rf conftest* 7815 rm -rf conftest*
7815 eval "ac_cv_lib_$ac_lib_var=yes" 7816 eval "ac_cv_lib_$ac_lib_var=yes"
7816 else 7817 else
7817 echo "configure: failed program was:" >&5 7818 echo "configure: failed program was:" >&5
7818 cat conftest.$ac_ext >&5 7819 cat conftest.$ac_ext >&5
7833 } 7834 }
7834 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 7835 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
7835 xe_msg_checking="for ldap_open in -lldap" 7836 xe_msg_checking="for ldap_open in -lldap"
7836 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 7837 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
7837 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7838 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7838 echo "configure:7839: checking "$xe_msg_checking"" >&5 7839 echo "configure:7840: checking "$xe_msg_checking"" >&5
7839 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7840 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7840 7841
7841 xe_check_libs=" -lldap -llber -lkrb -ldes" 7842 xe_check_libs=" -lldap -llber -lkrb -ldes"
7842 cat > conftest.$ac_ext <<EOF 7843 cat > conftest.$ac_ext <<EOF
7843 #line 7844 "configure" 7844 #line 7845 "configure"
7844 #include "confdefs.h" 7845 #include "confdefs.h"
7845 /* Override any gcc2 internal prototype to avoid an error. */ 7846 /* Override any gcc2 internal prototype to avoid an error. */
7846 /* We use char because int might match the return type of a gcc2 7847 /* We use char because int might match the return type of a gcc2
7847 builtin and then its argument prototype would still apply. */ 7848 builtin and then its argument prototype would still apply. */
7848 char ldap_open(); 7849 char ldap_open();
7849 7850
7850 int main() { 7851 int main() {
7851 ldap_open() 7852 ldap_open()
7852 ; return 0; } 7853 ; return 0; }
7853 EOF 7854 EOF
7854 if { (eval echo configure:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7855 if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7855 rm -rf conftest* 7856 rm -rf conftest*
7856 eval "ac_cv_lib_$ac_lib_var=yes" 7857 eval "ac_cv_lib_$ac_lib_var=yes"
7857 else 7858 else
7858 echo "configure: failed program was:" >&5 7859 echo "configure: failed program was:" >&5
7859 cat conftest.$ac_ext >&5 7860 cat conftest.$ac_ext >&5
7897 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi 7898 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi
7898 fi 7899 fi
7899 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 7900 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
7900 do 7901 do
7901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7902 echo "configure:7903: checking for $ac_func" >&5 7903 echo "configure:7904: checking for $ac_func" >&5
7903 7904
7904 cat > conftest.$ac_ext <<EOF 7905 cat > conftest.$ac_ext <<EOF
7905 #line 7906 "configure" 7906 #line 7907 "configure"
7906 #include "confdefs.h" 7907 #include "confdefs.h"
7907 /* System header to define __stub macros and hopefully few prototypes, 7908 /* System header to define __stub macros and hopefully few prototypes,
7908 which can conflict with char $ac_func(); below. */ 7909 which can conflict with char $ac_func(); below. */
7909 #include <assert.h> 7910 #include <assert.h>
7910 /* Override any gcc2 internal prototype to avoid an error. */ 7911 /* Override any gcc2 internal prototype to avoid an error. */
7923 $ac_func(); 7924 $ac_func();
7924 #endif 7925 #endif
7925 7926
7926 ; return 0; } 7927 ; return 0; }
7927 EOF 7928 EOF
7928 if { (eval echo configure:7929: \"$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
7929 rm -rf conftest* 7930 rm -rf conftest*
7930 eval "ac_cv_func_$ac_func=yes" 7931 eval "ac_cv_func_$ac_func=yes"
7931 else 7932 else
7932 echo "configure: failed program was:" >&5 7933 echo "configure: failed program was:" >&5
7933 cat conftest.$ac_ext >&5 7934 cat conftest.$ac_ext >&5
7954 7955
7955 fi 7956 fi
7956 7957
7957 if test "$with_postgresql" != "no"; then 7958 if test "$with_postgresql" != "no"; then
7958 echo "checking for PostgreSQL" 1>&6 7959 echo "checking for PostgreSQL" 1>&6
7959 echo "configure:7960: checking for PostgreSQL" >&5 7960 echo "configure:7961: checking for PostgreSQL" >&5
7960 7961
7961 for header_dir in "" "pgsql/" "postgresql/"; do 7962 for header_dir in "" "pgsql/" "postgresql/"; do
7962 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 7963 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
7963 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 7964 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
7964 echo "configure:7965: checking for ${header_dir}libpq-fe.h" >&5 7965 echo "configure:7966: checking for ${header_dir}libpq-fe.h" >&5
7965 7966
7966 cat > conftest.$ac_ext <<EOF 7967 cat > conftest.$ac_ext <<EOF
7967 #line 7968 "configure" 7968 #line 7969 "configure"
7968 #include "confdefs.h" 7969 #include "confdefs.h"
7969 #include <${header_dir}libpq-fe.h> 7970 #include <${header_dir}libpq-fe.h>
7970 EOF 7971 EOF
7971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7972 { (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7973 { (eval echo configure:7974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7974 if test -z "$ac_err"; then 7975 if test -z "$ac_err"; then
7975 rm -rf conftest* 7976 rm -rf conftest*
7976 eval "ac_cv_header_$ac_safe=yes" 7977 eval "ac_cv_header_$ac_safe=yes"
7977 else 7978 else
7991 7992
7992 done 7993 done
7993 7994
7994 test -n "$libpq_fe_h_file" && { 7995 test -n "$libpq_fe_h_file" && {
7995 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 7996 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
7996 echo "configure:7997: checking for PQconnectdb in -lpq" >&5 7997 echo "configure:7998: checking for PQconnectdb in -lpq" >&5
7997 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 7998 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
7998 7999
7999 xe_check_libs=" -lpq " 8000 xe_check_libs=" -lpq "
8000 cat > conftest.$ac_ext <<EOF 8001 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure" 8002 #line 8003 "configure"
8002 #include "confdefs.h" 8003 #include "confdefs.h"
8003 /* Override any gcc2 internal prototype to avoid an error. */ 8004 /* Override any gcc2 internal prototype to avoid an error. */
8004 /* We use char because int might match the return type of a gcc2 8005 /* We use char because int might match the return type of a gcc2
8005 builtin and then its argument prototype would still apply. */ 8006 builtin and then its argument prototype would still apply. */
8006 char PQconnectdb(); 8007 char PQconnectdb();
8007 8008
8008 int main() { 8009 int main() {
8009 PQconnectdb() 8010 PQconnectdb()
8010 ; return 0; } 8011 ; return 0; }
8011 EOF 8012 EOF
8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8013 if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8013 rm -rf conftest* 8014 rm -rf conftest*
8014 eval "ac_cv_lib_$ac_lib_var=yes" 8015 eval "ac_cv_lib_$ac_lib_var=yes"
8015 else 8016 else
8016 echo "configure: failed program was:" >&5 8017 echo "configure: failed program was:" >&5
8017 cat conftest.$ac_ext >&5 8018 cat conftest.$ac_ext >&5
8040 EOF 8041 EOF
8041 } 8042 }
8042 8043
8043 8044
8044 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 8045 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
8045 echo "configure:8046: checking for PQconnectStart in -lpq" >&5 8046 echo "configure:8047: checking for PQconnectStart in -lpq" >&5
8046 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 8047 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
8047 8048
8048 xe_check_libs=" -lpq " 8049 xe_check_libs=" -lpq "
8049 cat > conftest.$ac_ext <<EOF 8050 cat > conftest.$ac_ext <<EOF
8050 #line 8051 "configure" 8051 #line 8052 "configure"
8051 #include "confdefs.h" 8052 #include "confdefs.h"
8052 /* Override any gcc2 internal prototype to avoid an error. */ 8053 /* Override any gcc2 internal prototype to avoid an error. */
8053 /* We use char because int might match the return type of a gcc2 8054 /* We use char because int might match the return type of a gcc2
8054 builtin and then its argument prototype would still apply. */ 8055 builtin and then its argument prototype would still apply. */
8055 char PQconnectStart(); 8056 char PQconnectStart();
8056 8057
8057 int main() { 8058 int main() {
8058 PQconnectStart() 8059 PQconnectStart()
8059 ; return 0; } 8060 ; return 0; }
8060 EOF 8061 EOF
8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8062 if { (eval echo configure:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8062 rm -rf conftest* 8063 rm -rf conftest*
8063 eval "ac_cv_lib_$ac_lib_var=yes" 8064 eval "ac_cv_lib_$ac_lib_var=yes"
8064 else 8065 else
8065 echo "configure: failed program was:" >&5 8066 echo "configure: failed program was:" >&5
8066 cat conftest.$ac_ext >&5 8067 cat conftest.$ac_ext >&5
8101 fi 8102 fi
8102 8103
8103 8104
8104 if test "$window_system" != "none"; then 8105 if test "$window_system" != "none"; then
8105 echo "checking for graphics libraries" 1>&6 8106 echo "checking for graphics libraries" 1>&6
8106 echo "configure:8107: checking for graphics libraries" >&5 8107 echo "configure:8108: checking for graphics libraries" >&5
8107 8108
8108 libpath_xpm= 8109 libpath_xpm=
8109 incpath_xpm= 8110 incpath_xpm=
8110 case "$opsys" in 8111 case "$opsys" in
8111 cygwin*) 8112 cygwin*)
8127 xpm_problem="" 8128 xpm_problem=""
8128 if test -z "$with_xpm"; then 8129 if test -z "$with_xpm"; then
8129 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 8130 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
8130 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 8131 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
8131 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 8132 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
8132 echo "configure:8133: checking for Xpm - no older than 3.4f" >&5 8133 echo "configure:8134: checking for Xpm - no older than 3.4f" >&5
8133 xe_check_libs=-lXpm 8134 xe_check_libs=-lXpm
8134 cat > conftest.$ac_ext <<EOF 8135 cat > conftest.$ac_ext <<EOF
8135 #line 8136 "configure" 8136 #line 8137 "configure"
8136 #include "confdefs.h" 8137 #include "confdefs.h"
8137 #define XPM_NUMBERS 8138 #define XPM_NUMBERS
8138 #include <X11/xpm.h> 8139 #include <X11/xpm.h>
8139 int main(int c, char **v) { 8140 int main(int c, char **v) {
8140 return c == 1 ? 0 : 8141 return c == 1 ? 0 :
8141 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 8142 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
8142 XpmIncludeVersion < 30406 ? 2 : 0 ;} 8143 XpmIncludeVersion < 30406 ? 2 : 0 ;}
8143 EOF 8144 EOF
8144 if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8145 if { (eval echo configure:8146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8145 then 8146 then
8146 ./conftest dummy_arg; xpm_status=$?; 8147 ./conftest dummy_arg; xpm_status=$?;
8147 if test "$xpm_status" = "0"; then 8148 if test "$xpm_status" = "0"; then
8148 with_xpm=yes; 8149 with_xpm=yes;
8149 else 8150 else
8183 8184
8184 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 8185 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
8185 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 8186 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
8186 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 8187 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
8187 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 8188 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
8188 echo "configure:8189: checking for \"FOR_MSW\" xpm" >&5 8189 echo "configure:8190: checking for \"FOR_MSW\" xpm" >&5
8189 xe_check_libs=-lXpm 8190 xe_check_libs=-lXpm
8190 cat > conftest.$ac_ext <<EOF 8191 cat > conftest.$ac_ext <<EOF
8191 #line 8192 "configure" 8192 #line 8193 "configure"
8192 #include "confdefs.h" 8193 #include "confdefs.h"
8193 8194
8194 int main() { 8195 int main() {
8195 XpmCreatePixmapFromData() 8196 XpmCreatePixmapFromData()
8196 ; return 0; } 8197 ; return 0; }
8197 EOF 8198 EOF
8198 if { (eval echo configure:8199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8199 if { (eval echo configure:8200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8199 rm -rf conftest* 8200 rm -rf conftest*
8200 xpm_for_msw=no 8201 xpm_for_msw=no
8201 else 8202 else
8202 echo "configure: failed program was:" >&5 8203 echo "configure: failed program was:" >&5
8203 cat conftest.$ac_ext >&5 8204 cat conftest.$ac_ext >&5
8219 fi 8220 fi
8220 fi 8221 fi
8221 8222
8222 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 8223 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
8223 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 8224 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
8224 echo "configure:8225: checking for compface.h" >&5 8225 echo "configure:8226: checking for compface.h" >&5
8225 8226
8226 cat > conftest.$ac_ext <<EOF 8227 cat > conftest.$ac_ext <<EOF
8227 #line 8228 "configure" 8228 #line 8229 "configure"
8228 #include "confdefs.h" 8229 #include "confdefs.h"
8229 #include <compface.h> 8230 #include <compface.h>
8230 EOF 8231 EOF
8231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8232 { (eval echo configure:8233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8233 { (eval echo configure:8234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8234 if test -z "$ac_err"; then 8235 if test -z "$ac_err"; then
8235 rm -rf conftest* 8236 rm -rf conftest*
8236 eval "ac_cv_header_$ac_safe=yes" 8237 eval "ac_cv_header_$ac_safe=yes"
8237 else 8238 else
8250 with_xface=no 8251 with_xface=no
8251 fi 8252 fi
8252 } 8253 }
8253 test -z "$with_xface" && { 8254 test -z "$with_xface" && {
8254 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 8255 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
8255 echo "configure:8256: checking for UnGenFace in -lcompface" >&5 8256 echo "configure:8257: checking for UnGenFace in -lcompface" >&5
8256 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 8257 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
8257 8258
8258 xe_check_libs=" -lcompface " 8259 xe_check_libs=" -lcompface "
8259 cat > conftest.$ac_ext <<EOF 8260 cat > conftest.$ac_ext <<EOF
8260 #line 8261 "configure" 8261 #line 8262 "configure"
8261 #include "confdefs.h" 8262 #include "confdefs.h"
8262 /* Override any gcc2 internal prototype to avoid an error. */ 8263 /* Override any gcc2 internal prototype to avoid an error. */
8263 /* We use char because int might match the return type of a gcc2 8264 /* We use char because int might match the return type of a gcc2
8264 builtin and then its argument prototype would still apply. */ 8265 builtin and then its argument prototype would still apply. */
8265 char UnGenFace(); 8266 char UnGenFace();
8266 8267
8267 int main() { 8268 int main() {
8268 UnGenFace() 8269 UnGenFace()
8269 ; return 0; } 8270 ; return 0; }
8270 EOF 8271 EOF
8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8272 rm -rf conftest* 8273 rm -rf conftest*
8273 eval "ac_cv_lib_$ac_lib_var=yes" 8274 eval "ac_cv_lib_$ac_lib_var=yes"
8274 else 8275 else
8275 echo "configure: failed program was:" >&5 8276 echo "configure: failed program was:" >&5
8276 cat conftest.$ac_ext >&5 8277 cat conftest.$ac_ext >&5
8315 fi 8316 fi
8316 8317
8317 if test "$with_png $with_tiff" != "no no"; then 8318 if test "$with_png $with_tiff" != "no no"; then
8318 8319
8319 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 8320 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
8320 echo "configure:8321: checking for inflate in -lc" >&5 8321 echo "configure:8322: checking for inflate in -lc" >&5
8321 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 8322 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
8322 8323
8323 xe_check_libs=" -lc " 8324 xe_check_libs=" -lc "
8324 cat > conftest.$ac_ext <<EOF 8325 cat > conftest.$ac_ext <<EOF
8325 #line 8326 "configure" 8326 #line 8327 "configure"
8326 #include "confdefs.h" 8327 #include "confdefs.h"
8327 /* Override any gcc2 internal prototype to avoid an error. */ 8328 /* Override any gcc2 internal prototype to avoid an error. */
8328 /* We use char because int might match the return type of a gcc2 8329 /* We use char because int might match the return type of a gcc2
8329 builtin and then its argument prototype would still apply. */ 8330 builtin and then its argument prototype would still apply. */
8330 char inflate(); 8331 char inflate();
8331 8332
8332 int main() { 8333 int main() {
8333 inflate() 8334 inflate()
8334 ; return 0; } 8335 ; return 0; }
8335 EOF 8336 EOF
8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8337 if { (eval echo configure:8338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8337 rm -rf conftest* 8338 rm -rf conftest*
8338 eval "ac_cv_lib_$ac_lib_var=yes" 8339 eval "ac_cv_lib_$ac_lib_var=yes"
8339 else 8340 else
8340 echo "configure: failed program was:" >&5 8341 echo "configure: failed program was:" >&5
8341 cat conftest.$ac_ext >&5 8342 cat conftest.$ac_ext >&5
8350 : 8351 :
8351 else 8352 else
8352 echo "$ac_t""no" 1>&6 8353 echo "$ac_t""no" 1>&6
8353 8354
8354 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 8355 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
8355 echo "configure:8356: checking for inflate in -lz" >&5 8356 echo "configure:8357: checking for inflate in -lz" >&5
8356 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 8357 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
8357 8358
8358 xe_check_libs=" -lz " 8359 xe_check_libs=" -lz "
8359 cat > conftest.$ac_ext <<EOF 8360 cat > conftest.$ac_ext <<EOF
8360 #line 8361 "configure" 8361 #line 8362 "configure"
8361 #include "confdefs.h" 8362 #include "confdefs.h"
8362 /* Override any gcc2 internal prototype to avoid an error. */ 8363 /* Override any gcc2 internal prototype to avoid an error. */
8363 /* We use char because int might match the return type of a gcc2 8364 /* We use char because int might match the return type of a gcc2
8364 builtin and then its argument prototype would still apply. */ 8365 builtin and then its argument prototype would still apply. */
8365 char inflate(); 8366 char inflate();
8366 8367
8367 int main() { 8368 int main() {
8368 inflate() 8369 inflate()
8369 ; return 0; } 8370 ; return 0; }
8370 EOF 8371 EOF
8371 if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8372 if { (eval echo configure:8373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8372 rm -rf conftest* 8373 rm -rf conftest*
8373 eval "ac_cv_lib_$ac_lib_var=yes" 8374 eval "ac_cv_lib_$ac_lib_var=yes"
8374 else 8375 else
8375 echo "configure: failed program was:" >&5 8376 echo "configure: failed program was:" >&5
8376 cat conftest.$ac_ext >&5 8377 cat conftest.$ac_ext >&5
8385 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 8386 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
8386 else 8387 else
8387 echo "$ac_t""no" 1>&6 8388 echo "$ac_t""no" 1>&6
8388 8389
8389 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 8390 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
8390 echo "configure:8391: checking for inflate in -lgz" >&5 8391 echo "configure:8392: checking for inflate in -lgz" >&5
8391 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 8392 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
8392 8393
8393 xe_check_libs=" -lgz " 8394 xe_check_libs=" -lgz "
8394 cat > conftest.$ac_ext <<EOF 8395 cat > conftest.$ac_ext <<EOF
8395 #line 8396 "configure" 8396 #line 8397 "configure"
8396 #include "confdefs.h" 8397 #include "confdefs.h"
8397 /* Override any gcc2 internal prototype to avoid an error. */ 8398 /* Override any gcc2 internal prototype to avoid an error. */
8398 /* We use char because int might match the return type of a gcc2 8399 /* We use char because int might match the return type of a gcc2
8399 builtin and then its argument prototype would still apply. */ 8400 builtin and then its argument prototype would still apply. */
8400 char inflate(); 8401 char inflate();
8401 8402
8402 int main() { 8403 int main() {
8403 inflate() 8404 inflate()
8404 ; return 0; } 8405 ; return 0; }
8405 EOF 8406 EOF
8406 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8407 if { (eval echo configure:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8407 rm -rf conftest* 8408 rm -rf conftest*
8408 eval "ac_cv_lib_$ac_lib_var=yes" 8409 eval "ac_cv_lib_$ac_lib_var=yes"
8409 else 8410 else
8410 echo "configure: failed program was:" >&5 8411 echo "configure: failed program was:" >&5
8411 cat conftest.$ac_ext >&5 8412 cat conftest.$ac_ext >&5
8431 8432
8432 fi 8433 fi
8433 8434
8434 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 8435 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
8435 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 8436 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
8436 echo "configure:8437: checking for jpeglib.h" >&5 8437 echo "configure:8438: checking for jpeglib.h" >&5
8437 8438
8438 cat > conftest.$ac_ext <<EOF 8439 cat > conftest.$ac_ext <<EOF
8439 #line 8440 "configure" 8440 #line 8441 "configure"
8440 #include "confdefs.h" 8441 #include "confdefs.h"
8441 #include <jpeglib.h> 8442 #include <jpeglib.h>
8442 EOF 8443 EOF
8443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8444 { (eval echo configure:8445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8445 { (eval echo configure:8446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8446 if test -z "$ac_err"; then 8447 if test -z "$ac_err"; then
8447 rm -rf conftest* 8448 rm -rf conftest*
8448 eval "ac_cv_header_$ac_safe=yes" 8449 eval "ac_cv_header_$ac_safe=yes"
8449 else 8450 else
8462 with_jpeg=no 8463 with_jpeg=no
8463 fi 8464 fi
8464 } 8465 }
8465 test -z "$with_jpeg" && { 8466 test -z "$with_jpeg" && {
8466 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 8467 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
8467 echo "configure:8468: checking for jpeg_destroy_decompress in -ljpeg" >&5 8468 echo "configure:8469: checking for jpeg_destroy_decompress in -ljpeg" >&5
8468 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 8469 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
8469 8470
8470 xe_check_libs=" -ljpeg " 8471 xe_check_libs=" -ljpeg "
8471 cat > conftest.$ac_ext <<EOF 8472 cat > conftest.$ac_ext <<EOF
8472 #line 8473 "configure" 8473 #line 8474 "configure"
8473 #include "confdefs.h" 8474 #include "confdefs.h"
8474 /* Override any gcc2 internal prototype to avoid an error. */ 8475 /* Override any gcc2 internal prototype to avoid an error. */
8475 /* We use char because int might match the return type of a gcc2 8476 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */ 8477 builtin and then its argument prototype would still apply. */
8477 char jpeg_destroy_decompress(); 8478 char jpeg_destroy_decompress();
8478 8479
8479 int main() { 8480 int main() {
8480 jpeg_destroy_decompress() 8481 jpeg_destroy_decompress()
8481 ; return 0; } 8482 ; return 0; }
8482 EOF 8483 EOF
8483 if { (eval echo configure:8484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8484 rm -rf conftest* 8485 rm -rf conftest*
8485 eval "ac_cv_lib_$ac_lib_var=yes" 8486 eval "ac_cv_lib_$ac_lib_var=yes"
8486 else 8487 else
8487 echo "configure: failed program was:" >&5 8488 echo "configure: failed program was:" >&5
8488 cat conftest.$ac_ext >&5 8489 cat conftest.$ac_ext >&5
8514 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 8515 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
8515 fi 8516 fi
8516 8517
8517 png_problem="" 8518 png_problem=""
8518 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 8519 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
8519 echo "configure:8520: checking for pow" >&5 8520 echo "configure:8521: checking for pow" >&5
8520 8521
8521 cat > conftest.$ac_ext <<EOF 8522 cat > conftest.$ac_ext <<EOF
8522 #line 8523 "configure" 8523 #line 8524 "configure"
8523 #include "confdefs.h" 8524 #include "confdefs.h"
8524 /* System header to define __stub macros and hopefully few prototypes, 8525 /* System header to define __stub macros and hopefully few prototypes,
8525 which can conflict with char pow(); below. */ 8526 which can conflict with char pow(); below. */
8526 #include <assert.h> 8527 #include <assert.h>
8527 /* Override any gcc2 internal prototype to avoid an error. */ 8528 /* Override any gcc2 internal prototype to avoid an error. */
8540 pow(); 8541 pow();
8541 #endif 8542 #endif
8542 8543
8543 ; return 0; } 8544 ; return 0; }
8544 EOF 8545 EOF
8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8546 rm -rf conftest* 8547 rm -rf conftest*
8547 eval "ac_cv_func_pow=yes" 8548 eval "ac_cv_func_pow=yes"
8548 else 8549 else
8549 echo "configure: failed program was:" >&5 8550 echo "configure: failed program was:" >&5
8550 cat conftest.$ac_ext >&5 8551 cat conftest.$ac_ext >&5
8561 with_png=no 8562 with_png=no
8562 fi 8563 fi
8563 } 8564 }
8564 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 8565 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
8565 echo $ac_n "checking for png.h""... $ac_c" 1>&6 8566 echo $ac_n "checking for png.h""... $ac_c" 1>&6
8566 echo "configure:8567: checking for png.h" >&5 8567 echo "configure:8568: checking for png.h" >&5
8567 8568
8568 cat > conftest.$ac_ext <<EOF 8569 cat > conftest.$ac_ext <<EOF
8569 #line 8570 "configure" 8570 #line 8571 "configure"
8570 #include "confdefs.h" 8571 #include "confdefs.h"
8571 #include <png.h> 8572 #include <png.h>
8572 EOF 8573 EOF
8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8575 { (eval echo configure:8576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8576 if test -z "$ac_err"; then 8577 if test -z "$ac_err"; then
8577 rm -rf conftest* 8578 rm -rf conftest*
8578 eval "ac_cv_header_$ac_safe=yes" 8579 eval "ac_cv_header_$ac_safe=yes"
8579 else 8580 else
8592 with_png=no 8593 with_png=no
8593 fi 8594 fi
8594 } 8595 }
8595 test -z "$with_png" && { 8596 test -z "$with_png" && {
8596 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 8597 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
8597 echo "configure:8598: checking for png_read_image in -lpng" >&5 8598 echo "configure:8599: checking for png_read_image in -lpng" >&5
8598 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 8599 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
8599 8600
8600 xe_check_libs=" -lpng " 8601 xe_check_libs=" -lpng "
8601 cat > conftest.$ac_ext <<EOF 8602 cat > conftest.$ac_ext <<EOF
8602 #line 8603 "configure" 8603 #line 8604 "configure"
8603 #include "confdefs.h" 8604 #include "confdefs.h"
8604 /* Override any gcc2 internal prototype to avoid an error. */ 8605 /* Override any gcc2 internal prototype to avoid an error. */
8605 /* We use char because int might match the return type of a gcc2 8606 /* We use char because int might match the return type of a gcc2
8606 builtin and then its argument prototype would still apply. */ 8607 builtin and then its argument prototype would still apply. */
8607 char png_read_image(); 8608 char png_read_image();
8608 8609
8609 int main() { 8610 int main() {
8610 png_read_image() 8611 png_read_image()
8611 ; return 0; } 8612 ; return 0; }
8612 EOF 8613 EOF
8613 if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8614 if { (eval echo configure:8615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8614 rm -rf conftest* 8615 rm -rf conftest*
8615 eval "ac_cv_lib_$ac_lib_var=yes" 8616 eval "ac_cv_lib_$ac_lib_var=yes"
8616 else 8617 else
8617 echo "configure: failed program was:" >&5 8618 echo "configure: failed program was:" >&5
8618 cat conftest.$ac_ext >&5 8619 cat conftest.$ac_ext >&5
8631 fi 8632 fi
8632 8633
8633 } 8634 }
8634 if test -z "$with_png"; then 8635 if test -z "$with_png"; then
8635 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 8636 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
8636 echo "configure:8637: checking for workable png version information" >&5 8637 echo "configure:8638: checking for workable png version information" >&5
8637 xe_check_libs="-lpng -lz" 8638 xe_check_libs="-lpng -lz"
8638 cat > conftest.$ac_ext <<EOF 8639 cat > conftest.$ac_ext <<EOF
8639 #line 8640 "configure" 8640 #line 8641 "configure"
8640 #include "confdefs.h" 8641 #include "confdefs.h"
8641 #include <png.h> 8642 #include <png.h>
8642 int main(int c, char **v) { 8643 int main(int c, char **v) {
8643 if (c == 1) return 0; 8644 if (c == 1) return 0;
8644 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 8645 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
8645 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 8646 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
8646 EOF 8647 EOF
8647 if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8648 if { (eval echo configure:8649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8648 then 8649 then
8649 ./conftest dummy_arg; png_status=$?; 8650 ./conftest dummy_arg; png_status=$?;
8650 if test "$png_status" = "0"; then 8651 if test "$png_status" = "0"; then
8651 with_png=yes; 8652 with_png=yes;
8652 else 8653 else
8685 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 8686 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
8686 fi 8687 fi
8687 8688
8688 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 8689 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
8689 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 8690 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
8690 echo "configure:8691: checking for tiffio.h" >&5 8691 echo "configure:8692: checking for tiffio.h" >&5
8691 8692
8692 cat > conftest.$ac_ext <<EOF 8693 cat > conftest.$ac_ext <<EOF
8693 #line 8694 "configure" 8694 #line 8695 "configure"
8694 #include "confdefs.h" 8695 #include "confdefs.h"
8695 #include <tiffio.h> 8696 #include <tiffio.h>
8696 EOF 8697 EOF
8697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8698 { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8699 { (eval echo configure:8700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8700 if test -z "$ac_err"; then 8701 if test -z "$ac_err"; then
8701 rm -rf conftest* 8702 rm -rf conftest*
8702 eval "ac_cv_header_$ac_safe=yes" 8703 eval "ac_cv_header_$ac_safe=yes"
8703 else 8704 else
8716 with_tiff=no 8717 with_tiff=no
8717 fi 8718 fi
8718 } 8719 }
8719 test -z "$with_tiff" && { 8720 test -z "$with_tiff" && {
8720 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 8721 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
8721 echo "configure:8722: checking for TIFFClientOpen in -ltiff" >&5 8722 echo "configure:8723: checking for TIFFClientOpen in -ltiff" >&5
8722 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 8723 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
8723 8724
8724 xe_check_libs=" -ltiff " 8725 xe_check_libs=" -ltiff "
8725 cat > conftest.$ac_ext <<EOF 8726 cat > conftest.$ac_ext <<EOF
8726 #line 8727 "configure" 8727 #line 8728 "configure"
8727 #include "confdefs.h" 8728 #include "confdefs.h"
8728 /* Override any gcc2 internal prototype to avoid an error. */ 8729 /* Override any gcc2 internal prototype to avoid an error. */
8729 /* We use char because int might match the return type of a gcc2 8730 /* We use char because int might match the return type of a gcc2
8730 builtin and then its argument prototype would still apply. */ 8731 builtin and then its argument prototype would still apply. */
8731 char TIFFClientOpen(); 8732 char TIFFClientOpen();
8732 8733
8733 int main() { 8734 int main() {
8734 TIFFClientOpen() 8735 TIFFClientOpen()
8735 ; return 0; } 8736 ; return 0; }
8736 EOF 8737 EOF
8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8738 if { (eval echo configure:8739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8738 rm -rf conftest* 8739 rm -rf conftest*
8739 eval "ac_cv_lib_$ac_lib_var=yes" 8740 eval "ac_cv_lib_$ac_lib_var=yes"
8740 else 8741 else
8741 echo "configure: failed program was:" >&5 8742 echo "configure: failed program was:" >&5
8742 cat conftest.$ac_ext >&5 8743 cat conftest.$ac_ext >&5
8771 8772
8772 8773
8773 if test "$with_gtk" = "yes"; then 8774 if test "$with_gtk" = "yes"; then
8774 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 8775 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
8775 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 8776 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
8776 echo "configure:8777: checking for compface.h" >&5 8777 echo "configure:8778: checking for compface.h" >&5
8777 8778
8778 cat > conftest.$ac_ext <<EOF 8779 cat > conftest.$ac_ext <<EOF
8779 #line 8780 "configure" 8780 #line 8781 "configure"
8780 #include "confdefs.h" 8781 #include "confdefs.h"
8781 #include <compface.h> 8782 #include <compface.h>
8782 EOF 8783 EOF
8783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8784 { (eval echo configure:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8785 { (eval echo configure:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8786 if test -z "$ac_err"; then 8787 if test -z "$ac_err"; then
8787 rm -rf conftest* 8788 rm -rf conftest*
8788 eval "ac_cv_header_$ac_safe=yes" 8789 eval "ac_cv_header_$ac_safe=yes"
8789 else 8790 else
8802 with_xface=no 8803 with_xface=no
8803 fi 8804 fi
8804 } 8805 }
8805 test -z "$with_xface" && { 8806 test -z "$with_xface" && {
8806 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 8807 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
8807 echo "configure:8808: checking for UnGenFace in -lcompface" >&5 8808 echo "configure:8809: checking for UnGenFace in -lcompface" >&5
8808 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 8809 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
8809 8810
8810 xe_check_libs=" -lcompface " 8811 xe_check_libs=" -lcompface "
8811 cat > conftest.$ac_ext <<EOF 8812 cat > conftest.$ac_ext <<EOF
8812 #line 8813 "configure" 8813 #line 8814 "configure"
8813 #include "confdefs.h" 8814 #include "confdefs.h"
8814 /* Override any gcc2 internal prototype to avoid an error. */ 8815 /* Override any gcc2 internal prototype to avoid an error. */
8815 /* We use char because int might match the return type of a gcc2 8816 /* We use char because int might match the return type of a gcc2
8816 builtin and then its argument prototype would still apply. */ 8817 builtin and then its argument prototype would still apply. */
8817 char UnGenFace(); 8818 char UnGenFace();
8818 8819
8819 int main() { 8820 int main() {
8820 UnGenFace() 8821 UnGenFace()
8821 ; return 0; } 8822 ; return 0; }
8822 EOF 8823 EOF
8823 if { (eval echo configure:8824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8824 if { (eval echo configure:8825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8824 rm -rf conftest* 8825 rm -rf conftest*
8825 eval "ac_cv_lib_$ac_lib_var=yes" 8826 eval "ac_cv_lib_$ac_lib_var=yes"
8826 else 8827 else
8827 echo "configure: failed program was:" >&5 8828 echo "configure: failed program was:" >&5
8828 cat conftest.$ac_ext >&5 8829 cat conftest.$ac_ext >&5
8857 8858
8858 8859
8859 8860
8860 if test "$with_x11" = "yes"; then 8861 if test "$with_x11" = "yes"; then
8861 echo "checking for X11 graphics libraries" 1>&6 8862 echo "checking for X11 graphics libraries" 1>&6
8862 echo "configure:8863: checking for X11 graphics libraries" >&5 8863 echo "configure:8864: checking for X11 graphics libraries" >&5
8863 fi 8864 fi
8864 8865
8865 case "$with_widgets" in 8866 case "$with_widgets" in
8866 "yes" | "athena") detect_athena=yes ;; 8867 "yes" | "athena") detect_athena=yes ;;
8867 *) detect_athena=no ;; 8868 *) detect_athena=no ;;
8868 esac 8869 esac
8869 8870
8870 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 8871 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
8871 echo "checking for the Athena widgets" 1>&6 8872 echo "checking for the Athena widgets" 1>&6
8872 echo "configure:8873: checking for the Athena widgets" >&5 8873 echo "configure:8874: checking for the Athena widgets" >&5
8873 8874
8874 case "$with_athena" in 8875 case "$with_athena" in
8875 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 8876 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
8876 "3d") athena_variant=Xaw3d athena_3d=yes ;; 8877 "3d") athena_variant=Xaw3d athena_3d=yes ;;
8877 "next") athena_variant=neXtaw athena_3d=yes ;; 8878 "next") athena_variant=neXtaw athena_3d=yes ;;
8881 esac 8882 esac
8882 8883
8883 if test "$athena_3d" = "no"; then 8884 if test "$athena_3d" = "no"; then
8884 8885
8885 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 8886 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
8886 echo "configure:8887: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 8887 echo "configure:8888: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
8887 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 8888 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
8888 8889
8889 xe_check_libs=" -l$athena_variant " 8890 xe_check_libs=" -l$athena_variant "
8890 cat > conftest.$ac_ext <<EOF 8891 cat > conftest.$ac_ext <<EOF
8891 #line 8892 "configure" 8892 #line 8893 "configure"
8892 #include "confdefs.h" 8893 #include "confdefs.h"
8893 /* Override any gcc2 internal prototype to avoid an error. */ 8894 /* Override any gcc2 internal prototype to avoid an error. */
8894 /* We use char because int might match the return type of a gcc2 8895 /* We use char because int might match the return type of a gcc2
8895 builtin and then its argument prototype would still apply. */ 8896 builtin and then its argument prototype would still apply. */
8896 char XawScrollbarSetThumb(); 8897 char XawScrollbarSetThumb();
8897 8898
8898 int main() { 8899 int main() {
8899 XawScrollbarSetThumb() 8900 XawScrollbarSetThumb()
8900 ; return 0; } 8901 ; return 0; }
8901 EOF 8902 EOF
8902 if { (eval echo configure:8903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8903 if { (eval echo configure:8904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8903 rm -rf conftest* 8904 rm -rf conftest*
8904 eval "ac_cv_lib_$ac_lib_var=yes" 8905 eval "ac_cv_lib_$ac_lib_var=yes"
8905 else 8906 else
8906 echo "configure: failed program was:" >&5 8907 echo "configure: failed program was:" >&5
8907 cat conftest.$ac_ext >&5 8908 cat conftest.$ac_ext >&5
8913 8914
8914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 8915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
8915 echo "$ac_t""yes" 1>&6 8916 echo "$ac_t""yes" 1>&6
8916 8917
8917 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8918 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8918 echo "configure:8919: checking for threeDClassRec in -l$athena_variant" >&5 8919 echo "configure:8920: checking for threeDClassRec in -l$athena_variant" >&5
8919 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8920 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8920 8921
8921 xe_check_libs=" -l$athena_variant " 8922 xe_check_libs=" -l$athena_variant "
8922 cat > conftest.$ac_ext <<EOF 8923 cat > conftest.$ac_ext <<EOF
8923 #line 8924 "configure" 8924 #line 8925 "configure"
8924 #include "confdefs.h" 8925 #include "confdefs.h"
8925 /* Override any gcc2 internal prototype to avoid an error. */ 8926 /* Override any gcc2 internal prototype to avoid an error. */
8926 /* We use char because int might match the return type of a gcc2 8927 /* We use char because int might match the return type of a gcc2
8927 builtin and then its argument prototype would still apply. */ 8928 builtin and then its argument prototype would still apply. */
8928 char threeDClassRec(); 8929 char threeDClassRec();
8929 8930
8930 int main() { 8931 int main() {
8931 threeDClassRec() 8932 threeDClassRec()
8932 ; return 0; } 8933 ; return 0; }
8933 EOF 8934 EOF
8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8935 rm -rf conftest* 8936 rm -rf conftest*
8936 eval "ac_cv_lib_$ac_lib_var=yes" 8937 eval "ac_cv_lib_$ac_lib_var=yes"
8937 else 8938 else
8938 echo "configure: failed program was:" >&5 8939 echo "configure: failed program was:" >&5
8939 cat conftest.$ac_ext >&5 8940 cat conftest.$ac_ext >&5
8960 8961
8961 8962
8962 else 8963 else
8963 8964
8964 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8965 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8965 echo "configure:8966: checking for threeDClassRec in -l$athena_variant" >&5 8966 echo "configure:8967: checking for threeDClassRec in -l$athena_variant" >&5
8966 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8967 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8967 8968
8968 xe_check_libs=" -l$athena_variant " 8969 xe_check_libs=" -l$athena_variant "
8969 cat > conftest.$ac_ext <<EOF 8970 cat > conftest.$ac_ext <<EOF
8970 #line 8971 "configure" 8971 #line 8972 "configure"
8971 #include "confdefs.h" 8972 #include "confdefs.h"
8972 /* Override any gcc2 internal prototype to avoid an error. */ 8973 /* Override any gcc2 internal prototype to avoid an error. */
8973 /* We use char because int might match the return type of a gcc2 8974 /* We use char because int might match the return type of a gcc2
8974 builtin and then its argument prototype would still apply. */ 8975 builtin and then its argument prototype would still apply. */
8975 char threeDClassRec(); 8976 char threeDClassRec();
8976 8977
8977 int main() { 8978 int main() {
8978 threeDClassRec() 8979 threeDClassRec()
8979 ; return 0; } 8980 ; return 0; }
8980 EOF 8981 EOF
8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8982 if { (eval echo configure:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8982 rm -rf conftest* 8983 rm -rf conftest*
8983 eval "ac_cv_lib_$ac_lib_var=yes" 8984 eval "ac_cv_lib_$ac_lib_var=yes"
8984 else 8985 else
8985 echo "configure: failed program was:" >&5 8986 echo "configure: failed program was:" >&5
8986 cat conftest.$ac_ext >&5 8987 cat conftest.$ac_ext >&5
8994 echo "$ac_t""yes" 1>&6 8995 echo "$ac_t""yes" 1>&6
8995 athena_lib=$athena_variant 8996 athena_lib=$athena_variant
8996 else 8997 else
8997 echo "$ac_t""no" 1>&6 8998 echo "$ac_t""no" 1>&6
8998 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 8999 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
8999 echo "configure:9000: checking for threeDClassRec in -lXaw" >&5 9000 echo "configure:9001: checking for threeDClassRec in -lXaw" >&5
9000 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 9001 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
9001 9002
9002 xe_check_libs=" -lXaw " 9003 xe_check_libs=" -lXaw "
9003 cat > conftest.$ac_ext <<EOF 9004 cat > conftest.$ac_ext <<EOF
9004 #line 9005 "configure" 9005 #line 9006 "configure"
9005 #include "confdefs.h" 9006 #include "confdefs.h"
9006 /* Override any gcc2 internal prototype to avoid an error. */ 9007 /* Override any gcc2 internal prototype to avoid an error. */
9007 /* We use char because int might match the return type of a gcc2 9008 /* We use char because int might match the return type of a gcc2
9008 builtin and then its argument prototype would still apply. */ 9009 builtin and then its argument prototype would still apply. */
9009 char threeDClassRec(); 9010 char threeDClassRec();
9010 9011
9011 int main() { 9012 int main() {
9012 threeDClassRec() 9013 threeDClassRec()
9013 ; return 0; } 9014 ; return 0; }
9014 EOF 9015 EOF
9015 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9016 rm -rf conftest* 9017 rm -rf conftest*
9017 eval "ac_cv_lib_$ac_lib_var=yes" 9018 eval "ac_cv_lib_$ac_lib_var=yes"
9018 else 9019 else
9019 echo "configure: failed program was:" >&5 9020 echo "configure: failed program was:" >&5
9020 cat conftest.$ac_ext >&5 9021 cat conftest.$ac_ext >&5
9041 fi 9042 fi
9042 9043
9043 if test "$athena_3d" = "no"; then 9044 if test "$athena_3d" = "no"; then
9044 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 9045 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
9045 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 9046 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
9046 echo "configure:9047: checking for X11/Xaw/ThreeD.h" >&5 9047 echo "configure:9048: checking for X11/Xaw/ThreeD.h" >&5
9047 9048
9048 cat > conftest.$ac_ext <<EOF 9049 cat > conftest.$ac_ext <<EOF
9049 #line 9050 "configure" 9050 #line 9051 "configure"
9050 #include "confdefs.h" 9051 #include "confdefs.h"
9051 #include <X11/Xaw/ThreeD.h> 9052 #include <X11/Xaw/ThreeD.h>
9052 EOF 9053 EOF
9053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9054 { (eval echo configure:9055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9055 { (eval echo configure:9056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9056 if test -z "$ac_err"; then 9057 if test -z "$ac_err"; then
9057 rm -rf conftest* 9058 rm -rf conftest*
9058 eval "ac_cv_header_$ac_safe=yes" 9059 eval "ac_cv_header_$ac_safe=yes"
9059 else 9060 else
9069 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 9070 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
9070 else 9071 else
9071 echo "$ac_t""no" 1>&6 9072 echo "$ac_t""no" 1>&6
9072 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 9073 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
9073 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 9074 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
9074 echo "configure:9075: checking for X11/Xaw/XawInit.h" >&5 9075 echo "configure:9076: checking for X11/Xaw/XawInit.h" >&5
9075 9076
9076 cat > conftest.$ac_ext <<EOF 9077 cat > conftest.$ac_ext <<EOF
9077 #line 9078 "configure" 9078 #line 9079 "configure"
9078 #include "confdefs.h" 9079 #include "confdefs.h"
9079 #include <X11/Xaw/XawInit.h> 9080 #include <X11/Xaw/XawInit.h>
9080 EOF 9081 EOF
9081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9082 { (eval echo configure:9083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9083 { (eval echo configure:9084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9084 if test -z "$ac_err"; then 9085 if test -z "$ac_err"; then
9085 rm -rf conftest* 9086 rm -rf conftest*
9086 eval "ac_cv_header_$ac_safe=yes" 9087 eval "ac_cv_header_$ac_safe=yes"
9087 else 9088 else
9103 fi 9104 fi
9104 9105
9105 else 9106 else
9106 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 9107 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
9107 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 9108 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
9108 echo "configure:9109: checking for X11/$athena_variant/XawInit.h" >&5 9109 echo "configure:9110: checking for X11/$athena_variant/XawInit.h" >&5
9109 9110
9110 cat > conftest.$ac_ext <<EOF 9111 cat > conftest.$ac_ext <<EOF
9111 #line 9112 "configure" 9112 #line 9113 "configure"
9112 #include "confdefs.h" 9113 #include "confdefs.h"
9113 #include <X11/$athena_variant/XawInit.h> 9114 #include <X11/$athena_variant/XawInit.h>
9114 EOF 9115 EOF
9115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9116 { (eval echo configure:9117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9117 { (eval echo configure:9118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9118 if test -z "$ac_err"; then 9119 if test -z "$ac_err"; then
9119 rm -rf conftest* 9120 rm -rf conftest*
9120 eval "ac_cv_header_$ac_safe=yes" 9121 eval "ac_cv_header_$ac_safe=yes"
9121 else 9122 else
9128 rm -f conftest* 9129 rm -f conftest*
9129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9130 echo "$ac_t""yes" 1>&6 9131 echo "$ac_t""yes" 1>&6
9131 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 9132 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
9132 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 9133 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
9133 echo "configure:9134: checking for X11/$athena_variant/ThreeD.h" >&5 9134 echo "configure:9135: checking for X11/$athena_variant/ThreeD.h" >&5
9134 9135
9135 cat > conftest.$ac_ext <<EOF 9136 cat > conftest.$ac_ext <<EOF
9136 #line 9137 "configure" 9137 #line 9138 "configure"
9137 #include "confdefs.h" 9138 #include "confdefs.h"
9138 #include <X11/$athena_variant/ThreeD.h> 9139 #include <X11/$athena_variant/ThreeD.h>
9139 EOF 9140 EOF
9140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9141 { (eval echo configure:9142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9142 { (eval echo configure:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9143 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9143 if test -z "$ac_err"; then 9144 if test -z "$ac_err"; then
9144 rm -rf conftest* 9145 rm -rf conftest*
9145 eval "ac_cv_header_$ac_safe=yes" 9146 eval "ac_cv_header_$ac_safe=yes"
9146 else 9147 else
9164 9165
9165 9166
9166 if test -z "$athena_h_path"; then 9167 if test -z "$athena_h_path"; then
9167 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 9168 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
9168 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 9169 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
9169 echo "configure:9170: checking for $athena_variant/XawInit.h" >&5 9170 echo "configure:9171: checking for $athena_variant/XawInit.h" >&5
9170 9171
9171 cat > conftest.$ac_ext <<EOF 9172 cat > conftest.$ac_ext <<EOF
9172 #line 9173 "configure" 9173 #line 9174 "configure"
9173 #include "confdefs.h" 9174 #include "confdefs.h"
9174 #include <$athena_variant/XawInit.h> 9175 #include <$athena_variant/XawInit.h>
9175 EOF 9176 EOF
9176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9177 { (eval echo configure:9178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9178 { (eval echo configure:9179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9179 if test -z "$ac_err"; then 9180 if test -z "$ac_err"; then
9180 rm -rf conftest* 9181 rm -rf conftest*
9181 eval "ac_cv_header_$ac_safe=yes" 9182 eval "ac_cv_header_$ac_safe=yes"
9182 else 9183 else
9189 rm -f conftest* 9190 rm -f conftest*
9190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9191 echo "$ac_t""yes" 1>&6 9192 echo "$ac_t""yes" 1>&6
9192 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 9193 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
9193 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 9194 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
9194 echo "configure:9195: checking for $athena_variant/ThreeD.h" >&5 9195 echo "configure:9196: checking for $athena_variant/ThreeD.h" >&5
9195 9196
9196 cat > conftest.$ac_ext <<EOF 9197 cat > conftest.$ac_ext <<EOF
9197 #line 9198 "configure" 9198 #line 9199 "configure"
9198 #include "confdefs.h" 9199 #include "confdefs.h"
9199 #include <$athena_variant/ThreeD.h> 9200 #include <$athena_variant/ThreeD.h>
9200 EOF 9201 EOF
9201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9202 { (eval echo configure:9203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9204 if test -z "$ac_err"; then 9205 if test -z "$ac_err"; then
9205 rm -rf conftest* 9206 rm -rf conftest*
9206 eval "ac_cv_header_$ac_safe=yes" 9207 eval "ac_cv_header_$ac_safe=yes"
9207 else 9208 else
9226 fi 9227 fi
9227 9228
9228 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 9229 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
9229 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 9230 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
9230 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 9231 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
9231 echo "configure:9232: checking for X11/Xaw3d/XawInit.h" >&5 9232 echo "configure:9233: checking for X11/Xaw3d/XawInit.h" >&5
9232 9233
9233 cat > conftest.$ac_ext <<EOF 9234 cat > conftest.$ac_ext <<EOF
9234 #line 9235 "configure" 9235 #line 9236 "configure"
9235 #include "confdefs.h" 9236 #include "confdefs.h"
9236 #include <X11/Xaw3d/XawInit.h> 9237 #include <X11/Xaw3d/XawInit.h>
9237 EOF 9238 EOF
9238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9239 { (eval echo configure:9240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9240 { (eval echo configure:9241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9241 if test -z "$ac_err"; then 9242 if test -z "$ac_err"; then
9242 rm -rf conftest* 9243 rm -rf conftest*
9243 eval "ac_cv_header_$ac_safe=yes" 9244 eval "ac_cv_header_$ac_safe=yes"
9244 else 9245 else
9251 rm -f conftest* 9252 rm -f conftest*
9252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9253 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9253 echo "$ac_t""yes" 1>&6 9254 echo "$ac_t""yes" 1>&6
9254 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 9255 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
9255 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 9256 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
9256 echo "configure:9257: checking for X11/Xaw3d/ThreeD.h" >&5 9257 echo "configure:9258: checking for X11/Xaw3d/ThreeD.h" >&5
9257 9258
9258 cat > conftest.$ac_ext <<EOF 9259 cat > conftest.$ac_ext <<EOF
9259 #line 9260 "configure" 9260 #line 9261 "configure"
9260 #include "confdefs.h" 9261 #include "confdefs.h"
9261 #include <X11/Xaw3d/ThreeD.h> 9262 #include <X11/Xaw3d/ThreeD.h>
9262 EOF 9263 EOF
9263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9264 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9264 { (eval echo configure:9265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9265 { (eval echo configure:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9266 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9266 if test -z "$ac_err"; then 9267 if test -z "$ac_err"; then
9267 rm -rf conftest* 9268 rm -rf conftest*
9268 eval "ac_cv_header_$ac_safe=yes" 9269 eval "ac_cv_header_$ac_safe=yes"
9269 else 9270 else
9291 fi 9292 fi
9292 9293
9293 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 9294 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
9294 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 9295 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
9295 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 9296 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
9296 echo "configure:9297: checking for Xaw3d/XawInit.h" >&5 9297 echo "configure:9298: checking for Xaw3d/XawInit.h" >&5
9297 9298
9298 cat > conftest.$ac_ext <<EOF 9299 cat > conftest.$ac_ext <<EOF
9299 #line 9300 "configure" 9300 #line 9301 "configure"
9300 #include "confdefs.h" 9301 #include "confdefs.h"
9301 #include <Xaw3d/XawInit.h> 9302 #include <Xaw3d/XawInit.h>
9302 EOF 9303 EOF
9303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9304 { (eval echo configure:9305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9305 { (eval echo configure:9306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9306 if test -z "$ac_err"; then 9307 if test -z "$ac_err"; then
9307 rm -rf conftest* 9308 rm -rf conftest*
9308 eval "ac_cv_header_$ac_safe=yes" 9309 eval "ac_cv_header_$ac_safe=yes"
9309 else 9310 else
9316 rm -f conftest* 9317 rm -f conftest*
9317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9318 echo "$ac_t""yes" 1>&6 9319 echo "$ac_t""yes" 1>&6
9319 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 9320 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
9320 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 9321 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
9321 echo "configure:9322: checking for Xaw3d/ThreeD.h" >&5 9322 echo "configure:9323: checking for Xaw3d/ThreeD.h" >&5
9322 9323
9323 cat > conftest.$ac_ext <<EOF 9324 cat > conftest.$ac_ext <<EOF
9324 #line 9325 "configure" 9325 #line 9326 "configure"
9325 #include "confdefs.h" 9326 #include "confdefs.h"
9326 #include <Xaw3d/ThreeD.h> 9327 #include <Xaw3d/ThreeD.h>
9327 EOF 9328 EOF
9328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9329 { (eval echo configure:9330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9330 { (eval echo configure:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9331 if test -z "$ac_err"; then 9332 if test -z "$ac_err"; then
9332 rm -rf conftest* 9333 rm -rf conftest*
9333 eval "ac_cv_header_$ac_safe=yes" 9334 eval "ac_cv_header_$ac_safe=yes"
9334 else 9335 else
9356 fi 9357 fi
9357 9358
9358 if test -z "$athena_h_path"; then 9359 if test -z "$athena_h_path"; then
9359 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 9360 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
9360 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 9361 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
9361 echo "configure:9362: checking for X11/Xaw/ThreeD.h" >&5 9362 echo "configure:9363: checking for X11/Xaw/ThreeD.h" >&5
9362 9363
9363 cat > conftest.$ac_ext <<EOF 9364 cat > conftest.$ac_ext <<EOF
9364 #line 9365 "configure" 9365 #line 9366 "configure"
9365 #include "confdefs.h" 9366 #include "confdefs.h"
9366 #include <X11/Xaw/ThreeD.h> 9367 #include <X11/Xaw/ThreeD.h>
9367 EOF 9368 EOF
9368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9369 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9369 { (eval echo configure:9370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9370 { (eval echo configure:9371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9371 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9371 if test -z "$ac_err"; then 9372 if test -z "$ac_err"; then
9372 rm -rf conftest* 9373 rm -rf conftest*
9373 eval "ac_cv_header_$ac_safe=yes" 9374 eval "ac_cv_header_$ac_safe=yes"
9374 else 9375 else
9403 have_xaw=no 9404 have_xaw=no
9404 fi 9405 fi
9405 if test "$with_x11" = "yes"; then 9406 if test "$with_x11" = "yes"; then
9406 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 9407 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
9407 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 9408 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
9408 echo "configure:9409: checking for Xm/Xm.h" >&5 9409 echo "configure:9410: checking for Xm/Xm.h" >&5
9409 9410
9410 cat > conftest.$ac_ext <<EOF 9411 cat > conftest.$ac_ext <<EOF
9411 #line 9412 "configure" 9412 #line 9413 "configure"
9412 #include "confdefs.h" 9413 #include "confdefs.h"
9413 #include <Xm/Xm.h> 9414 #include <Xm/Xm.h>
9414 EOF 9415 EOF
9415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9416 { (eval echo configure:9417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9417 { (eval echo configure:9418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9418 if test -z "$ac_err"; then 9419 if test -z "$ac_err"; then
9419 rm -rf conftest* 9420 rm -rf conftest*
9420 eval "ac_cv_header_$ac_safe=yes" 9421 eval "ac_cv_header_$ac_safe=yes"
9421 else 9422 else
9428 rm -f conftest* 9429 rm -f conftest*
9429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9430 echo "$ac_t""yes" 1>&6 9431 echo "$ac_t""yes" 1>&6
9431 9432
9432 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 9433 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
9433 echo "configure:9434: checking for XmStringFree in -lXm" >&5 9434 echo "configure:9435: checking for XmStringFree in -lXm" >&5
9434 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 9435 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
9435 9436
9436 xe_check_libs=" -lXm " 9437 xe_check_libs=" -lXm "
9437 cat > conftest.$ac_ext <<EOF 9438 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure" 9439 #line 9440 "configure"
9439 #include "confdefs.h" 9440 #include "confdefs.h"
9440 /* Override any gcc2 internal prototype to avoid an error. */ 9441 /* Override any gcc2 internal prototype to avoid an error. */
9441 /* We use char because int might match the return type of a gcc2 9442 /* We use char because int might match the return type of a gcc2
9442 builtin and then its argument prototype would still apply. */ 9443 builtin and then its argument prototype would still apply. */
9443 char XmStringFree(); 9444 char XmStringFree();
9444 9445
9445 int main() { 9446 int main() {
9446 XmStringFree() 9447 XmStringFree()
9447 ; return 0; } 9448 ; return 0; }
9448 EOF 9449 EOF
9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9450 rm -rf conftest* 9451 rm -rf conftest*
9451 eval "ac_cv_lib_$ac_lib_var=yes" 9452 eval "ac_cv_lib_$ac_lib_var=yes"
9452 else 9453 else
9453 echo "configure: failed program was:" >&5 9454 echo "configure: failed program was:" >&5
9454 cat conftest.$ac_ext >&5 9455 cat conftest.$ac_ext >&5
9473 fi 9474 fi
9474 9475
9475 9476
9476 if test "$have_motif" = "yes"; then 9477 if test "$have_motif" = "yes"; then
9477 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 9478 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
9478 echo "configure:9479: checking for Lesstif" >&5 9479 echo "configure:9480: checking for Lesstif" >&5
9479 cat > conftest.$ac_ext <<EOF 9480 cat > conftest.$ac_ext <<EOF
9480 #line 9481 "configure" 9481 #line 9482 "configure"
9481 #include "confdefs.h" 9482 #include "confdefs.h"
9482 #include <Xm/Xm.h> 9483 #include <Xm/Xm.h>
9483 #ifdef LESSTIF_VERSION 9484 #ifdef LESSTIF_VERSION
9484 yes 9485 yes
9485 #endif 9486 #endif
9848 9849
9849 fi 9850 fi
9850 9851
9851 if test "$with_mule" = "yes" ; then 9852 if test "$with_mule" = "yes" ; then
9852 echo "checking for Mule-related features" 1>&6 9853 echo "checking for Mule-related features" 1>&6
9853 echo "configure:9854: checking for Mule-related features" >&5 9854 echo "configure:9855: checking for Mule-related features" >&5
9854 { test "$extra_verbose" = "yes" && cat << \EOF 9855 { test "$extra_verbose" = "yes" && cat << \EOF
9855 Defining MULE 9856 Defining MULE
9856 EOF 9857 EOF
9857 cat >> confdefs.h <<\EOF 9858 cat >> confdefs.h <<\EOF
9858 #define MULE 1 9859 #define MULE 1
9862 9863
9863 for ac_hdr in libintl.h 9864 for ac_hdr in libintl.h
9864 do 9865 do
9865 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9866 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9867 echo "configure:9868: checking for $ac_hdr" >&5 9868 echo "configure:9869: checking for $ac_hdr" >&5
9868 9869
9869 cat > conftest.$ac_ext <<EOF 9870 cat > conftest.$ac_ext <<EOF
9870 #line 9871 "configure" 9871 #line 9872 "configure"
9871 #include "confdefs.h" 9872 #include "confdefs.h"
9872 #include <$ac_hdr> 9873 #include <$ac_hdr>
9873 EOF 9874 EOF
9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9875 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9875 { (eval echo configure:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9876 { (eval echo configure:9877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9877 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9877 if test -z "$ac_err"; then 9878 if test -z "$ac_err"; then
9878 rm -rf conftest* 9879 rm -rf conftest*
9879 eval "ac_cv_header_$ac_safe=yes" 9880 eval "ac_cv_header_$ac_safe=yes"
9880 else 9881 else
9901 fi 9902 fi
9902 done 9903 done
9903 9904
9904 9905
9905 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 9906 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
9906 echo "configure:9907: checking for strerror in -lintl" >&5 9907 echo "configure:9908: checking for strerror in -lintl" >&5
9907 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 9908 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
9908 9909
9909 xe_check_libs=" -lintl " 9910 xe_check_libs=" -lintl "
9910 cat > conftest.$ac_ext <<EOF 9911 cat > conftest.$ac_ext <<EOF
9911 #line 9912 "configure" 9912 #line 9913 "configure"
9912 #include "confdefs.h" 9913 #include "confdefs.h"
9913 /* Override any gcc2 internal prototype to avoid an error. */ 9914 /* Override any gcc2 internal prototype to avoid an error. */
9914 /* We use char because int might match the return type of a gcc2 9915 /* We use char because int might match the return type of a gcc2
9915 builtin and then its argument prototype would still apply. */ 9916 builtin and then its argument prototype would still apply. */
9916 char strerror(); 9917 char strerror();
9917 9918
9918 int main() { 9919 int main() {
9919 strerror() 9920 strerror()
9920 ; return 0; } 9921 ; return 0; }
9921 EOF 9922 EOF
9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9923 rm -rf conftest* 9924 rm -rf conftest*
9924 eval "ac_cv_lib_$ac_lib_var=yes" 9925 eval "ac_cv_lib_$ac_lib_var=yes"
9925 else 9926 else
9926 echo "configure: failed program was:" >&5 9927 echo "configure: failed program was:" >&5
9927 cat conftest.$ac_ext >&5 9928 cat conftest.$ac_ext >&5
9950 fi 9951 fi
9951 9952
9952 9953
9953 9954
9954 echo "checking for Mule input methods" 1>&6 9955 echo "checking for Mule input methods" 1>&6
9955 echo "configure:9956: checking for Mule input methods" >&5 9956 echo "configure:9957: checking for Mule input methods" >&5
9956 case "$with_xim" in "" | "yes" ) 9957 case "$with_xim" in "" | "yes" )
9957 echo "checking for XIM" 1>&6 9958 echo "checking for XIM" 1>&6
9958 echo "configure:9959: checking for XIM" >&5 9959 echo "configure:9960: checking for XIM" >&5
9959 9960
9960 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 9961 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
9961 echo "configure:9962: checking for XOpenIM in -lX11" >&5 9962 echo "configure:9963: checking for XOpenIM in -lX11" >&5
9962 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 9963 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
9963 9964
9964 xe_check_libs=" -lX11 " 9965 xe_check_libs=" -lX11 "
9965 cat > conftest.$ac_ext <<EOF 9966 cat > conftest.$ac_ext <<EOF
9966 #line 9967 "configure" 9967 #line 9968 "configure"
9967 #include "confdefs.h" 9968 #include "confdefs.h"
9968 /* Override any gcc2 internal prototype to avoid an error. */ 9969 /* Override any gcc2 internal prototype to avoid an error. */
9969 /* We use char because int might match the return type of a gcc2 9970 /* We use char because int might match the return type of a gcc2
9970 builtin and then its argument prototype would still apply. */ 9971 builtin and then its argument prototype would still apply. */
9971 char XOpenIM(); 9972 char XOpenIM();
9972 9973
9973 int main() { 9974 int main() {
9974 XOpenIM() 9975 XOpenIM()
9975 ; return 0; } 9976 ; return 0; }
9976 EOF 9977 EOF
9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9978 if { (eval echo configure:9979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9978 rm -rf conftest* 9979 rm -rf conftest*
9979 eval "ac_cv_lib_$ac_lib_var=yes" 9980 eval "ac_cv_lib_$ac_lib_var=yes"
9980 else 9981 else
9981 echo "configure: failed program was:" >&5 9982 echo "configure: failed program was:" >&5
9982 cat conftest.$ac_ext >&5 9983 cat conftest.$ac_ext >&5
9996 9997
9997 9998
9998 if test "$have_motif $have_lesstif" = "yes no"; then 9999 if test "$have_motif $have_lesstif" = "yes no"; then
9999 10000
10000 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 10001 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
10001 echo "configure:10002: checking for XmImMbLookupString in -lXm" >&5 10002 echo "configure:10003: checking for XmImMbLookupString in -lXm" >&5
10002 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 10003 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
10003 10004
10004 xe_check_libs=" -lXm " 10005 xe_check_libs=" -lXm "
10005 cat > conftest.$ac_ext <<EOF 10006 cat > conftest.$ac_ext <<EOF
10006 #line 10007 "configure" 10007 #line 10008 "configure"
10007 #include "confdefs.h" 10008 #include "confdefs.h"
10008 /* Override any gcc2 internal prototype to avoid an error. */ 10009 /* Override any gcc2 internal prototype to avoid an error. */
10009 /* We use char because int might match the return type of a gcc2 10010 /* We use char because int might match the return type of a gcc2
10010 builtin and then its argument prototype would still apply. */ 10011 builtin and then its argument prototype would still apply. */
10011 char XmImMbLookupString(); 10012 char XmImMbLookupString();
10012 10013
10013 int main() { 10014 int main() {
10014 XmImMbLookupString() 10015 XmImMbLookupString()
10015 ; return 0; } 10016 ; return 0; }
10016 EOF 10017 EOF
10017 if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10018 if { (eval echo configure:10019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10018 rm -rf conftest* 10019 rm -rf conftest*
10019 eval "ac_cv_lib_$ac_lib_var=yes" 10020 eval "ac_cv_lib_$ac_lib_var=yes"
10020 else 10021 else
10021 echo "configure: failed program was:" >&5 10022 echo "configure: failed program was:" >&5
10022 cat conftest.$ac_ext >&5 10023 cat conftest.$ac_ext >&5
10077 fi 10078 fi
10078 fi 10079 fi
10079 10080
10080 if test "$with_xfs" = "yes" ; then 10081 if test "$with_xfs" = "yes" ; then
10081 echo "checking for XFontSet" 1>&6 10082 echo "checking for XFontSet" 1>&6
10082 echo "configure:10083: checking for XFontSet" >&5 10083 echo "configure:10084: checking for XFontSet" >&5
10083 10084
10084 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 10085 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
10085 echo "configure:10086: checking for XmbDrawString in -lX11" >&5 10086 echo "configure:10087: checking for XmbDrawString in -lX11" >&5
10086 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 10087 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
10087 10088
10088 xe_check_libs=" -lX11 " 10089 xe_check_libs=" -lX11 "
10089 cat > conftest.$ac_ext <<EOF 10090 cat > conftest.$ac_ext <<EOF
10090 #line 10091 "configure" 10091 #line 10092 "configure"
10091 #include "confdefs.h" 10092 #include "confdefs.h"
10092 /* Override any gcc2 internal prototype to avoid an error. */ 10093 /* Override any gcc2 internal prototype to avoid an error. */
10093 /* We use char because int might match the return type of a gcc2 10094 /* We use char because int might match the return type of a gcc2
10094 builtin and then its argument prototype would still apply. */ 10095 builtin and then its argument prototype would still apply. */
10095 char XmbDrawString(); 10096 char XmbDrawString();
10096 10097
10097 int main() { 10098 int main() {
10098 XmbDrawString() 10099 XmbDrawString()
10099 ; return 0; } 10100 ; return 0; }
10100 EOF 10101 EOF
10101 if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10102 rm -rf conftest* 10103 rm -rf conftest*
10103 eval "ac_cv_lib_$ac_lib_var=yes" 10104 eval "ac_cv_lib_$ac_lib_var=yes"
10104 else 10105 else
10105 echo "configure: failed program was:" >&5 10106 echo "configure: failed program was:" >&5
10106 cat conftest.$ac_ext >&5 10107 cat conftest.$ac_ext >&5
10136 fi 10137 fi
10137 fi 10138 fi
10138 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 10139 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
10139 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 10140 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
10140 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 10141 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
10141 echo "configure:10142: checking for wnn/jllib.h" >&5 10142 echo "configure:10143: checking for wnn/jllib.h" >&5
10142 10143
10143 cat > conftest.$ac_ext <<EOF 10144 cat > conftest.$ac_ext <<EOF
10144 #line 10145 "configure" 10145 #line 10146 "configure"
10145 #include "confdefs.h" 10146 #include "confdefs.h"
10146 #include <wnn/jllib.h> 10147 #include <wnn/jllib.h>
10147 EOF 10148 EOF
10148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10149 { (eval echo configure:10150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10150 { (eval echo configure:10151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10151 if test -z "$ac_err"; then 10152 if test -z "$ac_err"; then
10152 rm -rf conftest* 10153 rm -rf conftest*
10153 eval "ac_cv_header_$ac_safe=yes" 10154 eval "ac_cv_header_$ac_safe=yes"
10154 else 10155 else
10167 with_wnn=no 10168 with_wnn=no
10168 fi 10169 fi
10169 } 10170 }
10170 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 10171 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
10171 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 10172 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
10172 echo "configure:10173: checking for wnn/commonhd.h" >&5 10173 echo "configure:10174: checking for wnn/commonhd.h" >&5
10173 10174
10174 cat > conftest.$ac_ext <<EOF 10175 cat > conftest.$ac_ext <<EOF
10175 #line 10176 "configure" 10176 #line 10177 "configure"
10176 #include "confdefs.h" 10177 #include "confdefs.h"
10177 #include <wnn/commonhd.h> 10178 #include <wnn/commonhd.h>
10178 EOF 10179 EOF
10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10181 { (eval echo configure:10182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10182 if test -z "$ac_err"; then 10183 if test -z "$ac_err"; then
10183 rm -rf conftest* 10184 rm -rf conftest*
10184 eval "ac_cv_header_$ac_safe=yes" 10185 eval "ac_cv_header_$ac_safe=yes"
10185 else 10186 else
10200 } 10201 }
10201 if test "$with_wnn" != "no"; then 10202 if test "$with_wnn" != "no"; then
10202 for ac_func in crypt 10203 for ac_func in crypt
10203 do 10204 do
10204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10205 echo "configure:10206: checking for $ac_func" >&5 10206 echo "configure:10207: checking for $ac_func" >&5
10206 10207
10207 cat > conftest.$ac_ext <<EOF 10208 cat > conftest.$ac_ext <<EOF
10208 #line 10209 "configure" 10209 #line 10210 "configure"
10209 #include "confdefs.h" 10210 #include "confdefs.h"
10210 /* System header to define __stub macros and hopefully few prototypes, 10211 /* System header to define __stub macros and hopefully few prototypes,
10211 which can conflict with char $ac_func(); below. */ 10212 which can conflict with char $ac_func(); below. */
10212 #include <assert.h> 10213 #include <assert.h>
10213 /* Override any gcc2 internal prototype to avoid an error. */ 10214 /* Override any gcc2 internal prototype to avoid an error. */
10226 $ac_func(); 10227 $ac_func();
10227 #endif 10228 #endif
10228 10229
10229 ; return 0; } 10230 ; return 0; }
10230 EOF 10231 EOF
10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10232 if { (eval echo configure:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10232 rm -rf conftest* 10233 rm -rf conftest*
10233 eval "ac_cv_func_$ac_func=yes" 10234 eval "ac_cv_func_$ac_func=yes"
10234 else 10235 else
10235 echo "configure: failed program was:" >&5 10236 echo "configure: failed program was:" >&5
10236 cat conftest.$ac_ext >&5 10237 cat conftest.$ac_ext >&5
10255 fi 10256 fi
10256 done 10257 done
10257 10258
10258 test "$ac_cv_func_crypt" != "yes" && { 10259 test "$ac_cv_func_crypt" != "yes" && {
10259 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 10260 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
10260 echo "configure:10261: checking for crypt in -lcrypt" >&5 10261 echo "configure:10262: checking for crypt in -lcrypt" >&5
10261 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 10262 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
10262 10263
10263 xe_check_libs=" -lcrypt " 10264 xe_check_libs=" -lcrypt "
10264 cat > conftest.$ac_ext <<EOF 10265 cat > conftest.$ac_ext <<EOF
10265 #line 10266 "configure" 10266 #line 10267 "configure"
10266 #include "confdefs.h" 10267 #include "confdefs.h"
10267 /* Override any gcc2 internal prototype to avoid an error. */ 10268 /* Override any gcc2 internal prototype to avoid an error. */
10268 /* We use char because int might match the return type of a gcc2 10269 /* We use char because int might match the return type of a gcc2
10269 builtin and then its argument prototype would still apply. */ 10270 builtin and then its argument prototype would still apply. */
10270 char crypt(); 10271 char crypt();
10271 10272
10272 int main() { 10273 int main() {
10273 crypt() 10274 crypt()
10274 ; return 0; } 10275 ; return 0; }
10275 EOF 10276 EOF
10276 if { (eval echo configure:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10277 if { (eval echo configure:10278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10277 rm -rf conftest* 10278 rm -rf conftest*
10278 eval "ac_cv_lib_$ac_lib_var=yes" 10279 eval "ac_cv_lib_$ac_lib_var=yes"
10279 else 10280 else
10280 echo "configure: failed program was:" >&5 10281 echo "configure: failed program was:" >&5
10281 cat conftest.$ac_ext >&5 10282 cat conftest.$ac_ext >&5
10306 } 10307 }
10307 fi 10308 fi
10308 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 10309 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
10309 10310
10310 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 10311 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
10311 echo "configure:10312: checking for jl_dic_list_e in -lwnn" >&5 10312 echo "configure:10313: checking for jl_dic_list_e in -lwnn" >&5
10312 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10313 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10313 10314
10314 xe_check_libs=" -lwnn " 10315 xe_check_libs=" -lwnn "
10315 cat > conftest.$ac_ext <<EOF 10316 cat > conftest.$ac_ext <<EOF
10316 #line 10317 "configure" 10317 #line 10318 "configure"
10317 #include "confdefs.h" 10318 #include "confdefs.h"
10318 /* Override any gcc2 internal prototype to avoid an error. */ 10319 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2 10320 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */ 10321 builtin and then its argument prototype would still apply. */
10321 char jl_dic_list_e(); 10322 char jl_dic_list_e();
10322 10323
10323 int main() { 10324 int main() {
10324 jl_dic_list_e() 10325 jl_dic_list_e()
10325 ; return 0; } 10326 ; return 0; }
10326 EOF 10327 EOF
10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10328 rm -rf conftest* 10329 rm -rf conftest*
10329 eval "ac_cv_lib_$ac_lib_var=yes" 10330 eval "ac_cv_lib_$ac_lib_var=yes"
10330 else 10331 else
10331 echo "configure: failed program was:" >&5 10332 echo "configure: failed program was:" >&5
10332 cat conftest.$ac_ext >&5 10333 cat conftest.$ac_ext >&5
10340 echo "$ac_t""yes" 1>&6 10341 echo "$ac_t""yes" 1>&6
10341 libwnn=wnn 10342 libwnn=wnn
10342 else 10343 else
10343 echo "$ac_t""no" 1>&6 10344 echo "$ac_t""no" 1>&6
10344 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 10345 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
10345 echo "configure:10346: checking for jl_dic_list_e in -lwnn4" >&5 10346 echo "configure:10347: checking for jl_dic_list_e in -lwnn4" >&5
10346 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10347 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10347 10348
10348 xe_check_libs=" -lwnn4 " 10349 xe_check_libs=" -lwnn4 "
10349 cat > conftest.$ac_ext <<EOF 10350 cat > conftest.$ac_ext <<EOF
10350 #line 10351 "configure" 10351 #line 10352 "configure"
10351 #include "confdefs.h" 10352 #include "confdefs.h"
10352 /* Override any gcc2 internal prototype to avoid an error. */ 10353 /* Override any gcc2 internal prototype to avoid an error. */
10353 /* We use char because int might match the return type of a gcc2 10354 /* We use char because int might match the return type of a gcc2
10354 builtin and then its argument prototype would still apply. */ 10355 builtin and then its argument prototype would still apply. */
10355 char jl_dic_list_e(); 10356 char jl_dic_list_e();
10356 10357
10357 int main() { 10358 int main() {
10358 jl_dic_list_e() 10359 jl_dic_list_e()
10359 ; return 0; } 10360 ; return 0; }
10360 EOF 10361 EOF
10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10362 if { (eval echo configure:10363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10362 rm -rf conftest* 10363 rm -rf conftest*
10363 eval "ac_cv_lib_$ac_lib_var=yes" 10364 eval "ac_cv_lib_$ac_lib_var=yes"
10364 else 10365 else
10365 echo "configure: failed program was:" >&5 10366 echo "configure: failed program was:" >&5
10366 cat conftest.$ac_ext >&5 10367 cat conftest.$ac_ext >&5
10374 echo "$ac_t""yes" 1>&6 10375 echo "$ac_t""yes" 1>&6
10375 libwnn=wnn4 10376 libwnn=wnn4
10376 else 10377 else
10377 echo "$ac_t""no" 1>&6 10378 echo "$ac_t""no" 1>&6
10378 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 10379 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
10379 echo "configure:10380: checking for jl_dic_list_e in -lwnn6" >&5 10380 echo "configure:10381: checking for jl_dic_list_e in -lwnn6" >&5
10380 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10381 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10381 10382
10382 xe_check_libs=" -lwnn6 " 10383 xe_check_libs=" -lwnn6 "
10383 cat > conftest.$ac_ext <<EOF 10384 cat > conftest.$ac_ext <<EOF
10384 #line 10385 "configure" 10385 #line 10386 "configure"
10385 #include "confdefs.h" 10386 #include "confdefs.h"
10386 /* Override any gcc2 internal prototype to avoid an error. */ 10387 /* Override any gcc2 internal prototype to avoid an error. */
10387 /* We use char because int might match the return type of a gcc2 10388 /* We use char because int might match the return type of a gcc2
10388 builtin and then its argument prototype would still apply. */ 10389 builtin and then its argument prototype would still apply. */
10389 char jl_dic_list_e(); 10390 char jl_dic_list_e();
10390 10391
10391 int main() { 10392 int main() {
10392 jl_dic_list_e() 10393 jl_dic_list_e()
10393 ; return 0; } 10394 ; return 0; }
10394 EOF 10395 EOF
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10396 if { (eval echo configure:10397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10396 rm -rf conftest* 10397 rm -rf conftest*
10397 eval "ac_cv_lib_$ac_lib_var=yes" 10398 eval "ac_cv_lib_$ac_lib_var=yes"
10398 else 10399 else
10399 echo "configure: failed program was:" >&5 10400 echo "configure: failed program was:" >&5
10400 cat conftest.$ac_ext >&5 10401 cat conftest.$ac_ext >&5
10408 echo "$ac_t""yes" 1>&6 10409 echo "$ac_t""yes" 1>&6
10409 libwnn=wnn6 10410 libwnn=wnn6
10410 else 10411 else
10411 echo "$ac_t""no" 1>&6 10412 echo "$ac_t""no" 1>&6
10412 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 10413 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
10413 echo "configure:10414: checking for dic_list_e in -lwnn6_fromsrc" >&5 10414 echo "configure:10415: checking for dic_list_e in -lwnn6_fromsrc" >&5
10414 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 10415 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
10415 10416
10416 xe_check_libs=" -lwnn6_fromsrc " 10417 xe_check_libs=" -lwnn6_fromsrc "
10417 cat > conftest.$ac_ext <<EOF 10418 cat > conftest.$ac_ext <<EOF
10418 #line 10419 "configure" 10419 #line 10420 "configure"
10419 #include "confdefs.h" 10420 #include "confdefs.h"
10420 /* Override any gcc2 internal prototype to avoid an error. */ 10421 /* Override any gcc2 internal prototype to avoid an error. */
10421 /* We use char because int might match the return type of a gcc2 10422 /* We use char because int might match the return type of a gcc2
10422 builtin and then its argument prototype would still apply. */ 10423 builtin and then its argument prototype would still apply. */
10423 char dic_list_e(); 10424 char dic_list_e();
10424 10425
10425 int main() { 10426 int main() {
10426 dic_list_e() 10427 dic_list_e()
10427 ; return 0; } 10428 ; return 0; }
10428 EOF 10429 EOF
10429 if { (eval echo configure:10430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10430 if { (eval echo configure:10431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10430 rm -rf conftest* 10431 rm -rf conftest*
10431 eval "ac_cv_lib_$ac_lib_var=yes" 10432 eval "ac_cv_lib_$ac_lib_var=yes"
10432 else 10433 else
10433 echo "configure: failed program was:" >&5 10434 echo "configure: failed program was:" >&5
10434 cat conftest.$ac_ext >&5 10435 cat conftest.$ac_ext >&5
10469 10470
10470 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 10471 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
10471 if test "$with_wnn6" != "no"; then 10472 if test "$with_wnn6" != "no"; then
10472 10473
10473 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 10474 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
10474 echo "configure:10475: checking for jl_fi_dic_list in -l$libwnn" >&5 10475 echo "configure:10476: checking for jl_fi_dic_list in -l$libwnn" >&5
10475 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 10476 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
10476 10477
10477 xe_check_libs=" -l$libwnn " 10478 xe_check_libs=" -l$libwnn "
10478 cat > conftest.$ac_ext <<EOF 10479 cat > conftest.$ac_ext <<EOF
10479 #line 10480 "configure" 10480 #line 10481 "configure"
10480 #include "confdefs.h" 10481 #include "confdefs.h"
10481 /* Override any gcc2 internal prototype to avoid an error. */ 10482 /* Override any gcc2 internal prototype to avoid an error. */
10482 /* We use char because int might match the return type of a gcc2 10483 /* We use char because int might match the return type of a gcc2
10483 builtin and then its argument prototype would still apply. */ 10484 builtin and then its argument prototype would still apply. */
10484 char jl_fi_dic_list(); 10485 char jl_fi_dic_list();
10485 10486
10486 int main() { 10487 int main() {
10487 jl_fi_dic_list() 10488 jl_fi_dic_list()
10488 ; return 0; } 10489 ; return 0; }
10489 EOF 10490 EOF
10490 if { (eval echo configure:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10491 if { (eval echo configure:10492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10491 rm -rf conftest* 10492 rm -rf conftest*
10492 eval "ac_cv_lib_$ac_lib_var=yes" 10493 eval "ac_cv_lib_$ac_lib_var=yes"
10493 else 10494 else
10494 echo "configure: failed program was:" >&5 10495 echo "configure: failed program was:" >&5
10495 cat conftest.$ac_ext >&5 10496 cat conftest.$ac_ext >&5
10520 10521
10521 canna_includes_found=no 10522 canna_includes_found=no
10522 if test "$with_canna" != "no"; then 10523 if test "$with_canna" != "no"; then
10523 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 10524 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
10524 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 10525 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
10525 echo "configure:10526: checking for canna/jrkanji.h" >&5 10526 echo "configure:10527: checking for canna/jrkanji.h" >&5
10526 10527
10527 cat > conftest.$ac_ext <<EOF 10528 cat > conftest.$ac_ext <<EOF
10528 #line 10529 "configure" 10529 #line 10530 "configure"
10529 #include "confdefs.h" 10530 #include "confdefs.h"
10530 #include <canna/jrkanji.h> 10531 #include <canna/jrkanji.h>
10531 EOF 10532 EOF
10532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10533 { (eval echo configure:10534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10534 { (eval echo configure:10535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10535 if test -z "$ac_err"; then 10536 if test -z "$ac_err"; then
10536 rm -rf conftest* 10537 rm -rf conftest*
10537 eval "ac_cv_header_$ac_safe=yes" 10538 eval "ac_cv_header_$ac_safe=yes"
10538 else 10539 else
10555 -d "/usr/local/canna/include"; then 10556 -d "/usr/local/canna/include"; then
10556 save_c_switch_site="$c_switch_site" 10557 save_c_switch_site="$c_switch_site"
10557 c_switch_site="$c_switch_site -I/usr/local/canna/include" 10558 c_switch_site="$c_switch_site -I/usr/local/canna/include"
10558 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 10559 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
10559 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 10560 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
10560 echo "configure:10561: checking for canna/jrkanji.h" >&5 10561 echo "configure:10562: checking for canna/jrkanji.h" >&5
10561 10562
10562 cat > conftest.$ac_ext <<EOF 10563 cat > conftest.$ac_ext <<EOF
10563 #line 10564 "configure" 10564 #line 10565 "configure"
10564 #include "confdefs.h" 10565 #include "confdefs.h"
10565 #include <canna/jrkanji.h> 10566 #include <canna/jrkanji.h>
10566 EOF 10567 EOF
10567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10568 { (eval echo configure:10569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10569 { (eval echo configure:10570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10570 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10570 if test -z "$ac_err"; then 10571 if test -z "$ac_err"; then
10571 rm -rf conftest* 10572 rm -rf conftest*
10572 eval "ac_cv_header_$ac_safe=yes" 10573 eval "ac_cv_header_$ac_safe=yes"
10573 else 10574 else
10591 fi 10592 fi
10592 fi 10593 fi
10593 10594
10594 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 10595 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
10595 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 10596 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
10596 echo "configure:10597: checking for canna/RK.h" >&5 10597 echo "configure:10598: checking for canna/RK.h" >&5
10597 10598
10598 cat > conftest.$ac_ext <<EOF 10599 cat > conftest.$ac_ext <<EOF
10599 #line 10600 "configure" 10600 #line 10601 "configure"
10600 #include "confdefs.h" 10601 #include "confdefs.h"
10601 #include <canna/RK.h> 10602 #include <canna/RK.h>
10602 EOF 10603 EOF
10603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10604 { (eval echo configure:10605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10606 if test -z "$ac_err"; then 10607 if test -z "$ac_err"; then
10607 rm -rf conftest* 10608 rm -rf conftest*
10608 eval "ac_cv_header_$ac_safe=yes" 10609 eval "ac_cv_header_$ac_safe=yes"
10609 else 10610 else
10622 with_canna=no 10623 with_canna=no
10623 fi 10624 fi
10624 } 10625 }
10625 test -z "$with_canna" && { 10626 test -z "$with_canna" && {
10626 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 10627 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
10627 echo "configure:10628: checking for RkBgnBun in -lRKC" >&5 10628 echo "configure:10629: checking for RkBgnBun in -lRKC" >&5
10628 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 10629 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
10629 10630
10630 xe_check_libs=" -lRKC " 10631 xe_check_libs=" -lRKC "
10631 cat > conftest.$ac_ext <<EOF 10632 cat > conftest.$ac_ext <<EOF
10632 #line 10633 "configure" 10633 #line 10634 "configure"
10633 #include "confdefs.h" 10634 #include "confdefs.h"
10634 /* Override any gcc2 internal prototype to avoid an error. */ 10635 /* Override any gcc2 internal prototype to avoid an error. */
10635 /* We use char because int might match the return type of a gcc2 10636 /* We use char because int might match the return type of a gcc2
10636 builtin and then its argument prototype would still apply. */ 10637 builtin and then its argument prototype would still apply. */
10637 char RkBgnBun(); 10638 char RkBgnBun();
10638 10639
10639 int main() { 10640 int main() {
10640 RkBgnBun() 10641 RkBgnBun()
10641 ; return 0; } 10642 ; return 0; }
10642 EOF 10643 EOF
10643 if { (eval echo configure:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10644 rm -rf conftest* 10645 rm -rf conftest*
10645 eval "ac_cv_lib_$ac_lib_var=yes" 10646 eval "ac_cv_lib_$ac_lib_var=yes"
10646 else 10647 else
10647 echo "configure: failed program was:" >&5 10648 echo "configure: failed program was:" >&5
10648 cat conftest.$ac_ext >&5 10649 cat conftest.$ac_ext >&5
10661 fi 10662 fi
10662 10663
10663 } 10664 }
10664 test -z "$with_canna" && { 10665 test -z "$with_canna" && {
10665 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 10666 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
10666 echo "configure:10667: checking for jrKanjiControl in -lcanna" >&5 10667 echo "configure:10668: checking for jrKanjiControl in -lcanna" >&5
10667 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 10668 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
10668 10669
10669 xe_check_libs=" -lcanna " 10670 xe_check_libs=" -lcanna "
10670 cat > conftest.$ac_ext <<EOF 10671 cat > conftest.$ac_ext <<EOF
10671 #line 10672 "configure" 10672 #line 10673 "configure"
10672 #include "confdefs.h" 10673 #include "confdefs.h"
10673 /* Override any gcc2 internal prototype to avoid an error. */ 10674 /* Override any gcc2 internal prototype to avoid an error. */
10674 /* We use char because int might match the return type of a gcc2 10675 /* We use char because int might match the return type of a gcc2
10675 builtin and then its argument prototype would still apply. */ 10676 builtin and then its argument prototype would still apply. */
10676 char jrKanjiControl(); 10677 char jrKanjiControl();
10677 10678
10678 int main() { 10679 int main() {
10679 jrKanjiControl() 10680 jrKanjiControl()
10680 ; return 0; } 10681 ; return 0; }
10681 EOF 10682 EOF
10682 if { (eval echo configure:10683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10683 if { (eval echo configure:10684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10683 rm -rf conftest* 10684 rm -rf conftest*
10684 eval "ac_cv_lib_$ac_lib_var=yes" 10685 eval "ac_cv_lib_$ac_lib_var=yes"
10685 else 10686 else
10686 echo "configure: failed program was:" >&5 10687 echo "configure: failed program was:" >&5
10687 cat conftest.$ac_ext >&5 10688 cat conftest.$ac_ext >&5
10723 10724
10724 if test "$need_motif" = "yes" ; then 10725 if test "$need_motif" = "yes" ; then
10725 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 10726 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
10726 10727
10727 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 10728 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
10728 echo "configure:10729: checking for layout_object_getvalue in -li18n" >&5 10729 echo "configure:10730: checking for layout_object_getvalue in -li18n" >&5
10729 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 10730 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
10730 10731
10731 xe_check_libs=" -li18n " 10732 xe_check_libs=" -li18n "
10732 cat > conftest.$ac_ext <<EOF 10733 cat > conftest.$ac_ext <<EOF
10733 #line 10734 "configure" 10734 #line 10735 "configure"
10734 #include "confdefs.h" 10735 #include "confdefs.h"
10735 /* Override any gcc2 internal prototype to avoid an error. */ 10736 /* Override any gcc2 internal prototype to avoid an error. */
10736 /* We use char because int might match the return type of a gcc2 10737 /* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */ 10738 builtin and then its argument prototype would still apply. */
10738 char layout_object_getvalue(); 10739 char layout_object_getvalue();
10739 10740
10740 int main() { 10741 int main() {
10741 layout_object_getvalue() 10742 layout_object_getvalue()
10742 ; return 0; } 10743 ; return 0; }
10743 EOF 10744 EOF
10744 if { (eval echo configure:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10745 if { (eval echo configure:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10745 rm -rf conftest* 10746 rm -rf conftest*
10746 eval "ac_cv_lib_$ac_lib_var=yes" 10747 eval "ac_cv_lib_$ac_lib_var=yes"
10747 else 10748 else
10748 echo "configure: failed program was:" >&5 10749 echo "configure: failed program was:" >&5
10749 cat conftest.$ac_ext >&5 10750 cat conftest.$ac_ext >&5
10825 fi 10826 fi
10826 10827
10827 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask 10828 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask
10828 do 10829 do
10829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10830 echo "configure:10831: checking for $ac_func" >&5 10831 echo "configure:10832: checking for $ac_func" >&5
10831 10832
10832 cat > conftest.$ac_ext <<EOF 10833 cat > conftest.$ac_ext <<EOF
10833 #line 10834 "configure" 10834 #line 10835 "configure"
10834 #include "confdefs.h" 10835 #include "confdefs.h"
10835 /* System header to define __stub macros and hopefully few prototypes, 10836 /* System header to define __stub macros and hopefully few prototypes,
10836 which can conflict with char $ac_func(); below. */ 10837 which can conflict with char $ac_func(); below. */
10837 #include <assert.h> 10838 #include <assert.h>
10838 /* Override any gcc2 internal prototype to avoid an error. */ 10839 /* Override any gcc2 internal prototype to avoid an error. */
10851 $ac_func(); 10852 $ac_func();
10852 #endif 10853 #endif
10853 10854
10854 ; return 0; } 10855 ; return 0; }
10855 EOF 10856 EOF
10856 if { (eval echo configure:10857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10857 if { (eval echo configure:10858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10857 rm -rf conftest* 10858 rm -rf conftest*
10858 eval "ac_cv_func_$ac_func=yes" 10859 eval "ac_cv_func_$ac_func=yes"
10859 else 10860 else
10860 echo "configure: failed program was:" >&5 10861 echo "configure: failed program was:" >&5
10861 cat conftest.$ac_ext >&5 10862 cat conftest.$ac_ext >&5
10883 10884
10884 10885
10885 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 10886 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
10886 do 10887 do
10887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10888 echo "configure:10889: checking for $ac_func" >&5 10889 echo "configure:10890: checking for $ac_func" >&5
10889 10890
10890 cat > conftest.$ac_ext <<EOF 10891 cat > conftest.$ac_ext <<EOF
10891 #line 10892 "configure" 10892 #line 10893 "configure"
10892 #include "confdefs.h" 10893 #include "confdefs.h"
10893 /* System header to define __stub macros and hopefully few prototypes, 10894 /* System header to define __stub macros and hopefully few prototypes,
10894 which can conflict with char $ac_func(); below. */ 10895 which can conflict with char $ac_func(); below. */
10895 #include <assert.h> 10896 #include <assert.h>
10896 /* Override any gcc2 internal prototype to avoid an error. */ 10897 /* Override any gcc2 internal prototype to avoid an error. */
10909 $ac_func(); 10910 $ac_func();
10910 #endif 10911 #endif
10911 10912
10912 ; return 0; } 10913 ; return 0; }
10913 EOF 10914 EOF
10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10915 if { (eval echo configure:10916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10915 rm -rf conftest* 10916 rm -rf conftest*
10916 eval "ac_cv_func_$ac_func=yes" 10917 eval "ac_cv_func_$ac_func=yes"
10917 else 10918 else
10918 echo "configure: failed program was:" >&5 10919 echo "configure: failed program was:" >&5
10919 cat conftest.$ac_ext >&5 10920 cat conftest.$ac_ext >&5
10938 fi 10939 fi
10939 done 10940 done
10940 10941
10941 10942
10942 echo $ac_n "checking for openpty""... $ac_c" 1>&6 10943 echo $ac_n "checking for openpty""... $ac_c" 1>&6
10943 echo "configure:10944: checking for openpty" >&5 10944 echo "configure:10945: checking for openpty" >&5
10944 10945
10945 cat > conftest.$ac_ext <<EOF 10946 cat > conftest.$ac_ext <<EOF
10946 #line 10947 "configure" 10947 #line 10948 "configure"
10947 #include "confdefs.h" 10948 #include "confdefs.h"
10948 /* System header to define __stub macros and hopefully few prototypes, 10949 /* System header to define __stub macros and hopefully few prototypes,
10949 which can conflict with char openpty(); below. */ 10950 which can conflict with char openpty(); below. */
10950 #include <assert.h> 10951 #include <assert.h>
10951 /* Override any gcc2 internal prototype to avoid an error. */ 10952 /* Override any gcc2 internal prototype to avoid an error. */
10964 openpty(); 10965 openpty();
10965 #endif 10966 #endif
10966 10967
10967 ; return 0; } 10968 ; return 0; }
10968 EOF 10969 EOF
10969 if { (eval echo configure:10970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10970 if { (eval echo configure:10971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10970 rm -rf conftest* 10971 rm -rf conftest*
10971 eval "ac_cv_func_openpty=yes" 10972 eval "ac_cv_func_openpty=yes"
10972 else 10973 else
10973 echo "configure: failed program was:" >&5 10974 echo "configure: failed program was:" >&5
10974 cat conftest.$ac_ext >&5 10975 cat conftest.$ac_ext >&5
10983 else 10984 else
10984 echo "$ac_t""no" 1>&6 10985 echo "$ac_t""no" 1>&6
10985 10986
10986 10987
10987 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 10988 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
10988 echo "configure:10989: checking for openpty in -lutil" >&5 10989 echo "configure:10990: checking for openpty in -lutil" >&5
10989 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 10990 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
10990 10991
10991 xe_check_libs=" -lutil " 10992 xe_check_libs=" -lutil "
10992 cat > conftest.$ac_ext <<EOF 10993 cat > conftest.$ac_ext <<EOF
10993 #line 10994 "configure" 10994 #line 10995 "configure"
10994 #include "confdefs.h" 10995 #include "confdefs.h"
10995 /* Override any gcc2 internal prototype to avoid an error. */ 10996 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2 10997 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */ 10998 builtin and then its argument prototype would still apply. */
10998 char openpty(); 10999 char openpty();
10999 11000
11000 int main() { 11001 int main() {
11001 openpty() 11002 openpty()
11002 ; return 0; } 11003 ; return 0; }
11003 EOF 11004 EOF
11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11005 rm -rf conftest* 11006 rm -rf conftest*
11006 eval "ac_cv_lib_$ac_lib_var=yes" 11007 eval "ac_cv_lib_$ac_lib_var=yes"
11007 else 11008 else
11008 echo "configure: failed program was:" >&5 11009 echo "configure: failed program was:" >&5
11009 cat conftest.$ac_ext >&5 11010 cat conftest.$ac_ext >&5
11034 11035
11035 for ac_hdr in libutil.h util.h 11036 for ac_hdr in libutil.h util.h
11036 do 11037 do
11037 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11038 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11039 echo "configure:11040: checking for $ac_hdr" >&5 11040 echo "configure:11041: checking for $ac_hdr" >&5
11040 11041
11041 cat > conftest.$ac_ext <<EOF 11042 cat > conftest.$ac_ext <<EOF
11042 #line 11043 "configure" 11043 #line 11044 "configure"
11043 #include "confdefs.h" 11044 #include "confdefs.h"
11044 #include <$ac_hdr> 11045 #include <$ac_hdr>
11045 EOF 11046 EOF
11046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11047 { (eval echo configure:11048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11048 { (eval echo configure:11049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11049 if test -z "$ac_err"; then 11050 if test -z "$ac_err"; then
11050 rm -rf conftest* 11051 rm -rf conftest*
11051 eval "ac_cv_header_$ac_safe=yes" 11052 eval "ac_cv_header_$ac_safe=yes"
11052 else 11053 else
11079 case "$opsys" in 11080 case "$opsys" in
11080 hpux*) for ac_hdr in sys/ptyio.h 11081 hpux*) for ac_hdr in sys/ptyio.h
11081 do 11082 do
11082 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11083 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11084 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11084 echo "configure:11085: checking for $ac_hdr" >&5 11085 echo "configure:11086: checking for $ac_hdr" >&5
11085 11086
11086 cat > conftest.$ac_ext <<EOF 11087 cat > conftest.$ac_ext <<EOF
11087 #line 11088 "configure" 11088 #line 11089 "configure"
11088 #include "confdefs.h" 11089 #include "confdefs.h"
11089 #include <$ac_hdr> 11090 #include <$ac_hdr>
11090 EOF 11091 EOF
11091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11092 { (eval echo configure:11093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11093 { (eval echo configure:11094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11094 if test -z "$ac_err"; then 11095 if test -z "$ac_err"; then
11095 rm -rf conftest* 11096 rm -rf conftest*
11096 eval "ac_cv_header_$ac_safe=yes" 11097 eval "ac_cv_header_$ac_safe=yes"
11097 else 11098 else
11120 ;; 11121 ;;
11121 *) for ac_hdr in pty.h 11122 *) for ac_hdr in pty.h
11122 do 11123 do
11123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11124 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11125 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11125 echo "configure:11126: checking for $ac_hdr" >&5 11126 echo "configure:11127: checking for $ac_hdr" >&5
11126 11127
11127 cat > conftest.$ac_ext <<EOF 11128 cat > conftest.$ac_ext <<EOF
11128 #line 11129 "configure" 11129 #line 11130 "configure"
11129 #include "confdefs.h" 11130 #include "confdefs.h"
11130 #include <$ac_hdr> 11131 #include <$ac_hdr>
11131 EOF 11132 EOF
11132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11133 { (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11134 { (eval echo configure:11135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11135 if test -z "$ac_err"; then 11136 if test -z "$ac_err"; then
11136 rm -rf conftest* 11137 rm -rf conftest*
11137 eval "ac_cv_header_$ac_safe=yes" 11138 eval "ac_cv_header_$ac_safe=yes"
11138 else 11139 else
11161 11162
11162 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 11163 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
11163 do 11164 do
11164 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11165 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11165 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11166 echo "configure:11167: checking for $ac_hdr" >&5 11167 echo "configure:11168: checking for $ac_hdr" >&5
11167 11168
11168 cat > conftest.$ac_ext <<EOF 11169 cat > conftest.$ac_ext <<EOF
11169 #line 11170 "configure" 11170 #line 11171 "configure"
11170 #include "confdefs.h" 11171 #include "confdefs.h"
11171 #include <$ac_hdr> 11172 #include <$ac_hdr>
11172 EOF 11173 EOF
11173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11174 { (eval echo configure:11175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11175 { (eval echo configure:11176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11176 if test -z "$ac_err"; then 11177 if test -z "$ac_err"; then
11177 rm -rf conftest* 11178 rm -rf conftest*
11178 eval "ac_cv_header_$ac_safe=yes" 11179 eval "ac_cv_header_$ac_safe=yes"
11179 else 11180 else
11205 11206
11206 for ac_hdr in stropts.h 11207 for ac_hdr in stropts.h
11207 do 11208 do
11208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11209 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11210 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11210 echo "configure:11211: checking for $ac_hdr" >&5 11211 echo "configure:11212: checking for $ac_hdr" >&5
11211 11212
11212 cat > conftest.$ac_ext <<EOF 11213 cat > conftest.$ac_ext <<EOF
11213 #line 11214 "configure" 11214 #line 11215 "configure"
11214 #include "confdefs.h" 11215 #include "confdefs.h"
11215 #include <$ac_hdr> 11216 #include <$ac_hdr>
11216 EOF 11217 EOF
11217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11218 { (eval echo configure:11219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11219 { (eval echo configure:11220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11220 if test -z "$ac_err"; then 11221 if test -z "$ac_err"; then
11221 rm -rf conftest* 11222 rm -rf conftest*
11222 eval "ac_cv_header_$ac_safe=yes" 11223 eval "ac_cv_header_$ac_safe=yes"
11223 else 11224 else
11246 11247
11247 if test "$ac_cv_header_stropts_h" = "yes"; then 11248 if test "$ac_cv_header_stropts_h" = "yes"; then
11248 for ac_func in isastream 11249 for ac_func in isastream
11249 do 11250 do
11250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11251 echo "configure:11252: checking for $ac_func" >&5 11252 echo "configure:11253: checking for $ac_func" >&5
11252 11253
11253 cat > conftest.$ac_ext <<EOF 11254 cat > conftest.$ac_ext <<EOF
11254 #line 11255 "configure" 11255 #line 11256 "configure"
11255 #include "confdefs.h" 11256 #include "confdefs.h"
11256 /* System header to define __stub macros and hopefully few prototypes, 11257 /* System header to define __stub macros and hopefully few prototypes,
11257 which can conflict with char $ac_func(); below. */ 11258 which can conflict with char $ac_func(); below. */
11258 #include <assert.h> 11259 #include <assert.h>
11259 /* Override any gcc2 internal prototype to avoid an error. */ 11260 /* Override any gcc2 internal prototype to avoid an error. */
11272 $ac_func(); 11273 $ac_func();
11273 #endif 11274 #endif
11274 11275
11275 ; return 0; } 11276 ; return 0; }
11276 EOF 11277 EOF
11277 if { (eval echo configure:11278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11278 rm -rf conftest* 11279 rm -rf conftest*
11279 eval "ac_cv_func_$ac_func=yes" 11280 eval "ac_cv_func_$ac_func=yes"
11280 else 11281 else
11281 echo "configure: failed program was:" >&5 11282 echo "configure: failed program was:" >&5
11282 cat conftest.$ac_ext >&5 11283 cat conftest.$ac_ext >&5
11303 11304
11304 for ac_hdr in strtio.h 11305 for ac_hdr in strtio.h
11305 do 11306 do
11306 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11307 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11308 echo "configure:11309: checking for $ac_hdr" >&5 11309 echo "configure:11310: checking for $ac_hdr" >&5
11309 11310
11310 cat > conftest.$ac_ext <<EOF 11311 cat > conftest.$ac_ext <<EOF
11311 #line 11312 "configure" 11312 #line 11313 "configure"
11312 #include "confdefs.h" 11313 #include "confdefs.h"
11313 #include <$ac_hdr> 11314 #include <$ac_hdr>
11314 EOF 11315 EOF
11315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11316 { (eval echo configure:11317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11317 { (eval echo configure:11318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11318 if test -z "$ac_err"; then 11319 if test -z "$ac_err"; then
11319 rm -rf conftest* 11320 rm -rf conftest*
11320 eval "ac_cv_header_$ac_safe=yes" 11321 eval "ac_cv_header_$ac_safe=yes"
11321 else 11322 else
11344 fi 11345 fi
11345 11346
11346 for ac_func in getloadavg 11347 for ac_func in getloadavg
11347 do 11348 do
11348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11349 echo "configure:11350: checking for $ac_func" >&5 11350 echo "configure:11351: checking for $ac_func" >&5
11350 11351
11351 cat > conftest.$ac_ext <<EOF 11352 cat > conftest.$ac_ext <<EOF
11352 #line 11353 "configure" 11353 #line 11354 "configure"
11353 #include "confdefs.h" 11354 #include "confdefs.h"
11354 /* System header to define __stub macros and hopefully few prototypes, 11355 /* System header to define __stub macros and hopefully few prototypes,
11355 which can conflict with char $ac_func(); below. */ 11356 which can conflict with char $ac_func(); below. */
11356 #include <assert.h> 11357 #include <assert.h>
11357 /* Override any gcc2 internal prototype to avoid an error. */ 11358 /* Override any gcc2 internal prototype to avoid an error. */
11370 $ac_func(); 11371 $ac_func();
11371 #endif 11372 #endif
11372 11373
11373 ; return 0; } 11374 ; return 0; }
11374 EOF 11375 EOF
11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11376 if { (eval echo configure:11377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11376 rm -rf conftest* 11377 rm -rf conftest*
11377 eval "ac_cv_func_$ac_func=yes" 11378 eval "ac_cv_func_$ac_func=yes"
11378 else 11379 else
11379 echo "configure: failed program was:" >&5 11380 echo "configure: failed program was:" >&5
11380 cat conftest.$ac_ext >&5 11381 cat conftest.$ac_ext >&5
11403 if test "$ac_cv_func_getloadavg" = "yes"; then 11404 if test "$ac_cv_func_getloadavg" = "yes"; then
11404 for ac_hdr in sys/loadavg.h 11405 for ac_hdr in sys/loadavg.h
11405 do 11406 do
11406 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11407 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11408 echo "configure:11409: checking for $ac_hdr" >&5 11409 echo "configure:11410: checking for $ac_hdr" >&5
11409 11410
11410 cat > conftest.$ac_ext <<EOF 11411 cat > conftest.$ac_ext <<EOF
11411 #line 11412 "configure" 11412 #line 11413 "configure"
11412 #include "confdefs.h" 11413 #include "confdefs.h"
11413 #include <$ac_hdr> 11414 #include <$ac_hdr>
11414 EOF 11415 EOF
11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11417 { (eval echo configure:11418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11418 if test -z "$ac_err"; then 11419 if test -z "$ac_err"; then
11419 rm -rf conftest* 11420 rm -rf conftest*
11420 eval "ac_cv_header_$ac_safe=yes" 11421 eval "ac_cv_header_$ac_safe=yes"
11421 else 11422 else
11447 echo " xemacs will be linked with \"getloadavg.o\"" 11448 echo " xemacs will be linked with \"getloadavg.o\""
11448 fi 11449 fi
11449 11450
11450 11451
11451 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 11452 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
11452 echo "configure:11453: checking for kstat_open in -lkstat" >&5 11453 echo "configure:11454: checking for kstat_open in -lkstat" >&5
11453 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 11454 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
11454 11455
11455 xe_check_libs=" -lkstat " 11456 xe_check_libs=" -lkstat "
11456 cat > conftest.$ac_ext <<EOF 11457 cat > conftest.$ac_ext <<EOF
11457 #line 11458 "configure" 11458 #line 11459 "configure"
11458 #include "confdefs.h" 11459 #include "confdefs.h"
11459 /* Override any gcc2 internal prototype to avoid an error. */ 11460 /* Override any gcc2 internal prototype to avoid an error. */
11460 /* We use char because int might match the return type of a gcc2 11461 /* We use char because int might match the return type of a gcc2
11461 builtin and then its argument prototype would still apply. */ 11462 builtin and then its argument prototype would still apply. */
11462 char kstat_open(); 11463 char kstat_open();
11463 11464
11464 int main() { 11465 int main() {
11465 kstat_open() 11466 kstat_open()
11466 ; return 0; } 11467 ; return 0; }
11467 EOF 11468 EOF
11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11469 if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11469 rm -rf conftest* 11470 rm -rf conftest*
11470 eval "ac_cv_lib_$ac_lib_var=yes" 11471 eval "ac_cv_lib_$ac_lib_var=yes"
11471 else 11472 else
11472 echo "configure: failed program was:" >&5 11473 echo "configure: failed program was:" >&5
11473 cat conftest.$ac_ext >&5 11474 cat conftest.$ac_ext >&5
11498 11499
11499 for ac_hdr in kstat.h 11500 for ac_hdr in kstat.h
11500 do 11501 do
11501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11503 echo "configure:11504: checking for $ac_hdr" >&5 11504 echo "configure:11505: checking for $ac_hdr" >&5
11504 11505
11505 cat > conftest.$ac_ext <<EOF 11506 cat > conftest.$ac_ext <<EOF
11506 #line 11507 "configure" 11507 #line 11508 "configure"
11507 #include "confdefs.h" 11508 #include "confdefs.h"
11508 #include <$ac_hdr> 11509 #include <$ac_hdr>
11509 EOF 11510 EOF
11510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11511 { (eval echo configure:11512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11512 { (eval echo configure:11513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11513 if test -z "$ac_err"; then 11514 if test -z "$ac_err"; then
11514 rm -rf conftest* 11515 rm -rf conftest*
11515 eval "ac_cv_header_$ac_safe=yes" 11516 eval "ac_cv_header_$ac_safe=yes"
11516 else 11517 else
11538 done 11539 done
11539 11540
11540 11541
11541 11542
11542 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 11543 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
11543 echo "configure:11544: checking for kvm_read in -lkvm" >&5 11544 echo "configure:11545: checking for kvm_read in -lkvm" >&5
11544 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 11545 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
11545 11546
11546 xe_check_libs=" -lkvm " 11547 xe_check_libs=" -lkvm "
11547 cat > conftest.$ac_ext <<EOF 11548 cat > conftest.$ac_ext <<EOF
11548 #line 11549 "configure" 11549 #line 11550 "configure"
11549 #include "confdefs.h" 11550 #include "confdefs.h"
11550 /* Override any gcc2 internal prototype to avoid an error. */ 11551 /* Override any gcc2 internal prototype to avoid an error. */
11551 /* We use char because int might match the return type of a gcc2 11552 /* We use char because int might match the return type of a gcc2
11552 builtin and then its argument prototype would still apply. */ 11553 builtin and then its argument prototype would still apply. */
11553 char kvm_read(); 11554 char kvm_read();
11554 11555
11555 int main() { 11556 int main() {
11556 kvm_read() 11557 kvm_read()
11557 ; return 0; } 11558 ; return 0; }
11558 EOF 11559 EOF
11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11560 if { (eval echo configure:11561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11560 rm -rf conftest* 11561 rm -rf conftest*
11561 eval "ac_cv_lib_$ac_lib_var=yes" 11562 eval "ac_cv_lib_$ac_lib_var=yes"
11562 else 11563 else
11563 echo "configure: failed program was:" >&5 11564 echo "configure: failed program was:" >&5
11564 cat conftest.$ac_ext >&5 11565 cat conftest.$ac_ext >&5
11588 11589
11589 11590
11590 fi 11591 fi
11591 11592
11592 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 11593 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
11593 echo "configure:11594: checking whether netdb declares h_errno" >&5 11594 echo "configure:11595: checking whether netdb declares h_errno" >&5
11594 cat > conftest.$ac_ext <<EOF 11595 cat > conftest.$ac_ext <<EOF
11595 #line 11596 "configure" 11596 #line 11597 "configure"
11596 #include "confdefs.h" 11597 #include "confdefs.h"
11597 #include <netdb.h> 11598 #include <netdb.h>
11598 int main() { 11599 int main() {
11599 return h_errno; 11600 return h_errno;
11600 ; return 0; } 11601 ; return 0; }
11601 EOF 11602 EOF
11602 if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11603 rm -rf conftest* 11604 rm -rf conftest*
11604 echo "$ac_t""yes" 1>&6 11605 echo "$ac_t""yes" 1>&6
11605 { test "$extra_verbose" = "yes" && cat << \EOF 11606 { test "$extra_verbose" = "yes" && cat << \EOF
11606 Defining HAVE_H_ERRNO 11607 Defining HAVE_H_ERRNO
11607 EOF 11608 EOF
11617 echo "$ac_t""no" 1>&6 11618 echo "$ac_t""no" 1>&6
11618 fi 11619 fi
11619 rm -f conftest* 11620 rm -f conftest*
11620 11621
11621 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 11622 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
11622 echo "configure:11623: checking for sigsetjmp" >&5 11623 echo "configure:11624: checking for sigsetjmp" >&5
11623 cat > conftest.$ac_ext <<EOF 11624 cat > conftest.$ac_ext <<EOF
11624 #line 11625 "configure" 11625 #line 11626 "configure"
11625 #include "confdefs.h" 11626 #include "confdefs.h"
11626 #include <setjmp.h> 11627 #include <setjmp.h>
11627 int main() { 11628 int main() {
11628 sigjmp_buf bar; sigsetjmp (bar, 0); 11629 sigjmp_buf bar; sigsetjmp (bar, 0);
11629 ; return 0; } 11630 ; return 0; }
11630 EOF 11631 EOF
11631 if { (eval echo configure:11632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11632 if { (eval echo configure:11633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11632 rm -rf conftest* 11633 rm -rf conftest*
11633 echo "$ac_t""yes" 1>&6 11634 echo "$ac_t""yes" 1>&6
11634 { test "$extra_verbose" = "yes" && cat << \EOF 11635 { test "$extra_verbose" = "yes" && cat << \EOF
11635 Defining HAVE_SIGSETJMP 11636 Defining HAVE_SIGSETJMP
11636 EOF 11637 EOF
11646 echo "$ac_t""no" 1>&6 11647 echo "$ac_t""no" 1>&6
11647 fi 11648 fi
11648 rm -f conftest* 11649 rm -f conftest*
11649 11650
11650 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 11651 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
11651 echo "configure:11652: checking whether localtime caches TZ" >&5 11652 echo "configure:11653: checking whether localtime caches TZ" >&5
11652 11653
11653 if test "$ac_cv_func_tzset" = "yes"; then 11654 if test "$ac_cv_func_tzset" = "yes"; then
11654 cat > conftest.$ac_ext <<EOF 11655 cat > conftest.$ac_ext <<EOF
11655 #line 11656 "configure" 11656 #line 11657 "configure"
11656 #include "confdefs.h" 11657 #include "confdefs.h"
11657 #include <time.h> 11658 #include <time.h>
11658 #if STDC_HEADERS 11659 #if STDC_HEADERS
11659 # include <stdlib.h> 11660 # include <stdlib.h>
11660 #endif 11661 #endif
11685 if (localtime (&now)->tm_hour != hour_unset) 11686 if (localtime (&now)->tm_hour != hour_unset)
11686 exit (1); 11687 exit (1);
11687 exit (0); 11688 exit (0);
11688 } 11689 }
11689 EOF 11690 EOF
11690 if { (eval echo configure:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11691 if { (eval echo configure:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11691 then 11692 then
11692 emacs_cv_localtime_cache=no 11693 emacs_cv_localtime_cache=no
11693 else 11694 else
11694 conftest_rc="$?" 11695 conftest_rc="$?"
11695 echo "configure: failed program was:" >&5 11696 echo "configure: failed program was:" >&5
11715 11716
11716 fi 11717 fi
11717 11718
11718 if test "$HAVE_TIMEVAL" = "yes"; then 11719 if test "$HAVE_TIMEVAL" = "yes"; then
11719 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 11720 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
11720 echo "configure:11721: checking whether gettimeofday accepts one or two arguments" >&5 11721 echo "configure:11722: checking whether gettimeofday accepts one or two arguments" >&5
11721 cat > conftest.$ac_ext <<EOF 11722 cat > conftest.$ac_ext <<EOF
11722 #line 11723 "configure" 11723 #line 11724 "configure"
11723 #include "confdefs.h" 11724 #include "confdefs.h"
11724 11725
11725 #ifdef TIME_WITH_SYS_TIME 11726 #ifdef TIME_WITH_SYS_TIME
11726 #include <sys/time.h> 11727 #include <sys/time.h>
11727 #include <time.h> 11728 #include <time.h>
11738 struct timeval time; 11739 struct timeval time;
11739 gettimeofday (&time, 0); 11740 gettimeofday (&time, 0);
11740 11741
11741 ; return 0; } 11742 ; return 0; }
11742 EOF 11743 EOF
11743 if { (eval echo configure:11744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11744 if { (eval echo configure:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11744 rm -rf conftest* 11745 rm -rf conftest*
11745 echo "$ac_t""two" 1>&6 11746 echo "$ac_t""two" 1>&6
11746 else 11747 else
11747 echo "configure: failed program was:" >&5 11748 echo "configure: failed program was:" >&5
11748 cat conftest.$ac_ext >&5 11749 cat conftest.$ac_ext >&5
11760 rm -f conftest* 11761 rm -f conftest*
11761 fi 11762 fi
11762 11763
11763 11764
11764 echo $ac_n "checking for inline""... $ac_c" 1>&6 11765 echo $ac_n "checking for inline""... $ac_c" 1>&6
11765 echo "configure:11766: checking for inline" >&5 11766 echo "configure:11767: checking for inline" >&5
11766 11767
11767 ac_cv_c_inline=no 11768 ac_cv_c_inline=no
11768 for ac_kw in inline __inline__ __inline; do 11769 for ac_kw in inline __inline__ __inline; do
11769 cat > conftest.$ac_ext <<EOF 11770 cat > conftest.$ac_ext <<EOF
11770 #line 11771 "configure" 11771 #line 11772 "configure"
11771 #include "confdefs.h" 11772 #include "confdefs.h"
11772 11773
11773 int main() { 11774 int main() {
11774 } $ac_kw foo() { 11775 } $ac_kw foo() {
11775 ; return 0; } 11776 ; return 0; }
11776 EOF 11777 EOF
11777 if { (eval echo configure:11778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11778 if { (eval echo configure:11779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11778 rm -rf conftest* 11779 rm -rf conftest*
11779 ac_cv_c_inline=$ac_kw; break 11780 ac_cv_c_inline=$ac_kw; break
11780 else 11781 else
11781 echo "configure: failed program was:" >&5 11782 echo "configure: failed program was:" >&5
11782 cat conftest.$ac_ext >&5 11783 cat conftest.$ac_ext >&5
11813 11814
11814 if test "$__DECC" != "yes"; then 11815 if test "$__DECC" != "yes"; then
11815 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11816 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11816 # for constant arguments. Useless! 11817 # for constant arguments. Useless!
11817 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 11818 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
11818 echo "configure:11819: checking for working alloca.h" >&5 11819 echo "configure:11820: checking for working alloca.h" >&5
11819 11820
11820 cat > conftest.$ac_ext <<EOF 11821 cat > conftest.$ac_ext <<EOF
11821 #line 11822 "configure" 11822 #line 11823 "configure"
11822 #include "confdefs.h" 11823 #include "confdefs.h"
11823 #include <alloca.h> 11824 #include <alloca.h>
11824 int main() { 11825 int main() {
11825 char *p = alloca(2 * sizeof(int)); 11826 char *p = alloca(2 * sizeof(int));
11826 ; return 0; } 11827 ; return 0; }
11827 EOF 11828 EOF
11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11829 if { (eval echo configure:11830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11829 rm -rf conftest* 11830 rm -rf conftest*
11830 ac_cv_header_alloca_h=yes 11831 ac_cv_header_alloca_h=yes
11831 else 11832 else
11832 echo "configure: failed program was:" >&5 11833 echo "configure: failed program was:" >&5
11833 cat conftest.$ac_ext >&5 11834 cat conftest.$ac_ext >&5
11847 } 11848 }
11848 11849
11849 fi 11850 fi
11850 11851
11851 echo $ac_n "checking for alloca""... $ac_c" 1>&6 11852 echo $ac_n "checking for alloca""... $ac_c" 1>&6
11852 echo "configure:11853: checking for alloca" >&5 11853 echo "configure:11854: checking for alloca" >&5
11853 11854
11854 cat > conftest.$ac_ext <<EOF 11855 cat > conftest.$ac_ext <<EOF
11855 #line 11856 "configure" 11856 #line 11857 "configure"
11856 #include "confdefs.h" 11857 #include "confdefs.h"
11857 11858
11858 #ifdef __GNUC__ 11859 #ifdef __GNUC__
11859 # define alloca __builtin_alloca 11860 # define alloca __builtin_alloca
11860 #else 11861 #else
11878 11879
11879 int main() { 11880 int main() {
11880 char *p = (char *) alloca(1); 11881 char *p = (char *) alloca(1);
11881 ; return 0; } 11882 ; return 0; }
11882 EOF 11883 EOF
11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11884 rm -rf conftest* 11885 rm -rf conftest*
11885 ac_cv_func_alloca_works=yes 11886 ac_cv_func_alloca_works=yes
11886 else 11887 else
11887 echo "configure: failed program was:" >&5 11888 echo "configure: failed program was:" >&5
11888 cat conftest.$ac_ext >&5 11889 cat conftest.$ac_ext >&5
11917 EOF 11918 EOF
11918 } 11919 }
11919 11920
11920 11921
11921 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 11922 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
11922 echo "configure:11923: checking whether alloca needs Cray hooks" >&5 11923 echo "configure:11924: checking whether alloca needs Cray hooks" >&5
11923 11924
11924 cat > conftest.$ac_ext <<EOF 11925 cat > conftest.$ac_ext <<EOF
11925 #line 11926 "configure" 11926 #line 11927 "configure"
11926 #include "confdefs.h" 11927 #include "confdefs.h"
11927 #if defined(CRAY) && ! defined(CRAY2) 11928 #if defined(CRAY) && ! defined(CRAY2)
11928 webecray 11929 webecray
11929 #else 11930 #else
11930 wenotbecray 11931 wenotbecray
11944 11945
11945 echo "$ac_t""$ac_cv_os_cray" 1>&6 11946 echo "$ac_t""$ac_cv_os_cray" 1>&6
11946 if test $ac_cv_os_cray = yes; then 11947 if test $ac_cv_os_cray = yes; then
11947 for ac_func in _getb67 GETB67 getb67; do 11948 for ac_func in _getb67 GETB67 getb67; do
11948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11949 echo "configure:11950: checking for $ac_func" >&5 11950 echo "configure:11951: checking for $ac_func" >&5
11950 11951
11951 cat > conftest.$ac_ext <<EOF 11952 cat > conftest.$ac_ext <<EOF
11952 #line 11953 "configure" 11953 #line 11954 "configure"
11953 #include "confdefs.h" 11954 #include "confdefs.h"
11954 /* System header to define __stub macros and hopefully few prototypes, 11955 /* System header to define __stub macros and hopefully few prototypes,
11955 which can conflict with char $ac_func(); below. */ 11956 which can conflict with char $ac_func(); below. */
11956 #include <assert.h> 11957 #include <assert.h>
11957 /* Override any gcc2 internal prototype to avoid an error. */ 11958 /* Override any gcc2 internal prototype to avoid an error. */
11970 $ac_func(); 11971 $ac_func();
11971 #endif 11972 #endif
11972 11973
11973 ; return 0; } 11974 ; return 0; }
11974 EOF 11975 EOF
11975 if { (eval echo configure:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11976 if { (eval echo configure:11977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11976 rm -rf conftest* 11977 rm -rf conftest*
11977 eval "ac_cv_func_$ac_func=yes" 11978 eval "ac_cv_func_$ac_func=yes"
11978 else 11979 else
11979 echo "configure: failed program was:" >&5 11980 echo "configure: failed program was:" >&5
11980 cat conftest.$ac_ext >&5 11981 cat conftest.$ac_ext >&5
12000 12001
12001 done 12002 done
12002 fi 12003 fi
12003 12004
12004 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 12005 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
12005 echo "configure:12006: checking stack direction for C alloca" >&5 12006 echo "configure:12007: checking stack direction for C alloca" >&5
12006 12007
12007 cat > conftest.$ac_ext <<EOF 12008 cat > conftest.$ac_ext <<EOF
12008 #line 12009 "configure" 12009 #line 12010 "configure"
12009 #include "confdefs.h" 12010 #include "confdefs.h"
12010 find_stack_direction () 12011 find_stack_direction ()
12011 { 12012 {
12012 static char *addr = 0; 12013 static char *addr = 0;
12013 auto char dummy; 12014 auto char dummy;
12022 main () 12023 main ()
12023 { 12024 {
12024 exit (find_stack_direction() < 0); 12025 exit (find_stack_direction() < 0);
12025 } 12026 }
12026 EOF 12027 EOF
12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12028 if { (eval echo configure:12029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12028 then 12029 then
12029 ac_cv_c_stack_direction=1 12030 ac_cv_c_stack_direction=1
12030 else 12031 else
12031 conftest_rc="$?" 12032 conftest_rc="$?"
12032 echo "configure: failed program was:" >&5 12033 echo "configure: failed program was:" >&5
12051 echo " xemacs will be linked with \"$ALLOCA\"" 12052 echo " xemacs will be linked with \"$ALLOCA\""
12052 fi 12053 fi
12053 fi 12054 fi
12054 12055
12055 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 12056 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
12056 echo "configure:12057: checking for working strcoll" >&5 12057 echo "configure:12058: checking for working strcoll" >&5
12057 12058
12058 cat > conftest.$ac_ext <<EOF 12059 cat > conftest.$ac_ext <<EOF
12059 #line 12060 "configure" 12060 #line 12061 "configure"
12060 #include "confdefs.h" 12061 #include "confdefs.h"
12061 #include <string.h> 12062 #include <string.h>
12062 main () 12063 main ()
12063 { 12064 {
12064 exit (strcoll ("abc", "def") >= 0 || 12065 exit (strcoll ("abc", "def") >= 0 ||
12065 strcoll ("ABC", "DEF") >= 0 || 12066 strcoll ("ABC", "DEF") >= 0 ||
12066 strcoll ("123", "456") >= 0); 12067 strcoll ("123", "456") >= 0);
12067 } 12068 }
12068 EOF 12069 EOF
12069 if { (eval echo configure:12070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12070 if { (eval echo configure:12071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12070 then 12071 then
12071 ac_cv_func_strcoll_works=yes 12072 ac_cv_func_strcoll_works=yes
12072 else 12073 else
12073 conftest_rc="$?" 12074 conftest_rc="$?"
12074 echo "configure: failed program was:" >&5 12075 echo "configure: failed program was:" >&5
12092 12093
12093 12094
12094 for ac_func in getpgrp 12095 for ac_func in getpgrp
12095 do 12096 do
12096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12097 echo "configure:12098: checking for $ac_func" >&5 12098 echo "configure:12099: checking for $ac_func" >&5
12098 12099
12099 cat > conftest.$ac_ext <<EOF 12100 cat > conftest.$ac_ext <<EOF
12100 #line 12101 "configure" 12101 #line 12102 "configure"
12101 #include "confdefs.h" 12102 #include "confdefs.h"
12102 /* System header to define __stub macros and hopefully few prototypes, 12103 /* System header to define __stub macros and hopefully few prototypes,
12103 which can conflict with char $ac_func(); below. */ 12104 which can conflict with char $ac_func(); below. */
12104 #include <assert.h> 12105 #include <assert.h>
12105 /* Override any gcc2 internal prototype to avoid an error. */ 12106 /* Override any gcc2 internal prototype to avoid an error. */
12118 $ac_func(); 12119 $ac_func();
12119 #endif 12120 #endif
12120 12121
12121 ; return 0; } 12122 ; return 0; }
12122 EOF 12123 EOF
12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12124 if { (eval echo configure:12125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12124 rm -rf conftest* 12125 rm -rf conftest*
12125 eval "ac_cv_func_$ac_func=yes" 12126 eval "ac_cv_func_$ac_func=yes"
12126 else 12127 else
12127 echo "configure: failed program was:" >&5 12128 echo "configure: failed program was:" >&5
12128 cat conftest.$ac_ext >&5 12129 cat conftest.$ac_ext >&5
12146 echo "$ac_t""no" 1>&6 12147 echo "$ac_t""no" 1>&6
12147 fi 12148 fi
12148 done 12149 done
12149 12150
12150 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 12151 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
12151 echo "configure:12152: checking whether getpgrp takes no argument" >&5 12152 echo "configure:12153: checking whether getpgrp takes no argument" >&5
12152 12153
12153 cat > conftest.$ac_ext <<EOF 12154 cat > conftest.$ac_ext <<EOF
12154 #line 12155 "configure" 12155 #line 12156 "configure"
12155 #include "confdefs.h" 12156 #include "confdefs.h"
12156 12157
12157 /* 12158 /*
12158 * If this system has a BSD-style getpgrp(), 12159 * If this system has a BSD-style getpgrp(),
12159 * which takes a pid argument, exit unsuccessfully. 12160 * which takes a pid argument, exit unsuccessfully.
12204 exit(s>>8); 12205 exit(s>>8);
12205 } 12206 }
12206 } 12207 }
12207 12208
12208 EOF 12209 EOF
12209 if { (eval echo configure:12210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12210 then 12211 then
12211 ac_cv_func_getpgrp_void=yes 12212 ac_cv_func_getpgrp_void=yes
12212 else 12213 else
12213 conftest_rc="$?" 12214 conftest_rc="$?"
12214 echo "configure: failed program was:" >&5 12215 echo "configure: failed program was:" >&5
12231 12232
12232 fi 12233 fi
12233 12234
12234 12235
12235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 12236 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
12236 echo "configure:12237: checking for working mmap" >&5 12237 echo "configure:12238: checking for working mmap" >&5
12237 case "$opsys" in ultrix* ) have_mmap=no ;; *) 12238 case "$opsys" in ultrix* ) have_mmap=no ;; *)
12238 cat > conftest.$ac_ext <<EOF 12239 cat > conftest.$ac_ext <<EOF
12239 #line 12240 "configure" 12240 #line 12241 "configure"
12240 #include "confdefs.h" 12241 #include "confdefs.h"
12241 #include <stdio.h> 12242 #include <stdio.h>
12242 #include <unistd.h> 12243 #include <unistd.h>
12243 #include <fcntl.h> 12244 #include <fcntl.h>
12244 #include <sys/mman.h> 12245 #include <sys/mman.h>
12267 return 0; 12268 return 0;
12268 perror ("conftest: mmap failed"); 12269 perror ("conftest: mmap failed");
12269 return 1; 12270 return 1;
12270 } 12271 }
12271 EOF 12272 EOF
12272 if { (eval echo configure:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12273 if { (eval echo configure:12274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12273 then 12274 then
12274 have_mmap=yes 12275 have_mmap=yes
12275 else 12276 else
12276 conftest_rc="$?" 12277 conftest_rc="$?"
12277 echo "configure: failed program was:" >&5 12278 echo "configure: failed program was:" >&5
12296 esac 12297 esac
12297 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 12298 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
12298 if test "$rel_alloc $have_mmap" = "default yes"; then 12299 if test "$rel_alloc $have_mmap" = "default yes"; then
12299 if test "$doug_lea_malloc" = "yes"; then 12300 if test "$doug_lea_malloc" = "yes"; then
12300 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 12301 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
12301 echo "configure:12302: checking for M_MMAP_THRESHOLD" >&5 12302 echo "configure:12303: checking for M_MMAP_THRESHOLD" >&5
12302 cat > conftest.$ac_ext <<EOF 12303 cat > conftest.$ac_ext <<EOF
12303 #line 12304 "configure" 12304 #line 12305 "configure"
12304 #include "confdefs.h" 12305 #include "confdefs.h"
12305 #include <malloc.h> 12306 #include <malloc.h>
12306 int main() { 12307 int main() {
12307 12308
12308 #ifndef M_MMAP_THRESHOLD 12309 #ifndef M_MMAP_THRESHOLD
12310 !@+$%^&*_)(_ - unlikely to compile... 12311 !@+$%^&*_)(_ - unlikely to compile...
12311 #endif 12312 #endif
12312 12313
12313 ; return 0; } 12314 ; return 0; }
12314 EOF 12315 EOF
12315 if { (eval echo configure:12316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12316 if { (eval echo configure:12317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12316 rm -rf conftest* 12317 rm -rf conftest*
12317 rel_alloc=no; echo "$ac_t""yes" 1>&6; 12318 rel_alloc=no; echo "$ac_t""yes" 1>&6;
12318 else 12319 else
12319 echo "configure: failed program was:" >&5 12320 echo "configure: failed program was:" >&5
12320 cat conftest.$ac_ext >&5 12321 cat conftest.$ac_ext >&5
12335 } 12336 }
12336 12337
12337 12338
12338 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 12339 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
12339 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 12340 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
12340 echo "configure:12341: checking for termios.h" >&5 12341 echo "configure:12342: checking for termios.h" >&5
12341 12342
12342 cat > conftest.$ac_ext <<EOF 12343 cat > conftest.$ac_ext <<EOF
12343 #line 12344 "configure" 12344 #line 12345 "configure"
12344 #include "confdefs.h" 12345 #include "confdefs.h"
12345 #include <termios.h> 12346 #include <termios.h>
12346 EOF 12347 EOF
12347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12348 { (eval echo configure:12349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12349 { (eval echo configure:12350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12350 if test -z "$ac_err"; then 12351 if test -z "$ac_err"; then
12351 rm -rf conftest* 12352 rm -rf conftest*
12352 eval "ac_cv_header_$ac_safe=yes" 12353 eval "ac_cv_header_$ac_safe=yes"
12353 else 12354 else
12386 12387
12387 else 12388 else
12388 echo "$ac_t""no" 1>&6 12389 echo "$ac_t""no" 1>&6
12389 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 12390 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
12390 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 12391 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
12391 echo "configure:12392: checking for termio.h" >&5 12392 echo "configure:12393: checking for termio.h" >&5
12392 12393
12393 cat > conftest.$ac_ext <<EOF 12394 cat > conftest.$ac_ext <<EOF
12394 #line 12395 "configure" 12395 #line 12396 "configure"
12395 #include "confdefs.h" 12396 #include "confdefs.h"
12396 #include <termio.h> 12397 #include <termio.h>
12397 EOF 12398 EOF
12398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12399 { (eval echo configure:12400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12400 { (eval echo configure:12401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12401 if test -z "$ac_err"; then 12402 if test -z "$ac_err"; then
12402 rm -rf conftest* 12403 rm -rf conftest*
12403 eval "ac_cv_header_$ac_safe=yes" 12404 eval "ac_cv_header_$ac_safe=yes"
12404 else 12405 else
12426 fi 12427 fi
12427 12428
12428 12429
12429 12430
12430 echo $ac_n "checking for socket""... $ac_c" 1>&6 12431 echo $ac_n "checking for socket""... $ac_c" 1>&6
12431 echo "configure:12432: checking for socket" >&5 12432 echo "configure:12433: checking for socket" >&5
12432 12433
12433 cat > conftest.$ac_ext <<EOF 12434 cat > conftest.$ac_ext <<EOF
12434 #line 12435 "configure" 12435 #line 12436 "configure"
12435 #include "confdefs.h" 12436 #include "confdefs.h"
12436 /* System header to define __stub macros and hopefully few prototypes, 12437 /* System header to define __stub macros and hopefully few prototypes,
12437 which can conflict with char socket(); below. */ 12438 which can conflict with char socket(); below. */
12438 #include <assert.h> 12439 #include <assert.h>
12439 /* Override any gcc2 internal prototype to avoid an error. */ 12440 /* Override any gcc2 internal prototype to avoid an error. */
12452 socket(); 12453 socket();
12453 #endif 12454 #endif
12454 12455
12455 ; return 0; } 12456 ; return 0; }
12456 EOF 12457 EOF
12457 if { (eval echo configure:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12458 if { (eval echo configure:12459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12458 rm -rf conftest* 12459 rm -rf conftest*
12459 eval "ac_cv_func_socket=yes" 12460 eval "ac_cv_func_socket=yes"
12460 else 12461 else
12461 echo "configure: failed program was:" >&5 12462 echo "configure: failed program was:" >&5
12462 cat conftest.$ac_ext >&5 12463 cat conftest.$ac_ext >&5
12467 12468
12468 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 12469 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12469 echo "$ac_t""yes" 1>&6 12470 echo "$ac_t""yes" 1>&6
12470 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 12471 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
12471 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 12472 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
12472 echo "configure:12473: checking for netinet/in.h" >&5 12473 echo "configure:12474: checking for netinet/in.h" >&5
12473 12474
12474 cat > conftest.$ac_ext <<EOF 12475 cat > conftest.$ac_ext <<EOF
12475 #line 12476 "configure" 12476 #line 12477 "configure"
12476 #include "confdefs.h" 12477 #include "confdefs.h"
12477 #include <netinet/in.h> 12478 #include <netinet/in.h>
12478 EOF 12479 EOF
12479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12480 { (eval echo configure:12481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12481 { (eval echo configure:12482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12482 if test -z "$ac_err"; then 12483 if test -z "$ac_err"; then
12483 rm -rf conftest* 12484 rm -rf conftest*
12484 eval "ac_cv_header_$ac_safe=yes" 12485 eval "ac_cv_header_$ac_safe=yes"
12485 else 12486 else
12492 rm -f conftest* 12493 rm -f conftest*
12493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12494 echo "$ac_t""yes" 1>&6 12495 echo "$ac_t""yes" 1>&6
12495 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 12496 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
12496 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 12497 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
12497 echo "configure:12498: checking for arpa/inet.h" >&5 12498 echo "configure:12499: checking for arpa/inet.h" >&5
12498 12499
12499 cat > conftest.$ac_ext <<EOF 12500 cat > conftest.$ac_ext <<EOF
12500 #line 12501 "configure" 12501 #line 12502 "configure"
12501 #include "confdefs.h" 12502 #include "confdefs.h"
12502 #include <arpa/inet.h> 12503 #include <arpa/inet.h>
12503 EOF 12504 EOF
12504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12505 { (eval echo configure:12506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12506 { (eval echo configure:12507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12507 if test -z "$ac_err"; then 12508 if test -z "$ac_err"; then
12508 rm -rf conftest* 12509 rm -rf conftest*
12509 eval "ac_cv_header_$ac_safe=yes" 12510 eval "ac_cv_header_$ac_safe=yes"
12510 else 12511 else
12525 #define HAVE_SOCKETS 1 12526 #define HAVE_SOCKETS 1
12526 EOF 12527 EOF
12527 } 12528 }
12528 12529
12529 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 12530 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
12530 echo "configure:12531: checking "for sun_len member in struct sockaddr_un"" >&5 12531 echo "configure:12532: checking "for sun_len member in struct sockaddr_un"" >&5
12531 cat > conftest.$ac_ext <<EOF 12532 cat > conftest.$ac_ext <<EOF
12532 #line 12533 "configure" 12533 #line 12534 "configure"
12533 #include "confdefs.h" 12534 #include "confdefs.h"
12534 12535
12535 #include <sys/types.h> 12536 #include <sys/types.h>
12536 #include <sys/socket.h> 12537 #include <sys/socket.h>
12537 #include <sys/un.h> 12538 #include <sys/un.h>
12538 12539
12539 int main() { 12540 int main() {
12540 static struct sockaddr_un x; x.sun_len = 1; 12541 static struct sockaddr_un x; x.sun_len = 1;
12541 ; return 0; } 12542 ; return 0; }
12542 EOF 12543 EOF
12543 if { (eval echo configure:12544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12544 if { (eval echo configure:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12544 rm -rf conftest* 12545 rm -rf conftest*
12545 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 12546 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
12546 Defining HAVE_SOCKADDR_SUN_LEN 12547 Defining HAVE_SOCKADDR_SUN_LEN
12547 EOF 12548 EOF
12548 cat >> confdefs.h <<\EOF 12549 cat >> confdefs.h <<\EOF
12556 rm -rf conftest* 12557 rm -rf conftest*
12557 echo "$ac_t""no" 1>&6 12558 echo "$ac_t""no" 1>&6
12558 fi 12559 fi
12559 rm -f conftest* 12560 rm -f conftest*
12560 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 12561 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
12561 echo "configure:12562: checking "for ip_mreq struct in netinet/in.h"" >&5 12562 echo "configure:12563: checking "for ip_mreq struct in netinet/in.h"" >&5
12562 cat > conftest.$ac_ext <<EOF 12563 cat > conftest.$ac_ext <<EOF
12563 #line 12564 "configure" 12564 #line 12565 "configure"
12564 #include "confdefs.h" 12565 #include "confdefs.h"
12565 12566
12566 #include <sys/types.h> 12567 #include <sys/types.h>
12567 #include <netinet/in.h> 12568 #include <netinet/in.h>
12568 12569
12569 int main() { 12570 int main() {
12570 static struct ip_mreq x; 12571 static struct ip_mreq x;
12571 ; return 0; } 12572 ; return 0; }
12572 EOF 12573 EOF
12573 if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12574 if { (eval echo configure:12575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12574 rm -rf conftest* 12575 rm -rf conftest*
12575 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 12576 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
12576 Defining HAVE_MULTICAST 12577 Defining HAVE_MULTICAST
12577 EOF 12578 EOF
12578 cat >> confdefs.h <<\EOF 12579 cat >> confdefs.h <<\EOF
12599 echo "$ac_t""no" 1>&6 12600 echo "$ac_t""no" 1>&6
12600 fi 12601 fi
12601 12602
12602 12603
12603 echo $ac_n "checking for msgget""... $ac_c" 1>&6 12604 echo $ac_n "checking for msgget""... $ac_c" 1>&6
12604 echo "configure:12605: checking for msgget" >&5 12605 echo "configure:12606: checking for msgget" >&5
12605 12606
12606 cat > conftest.$ac_ext <<EOF 12607 cat > conftest.$ac_ext <<EOF
12607 #line 12608 "configure" 12608 #line 12609 "configure"
12608 #include "confdefs.h" 12609 #include "confdefs.h"
12609 /* System header to define __stub macros and hopefully few prototypes, 12610 /* System header to define __stub macros and hopefully few prototypes,
12610 which can conflict with char msgget(); below. */ 12611 which can conflict with char msgget(); below. */
12611 #include <assert.h> 12612 #include <assert.h>
12612 /* Override any gcc2 internal prototype to avoid an error. */ 12613 /* Override any gcc2 internal prototype to avoid an error. */
12625 msgget(); 12626 msgget();
12626 #endif 12627 #endif
12627 12628
12628 ; return 0; } 12629 ; return 0; }
12629 EOF 12630 EOF
12630 if { (eval echo configure:12631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12631 if { (eval echo configure:12632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12631 rm -rf conftest* 12632 rm -rf conftest*
12632 eval "ac_cv_func_msgget=yes" 12633 eval "ac_cv_func_msgget=yes"
12633 else 12634 else
12634 echo "configure: failed program was:" >&5 12635 echo "configure: failed program was:" >&5
12635 cat conftest.$ac_ext >&5 12636 cat conftest.$ac_ext >&5
12640 12641
12641 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 12642 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
12642 echo "$ac_t""yes" 1>&6 12643 echo "$ac_t""yes" 1>&6
12643 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 12644 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
12644 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 12645 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
12645 echo "configure:12646: checking for sys/ipc.h" >&5 12646 echo "configure:12647: checking for sys/ipc.h" >&5
12646 12647
12647 cat > conftest.$ac_ext <<EOF 12648 cat > conftest.$ac_ext <<EOF
12648 #line 12649 "configure" 12649 #line 12650 "configure"
12649 #include "confdefs.h" 12650 #include "confdefs.h"
12650 #include <sys/ipc.h> 12651 #include <sys/ipc.h>
12651 EOF 12652 EOF
12652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12653 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; } 12654 { (eval echo configure:12655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12655 if test -z "$ac_err"; then 12656 if test -z "$ac_err"; then
12656 rm -rf conftest* 12657 rm -rf conftest*
12657 eval "ac_cv_header_$ac_safe=yes" 12658 eval "ac_cv_header_$ac_safe=yes"
12658 else 12659 else
12665 rm -f conftest* 12666 rm -f conftest*
12666 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12667 echo "$ac_t""yes" 1>&6 12668 echo "$ac_t""yes" 1>&6
12668 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 12669 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
12669 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 12670 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
12670 echo "configure:12671: checking for sys/msg.h" >&5 12671 echo "configure:12672: checking for sys/msg.h" >&5
12671 12672
12672 cat > conftest.$ac_ext <<EOF 12673 cat > conftest.$ac_ext <<EOF
12673 #line 12674 "configure" 12674 #line 12675 "configure"
12674 #include "confdefs.h" 12675 #include "confdefs.h"
12675 #include <sys/msg.h> 12676 #include <sys/msg.h>
12676 EOF 12677 EOF
12677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12678 { (eval echo configure:12679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12679 { (eval echo configure:12680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12680 if test -z "$ac_err"; then 12681 if test -z "$ac_err"; then
12681 rm -rf conftest* 12682 rm -rf conftest*
12682 eval "ac_cv_header_$ac_safe=yes" 12683 eval "ac_cv_header_$ac_safe=yes"
12683 else 12684 else
12711 fi 12712 fi
12712 12713
12713 12714
12714 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 12715 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
12715 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 12716 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
12716 echo "configure:12717: checking for dirent.h" >&5 12717 echo "configure:12718: checking for dirent.h" >&5
12717 12718
12718 cat > conftest.$ac_ext <<EOF 12719 cat > conftest.$ac_ext <<EOF
12719 #line 12720 "configure" 12720 #line 12721 "configure"
12720 #include "confdefs.h" 12721 #include "confdefs.h"
12721 #include <dirent.h> 12722 #include <dirent.h>
12722 EOF 12723 EOF
12723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12724 { (eval echo configure:12725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12725 { (eval echo configure:12726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12726 if test -z "$ac_err"; then 12727 if test -z "$ac_err"; then
12727 rm -rf conftest* 12728 rm -rf conftest*
12728 eval "ac_cv_header_$ac_safe=yes" 12729 eval "ac_cv_header_$ac_safe=yes"
12729 else 12730 else
12746 12747
12747 else 12748 else
12748 echo "$ac_t""no" 1>&6 12749 echo "$ac_t""no" 1>&6
12749 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 12750 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
12750 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 12751 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
12751 echo "configure:12752: checking for sys/dir.h" >&5 12752 echo "configure:12753: checking for sys/dir.h" >&5
12752 12753
12753 cat > conftest.$ac_ext <<EOF 12754 cat > conftest.$ac_ext <<EOF
12754 #line 12755 "configure" 12755 #line 12756 "configure"
12755 #include "confdefs.h" 12756 #include "confdefs.h"
12756 #include <sys/dir.h> 12757 #include <sys/dir.h>
12757 EOF 12758 EOF
12758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12759 { (eval echo configure:12760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12760 { (eval echo configure:12761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12761 if test -z "$ac_err"; then 12762 if test -z "$ac_err"; then
12762 rm -rf conftest* 12763 rm -rf conftest*
12763 eval "ac_cv_header_$ac_safe=yes" 12764 eval "ac_cv_header_$ac_safe=yes"
12764 else 12765 else
12787 fi 12788 fi
12788 12789
12789 12790
12790 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 12791 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
12791 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 12792 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
12792 echo "configure:12793: checking for nlist.h" >&5 12793 echo "configure:12794: checking for nlist.h" >&5
12793 12794
12794 cat > conftest.$ac_ext <<EOF 12795 cat > conftest.$ac_ext <<EOF
12795 #line 12796 "configure" 12796 #line 12797 "configure"
12796 #include "confdefs.h" 12797 #include "confdefs.h"
12797 #include <nlist.h> 12798 #include <nlist.h>
12798 EOF 12799 EOF
12799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12800 { (eval echo configure:12801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12801 { (eval echo configure:12802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12802 if test -z "$ac_err"; then 12803 if test -z "$ac_err"; then
12803 rm -rf conftest* 12804 rm -rf conftest*
12804 eval "ac_cv_header_$ac_safe=yes" 12805 eval "ac_cv_header_$ac_safe=yes"
12805 else 12806 else
12825 fi 12826 fi
12826 12827
12827 12828
12828 12829
12829 echo "checking "for sound support"" 1>&6 12830 echo "checking "for sound support"" 1>&6
12830 echo "configure:12831: checking "for sound support"" >&5 12831 echo "configure:12832: checking "for sound support"" >&5
12831 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 12832 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
12832 12833
12833 if test "$with_native_sound" != "no"; then 12834 if test "$with_native_sound" != "no"; then
12834 if test -n "$native_sound_lib"; then 12835 if test -n "$native_sound_lib"; then
12835 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 12836 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
12836 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 12837 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
12837 echo "configure:12838: checking for multimedia/audio_device.h" >&5 12838 echo "configure:12839: checking for multimedia/audio_device.h" >&5
12838 12839
12839 cat > conftest.$ac_ext <<EOF 12840 cat > conftest.$ac_ext <<EOF
12840 #line 12841 "configure" 12841 #line 12842 "configure"
12841 #include "confdefs.h" 12842 #include "confdefs.h"
12842 #include <multimedia/audio_device.h> 12843 #include <multimedia/audio_device.h>
12843 EOF 12844 EOF
12844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12845 { (eval echo configure:12846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12846 { (eval echo configure:12847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12847 if test -z "$ac_err"; then 12848 if test -z "$ac_err"; then
12848 rm -rf conftest* 12849 rm -rf conftest*
12849 eval "ac_cv_header_$ac_safe=yes" 12850 eval "ac_cv_header_$ac_safe=yes"
12850 else 12851 else
12888 case "$canonical" in 12889 case "$canonical" in
12889 *-sgi-* ) 12890 *-sgi-* )
12890 if test -z "$native_sound_lib"; then 12891 if test -z "$native_sound_lib"; then
12891 12892
12892 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 12893 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
12893 echo "configure:12894: checking for ALopenport in -laudio" >&5 12894 echo "configure:12895: checking for ALopenport in -laudio" >&5
12894 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 12895 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
12895 12896
12896 xe_check_libs=" -laudio " 12897 xe_check_libs=" -laudio "
12897 cat > conftest.$ac_ext <<EOF 12898 cat > conftest.$ac_ext <<EOF
12898 #line 12899 "configure" 12899 #line 12900 "configure"
12899 #include "confdefs.h" 12900 #include "confdefs.h"
12900 /* Override any gcc2 internal prototype to avoid an error. */ 12901 /* Override any gcc2 internal prototype to avoid an error. */
12901 /* We use char because int might match the return type of a gcc2 12902 /* We use char because int might match the return type of a gcc2
12902 builtin and then its argument prototype would still apply. */ 12903 builtin and then its argument prototype would still apply. */
12903 char ALopenport(); 12904 char ALopenport();
12904 12905
12905 int main() { 12906 int main() {
12906 ALopenport() 12907 ALopenport()
12907 ; return 0; } 12908 ; return 0; }
12908 EOF 12909 EOF
12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12910 if { (eval echo configure:12911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12910 rm -rf conftest* 12911 rm -rf conftest*
12911 eval "ac_cv_lib_$ac_lib_var=yes" 12912 eval "ac_cv_lib_$ac_lib_var=yes"
12912 else 12913 else
12913 echo "configure: failed program was:" >&5 12914 echo "configure: failed program was:" >&5
12914 cat conftest.$ac_ext >&5 12915 cat conftest.$ac_ext >&5
12935 fi ;; 12936 fi ;;
12936 hppa*-hp-hpux* ) 12937 hppa*-hp-hpux* )
12937 if test -z "$native_sound_lib"; then 12938 if test -z "$native_sound_lib"; then
12938 12939
12939 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 12940 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
12940 echo "configure:12941: checking for AOpenAudio in -lAlib" >&5 12941 echo "configure:12942: checking for AOpenAudio in -lAlib" >&5
12941 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 12942 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
12942 12943
12943 xe_check_libs=" -lAlib " 12944 xe_check_libs=" -lAlib "
12944 cat > conftest.$ac_ext <<EOF 12945 cat > conftest.$ac_ext <<EOF
12945 #line 12946 "configure" 12946 #line 12947 "configure"
12946 #include "confdefs.h" 12947 #include "confdefs.h"
12947 /* Override any gcc2 internal prototype to avoid an error. */ 12948 /* Override any gcc2 internal prototype to avoid an error. */
12948 /* We use char because int might match the return type of a gcc2 12949 /* We use char because int might match the return type of a gcc2
12949 builtin and then its argument prototype would still apply. */ 12950 builtin and then its argument prototype would still apply. */
12950 char AOpenAudio(); 12951 char AOpenAudio();
12951 12952
12952 int main() { 12953 int main() {
12953 AOpenAudio() 12954 AOpenAudio()
12954 ; return 0; } 12955 ; return 0; }
12955 EOF 12956 EOF
12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12957 if { (eval echo configure:12958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12957 rm -rf conftest* 12958 rm -rf conftest*
12958 eval "ac_cv_lib_$ac_lib_var=yes" 12959 eval "ac_cv_lib_$ac_lib_var=yes"
12959 else 12960 else
12960 echo "configure: failed program was:" >&5 12961 echo "configure: failed program was:" >&5
12961 cat conftest.$ac_ext >&5 12962 cat conftest.$ac_ext >&5
12999 13000
13000 if test -z "$sound_found"; then 13001 if test -z "$sound_found"; then
13001 for dir in "machine" "sys" "linux"; do 13002 for dir in "machine" "sys" "linux"; do
13002 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 13003 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
13003 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 13004 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
13004 echo "configure:13005: checking for ${dir}/soundcard.h" >&5 13005 echo "configure:13006: checking for ${dir}/soundcard.h" >&5
13005 13006
13006 cat > conftest.$ac_ext <<EOF 13007 cat > conftest.$ac_ext <<EOF
13007 #line 13008 "configure" 13008 #line 13009 "configure"
13008 #include "confdefs.h" 13009 #include "confdefs.h"
13009 #include <${dir}/soundcard.h> 13010 #include <${dir}/soundcard.h>
13010 EOF 13011 EOF
13011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13012 { (eval echo configure:13013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13013 { (eval echo configure:13014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13014 if test -z "$ac_err"; then 13015 if test -z "$ac_err"; then
13015 rm -rf conftest* 13016 rm -rf conftest*
13016 eval "ac_cv_header_$ac_safe=yes" 13017 eval "ac_cv_header_$ac_safe=yes"
13017 else 13018 else
13061 fi 13062 fi
13062 13063
13063 if test "$with_nas_sound" != "no"; then 13064 if test "$with_nas_sound" != "no"; then
13064 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 13065 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
13065 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 13066 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
13066 echo "configure:13067: checking for audio/audiolib.h" >&5 13067 echo "configure:13068: checking for audio/audiolib.h" >&5
13067 13068
13068 cat > conftest.$ac_ext <<EOF 13069 cat > conftest.$ac_ext <<EOF
13069 #line 13070 "configure" 13070 #line 13071 "configure"
13070 #include "confdefs.h" 13071 #include "confdefs.h"
13071 #include <audio/audiolib.h> 13072 #include <audio/audiolib.h>
13072 EOF 13073 EOF
13073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13074 { (eval echo configure:13075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13075 { (eval echo configure:13076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13076 if test -z "$ac_err"; then 13077 if test -z "$ac_err"; then
13077 rm -rf conftest* 13078 rm -rf conftest*
13078 eval "ac_cv_header_$ac_safe=yes" 13079 eval "ac_cv_header_$ac_safe=yes"
13079 else 13080 else
13087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13088 echo "$ac_t""yes" 1>&6 13089 echo "$ac_t""yes" 1>&6
13089 13090
13090 13091
13091 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 13092 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
13092 echo "configure:13093: checking for AuOpenServer in -laudio" >&5 13093 echo "configure:13094: checking for AuOpenServer in -laudio" >&5
13093 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 13094 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
13094 13095
13095 xe_check_libs=" -laudio " 13096 xe_check_libs=" -laudio "
13096 cat > conftest.$ac_ext <<EOF 13097 cat > conftest.$ac_ext <<EOF
13097 #line 13098 "configure" 13098 #line 13099 "configure"
13098 #include "confdefs.h" 13099 #include "confdefs.h"
13099 /* Override any gcc2 internal prototype to avoid an error. */ 13100 /* Override any gcc2 internal prototype to avoid an error. */
13100 /* We use char because int might match the return type of a gcc2 13101 /* We use char because int might match the return type of a gcc2
13101 builtin and then its argument prototype would still apply. */ 13102 builtin and then its argument prototype would still apply. */
13102 char AuOpenServer(); 13103 char AuOpenServer();
13103 13104
13104 int main() { 13105 int main() {
13105 AuOpenServer() 13106 AuOpenServer()
13106 ; return 0; } 13107 ; return 0; }
13107 EOF 13108 EOF
13108 if { (eval echo configure:13109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13109 rm -rf conftest* 13110 rm -rf conftest*
13110 eval "ac_cv_lib_$ac_lib_var=yes" 13111 eval "ac_cv_lib_$ac_lib_var=yes"
13111 else 13112 else
13112 echo "configure: failed program was:" >&5 13113 echo "configure: failed program was:" >&5
13113 cat conftest.$ac_ext >&5 13114 cat conftest.$ac_ext >&5
13142 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 13143 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
13143 echo " xemacs will be linked with \"nas.o\"" 13144 echo " xemacs will be linked with \"nas.o\""
13144 fi 13145 fi
13145 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 13146 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
13146 cat > conftest.$ac_ext <<EOF 13147 cat > conftest.$ac_ext <<EOF
13147 #line 13148 "configure" 13148 #line 13149 "configure"
13148 #include "confdefs.h" 13149 #include "confdefs.h"
13149 #include <audio/Xtutil.h> 13150 #include <audio/Xtutil.h>
13150 EOF 13151 EOF
13151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13152 egrep "AuXtErrorJump" >/dev/null 2>&1; then 13153 egrep "AuXtErrorJump" >/dev/null 2>&1; then
13173 13174
13174 if test "$with_esd_sound" != "no"; then 13175 if test "$with_esd_sound" != "no"; then
13175 # Extract the first word of "esd-config", so it can be a program name with args. 13176 # Extract the first word of "esd-config", so it can be a program name with args.
13176 set dummy esd-config; ac_word=$2 13177 set dummy esd-config; ac_word=$2
13177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 13178 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_word" >&5 13179 echo "configure:13180: checking for $ac_word" >&5
13179 13180
13180 if test -n "$have_esd_config"; then 13181 if test -n "$have_esd_config"; then
13181 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 13182 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
13182 else 13183 else
13183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 13184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13202 if test "$have_esd_config" = "yes"; then 13203 if test "$have_esd_config" = "yes"; then
13203 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 13204 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
13204 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 13205 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
13205 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 13206 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
13206 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 13207 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
13207 echo "configure:13208: checking for esd_play_stream" >&5 13208 echo "configure:13209: checking for esd_play_stream" >&5
13208 13209
13209 cat > conftest.$ac_ext <<EOF 13210 cat > conftest.$ac_ext <<EOF
13210 #line 13211 "configure" 13211 #line 13212 "configure"
13211 #include "confdefs.h" 13212 #include "confdefs.h"
13212 /* System header to define __stub macros and hopefully few prototypes, 13213 /* System header to define __stub macros and hopefully few prototypes,
13213 which can conflict with char esd_play_stream(); below. */ 13214 which can conflict with char esd_play_stream(); below. */
13214 #include <assert.h> 13215 #include <assert.h>
13215 /* Override any gcc2 internal prototype to avoid an error. */ 13216 /* Override any gcc2 internal prototype to avoid an error. */
13228 esd_play_stream(); 13229 esd_play_stream();
13229 #endif 13230 #endif
13230 13231
13231 ; return 0; } 13232 ; return 0; }
13232 EOF 13233 EOF
13233 if { (eval echo configure:13234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13234 if { (eval echo configure:13235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13234 rm -rf conftest* 13235 rm -rf conftest*
13235 eval "ac_cv_func_esd_play_stream=yes" 13236 eval "ac_cv_func_esd_play_stream=yes"
13236 else 13237 else
13237 echo "configure: failed program was:" >&5 13238 echo "configure: failed program was:" >&5
13238 cat conftest.$ac_ext >&5 13239 cat conftest.$ac_ext >&5
13279 13280
13280 test -z "$with_tty" && with_tty=yes 13281 test -z "$with_tty" && with_tty=yes
13281 13282
13282 if test "$with_tty" = "yes" ; then 13283 if test "$with_tty" = "yes" ; then
13283 echo "checking for TTY-related features" 1>&6 13284 echo "checking for TTY-related features" 1>&6
13284 echo "configure:13285: checking for TTY-related features" >&5 13285 echo "configure:13286: checking for TTY-related features" >&5
13285 { test "$extra_verbose" = "yes" && cat << \EOF 13286 { test "$extra_verbose" = "yes" && cat << \EOF
13286 Defining HAVE_TTY 13287 Defining HAVE_TTY
13287 EOF 13288 EOF
13288 cat >> confdefs.h <<\EOF 13289 cat >> confdefs.h <<\EOF
13289 #define HAVE_TTY 1 13290 #define HAVE_TTY 1
13292 13293
13293 13294
13294 if test -z "$with_ncurses"; then 13295 if test -z "$with_ncurses"; then
13295 13296
13296 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 13297 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
13297 echo "configure:13298: checking for tgetent in -lncurses" >&5 13298 echo "configure:13299: checking for tgetent in -lncurses" >&5
13298 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 13299 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
13299 13300
13300 xe_check_libs=" -lncurses " 13301 xe_check_libs=" -lncurses "
13301 cat > conftest.$ac_ext <<EOF 13302 cat > conftest.$ac_ext <<EOF
13302 #line 13303 "configure" 13303 #line 13304 "configure"
13303 #include "confdefs.h" 13304 #include "confdefs.h"
13304 /* Override any gcc2 internal prototype to avoid an error. */ 13305 /* Override any gcc2 internal prototype to avoid an error. */
13305 /* We use char because int might match the return type of a gcc2 13306 /* We use char because int might match the return type of a gcc2
13306 builtin and then its argument prototype would still apply. */ 13307 builtin and then its argument prototype would still apply. */
13307 char tgetent(); 13308 char tgetent();
13308 13309
13309 int main() { 13310 int main() {
13310 tgetent() 13311 tgetent()
13311 ; return 0; } 13312 ; return 0; }
13312 EOF 13313 EOF
13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13314 if { (eval echo configure:13315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13314 rm -rf conftest* 13315 rm -rf conftest*
13315 eval "ac_cv_lib_$ac_lib_var=yes" 13316 eval "ac_cv_lib_$ac_lib_var=yes"
13316 else 13317 else
13317 echo "configure: failed program was:" >&5 13318 echo "configure: failed program was:" >&5
13318 cat conftest.$ac_ext >&5 13319 cat conftest.$ac_ext >&5
13341 EOF 13342 EOF
13342 } 13343 }
13343 13344
13344 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 13345 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
13345 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 13346 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
13346 echo "configure:13347: checking for ncurses/curses.h" >&5 13347 echo "configure:13348: checking for ncurses/curses.h" >&5
13347 13348
13348 cat > conftest.$ac_ext <<EOF 13349 cat > conftest.$ac_ext <<EOF
13349 #line 13350 "configure" 13350 #line 13351 "configure"
13350 #include "confdefs.h" 13351 #include "confdefs.h"
13351 #include <ncurses/curses.h> 13352 #include <ncurses/curses.h>
13352 EOF 13353 EOF
13353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13354 { (eval echo configure:13355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13355 { (eval echo configure:13356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13356 if test -z "$ac_err"; then 13357 if test -z "$ac_err"; then
13357 rm -rf conftest* 13358 rm -rf conftest*
13358 eval "ac_cv_header_$ac_safe=yes" 13359 eval "ac_cv_header_$ac_safe=yes"
13359 else 13360 else
13371 echo "$ac_t""no" 1>&6 13372 echo "$ac_t""no" 1>&6
13372 fi 13373 fi
13373 13374
13374 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 13375 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
13375 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 13376 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
13376 echo "configure:13377: checking for ncurses/term.h" >&5 13377 echo "configure:13378: checking for ncurses/term.h" >&5
13377 13378
13378 cat > conftest.$ac_ext <<EOF 13379 cat > conftest.$ac_ext <<EOF
13379 #line 13380 "configure" 13380 #line 13381 "configure"
13380 #include "confdefs.h" 13381 #include "confdefs.h"
13381 #include <ncurses/term.h> 13382 #include <ncurses/term.h>
13382 EOF 13383 EOF
13383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13384 { (eval echo configure:13385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13385 { (eval echo configure:13386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13386 if test -z "$ac_err"; then 13387 if test -z "$ac_err"; then
13387 rm -rf conftest* 13388 rm -rf conftest*
13388 eval "ac_cv_header_$ac_safe=yes" 13389 eval "ac_cv_header_$ac_safe=yes"
13389 else 13390 else
13409 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 13410 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
13410 save_c_switch_site="$c_switch_site" 13411 save_c_switch_site="$c_switch_site"
13411 c_switch_site="$c_switch_site -I/usr/include/ncurses" 13412 c_switch_site="$c_switch_site -I/usr/include/ncurses"
13412 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 13413 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
13413 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 13414 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
13414 echo "configure:13415: checking for ncurses/curses.h" >&5 13415 echo "configure:13416: checking for ncurses/curses.h" >&5
13415 13416
13416 cat > conftest.$ac_ext <<EOF 13417 cat > conftest.$ac_ext <<EOF
13417 #line 13418 "configure" 13418 #line 13419 "configure"
13418 #include "confdefs.h" 13419 #include "confdefs.h"
13419 #include <ncurses/curses.h> 13420 #include <ncurses/curses.h>
13420 EOF 13421 EOF
13421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13422 { (eval echo configure:13423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13423 { (eval echo configure:13424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13424 if test -z "$ac_err"; then 13425 if test -z "$ac_err"; then
13425 rm -rf conftest* 13426 rm -rf conftest*
13426 eval "ac_cv_header_$ac_safe=yes" 13427 eval "ac_cv_header_$ac_safe=yes"
13427 else 13428 else
13452 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 13453 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
13453 else 13454 else
13454 for lib in curses termlib termcap; do 13455 for lib in curses termlib termcap; do
13455 13456
13456 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 13457 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
13457 echo "configure:13458: checking for tgetent in -l$lib" >&5 13458 echo "configure:13459: checking for tgetent in -l$lib" >&5
13458 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 13459 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
13459 13460
13460 xe_check_libs=" -l$lib " 13461 xe_check_libs=" -l$lib "
13461 cat > conftest.$ac_ext <<EOF 13462 cat > conftest.$ac_ext <<EOF
13462 #line 13463 "configure" 13463 #line 13464 "configure"
13463 #include "confdefs.h" 13464 #include "confdefs.h"
13464 /* Override any gcc2 internal prototype to avoid an error. */ 13465 /* Override any gcc2 internal prototype to avoid an error. */
13465 /* We use char because int might match the return type of a gcc2 13466 /* We use char because int might match the return type of a gcc2
13466 builtin and then its argument prototype would still apply. */ 13467 builtin and then its argument prototype would still apply. */
13467 char tgetent(); 13468 char tgetent();
13468 13469
13469 int main() { 13470 int main() {
13470 tgetent() 13471 tgetent()
13471 ; return 0; } 13472 ; return 0; }
13472 EOF 13473 EOF
13473 if { (eval echo configure:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13474 if { (eval echo configure:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13474 rm -rf conftest* 13475 rm -rf conftest*
13475 eval "ac_cv_lib_$ac_lib_var=yes" 13476 eval "ac_cv_lib_$ac_lib_var=yes"
13476 else 13477 else
13477 echo "configure: failed program was:" >&5 13478 echo "configure: failed program was:" >&5
13478 cat conftest.$ac_ext >&5 13479 cat conftest.$ac_ext >&5
13499 if test -n "$libs_termcap"; then 13500 if test -n "$libs_termcap"; then
13500 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 13501 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
13501 else 13502 else
13502 13503
13503 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 13504 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
13504 echo "configure:13505: checking for tgetent in -lcurses" >&5 13505 echo "configure:13506: checking for tgetent in -lcurses" >&5
13505 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 13506 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
13506 13507
13507 xe_check_libs=" -lcurses " 13508 xe_check_libs=" -lcurses "
13508 cat > conftest.$ac_ext <<EOF 13509 cat > conftest.$ac_ext <<EOF
13509 #line 13510 "configure" 13510 #line 13511 "configure"
13510 #include "confdefs.h" 13511 #include "confdefs.h"
13511 /* Override any gcc2 internal prototype to avoid an error. */ 13512 /* Override any gcc2 internal prototype to avoid an error. */
13512 /* We use char because int might match the return type of a gcc2 13513 /* We use char because int might match the return type of a gcc2
13513 builtin and then its argument prototype would still apply. */ 13514 builtin and then its argument prototype would still apply. */
13514 char tgetent(); 13515 char tgetent();
13515 13516
13516 int main() { 13517 int main() {
13517 tgetent() 13518 tgetent()
13518 ; return 0; } 13519 ; return 0; }
13519 EOF 13520 EOF
13520 if { (eval echo configure:13521: \"$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
13521 rm -rf conftest* 13522 rm -rf conftest*
13522 eval "ac_cv_lib_$ac_lib_var=yes" 13523 eval "ac_cv_lib_$ac_lib_var=yes"
13523 else 13524 else
13524 echo "configure: failed program was:" >&5 13525 echo "configure: failed program was:" >&5
13525 cat conftest.$ac_ext >&5 13526 cat conftest.$ac_ext >&5
13533 echo "$ac_t""yes" 1>&6 13534 echo "$ac_t""yes" 1>&6
13534 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 13535 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
13535 else 13536 else
13536 echo "$ac_t""no" 1>&6 13537 echo "$ac_t""no" 1>&6
13537 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 13538 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
13538 echo "configure:13539: checking for tgetent in -ltermcap" >&5 13539 echo "configure:13540: checking for tgetent in -ltermcap" >&5
13539 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 13540 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
13540 13541
13541 xe_check_libs=" -ltermcap " 13542 xe_check_libs=" -ltermcap "
13542 cat > conftest.$ac_ext <<EOF 13543 cat > conftest.$ac_ext <<EOF
13543 #line 13544 "configure" 13544 #line 13545 "configure"
13544 #include "confdefs.h" 13545 #include "confdefs.h"
13545 /* Override any gcc2 internal prototype to avoid an error. */ 13546 /* Override any gcc2 internal prototype to avoid an error. */
13546 /* We use char because int might match the return type of a gcc2 13547 /* We use char because int might match the return type of a gcc2
13547 builtin and then its argument prototype would still apply. */ 13548 builtin and then its argument prototype would still apply. */
13548 char tgetent(); 13549 char tgetent();
13549 13550
13550 int main() { 13551 int main() {
13551 tgetent() 13552 tgetent()
13552 ; return 0; } 13553 ; return 0; }
13553 EOF 13554 EOF
13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13555 if { (eval echo configure:13556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13555 rm -rf conftest* 13556 rm -rf conftest*
13556 eval "ac_cv_lib_$ac_lib_var=yes" 13557 eval "ac_cv_lib_$ac_lib_var=yes"
13557 else 13558 else
13558 echo "configure: failed program was:" >&5 13559 echo "configure: failed program was:" >&5
13559 cat conftest.$ac_ext >&5 13560 cat conftest.$ac_ext >&5
13597 } 13598 }
13598 13599
13599 13600
13600 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 13601 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
13601 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 13602 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
13602 echo "configure:13603: checking for gpm.h" >&5 13603 echo "configure:13604: checking for gpm.h" >&5
13603 13604
13604 cat > conftest.$ac_ext <<EOF 13605 cat > conftest.$ac_ext <<EOF
13605 #line 13606 "configure" 13606 #line 13607 "configure"
13606 #include "confdefs.h" 13607 #include "confdefs.h"
13607 #include <gpm.h> 13608 #include <gpm.h>
13608 EOF 13609 EOF
13609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13610 { (eval echo configure:13611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13611 { (eval echo configure:13612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13612 if test -z "$ac_err"; then 13613 if test -z "$ac_err"; then
13613 rm -rf conftest* 13614 rm -rf conftest*
13614 eval "ac_cv_header_$ac_safe=yes" 13615 eval "ac_cv_header_$ac_safe=yes"
13615 else 13616 else
13628 with_gpm=no 13629 with_gpm=no
13629 fi 13630 fi
13630 } 13631 }
13631 test -z "$with_gpm" && { 13632 test -z "$with_gpm" && {
13632 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 13633 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
13633 echo "configure:13634: checking for Gpm_Open in -lgpm" >&5 13634 echo "configure:13635: checking for Gpm_Open in -lgpm" >&5
13634 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 13635 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
13635 13636
13636 xe_check_libs=" -lgpm " 13637 xe_check_libs=" -lgpm "
13637 cat > conftest.$ac_ext <<EOF 13638 cat > conftest.$ac_ext <<EOF
13638 #line 13639 "configure" 13639 #line 13640 "configure"
13639 #include "confdefs.h" 13640 #include "confdefs.h"
13640 /* Override any gcc2 internal prototype to avoid an error. */ 13641 /* Override any gcc2 internal prototype to avoid an error. */
13641 /* We use char because int might match the return type of a gcc2 13642 /* We use char because int might match the return type of a gcc2
13642 builtin and then its argument prototype would still apply. */ 13643 builtin and then its argument prototype would still apply. */
13643 char Gpm_Open(); 13644 char Gpm_Open();
13644 13645
13645 int main() { 13646 int main() {
13646 Gpm_Open() 13647 Gpm_Open()
13647 ; return 0; } 13648 ; return 0; }
13648 EOF 13649 EOF
13649 if { (eval echo configure:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13650 if { (eval echo configure:13651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13650 rm -rf conftest* 13651 rm -rf conftest*
13651 eval "ac_cv_lib_$ac_lib_var=yes" 13652 eval "ac_cv_lib_$ac_lib_var=yes"
13652 else 13653 else
13653 echo "configure: failed program was:" >&5 13654 echo "configure: failed program was:" >&5
13654 cat conftest.$ac_ext >&5 13655 cat conftest.$ac_ext >&5
13687 done 13688 done
13688 fi 13689 fi
13689 13690
13690 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 13691 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
13691 != "no no no" && echo "checking for database support" 1>&6 13692 != "no no no" && echo "checking for database support" 1>&6
13692 echo "configure:13693: checking for database support" >&5 13693 echo "configure:13694: checking for database support" >&5
13693 13694
13694 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 13695 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
13695 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 13696 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
13696 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 13697 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
13697 echo "configure:13698: checking for ndbm.h" >&5 13698 echo "configure:13699: checking for ndbm.h" >&5
13698 13699
13699 cat > conftest.$ac_ext <<EOF 13700 cat > conftest.$ac_ext <<EOF
13700 #line 13701 "configure" 13701 #line 13702 "configure"
13701 #include "confdefs.h" 13702 #include "confdefs.h"
13702 #include <ndbm.h> 13703 #include <ndbm.h>
13703 EOF 13704 EOF
13704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13705 { (eval echo configure:13706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13706 { (eval echo configure:13707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13707 if test -z "$ac_err"; then 13708 if test -z "$ac_err"; then
13708 rm -rf conftest* 13709 rm -rf conftest*
13709 eval "ac_cv_header_$ac_safe=yes" 13710 eval "ac_cv_header_$ac_safe=yes"
13710 else 13711 else
13730 fi 13731 fi
13731 13732
13732 if test "$with_database_gdbm" != "no"; then 13733 if test "$with_database_gdbm" != "no"; then
13733 13734
13734 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 13735 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
13735 echo "configure:13736: checking for dbm_open in -lgdbm" >&5 13736 echo "configure:13737: checking for dbm_open in -lgdbm" >&5
13736 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 13737 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
13737 13738
13738 xe_check_libs=" -lgdbm " 13739 xe_check_libs=" -lgdbm "
13739 cat > conftest.$ac_ext <<EOF 13740 cat > conftest.$ac_ext <<EOF
13740 #line 13741 "configure" 13741 #line 13742 "configure"
13741 #include "confdefs.h" 13742 #include "confdefs.h"
13742 /* Override any gcc2 internal prototype to avoid an error. */ 13743 /* Override any gcc2 internal prototype to avoid an error. */
13743 /* We use char because int might match the return type of a gcc2 13744 /* We use char because int might match the return type of a gcc2
13744 builtin and then its argument prototype would still apply. */ 13745 builtin and then its argument prototype would still apply. */
13745 char dbm_open(); 13746 char dbm_open();
13746 13747
13747 int main() { 13748 int main() {
13748 dbm_open() 13749 dbm_open()
13749 ; return 0; } 13750 ; return 0; }
13750 EOF 13751 EOF
13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13752 if { (eval echo configure:13753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13752 rm -rf conftest* 13753 rm -rf conftest*
13753 eval "ac_cv_lib_$ac_lib_var=yes" 13754 eval "ac_cv_lib_$ac_lib_var=yes"
13754 else 13755 else
13755 echo "configure: failed program was:" >&5 13756 echo "configure: failed program was:" >&5
13756 cat conftest.$ac_ext >&5 13757 cat conftest.$ac_ext >&5
13774 13775
13775 fi 13776 fi
13776 13777
13777 if test "$with_database_dbm" != "no"; then 13778 if test "$with_database_dbm" != "no"; then
13778 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 13779 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
13779 echo "configure:13780: checking for dbm_open" >&5 13780 echo "configure:13781: checking for dbm_open" >&5
13780 13781
13781 cat > conftest.$ac_ext <<EOF 13782 cat > conftest.$ac_ext <<EOF
13782 #line 13783 "configure" 13783 #line 13784 "configure"
13783 #include "confdefs.h" 13784 #include "confdefs.h"
13784 /* System header to define __stub macros and hopefully few prototypes, 13785 /* System header to define __stub macros and hopefully few prototypes,
13785 which can conflict with char dbm_open(); below. */ 13786 which can conflict with char dbm_open(); below. */
13786 #include <assert.h> 13787 #include <assert.h>
13787 /* Override any gcc2 internal prototype to avoid an error. */ 13788 /* Override any gcc2 internal prototype to avoid an error. */
13800 dbm_open(); 13801 dbm_open();
13801 #endif 13802 #endif
13802 13803
13803 ; return 0; } 13804 ; return 0; }
13804 EOF 13805 EOF
13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13806 if { (eval echo configure:13807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13806 rm -rf conftest* 13807 rm -rf conftest*
13807 eval "ac_cv_func_dbm_open=yes" 13808 eval "ac_cv_func_dbm_open=yes"
13808 else 13809 else
13809 echo "configure: failed program was:" >&5 13810 echo "configure: failed program was:" >&5
13810 cat conftest.$ac_ext >&5 13811 cat conftest.$ac_ext >&5
13819 else 13820 else
13820 echo "$ac_t""no" 1>&6 13821 echo "$ac_t""no" 1>&6
13821 13822
13822 13823
13823 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 13824 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
13824 echo "configure:13825: checking for dbm_open in -ldbm" >&5 13825 echo "configure:13826: checking for dbm_open in -ldbm" >&5
13825 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 13826 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
13826 13827
13827 xe_check_libs=" -ldbm " 13828 xe_check_libs=" -ldbm "
13828 cat > conftest.$ac_ext <<EOF 13829 cat > conftest.$ac_ext <<EOF
13829 #line 13830 "configure" 13830 #line 13831 "configure"
13830 #include "confdefs.h" 13831 #include "confdefs.h"
13831 /* Override any gcc2 internal prototype to avoid an error. */ 13832 /* Override any gcc2 internal prototype to avoid an error. */
13832 /* We use char because int might match the return type of a gcc2 13833 /* We use char because int might match the return type of a gcc2
13833 builtin and then its argument prototype would still apply. */ 13834 builtin and then its argument prototype would still apply. */
13834 char dbm_open(); 13835 char dbm_open();
13835 13836
13836 int main() { 13837 int main() {
13837 dbm_open() 13838 dbm_open()
13838 ; return 0; } 13839 ; return 0; }
13839 EOF 13840 EOF
13840 if { (eval echo configure:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13841 if { (eval echo configure:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13841 rm -rf conftest* 13842 rm -rf conftest*
13842 eval "ac_cv_lib_$ac_lib_var=yes" 13843 eval "ac_cv_lib_$ac_lib_var=yes"
13843 else 13844 else
13844 echo "configure: failed program was:" >&5 13845 echo "configure: failed program was:" >&5
13845 cat conftest.$ac_ext >&5 13846 cat conftest.$ac_ext >&5
13876 } 13877 }
13877 13878
13878 13879
13879 if test "$with_database_berkdb" != "no"; then 13880 if test "$with_database_berkdb" != "no"; then
13880 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 13881 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
13881 echo "configure:13882: checking for Berkeley db.h" >&5 13882 echo "configure:13883: checking for Berkeley db.h" >&5
13882 for header in "db/db.h" "db.h"; do 13883 for header in "db/db.h" "db.h"; do
13883 cat > conftest.$ac_ext <<EOF 13884 cat > conftest.$ac_ext <<EOF
13884 #line 13885 "configure" 13885 #line 13886 "configure"
13885 #include "confdefs.h" 13886 #include "confdefs.h"
13886 13887
13887 #include <stdlib.h> 13888 #include <stdlib.h>
13888 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 13889 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
13889 #ifdef HAVE_INTTYPES_H 13890 #ifdef HAVE_INTTYPES_H
13901 13902
13902 int main() { 13903 int main() {
13903 13904
13904 ; return 0; } 13905 ; return 0; }
13905 EOF 13906 EOF
13906 if { (eval echo configure:13907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13907 if { (eval echo configure:13908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13907 rm -rf conftest* 13908 rm -rf conftest*
13908 db_h_file="$header"; break 13909 db_h_file="$header"; break
13909 else 13910 else
13910 echo "configure: failed program was:" >&5 13911 echo "configure: failed program was:" >&5
13911 cat conftest.$ac_ext >&5 13912 cat conftest.$ac_ext >&5
13917 else echo "$ac_t""$db_h_file" 1>&6 13918 else echo "$ac_t""$db_h_file" 1>&6
13918 fi 13919 fi
13919 13920
13920 if test "$with_database_berkdb" != "no"; then 13921 if test "$with_database_berkdb" != "no"; then
13921 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 13922 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
13922 echo "configure:13923: checking for Berkeley DB version" >&5 13923 echo "configure:13924: checking for Berkeley DB version" >&5
13923 cat > conftest.$ac_ext <<EOF 13924 cat > conftest.$ac_ext <<EOF
13924 #line 13925 "configure" 13925 #line 13926 "configure"
13925 #include "confdefs.h" 13926 #include "confdefs.h"
13926 #include <$db_h_file> 13927 #include <$db_h_file>
13927 #if DB_VERSION_MAJOR > 1 13928 #if DB_VERSION_MAJOR > 1
13928 yes 13929 yes
13929 #endif 13930 #endif
13931 EOF 13932 EOF
13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13933 egrep "yes" >/dev/null 2>&1; then 13934 egrep "yes" >/dev/null 2>&1; then
13934 rm -rf conftest* 13935 rm -rf conftest*
13935 cat > conftest.$ac_ext <<EOF 13936 cat > conftest.$ac_ext <<EOF
13936 #line 13937 "configure" 13937 #line 13938 "configure"
13937 #include "confdefs.h" 13938 #include "confdefs.h"
13938 #include <$db_h_file> 13939 #include <$db_h_file>
13939 #if DB_VERSION_MAJOR > 2 13940 #if DB_VERSION_MAJOR > 2
13940 yes 13941 yes
13941 #endif 13942 #endif
13958 echo "$ac_t""1" 1>&6; dbfunc=dbopen 13959 echo "$ac_t""1" 1>&6; dbfunc=dbopen
13959 fi 13960 fi
13960 rm -f conftest* 13961 rm -f conftest*
13961 13962
13962 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 13963 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
13963 echo "configure:13964: checking for $dbfunc" >&5 13964 echo "configure:13965: checking for $dbfunc" >&5
13964 13965
13965 cat > conftest.$ac_ext <<EOF 13966 cat > conftest.$ac_ext <<EOF
13966 #line 13967 "configure" 13967 #line 13968 "configure"
13967 #include "confdefs.h" 13968 #include "confdefs.h"
13968 /* System header to define __stub macros and hopefully few prototypes, 13969 /* System header to define __stub macros and hopefully few prototypes,
13969 which can conflict with char $dbfunc(); below. */ 13970 which can conflict with char $dbfunc(); below. */
13970 #include <assert.h> 13971 #include <assert.h>
13971 /* Override any gcc2 internal prototype to avoid an error. */ 13972 /* Override any gcc2 internal prototype to avoid an error. */
13984 $dbfunc(); 13985 $dbfunc();
13985 #endif 13986 #endif
13986 13987
13987 ; return 0; } 13988 ; return 0; }
13988 EOF 13989 EOF
13989 if { (eval echo configure:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13990 if { (eval echo configure:13991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13990 rm -rf conftest* 13991 rm -rf conftest*
13991 eval "ac_cv_func_$dbfunc=yes" 13992 eval "ac_cv_func_$dbfunc=yes"
13992 else 13993 else
13993 echo "configure: failed program was:" >&5 13994 echo "configure: failed program was:" >&5
13994 cat conftest.$ac_ext >&5 13995 cat conftest.$ac_ext >&5
14003 else 14004 else
14004 echo "$ac_t""no" 1>&6 14005 echo "$ac_t""no" 1>&6
14005 14006
14006 14007
14007 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 14008 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
14008 echo "configure:14009: checking for $dbfunc in -ldb" >&5 14009 echo "configure:14010: checking for $dbfunc in -ldb" >&5
14009 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 14010 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
14010 14011
14011 xe_check_libs=" -ldb " 14012 xe_check_libs=" -ldb "
14012 cat > conftest.$ac_ext <<EOF 14013 cat > conftest.$ac_ext <<EOF
14013 #line 14014 "configure" 14014 #line 14015 "configure"
14014 #include "confdefs.h" 14015 #include "confdefs.h"
14015 /* Override any gcc2 internal prototype to avoid an error. */ 14016 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2 14017 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */ 14018 builtin and then its argument prototype would still apply. */
14018 char $dbfunc(); 14019 char $dbfunc();
14019 14020
14020 int main() { 14021 int main() {
14021 $dbfunc() 14022 $dbfunc()
14022 ; return 0; } 14023 ; return 0; }
14023 EOF 14024 EOF
14024 if { (eval echo configure:14025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14025 if { (eval echo configure:14026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14025 rm -rf conftest* 14026 rm -rf conftest*
14026 eval "ac_cv_lib_$ac_lib_var=yes" 14027 eval "ac_cv_lib_$ac_lib_var=yes"
14027 else 14028 else
14028 echo "configure: failed program was:" >&5 14029 echo "configure: failed program was:" >&5
14029 cat conftest.$ac_ext >&5 14030 cat conftest.$ac_ext >&5
14080 fi 14081 fi
14081 14082
14082 if test "$with_socks" = "yes"; then 14083 if test "$with_socks" = "yes"; then
14083 14084
14084 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 14085 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
14085 echo "configure:14086: checking for SOCKSinit in -lsocks" >&5 14086 echo "configure:14087: checking for SOCKSinit in -lsocks" >&5
14086 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 14087 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
14087 14088
14088 xe_check_libs=" -lsocks " 14089 xe_check_libs=" -lsocks "
14089 cat > conftest.$ac_ext <<EOF 14090 cat > conftest.$ac_ext <<EOF
14090 #line 14091 "configure" 14091 #line 14092 "configure"
14091 #include "confdefs.h" 14092 #include "confdefs.h"
14092 /* Override any gcc2 internal prototype to avoid an error. */ 14093 /* Override any gcc2 internal prototype to avoid an error. */
14093 /* We use char because int might match the return type of a gcc2 14094 /* We use char because int might match the return type of a gcc2
14094 builtin and then its argument prototype would still apply. */ 14095 builtin and then its argument prototype would still apply. */
14095 char SOCKSinit(); 14096 char SOCKSinit();
14096 14097
14097 int main() { 14098 int main() {
14098 SOCKSinit() 14099 SOCKSinit()
14099 ; return 0; } 14100 ; return 0; }
14100 EOF 14101 EOF
14101 if { (eval echo configure:14102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14102 if { (eval echo configure:14103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14102 rm -rf conftest* 14103 rm -rf conftest*
14103 eval "ac_cv_lib_$ac_lib_var=yes" 14104 eval "ac_cv_lib_$ac_lib_var=yes"
14104 else 14105 else
14105 echo "configure: failed program was:" >&5 14106 echo "configure: failed program was:" >&5
14106 cat conftest.$ac_ext >&5 14107 cat conftest.$ac_ext >&5
14151 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 14152 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
14152 fi 14153 fi
14153 14154
14154 if test "$with_modules" != "no"; then 14155 if test "$with_modules" != "no"; then
14155 echo "checking for module support" 1>&6 14156 echo "checking for module support" 1>&6
14156 echo "configure:14157: checking for module support" >&5 14157 echo "configure:14158: checking for module support" >&5
14157 14158
14158 if test "$with_msw" = "yes"; then 14159 if test "$with_msw" = "yes"; then
14159 have_dl=yes; 14160 have_dl=yes;
14160 else 14161 else
14161 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 14162 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
14162 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 14163 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
14163 echo "configure:14164: checking for dlfcn.h" >&5 14164 echo "configure:14165: checking for dlfcn.h" >&5
14164 14165
14165 cat > conftest.$ac_ext <<EOF 14166 cat > conftest.$ac_ext <<EOF
14166 #line 14167 "configure" 14167 #line 14168 "configure"
14167 #include "confdefs.h" 14168 #include "confdefs.h"
14168 #include <dlfcn.h> 14169 #include <dlfcn.h>
14169 EOF 14170 EOF
14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14172 { (eval echo configure:14173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14173 if test -z "$ac_err"; then 14174 if test -z "$ac_err"; then
14174 rm -rf conftest* 14175 rm -rf conftest*
14175 eval "ac_cv_header_$ac_safe=yes" 14176 eval "ac_cv_header_$ac_safe=yes"
14176 else 14177 else
14183 rm -f conftest* 14184 rm -f conftest*
14184 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14185 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14185 echo "$ac_t""yes" 1>&6 14186 echo "$ac_t""yes" 1>&6
14186 14187
14187 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 14188 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
14188 echo "configure:14189: checking for dlopen in -lc" >&5 14189 echo "configure:14190: checking for dlopen in -lc" >&5
14189 cat > conftest.$ac_ext <<EOF 14190 cat > conftest.$ac_ext <<EOF
14190 #line 14191 "configure" 14191 #line 14192 "configure"
14191 #include "confdefs.h" 14192 #include "confdefs.h"
14192 #include <dlfcn.h> 14193 #include <dlfcn.h>
14193 int main() { 14194 int main() {
14194 dlopen ("", 0); 14195 dlopen ("", 0);
14195 ; return 0; } 14196 ; return 0; }
14196 EOF 14197 EOF
14197 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14198 if { (eval echo configure:14199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14198 rm -rf conftest* 14199 rm -rf conftest*
14199 have_dl=yes 14200 have_dl=yes
14200 else 14201 else
14201 echo "configure: failed program was:" >&5 14202 echo "configure: failed program was:" >&5
14202 cat conftest.$ac_ext >&5 14203 cat conftest.$ac_ext >&5
14203 rm -rf conftest* 14204 rm -rf conftest*
14204 14205
14205 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 14206 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14206 echo "configure:14207: checking for dlopen in -ldl" >&5 14207 echo "configure:14208: checking for dlopen in -ldl" >&5
14207 ac_save_LIBS="$LIBS" 14208 ac_save_LIBS="$LIBS"
14208 LIBS="-ldl $LIBS" 14209 LIBS="-ldl $LIBS"
14209 cat > conftest.$ac_ext <<EOF 14210 cat > conftest.$ac_ext <<EOF
14210 #line 14211 "configure" 14211 #line 14212 "configure"
14211 #include "confdefs.h" 14212 #include "confdefs.h"
14212 #include <dlfcn.h> 14213 #include <dlfcn.h>
14213 int main() { 14214 int main() {
14214 dlopen ("", 0); 14215 dlopen ("", 0);
14215 ; return 0; } 14216 ; return 0; }
14216 EOF 14217 EOF
14217 if { (eval echo configure:14218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14218 if { (eval echo configure:14219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14218 rm -rf conftest* 14219 rm -rf conftest*
14219 have_dl=yes 14220 have_dl=yes
14220 else 14221 else
14221 echo "configure: failed program was:" >&5 14222 echo "configure: failed program was:" >&5
14222 cat conftest.$ac_ext >&5 14223 cat conftest.$ac_ext >&5
14241 } 14242 }
14242 14243
14243 else 14244 else
14244 14245
14245 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 14246 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
14246 echo "configure:14247: checking for shl_load in -ldld" >&5 14247 echo "configure:14248: checking for shl_load in -ldld" >&5
14247 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 14248 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
14248 14249
14249 xe_check_libs=" -ldld " 14250 xe_check_libs=" -ldld "
14250 cat > conftest.$ac_ext <<EOF 14251 cat > conftest.$ac_ext <<EOF
14251 #line 14252 "configure" 14252 #line 14253 "configure"
14252 #include "confdefs.h" 14253 #include "confdefs.h"
14253 /* Override any gcc2 internal prototype to avoid an error. */ 14254 /* Override any gcc2 internal prototype to avoid an error. */
14254 /* We use char because int might match the return type of a gcc2 14255 /* We use char because int might match the return type of a gcc2
14255 builtin and then its argument prototype would still apply. */ 14256 builtin and then its argument prototype would still apply. */
14256 char shl_load(); 14257 char shl_load();
14257 14258
14258 int main() { 14259 int main() {
14259 shl_load() 14260 shl_load()
14260 ; return 0; } 14261 ; return 0; }
14261 EOF 14262 EOF
14262 if { (eval echo configure:14263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14263 rm -rf conftest* 14264 rm -rf conftest*
14264 eval "ac_cv_lib_$ac_lib_var=yes" 14265 eval "ac_cv_lib_$ac_lib_var=yes"
14265 else 14266 else
14266 echo "configure: failed program was:" >&5 14267 echo "configure: failed program was:" >&5
14267 cat conftest.$ac_ext >&5 14268 cat conftest.$ac_ext >&5
14284 14285
14285 else 14286 else
14286 echo "$ac_t""no" 1>&6 14287 echo "$ac_t""no" 1>&6
14287 14288
14288 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 14289 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
14289 echo "configure:14290: checking for dld_init in -ldld" >&5 14290 echo "configure:14291: checking for dld_init in -ldld" >&5
14290 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 14291 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
14291 14292
14292 xe_check_libs=" -ldld " 14293 xe_check_libs=" -ldld "
14293 cat > conftest.$ac_ext <<EOF 14294 cat > conftest.$ac_ext <<EOF
14294 #line 14295 "configure" 14295 #line 14296 "configure"
14295 #include "confdefs.h" 14296 #include "confdefs.h"
14296 /* Override any gcc2 internal prototype to avoid an error. */ 14297 /* Override any gcc2 internal prototype to avoid an error. */
14297 /* We use char because int might match the return type of a gcc2 14298 /* We use char because int might match the return type of a gcc2
14298 builtin and then its argument prototype would still apply. */ 14299 builtin and then its argument prototype would still apply. */
14299 char dld_init(); 14300 char dld_init();
14300 14301
14301 int main() { 14302 int main() {
14302 dld_init() 14303 dld_init()
14303 ; return 0; } 14304 ; return 0; }
14304 EOF 14305 EOF
14305 if { (eval echo configure:14306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14306 if { (eval echo configure:14307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14306 rm -rf conftest* 14307 rm -rf conftest*
14307 eval "ac_cv_lib_$ac_lib_var=yes" 14308 eval "ac_cv_lib_$ac_lib_var=yes"
14308 else 14309 else
14309 echo "configure: failed program was:" >&5 14310 echo "configure: failed program was:" >&5
14310 cat conftest.$ac_ext >&5 14311 cat conftest.$ac_ext >&5
14345 ld_dynamic_link_flags= 14346 ld_dynamic_link_flags=
14346 xehost=$canonical 14347 xehost=$canonical
14347 xealias=$internal_configuration 14348 xealias=$internal_configuration
14348 14349
14349 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 14350 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
14350 echo "configure:14351: checking how to build dynamic libraries for ${xehost}" >&5 14351 echo "configure:14352: checking how to build dynamic libraries for ${xehost}" >&5
14351 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 14352 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
14352 case "$xehost" in 14353 case "$xehost" in
14353 *-*-linux-gnu*) ;; 14354 *-*-linux-gnu*) ;;
14354 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 14355 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
14355 esac 14356 esac
14373 # Now see if the compiler is really GCC. 14374 # Now see if the compiler is really GCC.
14374 if test "$GCC" = "yes"; then 14375 if test "$GCC" = "yes"; then
14375 XEGCC=yes 14376 XEGCC=yes
14376 else 14377 else
14377 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 14378 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
14378 echo "configure:14379: checking checking whether we are using GNU C" >&5 14379 echo "configure:14380: checking checking whether we are using GNU C" >&5
14379 cat > conftest.$ac_ext <<EOF 14380 cat > conftest.$ac_ext <<EOF
14380 #line 14381 "configure" 14381 #line 14382 "configure"
14381 #include "confdefs.h" 14382 #include "confdefs.h"
14382 14383
14383 #ifdef __GNUC__ 14384 #ifdef __GNUC__
14384 yes; 14385 yes;
14385 #endif 14386 #endif
14397 14398
14398 echo "$ac_t""${XEGCC}" 1>&6 14399 echo "$ac_t""${XEGCC}" 1>&6
14399 fi 14400 fi
14400 14401
14401 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 14402 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
14402 echo "configure:14403: checking how to produce PIC code" >&5 14403 echo "configure:14404: checking how to produce PIC code" >&5
14403 wl= 14404 wl=
14404 14405
14405 can_build_shared=yes 14406 can_build_shared=yes
14406 if test "$XEGCC" = yes; then 14407 if test "$XEGCC" = yes; then
14407 wl='-Wl,' 14408 wl='-Wl,'
14498 if test -n "$dll_cflags"; then 14499 if test -n "$dll_cflags"; then
14499 echo "$ac_t""${dll_cflags}" 1>&6 14500 echo "$ac_t""${dll_cflags}" 1>&6
14500 14501
14501 # Check to make sure the dll_cflags actually works. 14502 # Check to make sure the dll_cflags actually works.
14502 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 14503 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
14503 echo "configure:14504: checking if PIC flag ${dll_cflags} really works" >&5 14504 echo "configure:14505: checking if PIC flag ${dll_cflags} really works" >&5
14504 save_CFLAGS="$CFLAGS" 14505 save_CFLAGS="$CFLAGS"
14505 CFLAGS="$CFLAGS $dll_cflags -DPIC" 14506 CFLAGS="$CFLAGS $dll_cflags -DPIC"
14506 cat > conftest.$ac_ext <<EOF 14507 cat > conftest.$ac_ext <<EOF
14507 #line 14508 "configure" 14508 #line 14509 "configure"
14508 #include "confdefs.h" 14509 #include "confdefs.h"
14509 14510
14510 int main() { 14511 int main() {
14511 int x=0; 14512 int x=0;
14512 ; return 0; } 14513 ; return 0; }
14513 EOF 14514 EOF
14514 if { (eval echo configure:14515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 14515 if { (eval echo configure:14516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14515 rm -rf conftest* 14516 rm -rf conftest*
14516 14517
14517 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 14518 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
14518 # reports no error. So, we need to grep stderr for (Bundled). 14519 # reports no error. So, we need to grep stderr for (Bundled).
14519 if grep '(Bundled)' config.log >/dev/null; then 14520 if grep '(Bundled)' config.log >/dev/null; then
14540 if test "$can_build_shared" = "yes"; then 14541 if test "$can_build_shared" = "yes"; then
14541 cc_produces_so=no 14542 cc_produces_so=no
14542 xldf= 14543 xldf=
14543 xcldf= 14544 xcldf=
14544 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 14545 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
14545 echo "configure:14546: checking if C compiler can produce shared libraries" >&5 14546 echo "configure:14547: checking if C compiler can produce shared libraries" >&5
14546 if test "$XEGCC" = yes; then 14547 if test "$XEGCC" = yes; then
14547 xcldf="-shared" 14548 xcldf="-shared"
14548 xldf="-shared" 14549 xldf="-shared"
14549 else # Not using GCC 14550 else # Not using GCC
14550 case "$xehost_os" in 14551 case "$xehost_os" in
14591 LDFLAGS="$xcldf $LDFLAGS" 14592 LDFLAGS="$xcldf $LDFLAGS"
14592 LIBS= 14593 LIBS=
14593 xe_libs= 14594 xe_libs=
14594 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 14595 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
14595 cat > conftest.$ac_ext <<EOF 14596 cat > conftest.$ac_ext <<EOF
14596 #line 14597 "configure" 14597 #line 14598 "configure"
14597 #include "confdefs.h" 14598 #include "confdefs.h"
14598 14599
14599 int main() { 14600 int main() {
14600 int x=0; 14601 int x=0;
14601 ; return 0; } 14602 ; return 0; }
14602 EOF 14603 EOF
14603 if { (eval echo configure:14604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14604 if { (eval echo configure:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14604 rm -rf conftest* 14605 rm -rf conftest*
14605 cc_produces_so=yes 14606 cc_produces_so=yes
14606 else 14607 else
14607 echo "configure: failed program was:" >&5 14608 echo "configure: failed program was:" >&5
14608 cat conftest.$ac_ext >&5 14609 cat conftest.$ac_ext >&5
14623 if test -z "$LTLD"; then 14624 if test -z "$LTLD"; then
14624 ac_prog=ld 14625 ac_prog=ld
14625 if test "$XEGCC" = yes; then 14626 if test "$XEGCC" = yes; then
14626 # Check if gcc -print-prog-name=ld gives a path. 14627 # Check if gcc -print-prog-name=ld gives a path.
14627 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 14628 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
14628 echo "configure:14629: checking for ld used by GCC" >&5 14629 echo "configure:14630: checking for ld used by GCC" >&5
14629 ac_prog=`($CC -print-prog-name=ld) 2>&5` 14630 ac_prog=`($CC -print-prog-name=ld) 2>&5`
14630 case "$ac_prog" in 14631 case "$ac_prog" in
14631 # Accept absolute paths. 14632 # Accept absolute paths.
14632 /*) 14633 /*)
14633 if test -z "$LTLD"; then 14634 if test -z "$LTLD"; then
14649 with_gnu_ld=unknown 14650 with_gnu_ld=unknown
14650 ;; 14651 ;;
14651 esac 14652 esac
14652 else 14653 else
14653 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 14654 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
14654 echo "configure:14655: checking for GNU ld" >&5 14655 echo "configure:14656: checking for GNU ld" >&5
14655 fi 14656 fi
14656 14657
14657 if test -z "$LTLD"; then 14658 if test -z "$LTLD"; then
14658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14659 for ac_dir in $PATH; do 14660 for ac_dir in $PATH; do
14687 14688
14688 ld_dynamic_link_flags= 14689 ld_dynamic_link_flags=
14689 14690
14690 # Check to see if it really is or isn't GNU ld. 14691 # Check to see if it really is or isn't GNU ld.
14691 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 14692 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
14692 echo "configure:14693: checking if the linker is GNU ld" >&5 14693 echo "configure:14694: checking if the linker is GNU ld" >&5
14693 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 14694 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14694 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 14695 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
14695 xe_gnu_ld=yes 14696 xe_gnu_ld=yes
14696 else 14697 else
14697 xe_gnu_ld=no 14698 xe_gnu_ld=no
14715 ld_shlibs=yes 14716 ld_shlibs=yes
14716 else 14717 else
14717 # OK - only NOW do we futz about with ld. 14718 # OK - only NOW do we futz about with ld.
14718 # See if the linker supports building shared libraries. 14719 # See if the linker supports building shared libraries.
14719 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 14720 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
14720 echo "configure:14721: checking whether the linker supports shared libraries" >&5 14721 echo "configure:14722: checking whether the linker supports shared libraries" >&5
14721 dll_ld=$CC 14722 dll_ld=$CC
14722 dll_ldflags=$LDFLAGS 14723 dll_ldflags=$LDFLAGS
14723 ld_shlibs=yes 14724 ld_shlibs=yes
14724 can_build_shared=yes 14725 can_build_shared=yes
14725 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 14726 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
14923 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 14924 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
14924 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 14925 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
14925 for ac_func in dlerror _dlerror 14926 for ac_func in dlerror _dlerror
14926 do 14927 do
14927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 14928 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14928 echo "configure:14929: checking for $ac_func" >&5 14929 echo "configure:14930: checking for $ac_func" >&5
14929 14930
14930 cat > conftest.$ac_ext <<EOF 14931 cat > conftest.$ac_ext <<EOF
14931 #line 14932 "configure" 14932 #line 14933 "configure"
14932 #include "confdefs.h" 14933 #include "confdefs.h"
14933 /* System header to define __stub macros and hopefully few prototypes, 14934 /* System header to define __stub macros and hopefully few prototypes,
14934 which can conflict with char $ac_func(); below. */ 14935 which can conflict with char $ac_func(); below. */
14935 #include <assert.h> 14936 #include <assert.h>
14936 /* Override any gcc2 internal prototype to avoid an error. */ 14937 /* Override any gcc2 internal prototype to avoid an error. */
14949 $ac_func(); 14950 $ac_func();
14950 #endif 14951 #endif
14951 14952
14952 ; return 0; } 14953 ; return 0; }
14953 EOF 14954 EOF
14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14955 if { (eval echo configure:14956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14955 rm -rf conftest* 14956 rm -rf conftest*
14956 eval "ac_cv_func_$ac_func=yes" 14957 eval "ac_cv_func_$ac_func=yes"
14957 else 14958 else
14958 echo "configure: failed program was:" >&5 14959 echo "configure: failed program was:" >&5
14959 cat conftest.$ac_ext >&5 14960 cat conftest.$ac_ext >&5
14988 with_modules=no 14989 with_modules=no
14989 fi 14990 fi
14990 fi 14991 fi
14991 14992
14992 cat > conftest.$ac_ext <<EOF 14993 cat > conftest.$ac_ext <<EOF
14993 #line 14994 "configure" 14994 #line 14995 "configure"
14994 #include "confdefs.h" 14995 #include "confdefs.h"
14995 int main(int c,char *v[]){return 0;} 14996 int main(int c,char *v[]){return 0;}
14996 EOF 14997 EOF
14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 14998 if { (eval echo configure:14999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
14998 then 14999 then
14999 : 15000 :
15000 else 15001 else
15001 conftest_rc="$?" 15002 conftest_rc="$?"
15002 echo "configure: failed program was:" >&5 15003 echo "configure: failed program was:" >&5
15477 test "$external_widget" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF 15478 test "$external_widget" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF
15478 Defining EXTERNAL_WIDGET 15479 Defining EXTERNAL_WIDGET
15479 EOF 15480 EOF
15480 cat >> confdefs.h <<\EOF 15481 cat >> confdefs.h <<\EOF
15481 #define EXTERNAL_WIDGET 1 15482 #define EXTERNAL_WIDGET 1
15483 EOF
15484 }
15485
15486 test "$use_kkcc" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF
15487 Defining USE_KKCC
15488 EOF
15489 cat >> confdefs.h <<\EOF
15490 #define USE_KKCC 1
15482 EOF 15491 EOF
15483 } 15492 }
15484 15493
15485 test "$quick_build" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF 15494 test "$quick_build" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF
15486 Defining QUICK_BUILD 15495 Defining QUICK_BUILD
15761 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." 15770 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop."
15762 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 15771 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
15763 test "$with_dnet" = yes && echo " Compiling in support for DNET." 15772 test "$with_dnet" = yes && echo " Compiling in support for DNET."
15764 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." 15773 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules."
15765 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." 15774 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects."
15775 test "$use_kkcc" = yes && echo " Using the new GC algorithms."
15766 test "$pdump" = yes && echo " Using the new portable dumper." 15776 test "$pdump" = yes && echo " Using the new portable dumper."
15767 test "$debug" = yes && echo " Compiling in support for extra debugging code." 15777 test "$debug" = yes && echo " Compiling in support for extra debugging code."
15768 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." 15778 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)."
15769 if test "$error_check_extents $error_check_types $error_check_text $error_check_gc $error_check_malloc $error_check_glyphs $error_check_byte_code $error_check_display $error_check_structures" \ 15779 if test "$error_check_extents $error_check_types $error_check_text $error_check_gc $error_check_malloc $error_check_glyphs $error_check_byte_code $error_check_display $error_check_structures" \
15770 != "no no no no no no no no no"; then 15780 != "no no no no no no no no no"; then