Mercurial > hg > xemacs-beta
comparison configure @ 1916:84785da441f9
[xemacs-hg @ 2004-02-18 12:14:30 by stephent]
Solaris-compatible "for" syntax
author | stephent |
---|---|
date | Wed, 18 Feb 2004 12:14:33 +0000 |
parents | bf8be6575eae |
children | 569139be45f6 |
comparison
equal
deleted
inserted
replaced
1915:3edf1abcc428 | 1916:84785da441f9 |
---|---|
60 unset CDPATH | 60 unset CDPATH |
61 else | 61 else |
62 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi | 62 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi |
63 fi | 63 fi |
64 | 64 |
65 for xe_parse_arg; do | 65 for xe_parse_arg |
66 do | |
66 case $xe_parse_arg in | 67 case $xe_parse_arg in |
67 --srcdir) (echo "$progname: Usage error:" | 68 --srcdir) (echo "$progname: Usage error:" |
68 echo " " "The \`--srcdir' option requires a string value." | 69 echo " " "The \`--srcdir' option requires a string value." |
69 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 70 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
70 --srcdir=*) srcdir=`echo $xe_parse_arg | sed -e 's/--srcdir=//'` ;; | 71 --srcdir=*) srcdir=`echo $xe_parse_arg | sed -e 's/--srcdir=//'` ;; |
832 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 833 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
833 fi | 834 fi |
834 fi | 835 fi |
835 | 836 |
836 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 837 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
837 echo "configure:838: checking whether ln -s works" >&5 | 838 echo "configure:839: checking whether ln -s works" >&5 |
838 | 839 |
839 rm -f conftestdata | 840 rm -f conftestdata |
840 if ln -s X conftestdata 2>/dev/null | 841 if ln -s X conftestdata 2>/dev/null |
841 then | 842 then |
842 rm -f conftestdata | 843 rm -f conftestdata |
1118 } | 1119 } |
1119 | 1120 |
1120 | 1121 |
1121 | 1122 |
1122 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1123 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1123 echo "configure:1124: checking "host system type"" >&5 | 1124 echo "configure:1125: checking "host system type"" >&5 |
1124 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1125 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1125 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1126 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1126 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1127 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1127 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1128 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1128 echo "$ac_t""$configuration" 1>&6 | 1129 echo "$ac_t""$configuration" 1>&6 |
1656 xe_save_CFLAGS="$CFLAGS" | 1657 xe_save_CFLAGS="$CFLAGS" |
1657 | 1658 |
1658 # Extract the first word of "gcc", so it can be a program name with args. | 1659 # Extract the first word of "gcc", so it can be a program name with args. |
1659 set dummy gcc; ac_word=$2 | 1660 set dummy gcc; ac_word=$2 |
1660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1661 echo "configure:1662: checking for $ac_word" >&5 | 1662 echo "configure:1663: checking for $ac_word" >&5 |
1662 | 1663 |
1663 if test -n "$CC"; then | 1664 if test -n "$CC"; then |
1664 ac_cv_prog_CC="$CC" # Let the user override the test. | 1665 ac_cv_prog_CC="$CC" # Let the user override the test. |
1665 else | 1666 else |
1666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1683 | 1684 |
1684 if test -z "$CC"; then | 1685 if test -z "$CC"; then |
1685 # Extract the first word of "cc", so it can be a program name with args. | 1686 # Extract the first word of "cc", so it can be a program name with args. |
1686 set dummy cc; ac_word=$2 | 1687 set dummy cc; ac_word=$2 |
1687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1688 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1688 echo "configure:1689: checking for $ac_word" >&5 | 1689 echo "configure:1690: checking for $ac_word" >&5 |
1689 | 1690 |
1690 if test -n "$CC"; then | 1691 if test -n "$CC"; then |
1691 ac_cv_prog_CC="$CC" # Let the user override the test. | 1692 ac_cv_prog_CC="$CC" # Let the user override the test. |
1692 else | 1693 else |
1693 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1694 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1731 case "`uname -s`" in | 1732 case "`uname -s`" in |
1732 *win32* | *WIN32*) | 1733 *win32* | *WIN32*) |
1733 # Extract the first word of "cl", so it can be a program name with args. | 1734 # Extract the first word of "cl", so it can be a program name with args. |
1734 set dummy cl; ac_word=$2 | 1735 set dummy cl; ac_word=$2 |
1735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1736 echo "configure:1737: checking for $ac_word" >&5 | 1737 echo "configure:1738: checking for $ac_word" >&5 |
1737 | 1738 |
1738 if test -n "$CC"; then | 1739 if test -n "$CC"; then |
1739 ac_cv_prog_CC="$CC" # Let the user override the test. | 1740 ac_cv_prog_CC="$CC" # Let the user override the test. |
1740 else | 1741 else |
1741 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1742 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1760 fi | 1761 fi |
1761 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1762 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1762 fi | 1763 fi |
1763 | 1764 |
1764 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1765 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1765 echo "configure:1766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1766 echo "configure:1767: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1766 | 1767 |
1767 ac_ext=c | 1768 ac_ext=c |
1768 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1769 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1769 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1770 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1770 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' | 1771 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' |
1773 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1774 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1774 cross_compiling=no | 1775 cross_compiling=no |
1775 | 1776 |
1776 cat > conftest.$ac_ext << EOF | 1777 cat > conftest.$ac_ext << EOF |
1777 | 1778 |
1778 #line 1779 "configure" | 1779 #line 1780 "configure" |
1779 #include "confdefs.h" | 1780 #include "confdefs.h" |
1780 | 1781 |
1781 main(){return(0);} | 1782 main(){return(0);} |
1782 EOF | 1783 EOF |
1783 if { (eval echo configure:1784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1784 if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1784 ac_cv_prog_cc_works=yes | 1785 ac_cv_prog_cc_works=yes |
1785 # If we can't run a trivial program, we are probably using a cross compiler. | 1786 # If we can't run a trivial program, we are probably using a cross compiler. |
1786 if (./conftest; exit) 2>/dev/null; then | 1787 if (./conftest; exit) 2>/dev/null; then |
1787 ac_cv_prog_cc_cross=no | 1788 ac_cv_prog_cc_cross=no |
1788 else | 1789 else |
1806 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1807 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1807 if test $ac_cv_prog_cc_works = no; then | 1808 if test $ac_cv_prog_cc_works = no; then |
1808 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1809 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1809 fi | 1810 fi |
1810 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1811 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1811 echo "configure:1812: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1812 echo "configure:1813: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1812 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1813 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1813 cross_compiling=$ac_cv_prog_cc_cross | 1814 cross_compiling=$ac_cv_prog_cc_cross |
1814 | 1815 |
1815 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1816 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1816 echo "configure:1817: checking whether we are using GNU C" >&5 | 1817 echo "configure:1818: checking whether we are using GNU C" >&5 |
1817 | 1818 |
1818 cat > conftest.c <<EOF | 1819 cat > conftest.c <<EOF |
1819 #ifdef __GNUC__ | 1820 #ifdef __GNUC__ |
1820 yes; | 1821 yes; |
1821 #endif | 1822 #endif |
1822 EOF | 1823 EOF |
1823 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1824 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1824 ac_cv_prog_gcc=yes | 1825 ac_cv_prog_gcc=yes |
1825 else | 1826 else |
1826 ac_cv_prog_gcc=no | 1827 ac_cv_prog_gcc=no |
1827 fi | 1828 fi |
1828 | 1829 |
1836 | 1837 |
1837 ac_test_CFLAGS="${CFLAGS+set}" | 1838 ac_test_CFLAGS="${CFLAGS+set}" |
1838 ac_save_CFLAGS="$CFLAGS" | 1839 ac_save_CFLAGS="$CFLAGS" |
1839 CFLAGS= | 1840 CFLAGS= |
1840 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1841 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1841 echo "configure:1842: checking whether ${CC-cc} accepts -g" >&5 | 1842 echo "configure:1843: checking whether ${CC-cc} accepts -g" >&5 |
1842 | 1843 |
1843 echo 'void f(){}' > conftest.c | 1844 echo 'void f(){}' > conftest.c |
1844 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1845 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1845 ac_cv_prog_cc_g=yes | 1846 ac_cv_prog_cc_g=yes |
1846 else | 1847 else |
1869 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1870 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1870 CC=${NON_GNU_CC-cc} | 1871 CC=${NON_GNU_CC-cc} |
1871 # Extract the first word of "gcc", so it can be a program name with args. | 1872 # Extract the first word of "gcc", so it can be a program name with args. |
1872 set dummy gcc; ac_word=$2 | 1873 set dummy gcc; ac_word=$2 |
1873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1874 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1874 echo "configure:1875: checking for $ac_word" >&5 | 1875 echo "configure:1876: checking for $ac_word" >&5 |
1875 | 1876 |
1876 if test -n "$CC"; then | 1877 if test -n "$CC"; then |
1877 ac_cv_prog_CC="$CC" # Let the user override the test. | 1878 ac_cv_prog_CC="$CC" # Let the user override the test. |
1878 else | 1879 else |
1879 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1896 | 1897 |
1897 if test -z "$CC"; then | 1898 if test -z "$CC"; then |
1898 # Extract the first word of "cc", so it can be a program name with args. | 1899 # Extract the first word of "cc", so it can be a program name with args. |
1899 set dummy cc; ac_word=$2 | 1900 set dummy cc; ac_word=$2 |
1900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1901 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1901 echo "configure:1902: checking for $ac_word" >&5 | 1902 echo "configure:1903: checking for $ac_word" >&5 |
1902 | 1903 |
1903 if test -n "$CC"; then | 1904 if test -n "$CC"; then |
1904 ac_cv_prog_CC="$CC" # Let the user override the test. | 1905 ac_cv_prog_CC="$CC" # Let the user override the test. |
1905 else | 1906 else |
1906 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1907 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1944 case "`uname -s`" in | 1945 case "`uname -s`" in |
1945 *win32* | *WIN32*) | 1946 *win32* | *WIN32*) |
1946 # Extract the first word of "cl", so it can be a program name with args. | 1947 # Extract the first word of "cl", so it can be a program name with args. |
1947 set dummy cl; ac_word=$2 | 1948 set dummy cl; ac_word=$2 |
1948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1949 echo "configure:1950: checking for $ac_word" >&5 | 1950 echo "configure:1951: checking for $ac_word" >&5 |
1950 | 1951 |
1951 if test -n "$CC"; then | 1952 if test -n "$CC"; then |
1952 ac_cv_prog_CC="$CC" # Let the user override the test. | 1953 ac_cv_prog_CC="$CC" # Let the user override the test. |
1953 else | 1954 else |
1954 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1973 fi | 1974 fi |
1974 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1975 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1975 fi | 1976 fi |
1976 | 1977 |
1977 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1978 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1978 echo "configure:1979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1979 echo "configure:1980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1979 | 1980 |
1980 ac_ext=c | 1981 ac_ext=c |
1981 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1982 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1982 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1983 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1983 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' | 1984 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' |
1986 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1987 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1987 cross_compiling=no | 1988 cross_compiling=no |
1988 | 1989 |
1989 cat > conftest.$ac_ext << EOF | 1990 cat > conftest.$ac_ext << EOF |
1990 | 1991 |
1991 #line 1992 "configure" | 1992 #line 1993 "configure" |
1992 #include "confdefs.h" | 1993 #include "confdefs.h" |
1993 | 1994 |
1994 main(){return(0);} | 1995 main(){return(0);} |
1995 EOF | 1996 EOF |
1996 if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1997 if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1997 ac_cv_prog_cc_works=yes | 1998 ac_cv_prog_cc_works=yes |
1998 # If we can't run a trivial program, we are probably using a cross compiler. | 1999 # If we can't run a trivial program, we are probably using a cross compiler. |
1999 if (./conftest; exit) 2>/dev/null; then | 2000 if (./conftest; exit) 2>/dev/null; then |
2000 ac_cv_prog_cc_cross=no | 2001 ac_cv_prog_cc_cross=no |
2001 else | 2002 else |
2019 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2020 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2020 if test $ac_cv_prog_cc_works = no; then | 2021 if test $ac_cv_prog_cc_works = no; then |
2021 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2022 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2022 fi | 2023 fi |
2023 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2024 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2024 echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2025 echo "configure:2026: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2025 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2026 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2026 cross_compiling=$ac_cv_prog_cc_cross | 2027 cross_compiling=$ac_cv_prog_cc_cross |
2027 | 2028 |
2028 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2029 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2029 echo "configure:2030: checking whether we are using GNU C" >&5 | 2030 echo "configure:2031: checking whether we are using GNU C" >&5 |
2030 | 2031 |
2031 cat > conftest.c <<EOF | 2032 cat > conftest.c <<EOF |
2032 #ifdef __GNUC__ | 2033 #ifdef __GNUC__ |
2033 yes; | 2034 yes; |
2034 #endif | 2035 #endif |
2035 EOF | 2036 EOF |
2036 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2037 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2037 ac_cv_prog_gcc=yes | 2038 ac_cv_prog_gcc=yes |
2038 else | 2039 else |
2039 ac_cv_prog_gcc=no | 2040 ac_cv_prog_gcc=no |
2040 fi | 2041 fi |
2041 | 2042 |
2049 | 2050 |
2050 ac_test_CFLAGS="${CFLAGS+set}" | 2051 ac_test_CFLAGS="${CFLAGS+set}" |
2051 ac_save_CFLAGS="$CFLAGS" | 2052 ac_save_CFLAGS="$CFLAGS" |
2052 CFLAGS= | 2053 CFLAGS= |
2053 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2054 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2054 echo "configure:2055: checking whether ${CC-cc} accepts -g" >&5 | 2055 echo "configure:2056: checking whether ${CC-cc} accepts -g" >&5 |
2055 | 2056 |
2056 echo 'void f(){}' > conftest.c | 2057 echo 'void f(){}' > conftest.c |
2057 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2058 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2058 ac_cv_prog_cc_g=yes | 2059 ac_cv_prog_cc_g=yes |
2059 else | 2060 else |
2082 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2083 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2083 CC=gcc | 2084 CC=gcc |
2084 # Extract the first word of "gcc", so it can be a program name with args. | 2085 # Extract the first word of "gcc", so it can be a program name with args. |
2085 set dummy gcc; ac_word=$2 | 2086 set dummy gcc; ac_word=$2 |
2086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2087 echo "configure:2088: checking for $ac_word" >&5 | 2088 echo "configure:2089: checking for $ac_word" >&5 |
2088 | 2089 |
2089 if test -n "$CC"; then | 2090 if test -n "$CC"; then |
2090 ac_cv_prog_CC="$CC" # Let the user override the test. | 2091 ac_cv_prog_CC="$CC" # Let the user override the test. |
2091 else | 2092 else |
2092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2093 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2109 | 2110 |
2110 if test -z "$CC"; then | 2111 if test -z "$CC"; then |
2111 # Extract the first word of "cc", so it can be a program name with args. | 2112 # Extract the first word of "cc", so it can be a program name with args. |
2112 set dummy cc; ac_word=$2 | 2113 set dummy cc; ac_word=$2 |
2113 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2114 echo "configure:2115: checking for $ac_word" >&5 | 2115 echo "configure:2116: checking for $ac_word" >&5 |
2115 | 2116 |
2116 if test -n "$CC"; then | 2117 if test -n "$CC"; then |
2117 ac_cv_prog_CC="$CC" # Let the user override the test. | 2118 ac_cv_prog_CC="$CC" # Let the user override the test. |
2118 else | 2119 else |
2119 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2120 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2157 case "`uname -s`" in | 2158 case "`uname -s`" in |
2158 *win32* | *WIN32*) | 2159 *win32* | *WIN32*) |
2159 # Extract the first word of "cl", so it can be a program name with args. | 2160 # Extract the first word of "cl", so it can be a program name with args. |
2160 set dummy cl; ac_word=$2 | 2161 set dummy cl; ac_word=$2 |
2161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2162 echo "configure:2163: checking for $ac_word" >&5 | 2163 echo "configure:2164: checking for $ac_word" >&5 |
2163 | 2164 |
2164 if test -n "$CC"; then | 2165 if test -n "$CC"; then |
2165 ac_cv_prog_CC="$CC" # Let the user override the test. | 2166 ac_cv_prog_CC="$CC" # Let the user override the test. |
2166 else | 2167 else |
2167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2186 fi | 2187 fi |
2187 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2188 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2188 fi | 2189 fi |
2189 | 2190 |
2190 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2191 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2191 echo "configure:2192: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2192 echo "configure:2193: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2192 | 2193 |
2193 ac_ext=c | 2194 ac_ext=c |
2194 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2195 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2195 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2196 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2196 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' | 2197 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' |
2199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2200 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2200 cross_compiling=no | 2201 cross_compiling=no |
2201 | 2202 |
2202 cat > conftest.$ac_ext << EOF | 2203 cat > conftest.$ac_ext << EOF |
2203 | 2204 |
2204 #line 2205 "configure" | 2205 #line 2206 "configure" |
2205 #include "confdefs.h" | 2206 #include "confdefs.h" |
2206 | 2207 |
2207 main(){return(0);} | 2208 main(){return(0);} |
2208 EOF | 2209 EOF |
2209 if { (eval echo configure:2210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2210 if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2210 ac_cv_prog_cc_works=yes | 2211 ac_cv_prog_cc_works=yes |
2211 # If we can't run a trivial program, we are probably using a cross compiler. | 2212 # If we can't run a trivial program, we are probably using a cross compiler. |
2212 if (./conftest; exit) 2>/dev/null; then | 2213 if (./conftest; exit) 2>/dev/null; then |
2213 ac_cv_prog_cc_cross=no | 2214 ac_cv_prog_cc_cross=no |
2214 else | 2215 else |
2232 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2233 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2233 if test $ac_cv_prog_cc_works = no; then | 2234 if test $ac_cv_prog_cc_works = no; then |
2234 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2235 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2235 fi | 2236 fi |
2236 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2237 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2237 echo "configure:2238: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2238 echo "configure:2239: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2238 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2239 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2239 cross_compiling=$ac_cv_prog_cc_cross | 2240 cross_compiling=$ac_cv_prog_cc_cross |
2240 | 2241 |
2241 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2242 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2242 echo "configure:2243: checking whether we are using GNU C" >&5 | 2243 echo "configure:2244: checking whether we are using GNU C" >&5 |
2243 | 2244 |
2244 cat > conftest.c <<EOF | 2245 cat > conftest.c <<EOF |
2245 #ifdef __GNUC__ | 2246 #ifdef __GNUC__ |
2246 yes; | 2247 yes; |
2247 #endif | 2248 #endif |
2248 EOF | 2249 EOF |
2249 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2250 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2250 ac_cv_prog_gcc=yes | 2251 ac_cv_prog_gcc=yes |
2251 else | 2252 else |
2252 ac_cv_prog_gcc=no | 2253 ac_cv_prog_gcc=no |
2253 fi | 2254 fi |
2254 | 2255 |
2262 | 2263 |
2263 ac_test_CFLAGS="${CFLAGS+set}" | 2264 ac_test_CFLAGS="${CFLAGS+set}" |
2264 ac_save_CFLAGS="$CFLAGS" | 2265 ac_save_CFLAGS="$CFLAGS" |
2265 CFLAGS= | 2266 CFLAGS= |
2266 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2267 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2267 echo "configure:2268: checking whether ${CC-cc} accepts -g" >&5 | 2268 echo "configure:2269: checking whether ${CC-cc} accepts -g" >&5 |
2268 | 2269 |
2269 echo 'void f(){}' > conftest.c | 2270 echo 'void f(){}' > conftest.c |
2270 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2271 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2271 ac_cv_prog_cc_g=yes | 2272 ac_cv_prog_cc_g=yes |
2272 else | 2273 else |
2295 fi | 2296 fi |
2296 CFLAGS="$xe_save_CFLAGS" | 2297 CFLAGS="$xe_save_CFLAGS" |
2297 | 2298 |
2298 if test "$GCC" = "yes"; then | 2299 if test "$GCC" = "yes"; then |
2299 cat > conftest.$ac_ext <<EOF | 2300 cat > conftest.$ac_ext <<EOF |
2300 #line 2301 "configure" | 2301 #line 2302 "configure" |
2301 #include "confdefs.h" | 2302 #include "confdefs.h" |
2302 int main () { | 2303 int main () { |
2303 #if __GNUC__ >= 3 | 2304 #if __GNUC__ >= 3 |
2304 return 11; | 2305 return 11; |
2305 #else | 2306 #else |
2306 return 0; | 2307 return 0; |
2307 #endif | 2308 #endif |
2308 } | 2309 } |
2309 EOF | 2310 EOF |
2310 if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2311 if { (eval echo configure:2312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2311 then | 2312 then |
2312 : | 2313 : |
2313 else | 2314 else |
2314 conftest_rc="$?" | 2315 conftest_rc="$?" |
2315 echo "configure: failed program was:" >&5 | 2316 echo "configure: failed program was:" >&5 |
2331 test -n "$CPP" -a -d "$CPP" && CPP= | 2332 test -n "$CPP" -a -d "$CPP" && CPP= |
2332 | 2333 |
2333 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2334 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2334 | 2335 |
2335 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2336 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2336 echo "configure:2337: checking how to run the C preprocessor" >&5 | 2337 echo "configure:2338: checking how to run the C preprocessor" >&5 |
2337 # On Suns, sometimes $CPP names a directory. | 2338 # On Suns, sometimes $CPP names a directory. |
2338 if test -n "$CPP" && test -d "$CPP"; then | 2339 if test -n "$CPP" && test -d "$CPP"; then |
2339 CPP= | 2340 CPP= |
2340 fi | 2341 fi |
2341 if test -z "$CPP"; then | 2342 if test -z "$CPP"; then |
2344 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2345 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2345 CPP="${CC-cc} -E" | 2346 CPP="${CC-cc} -E" |
2346 # On the NeXT, cc -E runs the code through the compiler's parser, | 2347 # On the NeXT, cc -E runs the code through the compiler's parser, |
2347 # not just through cpp. | 2348 # not just through cpp. |
2348 cat > conftest.$ac_ext <<EOF | 2349 cat > conftest.$ac_ext <<EOF |
2349 #line 2350 "configure" | 2350 #line 2351 "configure" |
2350 #include "confdefs.h" | 2351 #include "confdefs.h" |
2351 #include <assert.h> | 2352 #include <assert.h> |
2352 Syntax Error | 2353 Syntax Error |
2353 EOF | 2354 EOF |
2354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2355 { (eval echo configure:2356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2356 { (eval echo configure:2357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2357 if test -z "$ac_err"; then | 2358 if test -z "$ac_err"; then |
2358 : | 2359 : |
2359 else | 2360 else |
2360 echo "$ac_err" >&5 | 2361 echo "$ac_err" >&5 |
2361 echo "configure: failed program was:" >&5 | 2362 echo "configure: failed program was:" >&5 |
2362 cat conftest.$ac_ext >&5 | 2363 cat conftest.$ac_ext >&5 |
2363 rm -rf conftest* | 2364 rm -rf conftest* |
2364 CPP="${CC-cc} -E -traditional-cpp" | 2365 CPP="${CC-cc} -E -traditional-cpp" |
2365 cat > conftest.$ac_ext <<EOF | 2366 cat > conftest.$ac_ext <<EOF |
2366 #line 2367 "configure" | 2367 #line 2368 "configure" |
2367 #include "confdefs.h" | 2368 #include "confdefs.h" |
2368 #include <assert.h> | 2369 #include <assert.h> |
2369 Syntax Error | 2370 Syntax Error |
2370 EOF | 2371 EOF |
2371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2372 { (eval echo configure:2373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2373 { (eval echo configure:2374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2374 if test -z "$ac_err"; then | 2375 if test -z "$ac_err"; then |
2375 : | 2376 : |
2376 else | 2377 else |
2377 echo "$ac_err" >&5 | 2378 echo "$ac_err" >&5 |
2378 echo "configure: failed program was:" >&5 | 2379 echo "configure: failed program was:" >&5 |
2379 cat conftest.$ac_ext >&5 | 2380 cat conftest.$ac_ext >&5 |
2380 rm -rf conftest* | 2381 rm -rf conftest* |
2381 CPP="${CC-cc} -nologo -E" | 2382 CPP="${CC-cc} -nologo -E" |
2382 cat > conftest.$ac_ext <<EOF | 2383 cat > conftest.$ac_ext <<EOF |
2383 #line 2384 "configure" | 2384 #line 2385 "configure" |
2384 #include "confdefs.h" | 2385 #include "confdefs.h" |
2385 #include <assert.h> | 2386 #include <assert.h> |
2386 Syntax Error | 2387 Syntax Error |
2387 EOF | 2388 EOF |
2388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2389 { (eval echo configure:2390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2390 { (eval echo configure:2391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2391 if test -z "$ac_err"; then | 2392 if test -z "$ac_err"; then |
2392 : | 2393 : |
2393 else | 2394 else |
2394 echo "$ac_err" >&5 | 2395 echo "$ac_err" >&5 |
2410 echo "$ac_t""$CPP" 1>&6 | 2411 echo "$ac_t""$CPP" 1>&6 |
2411 | 2412 |
2412 | 2413 |
2413 | 2414 |
2414 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2415 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2415 echo "configure:2416: checking for AIX" >&5 | 2416 echo "configure:2417: checking for AIX" >&5 |
2416 cat > conftest.$ac_ext <<EOF | 2417 cat > conftest.$ac_ext <<EOF |
2417 #line 2418 "configure" | 2418 #line 2419 "configure" |
2418 #include "confdefs.h" | 2419 #include "confdefs.h" |
2419 #ifdef _AIX | 2420 #ifdef _AIX |
2420 yes | 2421 yes |
2421 #endif | 2422 #endif |
2422 | 2423 |
2439 rm -f conftest* | 2440 rm -f conftest* |
2440 | 2441 |
2441 | 2442 |
2442 | 2443 |
2443 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2444 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2444 echo "configure:2445: checking for GNU libc" >&5 | 2445 echo "configure:2446: checking for GNU libc" >&5 |
2445 cat > conftest.$ac_ext <<EOF | 2446 cat > conftest.$ac_ext <<EOF |
2446 #line 2447 "configure" | 2447 #line 2448 "configure" |
2447 #include "confdefs.h" | 2448 #include "confdefs.h" |
2448 #include <features.h> | 2449 #include <features.h> |
2449 int main() { | 2450 int main() { |
2450 | 2451 |
2451 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2452 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2453 ******* ======= ******** &&&&&&&& | 2454 ******* ======= ******** &&&&&&&& |
2454 #endif | 2455 #endif |
2455 | 2456 |
2456 ; return 0; } | 2457 ; return 0; } |
2457 EOF | 2458 EOF |
2458 if { (eval echo configure:2459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2459 if { (eval echo configure:2460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2459 rm -rf conftest* | 2460 rm -rf conftest* |
2460 have_glibc=yes | 2461 have_glibc=yes |
2461 else | 2462 else |
2462 echo "configure: failed program was:" >&5 | 2463 echo "configure: failed program was:" >&5 |
2463 cat conftest.$ac_ext >&5 | 2464 cat conftest.$ac_ext >&5 |
2530 | 2531 |
2531 ;; | 2532 ;; |
2532 esac | 2533 esac |
2533 | 2534 |
2534 cat > conftest.$ac_ext <<EOF | 2535 cat > conftest.$ac_ext <<EOF |
2535 #line 2536 "configure" | 2536 #line 2537 "configure" |
2536 #include "confdefs.h" | 2537 #include "confdefs.h" |
2537 int main () { | 2538 int main () { |
2538 #if defined __SUNPRO_C | 2539 #if defined __SUNPRO_C |
2539 return 11; | 2540 return 11; |
2540 #elif defined __DECC | 2541 #elif defined __DECC |
2546 #else | 2547 #else |
2547 return 0; | 2548 return 0; |
2548 #endif | 2549 #endif |
2549 } | 2550 } |
2550 EOF | 2551 EOF |
2551 if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2552 if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2552 then | 2553 then |
2553 : | 2554 : |
2554 else | 2555 else |
2555 conftest_rc="$?" | 2556 conftest_rc="$?" |
2556 echo "configure: failed program was:" >&5 | 2557 echo "configure: failed program was:" >&5 |
2800 | 2801 |
2801 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2802 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2802 | 2803 |
2803 if test "$__USLC__" = yes; then | 2804 if test "$__USLC__" = yes; then |
2804 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2805 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2805 echo "configure:2806: checking for whether the -Kalloca compiler flag is needed" >&5 | 2806 echo "configure:2807: checking for whether the -Kalloca compiler flag is needed" >&5 |
2806 need_kalloca=no | 2807 need_kalloca=no |
2807 cat > conftest.$ac_ext <<EOF | 2808 cat > conftest.$ac_ext <<EOF |
2808 #line 2809 "configure" | 2809 #line 2810 "configure" |
2809 #include "confdefs.h" | 2810 #include "confdefs.h" |
2810 | 2811 |
2811 int main() { | 2812 int main() { |
2812 void *x = alloca(4); | 2813 void *x = alloca(4); |
2813 ; return 0; } | 2814 ; return 0; } |
2814 EOF | 2815 EOF |
2815 if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2816 if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2816 rm -rf conftest* | 2817 rm -rf conftest* |
2817 : | 2818 : |
2818 else | 2819 else |
2819 echo "configure: failed program was:" >&5 | 2820 echo "configure: failed program was:" >&5 |
2820 cat conftest.$ac_ext >&5 | 2821 cat conftest.$ac_ext >&5 |
2821 rm -rf conftest* | 2822 rm -rf conftest* |
2822 | 2823 |
2823 xe_save_c_switch_system="$c_switch_system" | 2824 xe_save_c_switch_system="$c_switch_system" |
2824 c_switch_system="$c_switch_system -Kalloca" | 2825 c_switch_system="$c_switch_system -Kalloca" |
2825 cat > conftest.$ac_ext <<EOF | 2826 cat > conftest.$ac_ext <<EOF |
2826 #line 2827 "configure" | 2827 #line 2828 "configure" |
2827 #include "confdefs.h" | 2828 #include "confdefs.h" |
2828 | 2829 |
2829 int main() { | 2830 int main() { |
2830 void *x = alloca(4); | 2831 void *x = alloca(4); |
2831 ; return 0; } | 2832 ; return 0; } |
2832 EOF | 2833 EOF |
2833 if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2834 if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2834 rm -rf conftest* | 2835 rm -rf conftest* |
2835 need_kalloca=yes | 2836 need_kalloca=yes |
2836 else | 2837 else |
2837 echo "configure: failed program was:" >&5 | 2838 echo "configure: failed program was:" >&5 |
2838 cat conftest.$ac_ext >&5 | 2839 cat conftest.$ac_ext >&5 |
2907 test -z "xe_cflags_warning" && xe_cflags_warning=cflags_warning | 2908 test -z "xe_cflags_warning" && xe_cflags_warning=cflags_warning |
2908 XE_CFLAGS="$xe_cflags_warning $CFLAGS" | 2909 XE_CFLAGS="$xe_cflags_warning $CFLAGS" |
2909 | 2910 |
2910 if test "$GCC" = "yes"; then | 2911 if test "$GCC" = "yes"; then |
2911 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2912 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2912 echo "configure:2913: checking for buggy gcc versions" >&5 | 2913 echo "configure:2914: checking for buggy gcc versions" >&5 |
2913 GCC_VERSION=`$CC --version` | 2914 GCC_VERSION=`$CC --version` |
2914 case `uname -s`:`uname -m`:$GCC_VERSION in | 2915 case `uname -s`:`uname -m`:$GCC_VERSION in |
2915 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2916 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2916 case "$CFLAGS" in | 2917 case "$CFLAGS" in |
2917 *-O2*|*-O3*) | 2918 *-O2*|*-O3*) |
2965 echo "$ac_t""no" 1>&6 | 2966 echo "$ac_t""no" 1>&6 |
2966 fi | 2967 fi |
2967 | 2968 |
2968 if test "$pdump" != "yes"; then | 2969 if test "$pdump" != "yes"; then |
2969 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2970 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2970 echo "configure:2971: checking for \"-z nocombreloc\" linker flag" >&5 | 2971 echo "configure:2972: checking for \"-z nocombreloc\" linker flag" >&5 |
2971 case "`ld --help 2>&1`" in | 2972 case "`ld --help 2>&1`" in |
2972 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2973 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2973 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2974 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2974 *) echo "$ac_t""no" 1>&6 ;; | 2975 *) echo "$ac_t""no" 1>&6 ;; |
2975 esac | 2976 esac |
3054 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3055 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3055 echo " xemacs will be linked with \"dumper.o\"" | 3056 echo " xemacs will be linked with \"dumper.o\"" |
3056 fi | 3057 fi |
3057 | 3058 |
3058 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3059 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3059 echo "configure:3060: checking for dynodump" >&5 | 3060 echo "configure:3061: checking for dynodump" >&5 |
3060 if test "$unexec" != "unexsol2.o"; then | 3061 if test "$unexec" != "unexsol2.o"; then |
3061 echo "$ac_t""no" 1>&6 | 3062 echo "$ac_t""no" 1>&6 |
3062 else | 3063 else |
3063 echo "$ac_t""yes" 1>&6 | 3064 echo "$ac_t""yes" 1>&6 |
3064 { test "$extra_verbose" = "yes" && cat << \EOF | 3065 { test "$extra_verbose" = "yes" && cat << \EOF |
3092 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3093 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3093 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3094 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3094 done | 3095 done |
3095 | 3096 |
3096 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3097 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3097 echo "configure:3098: checking for terminateAndUnload in -lC" >&5 | 3098 echo "configure:3099: checking for terminateAndUnload in -lC" >&5 |
3098 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3099 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3099 | 3100 |
3100 xe_check_libs=" -lC " | 3101 xe_check_libs=" -lC " |
3101 cat > conftest.$ac_ext <<EOF | 3102 cat > conftest.$ac_ext <<EOF |
3102 #line 3103 "configure" | 3103 #line 3104 "configure" |
3103 #include "confdefs.h" | 3104 #include "confdefs.h" |
3104 /* Override any gcc2 internal prototype to avoid an error. */ | 3105 /* Override any gcc2 internal prototype to avoid an error. */ |
3105 /* We use char because int might match the return type of a gcc2 | 3106 /* We use char because int might match the return type of a gcc2 |
3106 builtin and then its argument prototype would still apply. */ | 3107 builtin and then its argument prototype would still apply. */ |
3107 char terminateAndUnload(); | 3108 char terminateAndUnload(); |
3108 | 3109 |
3109 int main() { | 3110 int main() { |
3110 terminateAndUnload() | 3111 terminateAndUnload() |
3111 ; return 0; } | 3112 ; return 0; } |
3112 EOF | 3113 EOF |
3113 if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3114 rm -rf conftest* | 3115 rm -rf conftest* |
3115 eval "ac_cv_lib_$ac_lib_var=yes" | 3116 eval "ac_cv_lib_$ac_lib_var=yes" |
3116 else | 3117 else |
3117 echo "configure: failed program was:" >&5 | 3118 echo "configure: failed program was:" >&5 |
3118 cat conftest.$ac_ext >&5 | 3119 cat conftest.$ac_ext >&5 |
3150 compiler_version="" | 3151 compiler_version="" |
3151 gcc_compiler_specs="" | 3152 gcc_compiler_specs="" |
3152 libc_version="" | 3153 libc_version="" |
3153 | 3154 |
3154 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3155 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3155 echo "configure:3156: checking for compiler version information" >&5 | 3156 echo "configure:3157: checking for compiler version information" >&5 |
3156 | 3157 |
3157 if test "$GCC" = "yes"; then | 3158 if test "$GCC" = "yes"; then |
3158 compiler_version=`$XEMACS_CC --version | head -1` | 3159 compiler_version=`$XEMACS_CC --version | head -1` |
3159 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3160 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3160 else case "$XEMACS_CC" in | 3161 else case "$XEMACS_CC" in |
3201 if test -z "$compiler_version"; then | 3202 if test -z "$compiler_version"; then |
3202 compiler_version="detection failed (please report this)" | 3203 compiler_version="detection failed (please report this)" |
3203 fi | 3204 fi |
3204 | 3205 |
3205 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3206 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3206 echo "configure:3207: checking for compiler version information" >&5 | 3207 echo "configure:3208: checking for compiler version information" >&5 |
3207 | 3208 |
3208 case "$canonical" in | 3209 case "$canonical" in |
3209 *-*-linux*) | 3210 *-*-linux*) |
3210 if test -f /etc/redhat-release ; then | 3211 if test -f /etc/redhat-release ; then |
3211 libc_version=`rpm -q glibc` | 3212 libc_version=`rpm -q glibc` |
3313 esac | 3314 esac |
3314 fi | 3315 fi |
3315 | 3316 |
3316 if test "$add_runtime_path" = "yes"; then | 3317 if test "$add_runtime_path" = "yes"; then |
3317 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3318 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3318 echo "configure:3319: checking "for runtime libraries flag"" >&5 | 3319 echo "configure:3320: checking "for runtime libraries flag"" >&5 |
3319 case "$opsys" in | 3320 case "$opsys" in |
3320 sol2 ) dash_r="-R" ;; | 3321 sol2 ) dash_r="-R" ;; |
3321 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3322 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3322 *) | 3323 *) |
3323 dash_r="" | 3324 dash_r="" |
3335 esac | 3336 esac |
3336 shift | 3337 shift |
3337 done | 3338 done |
3338 fi | 3339 fi |
3339 cat > conftest.$ac_ext <<EOF | 3340 cat > conftest.$ac_ext <<EOF |
3340 #line 3341 "configure" | 3341 #line 3342 "configure" |
3341 #include "confdefs.h" | 3342 #include "confdefs.h" |
3342 | 3343 |
3343 int main() { | 3344 int main() { |
3344 | 3345 |
3345 ; return 0; } | 3346 ; return 0; } |
3346 EOF | 3347 EOF |
3347 if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3348 if { (eval echo configure:3349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3348 rm -rf conftest* | 3349 rm -rf conftest* |
3349 dash_r="$try_dash_r" | 3350 dash_r="$try_dash_r" |
3350 else | 3351 else |
3351 echo "configure: failed program was:" >&5 | 3352 echo "configure: failed program was:" >&5 |
3352 cat conftest.$ac_ext >&5 | 3353 cat conftest.$ac_ext >&5 |
3443 else | 3444 else |
3444 doug_lea_malloc=no | 3445 doug_lea_malloc=no |
3445 fi | 3446 fi |
3446 after_morecore_hook_exists=yes | 3447 after_morecore_hook_exists=yes |
3447 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3448 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3448 echo "configure:3449: checking for malloc_set_state" >&5 | 3449 echo "configure:3450: checking for malloc_set_state" >&5 |
3449 | 3450 |
3450 cat > conftest.$ac_ext <<EOF | 3451 cat > conftest.$ac_ext <<EOF |
3451 #line 3452 "configure" | 3452 #line 3453 "configure" |
3452 #include "confdefs.h" | 3453 #include "confdefs.h" |
3453 /* System header to define __stub macros and hopefully few prototypes, | 3454 /* System header to define __stub macros and hopefully few prototypes, |
3454 which can conflict with char malloc_set_state(); below. */ | 3455 which can conflict with char malloc_set_state(); below. */ |
3455 #include <assert.h> | 3456 #include <assert.h> |
3456 /* Override any gcc2 internal prototype to avoid an error. */ | 3457 /* Override any gcc2 internal prototype to avoid an error. */ |
3469 malloc_set_state(); | 3470 malloc_set_state(); |
3470 #endif | 3471 #endif |
3471 | 3472 |
3472 ; return 0; } | 3473 ; return 0; } |
3473 EOF | 3474 EOF |
3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3475 if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3475 rm -rf conftest* | 3476 rm -rf conftest* |
3476 eval "ac_cv_func_malloc_set_state=yes" | 3477 eval "ac_cv_func_malloc_set_state=yes" |
3477 else | 3478 else |
3478 echo "configure: failed program was:" >&5 | 3479 echo "configure: failed program was:" >&5 |
3479 cat conftest.$ac_ext >&5 | 3480 cat conftest.$ac_ext >&5 |
3489 echo "$ac_t""no" 1>&6 | 3490 echo "$ac_t""no" 1>&6 |
3490 doug_lea_malloc=no | 3491 doug_lea_malloc=no |
3491 fi | 3492 fi |
3492 | 3493 |
3493 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3494 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3494 echo "configure:3495: checking whether __after_morecore_hook exists" >&5 | 3495 echo "configure:3496: checking whether __after_morecore_hook exists" >&5 |
3495 cat > conftest.$ac_ext <<EOF | 3496 cat > conftest.$ac_ext <<EOF |
3496 #line 3497 "configure" | 3497 #line 3498 "configure" |
3497 #include "confdefs.h" | 3498 #include "confdefs.h" |
3498 extern void (* __after_morecore_hook)(); | 3499 extern void (* __after_morecore_hook)(); |
3499 int main() { | 3500 int main() { |
3500 __after_morecore_hook = 0 | 3501 __after_morecore_hook = 0 |
3501 ; return 0; } | 3502 ; return 0; } |
3502 EOF | 3503 EOF |
3503 if { (eval echo configure:3504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3504 if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3504 rm -rf conftest* | 3505 rm -rf conftest* |
3505 echo "$ac_t""yes" 1>&6 | 3506 echo "$ac_t""yes" 1>&6 |
3506 else | 3507 else |
3507 echo "configure: failed program was:" >&5 | 3508 echo "configure: failed program was:" >&5 |
3508 cat conftest.$ac_ext >&5 | 3509 cat conftest.$ac_ext >&5 |
3554 | 3555 |
3555 | 3556 |
3556 # Extract the first word of "ranlib", so it can be a program name with args. | 3557 # Extract the first word of "ranlib", so it can be a program name with args. |
3557 set dummy ranlib; ac_word=$2 | 3558 set dummy ranlib; ac_word=$2 |
3558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3559 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3559 echo "configure:3560: checking for $ac_word" >&5 | 3560 echo "configure:3561: checking for $ac_word" >&5 |
3560 | 3561 |
3561 if test -n "$RANLIB"; then | 3562 if test -n "$RANLIB"; then |
3562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3563 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3563 else | 3564 else |
3564 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3610 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3611 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3612 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3612 # ./install, which can be erroneously created by make from ./install.sh. | 3613 # ./install, which can be erroneously created by make from ./install.sh. |
3613 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3614 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3614 echo "configure:3615: checking for a BSD compatible install" >&5 | 3615 echo "configure:3616: checking for a BSD compatible install" >&5 |
3615 if test -z "$INSTALL"; then | 3616 if test -z "$INSTALL"; then |
3616 | 3617 |
3617 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3618 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3618 for ac_dir in $PATH; do | 3619 for ac_dir in $PATH; do |
3619 # Account for people who put trailing slashes in PATH elements. | 3620 # Account for people who put trailing slashes in PATH elements. |
3663 for ac_prog in 'bison -y' byacc | 3664 for ac_prog in 'bison -y' byacc |
3664 do | 3665 do |
3665 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3666 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3666 set dummy $ac_prog; ac_word=$2 | 3667 set dummy $ac_prog; ac_word=$2 |
3667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3668 echo "configure:3669: checking for $ac_word" >&5 | 3669 echo "configure:3670: checking for $ac_word" >&5 |
3669 | 3670 |
3670 if test -n "$YACC"; then | 3671 if test -n "$YACC"; then |
3671 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3672 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3672 else | 3673 else |
3673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3695 | 3696 |
3696 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 | 3697 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 |
3697 do | 3698 do |
3698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3699 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3700 echo "configure:3701: checking for $ac_hdr" >&5 | 3701 echo "configure:3702: checking for $ac_hdr" >&5 |
3701 | 3702 |
3702 cat > conftest.$ac_ext <<EOF | 3703 cat > conftest.$ac_ext <<EOF |
3703 #line 3704 "configure" | 3704 #line 3705 "configure" |
3704 #include "confdefs.h" | 3705 #include "confdefs.h" |
3705 #include <$ac_hdr> | 3706 #include <$ac_hdr> |
3706 EOF | 3707 EOF |
3707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3708 { (eval echo configure:3709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3709 { (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3710 if test -z "$ac_err"; then | 3711 if test -z "$ac_err"; then |
3711 rm -rf conftest* | 3712 rm -rf conftest* |
3712 eval "ac_cv_header_$ac_safe=yes" | 3713 eval "ac_cv_header_$ac_safe=yes" |
3713 else | 3714 else |
3733 echo "$ac_t""no" 1>&6 | 3734 echo "$ac_t""no" 1>&6 |
3734 fi | 3735 fi |
3735 done | 3736 done |
3736 | 3737 |
3737 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3738 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3738 echo "configure:3739: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3739 echo "configure:3740: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3739 | 3740 |
3740 cat > conftest.$ac_ext <<EOF | 3741 cat > conftest.$ac_ext <<EOF |
3741 #line 3742 "configure" | 3742 #line 3743 "configure" |
3742 #include "confdefs.h" | 3743 #include "confdefs.h" |
3743 #include <sys/types.h> | 3744 #include <sys/types.h> |
3744 #include <sys/wait.h> | 3745 #include <sys/wait.h> |
3745 #ifndef WEXITSTATUS | 3746 #ifndef WEXITSTATUS |
3746 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3747 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3752 int s; | 3753 int s; |
3753 wait (&s); | 3754 wait (&s); |
3754 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3755 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3755 ; return 0; } | 3756 ; return 0; } |
3756 EOF | 3757 EOF |
3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3758 if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3758 rm -rf conftest* | 3759 rm -rf conftest* |
3759 ac_cv_header_sys_wait_h=yes | 3760 ac_cv_header_sys_wait_h=yes |
3760 else | 3761 else |
3761 echo "configure: failed program was:" >&5 | 3762 echo "configure: failed program was:" >&5 |
3762 cat conftest.$ac_ext >&5 | 3763 cat conftest.$ac_ext >&5 |
3776 } | 3777 } |
3777 | 3778 |
3778 fi | 3779 fi |
3779 | 3780 |
3780 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3781 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3781 echo "configure:3782: checking for ANSI C header files" >&5 | 3782 echo "configure:3783: checking for ANSI C header files" >&5 |
3782 | 3783 |
3783 cat > conftest.$ac_ext <<EOF | 3784 cat > conftest.$ac_ext <<EOF |
3784 #line 3785 "configure" | 3785 #line 3786 "configure" |
3785 #include "confdefs.h" | 3786 #include "confdefs.h" |
3786 #include <stdlib.h> | 3787 #include <stdlib.h> |
3787 #include <stdarg.h> | 3788 #include <stdarg.h> |
3788 #include <string.h> | 3789 #include <string.h> |
3789 #include <float.h> | 3790 #include <float.h> |
3790 EOF | 3791 EOF |
3791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3792 { (eval echo configure:3793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3793 { (eval echo configure:3794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3794 if test -z "$ac_err"; then | 3795 if test -z "$ac_err"; then |
3795 rm -rf conftest* | 3796 rm -rf conftest* |
3796 ac_cv_header_stdc=yes | 3797 ac_cv_header_stdc=yes |
3797 else | 3798 else |
3804 rm -f conftest* | 3805 rm -f conftest* |
3805 | 3806 |
3806 if test $ac_cv_header_stdc = yes; then | 3807 if test $ac_cv_header_stdc = yes; then |
3807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3808 cat > conftest.$ac_ext <<EOF | 3809 cat > conftest.$ac_ext <<EOF |
3809 #line 3810 "configure" | 3810 #line 3811 "configure" |
3810 #include "confdefs.h" | 3811 #include "confdefs.h" |
3811 #include <string.h> | 3812 #include <string.h> |
3812 EOF | 3813 EOF |
3813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3814 egrep "memchr" >/dev/null 2>&1; then | 3815 egrep "memchr" >/dev/null 2>&1; then |
3822 fi | 3823 fi |
3823 | 3824 |
3824 if test $ac_cv_header_stdc = yes; then | 3825 if test $ac_cv_header_stdc = yes; then |
3825 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3826 cat > conftest.$ac_ext <<EOF | 3827 cat > conftest.$ac_ext <<EOF |
3827 #line 3828 "configure" | 3828 #line 3829 "configure" |
3828 #include "confdefs.h" | 3829 #include "confdefs.h" |
3829 #include <stdlib.h> | 3830 #include <stdlib.h> |
3830 EOF | 3831 EOF |
3831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3832 egrep "free" >/dev/null 2>&1; then | 3833 egrep "free" >/dev/null 2>&1; then |
3840 fi | 3841 fi |
3841 | 3842 |
3842 if test $ac_cv_header_stdc = yes; then | 3843 if test $ac_cv_header_stdc = yes; then |
3843 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3844 cat > conftest.$ac_ext <<EOF | 3845 cat > conftest.$ac_ext <<EOF |
3845 #line 3846 "configure" | 3846 #line 3847 "configure" |
3846 #include "confdefs.h" | 3847 #include "confdefs.h" |
3847 #include <ctype.h> | 3848 #include <ctype.h> |
3848 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3849 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3849 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3850 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3850 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3851 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3851 int main () { int i; for (i = 0; i < 256; i++) | 3852 int main () { int i; for (i = 0; i < 256; i++) |
3852 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3853 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3853 exit (0); } | 3854 exit (0); } |
3854 | 3855 |
3855 EOF | 3856 EOF |
3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3857 if { (eval echo configure:3858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3857 then | 3858 then |
3858 : | 3859 : |
3859 else | 3860 else |
3860 conftest_rc="$?" | 3861 conftest_rc="$?" |
3861 echo "configure: failed program was:" >&5 | 3862 echo "configure: failed program was:" >&5 |
3877 } | 3878 } |
3878 | 3879 |
3879 fi | 3880 fi |
3880 | 3881 |
3881 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3882 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3882 echo "configure:3883: checking whether time.h and sys/time.h may both be included" >&5 | 3883 echo "configure:3884: checking whether time.h and sys/time.h may both be included" >&5 |
3883 | 3884 |
3884 cat > conftest.$ac_ext <<EOF | 3885 cat > conftest.$ac_ext <<EOF |
3885 #line 3886 "configure" | 3886 #line 3887 "configure" |
3886 #include "confdefs.h" | 3887 #include "confdefs.h" |
3887 #include <sys/types.h> | 3888 #include <sys/types.h> |
3888 #include <sys/time.h> | 3889 #include <sys/time.h> |
3889 #include <time.h> | 3890 #include <time.h> |
3890 int main() { | 3891 int main() { |
3891 struct tm *tp; | 3892 struct tm *tp; |
3892 ; return 0; } | 3893 ; return 0; } |
3893 EOF | 3894 EOF |
3894 if { (eval echo configure:3895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3895 if { (eval echo configure:3896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3895 rm -rf conftest* | 3896 rm -rf conftest* |
3896 ac_cv_header_time=yes | 3897 ac_cv_header_time=yes |
3897 else | 3898 else |
3898 echo "configure: failed program was:" >&5 | 3899 echo "configure: failed program was:" >&5 |
3899 cat conftest.$ac_ext >&5 | 3900 cat conftest.$ac_ext >&5 |
3913 } | 3914 } |
3914 | 3915 |
3915 fi | 3916 fi |
3916 | 3917 |
3917 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3918 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3918 echo "configure:3919: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3919 echo "configure:3920: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3919 | 3920 |
3920 cat > conftest.$ac_ext <<EOF | 3921 cat > conftest.$ac_ext <<EOF |
3921 #line 3922 "configure" | 3922 #line 3923 "configure" |
3922 #include "confdefs.h" | 3923 #include "confdefs.h" |
3923 #include <sys/types.h> | 3924 #include <sys/types.h> |
3924 #include <signal.h> | 3925 #include <signal.h> |
3925 /* NetBSD declares sys_siglist in unistd.h. */ | 3926 /* NetBSD declares sys_siglist in unistd.h. */ |
3926 #ifdef HAVE_UNISTD_H | 3927 #ifdef HAVE_UNISTD_H |
3928 #endif | 3929 #endif |
3929 int main() { | 3930 int main() { |
3930 char *msg = *(sys_siglist + 1); | 3931 char *msg = *(sys_siglist + 1); |
3931 ; return 0; } | 3932 ; return 0; } |
3932 EOF | 3933 EOF |
3933 if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3934 if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3934 rm -rf conftest* | 3935 rm -rf conftest* |
3935 ac_cv_decl_sys_siglist=yes | 3936 ac_cv_decl_sys_siglist=yes |
3936 else | 3937 else |
3937 echo "configure: failed program was:" >&5 | 3938 echo "configure: failed program was:" >&5 |
3938 cat conftest.$ac_ext >&5 | 3939 cat conftest.$ac_ext >&5 |
3954 fi | 3955 fi |
3955 | 3956 |
3956 | 3957 |
3957 | 3958 |
3958 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3959 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3959 echo "configure:3960: checking for utime" >&5 | 3960 echo "configure:3961: checking for utime" >&5 |
3960 cat > conftest.$ac_ext <<EOF | 3961 cat > conftest.$ac_ext <<EOF |
3961 #line 3962 "configure" | 3962 #line 3963 "configure" |
3962 #include "confdefs.h" | 3963 #include "confdefs.h" |
3963 #include <sys/types.h> | 3964 #include <sys/types.h> |
3964 #include <utime.h> | 3965 #include <utime.h> |
3965 int main() { | 3966 int main() { |
3966 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3967 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3967 ; return 0; } | 3968 ; return 0; } |
3968 EOF | 3969 EOF |
3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3970 if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3970 rm -rf conftest* | 3971 rm -rf conftest* |
3971 echo "$ac_t""yes" 1>&6 | 3972 echo "$ac_t""yes" 1>&6 |
3972 { test "$extra_verbose" = "yes" && cat << \EOF | 3973 { test "$extra_verbose" = "yes" && cat << \EOF |
3973 Defining HAVE_UTIME | 3974 Defining HAVE_UTIME |
3974 EOF | 3975 EOF |
3983 rm -rf conftest* | 3984 rm -rf conftest* |
3984 echo "$ac_t""no" 1>&6 | 3985 echo "$ac_t""no" 1>&6 |
3985 for ac_func in utimes | 3986 for ac_func in utimes |
3986 do | 3987 do |
3987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3988 echo "configure:3989: checking for $ac_func" >&5 | 3989 echo "configure:3990: checking for $ac_func" >&5 |
3989 | 3990 |
3990 cat > conftest.$ac_ext <<EOF | 3991 cat > conftest.$ac_ext <<EOF |
3991 #line 3992 "configure" | 3992 #line 3993 "configure" |
3992 #include "confdefs.h" | 3993 #include "confdefs.h" |
3993 /* System header to define __stub macros and hopefully few prototypes, | 3994 /* System header to define __stub macros and hopefully few prototypes, |
3994 which can conflict with char $ac_func(); below. */ | 3995 which can conflict with char $ac_func(); below. */ |
3995 #include <assert.h> | 3996 #include <assert.h> |
3996 /* Override any gcc2 internal prototype to avoid an error. */ | 3997 /* Override any gcc2 internal prototype to avoid an error. */ |
4009 $ac_func(); | 4010 $ac_func(); |
4010 #endif | 4011 #endif |
4011 | 4012 |
4012 ; return 0; } | 4013 ; return 0; } |
4013 EOF | 4014 EOF |
4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4015 if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4015 rm -rf conftest* | 4016 rm -rf conftest* |
4016 eval "ac_cv_func_$ac_func=yes" | 4017 eval "ac_cv_func_$ac_func=yes" |
4017 else | 4018 else |
4018 echo "configure: failed program was:" >&5 | 4019 echo "configure: failed program was:" >&5 |
4019 cat conftest.$ac_ext >&5 | 4020 cat conftest.$ac_ext >&5 |
4041 fi | 4042 fi |
4042 rm -f conftest* | 4043 rm -f conftest* |
4043 | 4044 |
4044 | 4045 |
4045 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4046 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
4046 echo "configure:4047: checking return type of signal handlers" >&5 | 4047 echo "configure:4048: checking return type of signal handlers" >&5 |
4047 | 4048 |
4048 cat > conftest.$ac_ext <<EOF | 4049 cat > conftest.$ac_ext <<EOF |
4049 #line 4050 "configure" | 4050 #line 4051 "configure" |
4050 #include "confdefs.h" | 4051 #include "confdefs.h" |
4051 #include <sys/types.h> | 4052 #include <sys/types.h> |
4052 #include <signal.h> | 4053 #include <signal.h> |
4053 #ifdef signal | 4054 #ifdef signal |
4054 #undef signal | 4055 #undef signal |
4061 | 4062 |
4062 int main() { | 4063 int main() { |
4063 int i; | 4064 int i; |
4064 ; return 0; } | 4065 ; return 0; } |
4065 EOF | 4066 EOF |
4066 if { (eval echo configure:4067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4067 if { (eval echo configure:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4067 rm -rf conftest* | 4068 rm -rf conftest* |
4068 ac_cv_type_signal=void | 4069 ac_cv_type_signal=void |
4069 else | 4070 else |
4070 echo "configure: failed program was:" >&5 | 4071 echo "configure: failed program was:" >&5 |
4071 cat conftest.$ac_ext >&5 | 4072 cat conftest.$ac_ext >&5 |
4083 EOF | 4084 EOF |
4084 } | 4085 } |
4085 | 4086 |
4086 | 4087 |
4087 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4088 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4088 echo "configure:4089: checking for size_t" >&5 | 4089 echo "configure:4090: checking for size_t" >&5 |
4089 | 4090 |
4090 cat > conftest.$ac_ext <<EOF | 4091 cat > conftest.$ac_ext <<EOF |
4091 #line 4092 "configure" | 4092 #line 4093 "configure" |
4092 #include "confdefs.h" | 4093 #include "confdefs.h" |
4093 #include <sys/types.h> | 4094 #include <sys/types.h> |
4094 #if STDC_HEADERS | 4095 #if STDC_HEADERS |
4095 #include <stdlib.h> | 4096 #include <stdlib.h> |
4096 #include <stddef.h> | 4097 #include <stddef.h> |
4117 } | 4118 } |
4118 | 4119 |
4119 fi | 4120 fi |
4120 | 4121 |
4121 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4122 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4122 echo "configure:4123: checking for pid_t" >&5 | 4123 echo "configure:4124: checking for pid_t" >&5 |
4123 | 4124 |
4124 cat > conftest.$ac_ext <<EOF | 4125 cat > conftest.$ac_ext <<EOF |
4125 #line 4126 "configure" | 4126 #line 4127 "configure" |
4126 #include "confdefs.h" | 4127 #include "confdefs.h" |
4127 #include <sys/types.h> | 4128 #include <sys/types.h> |
4128 #if STDC_HEADERS | 4129 #if STDC_HEADERS |
4129 #include <stdlib.h> | 4130 #include <stdlib.h> |
4130 #include <stddef.h> | 4131 #include <stddef.h> |
4151 } | 4152 } |
4152 | 4153 |
4153 fi | 4154 fi |
4154 | 4155 |
4155 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4156 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4156 echo "configure:4157: checking for uid_t in sys/types.h" >&5 | 4157 echo "configure:4158: checking for uid_t in sys/types.h" >&5 |
4157 | 4158 |
4158 cat > conftest.$ac_ext <<EOF | 4159 cat > conftest.$ac_ext <<EOF |
4159 #line 4160 "configure" | 4160 #line 4161 "configure" |
4160 #include "confdefs.h" | 4161 #include "confdefs.h" |
4161 #include <sys/types.h> | 4162 #include <sys/types.h> |
4162 EOF | 4163 EOF |
4163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4164 egrep "uid_t" >/dev/null 2>&1; then | 4165 egrep "uid_t" >/dev/null 2>&1; then |
4190 } | 4191 } |
4191 | 4192 |
4192 fi | 4193 fi |
4193 | 4194 |
4194 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4195 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4195 echo "configure:4196: checking for mode_t" >&5 | 4196 echo "configure:4197: checking for mode_t" >&5 |
4196 | 4197 |
4197 cat > conftest.$ac_ext <<EOF | 4198 cat > conftest.$ac_ext <<EOF |
4198 #line 4199 "configure" | 4199 #line 4200 "configure" |
4199 #include "confdefs.h" | 4200 #include "confdefs.h" |
4200 #include <sys/types.h> | 4201 #include <sys/types.h> |
4201 #if STDC_HEADERS | 4202 #if STDC_HEADERS |
4202 #include <stdlib.h> | 4203 #include <stdlib.h> |
4203 #include <stddef.h> | 4204 #include <stddef.h> |
4224 } | 4225 } |
4225 | 4226 |
4226 fi | 4227 fi |
4227 | 4228 |
4228 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4229 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4229 echo "configure:4230: checking for off_t" >&5 | 4230 echo "configure:4231: checking for off_t" >&5 |
4230 | 4231 |
4231 cat > conftest.$ac_ext <<EOF | 4232 cat > conftest.$ac_ext <<EOF |
4232 #line 4233 "configure" | 4233 #line 4234 "configure" |
4233 #include "confdefs.h" | 4234 #include "confdefs.h" |
4234 #include <sys/types.h> | 4235 #include <sys/types.h> |
4235 #if STDC_HEADERS | 4236 #if STDC_HEADERS |
4236 #include <stdlib.h> | 4237 #include <stdlib.h> |
4237 #include <stddef.h> | 4238 #include <stddef.h> |
4258 } | 4259 } |
4259 | 4260 |
4260 fi | 4261 fi |
4261 | 4262 |
4262 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4263 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4263 echo "configure:4264: checking for ssize_t" >&5 | 4264 echo "configure:4265: checking for ssize_t" >&5 |
4264 | 4265 |
4265 cat > conftest.$ac_ext <<EOF | 4266 cat > conftest.$ac_ext <<EOF |
4266 #line 4267 "configure" | 4267 #line 4268 "configure" |
4267 #include "confdefs.h" | 4268 #include "confdefs.h" |
4268 #include <sys/types.h> | 4269 #include <sys/types.h> |
4269 #if STDC_HEADERS | 4270 #if STDC_HEADERS |
4270 #include <stdlib.h> | 4271 #include <stdlib.h> |
4271 #include <stddef.h> | 4272 #include <stddef.h> |
4294 fi | 4295 fi |
4295 | 4296 |
4296 | 4297 |
4297 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4298 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4298 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4299 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4299 echo "configure:4300: checking for intptr_t in sys/types.h" >&5 | 4300 echo "configure:4301: checking for intptr_t in sys/types.h" >&5 |
4300 cat > conftest.$ac_ext <<EOF | 4301 cat > conftest.$ac_ext <<EOF |
4301 #line 4302 "configure" | 4302 #line 4303 "configure" |
4302 #include "confdefs.h" | 4303 #include "confdefs.h" |
4303 #include <sys/types.h> | 4304 #include <sys/types.h> |
4304 intptr_t x; | 4305 intptr_t x; |
4305 | 4306 |
4306 int main() { | 4307 int main() { |
4307 | 4308 |
4308 ; return 0; } | 4309 ; return 0; } |
4309 EOF | 4310 EOF |
4310 if { (eval echo configure:4311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4311 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4311 rm -rf conftest* | 4312 rm -rf conftest* |
4312 echo "$ac_t""yes" 1>&6 | 4313 echo "$ac_t""yes" 1>&6 |
4313 { test "$extra_verbose" = "yes" && cat << \EOF | 4314 { test "$extra_verbose" = "yes" && cat << \EOF |
4314 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4315 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4315 EOF | 4316 EOF |
4326 fi | 4327 fi |
4327 rm -f conftest* | 4328 rm -f conftest* |
4328 fi | 4329 fi |
4329 | 4330 |
4330 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4331 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4331 echo "configure:4332: checking for socklen_t" >&5 | 4332 echo "configure:4333: checking for socklen_t" >&5 |
4332 cat > conftest.$ac_ext <<EOF | 4333 cat > conftest.$ac_ext <<EOF |
4333 #line 4334 "configure" | 4334 #line 4335 "configure" |
4334 #include "confdefs.h" | 4335 #include "confdefs.h" |
4335 #include <sys/types.h> | 4336 #include <sys/types.h> |
4336 #include <sys/socket.h> | 4337 #include <sys/socket.h> |
4337 socklen_t x; | 4338 socklen_t x; |
4338 | 4339 |
4339 int main() { | 4340 int main() { |
4340 | 4341 |
4341 ; return 0; } | 4342 ; return 0; } |
4342 EOF | 4343 EOF |
4343 if { (eval echo configure:4344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4344 rm -rf conftest* | 4345 rm -rf conftest* |
4345 echo "$ac_t""yes" 1>&6 | 4346 echo "$ac_t""yes" 1>&6 |
4346 else | 4347 else |
4347 echo "configure: failed program was:" >&5 | 4348 echo "configure: failed program was:" >&5 |
4348 cat conftest.$ac_ext >&5 | 4349 cat conftest.$ac_ext >&5 |
4349 rm -rf conftest* | 4350 rm -rf conftest* |
4350 | 4351 |
4351 cat > conftest.$ac_ext <<EOF | 4352 cat > conftest.$ac_ext <<EOF |
4352 #line 4353 "configure" | 4353 #line 4354 "configure" |
4353 #include "confdefs.h" | 4354 #include "confdefs.h" |
4354 #include <sys/types.h> | 4355 #include <sys/types.h> |
4355 #include <sys/socket.h> | 4356 #include <sys/socket.h> |
4356 int accept (int, struct sockaddr *, size_t *); | 4357 int accept (int, struct sockaddr *, size_t *); |
4357 | 4358 |
4358 int main() { | 4359 int main() { |
4359 | 4360 |
4360 ; return 0; } | 4361 ; return 0; } |
4361 EOF | 4362 EOF |
4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4363 if { (eval echo configure:4364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4363 rm -rf conftest* | 4364 rm -rf conftest* |
4364 | 4365 |
4365 echo "$ac_t""size_t" 1>&6 | 4366 echo "$ac_t""size_t" 1>&6 |
4366 { test "$extra_verbose" = "yes" && cat << \EOF | 4367 { test "$extra_verbose" = "yes" && cat << \EOF |
4367 Defining socklen_t = size_t | 4368 Defining socklen_t = size_t |
4389 rm -f conftest* | 4390 rm -f conftest* |
4390 fi | 4391 fi |
4391 rm -f conftest* | 4392 rm -f conftest* |
4392 | 4393 |
4393 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4394 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4394 echo "configure:4395: checking for struct timeval" >&5 | 4395 echo "configure:4396: checking for struct timeval" >&5 |
4395 cat > conftest.$ac_ext <<EOF | 4396 cat > conftest.$ac_ext <<EOF |
4396 #line 4397 "configure" | 4397 #line 4398 "configure" |
4397 #include "confdefs.h" | 4398 #include "confdefs.h" |
4398 #ifdef TIME_WITH_SYS_TIME | 4399 #ifdef TIME_WITH_SYS_TIME |
4399 #include <sys/time.h> | 4400 #include <sys/time.h> |
4400 #include <time.h> | 4401 #include <time.h> |
4401 #else | 4402 #else |
4407 #endif | 4408 #endif |
4408 int main() { | 4409 int main() { |
4409 static struct timeval x; x.tv_sec = x.tv_usec; | 4410 static struct timeval x; x.tv_sec = x.tv_usec; |
4410 ; return 0; } | 4411 ; return 0; } |
4411 EOF | 4412 EOF |
4412 if { (eval echo configure:4413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4413 if { (eval echo configure:4414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4413 rm -rf conftest* | 4414 rm -rf conftest* |
4414 echo "$ac_t""yes" 1>&6 | 4415 echo "$ac_t""yes" 1>&6 |
4415 HAVE_TIMEVAL=yes | 4416 HAVE_TIMEVAL=yes |
4416 { test "$extra_verbose" = "yes" && cat << \EOF | 4417 { test "$extra_verbose" = "yes" && cat << \EOF |
4417 Defining HAVE_TIMEVAL | 4418 Defining HAVE_TIMEVAL |
4429 HAVE_TIMEVAL=no | 4430 HAVE_TIMEVAL=no |
4430 fi | 4431 fi |
4431 rm -f conftest* | 4432 rm -f conftest* |
4432 | 4433 |
4433 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4434 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4434 echo "configure:4435: checking whether struct tm is in sys/time.h or time.h" >&5 | 4435 echo "configure:4436: checking whether struct tm is in sys/time.h or time.h" >&5 |
4435 | 4436 |
4436 cat > conftest.$ac_ext <<EOF | 4437 cat > conftest.$ac_ext <<EOF |
4437 #line 4438 "configure" | 4438 #line 4439 "configure" |
4438 #include "confdefs.h" | 4439 #include "confdefs.h" |
4439 #include <sys/types.h> | 4440 #include <sys/types.h> |
4440 #include <time.h> | 4441 #include <time.h> |
4441 int main() { | 4442 int main() { |
4442 struct tm *tp; tp->tm_sec; | 4443 struct tm *tp; tp->tm_sec; |
4443 ; return 0; } | 4444 ; return 0; } |
4444 EOF | 4445 EOF |
4445 if { (eval echo configure:4446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4446 if { (eval echo configure:4447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4446 rm -rf conftest* | 4447 rm -rf conftest* |
4447 ac_cv_struct_tm=time.h | 4448 ac_cv_struct_tm=time.h |
4448 else | 4449 else |
4449 echo "configure: failed program was:" >&5 | 4450 echo "configure: failed program was:" >&5 |
4450 cat conftest.$ac_ext >&5 | 4451 cat conftest.$ac_ext >&5 |
4464 } | 4465 } |
4465 | 4466 |
4466 fi | 4467 fi |
4467 | 4468 |
4468 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4469 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4469 echo "configure:4470: checking for tm_zone in struct tm" >&5 | 4470 echo "configure:4471: checking for tm_zone in struct tm" >&5 |
4470 | 4471 |
4471 cat > conftest.$ac_ext <<EOF | 4472 cat > conftest.$ac_ext <<EOF |
4472 #line 4473 "configure" | 4473 #line 4474 "configure" |
4473 #include "confdefs.h" | 4474 #include "confdefs.h" |
4474 #include <sys/types.h> | 4475 #include <sys/types.h> |
4475 #include <$ac_cv_struct_tm> | 4476 #include <$ac_cv_struct_tm> |
4476 int main() { | 4477 int main() { |
4477 struct tm tm; tm.tm_zone; | 4478 struct tm tm; tm.tm_zone; |
4478 ; return 0; } | 4479 ; return 0; } |
4479 EOF | 4480 EOF |
4480 if { (eval echo configure:4481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4481 if { (eval echo configure:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4481 rm -rf conftest* | 4482 rm -rf conftest* |
4482 ac_cv_struct_tm_zone=yes | 4483 ac_cv_struct_tm_zone=yes |
4483 else | 4484 else |
4484 echo "configure: failed program was:" >&5 | 4485 echo "configure: failed program was:" >&5 |
4485 cat conftest.$ac_ext >&5 | 4486 cat conftest.$ac_ext >&5 |
4498 EOF | 4499 EOF |
4499 } | 4500 } |
4500 | 4501 |
4501 else | 4502 else |
4502 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4503 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4503 echo "configure:4504: checking for tzname" >&5 | 4504 echo "configure:4505: checking for tzname" >&5 |
4504 | 4505 |
4505 cat > conftest.$ac_ext <<EOF | 4506 cat > conftest.$ac_ext <<EOF |
4506 #line 4507 "configure" | 4507 #line 4508 "configure" |
4507 #include "confdefs.h" | 4508 #include "confdefs.h" |
4508 #include <time.h> | 4509 #include <time.h> |
4509 #ifndef tzname /* For SGI. */ | 4510 #ifndef tzname /* For SGI. */ |
4510 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4511 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4511 #endif | 4512 #endif |
4512 int main() { | 4513 int main() { |
4513 atoi(*tzname); | 4514 atoi(*tzname); |
4514 ; return 0; } | 4515 ; return 0; } |
4515 EOF | 4516 EOF |
4516 if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4517 if { (eval echo configure:4518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4517 rm -rf conftest* | 4518 rm -rf conftest* |
4518 ac_cv_var_tzname=yes | 4519 ac_cv_var_tzname=yes |
4519 else | 4520 else |
4520 echo "configure: failed program was:" >&5 | 4521 echo "configure: failed program was:" >&5 |
4521 cat conftest.$ac_ext >&5 | 4522 cat conftest.$ac_ext >&5 |
4537 fi | 4538 fi |
4538 fi | 4539 fi |
4539 | 4540 |
4540 | 4541 |
4541 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4542 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4542 echo "configure:4543: checking for working const" >&5 | 4543 echo "configure:4544: checking for working const" >&5 |
4543 | 4544 |
4544 cat > conftest.$ac_ext <<EOF | 4545 cat > conftest.$ac_ext <<EOF |
4545 #line 4546 "configure" | 4546 #line 4547 "configure" |
4546 #include "confdefs.h" | 4547 #include "confdefs.h" |
4547 | 4548 |
4548 int main() { | 4549 int main() { |
4549 | 4550 |
4550 /* Ultrix mips cc rejects this. */ | 4551 /* Ultrix mips cc rejects this. */ |
4589 const int foo = 10; | 4590 const int foo = 10; |
4590 } | 4591 } |
4591 | 4592 |
4592 ; return 0; } | 4593 ; return 0; } |
4593 EOF | 4594 EOF |
4594 if { (eval echo configure:4595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4595 if { (eval echo configure:4596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4595 rm -rf conftest* | 4596 rm -rf conftest* |
4596 ac_cv_c_const=yes | 4597 ac_cv_c_const=yes |
4597 else | 4598 else |
4598 echo "configure: failed program was:" >&5 | 4599 echo "configure: failed program was:" >&5 |
4599 cat conftest.$ac_ext >&5 | 4600 cat conftest.$ac_ext >&5 |
4614 | 4615 |
4615 fi | 4616 fi |
4616 | 4617 |
4617 | 4618 |
4618 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4619 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4619 echo "configure:4620: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4620 echo "configure:4621: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4620 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4621 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4621 | 4622 |
4622 cat > conftestmake <<\EOF | 4623 cat > conftestmake <<\EOF |
4623 all: | 4624 all: |
4624 @echo 'ac_maketemp="${MAKE}"' | 4625 @echo 'ac_maketemp="${MAKE}"' |
4639 SET_MAKE="MAKE=${MAKE-make}" | 4640 SET_MAKE="MAKE=${MAKE-make}" |
4640 fi | 4641 fi |
4641 | 4642 |
4642 | 4643 |
4643 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4644 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4644 echo "configure:4645: checking whether byte ordering is bigendian" >&5 | 4645 echo "configure:4646: checking whether byte ordering is bigendian" >&5 |
4645 | 4646 |
4646 ac_cv_c_bigendian=unknown | 4647 ac_cv_c_bigendian=unknown |
4647 # See if sys/param.h defines the BYTE_ORDER macro. | 4648 # See if sys/param.h defines the BYTE_ORDER macro. |
4648 cat > conftest.$ac_ext <<EOF | 4649 cat > conftest.$ac_ext <<EOF |
4649 #line 4650 "configure" | 4650 #line 4651 "configure" |
4650 #include "confdefs.h" | 4651 #include "confdefs.h" |
4651 #include <sys/types.h> | 4652 #include <sys/types.h> |
4652 #include <sys/param.h> | 4653 #include <sys/param.h> |
4653 int main() { | 4654 int main() { |
4654 | 4655 |
4655 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4656 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4656 bogus endian macros | 4657 bogus endian macros |
4657 #endif | 4658 #endif |
4658 ; return 0; } | 4659 ; return 0; } |
4659 EOF | 4660 EOF |
4660 if { (eval echo configure:4661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4661 if { (eval echo configure:4662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4661 rm -rf conftest* | 4662 rm -rf conftest* |
4662 # It does; now see whether it defined to BIG_ENDIAN or not. | 4663 # It does; now see whether it defined to BIG_ENDIAN or not. |
4663 cat > conftest.$ac_ext <<EOF | 4664 cat > conftest.$ac_ext <<EOF |
4664 #line 4665 "configure" | 4665 #line 4666 "configure" |
4665 #include "confdefs.h" | 4666 #include "confdefs.h" |
4666 #include <sys/types.h> | 4667 #include <sys/types.h> |
4667 #include <sys/param.h> | 4668 #include <sys/param.h> |
4668 int main() { | 4669 int main() { |
4669 | 4670 |
4670 #if BYTE_ORDER != BIG_ENDIAN | 4671 #if BYTE_ORDER != BIG_ENDIAN |
4671 not big endian | 4672 not big endian |
4672 #endif | 4673 #endif |
4673 ; return 0; } | 4674 ; return 0; } |
4674 EOF | 4675 EOF |
4675 if { (eval echo configure:4676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4676 if { (eval echo configure:4677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4676 rm -rf conftest* | 4677 rm -rf conftest* |
4677 ac_cv_c_bigendian=yes | 4678 ac_cv_c_bigendian=yes |
4678 else | 4679 else |
4679 echo "configure: failed program was:" >&5 | 4680 echo "configure: failed program was:" >&5 |
4680 cat conftest.$ac_ext >&5 | 4681 cat conftest.$ac_ext >&5 |
4687 cat conftest.$ac_ext >&5 | 4688 cat conftest.$ac_ext >&5 |
4688 fi | 4689 fi |
4689 rm -f conftest* | 4690 rm -f conftest* |
4690 if test $ac_cv_c_bigendian = unknown; then | 4691 if test $ac_cv_c_bigendian = unknown; then |
4691 cat > conftest.$ac_ext <<EOF | 4692 cat > conftest.$ac_ext <<EOF |
4692 #line 4693 "configure" | 4693 #line 4694 "configure" |
4693 #include "confdefs.h" | 4694 #include "confdefs.h" |
4694 main () { | 4695 main () { |
4695 /* Are we little or big endian? From Harbison&Steele. */ | 4696 /* Are we little or big endian? From Harbison&Steele. */ |
4696 union | 4697 union |
4697 { | 4698 { |
4700 } u; | 4701 } u; |
4701 u.l = 1; | 4702 u.l = 1; |
4702 exit (u.c[sizeof (long) - 1] == 1); | 4703 exit (u.c[sizeof (long) - 1] == 1); |
4703 } | 4704 } |
4704 EOF | 4705 EOF |
4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4706 if { (eval echo configure:4707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4706 then | 4707 then |
4707 ac_cv_c_bigendian=no | 4708 ac_cv_c_bigendian=no |
4708 else | 4709 else |
4709 conftest_rc="$?" | 4710 conftest_rc="$?" |
4710 echo "configure: failed program was:" >&5 | 4711 echo "configure: failed program was:" >&5 |
4727 | 4728 |
4728 fi | 4729 fi |
4729 | 4730 |
4730 | 4731 |
4731 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4732 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4732 echo "configure:4733: checking size of short" >&5 | 4733 echo "configure:4734: checking size of short" >&5 |
4733 | 4734 |
4734 cat > conftest.$ac_ext <<EOF | 4735 cat > conftest.$ac_ext <<EOF |
4735 #line 4736 "configure" | 4736 #line 4737 "configure" |
4736 #include "confdefs.h" | 4737 #include "confdefs.h" |
4737 #include <stdio.h> | 4738 #include <stdio.h> |
4738 #include <sys/types.h> | 4739 #include <sys/types.h> |
4739 main() | 4740 main() |
4740 { | 4741 { |
4742 if (!f) exit(1); | 4743 if (!f) exit(1); |
4743 fprintf(f, "%d\n", sizeof(short)); | 4744 fprintf(f, "%d\n", sizeof(short)); |
4744 exit(0); | 4745 exit(0); |
4745 } | 4746 } |
4746 EOF | 4747 EOF |
4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4748 if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4748 then | 4749 then |
4749 ac_cv_sizeof_short=`cat conftestval` | 4750 ac_cv_sizeof_short=`cat conftestval` |
4750 else | 4751 else |
4751 conftest_rc="$?" | 4752 conftest_rc="$?" |
4752 echo "configure: failed program was:" >&5 | 4753 echo "configure: failed program was:" >&5 |
4770 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4771 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4771 echo "*** PANIC *** Please examine config.log for compilation errors." | 4772 echo "*** PANIC *** Please examine config.log for compilation errors." |
4772 exit 1 | 4773 exit 1 |
4773 fi | 4774 fi |
4774 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4775 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4775 echo "configure:4776: checking size of int" >&5 | 4776 echo "configure:4777: checking size of int" >&5 |
4776 | 4777 |
4777 cat > conftest.$ac_ext <<EOF | 4778 cat > conftest.$ac_ext <<EOF |
4778 #line 4779 "configure" | 4779 #line 4780 "configure" |
4779 #include "confdefs.h" | 4780 #include "confdefs.h" |
4780 #include <stdio.h> | 4781 #include <stdio.h> |
4781 #include <sys/types.h> | 4782 #include <sys/types.h> |
4782 main() | 4783 main() |
4783 { | 4784 { |
4785 if (!f) exit(1); | 4786 if (!f) exit(1); |
4786 fprintf(f, "%d\n", sizeof(int)); | 4787 fprintf(f, "%d\n", sizeof(int)); |
4787 exit(0); | 4788 exit(0); |
4788 } | 4789 } |
4789 EOF | 4790 EOF |
4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4791 then | 4792 then |
4792 ac_cv_sizeof_int=`cat conftestval` | 4793 ac_cv_sizeof_int=`cat conftestval` |
4793 else | 4794 else |
4794 conftest_rc="$?" | 4795 conftest_rc="$?" |
4795 echo "configure: failed program was:" >&5 | 4796 echo "configure: failed program was:" >&5 |
4807 EOF | 4808 EOF |
4808 } | 4809 } |
4809 | 4810 |
4810 | 4811 |
4811 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4812 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4812 echo "configure:4813: checking size of long" >&5 | 4813 echo "configure:4814: checking size of long" >&5 |
4813 | 4814 |
4814 cat > conftest.$ac_ext <<EOF | 4815 cat > conftest.$ac_ext <<EOF |
4815 #line 4816 "configure" | 4816 #line 4817 "configure" |
4816 #include "confdefs.h" | 4817 #include "confdefs.h" |
4817 #include <stdio.h> | 4818 #include <stdio.h> |
4818 #include <sys/types.h> | 4819 #include <sys/types.h> |
4819 main() | 4820 main() |
4820 { | 4821 { |
4822 if (!f) exit(1); | 4823 if (!f) exit(1); |
4823 fprintf(f, "%d\n", sizeof(long)); | 4824 fprintf(f, "%d\n", sizeof(long)); |
4824 exit(0); | 4825 exit(0); |
4825 } | 4826 } |
4826 EOF | 4827 EOF |
4827 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4828 if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4828 then | 4829 then |
4829 ac_cv_sizeof_long=`cat conftestval` | 4830 ac_cv_sizeof_long=`cat conftestval` |
4830 else | 4831 else |
4831 conftest_rc="$?" | 4832 conftest_rc="$?" |
4832 echo "configure: failed program was:" >&5 | 4833 echo "configure: failed program was:" >&5 |
4844 EOF | 4845 EOF |
4845 } | 4846 } |
4846 | 4847 |
4847 | 4848 |
4848 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4849 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4849 echo "configure:4850: checking size of long long" >&5 | 4850 echo "configure:4851: checking size of long long" >&5 |
4850 | 4851 |
4851 cat > conftest.$ac_ext <<EOF | 4852 cat > conftest.$ac_ext <<EOF |
4852 #line 4853 "configure" | 4853 #line 4854 "configure" |
4853 #include "confdefs.h" | 4854 #include "confdefs.h" |
4854 #include <stdio.h> | 4855 #include <stdio.h> |
4855 #include <sys/types.h> | 4856 #include <sys/types.h> |
4856 main() | 4857 main() |
4857 { | 4858 { |
4859 if (!f) exit(1); | 4860 if (!f) exit(1); |
4860 fprintf(f, "%d\n", sizeof(long long)); | 4861 fprintf(f, "%d\n", sizeof(long long)); |
4861 exit(0); | 4862 exit(0); |
4862 } | 4863 } |
4863 EOF | 4864 EOF |
4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4865 if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4865 then | 4866 then |
4866 ac_cv_sizeof_long_long=`cat conftestval` | 4867 ac_cv_sizeof_long_long=`cat conftestval` |
4867 else | 4868 else |
4868 conftest_rc="$?" | 4869 conftest_rc="$?" |
4869 echo "configure: failed program was:" >&5 | 4870 echo "configure: failed program was:" >&5 |
4881 EOF | 4882 EOF |
4882 } | 4883 } |
4883 | 4884 |
4884 | 4885 |
4885 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4886 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4886 echo "configure:4887: checking size of void *" >&5 | 4887 echo "configure:4888: checking size of void *" >&5 |
4887 | 4888 |
4888 cat > conftest.$ac_ext <<EOF | 4889 cat > conftest.$ac_ext <<EOF |
4889 #line 4890 "configure" | 4890 #line 4891 "configure" |
4890 #include "confdefs.h" | 4891 #include "confdefs.h" |
4891 #include <stdio.h> | 4892 #include <stdio.h> |
4892 #include <sys/types.h> | 4893 #include <sys/types.h> |
4893 main() | 4894 main() |
4894 { | 4895 { |
4896 if (!f) exit(1); | 4897 if (!f) exit(1); |
4897 fprintf(f, "%d\n", sizeof(void *)); | 4898 fprintf(f, "%d\n", sizeof(void *)); |
4898 exit(0); | 4899 exit(0); |
4899 } | 4900 } |
4900 EOF | 4901 EOF |
4901 if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4902 then | 4903 then |
4903 ac_cv_sizeof_void_p=`cat conftestval` | 4904 ac_cv_sizeof_void_p=`cat conftestval` |
4904 else | 4905 else |
4905 conftest_rc="$?" | 4906 conftest_rc="$?" |
4906 echo "configure: failed program was:" >&5 | 4907 echo "configure: failed program was:" >&5 |
4919 } | 4920 } |
4920 | 4921 |
4921 | 4922 |
4922 | 4923 |
4923 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4924 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4924 echo "configure:4925: checking for long file names" >&5 | 4925 echo "configure:4926: checking for long file names" >&5 |
4925 | 4926 |
4926 ac_cv_sys_long_file_names=yes | 4927 ac_cv_sys_long_file_names=yes |
4927 # Test for long file names in all the places we know might matter: | 4928 # Test for long file names in all the places we know might matter: |
4928 # . the current directory, where building will happen | 4929 # . the current directory, where building will happen |
4929 # $prefix/lib where we will be installing things | 4930 # $prefix/lib where we will be installing things |
4965 | 4966 |
4966 fi | 4967 fi |
4967 | 4968 |
4968 | 4969 |
4969 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4970 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4970 echo "configure:4971: checking for sin" >&5 | 4971 echo "configure:4972: checking for sin" >&5 |
4971 | 4972 |
4972 cat > conftest.$ac_ext <<EOF | 4973 cat > conftest.$ac_ext <<EOF |
4973 #line 4974 "configure" | 4974 #line 4975 "configure" |
4974 #include "confdefs.h" | 4975 #include "confdefs.h" |
4975 /* System header to define __stub macros and hopefully few prototypes, | 4976 /* System header to define __stub macros and hopefully few prototypes, |
4976 which can conflict with char sin(); below. */ | 4977 which can conflict with char sin(); below. */ |
4977 #include <assert.h> | 4978 #include <assert.h> |
4978 /* Override any gcc2 internal prototype to avoid an error. */ | 4979 /* Override any gcc2 internal prototype to avoid an error. */ |
4991 sin(); | 4992 sin(); |
4992 #endif | 4993 #endif |
4993 | 4994 |
4994 ; return 0; } | 4995 ; return 0; } |
4995 EOF | 4996 EOF |
4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4997 if { (eval echo configure:4998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4997 rm -rf conftest* | 4998 rm -rf conftest* |
4998 eval "ac_cv_func_sin=yes" | 4999 eval "ac_cv_func_sin=yes" |
4999 else | 5000 else |
5000 echo "configure: failed program was:" >&5 | 5001 echo "configure: failed program was:" >&5 |
5001 cat conftest.$ac_ext >&5 | 5002 cat conftest.$ac_ext >&5 |
5009 : | 5010 : |
5010 else | 5011 else |
5011 echo "$ac_t""no" 1>&6 | 5012 echo "$ac_t""no" 1>&6 |
5012 | 5013 |
5013 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5014 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5014 echo "configure:5015: checking for sin in -lm" >&5 | 5015 echo "configure:5016: checking for sin in -lm" >&5 |
5015 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5016 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5016 | 5017 |
5017 xe_check_libs=" -lm " | 5018 xe_check_libs=" -lm " |
5018 cat > conftest.$ac_ext <<EOF | 5019 cat > conftest.$ac_ext <<EOF |
5019 #line 5020 "configure" | 5020 #line 5021 "configure" |
5020 #include "confdefs.h" | 5021 #include "confdefs.h" |
5021 /* Override any gcc2 internal prototype to avoid an error. */ | 5022 /* Override any gcc2 internal prototype to avoid an error. */ |
5022 /* We use char because int might match the return type of a gcc2 | 5023 /* We use char because int might match the return type of a gcc2 |
5023 builtin and then its argument prototype would still apply. */ | 5024 builtin and then its argument prototype would still apply. */ |
5024 char sin(); | 5025 char sin(); |
5025 | 5026 |
5026 int main() { | 5027 int main() { |
5027 sin() | 5028 sin() |
5028 ; return 0; } | 5029 ; return 0; } |
5029 EOF | 5030 EOF |
5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5031 if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5031 rm -rf conftest* | 5032 rm -rf conftest* |
5032 eval "ac_cv_lib_$ac_lib_var=yes" | 5033 eval "ac_cv_lib_$ac_lib_var=yes" |
5033 else | 5034 else |
5034 echo "configure: failed program was:" >&5 | 5035 echo "configure: failed program was:" >&5 |
5035 cat conftest.$ac_ext >&5 | 5036 cat conftest.$ac_ext >&5 |
5060 | 5061 |
5061 fi | 5062 fi |
5062 | 5063 |
5063 | 5064 |
5064 cat > conftest.$ac_ext <<EOF | 5065 cat > conftest.$ac_ext <<EOF |
5065 #line 5066 "configure" | 5066 #line 5067 "configure" |
5066 #include "confdefs.h" | 5067 #include "confdefs.h" |
5067 #include <math.h> | 5068 #include <math.h> |
5068 int main() { | 5069 int main() { |
5069 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5070 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5070 ; return 0; } | 5071 ; return 0; } |
5071 EOF | 5072 EOF |
5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5073 if { (eval echo configure:5074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5073 rm -rf conftest* | 5074 rm -rf conftest* |
5074 { test "$extra_verbose" = "yes" && cat << \EOF | 5075 { test "$extra_verbose" = "yes" && cat << \EOF |
5075 Defining HAVE_INVERSE_HYPERBOLIC | 5076 Defining HAVE_INVERSE_HYPERBOLIC |
5076 EOF | 5077 EOF |
5077 cat >> confdefs.h <<\EOF | 5078 cat >> confdefs.h <<\EOF |
5086 rm -f conftest* | 5087 rm -f conftest* |
5087 | 5088 |
5088 for ac_func in mkstemp | 5089 for ac_func in mkstemp |
5089 do | 5090 do |
5090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5091 echo "configure:5092: checking for $ac_func" >&5 | 5092 echo "configure:5093: checking for $ac_func" >&5 |
5092 | 5093 |
5093 cat > conftest.$ac_ext <<EOF | 5094 cat > conftest.$ac_ext <<EOF |
5094 #line 5095 "configure" | 5095 #line 5096 "configure" |
5095 #include "confdefs.h" | 5096 #include "confdefs.h" |
5096 /* System header to define __stub macros and hopefully few prototypes, | 5097 /* System header to define __stub macros and hopefully few prototypes, |
5097 which can conflict with char $ac_func(); below. */ | 5098 which can conflict with char $ac_func(); below. */ |
5098 #include <assert.h> | 5099 #include <assert.h> |
5099 /* Override any gcc2 internal prototype to avoid an error. */ | 5100 /* Override any gcc2 internal prototype to avoid an error. */ |
5112 $ac_func(); | 5113 $ac_func(); |
5113 #endif | 5114 #endif |
5114 | 5115 |
5115 ; return 0; } | 5116 ; return 0; } |
5116 EOF | 5117 EOF |
5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5118 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5118 rm -rf conftest* | 5119 rm -rf conftest* |
5119 eval "ac_cv_func_$ac_func=yes" | 5120 eval "ac_cv_func_$ac_func=yes" |
5120 else | 5121 else |
5121 echo "configure: failed program was:" >&5 | 5122 echo "configure: failed program was:" >&5 |
5122 cat conftest.$ac_ext >&5 | 5123 cat conftest.$ac_ext >&5 |
5141 fi | 5142 fi |
5142 done | 5143 done |
5143 | 5144 |
5144 | 5145 |
5145 echo "checking type of mail spool file locking" 1>&6 | 5146 echo "checking type of mail spool file locking" 1>&6 |
5146 echo "configure:5147: checking type of mail spool file locking" >&5 | 5147 echo "configure:5148: checking type of mail spool file locking" >&5 |
5147 for ac_func in lockf flock | 5148 for ac_func in lockf flock |
5148 do | 5149 do |
5149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5150 echo "configure:5151: checking for $ac_func" >&5 | 5151 echo "configure:5152: checking for $ac_func" >&5 |
5151 | 5152 |
5152 cat > conftest.$ac_ext <<EOF | 5153 cat > conftest.$ac_ext <<EOF |
5153 #line 5154 "configure" | 5154 #line 5155 "configure" |
5154 #include "confdefs.h" | 5155 #include "confdefs.h" |
5155 /* System header to define __stub macros and hopefully few prototypes, | 5156 /* System header to define __stub macros and hopefully few prototypes, |
5156 which can conflict with char $ac_func(); below. */ | 5157 which can conflict with char $ac_func(); below. */ |
5157 #include <assert.h> | 5158 #include <assert.h> |
5158 /* Override any gcc2 internal prototype to avoid an error. */ | 5159 /* Override any gcc2 internal prototype to avoid an error. */ |
5171 $ac_func(); | 5172 $ac_func(); |
5172 #endif | 5173 #endif |
5173 | 5174 |
5174 ; return 0; } | 5175 ; return 0; } |
5175 EOF | 5176 EOF |
5176 if { (eval echo configure:5177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5177 if { (eval echo configure:5178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5177 rm -rf conftest* | 5178 rm -rf conftest* |
5178 eval "ac_cv_func_$ac_func=yes" | 5179 eval "ac_cv_func_$ac_func=yes" |
5179 else | 5180 else |
5180 echo "configure: failed program was:" >&5 | 5181 echo "configure: failed program was:" >&5 |
5181 cat conftest.$ac_ext >&5 | 5182 cat conftest.$ac_ext >&5 |
5253 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5254 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5254 | 5255 |
5255 case "$opsys" in decosf*) | 5256 case "$opsys" in decosf*) |
5256 | 5257 |
5257 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5258 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5258 echo "configure:5259: checking for cma_open in -lpthreads" >&5 | 5259 echo "configure:5260: checking for cma_open in -lpthreads" >&5 |
5259 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5260 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5260 | 5261 |
5261 xe_check_libs=" -lpthreads " | 5262 xe_check_libs=" -lpthreads " |
5262 cat > conftest.$ac_ext <<EOF | 5263 cat > conftest.$ac_ext <<EOF |
5263 #line 5264 "configure" | 5264 #line 5265 "configure" |
5264 #include "confdefs.h" | 5265 #include "confdefs.h" |
5265 /* Override any gcc2 internal prototype to avoid an error. */ | 5266 /* Override any gcc2 internal prototype to avoid an error. */ |
5266 /* We use char because int might match the return type of a gcc2 | 5267 /* We use char because int might match the return type of a gcc2 |
5267 builtin and then its argument prototype would still apply. */ | 5268 builtin and then its argument prototype would still apply. */ |
5268 char cma_open(); | 5269 char cma_open(); |
5269 | 5270 |
5270 int main() { | 5271 int main() { |
5271 cma_open() | 5272 cma_open() |
5272 ; return 0; } | 5273 ; return 0; } |
5273 EOF | 5274 EOF |
5274 if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5275 rm -rf conftest* | 5276 rm -rf conftest* |
5276 eval "ac_cv_lib_$ac_lib_var=yes" | 5277 eval "ac_cv_lib_$ac_lib_var=yes" |
5277 else | 5278 else |
5278 echo "configure: failed program was:" >&5 | 5279 echo "configure: failed program was:" >&5 |
5279 cat conftest.$ac_ext >&5 | 5280 cat conftest.$ac_ext >&5 |
5306 c_switch_site="$c_switch_site -threads" ;; | 5307 c_switch_site="$c_switch_site -threads" ;; |
5307 esac | 5308 esac |
5308 | 5309 |
5309 | 5310 |
5310 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5311 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5311 echo "configure:5312: checking whether the -xildoff compiler flag is required" >&5 | 5312 echo "configure:5313: checking whether the -xildoff compiler flag is required" >&5 |
5312 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5313 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5313 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5314 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5314 then echo "$ac_t""no" 1>&6; | 5315 then echo "$ac_t""no" 1>&6; |
5315 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 | 5316 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 |
5316 fi | 5317 fi |
5318 fi | 5319 fi |
5319 | 5320 |
5320 if test "$opsys" = "sol2"; then | 5321 if test "$opsys" = "sol2"; then |
5321 if test "$os_release" -ge 506; then | 5322 if test "$os_release" -ge 506; then |
5322 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5323 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5323 echo "configure:5324: checking for \"-z ignore\" linker flag" >&5 | 5324 echo "configure:5325: checking for \"-z ignore\" linker flag" >&5 |
5324 case "`ld -h 2>&1`" in | 5325 case "`ld -h 2>&1`" in |
5325 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5326 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5326 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5327 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5327 *) echo "$ac_t""no" 1>&6 ;; | 5328 *) echo "$ac_t""no" 1>&6 ;; |
5328 esac | 5329 esac |
5329 fi | 5330 fi |
5330 fi | 5331 fi |
5331 | 5332 |
5332 | 5333 |
5333 echo "checking "for specified window system"" 1>&6 | 5334 echo "checking "for specified window system"" 1>&6 |
5334 echo "configure:5335: checking "for specified window system"" >&5 | 5335 echo "configure:5336: checking "for specified window system"" >&5 |
5335 | 5336 |
5336 | 5337 |
5337 GNOME_CONFIG=no | 5338 GNOME_CONFIG=no |
5338 GTK_CONFIG=no | 5339 GTK_CONFIG=no |
5339 | 5340 |
5340 if test "$with_gnome" != "no"; then | 5341 if test "$with_gnome" != "no"; then |
5341 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5342 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5342 echo "configure:5343: checking for GNOME configuration script" >&5 | 5343 echo "configure:5344: checking for GNOME configuration script" >&5 |
5343 for possible in gnome-config | 5344 for possible in gnome-config |
5344 do | 5345 do |
5345 possible_version=`${possible} --version 2> /dev/null` | 5346 possible_version=`${possible} --version 2> /dev/null` |
5346 if test "x${possible_version}" != "x"; then | 5347 if test "x${possible_version}" != "x"; then |
5347 GNOME_CONFIG="${possible}" | 5348 GNOME_CONFIG="${possible}" |
5368 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5369 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5369 fi | 5370 fi |
5370 | 5371 |
5371 if test "$with_gtk" != "no";then | 5372 if test "$with_gtk" != "no";then |
5372 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5373 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5373 echo "configure:5374: checking for GTK configuration script" >&5 | 5374 echo "configure:5375: checking for GTK configuration script" >&5 |
5374 for possible in gtk12-config gtk14-config gtk-config | 5375 for possible in gtk12-config gtk14-config gtk-config |
5375 do | 5376 do |
5376 possible_version=`${possible} --version 2> /dev/null` | 5377 possible_version=`${possible} --version 2> /dev/null` |
5377 if test "x${possible_version}" != "x"; then | 5378 if test "x${possible_version}" != "x"; then |
5378 GTK_CONFIG="${possible}" | 5379 GTK_CONFIG="${possible}" |
5390 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5391 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5391 fi | 5392 fi |
5392 | 5393 |
5393 if test "${GTK_CONFIG}" != "no"; then | 5394 if test "${GTK_CONFIG}" != "no"; then |
5394 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5395 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5395 echo "configure:5396: checking gtk version" >&5 | 5396 echo "configure:5397: checking gtk version" >&5 |
5396 GTK_VERSION=`${GTK_CONFIG} --version` | 5397 GTK_VERSION=`${GTK_CONFIG} --version` |
5397 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5398 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5398 | 5399 |
5399 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5400 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5400 echo "configure:5401: checking gtk libs" >&5 | 5401 echo "configure:5402: checking gtk libs" >&5 |
5401 GTK_LIBS=`${GTK_CONFIG} --libs` | 5402 GTK_LIBS=`${GTK_CONFIG} --libs` |
5402 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5403 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5403 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5404 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5404 | 5405 |
5405 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5406 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5406 echo "configure:5407: checking gtk cflags" >&5 | 5407 echo "configure:5408: checking gtk cflags" >&5 |
5407 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5408 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5408 if test "$GCC" = "yes"; then | 5409 if test "$GCC" = "yes"; then |
5409 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5410 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5410 fi | 5411 fi |
5411 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5412 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5412 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5413 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5413 | 5414 |
5414 | 5415 |
5415 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5416 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5416 echo "configure:5417: checking for main in -lgdk_imlib" >&5 | 5417 echo "configure:5418: checking for main in -lgdk_imlib" >&5 |
5417 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5418 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5418 | 5419 |
5419 xe_check_libs=" -lgdk_imlib " | 5420 xe_check_libs=" -lgdk_imlib " |
5420 cat > conftest.$ac_ext <<EOF | 5421 cat > conftest.$ac_ext <<EOF |
5421 #line 5422 "configure" | 5422 #line 5423 "configure" |
5422 #include "confdefs.h" | 5423 #include "confdefs.h" |
5423 | 5424 |
5424 int main() { | 5425 int main() { |
5425 main() | 5426 main() |
5426 ; return 0; } | 5427 ; return 0; } |
5427 EOF | 5428 EOF |
5428 if { (eval echo configure:5429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5429 rm -rf conftest* | 5430 rm -rf conftest* |
5430 eval "ac_cv_lib_$ac_lib_var=yes" | 5431 eval "ac_cv_lib_$ac_lib_var=yes" |
5431 else | 5432 else |
5432 echo "configure: failed program was:" >&5 | 5433 echo "configure: failed program was:" >&5 |
5433 cat conftest.$ac_ext >&5 | 5434 cat conftest.$ac_ext >&5 |
5445 fi | 5446 fi |
5446 | 5447 |
5447 | 5448 |
5448 | 5449 |
5449 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5450 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5450 echo "configure:5451: checking for Imlib_init in -lImlib" >&5 | 5451 echo "configure:5452: checking for Imlib_init in -lImlib" >&5 |
5451 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5452 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5452 | 5453 |
5453 xe_check_libs=" -lImlib " | 5454 xe_check_libs=" -lImlib " |
5454 cat > conftest.$ac_ext <<EOF | 5455 cat > conftest.$ac_ext <<EOF |
5455 #line 5456 "configure" | 5456 #line 5457 "configure" |
5456 #include "confdefs.h" | 5457 #include "confdefs.h" |
5457 /* Override any gcc2 internal prototype to avoid an error. */ | 5458 /* Override any gcc2 internal prototype to avoid an error. */ |
5458 /* We use char because int might match the return type of a gcc2 | 5459 /* We use char because int might match the return type of a gcc2 |
5459 builtin and then its argument prototype would still apply. */ | 5460 builtin and then its argument prototype would still apply. */ |
5460 char Imlib_init(); | 5461 char Imlib_init(); |
5461 | 5462 |
5462 int main() { | 5463 int main() { |
5463 Imlib_init() | 5464 Imlib_init() |
5464 ; return 0; } | 5465 ; return 0; } |
5465 EOF | 5466 EOF |
5466 if { (eval echo configure:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5467 if { (eval echo configure:5468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5467 rm -rf conftest* | 5468 rm -rf conftest* |
5468 eval "ac_cv_lib_$ac_lib_var=yes" | 5469 eval "ac_cv_lib_$ac_lib_var=yes" |
5469 else | 5470 else |
5470 echo "configure: failed program was:" >&5 | 5471 echo "configure: failed program was:" >&5 |
5471 cat conftest.$ac_ext >&5 | 5472 cat conftest.$ac_ext >&5 |
5484 | 5485 |
5485 | 5486 |
5486 for ac_func in gdk_imlib_init | 5487 for ac_func in gdk_imlib_init |
5487 do | 5488 do |
5488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5489 echo "configure:5490: checking for $ac_func" >&5 | 5490 echo "configure:5491: checking for $ac_func" >&5 |
5490 | 5491 |
5491 cat > conftest.$ac_ext <<EOF | 5492 cat > conftest.$ac_ext <<EOF |
5492 #line 5493 "configure" | 5493 #line 5494 "configure" |
5493 #include "confdefs.h" | 5494 #include "confdefs.h" |
5494 /* System header to define __stub macros and hopefully few prototypes, | 5495 /* System header to define __stub macros and hopefully few prototypes, |
5495 which can conflict with char $ac_func(); below. */ | 5496 which can conflict with char $ac_func(); below. */ |
5496 #include <assert.h> | 5497 #include <assert.h> |
5497 /* Override any gcc2 internal prototype to avoid an error. */ | 5498 /* Override any gcc2 internal prototype to avoid an error. */ |
5510 $ac_func(); | 5511 $ac_func(); |
5511 #endif | 5512 #endif |
5512 | 5513 |
5513 ; return 0; } | 5514 ; return 0; } |
5514 EOF | 5515 EOF |
5515 if { (eval echo configure:5516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5516 if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5516 rm -rf conftest* | 5517 rm -rf conftest* |
5517 eval "ac_cv_func_$ac_func=yes" | 5518 eval "ac_cv_func_$ac_func=yes" |
5518 else | 5519 else |
5519 echo "configure: failed program was:" >&5 | 5520 echo "configure: failed program was:" >&5 |
5520 cat conftest.$ac_ext >&5 | 5521 cat conftest.$ac_ext >&5 |
5576 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5577 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5577 for ac_hdr in glade/glade.h glade.h | 5578 for ac_hdr in glade/glade.h glade.h |
5578 do | 5579 do |
5579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5580 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5581 echo "configure:5582: checking for $ac_hdr" >&5 | 5582 echo "configure:5583: checking for $ac_hdr" >&5 |
5582 | 5583 |
5583 cat > conftest.$ac_ext <<EOF | 5584 cat > conftest.$ac_ext <<EOF |
5584 #line 5585 "configure" | 5585 #line 5586 "configure" |
5585 #include "confdefs.h" | 5586 #include "confdefs.h" |
5586 #include <$ac_hdr> | 5587 #include <$ac_hdr> |
5587 EOF | 5588 EOF |
5588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5589 { (eval echo configure:5590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5590 { (eval echo configure:5591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5591 if test -z "$ac_err"; then | 5592 if test -z "$ac_err"; then |
5592 rm -rf conftest* | 5593 rm -rf conftest* |
5593 eval "ac_cv_header_$ac_safe=yes" | 5594 eval "ac_cv_header_$ac_safe=yes" |
5594 else | 5595 else |
5615 fi | 5616 fi |
5616 done | 5617 done |
5617 | 5618 |
5618 | 5619 |
5619 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5620 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5620 echo "configure:5621: checking for main in -lxml" >&5 | 5621 echo "configure:5622: checking for main in -lxml" >&5 |
5621 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5622 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5622 | 5623 |
5623 xe_check_libs=" -lxml " | 5624 xe_check_libs=" -lxml " |
5624 cat > conftest.$ac_ext <<EOF | 5625 cat > conftest.$ac_ext <<EOF |
5625 #line 5626 "configure" | 5626 #line 5627 "configure" |
5626 #include "confdefs.h" | 5627 #include "confdefs.h" |
5627 | 5628 |
5628 int main() { | 5629 int main() { |
5629 main() | 5630 main() |
5630 ; return 0; } | 5631 ; return 0; } |
5631 EOF | 5632 EOF |
5632 if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5633 if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5633 rm -rf conftest* | 5634 rm -rf conftest* |
5634 eval "ac_cv_lib_$ac_lib_var=yes" | 5635 eval "ac_cv_lib_$ac_lib_var=yes" |
5635 else | 5636 else |
5636 echo "configure: failed program was:" >&5 | 5637 echo "configure: failed program was:" >&5 |
5637 cat conftest.$ac_ext >&5 | 5638 cat conftest.$ac_ext >&5 |
5649 fi | 5650 fi |
5650 | 5651 |
5651 | 5652 |
5652 | 5653 |
5653 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5654 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5654 echo "configure:5655: checking for main in -lglade" >&5 | 5655 echo "configure:5656: checking for main in -lglade" >&5 |
5655 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5656 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5656 | 5657 |
5657 xe_check_libs=" -lglade " | 5658 xe_check_libs=" -lglade " |
5658 cat > conftest.$ac_ext <<EOF | 5659 cat > conftest.$ac_ext <<EOF |
5659 #line 5660 "configure" | 5660 #line 5661 "configure" |
5660 #include "confdefs.h" | 5661 #include "confdefs.h" |
5661 | 5662 |
5662 int main() { | 5663 int main() { |
5663 main() | 5664 main() |
5664 ; return 0; } | 5665 ; return 0; } |
5665 EOF | 5666 EOF |
5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5667 rm -rf conftest* | 5668 rm -rf conftest* |
5668 eval "ac_cv_lib_$ac_lib_var=yes" | 5669 eval "ac_cv_lib_$ac_lib_var=yes" |
5669 else | 5670 else |
5670 echo "configure: failed program was:" >&5 | 5671 echo "configure: failed program was:" >&5 |
5671 cat conftest.$ac_ext >&5 | 5672 cat conftest.$ac_ext >&5 |
5683 fi | 5684 fi |
5684 | 5685 |
5685 | 5686 |
5686 | 5687 |
5687 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5688 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5688 echo "configure:5689: checking for main in -lglade-gnome" >&5 | 5689 echo "configure:5690: checking for main in -lglade-gnome" >&5 |
5689 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5690 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5690 | 5691 |
5691 xe_check_libs=" -lglade-gnome " | 5692 xe_check_libs=" -lglade-gnome " |
5692 cat > conftest.$ac_ext <<EOF | 5693 cat > conftest.$ac_ext <<EOF |
5693 #line 5694 "configure" | 5694 #line 5695 "configure" |
5694 #include "confdefs.h" | 5695 #include "confdefs.h" |
5695 | 5696 |
5696 int main() { | 5697 int main() { |
5697 main() | 5698 main() |
5698 ; return 0; } | 5699 ; return 0; } |
5699 EOF | 5700 EOF |
5700 if { (eval echo configure:5701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5701 if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5701 rm -rf conftest* | 5702 rm -rf conftest* |
5702 eval "ac_cv_lib_$ac_lib_var=yes" | 5703 eval "ac_cv_lib_$ac_lib_var=yes" |
5703 else | 5704 else |
5704 echo "configure: failed program was:" >&5 | 5705 echo "configure: failed program was:" >&5 |
5705 cat conftest.$ac_ext >&5 | 5706 cat conftest.$ac_ext >&5 |
5716 echo "$ac_t""no" 1>&6 | 5717 echo "$ac_t""no" 1>&6 |
5717 fi | 5718 fi |
5718 | 5719 |
5719 | 5720 |
5720 cat > conftest.$ac_ext <<EOF | 5721 cat > conftest.$ac_ext <<EOF |
5721 #line 5722 "configure" | 5722 #line 5723 "configure" |
5722 #include "confdefs.h" | 5723 #include "confdefs.h" |
5723 #include <glade/glade-xml.h> | 5724 #include <glade/glade-xml.h> |
5724 EOF | 5725 EOF |
5725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5726 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5727 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5775 # If we find X, set shell vars x_includes and x_libraries to the | 5776 # If we find X, set shell vars x_includes and x_libraries to the |
5776 # paths, otherwise set no_x=yes. | 5777 # paths, otherwise set no_x=yes. |
5777 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5778 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5778 # --without-x overrides everything else, but does not touch the cache. | 5779 # --without-x overrides everything else, but does not touch the cache. |
5779 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5780 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5780 echo "configure:5781: checking for X" >&5 | 5781 echo "configure:5782: checking for X" >&5 |
5781 | 5782 |
5782 # Check whether --with-x or --without-x was given. | 5783 # Check whether --with-x or --without-x was given. |
5783 if test "${with_x+set}" = set; then | 5784 if test "${with_x+set}" = set; then |
5784 withval="$with_x" | 5785 withval="$with_x" |
5785 : | 5786 : |
5835 # Guess where to find include files, by looking for this one X11 .h file. | 5836 # Guess where to find include files, by looking for this one X11 .h file. |
5836 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5837 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5837 | 5838 |
5838 # First, try using that file with no special directory specified. | 5839 # First, try using that file with no special directory specified. |
5839 cat > conftest.$ac_ext <<EOF | 5840 cat > conftest.$ac_ext <<EOF |
5840 #line 5841 "configure" | 5841 #line 5842 "configure" |
5841 #include "confdefs.h" | 5842 #include "confdefs.h" |
5842 #include <$x_direct_test_include> | 5843 #include <$x_direct_test_include> |
5843 EOF | 5844 EOF |
5844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5845 { (eval echo configure:5846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5846 { (eval echo configure:5847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5847 if test -z "$ac_err"; then | 5848 if test -z "$ac_err"; then |
5848 rm -rf conftest* | 5849 rm -rf conftest* |
5849 # We can compile using X headers with no special include directory. | 5850 # We can compile using X headers with no special include directory. |
5850 ac_x_includes= | 5851 ac_x_includes= |
5909 # See if we find them without any special options. | 5910 # See if we find them without any special options. |
5910 # Don't add to $LIBS permanently. | 5911 # Don't add to $LIBS permanently. |
5911 ac_save_LIBS="$LIBS" | 5912 ac_save_LIBS="$LIBS" |
5912 LIBS="-l$x_direct_test_library $LIBS" | 5913 LIBS="-l$x_direct_test_library $LIBS" |
5913 cat > conftest.$ac_ext <<EOF | 5914 cat > conftest.$ac_ext <<EOF |
5914 #line 5915 "configure" | 5915 #line 5916 "configure" |
5915 #include "confdefs.h" | 5916 #include "confdefs.h" |
5916 | 5917 |
5917 int main() { | 5918 int main() { |
5918 ${x_direct_test_function}() | 5919 ${x_direct_test_function}() |
5919 ; return 0; } | 5920 ; return 0; } |
5920 EOF | 5921 EOF |
5921 if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5922 if { (eval echo configure:5923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5922 rm -rf conftest* | 5923 rm -rf conftest* |
5923 LIBS="$ac_save_LIBS" | 5924 LIBS="$ac_save_LIBS" |
5924 # We can link X programs with no special library path. | 5925 # We can link X programs with no special library path. |
5925 ac_x_libraries= | 5926 ac_x_libraries= |
5926 else | 5927 else |
6025 # For Solaris; some versions of Sun CC require a space after -R and | 6026 # For Solaris; some versions of Sun CC require a space after -R and |
6026 # others require no space. Words are not sufficient . . . . | 6027 # others require no space. Words are not sufficient . . . . |
6027 case "`(uname -sr) 2>/dev/null`" in | 6028 case "`(uname -sr) 2>/dev/null`" in |
6028 "SunOS 5"*) | 6029 "SunOS 5"*) |
6029 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6030 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6030 echo "configure:6031: checking whether -R must be followed by a space" >&5 | 6031 echo "configure:6032: checking whether -R must be followed by a space" >&5 |
6031 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6032 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6032 cat > conftest.$ac_ext <<EOF | 6033 cat > conftest.$ac_ext <<EOF |
6033 #line 6034 "configure" | 6034 #line 6035 "configure" |
6034 #include "confdefs.h" | 6035 #include "confdefs.h" |
6035 | 6036 |
6036 int main() { | 6037 int main() { |
6037 | 6038 |
6038 ; return 0; } | 6039 ; return 0; } |
6039 EOF | 6040 EOF |
6040 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6041 if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6041 rm -rf conftest* | 6042 rm -rf conftest* |
6042 ac_R_nospace=yes | 6043 ac_R_nospace=yes |
6043 else | 6044 else |
6044 echo "configure: failed program was:" >&5 | 6045 echo "configure: failed program was:" >&5 |
6045 cat conftest.$ac_ext >&5 | 6046 cat conftest.$ac_ext >&5 |
6051 echo "$ac_t""no" 1>&6 | 6052 echo "$ac_t""no" 1>&6 |
6052 X_LIBS="$X_LIBS -R$x_libraries" | 6053 X_LIBS="$X_LIBS -R$x_libraries" |
6053 else | 6054 else |
6054 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6055 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6055 cat > conftest.$ac_ext <<EOF | 6056 cat > conftest.$ac_ext <<EOF |
6056 #line 6057 "configure" | 6057 #line 6058 "configure" |
6057 #include "confdefs.h" | 6058 #include "confdefs.h" |
6058 | 6059 |
6059 int main() { | 6060 int main() { |
6060 | 6061 |
6061 ; return 0; } | 6062 ; return 0; } |
6062 EOF | 6063 EOF |
6063 if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6064 if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6064 rm -rf conftest* | 6065 rm -rf conftest* |
6065 ac_R_space=yes | 6066 ac_R_space=yes |
6066 else | 6067 else |
6067 echo "configure: failed program was:" >&5 | 6068 echo "configure: failed program was:" >&5 |
6068 cat conftest.$ac_ext >&5 | 6069 cat conftest.$ac_ext >&5 |
6094 if test "$with_dnet" = "no" ; then | 6095 if test "$with_dnet" = "no" ; then |
6095 ac_cv_lib_dnet_dnet_ntoa=no | 6096 ac_cv_lib_dnet_dnet_ntoa=no |
6096 else | 6097 else |
6097 | 6098 |
6098 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6099 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6099 echo "configure:6100: checking for dnet_ntoa in -ldnet" >&5 | 6100 echo "configure:6101: checking for dnet_ntoa in -ldnet" >&5 |
6100 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6101 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6101 | 6102 |
6102 xe_check_libs=" -ldnet " | 6103 xe_check_libs=" -ldnet " |
6103 cat > conftest.$ac_ext <<EOF | 6104 cat > conftest.$ac_ext <<EOF |
6104 #line 6105 "configure" | 6105 #line 6106 "configure" |
6105 #include "confdefs.h" | 6106 #include "confdefs.h" |
6106 /* Override any gcc2 internal prototype to avoid an error. */ | 6107 /* Override any gcc2 internal prototype to avoid an error. */ |
6107 /* We use char because int might match the return type of a gcc2 | 6108 /* We use char because int might match the return type of a gcc2 |
6108 builtin and then its argument prototype would still apply. */ | 6109 builtin and then its argument prototype would still apply. */ |
6109 char dnet_ntoa(); | 6110 char dnet_ntoa(); |
6110 | 6111 |
6111 int main() { | 6112 int main() { |
6112 dnet_ntoa() | 6113 dnet_ntoa() |
6113 ; return 0; } | 6114 ; return 0; } |
6114 EOF | 6115 EOF |
6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6116 if { (eval echo configure:6117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6116 rm -rf conftest* | 6117 rm -rf conftest* |
6117 eval "ac_cv_lib_$ac_lib_var=yes" | 6118 eval "ac_cv_lib_$ac_lib_var=yes" |
6118 else | 6119 else |
6119 echo "configure: failed program was:" >&5 | 6120 echo "configure: failed program was:" >&5 |
6120 cat conftest.$ac_ext >&5 | 6121 cat conftest.$ac_ext >&5 |
6134 fi | 6135 fi |
6135 | 6136 |
6136 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6137 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6137 | 6138 |
6138 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6139 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6139 echo "configure:6140: checking for dnet_ntoa in -ldnet_stub" >&5 | 6140 echo "configure:6141: checking for dnet_ntoa in -ldnet_stub" >&5 |
6140 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6141 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6141 | 6142 |
6142 xe_check_libs=" -ldnet_stub " | 6143 xe_check_libs=" -ldnet_stub " |
6143 cat > conftest.$ac_ext <<EOF | 6144 cat > conftest.$ac_ext <<EOF |
6144 #line 6145 "configure" | 6145 #line 6146 "configure" |
6145 #include "confdefs.h" | 6146 #include "confdefs.h" |
6146 /* Override any gcc2 internal prototype to avoid an error. */ | 6147 /* Override any gcc2 internal prototype to avoid an error. */ |
6147 /* We use char because int might match the return type of a gcc2 | 6148 /* We use char because int might match the return type of a gcc2 |
6148 builtin and then its argument prototype would still apply. */ | 6149 builtin and then its argument prototype would still apply. */ |
6149 char dnet_ntoa(); | 6150 char dnet_ntoa(); |
6150 | 6151 |
6151 int main() { | 6152 int main() { |
6152 dnet_ntoa() | 6153 dnet_ntoa() |
6153 ; return 0; } | 6154 ; return 0; } |
6154 EOF | 6155 EOF |
6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6156 rm -rf conftest* | 6157 rm -rf conftest* |
6157 eval "ac_cv_lib_$ac_lib_var=yes" | 6158 eval "ac_cv_lib_$ac_lib_var=yes" |
6158 else | 6159 else |
6159 echo "configure: failed program was:" >&5 | 6160 echo "configure: failed program was:" >&5 |
6160 cat conftest.$ac_ext >&5 | 6161 cat conftest.$ac_ext >&5 |
6179 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6180 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6180 # needs -lnsl. | 6181 # needs -lnsl. |
6181 # The nsl library prevents programs from opening the X display | 6182 # The nsl library prevents programs from opening the X display |
6182 # on Irix 5.2, according to dickey@clark.net. | 6183 # on Irix 5.2, according to dickey@clark.net. |
6183 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6184 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6184 echo "configure:6185: checking for gethostbyname" >&5 | 6185 echo "configure:6186: checking for gethostbyname" >&5 |
6185 | 6186 |
6186 cat > conftest.$ac_ext <<EOF | 6187 cat > conftest.$ac_ext <<EOF |
6187 #line 6188 "configure" | 6188 #line 6189 "configure" |
6188 #include "confdefs.h" | 6189 #include "confdefs.h" |
6189 /* System header to define __stub macros and hopefully few prototypes, | 6190 /* System header to define __stub macros and hopefully few prototypes, |
6190 which can conflict with char gethostbyname(); below. */ | 6191 which can conflict with char gethostbyname(); below. */ |
6191 #include <assert.h> | 6192 #include <assert.h> |
6192 /* Override any gcc2 internal prototype to avoid an error. */ | 6193 /* Override any gcc2 internal prototype to avoid an error. */ |
6205 gethostbyname(); | 6206 gethostbyname(); |
6206 #endif | 6207 #endif |
6207 | 6208 |
6208 ; return 0; } | 6209 ; return 0; } |
6209 EOF | 6210 EOF |
6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6211 rm -rf conftest* | 6212 rm -rf conftest* |
6212 eval "ac_cv_func_gethostbyname=yes" | 6213 eval "ac_cv_func_gethostbyname=yes" |
6213 else | 6214 else |
6214 echo "configure: failed program was:" >&5 | 6215 echo "configure: failed program was:" >&5 |
6215 cat conftest.$ac_ext >&5 | 6216 cat conftest.$ac_ext >&5 |
6226 fi | 6227 fi |
6227 | 6228 |
6228 if test $ac_cv_func_gethostbyname = no; then | 6229 if test $ac_cv_func_gethostbyname = no; then |
6229 | 6230 |
6230 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6231 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6231 echo "configure:6232: checking for gethostbyname in -lnsl" >&5 | 6232 echo "configure:6233: checking for gethostbyname in -lnsl" >&5 |
6232 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6233 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6233 | 6234 |
6234 xe_check_libs=" -lnsl " | 6235 xe_check_libs=" -lnsl " |
6235 cat > conftest.$ac_ext <<EOF | 6236 cat > conftest.$ac_ext <<EOF |
6236 #line 6237 "configure" | 6237 #line 6238 "configure" |
6237 #include "confdefs.h" | 6238 #include "confdefs.h" |
6238 /* Override any gcc2 internal prototype to avoid an error. */ | 6239 /* Override any gcc2 internal prototype to avoid an error. */ |
6239 /* We use char because int might match the return type of a gcc2 | 6240 /* We use char because int might match the return type of a gcc2 |
6240 builtin and then its argument prototype would still apply. */ | 6241 builtin and then its argument prototype would still apply. */ |
6241 char gethostbyname(); | 6242 char gethostbyname(); |
6242 | 6243 |
6243 int main() { | 6244 int main() { |
6244 gethostbyname() | 6245 gethostbyname() |
6245 ; return 0; } | 6246 ; return 0; } |
6246 EOF | 6247 EOF |
6247 if { (eval echo configure:6248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6248 rm -rf conftest* | 6249 rm -rf conftest* |
6249 eval "ac_cv_lib_$ac_lib_var=yes" | 6250 eval "ac_cv_lib_$ac_lib_var=yes" |
6250 else | 6251 else |
6251 echo "configure: failed program was:" >&5 | 6252 echo "configure: failed program was:" >&5 |
6252 cat conftest.$ac_ext >&5 | 6253 cat conftest.$ac_ext >&5 |
6272 # on later versions), says simon@lia.di.epfl.ch: it contains | 6273 # on later versions), says simon@lia.di.epfl.ch: it contains |
6273 # gethostby* variants that don't use the nameserver (or something). | 6274 # gethostby* variants that don't use the nameserver (or something). |
6274 # -lsocket must be given before -lnsl if both are needed. | 6275 # -lsocket must be given before -lnsl if both are needed. |
6275 # We assume that if connect needs -lnsl, so does gethostbyname. | 6276 # We assume that if connect needs -lnsl, so does gethostbyname. |
6276 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6277 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6277 echo "configure:6278: checking for connect" >&5 | 6278 echo "configure:6279: checking for connect" >&5 |
6278 | 6279 |
6279 cat > conftest.$ac_ext <<EOF | 6280 cat > conftest.$ac_ext <<EOF |
6280 #line 6281 "configure" | 6281 #line 6282 "configure" |
6281 #include "confdefs.h" | 6282 #include "confdefs.h" |
6282 /* System header to define __stub macros and hopefully few prototypes, | 6283 /* System header to define __stub macros and hopefully few prototypes, |
6283 which can conflict with char connect(); below. */ | 6284 which can conflict with char connect(); below. */ |
6284 #include <assert.h> | 6285 #include <assert.h> |
6285 /* Override any gcc2 internal prototype to avoid an error. */ | 6286 /* Override any gcc2 internal prototype to avoid an error. */ |
6298 connect(); | 6299 connect(); |
6299 #endif | 6300 #endif |
6300 | 6301 |
6301 ; return 0; } | 6302 ; return 0; } |
6302 EOF | 6303 EOF |
6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6304 rm -rf conftest* | 6305 rm -rf conftest* |
6305 eval "ac_cv_func_connect=yes" | 6306 eval "ac_cv_func_connect=yes" |
6306 else | 6307 else |
6307 echo "configure: failed program was:" >&5 | 6308 echo "configure: failed program was:" >&5 |
6308 cat conftest.$ac_ext >&5 | 6309 cat conftest.$ac_ext >&5 |
6321 if test $ac_cv_func_connect = no; then | 6322 if test $ac_cv_func_connect = no; then |
6322 | 6323 |
6323 xe_msg_checking="for connect in -lsocket" | 6324 xe_msg_checking="for connect in -lsocket" |
6324 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6325 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6325 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6326 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6326 echo "configure:6327: checking "$xe_msg_checking"" >&5 | 6327 echo "configure:6328: checking "$xe_msg_checking"" >&5 |
6327 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6328 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6328 | 6329 |
6329 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6330 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6330 cat > conftest.$ac_ext <<EOF | 6331 cat > conftest.$ac_ext <<EOF |
6331 #line 6332 "configure" | 6332 #line 6333 "configure" |
6332 #include "confdefs.h" | 6333 #include "confdefs.h" |
6333 /* Override any gcc2 internal prototype to avoid an error. */ | 6334 /* Override any gcc2 internal prototype to avoid an error. */ |
6334 /* We use char because int might match the return type of a gcc2 | 6335 /* We use char because int might match the return type of a gcc2 |
6335 builtin and then its argument prototype would still apply. */ | 6336 builtin and then its argument prototype would still apply. */ |
6336 char connect(); | 6337 char connect(); |
6337 | 6338 |
6338 int main() { | 6339 int main() { |
6339 connect() | 6340 connect() |
6340 ; return 0; } | 6341 ; return 0; } |
6341 EOF | 6342 EOF |
6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6343 if { (eval echo configure:6344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6343 rm -rf conftest* | 6344 rm -rf conftest* |
6344 eval "ac_cv_lib_$ac_lib_var=yes" | 6345 eval "ac_cv_lib_$ac_lib_var=yes" |
6345 else | 6346 else |
6346 echo "configure: failed program was:" >&5 | 6347 echo "configure: failed program was:" >&5 |
6347 cat conftest.$ac_ext >&5 | 6348 cat conftest.$ac_ext >&5 |
6361 | 6362 |
6362 fi | 6363 fi |
6363 | 6364 |
6364 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6365 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6365 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6366 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6366 echo "configure:6367: checking for remove" >&5 | 6367 echo "configure:6368: checking for remove" >&5 |
6367 | 6368 |
6368 cat > conftest.$ac_ext <<EOF | 6369 cat > conftest.$ac_ext <<EOF |
6369 #line 6370 "configure" | 6370 #line 6371 "configure" |
6370 #include "confdefs.h" | 6371 #include "confdefs.h" |
6371 /* System header to define __stub macros and hopefully few prototypes, | 6372 /* System header to define __stub macros and hopefully few prototypes, |
6372 which can conflict with char remove(); below. */ | 6373 which can conflict with char remove(); below. */ |
6373 #include <assert.h> | 6374 #include <assert.h> |
6374 /* Override any gcc2 internal prototype to avoid an error. */ | 6375 /* Override any gcc2 internal prototype to avoid an error. */ |
6387 remove(); | 6388 remove(); |
6388 #endif | 6389 #endif |
6389 | 6390 |
6390 ; return 0; } | 6391 ; return 0; } |
6391 EOF | 6392 EOF |
6392 if { (eval echo configure:6393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6393 if { (eval echo configure:6394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6393 rm -rf conftest* | 6394 rm -rf conftest* |
6394 eval "ac_cv_func_remove=yes" | 6395 eval "ac_cv_func_remove=yes" |
6395 else | 6396 else |
6396 echo "configure: failed program was:" >&5 | 6397 echo "configure: failed program was:" >&5 |
6397 cat conftest.$ac_ext >&5 | 6398 cat conftest.$ac_ext >&5 |
6408 fi | 6409 fi |
6409 | 6410 |
6410 if test $ac_cv_func_remove = no; then | 6411 if test $ac_cv_func_remove = no; then |
6411 | 6412 |
6412 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6413 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6413 echo "configure:6414: checking for remove in -lposix" >&5 | 6414 echo "configure:6415: checking for remove in -lposix" >&5 |
6414 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6415 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6415 | 6416 |
6416 xe_check_libs=" -lposix " | 6417 xe_check_libs=" -lposix " |
6417 cat > conftest.$ac_ext <<EOF | 6418 cat > conftest.$ac_ext <<EOF |
6418 #line 6419 "configure" | 6419 #line 6420 "configure" |
6419 #include "confdefs.h" | 6420 #include "confdefs.h" |
6420 /* Override any gcc2 internal prototype to avoid an error. */ | 6421 /* Override any gcc2 internal prototype to avoid an error. */ |
6421 /* We use char because int might match the return type of a gcc2 | 6422 /* We use char because int might match the return type of a gcc2 |
6422 builtin and then its argument prototype would still apply. */ | 6423 builtin and then its argument prototype would still apply. */ |
6423 char remove(); | 6424 char remove(); |
6424 | 6425 |
6425 int main() { | 6426 int main() { |
6426 remove() | 6427 remove() |
6427 ; return 0; } | 6428 ; return 0; } |
6428 EOF | 6429 EOF |
6429 if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6430 rm -rf conftest* | 6431 rm -rf conftest* |
6431 eval "ac_cv_lib_$ac_lib_var=yes" | 6432 eval "ac_cv_lib_$ac_lib_var=yes" |
6432 else | 6433 else |
6433 echo "configure: failed program was:" >&5 | 6434 echo "configure: failed program was:" >&5 |
6434 cat conftest.$ac_ext >&5 | 6435 cat conftest.$ac_ext >&5 |
6448 | 6449 |
6449 fi | 6450 fi |
6450 | 6451 |
6451 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6452 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6452 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6453 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6453 echo "configure:6454: checking for shmat" >&5 | 6454 echo "configure:6455: checking for shmat" >&5 |
6454 | 6455 |
6455 cat > conftest.$ac_ext <<EOF | 6456 cat > conftest.$ac_ext <<EOF |
6456 #line 6457 "configure" | 6457 #line 6458 "configure" |
6457 #include "confdefs.h" | 6458 #include "confdefs.h" |
6458 /* System header to define __stub macros and hopefully few prototypes, | 6459 /* System header to define __stub macros and hopefully few prototypes, |
6459 which can conflict with char shmat(); below. */ | 6460 which can conflict with char shmat(); below. */ |
6460 #include <assert.h> | 6461 #include <assert.h> |
6461 /* Override any gcc2 internal prototype to avoid an error. */ | 6462 /* Override any gcc2 internal prototype to avoid an error. */ |
6474 shmat(); | 6475 shmat(); |
6475 #endif | 6476 #endif |
6476 | 6477 |
6477 ; return 0; } | 6478 ; return 0; } |
6478 EOF | 6479 EOF |
6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6480 if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6480 rm -rf conftest* | 6481 rm -rf conftest* |
6481 eval "ac_cv_func_shmat=yes" | 6482 eval "ac_cv_func_shmat=yes" |
6482 else | 6483 else |
6483 echo "configure: failed program was:" >&5 | 6484 echo "configure: failed program was:" >&5 |
6484 cat conftest.$ac_ext >&5 | 6485 cat conftest.$ac_ext >&5 |
6495 fi | 6496 fi |
6496 | 6497 |
6497 if test $ac_cv_func_shmat = no; then | 6498 if test $ac_cv_func_shmat = no; then |
6498 | 6499 |
6499 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6500 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6500 echo "configure:6501: checking for shmat in -lipc" >&5 | 6501 echo "configure:6502: checking for shmat in -lipc" >&5 |
6501 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6502 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6502 | 6503 |
6503 xe_check_libs=" -lipc " | 6504 xe_check_libs=" -lipc " |
6504 cat > conftest.$ac_ext <<EOF | 6505 cat > conftest.$ac_ext <<EOF |
6505 #line 6506 "configure" | 6506 #line 6507 "configure" |
6506 #include "confdefs.h" | 6507 #include "confdefs.h" |
6507 /* Override any gcc2 internal prototype to avoid an error. */ | 6508 /* Override any gcc2 internal prototype to avoid an error. */ |
6508 /* We use char because int might match the return type of a gcc2 | 6509 /* We use char because int might match the return type of a gcc2 |
6509 builtin and then its argument prototype would still apply. */ | 6510 builtin and then its argument prototype would still apply. */ |
6510 char shmat(); | 6511 char shmat(); |
6511 | 6512 |
6512 int main() { | 6513 int main() { |
6513 shmat() | 6514 shmat() |
6514 ; return 0; } | 6515 ; return 0; } |
6515 EOF | 6516 EOF |
6516 if { (eval echo configure:6517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6517 if { (eval echo configure:6518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6517 rm -rf conftest* | 6518 rm -rf conftest* |
6518 eval "ac_cv_lib_$ac_lib_var=yes" | 6519 eval "ac_cv_lib_$ac_lib_var=yes" |
6519 else | 6520 else |
6520 echo "configure: failed program was:" >&5 | 6521 echo "configure: failed program was:" >&5 |
6521 cat conftest.$ac_ext >&5 | 6522 cat conftest.$ac_ext >&5 |
6547 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6548 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6548 | 6549 |
6549 xe_msg_checking="for IceConnectionNumber in -lICE" | 6550 xe_msg_checking="for IceConnectionNumber in -lICE" |
6550 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6551 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6551 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6552 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6552 echo "configure:6553: checking "$xe_msg_checking"" >&5 | 6553 echo "configure:6554: checking "$xe_msg_checking"" >&5 |
6553 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6554 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6554 | 6555 |
6555 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6556 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6556 cat > conftest.$ac_ext <<EOF | 6557 cat > conftest.$ac_ext <<EOF |
6557 #line 6558 "configure" | 6558 #line 6559 "configure" |
6558 #include "confdefs.h" | 6559 #include "confdefs.h" |
6559 /* Override any gcc2 internal prototype to avoid an error. */ | 6560 /* Override any gcc2 internal prototype to avoid an error. */ |
6560 /* We use char because int might match the return type of a gcc2 | 6561 /* We use char because int might match the return type of a gcc2 |
6561 builtin and then its argument prototype would still apply. */ | 6562 builtin and then its argument prototype would still apply. */ |
6562 char IceConnectionNumber(); | 6563 char IceConnectionNumber(); |
6563 | 6564 |
6564 int main() { | 6565 int main() { |
6565 IceConnectionNumber() | 6566 IceConnectionNumber() |
6566 ; return 0; } | 6567 ; return 0; } |
6567 EOF | 6568 EOF |
6568 if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6569 if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6569 rm -rf conftest* | 6570 rm -rf conftest* |
6570 eval "ac_cv_lib_$ac_lib_var=yes" | 6571 eval "ac_cv_lib_$ac_lib_var=yes" |
6571 else | 6572 else |
6572 echo "configure: failed program was:" >&5 | 6573 echo "configure: failed program was:" >&5 |
6573 cat conftest.$ac_ext >&5 | 6574 cat conftest.$ac_ext >&5 |
6609 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6610 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6610 | 6611 |
6611 | 6612 |
6612 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6613 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6613 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6614 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6614 echo "configure:6615: checking for Xm/Xm.h" >&5 | 6615 echo "configure:6616: checking for Xm/Xm.h" >&5 |
6615 | 6616 |
6616 cat > conftest.$ac_ext <<EOF | 6617 cat > conftest.$ac_ext <<EOF |
6617 #line 6618 "configure" | 6618 #line 6619 "configure" |
6618 #include "confdefs.h" | 6619 #include "confdefs.h" |
6619 #include <Xm/Xm.h> | 6620 #include <Xm/Xm.h> |
6620 EOF | 6621 EOF |
6621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6622 { (eval echo configure:6623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6623 { (eval echo configure:6624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6624 if test -z "$ac_err"; then | 6625 if test -z "$ac_err"; then |
6625 rm -rf conftest* | 6626 rm -rf conftest* |
6626 eval "ac_cv_header_$ac_safe=yes" | 6627 eval "ac_cv_header_$ac_safe=yes" |
6627 else | 6628 else |
6634 rm -f conftest* | 6635 rm -f conftest* |
6635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6636 echo "$ac_t""yes" 1>&6 | 6637 echo "$ac_t""yes" 1>&6 |
6637 | 6638 |
6638 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6639 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6639 echo "configure:6640: checking for XmStringFree in -lXm" >&5 | 6640 echo "configure:6641: checking for XmStringFree in -lXm" >&5 |
6640 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6641 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6641 | 6642 |
6642 xe_check_libs=" -lXm " | 6643 xe_check_libs=" -lXm " |
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 XmStringFree(); | 6650 char XmStringFree(); |
6650 | 6651 |
6651 int main() { | 6652 int main() { |
6652 XmStringFree() | 6653 XmStringFree() |
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 |
6802 EOF | 6803 EOF |
6803 } | 6804 } |
6804 | 6805 |
6805 | 6806 |
6806 echo "checking for X defines extracted by xmkmf" 1>&6 | 6807 echo "checking for X defines extracted by xmkmf" 1>&6 |
6807 echo "configure:6808: checking for X defines extracted by xmkmf" >&5 | 6808 echo "configure:6809: checking for X defines extracted by xmkmf" >&5 |
6808 rm -fr conftestdir | 6809 rm -fr conftestdir |
6809 if mkdir conftestdir; then | 6810 if mkdir conftestdir; then |
6810 cd conftestdir | 6811 cd conftestdir |
6811 cat > Imakefile <<'EOF' | 6812 cat > Imakefile <<'EOF' |
6812 xetest: | 6813 xetest: |
6851 done | 6852 done |
6852 fi | 6853 fi |
6853 | 6854 |
6854 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6855 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6855 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6856 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6856 echo "configure:6857: checking for X11/Intrinsic.h" >&5 | 6857 echo "configure:6858: checking for X11/Intrinsic.h" >&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 <X11/Intrinsic.h> | 6862 #include <X11/Intrinsic.h> |
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 |
6883 fi | 6884 fi |
6884 | 6885 |
6885 | 6886 |
6886 | 6887 |
6887 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6888 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6888 echo "configure:6889: checking for XOpenDisplay in -lX11" >&5 | 6889 echo "configure:6890: checking for XOpenDisplay in -lX11" >&5 |
6889 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6890 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6890 | 6891 |
6891 xe_check_libs=" -lX11 " | 6892 xe_check_libs=" -lX11 " |
6892 cat > conftest.$ac_ext <<EOF | 6893 cat > conftest.$ac_ext <<EOF |
6893 #line 6894 "configure" | 6894 #line 6895 "configure" |
6894 #include "confdefs.h" | 6895 #include "confdefs.h" |
6895 /* Override any gcc2 internal prototype to avoid an error. */ | 6896 /* Override any gcc2 internal prototype to avoid an error. */ |
6896 /* We use char because int might match the return type of a gcc2 | 6897 /* We use char because int might match the return type of a gcc2 |
6897 builtin and then its argument prototype would still apply. */ | 6898 builtin and then its argument prototype would still apply. */ |
6898 char XOpenDisplay(); | 6899 char XOpenDisplay(); |
6899 | 6900 |
6900 int main() { | 6901 int main() { |
6901 XOpenDisplay() | 6902 XOpenDisplay() |
6902 ; return 0; } | 6903 ; return 0; } |
6903 EOF | 6904 EOF |
6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6905 rm -rf conftest* | 6906 rm -rf conftest* |
6906 eval "ac_cv_lib_$ac_lib_var=yes" | 6907 eval "ac_cv_lib_$ac_lib_var=yes" |
6907 else | 6908 else |
6908 echo "configure: failed program was:" >&5 | 6909 echo "configure: failed program was:" >&5 |
6909 cat conftest.$ac_ext >&5 | 6910 cat conftest.$ac_ext >&5 |
6924 if test "$have_lib_x11" != "yes"; then | 6925 if test "$have_lib_x11" != "yes"; then |
6925 | 6926 |
6926 xe_msg_checking="for XGetFontProperty in -lX11" | 6927 xe_msg_checking="for XGetFontProperty in -lX11" |
6927 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6928 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6928 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6929 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6929 echo "configure:6930: checking "$xe_msg_checking"" >&5 | 6930 echo "configure:6931: checking "$xe_msg_checking"" >&5 |
6930 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6931 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6931 | 6932 |
6932 xe_check_libs=" -lX11 -b i486-linuxaout" | 6933 xe_check_libs=" -lX11 -b i486-linuxaout" |
6933 cat > conftest.$ac_ext <<EOF | 6934 cat > conftest.$ac_ext <<EOF |
6934 #line 6935 "configure" | 6935 #line 6936 "configure" |
6935 #include "confdefs.h" | 6936 #include "confdefs.h" |
6936 /* Override any gcc2 internal prototype to avoid an error. */ | 6937 /* Override any gcc2 internal prototype to avoid an error. */ |
6937 /* We use char because int might match the return type of a gcc2 | 6938 /* We use char because int might match the return type of a gcc2 |
6938 builtin and then its argument prototype would still apply. */ | 6939 builtin and then its argument prototype would still apply. */ |
6939 char XGetFontProperty(); | 6940 char XGetFontProperty(); |
6940 | 6941 |
6941 int main() { | 6942 int main() { |
6942 XGetFontProperty() | 6943 XGetFontProperty() |
6943 ; return 0; } | 6944 ; return 0; } |
6944 EOF | 6945 EOF |
6945 if { (eval echo configure:6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6946 if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6946 rm -rf conftest* | 6947 rm -rf conftest* |
6947 eval "ac_cv_lib_$ac_lib_var=yes" | 6948 eval "ac_cv_lib_$ac_lib_var=yes" |
6948 else | 6949 else |
6949 echo "configure: failed program was:" >&5 | 6950 echo "configure: failed program was:" >&5 |
6950 cat conftest.$ac_ext >&5 | 6951 cat conftest.$ac_ext >&5 |
6967 libs_x="-lX11" | 6968 libs_x="-lX11" |
6968 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6969 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6969 | 6970 |
6970 | 6971 |
6971 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6972 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6972 echo "configure:6973: checking for XShapeSelectInput in -lXext" >&5 | 6973 echo "configure:6974: checking for XShapeSelectInput in -lXext" >&5 |
6973 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6974 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6974 | 6975 |
6975 xe_check_libs=" -lXext " | 6976 xe_check_libs=" -lXext " |
6976 cat > conftest.$ac_ext <<EOF | 6977 cat > conftest.$ac_ext <<EOF |
6977 #line 6978 "configure" | 6978 #line 6979 "configure" |
6978 #include "confdefs.h" | 6979 #include "confdefs.h" |
6979 /* Override any gcc2 internal prototype to avoid an error. */ | 6980 /* Override any gcc2 internal prototype to avoid an error. */ |
6980 /* We use char because int might match the return type of a gcc2 | 6981 /* We use char because int might match the return type of a gcc2 |
6981 builtin and then its argument prototype would still apply. */ | 6982 builtin and then its argument prototype would still apply. */ |
6982 char XShapeSelectInput(); | 6983 char XShapeSelectInput(); |
6983 | 6984 |
6984 int main() { | 6985 int main() { |
6985 XShapeSelectInput() | 6986 XShapeSelectInput() |
6986 ; return 0; } | 6987 ; return 0; } |
6987 EOF | 6988 EOF |
6988 if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6989 rm -rf conftest* | 6990 rm -rf conftest* |
6990 eval "ac_cv_lib_$ac_lib_var=yes" | 6991 eval "ac_cv_lib_$ac_lib_var=yes" |
6991 else | 6992 else |
6992 echo "configure: failed program was:" >&5 | 6993 echo "configure: failed program was:" >&5 |
6993 cat conftest.$ac_ext >&5 | 6994 cat conftest.$ac_ext >&5 |
7006 | 7007 |
7007 | 7008 |
7008 | 7009 |
7009 | 7010 |
7010 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7011 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7011 echo "configure:7012: checking for XtOpenDisplay in -lXt" >&5 | 7012 echo "configure:7013: checking for XtOpenDisplay in -lXt" >&5 |
7012 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7013 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7013 | 7014 |
7014 xe_check_libs=" -lXt " | 7015 xe_check_libs=" -lXt " |
7015 cat > conftest.$ac_ext <<EOF | 7016 cat > conftest.$ac_ext <<EOF |
7016 #line 7017 "configure" | 7017 #line 7018 "configure" |
7017 #include "confdefs.h" | 7018 #include "confdefs.h" |
7018 /* Override any gcc2 internal prototype to avoid an error. */ | 7019 /* Override any gcc2 internal prototype to avoid an error. */ |
7019 /* We use char because int might match the return type of a gcc2 | 7020 /* We use char because int might match the return type of a gcc2 |
7020 builtin and then its argument prototype would still apply. */ | 7021 builtin and then its argument prototype would still apply. */ |
7021 char XtOpenDisplay(); | 7022 char XtOpenDisplay(); |
7022 | 7023 |
7023 int main() { | 7024 int main() { |
7024 XtOpenDisplay() | 7025 XtOpenDisplay() |
7025 ; return 0; } | 7026 ; return 0; } |
7026 EOF | 7027 EOF |
7027 if { (eval echo configure:7028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7028 if { (eval echo configure:7029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7028 rm -rf conftest* | 7029 rm -rf conftest* |
7029 eval "ac_cv_lib_$ac_lib_var=yes" | 7030 eval "ac_cv_lib_$ac_lib_var=yes" |
7030 else | 7031 else |
7031 echo "configure: failed program was:" >&5 | 7032 echo "configure: failed program was:" >&5 |
7032 cat conftest.$ac_ext >&5 | 7033 cat conftest.$ac_ext >&5 |
7045 fi | 7046 fi |
7046 | 7047 |
7047 | 7048 |
7048 | 7049 |
7049 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7050 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7050 echo "configure:7051: checking the version of X11 being used" >&5 | 7051 echo "configure:7052: checking the version of X11 being used" >&5 |
7051 cat > conftest.$ac_ext <<EOF | 7052 cat > conftest.$ac_ext <<EOF |
7052 #line 7053 "configure" | 7053 #line 7054 "configure" |
7053 #include "confdefs.h" | 7054 #include "confdefs.h" |
7054 #include <X11/Intrinsic.h> | 7055 #include <X11/Intrinsic.h> |
7055 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7056 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7056 EOF | 7057 EOF |
7057 if { (eval echo configure:7058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7058 if { (eval echo configure:7059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7058 then | 7059 then |
7059 ./conftest foobar; x11_release=$? | 7060 ./conftest foobar; x11_release=$? |
7060 else | 7061 else |
7061 conftest_rc="$?" | 7062 conftest_rc="$?" |
7062 echo "configure: failed program was:" >&5 | 7063 echo "configure: failed program was:" >&5 |
7083 fi | 7084 fi |
7084 | 7085 |
7085 for ac_func in XConvertCase | 7086 for ac_func in XConvertCase |
7086 do | 7087 do |
7087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7088 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7088 echo "configure:7089: checking for $ac_func" >&5 | 7089 echo "configure:7090: checking for $ac_func" >&5 |
7089 | 7090 |
7090 cat > conftest.$ac_ext <<EOF | 7091 cat > conftest.$ac_ext <<EOF |
7091 #line 7092 "configure" | 7092 #line 7093 "configure" |
7092 #include "confdefs.h" | 7093 #include "confdefs.h" |
7093 /* System header to define __stub macros and hopefully few prototypes, | 7094 /* System header to define __stub macros and hopefully few prototypes, |
7094 which can conflict with char $ac_func(); below. */ | 7095 which can conflict with char $ac_func(); below. */ |
7095 #include <assert.h> | 7096 #include <assert.h> |
7096 /* Override any gcc2 internal prototype to avoid an error. */ | 7097 /* Override any gcc2 internal prototype to avoid an error. */ |
7109 $ac_func(); | 7110 $ac_func(); |
7110 #endif | 7111 #endif |
7111 | 7112 |
7112 ; return 0; } | 7113 ; return 0; } |
7113 EOF | 7114 EOF |
7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7115 rm -rf conftest* | 7116 rm -rf conftest* |
7116 eval "ac_cv_func_$ac_func=yes" | 7117 eval "ac_cv_func_$ac_func=yes" |
7117 else | 7118 else |
7118 echo "configure: failed program was:" >&5 | 7119 echo "configure: failed program was:" >&5 |
7119 cat conftest.$ac_ext >&5 | 7120 cat conftest.$ac_ext >&5 |
7141 | 7142 |
7142 for ac_hdr in X11/Xlocale.h | 7143 for ac_hdr in X11/Xlocale.h |
7143 do | 7144 do |
7144 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7146 echo "configure:7147: checking for $ac_hdr" >&5 | 7147 echo "configure:7148: checking for $ac_hdr" >&5 |
7147 | 7148 |
7148 cat > conftest.$ac_ext <<EOF | 7149 cat > conftest.$ac_ext <<EOF |
7149 #line 7150 "configure" | 7150 #line 7151 "configure" |
7150 #include "confdefs.h" | 7151 #include "confdefs.h" |
7151 #include <$ac_hdr> | 7152 #include <$ac_hdr> |
7152 EOF | 7153 EOF |
7153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7154 { (eval echo configure:7155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7155 { (eval echo configure:7156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7156 if test -z "$ac_err"; then | 7157 if test -z "$ac_err"; then |
7157 rm -rf conftest* | 7158 rm -rf conftest* |
7158 eval "ac_cv_header_$ac_safe=yes" | 7159 eval "ac_cv_header_$ac_safe=yes" |
7159 else | 7160 else |
7182 | 7183 |
7183 | 7184 |
7184 for ac_func in XRegisterIMInstantiateCallback | 7185 for ac_func in XRegisterIMInstantiateCallback |
7185 do | 7186 do |
7186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7187 echo "configure:7188: checking for $ac_func" >&5 | 7188 echo "configure:7189: checking for $ac_func" >&5 |
7188 | 7189 |
7189 cat > conftest.$ac_ext <<EOF | 7190 cat > conftest.$ac_ext <<EOF |
7190 #line 7191 "configure" | 7191 #line 7192 "configure" |
7191 #include "confdefs.h" | 7192 #include "confdefs.h" |
7192 /* System header to define __stub macros and hopefully few prototypes, | 7193 /* System header to define __stub macros and hopefully few prototypes, |
7193 which can conflict with char $ac_func(); below. */ | 7194 which can conflict with char $ac_func(); below. */ |
7194 #include <assert.h> | 7195 #include <assert.h> |
7195 /* Override any gcc2 internal prototype to avoid an error. */ | 7196 /* Override any gcc2 internal prototype to avoid an error. */ |
7208 $ac_func(); | 7209 $ac_func(); |
7209 #endif | 7210 #endif |
7210 | 7211 |
7211 ; return 0; } | 7212 ; return 0; } |
7212 EOF | 7213 EOF |
7213 if { (eval echo configure:7214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7214 if { (eval echo configure:7215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7214 rm -rf conftest* | 7215 rm -rf conftest* |
7215 eval "ac_cv_func_$ac_func=yes" | 7216 eval "ac_cv_func_$ac_func=yes" |
7216 else | 7217 else |
7217 echo "configure: failed program was:" >&5 | 7218 echo "configure: failed program was:" >&5 |
7218 cat conftest.$ac_ext >&5 | 7219 cat conftest.$ac_ext >&5 |
7236 echo "$ac_t""no" 1>&6 | 7237 echo "$ac_t""no" 1>&6 |
7237 fi | 7238 fi |
7238 done | 7239 done |
7239 | 7240 |
7240 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7241 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7241 echo "configure:7242: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7242 echo "configure:7243: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7242 cat > conftest.$ac_ext <<EOF | 7243 cat > conftest.$ac_ext <<EOF |
7243 #line 7244 "configure" | 7244 #line 7245 "configure" |
7244 #include "confdefs.h" | 7245 #include "confdefs.h" |
7245 | 7246 |
7246 #define NeedFunctionPrototypes 1 | 7247 #define NeedFunctionPrototypes 1 |
7247 #include <X11/Xlib.h> | 7248 #include <X11/Xlib.h> |
7248 extern Bool XRegisterIMInstantiateCallback( | 7249 extern Bool XRegisterIMInstantiateCallback( |
7250 | 7251 |
7251 int main() { | 7252 int main() { |
7252 | 7253 |
7253 ; return 0; } | 7254 ; return 0; } |
7254 EOF | 7255 EOF |
7255 if { (eval echo configure:7256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7256 if { (eval echo configure:7257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7256 rm -rf conftest* | 7257 rm -rf conftest* |
7257 echo "$ac_t""yes" 1>&6 | 7258 echo "$ac_t""yes" 1>&6 |
7258 else | 7259 else |
7259 echo "configure: failed program was:" >&5 | 7260 echo "configure: failed program was:" >&5 |
7260 cat conftest.$ac_ext >&5 | 7261 cat conftest.$ac_ext >&5 |
7271 fi | 7272 fi |
7272 rm -f conftest* | 7273 rm -f conftest* |
7273 | 7274 |
7274 test -z "$with_xmu" && { | 7275 test -z "$with_xmu" && { |
7275 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7276 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7276 echo "configure:7277: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7277 echo "configure:7278: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7277 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7278 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7278 | 7279 |
7279 xe_check_libs=" -lXmu " | 7280 xe_check_libs=" -lXmu " |
7280 cat > conftest.$ac_ext <<EOF | 7281 cat > conftest.$ac_ext <<EOF |
7281 #line 7282 "configure" | 7282 #line 7283 "configure" |
7282 #include "confdefs.h" | 7283 #include "confdefs.h" |
7283 /* Override any gcc2 internal prototype to avoid an error. */ | 7284 /* Override any gcc2 internal prototype to avoid an error. */ |
7284 /* We use char because int might match the return type of a gcc2 | 7285 /* We use char because int might match the return type of a gcc2 |
7285 builtin and then its argument prototype would still apply. */ | 7286 builtin and then its argument prototype would still apply. */ |
7286 char XmuReadBitmapDataFromFile(); | 7287 char XmuReadBitmapDataFromFile(); |
7287 | 7288 |
7288 int main() { | 7289 int main() { |
7289 XmuReadBitmapDataFromFile() | 7290 XmuReadBitmapDataFromFile() |
7290 ; return 0; } | 7291 ; return 0; } |
7291 EOF | 7292 EOF |
7292 if { (eval echo configure:7293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7293 if { (eval echo configure:7294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7293 rm -rf conftest* | 7294 rm -rf conftest* |
7294 eval "ac_cv_lib_$ac_lib_var=yes" | 7295 eval "ac_cv_lib_$ac_lib_var=yes" |
7295 else | 7296 else |
7296 echo "configure: failed program was:" >&5 | 7297 echo "configure: failed program was:" >&5 |
7297 cat conftest.$ac_ext >&5 | 7298 cat conftest.$ac_ext >&5 |
7326 | 7327 |
7327 fi | 7328 fi |
7328 | 7329 |
7329 | 7330 |
7330 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7331 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7331 echo "configure:7332: checking for main in -lXbsd" >&5 | 7332 echo "configure:7333: checking for main in -lXbsd" >&5 |
7332 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7333 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7333 | 7334 |
7334 xe_check_libs=" -lXbsd " | 7335 xe_check_libs=" -lXbsd " |
7335 cat > conftest.$ac_ext <<EOF | 7336 cat > conftest.$ac_ext <<EOF |
7336 #line 7337 "configure" | 7337 #line 7338 "configure" |
7337 #include "confdefs.h" | 7338 #include "confdefs.h" |
7338 | 7339 |
7339 int main() { | 7340 int main() { |
7340 main() | 7341 main() |
7341 ; return 0; } | 7342 ; return 0; } |
7342 EOF | 7343 EOF |
7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7344 if { (eval echo configure:7345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7344 rm -rf conftest* | 7345 rm -rf conftest* |
7345 eval "ac_cv_lib_$ac_lib_var=yes" | 7346 eval "ac_cv_lib_$ac_lib_var=yes" |
7346 else | 7347 else |
7347 echo "configure: failed program was:" >&5 | 7348 echo "configure: failed program was:" >&5 |
7348 cat conftest.$ac_ext >&5 | 7349 cat conftest.$ac_ext >&5 |
7375 fi | 7376 fi |
7376 | 7377 |
7377 fi | 7378 fi |
7378 if test "$with_msw" != "no"; then | 7379 if test "$with_msw" != "no"; then |
7379 echo "checking for MS-Windows" 1>&6 | 7380 echo "checking for MS-Windows" 1>&6 |
7380 echo "configure:7381: checking for MS-Windows" >&5 | 7381 echo "configure:7382: checking for MS-Windows" >&5 |
7381 | 7382 |
7382 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7383 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7383 echo "configure:7384: checking for main in -lgdi32" >&5 | 7384 echo "configure:7385: checking for main in -lgdi32" >&5 |
7384 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7385 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7385 | 7386 |
7386 xe_check_libs=" -lgdi32 " | 7387 xe_check_libs=" -lgdi32 " |
7387 cat > conftest.$ac_ext <<EOF | 7388 cat > conftest.$ac_ext <<EOF |
7388 #line 7389 "configure" | 7389 #line 7390 "configure" |
7389 #include "confdefs.h" | 7390 #include "confdefs.h" |
7390 | 7391 |
7391 int main() { | 7392 int main() { |
7392 main() | 7393 main() |
7393 ; return 0; } | 7394 ; return 0; } |
7394 EOF | 7395 EOF |
7395 if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7396 if { (eval echo configure:7397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7396 rm -rf conftest* | 7397 rm -rf conftest* |
7397 eval "ac_cv_lib_$ac_lib_var=yes" | 7398 eval "ac_cv_lib_$ac_lib_var=yes" |
7398 else | 7399 else |
7399 echo "configure: failed program was:" >&5 | 7400 echo "configure: failed program was:" >&5 |
7400 cat conftest.$ac_ext >&5 | 7401 cat conftest.$ac_ext >&5 |
7441 test "$with_toolbars" != "no" && with_toolbars=msw | 7442 test "$with_toolbars" != "no" && with_toolbars=msw |
7442 test "$with_dialogs" != "no" && with_dialogs=msw | 7443 test "$with_dialogs" != "no" && with_dialogs=msw |
7443 test "$with_widgets" != "no" && with_widgets=msw | 7444 test "$with_widgets" != "no" && with_widgets=msw |
7444 fi | 7445 fi |
7445 cat > conftest.$ac_ext <<EOF | 7446 cat > conftest.$ac_ext <<EOF |
7446 #line 7447 "configure" | 7447 #line 7448 "configure" |
7447 #include "confdefs.h" | 7448 #include "confdefs.h" |
7448 #include <fcntl.h> | 7449 #include <fcntl.h> |
7449 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7450 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7450 EOF | 7451 EOF |
7451 if { (eval echo configure:7452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7452 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7452 then | 7453 then |
7453 { test "$extra_verbose" = "yes" && cat << \EOF | 7454 { test "$extra_verbose" = "yes" && cat << \EOF |
7454 Defining HAVE_MSG_SELECT | 7455 Defining HAVE_MSG_SELECT |
7455 EOF | 7456 EOF |
7456 cat >> confdefs.h <<\EOF | 7457 cat >> confdefs.h <<\EOF |
7507 fi | 7508 fi |
7508 | 7509 |
7509 if test "$with_x11" = "yes"; then | 7510 if test "$with_x11" = "yes"; then |
7510 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7511 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7511 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7512 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7512 echo "configure:7513: checking for X11/extensions/shape.h" >&5 | 7513 echo "configure:7514: checking for X11/extensions/shape.h" >&5 |
7513 | 7514 |
7514 cat > conftest.$ac_ext <<EOF | 7515 cat > conftest.$ac_ext <<EOF |
7515 #line 7516 "configure" | 7516 #line 7517 "configure" |
7516 #include "confdefs.h" | 7517 #include "confdefs.h" |
7517 #include <X11/extensions/shape.h> | 7518 #include <X11/extensions/shape.h> |
7518 EOF | 7519 EOF |
7519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7520 { (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7521 { (eval echo configure:7522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7522 if test -z "$ac_err"; then | 7523 if test -z "$ac_err"; then |
7523 rm -rf conftest* | 7524 rm -rf conftest* |
7524 eval "ac_cv_header_$ac_safe=yes" | 7525 eval "ac_cv_header_$ac_safe=yes" |
7525 else | 7526 else |
7565 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7566 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7566 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7567 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7567 esac | 7568 esac |
7568 | 7569 |
7569 echo "checking for WM_COMMAND option" 1>&6 | 7570 echo "checking for WM_COMMAND option" 1>&6 |
7570 echo "configure:7571: checking for WM_COMMAND option" >&5; | 7571 echo "configure:7572: checking for WM_COMMAND option" >&5; |
7571 if test "$with_wmcommand" != "no"; then | 7572 if test "$with_wmcommand" != "no"; then |
7572 { test "$extra_verbose" = "yes" && cat << \EOF | 7573 { test "$extra_verbose" = "yes" && cat << \EOF |
7573 Defining HAVE_WMCOMMAND | 7574 Defining HAVE_WMCOMMAND |
7574 EOF | 7575 EOF |
7575 cat >> confdefs.h <<\EOF | 7576 cat >> confdefs.h <<\EOF |
7580 fi | 7581 fi |
7581 | 7582 |
7582 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7583 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7583 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7584 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7584 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7585 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7585 echo "configure:7586: checking for X11/Xauth.h" >&5 | 7586 echo "configure:7587: checking for X11/Xauth.h" >&5 |
7586 | 7587 |
7587 cat > conftest.$ac_ext <<EOF | 7588 cat > conftest.$ac_ext <<EOF |
7588 #line 7589 "configure" | 7589 #line 7590 "configure" |
7589 #include "confdefs.h" | 7590 #include "confdefs.h" |
7590 #include <X11/Xauth.h> | 7591 #include <X11/Xauth.h> |
7591 EOF | 7592 EOF |
7592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7593 { (eval echo configure:7594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7594 { (eval echo configure:7595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7595 if test -z "$ac_err"; then | 7596 if test -z "$ac_err"; then |
7596 rm -rf conftest* | 7597 rm -rf conftest* |
7597 eval "ac_cv_header_$ac_safe=yes" | 7598 eval "ac_cv_header_$ac_safe=yes" |
7598 else | 7599 else |
7611 with_xauth=no | 7612 with_xauth=no |
7612 fi | 7613 fi |
7613 } | 7614 } |
7614 test -z "$with_xauth" && { | 7615 test -z "$with_xauth" && { |
7615 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7616 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7616 echo "configure:7617: checking for XauGetAuthByAddr in -lXau" >&5 | 7617 echo "configure:7618: checking for XauGetAuthByAddr in -lXau" >&5 |
7617 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7618 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7618 | 7619 |
7619 xe_check_libs=" -lXau " | 7620 xe_check_libs=" -lXau " |
7620 cat > conftest.$ac_ext <<EOF | 7621 cat > conftest.$ac_ext <<EOF |
7621 #line 7622 "configure" | 7622 #line 7623 "configure" |
7622 #include "confdefs.h" | 7623 #include "confdefs.h" |
7623 /* Override any gcc2 internal prototype to avoid an error. */ | 7624 /* Override any gcc2 internal prototype to avoid an error. */ |
7624 /* We use char because int might match the return type of a gcc2 | 7625 /* We use char because int might match the return type of a gcc2 |
7625 builtin and then its argument prototype would still apply. */ | 7626 builtin and then its argument prototype would still apply. */ |
7626 char XauGetAuthByAddr(); | 7627 char XauGetAuthByAddr(); |
7627 | 7628 |
7628 int main() { | 7629 int main() { |
7629 XauGetAuthByAddr() | 7630 XauGetAuthByAddr() |
7630 ; return 0; } | 7631 ; return 0; } |
7631 EOF | 7632 EOF |
7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7633 if { (eval echo configure:7634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7633 rm -rf conftest* | 7634 rm -rf conftest* |
7634 eval "ac_cv_lib_$ac_lib_var=yes" | 7635 eval "ac_cv_lib_$ac_lib_var=yes" |
7635 else | 7636 else |
7636 echo "configure: failed program was:" >&5 | 7637 echo "configure: failed program was:" >&5 |
7637 cat conftest.$ac_ext >&5 | 7638 cat conftest.$ac_ext >&5 |
7678 fi | 7679 fi |
7679 | 7680 |
7680 | 7681 |
7681 if test "$with_modules" != "no"; then | 7682 if test "$with_modules" != "no"; then |
7682 echo "checking for module support" 1>&6 | 7683 echo "checking for module support" 1>&6 |
7683 echo "configure:7684: checking for module support" >&5 | 7684 echo "configure:7685: checking for module support" >&5 |
7684 | 7685 |
7685 if test "$with_msw" = "yes"; then | 7686 if test "$with_msw" = "yes"; then |
7686 have_dl=yes; | 7687 have_dl=yes; |
7687 else | 7688 else |
7688 case "$opsys" in | 7689 case "$opsys" in |
7695 } | 7696 } |
7696 ;; | 7697 ;; |
7697 * ) | 7698 * ) |
7698 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7699 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7699 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7700 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7700 echo "configure:7701: checking for dlfcn.h" >&5 | 7701 echo "configure:7702: checking for dlfcn.h" >&5 |
7701 | 7702 |
7702 cat > conftest.$ac_ext <<EOF | 7703 cat > conftest.$ac_ext <<EOF |
7703 #line 7704 "configure" | 7704 #line 7705 "configure" |
7704 #include "confdefs.h" | 7705 #include "confdefs.h" |
7705 #include <dlfcn.h> | 7706 #include <dlfcn.h> |
7706 EOF | 7707 EOF |
7707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7708 { (eval echo configure:7709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7709 { (eval echo configure:7710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7710 if test -z "$ac_err"; then | 7711 if test -z "$ac_err"; then |
7711 rm -rf conftest* | 7712 rm -rf conftest* |
7712 eval "ac_cv_header_$ac_safe=yes" | 7713 eval "ac_cv_header_$ac_safe=yes" |
7713 else | 7714 else |
7720 rm -f conftest* | 7721 rm -f conftest* |
7721 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7722 echo "$ac_t""yes" 1>&6 | 7723 echo "$ac_t""yes" 1>&6 |
7723 | 7724 |
7724 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7725 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7725 echo "configure:7726: checking for dlopen in -lc" >&5 | 7726 echo "configure:7727: checking for dlopen in -lc" >&5 |
7726 cat > conftest.$ac_ext <<EOF | 7727 cat > conftest.$ac_ext <<EOF |
7727 #line 7728 "configure" | 7728 #line 7729 "configure" |
7728 #include "confdefs.h" | 7729 #include "confdefs.h" |
7729 #include <dlfcn.h> | 7730 #include <dlfcn.h> |
7730 int main() { | 7731 int main() { |
7731 dlopen ("", 0); | 7732 dlopen ("", 0); |
7732 ; return 0; } | 7733 ; return 0; } |
7733 EOF | 7734 EOF |
7734 if { (eval echo configure:7735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7735 if { (eval echo configure:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7735 rm -rf conftest* | 7736 rm -rf conftest* |
7736 have_dl=yes | 7737 have_dl=yes |
7737 else | 7738 else |
7738 echo "configure: failed program was:" >&5 | 7739 echo "configure: failed program was:" >&5 |
7739 cat conftest.$ac_ext >&5 | 7740 cat conftest.$ac_ext >&5 |
7740 rm -rf conftest* | 7741 rm -rf conftest* |
7741 | 7742 |
7742 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7743 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7743 echo "configure:7744: checking for dlopen in -ldl" >&5 | 7744 echo "configure:7745: checking for dlopen in -ldl" >&5 |
7744 ac_save_LIBS="$LIBS" | 7745 ac_save_LIBS="$LIBS" |
7745 LIBS="-ldl $LIBS" | 7746 LIBS="-ldl $LIBS" |
7746 cat > conftest.$ac_ext <<EOF | 7747 cat > conftest.$ac_ext <<EOF |
7747 #line 7748 "configure" | 7748 #line 7749 "configure" |
7748 #include "confdefs.h" | 7749 #include "confdefs.h" |
7749 #include <dlfcn.h> | 7750 #include <dlfcn.h> |
7750 int main() { | 7751 int main() { |
7751 dlopen ("", 0); | 7752 dlopen ("", 0); |
7752 ; return 0; } | 7753 ; return 0; } |
7753 EOF | 7754 EOF |
7754 if { (eval echo configure:7755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7755 rm -rf conftest* | 7756 rm -rf conftest* |
7756 have_dl=yes | 7757 have_dl=yes |
7757 else | 7758 else |
7758 echo "configure: failed program was:" >&5 | 7759 echo "configure: failed program was:" >&5 |
7759 cat conftest.$ac_ext >&5 | 7760 cat conftest.$ac_ext >&5 |
7789 ld_dynamic_link_flags= | 7790 ld_dynamic_link_flags= |
7790 xehost=$canonical | 7791 xehost=$canonical |
7791 xealias=$internal_configuration | 7792 xealias=$internal_configuration |
7792 | 7793 |
7793 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7794 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7794 echo "configure:7795: checking how to build dynamic libraries for ${xehost}" >&5 | 7795 echo "configure:7796: checking how to build dynamic libraries for ${xehost}" >&5 |
7795 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7796 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7796 case "$xehost" in | 7797 case "$xehost" in |
7797 *-*-linux-gnu*) ;; | 7798 *-*-linux-gnu*) ;; |
7798 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7799 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7799 esac | 7800 esac |
7817 # Now see if the compiler is really GCC. | 7818 # Now see if the compiler is really GCC. |
7818 if test "$GCC" = "yes"; then | 7819 if test "$GCC" = "yes"; then |
7819 XEGCC=yes | 7820 XEGCC=yes |
7820 else | 7821 else |
7821 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7822 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7822 echo "configure:7823: checking checking whether we are using GNU C" >&5 | 7823 echo "configure:7824: checking checking whether we are using GNU C" >&5 |
7823 cat > conftest.$ac_ext <<EOF | 7824 cat > conftest.$ac_ext <<EOF |
7824 #line 7825 "configure" | 7825 #line 7826 "configure" |
7825 #include "confdefs.h" | 7826 #include "confdefs.h" |
7826 | 7827 |
7827 #ifdef __GNUC__ | 7828 #ifdef __GNUC__ |
7828 yes; | 7829 yes; |
7829 #endif | 7830 #endif |
7841 | 7842 |
7842 echo "$ac_t""${XEGCC}" 1>&6 | 7843 echo "$ac_t""${XEGCC}" 1>&6 |
7843 fi | 7844 fi |
7844 | 7845 |
7845 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7846 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7846 echo "configure:7847: checking how to produce PIC code" >&5 | 7847 echo "configure:7848: checking how to produce PIC code" >&5 |
7847 wl= | 7848 wl= |
7848 | 7849 |
7849 can_build_shared=yes | 7850 can_build_shared=yes |
7850 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7851 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7851 wl='-Wl,' | 7852 wl='-Wl,' |
7945 if test -n "$dll_cflags"; then | 7946 if test -n "$dll_cflags"; then |
7946 echo "$ac_t""${dll_cflags}" 1>&6 | 7947 echo "$ac_t""${dll_cflags}" 1>&6 |
7947 | 7948 |
7948 # Check to make sure the dll_cflags actually works. | 7949 # Check to make sure the dll_cflags actually works. |
7949 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7950 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7950 echo "configure:7951: checking if PIC flag ${dll_cflags} really works" >&5 | 7951 echo "configure:7952: checking if PIC flag ${dll_cflags} really works" >&5 |
7951 save_CFLAGS="$CFLAGS" | 7952 save_CFLAGS="$CFLAGS" |
7952 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7953 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7953 cat > conftest.$ac_ext <<EOF | 7954 cat > conftest.$ac_ext <<EOF |
7954 #line 7955 "configure" | 7955 #line 7956 "configure" |
7955 #include "confdefs.h" | 7956 #include "confdefs.h" |
7956 | 7957 |
7957 int main() { | 7958 int main() { |
7958 int x=0; | 7959 int x=0; |
7959 ; return 0; } | 7960 ; return 0; } |
7960 EOF | 7961 EOF |
7961 if { (eval echo configure:7962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7962 if { (eval echo configure:7963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7962 rm -rf conftest* | 7963 rm -rf conftest* |
7963 | 7964 |
7964 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7965 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7965 # reports no error. So, we need to grep stderr for (Bundled). | 7966 # reports no error. So, we need to grep stderr for (Bundled). |
7966 if grep '(Bundled)' config.log >/dev/null; then | 7967 if grep '(Bundled)' config.log >/dev/null; then |
7987 if test "$can_build_shared" = "yes"; then | 7988 if test "$can_build_shared" = "yes"; then |
7988 cc_produces_so=no | 7989 cc_produces_so=no |
7989 xldf= | 7990 xldf= |
7990 xcldf= | 7991 xcldf= |
7991 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7992 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7992 echo "configure:7993: checking if C compiler can produce shared libraries" >&5 | 7993 echo "configure:7994: checking if C compiler can produce shared libraries" >&5 |
7993 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7994 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7994 case "$xehost_os" in | 7995 case "$xehost_os" in |
7995 *darwin*) | 7996 *darwin*) |
7996 xcldf='-bundle' | 7997 xcldf='-bundle' |
7997 xldf='-bundle -bundle_loader ../../src/xemacs' | 7998 xldf='-bundle -bundle_loader ../../src/xemacs' |
8046 LDFLAGS="$xcldf $LDFLAGS" | 8047 LDFLAGS="$xcldf $LDFLAGS" |
8047 LIBS= | 8048 LIBS= |
8048 xe_libs= | 8049 xe_libs= |
8049 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8050 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8050 cat > conftest.$ac_ext <<EOF | 8051 cat > conftest.$ac_ext <<EOF |
8051 #line 8052 "configure" | 8052 #line 8053 "configure" |
8052 #include "confdefs.h" | 8053 #include "confdefs.h" |
8053 | 8054 |
8054 int main() { | 8055 int main() { |
8055 int x=0; | 8056 int x=0; |
8056 ; return 0; } | 8057 ; return 0; } |
8057 EOF | 8058 EOF |
8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8059 if { (eval echo configure:8060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8059 rm -rf conftest* | 8060 rm -rf conftest* |
8060 cc_produces_so=yes | 8061 cc_produces_so=yes |
8061 else | 8062 else |
8062 echo "configure: failed program was:" >&5 | 8063 echo "configure: failed program was:" >&5 |
8063 cat conftest.$ac_ext >&5 | 8064 cat conftest.$ac_ext >&5 |
8078 if test -z "$LTLD"; then | 8079 if test -z "$LTLD"; then |
8079 ac_prog=ld | 8080 ac_prog=ld |
8080 if test "$XEGCC" = yes; then | 8081 if test "$XEGCC" = yes; then |
8081 # Check if gcc -print-prog-name=ld gives a path. | 8082 # Check if gcc -print-prog-name=ld gives a path. |
8082 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8083 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8083 echo "configure:8084: checking for ld used by GCC" >&5 | 8084 echo "configure:8085: checking for ld used by GCC" >&5 |
8084 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8085 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8085 case "$ac_prog" in | 8086 case "$ac_prog" in |
8086 # Accept absolute paths. | 8087 # Accept absolute paths. |
8087 /*) | 8088 /*) |
8088 if test -z "$LTLD"; then | 8089 if test -z "$LTLD"; then |
8104 with_gnu_ld=unknown | 8105 with_gnu_ld=unknown |
8105 ;; | 8106 ;; |
8106 esac | 8107 esac |
8107 else | 8108 else |
8108 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8109 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8109 echo "configure:8110: checking for GNU ld" >&5 | 8110 echo "configure:8111: checking for GNU ld" >&5 |
8110 fi | 8111 fi |
8111 | 8112 |
8112 if test -z "$LTLD"; then | 8113 if test -z "$LTLD"; then |
8113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8114 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8114 for ac_dir in $PATH; do | 8115 for ac_dir in $PATH; do |
8142 | 8143 |
8143 ld_dynamic_link_flags= | 8144 ld_dynamic_link_flags= |
8144 | 8145 |
8145 # Check to see if it really is or isn't GNU ld. | 8146 # Check to see if it really is or isn't GNU ld. |
8146 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8147 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8147 echo "configure:8148: checking if the linker is GNU ld" >&5 | 8148 echo "configure:8149: checking if the linker is GNU ld" >&5 |
8148 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8149 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8149 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8150 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8150 xe_gnu_ld=yes | 8151 xe_gnu_ld=yes |
8151 else | 8152 else |
8152 xe_gnu_ld=no | 8153 xe_gnu_ld=no |
8177 ld_shlibs=yes | 8178 ld_shlibs=yes |
8178 else | 8179 else |
8179 # OK - only NOW do we futz about with ld. | 8180 # OK - only NOW do we futz about with ld. |
8180 # See if the linker supports building shared libraries. | 8181 # See if the linker supports building shared libraries. |
8181 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8182 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8182 echo "configure:8183: checking whether the linker supports shared libraries" >&5 | 8183 echo "configure:8184: checking whether the linker supports shared libraries" >&5 |
8183 dll_ld=$CC | 8184 dll_ld=$CC |
8184 dll_ldflags=$LDFLAGS | 8185 dll_ldflags=$LDFLAGS |
8185 ld_shlibs=yes | 8186 ld_shlibs=yes |
8186 can_build_shared=yes | 8187 can_build_shared=yes |
8187 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8188 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8390 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8391 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8391 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8392 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8392 for ac_func in dlerror _dlerror | 8393 for ac_func in dlerror _dlerror |
8393 do | 8394 do |
8394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8395 echo "configure:8396: checking for $ac_func" >&5 | 8396 echo "configure:8397: checking for $ac_func" >&5 |
8396 | 8397 |
8397 cat > conftest.$ac_ext <<EOF | 8398 cat > conftest.$ac_ext <<EOF |
8398 #line 8399 "configure" | 8399 #line 8400 "configure" |
8399 #include "confdefs.h" | 8400 #include "confdefs.h" |
8400 /* System header to define __stub macros and hopefully few prototypes, | 8401 /* System header to define __stub macros and hopefully few prototypes, |
8401 which can conflict with char $ac_func(); below. */ | 8402 which can conflict with char $ac_func(); below. */ |
8402 #include <assert.h> | 8403 #include <assert.h> |
8403 /* Override any gcc2 internal prototype to avoid an error. */ | 8404 /* Override any gcc2 internal prototype to avoid an error. */ |
8416 $ac_func(); | 8417 $ac_func(); |
8417 #endif | 8418 #endif |
8418 | 8419 |
8419 ; return 0; } | 8420 ; return 0; } |
8420 EOF | 8421 EOF |
8421 if { (eval echo configure:8422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8422 if { (eval echo configure:8423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8422 rm -rf conftest* | 8423 rm -rf conftest* |
8423 eval "ac_cv_func_$ac_func=yes" | 8424 eval "ac_cv_func_$ac_func=yes" |
8424 else | 8425 else |
8425 echo "configure: failed program was:" >&5 | 8426 echo "configure: failed program was:" >&5 |
8426 cat conftest.$ac_ext >&5 | 8427 cat conftest.$ac_ext >&5 |
8480 | 8481 |
8481 if test "$with_tooltalk" != "no" ; then | 8482 if test "$with_tooltalk" != "no" ; then |
8482 for dir in "" "Tt/" "desktop/" ; do | 8483 for dir in "" "Tt/" "desktop/" ; do |
8483 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8484 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8484 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8485 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8485 echo "configure:8486: checking for ${dir}tt_c.h" >&5 | 8486 echo "configure:8487: checking for ${dir}tt_c.h" >&5 |
8486 | 8487 |
8487 cat > conftest.$ac_ext <<EOF | 8488 cat > conftest.$ac_ext <<EOF |
8488 #line 8489 "configure" | 8489 #line 8490 "configure" |
8489 #include "confdefs.h" | 8490 #include "confdefs.h" |
8490 #include <${dir}tt_c.h> | 8491 #include <${dir}tt_c.h> |
8491 EOF | 8492 EOF |
8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8494 { (eval echo configure:8495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8495 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8495 if test -z "$ac_err"; then | 8496 if test -z "$ac_err"; then |
8496 rm -rf conftest* | 8497 rm -rf conftest* |
8497 eval "ac_cv_header_$ac_safe=yes" | 8498 eval "ac_cv_header_$ac_safe=yes" |
8498 else | 8499 else |
8524 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8525 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8525 | 8526 |
8526 xe_msg_checking="for tt_message_create in -ltt" | 8527 xe_msg_checking="for tt_message_create in -ltt" |
8527 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8528 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8528 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8529 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8529 echo "configure:8530: checking "$xe_msg_checking"" >&5 | 8530 echo "configure:8531: checking "$xe_msg_checking"" >&5 |
8530 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8531 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8531 | 8532 |
8532 xe_check_libs=" -ltt $extra_libs" | 8533 xe_check_libs=" -ltt $extra_libs" |
8533 cat > conftest.$ac_ext <<EOF | 8534 cat > conftest.$ac_ext <<EOF |
8534 #line 8535 "configure" | 8535 #line 8536 "configure" |
8535 #include "confdefs.h" | 8536 #include "confdefs.h" |
8536 /* Override any gcc2 internal prototype to avoid an error. */ | 8537 /* Override any gcc2 internal prototype to avoid an error. */ |
8537 /* We use char because int might match the return type of a gcc2 | 8538 /* We use char because int might match the return type of a gcc2 |
8538 builtin and then its argument prototype would still apply. */ | 8539 builtin and then its argument prototype would still apply. */ |
8539 char tt_message_create(); | 8540 char tt_message_create(); |
8540 | 8541 |
8541 int main() { | 8542 int main() { |
8542 tt_message_create() | 8543 tt_message_create() |
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_lib_$ac_lib_var=yes" | 8548 eval "ac_cv_lib_$ac_lib_var=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 |
8594 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8595 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8595 fi | 8596 fi |
8596 | 8597 |
8597 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8598 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8598 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8599 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8599 echo "configure:8600: checking for Dt/Dt.h" >&5 | 8600 echo "configure:8601: checking for Dt/Dt.h" >&5 |
8600 | 8601 |
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 #include <Dt/Dt.h> | 8605 #include <Dt/Dt.h> |
8605 EOF | 8606 EOF |
8606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8607 { (eval echo configure:8608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8608 { (eval echo configure:8609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8609 if test -z "$ac_err"; then | 8610 if test -z "$ac_err"; then |
8610 rm -rf conftest* | 8611 rm -rf conftest* |
8611 eval "ac_cv_header_$ac_safe=yes" | 8612 eval "ac_cv_header_$ac_safe=yes" |
8612 else | 8613 else |
8625 with_cde=no | 8626 with_cde=no |
8626 fi | 8627 fi |
8627 } | 8628 } |
8628 test -z "$with_cde" && { | 8629 test -z "$with_cde" && { |
8629 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8630 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8630 echo "configure:8631: checking for DtDndDragStart in -lDtSvc" >&5 | 8631 echo "configure:8632: checking for DtDndDragStart in -lDtSvc" >&5 |
8631 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8632 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8632 | 8633 |
8633 xe_check_libs=" -lDtSvc " | 8634 xe_check_libs=" -lDtSvc " |
8634 cat > conftest.$ac_ext <<EOF | 8635 cat > conftest.$ac_ext <<EOF |
8635 #line 8636 "configure" | 8636 #line 8637 "configure" |
8636 #include "confdefs.h" | 8637 #include "confdefs.h" |
8637 /* Override any gcc2 internal prototype to avoid an error. */ | 8638 /* Override any gcc2 internal prototype to avoid an error. */ |
8638 /* We use char because int might match the return type of a gcc2 | 8639 /* We use char because int might match the return type of a gcc2 |
8639 builtin and then its argument prototype would still apply. */ | 8640 builtin and then its argument prototype would still apply. */ |
8640 char DtDndDragStart(); | 8641 char DtDndDragStart(); |
8641 | 8642 |
8642 int main() { | 8643 int main() { |
8643 DtDndDragStart() | 8644 DtDndDragStart() |
8644 ; return 0; } | 8645 ; return 0; } |
8645 EOF | 8646 EOF |
8646 if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8647 if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8647 rm -rf conftest* | 8648 rm -rf conftest* |
8648 eval "ac_cv_lib_$ac_lib_var=yes" | 8649 eval "ac_cv_lib_$ac_lib_var=yes" |
8649 else | 8650 else |
8650 echo "configure: failed program was:" >&5 | 8651 echo "configure: failed program was:" >&5 |
8651 cat conftest.$ac_ext >&5 | 8652 cat conftest.$ac_ext >&5 |
8722 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8723 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8723 fi | 8724 fi |
8724 | 8725 |
8725 if test "$with_dragndrop" != "no" ; then | 8726 if test "$with_dragndrop" != "no" ; then |
8726 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8727 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8727 echo "configure:8728: checking if drag and drop API is needed" >&5 | 8728 echo "configure:8729: checking if drag and drop API is needed" >&5 |
8728 if test -n "$dragndrop_proto" ; then | 8729 if test -n "$dragndrop_proto" ; then |
8729 with_dragndrop=yes | 8730 with_dragndrop=yes |
8730 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8731 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8731 { test "$extra_verbose" = "yes" && cat << \EOF | 8732 { test "$extra_verbose" = "yes" && cat << \EOF |
8732 Defining HAVE_DRAGNDROP | 8733 Defining HAVE_DRAGNDROP |
8742 echo "$ac_t""no" 1>&6 | 8743 echo "$ac_t""no" 1>&6 |
8743 fi | 8744 fi |
8744 fi | 8745 fi |
8745 | 8746 |
8746 echo "checking for LDAP" 1>&6 | 8747 echo "checking for LDAP" 1>&6 |
8747 echo "configure:8748: checking for LDAP" >&5 | 8748 echo "configure:8749: checking for LDAP" >&5 |
8748 ldap_libs= | 8749 ldap_libs= |
8749 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8750 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8750 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8751 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8751 echo "configure:8752: checking for ldap.h" >&5 | 8752 echo "configure:8753: checking for ldap.h" >&5 |
8752 | 8753 |
8753 cat > conftest.$ac_ext <<EOF | 8754 cat > conftest.$ac_ext <<EOF |
8754 #line 8755 "configure" | 8755 #line 8756 "configure" |
8755 #include "confdefs.h" | 8756 #include "confdefs.h" |
8756 #include <ldap.h> | 8757 #include <ldap.h> |
8757 EOF | 8758 EOF |
8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8760 { (eval echo configure:8761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8761 if test -z "$ac_err"; then | 8762 if test -z "$ac_err"; then |
8762 rm -rf conftest* | 8763 rm -rf conftest* |
8763 eval "ac_cv_header_$ac_safe=yes" | 8764 eval "ac_cv_header_$ac_safe=yes" |
8764 else | 8765 else |
8777 with_ldap=no | 8778 with_ldap=no |
8778 fi | 8779 fi |
8779 } | 8780 } |
8780 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8781 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8781 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8782 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8782 echo "configure:8783: checking for lber.h" >&5 | 8783 echo "configure:8784: checking for lber.h" >&5 |
8783 | 8784 |
8784 cat > conftest.$ac_ext <<EOF | 8785 cat > conftest.$ac_ext <<EOF |
8785 #line 8786 "configure" | 8786 #line 8787 "configure" |
8786 #include "confdefs.h" | 8787 #include "confdefs.h" |
8787 #include <lber.h> | 8788 #include <lber.h> |
8788 EOF | 8789 EOF |
8789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8790 { (eval echo configure:8791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8791 { (eval echo configure:8792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8792 if test -z "$ac_err"; then | 8793 if test -z "$ac_err"; then |
8793 rm -rf conftest* | 8794 rm -rf conftest* |
8794 eval "ac_cv_header_$ac_safe=yes" | 8795 eval "ac_cv_header_$ac_safe=yes" |
8795 else | 8796 else |
8809 fi | 8810 fi |
8810 } | 8811 } |
8811 if test "$with_ldap" != "no"; then | 8812 if test "$with_ldap" != "no"; then |
8812 | 8813 |
8813 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8814 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8814 echo "configure:8815: checking for ldap_search in -lldap" >&5 | 8815 echo "configure:8816: checking for ldap_search in -lldap" >&5 |
8815 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8816 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8816 | 8817 |
8817 xe_check_libs=" -lldap " | 8818 xe_check_libs=" -lldap " |
8818 cat > conftest.$ac_ext <<EOF | 8819 cat > conftest.$ac_ext <<EOF |
8819 #line 8820 "configure" | 8820 #line 8821 "configure" |
8820 #include "confdefs.h" | 8821 #include "confdefs.h" |
8821 /* Override any gcc2 internal prototype to avoid an error. */ | 8822 /* Override any gcc2 internal prototype to avoid an error. */ |
8822 /* We use char because int might match the return type of a gcc2 | 8823 /* We use char because int might match the return type of a gcc2 |
8823 builtin and then its argument prototype would still apply. */ | 8824 builtin and then its argument prototype would still apply. */ |
8824 char ldap_search(); | 8825 char ldap_search(); |
8825 | 8826 |
8826 int main() { | 8827 int main() { |
8827 ldap_search() | 8828 ldap_search() |
8828 ; return 0; } | 8829 ; return 0; } |
8829 EOF | 8830 EOF |
8830 if { (eval echo configure:8831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8831 if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8831 rm -rf conftest* | 8832 rm -rf conftest* |
8832 eval "ac_cv_lib_$ac_lib_var=yes" | 8833 eval "ac_cv_lib_$ac_lib_var=yes" |
8833 else | 8834 else |
8834 echo "configure: failed program was:" >&5 | 8835 echo "configure: failed program was:" >&5 |
8835 cat conftest.$ac_ext >&5 | 8836 cat conftest.$ac_ext >&5 |
8850 | 8851 |
8851 test "$with_ldap_nolber" = "no" && { | 8852 test "$with_ldap_nolber" = "no" && { |
8852 xe_msg_checking="for ldap_open in -lldap" | 8853 xe_msg_checking="for ldap_open in -lldap" |
8853 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8854 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8854 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8855 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8855 echo "configure:8856: checking "$xe_msg_checking"" >&5 | 8856 echo "configure:8857: checking "$xe_msg_checking"" >&5 |
8856 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8857 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8857 | 8858 |
8858 xe_check_libs=" -lldap -llber" | 8859 xe_check_libs=" -lldap -llber" |
8859 cat > conftest.$ac_ext <<EOF | 8860 cat > conftest.$ac_ext <<EOF |
8860 #line 8861 "configure" | 8861 #line 8862 "configure" |
8861 #include "confdefs.h" | 8862 #include "confdefs.h" |
8862 /* Override any gcc2 internal prototype to avoid an error. */ | 8863 /* Override any gcc2 internal prototype to avoid an error. */ |
8863 /* We use char because int might match the return type of a gcc2 | 8864 /* We use char because int might match the return type of a gcc2 |
8864 builtin and then its argument prototype would still apply. */ | 8865 builtin and then its argument prototype would still apply. */ |
8865 char ldap_open(); | 8866 char ldap_open(); |
8866 | 8867 |
8867 int main() { | 8868 int main() { |
8868 ldap_open() | 8869 ldap_open() |
8869 ; return 0; } | 8870 ; return 0; } |
8870 EOF | 8871 EOF |
8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8872 rm -rf conftest* | 8873 rm -rf conftest* |
8873 eval "ac_cv_lib_$ac_lib_var=yes" | 8874 eval "ac_cv_lib_$ac_lib_var=yes" |
8874 else | 8875 else |
8875 echo "configure: failed program was:" >&5 | 8876 echo "configure: failed program was:" >&5 |
8876 cat conftest.$ac_ext >&5 | 8877 cat conftest.$ac_ext >&5 |
8891 } | 8892 } |
8892 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8893 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8893 xe_msg_checking="for ldap_open in -lldap" | 8894 xe_msg_checking="for ldap_open in -lldap" |
8894 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8895 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8895 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8896 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8896 echo "configure:8897: checking "$xe_msg_checking"" >&5 | 8897 echo "configure:8898: checking "$xe_msg_checking"" >&5 |
8897 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8898 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8898 | 8899 |
8899 xe_check_libs=" -lldap -llber -lkrb" | 8900 xe_check_libs=" -lldap -llber -lkrb" |
8900 cat > conftest.$ac_ext <<EOF | 8901 cat > conftest.$ac_ext <<EOF |
8901 #line 8902 "configure" | 8902 #line 8903 "configure" |
8902 #include "confdefs.h" | 8903 #include "confdefs.h" |
8903 /* Override any gcc2 internal prototype to avoid an error. */ | 8904 /* Override any gcc2 internal prototype to avoid an error. */ |
8904 /* We use char because int might match the return type of a gcc2 | 8905 /* We use char because int might match the return type of a gcc2 |
8905 builtin and then its argument prototype would still apply. */ | 8906 builtin and then its argument prototype would still apply. */ |
8906 char ldap_open(); | 8907 char ldap_open(); |
8907 | 8908 |
8908 int main() { | 8909 int main() { |
8909 ldap_open() | 8910 ldap_open() |
8910 ; return 0; } | 8911 ; return 0; } |
8911 EOF | 8912 EOF |
8912 if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8913 rm -rf conftest* | 8914 rm -rf conftest* |
8914 eval "ac_cv_lib_$ac_lib_var=yes" | 8915 eval "ac_cv_lib_$ac_lib_var=yes" |
8915 else | 8916 else |
8916 echo "configure: failed program was:" >&5 | 8917 echo "configure: failed program was:" >&5 |
8917 cat conftest.$ac_ext >&5 | 8918 cat conftest.$ac_ext >&5 |
8932 } | 8933 } |
8933 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8934 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8934 xe_msg_checking="for ldap_open in -lldap" | 8935 xe_msg_checking="for ldap_open in -lldap" |
8935 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8936 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8936 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8937 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8937 echo "configure:8938: checking "$xe_msg_checking"" >&5 | 8938 echo "configure:8939: checking "$xe_msg_checking"" >&5 |
8938 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8939 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8939 | 8940 |
8940 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8941 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8941 cat > conftest.$ac_ext <<EOF | 8942 cat > conftest.$ac_ext <<EOF |
8942 #line 8943 "configure" | 8943 #line 8944 "configure" |
8943 #include "confdefs.h" | 8944 #include "confdefs.h" |
8944 /* Override any gcc2 internal prototype to avoid an error. */ | 8945 /* Override any gcc2 internal prototype to avoid an error. */ |
8945 /* We use char because int might match the return type of a gcc2 | 8946 /* We use char because int might match the return type of a gcc2 |
8946 builtin and then its argument prototype would still apply. */ | 8947 builtin and then its argument prototype would still apply. */ |
8947 char ldap_open(); | 8948 char ldap_open(); |
8948 | 8949 |
8949 int main() { | 8950 int main() { |
8950 ldap_open() | 8951 ldap_open() |
8951 ; return 0; } | 8952 ; return 0; } |
8952 EOF | 8953 EOF |
8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8954 if { (eval echo configure:8955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8954 rm -rf conftest* | 8955 rm -rf conftest* |
8955 eval "ac_cv_lib_$ac_lib_var=yes" | 8956 eval "ac_cv_lib_$ac_lib_var=yes" |
8956 else | 8957 else |
8957 echo "configure: failed program was:" >&5 | 8958 echo "configure: failed program was:" >&5 |
8958 cat conftest.$ac_ext >&5 | 8959 cat conftest.$ac_ext >&5 |
8997 fi | 8998 fi |
8998 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8999 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8999 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9000 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9000 do | 9001 do |
9001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9002 echo "configure:9003: checking for $ac_func" >&5 | 9003 echo "configure:9004: checking for $ac_func" >&5 |
9003 | 9004 |
9004 cat > conftest.$ac_ext <<EOF | 9005 cat > conftest.$ac_ext <<EOF |
9005 #line 9006 "configure" | 9006 #line 9007 "configure" |
9006 #include "confdefs.h" | 9007 #include "confdefs.h" |
9007 /* System header to define __stub macros and hopefully few prototypes, | 9008 /* System header to define __stub macros and hopefully few prototypes, |
9008 which can conflict with char $ac_func(); below. */ | 9009 which can conflict with char $ac_func(); below. */ |
9009 #include <assert.h> | 9010 #include <assert.h> |
9010 /* Override any gcc2 internal prototype to avoid an error. */ | 9011 /* Override any gcc2 internal prototype to avoid an error. */ |
9023 $ac_func(); | 9024 $ac_func(); |
9024 #endif | 9025 #endif |
9025 | 9026 |
9026 ; return 0; } | 9027 ; return 0; } |
9027 EOF | 9028 EOF |
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9029 if { (eval echo configure:9030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9029 rm -rf conftest* | 9030 rm -rf conftest* |
9030 eval "ac_cv_func_$ac_func=yes" | 9031 eval "ac_cv_func_$ac_func=yes" |
9031 else | 9032 else |
9032 echo "configure: failed program was:" >&5 | 9033 echo "configure: failed program was:" >&5 |
9033 cat conftest.$ac_ext >&5 | 9034 cat conftest.$ac_ext >&5 |
9062 | 9063 |
9063 | 9064 |
9064 postgresql_libs= | 9065 postgresql_libs= |
9065 if test "$with_postgresql" != "no"; then | 9066 if test "$with_postgresql" != "no"; then |
9066 echo "checking for PostgreSQL" 1>&6 | 9067 echo "checking for PostgreSQL" 1>&6 |
9067 echo "configure:9068: checking for PostgreSQL" >&5 | 9068 echo "configure:9069: checking for PostgreSQL" >&5 |
9068 | 9069 |
9069 for header_dir in "" "pgsql/" "postgresql/"; do | 9070 for header_dir in "" "pgsql/" "postgresql/"; do |
9070 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9071 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9071 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9072 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9072 echo "configure:9073: checking for ${header_dir}libpq-fe.h" >&5 | 9073 echo "configure:9074: checking for ${header_dir}libpq-fe.h" >&5 |
9073 | 9074 |
9074 cat > conftest.$ac_ext <<EOF | 9075 cat > conftest.$ac_ext <<EOF |
9075 #line 9076 "configure" | 9076 #line 9077 "configure" |
9076 #include "confdefs.h" | 9077 #include "confdefs.h" |
9077 #include <${header_dir}libpq-fe.h> | 9078 #include <${header_dir}libpq-fe.h> |
9078 EOF | 9079 EOF |
9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9081 { (eval echo configure:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9082 if test -z "$ac_err"; then | 9083 if test -z "$ac_err"; then |
9083 rm -rf conftest* | 9084 rm -rf conftest* |
9084 eval "ac_cv_header_$ac_safe=yes" | 9085 eval "ac_cv_header_$ac_safe=yes" |
9085 else | 9086 else |
9099 | 9100 |
9100 done | 9101 done |
9101 | 9102 |
9102 test -n "$libpq_fe_h_file" && { | 9103 test -n "$libpq_fe_h_file" && { |
9103 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9104 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9104 echo "configure:9105: checking for PQconnectdb in -lpq" >&5 | 9105 echo "configure:9106: checking for PQconnectdb in -lpq" >&5 |
9105 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9106 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9106 | 9107 |
9107 xe_check_libs=" -lpq " | 9108 xe_check_libs=" -lpq " |
9108 cat > conftest.$ac_ext <<EOF | 9109 cat > conftest.$ac_ext <<EOF |
9109 #line 9110 "configure" | 9110 #line 9111 "configure" |
9110 #include "confdefs.h" | 9111 #include "confdefs.h" |
9111 /* Override any gcc2 internal prototype to avoid an error. */ | 9112 /* Override any gcc2 internal prototype to avoid an error. */ |
9112 /* We use char because int might match the return type of a gcc2 | 9113 /* We use char because int might match the return type of a gcc2 |
9113 builtin and then its argument prototype would still apply. */ | 9114 builtin and then its argument prototype would still apply. */ |
9114 char PQconnectdb(); | 9115 char PQconnectdb(); |
9115 | 9116 |
9116 int main() { | 9117 int main() { |
9117 PQconnectdb() | 9118 PQconnectdb() |
9118 ; return 0; } | 9119 ; return 0; } |
9119 EOF | 9120 EOF |
9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9121 if { (eval echo configure:9122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9121 rm -rf conftest* | 9122 rm -rf conftest* |
9122 eval "ac_cv_lib_$ac_lib_var=yes" | 9123 eval "ac_cv_lib_$ac_lib_var=yes" |
9123 else | 9124 else |
9124 echo "configure: failed program was:" >&5 | 9125 echo "configure: failed program was:" >&5 |
9125 cat conftest.$ac_ext >&5 | 9126 cat conftest.$ac_ext >&5 |
9148 EOF | 9149 EOF |
9149 } | 9150 } |
9150 | 9151 |
9151 | 9152 |
9152 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9153 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9153 echo "configure:9154: checking for PQconnectStart in -lpq" >&5 | 9154 echo "configure:9155: checking for PQconnectStart in -lpq" >&5 |
9154 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9155 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9155 | 9156 |
9156 xe_check_libs=" -lpq " | 9157 xe_check_libs=" -lpq " |
9157 cat > conftest.$ac_ext <<EOF | 9158 cat > conftest.$ac_ext <<EOF |
9158 #line 9159 "configure" | 9159 #line 9160 "configure" |
9159 #include "confdefs.h" | 9160 #include "confdefs.h" |
9160 /* Override any gcc2 internal prototype to avoid an error. */ | 9161 /* Override any gcc2 internal prototype to avoid an error. */ |
9161 /* We use char because int might match the return type of a gcc2 | 9162 /* We use char because int might match the return type of a gcc2 |
9162 builtin and then its argument prototype would still apply. */ | 9163 builtin and then its argument prototype would still apply. */ |
9163 char PQconnectStart(); | 9164 char PQconnectStart(); |
9164 | 9165 |
9165 int main() { | 9166 int main() { |
9166 PQconnectStart() | 9167 PQconnectStart() |
9167 ; return 0; } | 9168 ; return 0; } |
9168 EOF | 9169 EOF |
9169 if { (eval echo configure:9170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9170 if { (eval echo configure:9171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9170 rm -rf conftest* | 9171 rm -rf conftest* |
9171 eval "ac_cv_lib_$ac_lib_var=yes" | 9172 eval "ac_cv_lib_$ac_lib_var=yes" |
9172 else | 9173 else |
9173 echo "configure: failed program was:" >&5 | 9174 echo "configure: failed program was:" >&5 |
9174 cat conftest.$ac_ext >&5 | 9175 cat conftest.$ac_ext >&5 |
9215 | 9216 |
9216 | 9217 |
9217 | 9218 |
9218 if test "$window_system" != "none"; then | 9219 if test "$window_system" != "none"; then |
9219 echo "checking for graphics libraries" 1>&6 | 9220 echo "checking for graphics libraries" 1>&6 |
9220 echo "configure:9221: checking for graphics libraries" >&5 | 9221 echo "configure:9222: checking for graphics libraries" >&5 |
9221 | 9222 |
9222 libpath_xpm= | 9223 libpath_xpm= |
9223 incpath_xpm= | 9224 incpath_xpm= |
9224 case "$opsys" in | 9225 case "$opsys" in |
9225 cygwin*) | 9226 cygwin*) |
9241 xpm_problem="" | 9242 xpm_problem="" |
9242 if test -z "$with_xpm"; then | 9243 if test -z "$with_xpm"; then |
9243 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9244 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9244 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9245 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9245 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9246 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9246 echo "configure:9247: checking for Xpm - no older than 3.4f" >&5 | 9247 echo "configure:9248: checking for Xpm - no older than 3.4f" >&5 |
9247 xe_check_libs=-lXpm | 9248 xe_check_libs=-lXpm |
9248 cat > conftest.$ac_ext <<EOF | 9249 cat > conftest.$ac_ext <<EOF |
9249 #line 9250 "configure" | 9250 #line 9251 "configure" |
9250 #include "confdefs.h" | 9251 #include "confdefs.h" |
9251 #define XPM_NUMBERS | 9252 #define XPM_NUMBERS |
9252 #include <X11/xpm.h> | 9253 #include <X11/xpm.h> |
9253 int main(int c, char **v) { | 9254 int main(int c, char **v) { |
9254 return c == 1 ? 0 : | 9255 return c == 1 ? 0 : |
9255 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9256 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9256 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9257 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9257 EOF | 9258 EOF |
9258 if { (eval echo configure:9259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9259 then | 9260 then |
9260 ./conftest dummy_arg; xpm_status=$?; | 9261 ./conftest dummy_arg; xpm_status=$?; |
9261 if test "$xpm_status" = "0"; then | 9262 if test "$xpm_status" = "0"; then |
9262 with_xpm=yes; | 9263 with_xpm=yes; |
9263 else | 9264 else |
9297 | 9298 |
9298 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9299 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9299 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9300 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9300 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9301 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9301 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9302 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9302 echo "configure:9303: checking for \"FOR_MSW\" xpm" >&5 | 9303 echo "configure:9304: checking for \"FOR_MSW\" xpm" >&5 |
9303 xe_check_libs=-lXpm | 9304 xe_check_libs=-lXpm |
9304 cat > conftest.$ac_ext <<EOF | 9305 cat > conftest.$ac_ext <<EOF |
9305 #line 9306 "configure" | 9306 #line 9307 "configure" |
9306 #include "confdefs.h" | 9307 #include "confdefs.h" |
9307 | 9308 |
9308 int main() { | 9309 int main() { |
9309 XpmCreatePixmapFromData() | 9310 XpmCreatePixmapFromData() |
9310 ; return 0; } | 9311 ; return 0; } |
9311 EOF | 9312 EOF |
9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9313 if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9313 rm -rf conftest* | 9314 rm -rf conftest* |
9314 xpm_for_msw=no | 9315 xpm_for_msw=no |
9315 else | 9316 else |
9316 echo "configure: failed program was:" >&5 | 9317 echo "configure: failed program was:" >&5 |
9317 cat conftest.$ac_ext >&5 | 9318 cat conftest.$ac_ext >&5 |
9333 fi | 9334 fi |
9334 fi | 9335 fi |
9335 | 9336 |
9336 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9337 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9337 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9338 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9338 echo "configure:9339: checking for compface.h" >&5 | 9339 echo "configure:9340: checking for compface.h" >&5 |
9339 | 9340 |
9340 cat > conftest.$ac_ext <<EOF | 9341 cat > conftest.$ac_ext <<EOF |
9341 #line 9342 "configure" | 9342 #line 9343 "configure" |
9342 #include "confdefs.h" | 9343 #include "confdefs.h" |
9343 #include <compface.h> | 9344 #include <compface.h> |
9344 EOF | 9345 EOF |
9345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9346 { (eval echo configure:9347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9347 { (eval echo configure:9348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9348 if test -z "$ac_err"; then | 9349 if test -z "$ac_err"; then |
9349 rm -rf conftest* | 9350 rm -rf conftest* |
9350 eval "ac_cv_header_$ac_safe=yes" | 9351 eval "ac_cv_header_$ac_safe=yes" |
9351 else | 9352 else |
9364 with_xface=no | 9365 with_xface=no |
9365 fi | 9366 fi |
9366 } | 9367 } |
9367 test -z "$with_xface" && { | 9368 test -z "$with_xface" && { |
9368 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9369 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9369 echo "configure:9370: checking for UnGenFace in -lcompface" >&5 | 9370 echo "configure:9371: checking for UnGenFace in -lcompface" >&5 |
9370 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9371 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9371 | 9372 |
9372 xe_check_libs=" -lcompface " | 9373 xe_check_libs=" -lcompface " |
9373 cat > conftest.$ac_ext <<EOF | 9374 cat > conftest.$ac_ext <<EOF |
9374 #line 9375 "configure" | 9375 #line 9376 "configure" |
9375 #include "confdefs.h" | 9376 #include "confdefs.h" |
9376 /* Override any gcc2 internal prototype to avoid an error. */ | 9377 /* Override any gcc2 internal prototype to avoid an error. */ |
9377 /* We use char because int might match the return type of a gcc2 | 9378 /* We use char because int might match the return type of a gcc2 |
9378 builtin and then its argument prototype would still apply. */ | 9379 builtin and then its argument prototype would still apply. */ |
9379 char UnGenFace(); | 9380 char UnGenFace(); |
9380 | 9381 |
9381 int main() { | 9382 int main() { |
9382 UnGenFace() | 9383 UnGenFace() |
9383 ; return 0; } | 9384 ; return 0; } |
9384 EOF | 9385 EOF |
9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9386 if { (eval echo configure:9387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9386 rm -rf conftest* | 9387 rm -rf conftest* |
9387 eval "ac_cv_lib_$ac_lib_var=yes" | 9388 eval "ac_cv_lib_$ac_lib_var=yes" |
9388 else | 9389 else |
9389 echo "configure: failed program was:" >&5 | 9390 echo "configure: failed program was:" >&5 |
9390 cat conftest.$ac_ext >&5 | 9391 cat conftest.$ac_ext >&5 |
9429 fi | 9430 fi |
9430 | 9431 |
9431 if test "$with_png $with_tiff" != "no no"; then | 9432 if test "$with_png $with_tiff" != "no no"; then |
9432 | 9433 |
9433 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9434 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9434 echo "configure:9435: checking for inflate in -lc" >&5 | 9435 echo "configure:9436: checking for inflate in -lc" >&5 |
9435 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9436 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9436 | 9437 |
9437 xe_check_libs=" -lc " | 9438 xe_check_libs=" -lc " |
9438 cat > conftest.$ac_ext <<EOF | 9439 cat > conftest.$ac_ext <<EOF |
9439 #line 9440 "configure" | 9440 #line 9441 "configure" |
9440 #include "confdefs.h" | 9441 #include "confdefs.h" |
9441 /* Override any gcc2 internal prototype to avoid an error. */ | 9442 /* Override any gcc2 internal prototype to avoid an error. */ |
9442 /* We use char because int might match the return type of a gcc2 | 9443 /* We use char because int might match the return type of a gcc2 |
9443 builtin and then its argument prototype would still apply. */ | 9444 builtin and then its argument prototype would still apply. */ |
9444 char inflate(); | 9445 char inflate(); |
9445 | 9446 |
9446 int main() { | 9447 int main() { |
9447 inflate() | 9448 inflate() |
9448 ; return 0; } | 9449 ; return 0; } |
9449 EOF | 9450 EOF |
9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9451 if { (eval echo configure:9452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9451 rm -rf conftest* | 9452 rm -rf conftest* |
9452 eval "ac_cv_lib_$ac_lib_var=yes" | 9453 eval "ac_cv_lib_$ac_lib_var=yes" |
9453 else | 9454 else |
9454 echo "configure: failed program was:" >&5 | 9455 echo "configure: failed program was:" >&5 |
9455 cat conftest.$ac_ext >&5 | 9456 cat conftest.$ac_ext >&5 |
9464 : | 9465 : |
9465 else | 9466 else |
9466 echo "$ac_t""no" 1>&6 | 9467 echo "$ac_t""no" 1>&6 |
9467 | 9468 |
9468 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9469 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9469 echo "configure:9470: checking for inflate in -lz" >&5 | 9470 echo "configure:9471: checking for inflate in -lz" >&5 |
9470 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9471 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9471 | 9472 |
9472 xe_check_libs=" -lz " | 9473 xe_check_libs=" -lz " |
9473 cat > conftest.$ac_ext <<EOF | 9474 cat > conftest.$ac_ext <<EOF |
9474 #line 9475 "configure" | 9475 #line 9476 "configure" |
9475 #include "confdefs.h" | 9476 #include "confdefs.h" |
9476 /* Override any gcc2 internal prototype to avoid an error. */ | 9477 /* Override any gcc2 internal prototype to avoid an error. */ |
9477 /* We use char because int might match the return type of a gcc2 | 9478 /* We use char because int might match the return type of a gcc2 |
9478 builtin and then its argument prototype would still apply. */ | 9479 builtin and then its argument prototype would still apply. */ |
9479 char inflate(); | 9480 char inflate(); |
9480 | 9481 |
9481 int main() { | 9482 int main() { |
9482 inflate() | 9483 inflate() |
9483 ; return 0; } | 9484 ; return 0; } |
9484 EOF | 9485 EOF |
9485 if { (eval echo configure:9486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9486 if { (eval echo configure:9487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9486 rm -rf conftest* | 9487 rm -rf conftest* |
9487 eval "ac_cv_lib_$ac_lib_var=yes" | 9488 eval "ac_cv_lib_$ac_lib_var=yes" |
9488 else | 9489 else |
9489 echo "configure: failed program was:" >&5 | 9490 echo "configure: failed program was:" >&5 |
9490 cat conftest.$ac_ext >&5 | 9491 cat conftest.$ac_ext >&5 |
9499 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9500 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9500 else | 9501 else |
9501 echo "$ac_t""no" 1>&6 | 9502 echo "$ac_t""no" 1>&6 |
9502 | 9503 |
9503 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9504 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9504 echo "configure:9505: checking for inflate in -lgz" >&5 | 9505 echo "configure:9506: checking for inflate in -lgz" >&5 |
9505 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9506 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9506 | 9507 |
9507 xe_check_libs=" -lgz " | 9508 xe_check_libs=" -lgz " |
9508 cat > conftest.$ac_ext <<EOF | 9509 cat > conftest.$ac_ext <<EOF |
9509 #line 9510 "configure" | 9510 #line 9511 "configure" |
9510 #include "confdefs.h" | 9511 #include "confdefs.h" |
9511 /* Override any gcc2 internal prototype to avoid an error. */ | 9512 /* Override any gcc2 internal prototype to avoid an error. */ |
9512 /* We use char because int might match the return type of a gcc2 | 9513 /* We use char because int might match the return type of a gcc2 |
9513 builtin and then its argument prototype would still apply. */ | 9514 builtin and then its argument prototype would still apply. */ |
9514 char inflate(); | 9515 char inflate(); |
9515 | 9516 |
9516 int main() { | 9517 int main() { |
9517 inflate() | 9518 inflate() |
9518 ; return 0; } | 9519 ; return 0; } |
9519 EOF | 9520 EOF |
9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9521 if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9521 rm -rf conftest* | 9522 rm -rf conftest* |
9522 eval "ac_cv_lib_$ac_lib_var=yes" | 9523 eval "ac_cv_lib_$ac_lib_var=yes" |
9523 else | 9524 else |
9524 echo "configure: failed program was:" >&5 | 9525 echo "configure: failed program was:" >&5 |
9525 cat conftest.$ac_ext >&5 | 9526 cat conftest.$ac_ext >&5 |
9545 | 9546 |
9546 fi | 9547 fi |
9547 | 9548 |
9548 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9549 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9549 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9550 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9550 echo "configure:9551: checking for jpeglib.h" >&5 | 9551 echo "configure:9552: checking for jpeglib.h" >&5 |
9551 | 9552 |
9552 cat > conftest.$ac_ext <<EOF | 9553 cat > conftest.$ac_ext <<EOF |
9553 #line 9554 "configure" | 9554 #line 9555 "configure" |
9554 #include "confdefs.h" | 9555 #include "confdefs.h" |
9555 #include <jpeglib.h> | 9556 #include <jpeglib.h> |
9556 EOF | 9557 EOF |
9557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9558 { (eval echo configure:9559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9559 { (eval echo configure:9560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9560 if test -z "$ac_err"; then | 9561 if test -z "$ac_err"; then |
9561 rm -rf conftest* | 9562 rm -rf conftest* |
9562 eval "ac_cv_header_$ac_safe=yes" | 9563 eval "ac_cv_header_$ac_safe=yes" |
9563 else | 9564 else |
9576 with_jpeg=no | 9577 with_jpeg=no |
9577 fi | 9578 fi |
9578 } | 9579 } |
9579 test -z "$with_jpeg" && { | 9580 test -z "$with_jpeg" && { |
9580 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9581 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9581 echo "configure:9582: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9582 echo "configure:9583: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9582 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9583 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9583 | 9584 |
9584 xe_check_libs=" -ljpeg " | 9585 xe_check_libs=" -ljpeg " |
9585 cat > conftest.$ac_ext <<EOF | 9586 cat > conftest.$ac_ext <<EOF |
9586 #line 9587 "configure" | 9587 #line 9588 "configure" |
9587 #include "confdefs.h" | 9588 #include "confdefs.h" |
9588 /* Override any gcc2 internal prototype to avoid an error. */ | 9589 /* Override any gcc2 internal prototype to avoid an error. */ |
9589 /* We use char because int might match the return type of a gcc2 | 9590 /* We use char because int might match the return type of a gcc2 |
9590 builtin and then its argument prototype would still apply. */ | 9591 builtin and then its argument prototype would still apply. */ |
9591 char jpeg_destroy_decompress(); | 9592 char jpeg_destroy_decompress(); |
9592 | 9593 |
9593 int main() { | 9594 int main() { |
9594 jpeg_destroy_decompress() | 9595 jpeg_destroy_decompress() |
9595 ; return 0; } | 9596 ; return 0; } |
9596 EOF | 9597 EOF |
9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9598 if { (eval echo configure:9599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9598 rm -rf conftest* | 9599 rm -rf conftest* |
9599 eval "ac_cv_lib_$ac_lib_var=yes" | 9600 eval "ac_cv_lib_$ac_lib_var=yes" |
9600 else | 9601 else |
9601 echo "configure: failed program was:" >&5 | 9602 echo "configure: failed program was:" >&5 |
9602 cat conftest.$ac_ext >&5 | 9603 cat conftest.$ac_ext >&5 |
9628 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9629 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9629 fi | 9630 fi |
9630 | 9631 |
9631 png_problem="" | 9632 png_problem="" |
9632 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9633 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9633 echo "configure:9634: checking for pow" >&5 | 9634 echo "configure:9635: checking for pow" >&5 |
9634 | 9635 |
9635 cat > conftest.$ac_ext <<EOF | 9636 cat > conftest.$ac_ext <<EOF |
9636 #line 9637 "configure" | 9637 #line 9638 "configure" |
9637 #include "confdefs.h" | 9638 #include "confdefs.h" |
9638 /* System header to define __stub macros and hopefully few prototypes, | 9639 /* System header to define __stub macros and hopefully few prototypes, |
9639 which can conflict with char pow(); below. */ | 9640 which can conflict with char pow(); below. */ |
9640 #include <assert.h> | 9641 #include <assert.h> |
9641 /* Override any gcc2 internal prototype to avoid an error. */ | 9642 /* Override any gcc2 internal prototype to avoid an error. */ |
9654 pow(); | 9655 pow(); |
9655 #endif | 9656 #endif |
9656 | 9657 |
9657 ; return 0; } | 9658 ; return 0; } |
9658 EOF | 9659 EOF |
9659 if { (eval echo configure:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9660 rm -rf conftest* | 9661 rm -rf conftest* |
9661 eval "ac_cv_func_pow=yes" | 9662 eval "ac_cv_func_pow=yes" |
9662 else | 9663 else |
9663 echo "configure: failed program was:" >&5 | 9664 echo "configure: failed program was:" >&5 |
9664 cat conftest.$ac_ext >&5 | 9665 cat conftest.$ac_ext >&5 |
9675 with_png=no | 9676 with_png=no |
9676 fi | 9677 fi |
9677 } | 9678 } |
9678 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9679 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9679 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9680 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9680 echo "configure:9681: checking for png.h" >&5 | 9681 echo "configure:9682: checking for png.h" >&5 |
9681 | 9682 |
9682 cat > conftest.$ac_ext <<EOF | 9683 cat > conftest.$ac_ext <<EOF |
9683 #line 9684 "configure" | 9684 #line 9685 "configure" |
9684 #include "confdefs.h" | 9685 #include "confdefs.h" |
9685 #include <png.h> | 9686 #include <png.h> |
9686 EOF | 9687 EOF |
9687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9688 { (eval echo configure:9689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9690 if test -z "$ac_err"; then | 9691 if test -z "$ac_err"; then |
9691 rm -rf conftest* | 9692 rm -rf conftest* |
9692 eval "ac_cv_header_$ac_safe=yes" | 9693 eval "ac_cv_header_$ac_safe=yes" |
9693 else | 9694 else |
9706 with_png=no | 9707 with_png=no |
9707 fi | 9708 fi |
9708 } | 9709 } |
9709 test -z "$with_png" && { | 9710 test -z "$with_png" && { |
9710 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9711 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9711 echo "configure:9712: checking for png_read_image in -lpng" >&5 | 9712 echo "configure:9713: checking for png_read_image in -lpng" >&5 |
9712 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9713 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9713 | 9714 |
9714 xe_check_libs=" -lpng " | 9715 xe_check_libs=" -lpng " |
9715 cat > conftest.$ac_ext <<EOF | 9716 cat > conftest.$ac_ext <<EOF |
9716 #line 9717 "configure" | 9717 #line 9718 "configure" |
9717 #include "confdefs.h" | 9718 #include "confdefs.h" |
9718 /* Override any gcc2 internal prototype to avoid an error. */ | 9719 /* Override any gcc2 internal prototype to avoid an error. */ |
9719 /* We use char because int might match the return type of a gcc2 | 9720 /* We use char because int might match the return type of a gcc2 |
9720 builtin and then its argument prototype would still apply. */ | 9721 builtin and then its argument prototype would still apply. */ |
9721 char png_read_image(); | 9722 char png_read_image(); |
9722 | 9723 |
9723 int main() { | 9724 int main() { |
9724 png_read_image() | 9725 png_read_image() |
9725 ; return 0; } | 9726 ; return 0; } |
9726 EOF | 9727 EOF |
9727 if { (eval echo configure:9728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9728 rm -rf conftest* | 9729 rm -rf conftest* |
9729 eval "ac_cv_lib_$ac_lib_var=yes" | 9730 eval "ac_cv_lib_$ac_lib_var=yes" |
9730 else | 9731 else |
9731 echo "configure: failed program was:" >&5 | 9732 echo "configure: failed program was:" >&5 |
9732 cat conftest.$ac_ext >&5 | 9733 cat conftest.$ac_ext >&5 |
9745 fi | 9746 fi |
9746 | 9747 |
9747 } | 9748 } |
9748 if test -z "$with_png"; then | 9749 if test -z "$with_png"; then |
9749 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9750 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9750 echo "configure:9751: checking for workable png version information" >&5 | 9751 echo "configure:9752: checking for workable png version information" >&5 |
9751 xe_check_libs="-lpng -lz" | 9752 xe_check_libs="-lpng -lz" |
9752 cat > conftest.$ac_ext <<EOF | 9753 cat > conftest.$ac_ext <<EOF |
9753 #line 9754 "configure" | 9754 #line 9755 "configure" |
9754 #include "confdefs.h" | 9755 #include "confdefs.h" |
9755 #include <png.h> | 9756 #include <png.h> |
9756 int main(int c, char **v) { | 9757 int main(int c, char **v) { |
9757 if (c == 1) return 0; | 9758 if (c == 1) return 0; |
9758 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9759 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9759 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9760 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9760 EOF | 9761 EOF |
9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9762 if { (eval echo configure:9763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9762 then | 9763 then |
9763 ./conftest dummy_arg; png_status=$?; | 9764 ./conftest dummy_arg; png_status=$?; |
9764 if test "$png_status" = "0"; then | 9765 if test "$png_status" = "0"; then |
9765 with_png=yes; | 9766 with_png=yes; |
9766 else | 9767 else |
9799 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9800 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9800 fi | 9801 fi |
9801 | 9802 |
9802 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9803 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9803 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9804 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9804 echo "configure:9805: checking for tiffio.h" >&5 | 9805 echo "configure:9806: checking for tiffio.h" >&5 |
9805 | 9806 |
9806 cat > conftest.$ac_ext <<EOF | 9807 cat > conftest.$ac_ext <<EOF |
9807 #line 9808 "configure" | 9808 #line 9809 "configure" |
9808 #include "confdefs.h" | 9809 #include "confdefs.h" |
9809 #include <tiffio.h> | 9810 #include <tiffio.h> |
9810 EOF | 9811 EOF |
9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9813 { (eval echo configure:9814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9814 if test -z "$ac_err"; then | 9815 if test -z "$ac_err"; then |
9815 rm -rf conftest* | 9816 rm -rf conftest* |
9816 eval "ac_cv_header_$ac_safe=yes" | 9817 eval "ac_cv_header_$ac_safe=yes" |
9817 else | 9818 else |
9830 with_tiff=no | 9831 with_tiff=no |
9831 fi | 9832 fi |
9832 } | 9833 } |
9833 test -z "$with_tiff" && { | 9834 test -z "$with_tiff" && { |
9834 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9835 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9835 echo "configure:9836: checking for TIFFClientOpen in -ltiff" >&5 | 9836 echo "configure:9837: checking for TIFFClientOpen in -ltiff" >&5 |
9836 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9837 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9837 | 9838 |
9838 xe_check_libs=" -ltiff " | 9839 xe_check_libs=" -ltiff " |
9839 cat > conftest.$ac_ext <<EOF | 9840 cat > conftest.$ac_ext <<EOF |
9840 #line 9841 "configure" | 9841 #line 9842 "configure" |
9841 #include "confdefs.h" | 9842 #include "confdefs.h" |
9842 /* Override any gcc2 internal prototype to avoid an error. */ | 9843 /* Override any gcc2 internal prototype to avoid an error. */ |
9843 /* We use char because int might match the return type of a gcc2 | 9844 /* We use char because int might match the return type of a gcc2 |
9844 builtin and then its argument prototype would still apply. */ | 9845 builtin and then its argument prototype would still apply. */ |
9845 char TIFFClientOpen(); | 9846 char TIFFClientOpen(); |
9846 | 9847 |
9847 int main() { | 9848 int main() { |
9848 TIFFClientOpen() | 9849 TIFFClientOpen() |
9849 ; return 0; } | 9850 ; return 0; } |
9850 EOF | 9851 EOF |
9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9852 if { (eval echo configure:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9852 rm -rf conftest* | 9853 rm -rf conftest* |
9853 eval "ac_cv_lib_$ac_lib_var=yes" | 9854 eval "ac_cv_lib_$ac_lib_var=yes" |
9854 else | 9855 else |
9855 echo "configure: failed program was:" >&5 | 9856 echo "configure: failed program was:" >&5 |
9856 cat conftest.$ac_ext >&5 | 9857 cat conftest.$ac_ext >&5 |
9885 | 9886 |
9886 | 9887 |
9887 if test "$with_gtk" = "yes"; then | 9888 if test "$with_gtk" = "yes"; then |
9888 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9889 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9889 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9890 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9890 echo "configure:9891: checking for compface.h" >&5 | 9891 echo "configure:9892: checking for compface.h" >&5 |
9891 | 9892 |
9892 cat > conftest.$ac_ext <<EOF | 9893 cat > conftest.$ac_ext <<EOF |
9893 #line 9894 "configure" | 9894 #line 9895 "configure" |
9894 #include "confdefs.h" | 9895 #include "confdefs.h" |
9895 #include <compface.h> | 9896 #include <compface.h> |
9896 EOF | 9897 EOF |
9897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9898 { (eval echo configure:9899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9899 { (eval echo configure:9900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9900 if test -z "$ac_err"; then | 9901 if test -z "$ac_err"; then |
9901 rm -rf conftest* | 9902 rm -rf conftest* |
9902 eval "ac_cv_header_$ac_safe=yes" | 9903 eval "ac_cv_header_$ac_safe=yes" |
9903 else | 9904 else |
9916 with_xface=no | 9917 with_xface=no |
9917 fi | 9918 fi |
9918 } | 9919 } |
9919 test -z "$with_xface" && { | 9920 test -z "$with_xface" && { |
9920 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9921 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9921 echo "configure:9922: checking for UnGenFace in -lcompface" >&5 | 9922 echo "configure:9923: checking for UnGenFace in -lcompface" >&5 |
9922 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9923 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9923 | 9924 |
9924 xe_check_libs=" -lcompface " | 9925 xe_check_libs=" -lcompface " |
9925 cat > conftest.$ac_ext <<EOF | 9926 cat > conftest.$ac_ext <<EOF |
9926 #line 9927 "configure" | 9927 #line 9928 "configure" |
9927 #include "confdefs.h" | 9928 #include "confdefs.h" |
9928 /* Override any gcc2 internal prototype to avoid an error. */ | 9929 /* Override any gcc2 internal prototype to avoid an error. */ |
9929 /* We use char because int might match the return type of a gcc2 | 9930 /* We use char because int might match the return type of a gcc2 |
9930 builtin and then its argument prototype would still apply. */ | 9931 builtin and then its argument prototype would still apply. */ |
9931 char UnGenFace(); | 9932 char UnGenFace(); |
9932 | 9933 |
9933 int main() { | 9934 int main() { |
9934 UnGenFace() | 9935 UnGenFace() |
9935 ; return 0; } | 9936 ; return 0; } |
9936 EOF | 9937 EOF |
9937 if { (eval echo configure:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9938 if { (eval echo configure:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9938 rm -rf conftest* | 9939 rm -rf conftest* |
9939 eval "ac_cv_lib_$ac_lib_var=yes" | 9940 eval "ac_cv_lib_$ac_lib_var=yes" |
9940 else | 9941 else |
9941 echo "configure: failed program was:" >&5 | 9942 echo "configure: failed program was:" >&5 |
9942 cat conftest.$ac_ext >&5 | 9943 cat conftest.$ac_ext >&5 |
9971 | 9972 |
9972 | 9973 |
9973 | 9974 |
9974 if test "$with_x11" = "yes"; then | 9975 if test "$with_x11" = "yes"; then |
9975 echo "checking for X11 graphics libraries" 1>&6 | 9976 echo "checking for X11 graphics libraries" 1>&6 |
9976 echo "configure:9977: checking for X11 graphics libraries" >&5 | 9977 echo "configure:9978: checking for X11 graphics libraries" >&5 |
9977 fi | 9978 fi |
9978 | 9979 |
9979 case "$with_widgets" in | 9980 case "$with_widgets" in |
9980 "yes" | "athena") detect_athena=yes ;; | 9981 "yes" | "athena") detect_athena=yes ;; |
9981 *) detect_athena=no ;; | 9982 *) detect_athena=no ;; |
9982 esac | 9983 esac |
9983 | 9984 |
9984 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9985 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9985 echo "checking for the Athena widgets" 1>&6 | 9986 echo "checking for the Athena widgets" 1>&6 |
9986 echo "configure:9987: checking for the Athena widgets" >&5 | 9987 echo "configure:9988: checking for the Athena widgets" >&5 |
9987 | 9988 |
9988 case "$with_athena" in | 9989 case "$with_athena" in |
9989 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9990 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9990 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9991 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9991 "next") athena_variant=neXtaw athena_3d=yes ;; | 9992 "next") athena_variant=neXtaw athena_3d=yes ;; |
9995 esac | 9996 esac |
9996 | 9997 |
9997 if test "$athena_3d" = "no"; then | 9998 if test "$athena_3d" = "no"; then |
9998 | 9999 |
9999 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10000 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10000 echo "configure:10001: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10001 echo "configure:10002: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10001 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10002 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10002 | 10003 |
10003 xe_check_libs=" -l$athena_variant " | 10004 xe_check_libs=" -l$athena_variant " |
10004 cat > conftest.$ac_ext <<EOF | 10005 cat > conftest.$ac_ext <<EOF |
10005 #line 10006 "configure" | 10006 #line 10007 "configure" |
10006 #include "confdefs.h" | 10007 #include "confdefs.h" |
10007 /* Override any gcc2 internal prototype to avoid an error. */ | 10008 /* Override any gcc2 internal prototype to avoid an error. */ |
10008 /* We use char because int might match the return type of a gcc2 | 10009 /* We use char because int might match the return type of a gcc2 |
10009 builtin and then its argument prototype would still apply. */ | 10010 builtin and then its argument prototype would still apply. */ |
10010 char XawScrollbarSetThumb(); | 10011 char XawScrollbarSetThumb(); |
10011 | 10012 |
10012 int main() { | 10013 int main() { |
10013 XawScrollbarSetThumb() | 10014 XawScrollbarSetThumb() |
10014 ; return 0; } | 10015 ; return 0; } |
10015 EOF | 10016 EOF |
10016 if { (eval echo configure:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10017 if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10017 rm -rf conftest* | 10018 rm -rf conftest* |
10018 eval "ac_cv_lib_$ac_lib_var=yes" | 10019 eval "ac_cv_lib_$ac_lib_var=yes" |
10019 else | 10020 else |
10020 echo "configure: failed program was:" >&5 | 10021 echo "configure: failed program was:" >&5 |
10021 cat conftest.$ac_ext >&5 | 10022 cat conftest.$ac_ext >&5 |
10027 | 10028 |
10028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10029 echo "$ac_t""yes" 1>&6 | 10030 echo "$ac_t""yes" 1>&6 |
10030 | 10031 |
10031 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10032 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10032 echo "configure:10033: checking for threeDClassRec in -l$athena_variant" >&5 | 10033 echo "configure:10034: checking for threeDClassRec in -l$athena_variant" >&5 |
10033 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10034 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10034 | 10035 |
10035 xe_check_libs=" -l$athena_variant " | 10036 xe_check_libs=" -l$athena_variant " |
10036 cat > conftest.$ac_ext <<EOF | 10037 cat > conftest.$ac_ext <<EOF |
10037 #line 10038 "configure" | 10038 #line 10039 "configure" |
10038 #include "confdefs.h" | 10039 #include "confdefs.h" |
10039 /* Override any gcc2 internal prototype to avoid an error. */ | 10040 /* Override any gcc2 internal prototype to avoid an error. */ |
10040 /* We use char because int might match the return type of a gcc2 | 10041 /* We use char because int might match the return type of a gcc2 |
10041 builtin and then its argument prototype would still apply. */ | 10042 builtin and then its argument prototype would still apply. */ |
10042 char threeDClassRec(); | 10043 char threeDClassRec(); |
10043 | 10044 |
10044 int main() { | 10045 int main() { |
10045 threeDClassRec() | 10046 threeDClassRec() |
10046 ; return 0; } | 10047 ; return 0; } |
10047 EOF | 10048 EOF |
10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10049 if { (eval echo configure:10050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10049 rm -rf conftest* | 10050 rm -rf conftest* |
10050 eval "ac_cv_lib_$ac_lib_var=yes" | 10051 eval "ac_cv_lib_$ac_lib_var=yes" |
10051 else | 10052 else |
10052 echo "configure: failed program was:" >&5 | 10053 echo "configure: failed program was:" >&5 |
10053 cat conftest.$ac_ext >&5 | 10054 cat conftest.$ac_ext >&5 |
10074 | 10075 |
10075 | 10076 |
10076 else | 10077 else |
10077 | 10078 |
10078 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10079 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10079 echo "configure:10080: checking for threeDClassRec in -l$athena_variant" >&5 | 10080 echo "configure:10081: checking for threeDClassRec in -l$athena_variant" >&5 |
10080 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10081 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10081 | 10082 |
10082 xe_check_libs=" -l$athena_variant " | 10083 xe_check_libs=" -l$athena_variant " |
10083 cat > conftest.$ac_ext <<EOF | 10084 cat > conftest.$ac_ext <<EOF |
10084 #line 10085 "configure" | 10085 #line 10086 "configure" |
10085 #include "confdefs.h" | 10086 #include "confdefs.h" |
10086 /* Override any gcc2 internal prototype to avoid an error. */ | 10087 /* Override any gcc2 internal prototype to avoid an error. */ |
10087 /* We use char because int might match the return type of a gcc2 | 10088 /* We use char because int might match the return type of a gcc2 |
10088 builtin and then its argument prototype would still apply. */ | 10089 builtin and then its argument prototype would still apply. */ |
10089 char threeDClassRec(); | 10090 char threeDClassRec(); |
10090 | 10091 |
10091 int main() { | 10092 int main() { |
10092 threeDClassRec() | 10093 threeDClassRec() |
10093 ; return 0; } | 10094 ; return 0; } |
10094 EOF | 10095 EOF |
10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10096 if { (eval echo configure:10097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10096 rm -rf conftest* | 10097 rm -rf conftest* |
10097 eval "ac_cv_lib_$ac_lib_var=yes" | 10098 eval "ac_cv_lib_$ac_lib_var=yes" |
10098 else | 10099 else |
10099 echo "configure: failed program was:" >&5 | 10100 echo "configure: failed program was:" >&5 |
10100 cat conftest.$ac_ext >&5 | 10101 cat conftest.$ac_ext >&5 |
10108 echo "$ac_t""yes" 1>&6 | 10109 echo "$ac_t""yes" 1>&6 |
10109 athena_lib=$athena_variant | 10110 athena_lib=$athena_variant |
10110 else | 10111 else |
10111 echo "$ac_t""no" 1>&6 | 10112 echo "$ac_t""no" 1>&6 |
10112 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10113 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10113 echo "configure:10114: checking for threeDClassRec in -lXaw" >&5 | 10114 echo "configure:10115: checking for threeDClassRec in -lXaw" >&5 |
10114 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10115 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10115 | 10116 |
10116 xe_check_libs=" -lXaw " | 10117 xe_check_libs=" -lXaw " |
10117 cat > conftest.$ac_ext <<EOF | 10118 cat > conftest.$ac_ext <<EOF |
10118 #line 10119 "configure" | 10119 #line 10120 "configure" |
10119 #include "confdefs.h" | 10120 #include "confdefs.h" |
10120 /* Override any gcc2 internal prototype to avoid an error. */ | 10121 /* Override any gcc2 internal prototype to avoid an error. */ |
10121 /* We use char because int might match the return type of a gcc2 | 10122 /* We use char because int might match the return type of a gcc2 |
10122 builtin and then its argument prototype would still apply. */ | 10123 builtin and then its argument prototype would still apply. */ |
10123 char threeDClassRec(); | 10124 char threeDClassRec(); |
10124 | 10125 |
10125 int main() { | 10126 int main() { |
10126 threeDClassRec() | 10127 threeDClassRec() |
10127 ; return 0; } | 10128 ; return 0; } |
10128 EOF | 10129 EOF |
10129 if { (eval echo configure:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10130 rm -rf conftest* | 10131 rm -rf conftest* |
10131 eval "ac_cv_lib_$ac_lib_var=yes" | 10132 eval "ac_cv_lib_$ac_lib_var=yes" |
10132 else | 10133 else |
10133 echo "configure: failed program was:" >&5 | 10134 echo "configure: failed program was:" >&5 |
10134 cat conftest.$ac_ext >&5 | 10135 cat conftest.$ac_ext >&5 |
10155 fi | 10156 fi |
10156 | 10157 |
10157 if test "$athena_3d" = "no"; then | 10158 if test "$athena_3d" = "no"; then |
10158 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10159 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10159 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10160 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10160 echo "configure:10161: checking for X11/Xaw/ThreeD.h" >&5 | 10161 echo "configure:10162: checking for X11/Xaw/ThreeD.h" >&5 |
10161 | 10162 |
10162 cat > conftest.$ac_ext <<EOF | 10163 cat > conftest.$ac_ext <<EOF |
10163 #line 10164 "configure" | 10164 #line 10165 "configure" |
10164 #include "confdefs.h" | 10165 #include "confdefs.h" |
10165 #include <X11/Xaw/ThreeD.h> | 10166 #include <X11/Xaw/ThreeD.h> |
10166 EOF | 10167 EOF |
10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10169 { (eval echo configure:10170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10170 if test -z "$ac_err"; then | 10171 if test -z "$ac_err"; then |
10171 rm -rf conftest* | 10172 rm -rf conftest* |
10172 eval "ac_cv_header_$ac_safe=yes" | 10173 eval "ac_cv_header_$ac_safe=yes" |
10173 else | 10174 else |
10183 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10184 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10184 else | 10185 else |
10185 echo "$ac_t""no" 1>&6 | 10186 echo "$ac_t""no" 1>&6 |
10186 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10187 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10187 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10188 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10188 echo "configure:10189: checking for X11/Xaw/XawInit.h" >&5 | 10189 echo "configure:10190: checking for X11/Xaw/XawInit.h" >&5 |
10189 | 10190 |
10190 cat > conftest.$ac_ext <<EOF | 10191 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10192 #line 10193 "configure" |
10192 #include "confdefs.h" | 10193 #include "confdefs.h" |
10193 #include <X11/Xaw/XawInit.h> | 10194 #include <X11/Xaw/XawInit.h> |
10194 EOF | 10195 EOF |
10195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10196 { (eval echo configure:10197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10197 { (eval echo configure:10198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10198 if test -z "$ac_err"; then | 10199 if test -z "$ac_err"; then |
10199 rm -rf conftest* | 10200 rm -rf conftest* |
10200 eval "ac_cv_header_$ac_safe=yes" | 10201 eval "ac_cv_header_$ac_safe=yes" |
10201 else | 10202 else |
10217 fi | 10218 fi |
10218 | 10219 |
10219 else | 10220 else |
10220 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10221 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10221 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10222 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10222 echo "configure:10223: checking for X11/$athena_variant/XawInit.h" >&5 | 10223 echo "configure:10224: checking for X11/$athena_variant/XawInit.h" >&5 |
10223 | 10224 |
10224 cat > conftest.$ac_ext <<EOF | 10225 cat > conftest.$ac_ext <<EOF |
10225 #line 10226 "configure" | 10226 #line 10227 "configure" |
10226 #include "confdefs.h" | 10227 #include "confdefs.h" |
10227 #include <X11/$athena_variant/XawInit.h> | 10228 #include <X11/$athena_variant/XawInit.h> |
10228 EOF | 10229 EOF |
10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10231 { (eval echo configure:10232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10232 if test -z "$ac_err"; then | 10233 if test -z "$ac_err"; then |
10233 rm -rf conftest* | 10234 rm -rf conftest* |
10234 eval "ac_cv_header_$ac_safe=yes" | 10235 eval "ac_cv_header_$ac_safe=yes" |
10235 else | 10236 else |
10242 rm -f conftest* | 10243 rm -f conftest* |
10243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10244 echo "$ac_t""yes" 1>&6 | 10245 echo "$ac_t""yes" 1>&6 |
10245 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10246 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10246 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10247 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10247 echo "configure:10248: checking for X11/$athena_variant/ThreeD.h" >&5 | 10248 echo "configure:10249: checking for X11/$athena_variant/ThreeD.h" >&5 |
10248 | 10249 |
10249 cat > conftest.$ac_ext <<EOF | 10250 cat > conftest.$ac_ext <<EOF |
10250 #line 10251 "configure" | 10251 #line 10252 "configure" |
10251 #include "confdefs.h" | 10252 #include "confdefs.h" |
10252 #include <X11/$athena_variant/ThreeD.h> | 10253 #include <X11/$athena_variant/ThreeD.h> |
10253 EOF | 10254 EOF |
10254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10256 { (eval echo configure:10257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10257 if test -z "$ac_err"; then | 10258 if test -z "$ac_err"; then |
10258 rm -rf conftest* | 10259 rm -rf conftest* |
10259 eval "ac_cv_header_$ac_safe=yes" | 10260 eval "ac_cv_header_$ac_safe=yes" |
10260 else | 10261 else |
10278 | 10279 |
10279 | 10280 |
10280 if test -z "$athena_h_path"; then | 10281 if test -z "$athena_h_path"; then |
10281 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10282 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10282 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10283 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10283 echo "configure:10284: checking for $athena_variant/XawInit.h" >&5 | 10284 echo "configure:10285: checking for $athena_variant/XawInit.h" >&5 |
10284 | 10285 |
10285 cat > conftest.$ac_ext <<EOF | 10286 cat > conftest.$ac_ext <<EOF |
10286 #line 10287 "configure" | 10287 #line 10288 "configure" |
10287 #include "confdefs.h" | 10288 #include "confdefs.h" |
10288 #include <$athena_variant/XawInit.h> | 10289 #include <$athena_variant/XawInit.h> |
10289 EOF | 10290 EOF |
10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10292 { (eval echo configure:10293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10293 if test -z "$ac_err"; then | 10294 if test -z "$ac_err"; then |
10294 rm -rf conftest* | 10295 rm -rf conftest* |
10295 eval "ac_cv_header_$ac_safe=yes" | 10296 eval "ac_cv_header_$ac_safe=yes" |
10296 else | 10297 else |
10303 rm -f conftest* | 10304 rm -f conftest* |
10304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10305 echo "$ac_t""yes" 1>&6 | 10306 echo "$ac_t""yes" 1>&6 |
10306 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10307 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10307 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10308 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10308 echo "configure:10309: checking for $athena_variant/ThreeD.h" >&5 | 10309 echo "configure:10310: checking for $athena_variant/ThreeD.h" >&5 |
10309 | 10310 |
10310 cat > conftest.$ac_ext <<EOF | 10311 cat > conftest.$ac_ext <<EOF |
10311 #line 10312 "configure" | 10312 #line 10313 "configure" |
10312 #include "confdefs.h" | 10313 #include "confdefs.h" |
10313 #include <$athena_variant/ThreeD.h> | 10314 #include <$athena_variant/ThreeD.h> |
10314 EOF | 10315 EOF |
10315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10316 { (eval echo configure:10317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10317 { (eval echo configure:10318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10318 if test -z "$ac_err"; then | 10319 if test -z "$ac_err"; then |
10319 rm -rf conftest* | 10320 rm -rf conftest* |
10320 eval "ac_cv_header_$ac_safe=yes" | 10321 eval "ac_cv_header_$ac_safe=yes" |
10321 else | 10322 else |
10340 fi | 10341 fi |
10341 | 10342 |
10342 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10343 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10343 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10344 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10344 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10345 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10345 echo "configure:10346: checking for X11/Xaw3d/XawInit.h" >&5 | 10346 echo "configure:10347: checking for X11/Xaw3d/XawInit.h" >&5 |
10346 | 10347 |
10347 cat > conftest.$ac_ext <<EOF | 10348 cat > conftest.$ac_ext <<EOF |
10348 #line 10349 "configure" | 10349 #line 10350 "configure" |
10349 #include "confdefs.h" | 10350 #include "confdefs.h" |
10350 #include <X11/Xaw3d/XawInit.h> | 10351 #include <X11/Xaw3d/XawInit.h> |
10351 EOF | 10352 EOF |
10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10354 { (eval echo configure:10355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10355 if test -z "$ac_err"; then | 10356 if test -z "$ac_err"; then |
10356 rm -rf conftest* | 10357 rm -rf conftest* |
10357 eval "ac_cv_header_$ac_safe=yes" | 10358 eval "ac_cv_header_$ac_safe=yes" |
10358 else | 10359 else |
10365 rm -f conftest* | 10366 rm -f conftest* |
10366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10367 echo "$ac_t""yes" 1>&6 | 10368 echo "$ac_t""yes" 1>&6 |
10368 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10369 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10369 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10370 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10370 echo "configure:10371: checking for X11/Xaw3d/ThreeD.h" >&5 | 10371 echo "configure:10372: checking for X11/Xaw3d/ThreeD.h" >&5 |
10371 | 10372 |
10372 cat > conftest.$ac_ext <<EOF | 10373 cat > conftest.$ac_ext <<EOF |
10373 #line 10374 "configure" | 10374 #line 10375 "configure" |
10374 #include "confdefs.h" | 10375 #include "confdefs.h" |
10375 #include <X11/Xaw3d/ThreeD.h> | 10376 #include <X11/Xaw3d/ThreeD.h> |
10376 EOF | 10377 EOF |
10377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10378 { (eval echo configure:10379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10379 { (eval echo configure:10380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10380 if test -z "$ac_err"; then | 10381 if test -z "$ac_err"; then |
10381 rm -rf conftest* | 10382 rm -rf conftest* |
10382 eval "ac_cv_header_$ac_safe=yes" | 10383 eval "ac_cv_header_$ac_safe=yes" |
10383 else | 10384 else |
10405 fi | 10406 fi |
10406 | 10407 |
10407 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10408 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10408 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10409 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10409 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10410 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10410 echo "configure:10411: checking for Xaw3d/XawInit.h" >&5 | 10411 echo "configure:10412: checking for Xaw3d/XawInit.h" >&5 |
10411 | 10412 |
10412 cat > conftest.$ac_ext <<EOF | 10413 cat > conftest.$ac_ext <<EOF |
10413 #line 10414 "configure" | 10414 #line 10415 "configure" |
10414 #include "confdefs.h" | 10415 #include "confdefs.h" |
10415 #include <Xaw3d/XawInit.h> | 10416 #include <Xaw3d/XawInit.h> |
10416 EOF | 10417 EOF |
10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10419 { (eval echo configure:10420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10420 if test -z "$ac_err"; then | 10421 if test -z "$ac_err"; then |
10421 rm -rf conftest* | 10422 rm -rf conftest* |
10422 eval "ac_cv_header_$ac_safe=yes" | 10423 eval "ac_cv_header_$ac_safe=yes" |
10423 else | 10424 else |
10430 rm -f conftest* | 10431 rm -f conftest* |
10431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10432 echo "$ac_t""yes" 1>&6 | 10433 echo "$ac_t""yes" 1>&6 |
10433 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10434 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10434 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10435 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10435 echo "configure:10436: checking for Xaw3d/ThreeD.h" >&5 | 10436 echo "configure:10437: checking for Xaw3d/ThreeD.h" >&5 |
10436 | 10437 |
10437 cat > conftest.$ac_ext <<EOF | 10438 cat > conftest.$ac_ext <<EOF |
10438 #line 10439 "configure" | 10439 #line 10440 "configure" |
10439 #include "confdefs.h" | 10440 #include "confdefs.h" |
10440 #include <Xaw3d/ThreeD.h> | 10441 #include <Xaw3d/ThreeD.h> |
10441 EOF | 10442 EOF |
10442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10443 { (eval echo configure:10444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10444 { (eval echo configure:10445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10445 if test -z "$ac_err"; then | 10446 if test -z "$ac_err"; then |
10446 rm -rf conftest* | 10447 rm -rf conftest* |
10447 eval "ac_cv_header_$ac_safe=yes" | 10448 eval "ac_cv_header_$ac_safe=yes" |
10448 else | 10449 else |
10470 fi | 10471 fi |
10471 | 10472 |
10472 if test -z "$athena_h_path"; then | 10473 if test -z "$athena_h_path"; then |
10473 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10474 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10474 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10475 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10475 echo "configure:10476: checking for X11/Xaw/ThreeD.h" >&5 | 10476 echo "configure:10477: checking for X11/Xaw/ThreeD.h" >&5 |
10476 | 10477 |
10477 cat > conftest.$ac_ext <<EOF | 10478 cat > conftest.$ac_ext <<EOF |
10478 #line 10479 "configure" | 10479 #line 10480 "configure" |
10479 #include "confdefs.h" | 10480 #include "confdefs.h" |
10480 #include <X11/Xaw/ThreeD.h> | 10481 #include <X11/Xaw/ThreeD.h> |
10481 EOF | 10482 EOF |
10482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10483 { (eval echo configure:10484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10484 { (eval echo configure:10485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10485 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10485 if test -z "$ac_err"; then | 10486 if test -z "$ac_err"; then |
10486 rm -rf conftest* | 10487 rm -rf conftest* |
10487 eval "ac_cv_header_$ac_safe=yes" | 10488 eval "ac_cv_header_$ac_safe=yes" |
10488 else | 10489 else |
10517 have_xaw=no | 10518 have_xaw=no |
10518 fi | 10519 fi |
10519 if test "$with_x11" = "yes"; then | 10520 if test "$with_x11" = "yes"; then |
10520 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10521 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10521 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10522 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10522 echo "configure:10523: checking for Xm/Xm.h" >&5 | 10523 echo "configure:10524: checking for Xm/Xm.h" >&5 |
10523 | 10524 |
10524 cat > conftest.$ac_ext <<EOF | 10525 cat > conftest.$ac_ext <<EOF |
10525 #line 10526 "configure" | 10526 #line 10527 "configure" |
10526 #include "confdefs.h" | 10527 #include "confdefs.h" |
10527 #include <Xm/Xm.h> | 10528 #include <Xm/Xm.h> |
10528 EOF | 10529 EOF |
10529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10530 { (eval echo configure:10531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10531 { (eval echo configure:10532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10532 if test -z "$ac_err"; then | 10533 if test -z "$ac_err"; then |
10533 rm -rf conftest* | 10534 rm -rf conftest* |
10534 eval "ac_cv_header_$ac_safe=yes" | 10535 eval "ac_cv_header_$ac_safe=yes" |
10535 else | 10536 else |
10542 rm -f conftest* | 10543 rm -f conftest* |
10543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10544 echo "$ac_t""yes" 1>&6 | 10545 echo "$ac_t""yes" 1>&6 |
10545 | 10546 |
10546 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10547 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10547 echo "configure:10548: checking for XmStringFree in -lXm" >&5 | 10548 echo "configure:10549: checking for XmStringFree in -lXm" >&5 |
10548 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10549 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10549 | 10550 |
10550 xe_check_libs=" -lXm " | 10551 xe_check_libs=" -lXm " |
10551 cat > conftest.$ac_ext <<EOF | 10552 cat > conftest.$ac_ext <<EOF |
10552 #line 10553 "configure" | 10553 #line 10554 "configure" |
10553 #include "confdefs.h" | 10554 #include "confdefs.h" |
10554 /* Override any gcc2 internal prototype to avoid an error. */ | 10555 /* Override any gcc2 internal prototype to avoid an error. */ |
10555 /* We use char because int might match the return type of a gcc2 | 10556 /* We use char because int might match the return type of a gcc2 |
10556 builtin and then its argument prototype would still apply. */ | 10557 builtin and then its argument prototype would still apply. */ |
10557 char XmStringFree(); | 10558 char XmStringFree(); |
10558 | 10559 |
10559 int main() { | 10560 int main() { |
10560 XmStringFree() | 10561 XmStringFree() |
10561 ; return 0; } | 10562 ; return 0; } |
10562 EOF | 10563 EOF |
10563 if { (eval echo configure:10564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10564 if { (eval echo configure:10565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10564 rm -rf conftest* | 10565 rm -rf conftest* |
10565 eval "ac_cv_lib_$ac_lib_var=yes" | 10566 eval "ac_cv_lib_$ac_lib_var=yes" |
10566 else | 10567 else |
10567 echo "configure: failed program was:" >&5 | 10568 echo "configure: failed program was:" >&5 |
10568 cat conftest.$ac_ext >&5 | 10569 cat conftest.$ac_ext >&5 |
10587 fi | 10588 fi |
10588 | 10589 |
10589 | 10590 |
10590 if test "$have_motif" = "yes"; then | 10591 if test "$have_motif" = "yes"; then |
10591 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10592 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10592 echo "configure:10593: checking for Lesstif" >&5 | 10593 echo "configure:10594: checking for Lesstif" >&5 |
10593 cat > conftest.$ac_ext <<EOF | 10594 cat > conftest.$ac_ext <<EOF |
10594 #line 10595 "configure" | 10595 #line 10596 "configure" |
10595 #include "confdefs.h" | 10596 #include "confdefs.h" |
10596 #include <Xm/Xm.h> | 10597 #include <Xm/Xm.h> |
10597 #ifdef LESSTIF_VERSION | 10598 #ifdef LESSTIF_VERSION |
10598 yes | 10599 yes |
10599 #endif | 10600 #endif |
10962 | 10963 |
10963 fi | 10964 fi |
10964 | 10965 |
10965 if test "$with_mule" = "yes" ; then | 10966 if test "$with_mule" = "yes" ; then |
10966 echo "checking for Mule-related features" 1>&6 | 10967 echo "checking for Mule-related features" 1>&6 |
10967 echo "configure:10968: checking for Mule-related features" >&5 | 10968 echo "configure:10969: checking for Mule-related features" >&5 |
10968 { test "$extra_verbose" = "yes" && cat << \EOF | 10969 { test "$extra_verbose" = "yes" && cat << \EOF |
10969 Defining MULE | 10970 Defining MULE |
10970 EOF | 10971 EOF |
10971 cat >> confdefs.h <<\EOF | 10972 cat >> confdefs.h <<\EOF |
10972 #define MULE 1 | 10973 #define MULE 1 |
10976 | 10977 |
10977 for ac_hdr in libintl.h | 10978 for ac_hdr in libintl.h |
10978 do | 10979 do |
10979 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10980 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10981 echo "configure:10982: checking for $ac_hdr" >&5 | 10982 echo "configure:10983: checking for $ac_hdr" >&5 |
10982 | 10983 |
10983 cat > conftest.$ac_ext <<EOF | 10984 cat > conftest.$ac_ext <<EOF |
10984 #line 10985 "configure" | 10985 #line 10986 "configure" |
10985 #include "confdefs.h" | 10986 #include "confdefs.h" |
10986 #include <$ac_hdr> | 10987 #include <$ac_hdr> |
10987 EOF | 10988 EOF |
10988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10989 { (eval echo configure:10990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10990 { (eval echo configure:10991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10991 if test -z "$ac_err"; then | 10992 if test -z "$ac_err"; then |
10992 rm -rf conftest* | 10993 rm -rf conftest* |
10993 eval "ac_cv_header_$ac_safe=yes" | 10994 eval "ac_cv_header_$ac_safe=yes" |
10994 else | 10995 else |
11015 fi | 11016 fi |
11016 done | 11017 done |
11017 | 11018 |
11018 | 11019 |
11019 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11020 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11020 echo "configure:11021: checking for strerror in -lintl" >&5 | 11021 echo "configure:11022: checking for strerror in -lintl" >&5 |
11021 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11022 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11022 | 11023 |
11023 xe_check_libs=" -lintl " | 11024 xe_check_libs=" -lintl " |
11024 cat > conftest.$ac_ext <<EOF | 11025 cat > conftest.$ac_ext <<EOF |
11025 #line 11026 "configure" | 11026 #line 11027 "configure" |
11026 #include "confdefs.h" | 11027 #include "confdefs.h" |
11027 /* Override any gcc2 internal prototype to avoid an error. */ | 11028 /* Override any gcc2 internal prototype to avoid an error. */ |
11028 /* We use char because int might match the return type of a gcc2 | 11029 /* We use char because int might match the return type of a gcc2 |
11029 builtin and then its argument prototype would still apply. */ | 11030 builtin and then its argument prototype would still apply. */ |
11030 char strerror(); | 11031 char strerror(); |
11031 | 11032 |
11032 int main() { | 11033 int main() { |
11033 strerror() | 11034 strerror() |
11034 ; return 0; } | 11035 ; return 0; } |
11035 EOF | 11036 EOF |
11036 if { (eval echo configure:11037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11037 if { (eval echo configure:11038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11037 rm -rf conftest* | 11038 rm -rf conftest* |
11038 eval "ac_cv_lib_$ac_lib_var=yes" | 11039 eval "ac_cv_lib_$ac_lib_var=yes" |
11039 else | 11040 else |
11040 echo "configure: failed program was:" >&5 | 11041 echo "configure: failed program was:" >&5 |
11041 cat conftest.$ac_ext >&5 | 11042 cat conftest.$ac_ext >&5 |
11064 fi | 11065 fi |
11065 | 11066 |
11066 | 11067 |
11067 | 11068 |
11068 echo "checking for Mule input methods" 1>&6 | 11069 echo "checking for Mule input methods" 1>&6 |
11069 echo "configure:11070: checking for Mule input methods" >&5 | 11070 echo "configure:11071: checking for Mule input methods" >&5 |
11070 case "$with_xim" in "" | "yes" ) | 11071 case "$with_xim" in "" | "yes" ) |
11071 echo "checking for XIM" 1>&6 | 11072 echo "checking for XIM" 1>&6 |
11072 echo "configure:11073: checking for XIM" >&5 | 11073 echo "configure:11074: checking for XIM" >&5 |
11073 | 11074 |
11074 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11075 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11075 echo "configure:11076: checking for XOpenIM in -lX11" >&5 | 11076 echo "configure:11077: checking for XOpenIM in -lX11" >&5 |
11076 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11077 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11077 | 11078 |
11078 xe_check_libs=" -lX11 " | 11079 xe_check_libs=" -lX11 " |
11079 cat > conftest.$ac_ext <<EOF | 11080 cat > conftest.$ac_ext <<EOF |
11080 #line 11081 "configure" | 11081 #line 11082 "configure" |
11081 #include "confdefs.h" | 11082 #include "confdefs.h" |
11082 /* Override any gcc2 internal prototype to avoid an error. */ | 11083 /* Override any gcc2 internal prototype to avoid an error. */ |
11083 /* We use char because int might match the return type of a gcc2 | 11084 /* We use char because int might match the return type of a gcc2 |
11084 builtin and then its argument prototype would still apply. */ | 11085 builtin and then its argument prototype would still apply. */ |
11085 char XOpenIM(); | 11086 char XOpenIM(); |
11086 | 11087 |
11087 int main() { | 11088 int main() { |
11088 XOpenIM() | 11089 XOpenIM() |
11089 ; return 0; } | 11090 ; return 0; } |
11090 EOF | 11091 EOF |
11091 if { (eval echo configure:11092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11092 if { (eval echo configure:11093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11092 rm -rf conftest* | 11093 rm -rf conftest* |
11093 eval "ac_cv_lib_$ac_lib_var=yes" | 11094 eval "ac_cv_lib_$ac_lib_var=yes" |
11094 else | 11095 else |
11095 echo "configure: failed program was:" >&5 | 11096 echo "configure: failed program was:" >&5 |
11096 cat conftest.$ac_ext >&5 | 11097 cat conftest.$ac_ext >&5 |
11110 | 11111 |
11111 | 11112 |
11112 if test "$have_motif $have_lesstif" = "yes no"; then | 11113 if test "$have_motif $have_lesstif" = "yes no"; then |
11113 | 11114 |
11114 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11115 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11115 echo "configure:11116: checking for XmImMbLookupString in -lXm" >&5 | 11116 echo "configure:11117: checking for XmImMbLookupString in -lXm" >&5 |
11116 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11117 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11117 | 11118 |
11118 xe_check_libs=" -lXm " | 11119 xe_check_libs=" -lXm " |
11119 cat > conftest.$ac_ext <<EOF | 11120 cat > conftest.$ac_ext <<EOF |
11120 #line 11121 "configure" | 11121 #line 11122 "configure" |
11121 #include "confdefs.h" | 11122 #include "confdefs.h" |
11122 /* Override any gcc2 internal prototype to avoid an error. */ | 11123 /* Override any gcc2 internal prototype to avoid an error. */ |
11123 /* We use char because int might match the return type of a gcc2 | 11124 /* We use char because int might match the return type of a gcc2 |
11124 builtin and then its argument prototype would still apply. */ | 11125 builtin and then its argument prototype would still apply. */ |
11125 char XmImMbLookupString(); | 11126 char XmImMbLookupString(); |
11126 | 11127 |
11127 int main() { | 11128 int main() { |
11128 XmImMbLookupString() | 11129 XmImMbLookupString() |
11129 ; return 0; } | 11130 ; return 0; } |
11130 EOF | 11131 EOF |
11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11132 if { (eval echo configure:11133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11132 rm -rf conftest* | 11133 rm -rf conftest* |
11133 eval "ac_cv_lib_$ac_lib_var=yes" | 11134 eval "ac_cv_lib_$ac_lib_var=yes" |
11134 else | 11135 else |
11135 echo "configure: failed program was:" >&5 | 11136 echo "configure: failed program was:" >&5 |
11136 cat conftest.$ac_ext >&5 | 11137 cat conftest.$ac_ext >&5 |
11191 fi | 11192 fi |
11192 fi | 11193 fi |
11193 | 11194 |
11194 if test "$with_xfs" = "yes" ; then | 11195 if test "$with_xfs" = "yes" ; then |
11195 echo "checking for XFontSet" 1>&6 | 11196 echo "checking for XFontSet" 1>&6 |
11196 echo "configure:11197: checking for XFontSet" >&5 | 11197 echo "configure:11198: checking for XFontSet" >&5 |
11197 | 11198 |
11198 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11199 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11199 echo "configure:11200: checking for XmbDrawString in -lX11" >&5 | 11200 echo "configure:11201: checking for XmbDrawString in -lX11" >&5 |
11200 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11201 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11201 | 11202 |
11202 xe_check_libs=" -lX11 " | 11203 xe_check_libs=" -lX11 " |
11203 cat > conftest.$ac_ext <<EOF | 11204 cat > conftest.$ac_ext <<EOF |
11204 #line 11205 "configure" | 11205 #line 11206 "configure" |
11205 #include "confdefs.h" | 11206 #include "confdefs.h" |
11206 /* Override any gcc2 internal prototype to avoid an error. */ | 11207 /* Override any gcc2 internal prototype to avoid an error. */ |
11207 /* We use char because int might match the return type of a gcc2 | 11208 /* We use char because int might match the return type of a gcc2 |
11208 builtin and then its argument prototype would still apply. */ | 11209 builtin and then its argument prototype would still apply. */ |
11209 char XmbDrawString(); | 11210 char XmbDrawString(); |
11210 | 11211 |
11211 int main() { | 11212 int main() { |
11212 XmbDrawString() | 11213 XmbDrawString() |
11213 ; return 0; } | 11214 ; return 0; } |
11214 EOF | 11215 EOF |
11215 if { (eval echo configure:11216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11216 if { (eval echo configure:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11216 rm -rf conftest* | 11217 rm -rf conftest* |
11217 eval "ac_cv_lib_$ac_lib_var=yes" | 11218 eval "ac_cv_lib_$ac_lib_var=yes" |
11218 else | 11219 else |
11219 echo "configure: failed program was:" >&5 | 11220 echo "configure: failed program was:" >&5 |
11220 cat conftest.$ac_ext >&5 | 11221 cat conftest.$ac_ext >&5 |
11250 fi | 11251 fi |
11251 fi | 11252 fi |
11252 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11253 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11253 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11254 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11254 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11255 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11255 echo "configure:11256: checking for wnn/jllib.h" >&5 | 11256 echo "configure:11257: checking for wnn/jllib.h" >&5 |
11256 | 11257 |
11257 cat > conftest.$ac_ext <<EOF | 11258 cat > conftest.$ac_ext <<EOF |
11258 #line 11259 "configure" | 11259 #line 11260 "configure" |
11259 #include "confdefs.h" | 11260 #include "confdefs.h" |
11260 #include <wnn/jllib.h> | 11261 #include <wnn/jllib.h> |
11261 EOF | 11262 EOF |
11262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11263 { (eval echo configure:11264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11264 { (eval echo configure:11265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11265 if test -z "$ac_err"; then | 11266 if test -z "$ac_err"; then |
11266 rm -rf conftest* | 11267 rm -rf conftest* |
11267 eval "ac_cv_header_$ac_safe=yes" | 11268 eval "ac_cv_header_$ac_safe=yes" |
11268 else | 11269 else |
11281 with_wnn=no | 11282 with_wnn=no |
11282 fi | 11283 fi |
11283 } | 11284 } |
11284 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11285 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11285 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11286 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11286 echo "configure:11287: checking for wnn/commonhd.h" >&5 | 11287 echo "configure:11288: checking for wnn/commonhd.h" >&5 |
11287 | 11288 |
11288 cat > conftest.$ac_ext <<EOF | 11289 cat > conftest.$ac_ext <<EOF |
11289 #line 11290 "configure" | 11290 #line 11291 "configure" |
11290 #include "confdefs.h" | 11291 #include "confdefs.h" |
11291 #include <wnn/commonhd.h> | 11292 #include <wnn/commonhd.h> |
11292 EOF | 11293 EOF |
11293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11294 { (eval echo configure:11295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11295 { (eval echo configure:11296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11296 if test -z "$ac_err"; then | 11297 if test -z "$ac_err"; then |
11297 rm -rf conftest* | 11298 rm -rf conftest* |
11298 eval "ac_cv_header_$ac_safe=yes" | 11299 eval "ac_cv_header_$ac_safe=yes" |
11299 else | 11300 else |
11314 } | 11315 } |
11315 if test "$with_wnn" != "no"; then | 11316 if test "$with_wnn" != "no"; then |
11316 for ac_func in crypt | 11317 for ac_func in crypt |
11317 do | 11318 do |
11318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11319 echo "configure:11320: checking for $ac_func" >&5 | 11320 echo "configure:11321: checking for $ac_func" >&5 |
11320 | 11321 |
11321 cat > conftest.$ac_ext <<EOF | 11322 cat > conftest.$ac_ext <<EOF |
11322 #line 11323 "configure" | 11323 #line 11324 "configure" |
11323 #include "confdefs.h" | 11324 #include "confdefs.h" |
11324 /* System header to define __stub macros and hopefully few prototypes, | 11325 /* System header to define __stub macros and hopefully few prototypes, |
11325 which can conflict with char $ac_func(); below. */ | 11326 which can conflict with char $ac_func(); below. */ |
11326 #include <assert.h> | 11327 #include <assert.h> |
11327 /* Override any gcc2 internal prototype to avoid an error. */ | 11328 /* Override any gcc2 internal prototype to avoid an error. */ |
11340 $ac_func(); | 11341 $ac_func(); |
11341 #endif | 11342 #endif |
11342 | 11343 |
11343 ; return 0; } | 11344 ; return 0; } |
11344 EOF | 11345 EOF |
11345 if { (eval echo configure:11346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11346 if { (eval echo configure:11347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11346 rm -rf conftest* | 11347 rm -rf conftest* |
11347 eval "ac_cv_func_$ac_func=yes" | 11348 eval "ac_cv_func_$ac_func=yes" |
11348 else | 11349 else |
11349 echo "configure: failed program was:" >&5 | 11350 echo "configure: failed program was:" >&5 |
11350 cat conftest.$ac_ext >&5 | 11351 cat conftest.$ac_ext >&5 |
11369 fi | 11370 fi |
11370 done | 11371 done |
11371 | 11372 |
11372 test "$ac_cv_func_crypt" != "yes" && { | 11373 test "$ac_cv_func_crypt" != "yes" && { |
11373 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11374 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11374 echo "configure:11375: checking for crypt in -lcrypt" >&5 | 11375 echo "configure:11376: checking for crypt in -lcrypt" >&5 |
11375 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11376 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11376 | 11377 |
11377 xe_check_libs=" -lcrypt " | 11378 xe_check_libs=" -lcrypt " |
11378 cat > conftest.$ac_ext <<EOF | 11379 cat > conftest.$ac_ext <<EOF |
11379 #line 11380 "configure" | 11380 #line 11381 "configure" |
11380 #include "confdefs.h" | 11381 #include "confdefs.h" |
11381 /* Override any gcc2 internal prototype to avoid an error. */ | 11382 /* Override any gcc2 internal prototype to avoid an error. */ |
11382 /* We use char because int might match the return type of a gcc2 | 11383 /* We use char because int might match the return type of a gcc2 |
11383 builtin and then its argument prototype would still apply. */ | 11384 builtin and then its argument prototype would still apply. */ |
11384 char crypt(); | 11385 char crypt(); |
11385 | 11386 |
11386 int main() { | 11387 int main() { |
11387 crypt() | 11388 crypt() |
11388 ; return 0; } | 11389 ; return 0; } |
11389 EOF | 11390 EOF |
11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11391 if { (eval echo configure:11392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11391 rm -rf conftest* | 11392 rm -rf conftest* |
11392 eval "ac_cv_lib_$ac_lib_var=yes" | 11393 eval "ac_cv_lib_$ac_lib_var=yes" |
11393 else | 11394 else |
11394 echo "configure: failed program was:" >&5 | 11395 echo "configure: failed program was:" >&5 |
11395 cat conftest.$ac_ext >&5 | 11396 cat conftest.$ac_ext >&5 |
11420 } | 11421 } |
11421 fi | 11422 fi |
11422 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11423 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11423 | 11424 |
11424 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11425 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11425 echo "configure:11426: checking for jl_dic_list_e in -lwnn" >&5 | 11426 echo "configure:11427: checking for jl_dic_list_e in -lwnn" >&5 |
11426 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11427 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11427 | 11428 |
11428 xe_check_libs=" -lwnn " | 11429 xe_check_libs=" -lwnn " |
11429 cat > conftest.$ac_ext <<EOF | 11430 cat > conftest.$ac_ext <<EOF |
11430 #line 11431 "configure" | 11431 #line 11432 "configure" |
11431 #include "confdefs.h" | 11432 #include "confdefs.h" |
11432 /* Override any gcc2 internal prototype to avoid an error. */ | 11433 /* Override any gcc2 internal prototype to avoid an error. */ |
11433 /* We use char because int might match the return type of a gcc2 | 11434 /* We use char because int might match the return type of a gcc2 |
11434 builtin and then its argument prototype would still apply. */ | 11435 builtin and then its argument prototype would still apply. */ |
11435 char jl_dic_list_e(); | 11436 char jl_dic_list_e(); |
11436 | 11437 |
11437 int main() { | 11438 int main() { |
11438 jl_dic_list_e() | 11439 jl_dic_list_e() |
11439 ; return 0; } | 11440 ; return 0; } |
11440 EOF | 11441 EOF |
11441 if { (eval echo configure:11442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11442 if { (eval echo configure:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11442 rm -rf conftest* | 11443 rm -rf conftest* |
11443 eval "ac_cv_lib_$ac_lib_var=yes" | 11444 eval "ac_cv_lib_$ac_lib_var=yes" |
11444 else | 11445 else |
11445 echo "configure: failed program was:" >&5 | 11446 echo "configure: failed program was:" >&5 |
11446 cat conftest.$ac_ext >&5 | 11447 cat conftest.$ac_ext >&5 |
11454 echo "$ac_t""yes" 1>&6 | 11455 echo "$ac_t""yes" 1>&6 |
11455 libwnn=wnn | 11456 libwnn=wnn |
11456 else | 11457 else |
11457 echo "$ac_t""no" 1>&6 | 11458 echo "$ac_t""no" 1>&6 |
11458 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11459 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11459 echo "configure:11460: checking for jl_dic_list_e in -lwnn4" >&5 | 11460 echo "configure:11461: checking for jl_dic_list_e in -lwnn4" >&5 |
11460 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11461 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11461 | 11462 |
11462 xe_check_libs=" -lwnn4 " | 11463 xe_check_libs=" -lwnn4 " |
11463 cat > conftest.$ac_ext <<EOF | 11464 cat > conftest.$ac_ext <<EOF |
11464 #line 11465 "configure" | 11465 #line 11466 "configure" |
11465 #include "confdefs.h" | 11466 #include "confdefs.h" |
11466 /* Override any gcc2 internal prototype to avoid an error. */ | 11467 /* Override any gcc2 internal prototype to avoid an error. */ |
11467 /* We use char because int might match the return type of a gcc2 | 11468 /* We use char because int might match the return type of a gcc2 |
11468 builtin and then its argument prototype would still apply. */ | 11469 builtin and then its argument prototype would still apply. */ |
11469 char jl_dic_list_e(); | 11470 char jl_dic_list_e(); |
11470 | 11471 |
11471 int main() { | 11472 int main() { |
11472 jl_dic_list_e() | 11473 jl_dic_list_e() |
11473 ; return 0; } | 11474 ; return 0; } |
11474 EOF | 11475 EOF |
11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11476 if { (eval echo configure:11477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11476 rm -rf conftest* | 11477 rm -rf conftest* |
11477 eval "ac_cv_lib_$ac_lib_var=yes" | 11478 eval "ac_cv_lib_$ac_lib_var=yes" |
11478 else | 11479 else |
11479 echo "configure: failed program was:" >&5 | 11480 echo "configure: failed program was:" >&5 |
11480 cat conftest.$ac_ext >&5 | 11481 cat conftest.$ac_ext >&5 |
11488 echo "$ac_t""yes" 1>&6 | 11489 echo "$ac_t""yes" 1>&6 |
11489 libwnn=wnn4 | 11490 libwnn=wnn4 |
11490 else | 11491 else |
11491 echo "$ac_t""no" 1>&6 | 11492 echo "$ac_t""no" 1>&6 |
11492 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11493 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11493 echo "configure:11494: checking for jl_dic_list_e in -lwnn6" >&5 | 11494 echo "configure:11495: checking for jl_dic_list_e in -lwnn6" >&5 |
11494 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11495 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11495 | 11496 |
11496 xe_check_libs=" -lwnn6 " | 11497 xe_check_libs=" -lwnn6 " |
11497 cat > conftest.$ac_ext <<EOF | 11498 cat > conftest.$ac_ext <<EOF |
11498 #line 11499 "configure" | 11499 #line 11500 "configure" |
11499 #include "confdefs.h" | 11500 #include "confdefs.h" |
11500 /* Override any gcc2 internal prototype to avoid an error. */ | 11501 /* Override any gcc2 internal prototype to avoid an error. */ |
11501 /* We use char because int might match the return type of a gcc2 | 11502 /* We use char because int might match the return type of a gcc2 |
11502 builtin and then its argument prototype would still apply. */ | 11503 builtin and then its argument prototype would still apply. */ |
11503 char jl_dic_list_e(); | 11504 char jl_dic_list_e(); |
11504 | 11505 |
11505 int main() { | 11506 int main() { |
11506 jl_dic_list_e() | 11507 jl_dic_list_e() |
11507 ; return 0; } | 11508 ; return 0; } |
11508 EOF | 11509 EOF |
11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11510 if { (eval echo configure:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11510 rm -rf conftest* | 11511 rm -rf conftest* |
11511 eval "ac_cv_lib_$ac_lib_var=yes" | 11512 eval "ac_cv_lib_$ac_lib_var=yes" |
11512 else | 11513 else |
11513 echo "configure: failed program was:" >&5 | 11514 echo "configure: failed program was:" >&5 |
11514 cat conftest.$ac_ext >&5 | 11515 cat conftest.$ac_ext >&5 |
11522 echo "$ac_t""yes" 1>&6 | 11523 echo "$ac_t""yes" 1>&6 |
11523 libwnn=wnn6 | 11524 libwnn=wnn6 |
11524 else | 11525 else |
11525 echo "$ac_t""no" 1>&6 | 11526 echo "$ac_t""no" 1>&6 |
11526 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11527 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11527 echo "configure:11528: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11528 echo "configure:11529: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11528 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11529 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11529 | 11530 |
11530 xe_check_libs=" -lwnn6_fromsrc " | 11531 xe_check_libs=" -lwnn6_fromsrc " |
11531 cat > conftest.$ac_ext <<EOF | 11532 cat > conftest.$ac_ext <<EOF |
11532 #line 11533 "configure" | 11533 #line 11534 "configure" |
11533 #include "confdefs.h" | 11534 #include "confdefs.h" |
11534 /* Override any gcc2 internal prototype to avoid an error. */ | 11535 /* Override any gcc2 internal prototype to avoid an error. */ |
11535 /* We use char because int might match the return type of a gcc2 | 11536 /* We use char because int might match the return type of a gcc2 |
11536 builtin and then its argument prototype would still apply. */ | 11537 builtin and then its argument prototype would still apply. */ |
11537 char dic_list_e(); | 11538 char dic_list_e(); |
11538 | 11539 |
11539 int main() { | 11540 int main() { |
11540 dic_list_e() | 11541 dic_list_e() |
11541 ; return 0; } | 11542 ; return 0; } |
11542 EOF | 11543 EOF |
11543 if { (eval echo configure:11544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11544 if { (eval echo configure:11545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11544 rm -rf conftest* | 11545 rm -rf conftest* |
11545 eval "ac_cv_lib_$ac_lib_var=yes" | 11546 eval "ac_cv_lib_$ac_lib_var=yes" |
11546 else | 11547 else |
11547 echo "configure: failed program was:" >&5 | 11548 echo "configure: failed program was:" >&5 |
11548 cat conftest.$ac_ext >&5 | 11549 cat conftest.$ac_ext >&5 |
11583 | 11584 |
11584 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11585 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11585 if test "$with_wnn6" != "no"; then | 11586 if test "$with_wnn6" != "no"; then |
11586 | 11587 |
11587 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11588 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11588 echo "configure:11589: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11589 echo "configure:11590: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11589 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11590 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11590 | 11591 |
11591 xe_check_libs=" -l$libwnn " | 11592 xe_check_libs=" -l$libwnn " |
11592 cat > conftest.$ac_ext <<EOF | 11593 cat > conftest.$ac_ext <<EOF |
11593 #line 11594 "configure" | 11594 #line 11595 "configure" |
11594 #include "confdefs.h" | 11595 #include "confdefs.h" |
11595 /* Override any gcc2 internal prototype to avoid an error. */ | 11596 /* Override any gcc2 internal prototype to avoid an error. */ |
11596 /* We use char because int might match the return type of a gcc2 | 11597 /* We use char because int might match the return type of a gcc2 |
11597 builtin and then its argument prototype would still apply. */ | 11598 builtin and then its argument prototype would still apply. */ |
11598 char jl_fi_dic_list(); | 11599 char jl_fi_dic_list(); |
11599 | 11600 |
11600 int main() { | 11601 int main() { |
11601 jl_fi_dic_list() | 11602 jl_fi_dic_list() |
11602 ; return 0; } | 11603 ; return 0; } |
11603 EOF | 11604 EOF |
11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11605 if { (eval echo configure:11606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11605 rm -rf conftest* | 11606 rm -rf conftest* |
11606 eval "ac_cv_lib_$ac_lib_var=yes" | 11607 eval "ac_cv_lib_$ac_lib_var=yes" |
11607 else | 11608 else |
11608 echo "configure: failed program was:" >&5 | 11609 echo "configure: failed program was:" >&5 |
11609 cat conftest.$ac_ext >&5 | 11610 cat conftest.$ac_ext >&5 |
11634 | 11635 |
11635 canna_includes_found=no | 11636 canna_includes_found=no |
11636 if test "$with_canna" != "no"; then | 11637 if test "$with_canna" != "no"; then |
11637 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11638 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11638 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11639 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11639 echo "configure:11640: checking for canna/jrkanji.h" >&5 | 11640 echo "configure:11641: checking for canna/jrkanji.h" >&5 |
11640 | 11641 |
11641 cat > conftest.$ac_ext <<EOF | 11642 cat > conftest.$ac_ext <<EOF |
11642 #line 11643 "configure" | 11643 #line 11644 "configure" |
11643 #include "confdefs.h" | 11644 #include "confdefs.h" |
11644 #include <canna/jrkanji.h> | 11645 #include <canna/jrkanji.h> |
11645 EOF | 11646 EOF |
11646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11647 { (eval echo configure:11648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11648 { (eval echo configure:11649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11649 if test -z "$ac_err"; then | 11650 if test -z "$ac_err"; then |
11650 rm -rf conftest* | 11651 rm -rf conftest* |
11651 eval "ac_cv_header_$ac_safe=yes" | 11652 eval "ac_cv_header_$ac_safe=yes" |
11652 else | 11653 else |
11669 -d "/usr/local/canna/include"; then | 11670 -d "/usr/local/canna/include"; then |
11670 save_c_switch_site="$c_switch_site" | 11671 save_c_switch_site="$c_switch_site" |
11671 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11672 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11672 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11673 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11673 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11674 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11674 echo "configure:11675: checking for canna/jrkanji.h" >&5 | 11675 echo "configure:11676: checking for canna/jrkanji.h" >&5 |
11675 | 11676 |
11676 cat > conftest.$ac_ext <<EOF | 11677 cat > conftest.$ac_ext <<EOF |
11677 #line 11678 "configure" | 11678 #line 11679 "configure" |
11678 #include "confdefs.h" | 11679 #include "confdefs.h" |
11679 #include <canna/jrkanji.h> | 11680 #include <canna/jrkanji.h> |
11680 EOF | 11681 EOF |
11681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11682 { (eval echo configure:11683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11683 { (eval echo configure:11684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11684 if test -z "$ac_err"; then | 11685 if test -z "$ac_err"; then |
11685 rm -rf conftest* | 11686 rm -rf conftest* |
11686 eval "ac_cv_header_$ac_safe=yes" | 11687 eval "ac_cv_header_$ac_safe=yes" |
11687 else | 11688 else |
11705 fi | 11706 fi |
11706 fi | 11707 fi |
11707 | 11708 |
11708 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11709 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11709 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11710 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11710 echo "configure:11711: checking for canna/RK.h" >&5 | 11711 echo "configure:11712: checking for canna/RK.h" >&5 |
11711 | 11712 |
11712 cat > conftest.$ac_ext <<EOF | 11713 cat > conftest.$ac_ext <<EOF |
11713 #line 11714 "configure" | 11714 #line 11715 "configure" |
11714 #include "confdefs.h" | 11715 #include "confdefs.h" |
11715 #include <canna/RK.h> | 11716 #include <canna/RK.h> |
11716 EOF | 11717 EOF |
11717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11718 { (eval echo configure:11719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11719 { (eval echo configure:11720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11720 if test -z "$ac_err"; then | 11721 if test -z "$ac_err"; then |
11721 rm -rf conftest* | 11722 rm -rf conftest* |
11722 eval "ac_cv_header_$ac_safe=yes" | 11723 eval "ac_cv_header_$ac_safe=yes" |
11723 else | 11724 else |
11736 with_canna=no | 11737 with_canna=no |
11737 fi | 11738 fi |
11738 } | 11739 } |
11739 test -z "$with_canna" && { | 11740 test -z "$with_canna" && { |
11740 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11741 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11741 echo "configure:11742: checking for RkBgnBun in -lRKC" >&5 | 11742 echo "configure:11743: checking for RkBgnBun in -lRKC" >&5 |
11742 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11743 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11743 | 11744 |
11744 xe_check_libs=" -lRKC " | 11745 xe_check_libs=" -lRKC " |
11745 cat > conftest.$ac_ext <<EOF | 11746 cat > conftest.$ac_ext <<EOF |
11746 #line 11747 "configure" | 11747 #line 11748 "configure" |
11747 #include "confdefs.h" | 11748 #include "confdefs.h" |
11748 /* Override any gcc2 internal prototype to avoid an error. */ | 11749 /* Override any gcc2 internal prototype to avoid an error. */ |
11749 /* We use char because int might match the return type of a gcc2 | 11750 /* We use char because int might match the return type of a gcc2 |
11750 builtin and then its argument prototype would still apply. */ | 11751 builtin and then its argument prototype would still apply. */ |
11751 char RkBgnBun(); | 11752 char RkBgnBun(); |
11752 | 11753 |
11753 int main() { | 11754 int main() { |
11754 RkBgnBun() | 11755 RkBgnBun() |
11755 ; return 0; } | 11756 ; return 0; } |
11756 EOF | 11757 EOF |
11757 if { (eval echo configure:11758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11758 if { (eval echo configure:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11758 rm -rf conftest* | 11759 rm -rf conftest* |
11759 eval "ac_cv_lib_$ac_lib_var=yes" | 11760 eval "ac_cv_lib_$ac_lib_var=yes" |
11760 else | 11761 else |
11761 echo "configure: failed program was:" >&5 | 11762 echo "configure: failed program was:" >&5 |
11762 cat conftest.$ac_ext >&5 | 11763 cat conftest.$ac_ext >&5 |
11775 fi | 11776 fi |
11776 | 11777 |
11777 } | 11778 } |
11778 test -z "$with_canna" && { | 11779 test -z "$with_canna" && { |
11779 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11780 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11780 echo "configure:11781: checking for jrKanjiControl in -lcanna" >&5 | 11781 echo "configure:11782: checking for jrKanjiControl in -lcanna" >&5 |
11781 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11782 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11782 | 11783 |
11783 xe_check_libs=" -lcanna " | 11784 xe_check_libs=" -lcanna " |
11784 cat > conftest.$ac_ext <<EOF | 11785 cat > conftest.$ac_ext <<EOF |
11785 #line 11786 "configure" | 11786 #line 11787 "configure" |
11786 #include "confdefs.h" | 11787 #include "confdefs.h" |
11787 /* Override any gcc2 internal prototype to avoid an error. */ | 11788 /* Override any gcc2 internal prototype to avoid an error. */ |
11788 /* We use char because int might match the return type of a gcc2 | 11789 /* We use char because int might match the return type of a gcc2 |
11789 builtin and then its argument prototype would still apply. */ | 11790 builtin and then its argument prototype would still apply. */ |
11790 char jrKanjiControl(); | 11791 char jrKanjiControl(); |
11791 | 11792 |
11792 int main() { | 11793 int main() { |
11793 jrKanjiControl() | 11794 jrKanjiControl() |
11794 ; return 0; } | 11795 ; return 0; } |
11795 EOF | 11796 EOF |
11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11797 rm -rf conftest* | 11798 rm -rf conftest* |
11798 eval "ac_cv_lib_$ac_lib_var=yes" | 11799 eval "ac_cv_lib_$ac_lib_var=yes" |
11799 else | 11800 else |
11800 echo "configure: failed program was:" >&5 | 11801 echo "configure: failed program was:" >&5 |
11801 cat conftest.$ac_ext >&5 | 11802 cat conftest.$ac_ext >&5 |
11837 | 11838 |
11838 if test "$need_motif" = "yes" ; then | 11839 if test "$need_motif" = "yes" ; then |
11839 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11840 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11840 | 11841 |
11841 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11842 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11842 echo "configure:11843: checking for layout_object_getvalue in -li18n" >&5 | 11843 echo "configure:11844: checking for layout_object_getvalue in -li18n" >&5 |
11843 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11844 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11844 | 11845 |
11845 xe_check_libs=" -li18n " | 11846 xe_check_libs=" -li18n " |
11846 cat > conftest.$ac_ext <<EOF | 11847 cat > conftest.$ac_ext <<EOF |
11847 #line 11848 "configure" | 11848 #line 11849 "configure" |
11848 #include "confdefs.h" | 11849 #include "confdefs.h" |
11849 /* Override any gcc2 internal prototype to avoid an error. */ | 11850 /* Override any gcc2 internal prototype to avoid an error. */ |
11850 /* We use char because int might match the return type of a gcc2 | 11851 /* We use char because int might match the return type of a gcc2 |
11851 builtin and then its argument prototype would still apply. */ | 11852 builtin and then its argument prototype would still apply. */ |
11852 char layout_object_getvalue(); | 11853 char layout_object_getvalue(); |
11853 | 11854 |
11854 int main() { | 11855 int main() { |
11855 layout_object_getvalue() | 11856 layout_object_getvalue() |
11856 ; return 0; } | 11857 ; return 0; } |
11857 EOF | 11858 EOF |
11858 if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11859 if { (eval echo configure:11860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11859 rm -rf conftest* | 11860 rm -rf conftest* |
11860 eval "ac_cv_lib_$ac_lib_var=yes" | 11861 eval "ac_cv_lib_$ac_lib_var=yes" |
11861 else | 11862 else |
11862 echo "configure: failed program was:" >&5 | 11863 echo "configure: failed program was:" >&5 |
11863 cat conftest.$ac_ext >&5 | 11864 cat conftest.$ac_ext >&5 |
11940 | 11941 |
11941 | 11942 |
11942 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 strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11943 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 strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11943 do | 11944 do |
11944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11945 echo "configure:11946: checking for $ac_func" >&5 | 11946 echo "configure:11947: checking for $ac_func" >&5 |
11946 | 11947 |
11947 cat > conftest.$ac_ext <<EOF | 11948 cat > conftest.$ac_ext <<EOF |
11948 #line 11949 "configure" | 11949 #line 11950 "configure" |
11949 #include "confdefs.h" | 11950 #include "confdefs.h" |
11950 /* System header to define __stub macros and hopefully few prototypes, | 11951 /* System header to define __stub macros and hopefully few prototypes, |
11951 which can conflict with char $ac_func(); below. */ | 11952 which can conflict with char $ac_func(); below. */ |
11952 #include <assert.h> | 11953 #include <assert.h> |
11953 /* Override any gcc2 internal prototype to avoid an error. */ | 11954 /* Override any gcc2 internal prototype to avoid an error. */ |
11966 $ac_func(); | 11967 $ac_func(); |
11967 #endif | 11968 #endif |
11968 | 11969 |
11969 ; return 0; } | 11970 ; return 0; } |
11970 EOF | 11971 EOF |
11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11972 if { (eval echo configure:11973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11972 rm -rf conftest* | 11973 rm -rf conftest* |
11973 eval "ac_cv_func_$ac_func=yes" | 11974 eval "ac_cv_func_$ac_func=yes" |
11974 else | 11975 else |
11975 echo "configure: failed program was:" >&5 | 11976 echo "configure: failed program was:" >&5 |
11976 cat conftest.$ac_ext >&5 | 11977 cat conftest.$ac_ext >&5 |
12007 | 12008 |
12008 | 12009 |
12009 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12010 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12010 do | 12011 do |
12011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12012 echo "configure:12013: checking for $ac_func" >&5 | 12013 echo "configure:12014: checking for $ac_func" >&5 |
12013 | 12014 |
12014 cat > conftest.$ac_ext <<EOF | 12015 cat > conftest.$ac_ext <<EOF |
12015 #line 12016 "configure" | 12016 #line 12017 "configure" |
12016 #include "confdefs.h" | 12017 #include "confdefs.h" |
12017 /* System header to define __stub macros and hopefully few prototypes, | 12018 /* System header to define __stub macros and hopefully few prototypes, |
12018 which can conflict with char $ac_func(); below. */ | 12019 which can conflict with char $ac_func(); below. */ |
12019 #include <assert.h> | 12020 #include <assert.h> |
12020 /* Override any gcc2 internal prototype to avoid an error. */ | 12021 /* Override any gcc2 internal prototype to avoid an error. */ |
12033 $ac_func(); | 12034 $ac_func(); |
12034 #endif | 12035 #endif |
12035 | 12036 |
12036 ; return 0; } | 12037 ; return 0; } |
12037 EOF | 12038 EOF |
12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12039 if { (eval echo configure:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12039 rm -rf conftest* | 12040 rm -rf conftest* |
12040 eval "ac_cv_func_$ac_func=yes" | 12041 eval "ac_cv_func_$ac_func=yes" |
12041 else | 12042 else |
12042 echo "configure: failed program was:" >&5 | 12043 echo "configure: failed program was:" >&5 |
12043 cat conftest.$ac_ext >&5 | 12044 cat conftest.$ac_ext >&5 |
12062 fi | 12063 fi |
12063 done | 12064 done |
12064 | 12065 |
12065 | 12066 |
12066 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12067 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12067 echo "configure:12068: checking for openpty" >&5 | 12068 echo "configure:12069: checking for openpty" >&5 |
12068 | 12069 |
12069 cat > conftest.$ac_ext <<EOF | 12070 cat > conftest.$ac_ext <<EOF |
12070 #line 12071 "configure" | 12071 #line 12072 "configure" |
12071 #include "confdefs.h" | 12072 #include "confdefs.h" |
12072 /* System header to define __stub macros and hopefully few prototypes, | 12073 /* System header to define __stub macros and hopefully few prototypes, |
12073 which can conflict with char openpty(); below. */ | 12074 which can conflict with char openpty(); below. */ |
12074 #include <assert.h> | 12075 #include <assert.h> |
12075 /* Override any gcc2 internal prototype to avoid an error. */ | 12076 /* Override any gcc2 internal prototype to avoid an error. */ |
12088 openpty(); | 12089 openpty(); |
12089 #endif | 12090 #endif |
12090 | 12091 |
12091 ; return 0; } | 12092 ; return 0; } |
12092 EOF | 12093 EOF |
12093 if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12094 if { (eval echo configure:12095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12094 rm -rf conftest* | 12095 rm -rf conftest* |
12095 eval "ac_cv_func_openpty=yes" | 12096 eval "ac_cv_func_openpty=yes" |
12096 else | 12097 else |
12097 echo "configure: failed program was:" >&5 | 12098 echo "configure: failed program was:" >&5 |
12098 cat conftest.$ac_ext >&5 | 12099 cat conftest.$ac_ext >&5 |
12107 else | 12108 else |
12108 echo "$ac_t""no" 1>&6 | 12109 echo "$ac_t""no" 1>&6 |
12109 | 12110 |
12110 | 12111 |
12111 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12112 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12112 echo "configure:12113: checking for openpty in -lutil" >&5 | 12113 echo "configure:12114: checking for openpty in -lutil" >&5 |
12113 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12114 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12114 | 12115 |
12115 xe_check_libs=" -lutil " | 12116 xe_check_libs=" -lutil " |
12116 cat > conftest.$ac_ext <<EOF | 12117 cat > conftest.$ac_ext <<EOF |
12117 #line 12118 "configure" | 12118 #line 12119 "configure" |
12118 #include "confdefs.h" | 12119 #include "confdefs.h" |
12119 /* Override any gcc2 internal prototype to avoid an error. */ | 12120 /* Override any gcc2 internal prototype to avoid an error. */ |
12120 /* We use char because int might match the return type of a gcc2 | 12121 /* We use char because int might match the return type of a gcc2 |
12121 builtin and then its argument prototype would still apply. */ | 12122 builtin and then its argument prototype would still apply. */ |
12122 char openpty(); | 12123 char openpty(); |
12123 | 12124 |
12124 int main() { | 12125 int main() { |
12125 openpty() | 12126 openpty() |
12126 ; return 0; } | 12127 ; return 0; } |
12127 EOF | 12128 EOF |
12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12129 if { (eval echo configure:12130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12129 rm -rf conftest* | 12130 rm -rf conftest* |
12130 eval "ac_cv_lib_$ac_lib_var=yes" | 12131 eval "ac_cv_lib_$ac_lib_var=yes" |
12131 else | 12132 else |
12132 echo "configure: failed program was:" >&5 | 12133 echo "configure: failed program was:" >&5 |
12133 cat conftest.$ac_ext >&5 | 12134 cat conftest.$ac_ext >&5 |
12158 | 12159 |
12159 for ac_hdr in libutil.h util.h | 12160 for ac_hdr in libutil.h util.h |
12160 do | 12161 do |
12161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12162 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12163 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12163 echo "configure:12164: checking for $ac_hdr" >&5 | 12164 echo "configure:12165: checking for $ac_hdr" >&5 |
12164 | 12165 |
12165 cat > conftest.$ac_ext <<EOF | 12166 cat > conftest.$ac_ext <<EOF |
12166 #line 12167 "configure" | 12167 #line 12168 "configure" |
12167 #include "confdefs.h" | 12168 #include "confdefs.h" |
12168 #include <$ac_hdr> | 12169 #include <$ac_hdr> |
12169 EOF | 12170 EOF |
12170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12171 { (eval echo configure:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12172 { (eval echo configure:12173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12173 if test -z "$ac_err"; then | 12174 if test -z "$ac_err"; then |
12174 rm -rf conftest* | 12175 rm -rf conftest* |
12175 eval "ac_cv_header_$ac_safe=yes" | 12176 eval "ac_cv_header_$ac_safe=yes" |
12176 else | 12177 else |
12203 case "$opsys" in | 12204 case "$opsys" in |
12204 hpux*) for ac_hdr in sys/ptyio.h | 12205 hpux*) for ac_hdr in sys/ptyio.h |
12205 do | 12206 do |
12206 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12208 echo "configure:12209: checking for $ac_hdr" >&5 | 12209 echo "configure:12210: checking for $ac_hdr" >&5 |
12209 | 12210 |
12210 cat > conftest.$ac_ext <<EOF | 12211 cat > conftest.$ac_ext <<EOF |
12211 #line 12212 "configure" | 12212 #line 12213 "configure" |
12212 #include "confdefs.h" | 12213 #include "confdefs.h" |
12213 #include <$ac_hdr> | 12214 #include <$ac_hdr> |
12214 EOF | 12215 EOF |
12215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12216 { (eval echo configure:12217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12217 { (eval echo configure:12218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12218 if test -z "$ac_err"; then | 12219 if test -z "$ac_err"; then |
12219 rm -rf conftest* | 12220 rm -rf conftest* |
12220 eval "ac_cv_header_$ac_safe=yes" | 12221 eval "ac_cv_header_$ac_safe=yes" |
12221 else | 12222 else |
12244 ;; | 12245 ;; |
12245 *) for ac_hdr in pty.h | 12246 *) for ac_hdr in pty.h |
12246 do | 12247 do |
12247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12249 echo "configure:12250: checking for $ac_hdr" >&5 | 12250 echo "configure:12251: checking for $ac_hdr" >&5 |
12250 | 12251 |
12251 cat > conftest.$ac_ext <<EOF | 12252 cat > conftest.$ac_ext <<EOF |
12252 #line 12253 "configure" | 12253 #line 12254 "configure" |
12253 #include "confdefs.h" | 12254 #include "confdefs.h" |
12254 #include <$ac_hdr> | 12255 #include <$ac_hdr> |
12255 EOF | 12256 EOF |
12256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12257 { (eval echo configure:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12258 { (eval echo configure:12259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12259 if test -z "$ac_err"; then | 12260 if test -z "$ac_err"; then |
12260 rm -rf conftest* | 12261 rm -rf conftest* |
12261 eval "ac_cv_header_$ac_safe=yes" | 12262 eval "ac_cv_header_$ac_safe=yes" |
12262 else | 12263 else |
12285 | 12286 |
12286 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12287 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12287 do | 12288 do |
12288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12289 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12290 echo "configure:12291: checking for $ac_hdr" >&5 | 12291 echo "configure:12292: checking for $ac_hdr" >&5 |
12291 | 12292 |
12292 cat > conftest.$ac_ext <<EOF | 12293 cat > conftest.$ac_ext <<EOF |
12293 #line 12294 "configure" | 12294 #line 12295 "configure" |
12294 #include "confdefs.h" | 12295 #include "confdefs.h" |
12295 #include <$ac_hdr> | 12296 #include <$ac_hdr> |
12296 EOF | 12297 EOF |
12297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12298 { (eval echo configure:12299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12299 { (eval echo configure:12300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12300 if test -z "$ac_err"; then | 12301 if test -z "$ac_err"; then |
12301 rm -rf conftest* | 12302 rm -rf conftest* |
12302 eval "ac_cv_header_$ac_safe=yes" | 12303 eval "ac_cv_header_$ac_safe=yes" |
12303 else | 12304 else |
12329 | 12330 |
12330 for ac_hdr in stropts.h | 12331 for ac_hdr in stropts.h |
12331 do | 12332 do |
12332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12333 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12334 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12334 echo "configure:12335: checking for $ac_hdr" >&5 | 12335 echo "configure:12336: checking for $ac_hdr" >&5 |
12335 | 12336 |
12336 cat > conftest.$ac_ext <<EOF | 12337 cat > conftest.$ac_ext <<EOF |
12337 #line 12338 "configure" | 12338 #line 12339 "configure" |
12338 #include "confdefs.h" | 12339 #include "confdefs.h" |
12339 #include <$ac_hdr> | 12340 #include <$ac_hdr> |
12340 EOF | 12341 EOF |
12341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12342 { (eval echo configure:12343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12343 { (eval echo configure:12344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12344 if test -z "$ac_err"; then | 12345 if test -z "$ac_err"; then |
12345 rm -rf conftest* | 12346 rm -rf conftest* |
12346 eval "ac_cv_header_$ac_safe=yes" | 12347 eval "ac_cv_header_$ac_safe=yes" |
12347 else | 12348 else |
12370 | 12371 |
12371 if test "$ac_cv_header_stropts_h" = "yes"; then | 12372 if test "$ac_cv_header_stropts_h" = "yes"; then |
12372 for ac_func in isastream | 12373 for ac_func in isastream |
12373 do | 12374 do |
12374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12375 echo "configure:12376: checking for $ac_func" >&5 | 12376 echo "configure:12377: checking for $ac_func" >&5 |
12376 | 12377 |
12377 cat > conftest.$ac_ext <<EOF | 12378 cat > conftest.$ac_ext <<EOF |
12378 #line 12379 "configure" | 12379 #line 12380 "configure" |
12379 #include "confdefs.h" | 12380 #include "confdefs.h" |
12380 /* System header to define __stub macros and hopefully few prototypes, | 12381 /* System header to define __stub macros and hopefully few prototypes, |
12381 which can conflict with char $ac_func(); below. */ | 12382 which can conflict with char $ac_func(); below. */ |
12382 #include <assert.h> | 12383 #include <assert.h> |
12383 /* Override any gcc2 internal prototype to avoid an error. */ | 12384 /* Override any gcc2 internal prototype to avoid an error. */ |
12396 $ac_func(); | 12397 $ac_func(); |
12397 #endif | 12398 #endif |
12398 | 12399 |
12399 ; return 0; } | 12400 ; return 0; } |
12400 EOF | 12401 EOF |
12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12402 if { (eval echo configure:12403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12402 rm -rf conftest* | 12403 rm -rf conftest* |
12403 eval "ac_cv_func_$ac_func=yes" | 12404 eval "ac_cv_func_$ac_func=yes" |
12404 else | 12405 else |
12405 echo "configure: failed program was:" >&5 | 12406 echo "configure: failed program was:" >&5 |
12406 cat conftest.$ac_ext >&5 | 12407 cat conftest.$ac_ext >&5 |
12427 | 12428 |
12428 for ac_hdr in strtio.h | 12429 for ac_hdr in strtio.h |
12429 do | 12430 do |
12430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12431 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12432 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12432 echo "configure:12433: checking for $ac_hdr" >&5 | 12433 echo "configure:12434: checking for $ac_hdr" >&5 |
12433 | 12434 |
12434 cat > conftest.$ac_ext <<EOF | 12435 cat > conftest.$ac_ext <<EOF |
12435 #line 12436 "configure" | 12436 #line 12437 "configure" |
12436 #include "confdefs.h" | 12437 #include "confdefs.h" |
12437 #include <$ac_hdr> | 12438 #include <$ac_hdr> |
12438 EOF | 12439 EOF |
12439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12440 { (eval echo configure:12441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12441 { (eval echo configure:12442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12442 if test -z "$ac_err"; then | 12443 if test -z "$ac_err"; then |
12443 rm -rf conftest* | 12444 rm -rf conftest* |
12444 eval "ac_cv_header_$ac_safe=yes" | 12445 eval "ac_cv_header_$ac_safe=yes" |
12445 else | 12446 else |
12468 fi | 12469 fi |
12469 | 12470 |
12470 for ac_func in getloadavg | 12471 for ac_func in getloadavg |
12471 do | 12472 do |
12472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12473 echo "configure:12474: checking for $ac_func" >&5 | 12474 echo "configure:12475: checking for $ac_func" >&5 |
12474 | 12475 |
12475 cat > conftest.$ac_ext <<EOF | 12476 cat > conftest.$ac_ext <<EOF |
12476 #line 12477 "configure" | 12477 #line 12478 "configure" |
12477 #include "confdefs.h" | 12478 #include "confdefs.h" |
12478 /* System header to define __stub macros and hopefully few prototypes, | 12479 /* System header to define __stub macros and hopefully few prototypes, |
12479 which can conflict with char $ac_func(); below. */ | 12480 which can conflict with char $ac_func(); below. */ |
12480 #include <assert.h> | 12481 #include <assert.h> |
12481 /* Override any gcc2 internal prototype to avoid an error. */ | 12482 /* Override any gcc2 internal prototype to avoid an error. */ |
12494 $ac_func(); | 12495 $ac_func(); |
12495 #endif | 12496 #endif |
12496 | 12497 |
12497 ; return 0; } | 12498 ; return 0; } |
12498 EOF | 12499 EOF |
12499 if { (eval echo configure:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12500 if { (eval echo configure:12501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12500 rm -rf conftest* | 12501 rm -rf conftest* |
12501 eval "ac_cv_func_$ac_func=yes" | 12502 eval "ac_cv_func_$ac_func=yes" |
12502 else | 12503 else |
12503 echo "configure: failed program was:" >&5 | 12504 echo "configure: failed program was:" >&5 |
12504 cat conftest.$ac_ext >&5 | 12505 cat conftest.$ac_ext >&5 |
12527 if test "$ac_cv_func_getloadavg" = "yes"; then | 12528 if test "$ac_cv_func_getloadavg" = "yes"; then |
12528 for ac_hdr in sys/loadavg.h | 12529 for ac_hdr in sys/loadavg.h |
12529 do | 12530 do |
12530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12531 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12532 echo "configure:12533: checking for $ac_hdr" >&5 | 12533 echo "configure:12534: checking for $ac_hdr" >&5 |
12533 | 12534 |
12534 cat > conftest.$ac_ext <<EOF | 12535 cat > conftest.$ac_ext <<EOF |
12535 #line 12536 "configure" | 12536 #line 12537 "configure" |
12536 #include "confdefs.h" | 12537 #include "confdefs.h" |
12537 #include <$ac_hdr> | 12538 #include <$ac_hdr> |
12538 EOF | 12539 EOF |
12539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12540 { (eval echo configure:12541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12541 { (eval echo configure:12542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12542 if test -z "$ac_err"; then | 12543 if test -z "$ac_err"; then |
12543 rm -rf conftest* | 12544 rm -rf conftest* |
12544 eval "ac_cv_header_$ac_safe=yes" | 12545 eval "ac_cv_header_$ac_safe=yes" |
12545 else | 12546 else |
12571 echo " xemacs will be linked with \"getloadavg.o\"" | 12572 echo " xemacs will be linked with \"getloadavg.o\"" |
12572 fi | 12573 fi |
12573 | 12574 |
12574 | 12575 |
12575 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12576 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12576 echo "configure:12577: checking for kstat_open in -lkstat" >&5 | 12577 echo "configure:12578: checking for kstat_open in -lkstat" >&5 |
12577 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12578 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12578 | 12579 |
12579 xe_check_libs=" -lkstat " | 12580 xe_check_libs=" -lkstat " |
12580 cat > conftest.$ac_ext <<EOF | 12581 cat > conftest.$ac_ext <<EOF |
12581 #line 12582 "configure" | 12582 #line 12583 "configure" |
12582 #include "confdefs.h" | 12583 #include "confdefs.h" |
12583 /* Override any gcc2 internal prototype to avoid an error. */ | 12584 /* Override any gcc2 internal prototype to avoid an error. */ |
12584 /* We use char because int might match the return type of a gcc2 | 12585 /* We use char because int might match the return type of a gcc2 |
12585 builtin and then its argument prototype would still apply. */ | 12586 builtin and then its argument prototype would still apply. */ |
12586 char kstat_open(); | 12587 char kstat_open(); |
12587 | 12588 |
12588 int main() { | 12589 int main() { |
12589 kstat_open() | 12590 kstat_open() |
12590 ; return 0; } | 12591 ; return 0; } |
12591 EOF | 12592 EOF |
12592 if { (eval echo configure:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12593 if { (eval echo configure:12594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12593 rm -rf conftest* | 12594 rm -rf conftest* |
12594 eval "ac_cv_lib_$ac_lib_var=yes" | 12595 eval "ac_cv_lib_$ac_lib_var=yes" |
12595 else | 12596 else |
12596 echo "configure: failed program was:" >&5 | 12597 echo "configure: failed program was:" >&5 |
12597 cat conftest.$ac_ext >&5 | 12598 cat conftest.$ac_ext >&5 |
12622 | 12623 |
12623 for ac_hdr in kstat.h | 12624 for ac_hdr in kstat.h |
12624 do | 12625 do |
12625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12626 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12627 echo "configure:12628: checking for $ac_hdr" >&5 | 12628 echo "configure:12629: checking for $ac_hdr" >&5 |
12628 | 12629 |
12629 cat > conftest.$ac_ext <<EOF | 12630 cat > conftest.$ac_ext <<EOF |
12630 #line 12631 "configure" | 12631 #line 12632 "configure" |
12631 #include "confdefs.h" | 12632 #include "confdefs.h" |
12632 #include <$ac_hdr> | 12633 #include <$ac_hdr> |
12633 EOF | 12634 EOF |
12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12636 { (eval echo configure:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12637 if test -z "$ac_err"; then | 12638 if test -z "$ac_err"; then |
12638 rm -rf conftest* | 12639 rm -rf conftest* |
12639 eval "ac_cv_header_$ac_safe=yes" | 12640 eval "ac_cv_header_$ac_safe=yes" |
12640 else | 12641 else |
12662 done | 12663 done |
12663 | 12664 |
12664 | 12665 |
12665 | 12666 |
12666 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12667 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12667 echo "configure:12668: checking for kvm_read in -lkvm" >&5 | 12668 echo "configure:12669: checking for kvm_read in -lkvm" >&5 |
12668 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12669 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12669 | 12670 |
12670 xe_check_libs=" -lkvm " | 12671 xe_check_libs=" -lkvm " |
12671 cat > conftest.$ac_ext <<EOF | 12672 cat > conftest.$ac_ext <<EOF |
12672 #line 12673 "configure" | 12673 #line 12674 "configure" |
12673 #include "confdefs.h" | 12674 #include "confdefs.h" |
12674 /* Override any gcc2 internal prototype to avoid an error. */ | 12675 /* Override any gcc2 internal prototype to avoid an error. */ |
12675 /* We use char because int might match the return type of a gcc2 | 12676 /* We use char because int might match the return type of a gcc2 |
12676 builtin and then its argument prototype would still apply. */ | 12677 builtin and then its argument prototype would still apply. */ |
12677 char kvm_read(); | 12678 char kvm_read(); |
12678 | 12679 |
12679 int main() { | 12680 int main() { |
12680 kvm_read() | 12681 kvm_read() |
12681 ; return 0; } | 12682 ; return 0; } |
12682 EOF | 12683 EOF |
12683 if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12684 if { (eval echo configure:12685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12684 rm -rf conftest* | 12685 rm -rf conftest* |
12685 eval "ac_cv_lib_$ac_lib_var=yes" | 12686 eval "ac_cv_lib_$ac_lib_var=yes" |
12686 else | 12687 else |
12687 echo "configure: failed program was:" >&5 | 12688 echo "configure: failed program was:" >&5 |
12688 cat conftest.$ac_ext >&5 | 12689 cat conftest.$ac_ext >&5 |
12712 | 12713 |
12713 | 12714 |
12714 fi | 12715 fi |
12715 | 12716 |
12716 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12717 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12717 echo "configure:12718: checking whether netdb declares h_errno" >&5 | 12718 echo "configure:12719: checking whether netdb declares h_errno" >&5 |
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 <netdb.h> | 12722 #include <netdb.h> |
12722 int main() { | 12723 int main() { |
12723 return h_errno; | 12724 return h_errno; |
12724 ; return 0; } | 12725 ; return 0; } |
12725 EOF | 12726 EOF |
12726 if { (eval echo configure:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12727 if { (eval echo configure:12728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12727 rm -rf conftest* | 12728 rm -rf conftest* |
12728 echo "$ac_t""yes" 1>&6 | 12729 echo "$ac_t""yes" 1>&6 |
12729 { test "$extra_verbose" = "yes" && cat << \EOF | 12730 { test "$extra_verbose" = "yes" && cat << \EOF |
12730 Defining HAVE_H_ERRNO | 12731 Defining HAVE_H_ERRNO |
12731 EOF | 12732 EOF |
12741 echo "$ac_t""no" 1>&6 | 12742 echo "$ac_t""no" 1>&6 |
12742 fi | 12743 fi |
12743 rm -f conftest* | 12744 rm -f conftest* |
12744 | 12745 |
12745 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12746 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12746 echo "configure:12747: checking for sigsetjmp" >&5 | 12747 echo "configure:12748: checking for sigsetjmp" >&5 |
12747 cat > conftest.$ac_ext <<EOF | 12748 cat > conftest.$ac_ext <<EOF |
12748 #line 12749 "configure" | 12749 #line 12750 "configure" |
12749 #include "confdefs.h" | 12750 #include "confdefs.h" |
12750 #include <setjmp.h> | 12751 #include <setjmp.h> |
12751 int main() { | 12752 int main() { |
12752 sigjmp_buf bar; sigsetjmp (bar, 0); | 12753 sigjmp_buf bar; sigsetjmp (bar, 0); |
12753 ; return 0; } | 12754 ; return 0; } |
12754 EOF | 12755 EOF |
12755 if { (eval echo configure:12756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12756 if { (eval echo configure:12757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12756 rm -rf conftest* | 12757 rm -rf conftest* |
12757 echo "$ac_t""yes" 1>&6 | 12758 echo "$ac_t""yes" 1>&6 |
12758 { test "$extra_verbose" = "yes" && cat << \EOF | 12759 { test "$extra_verbose" = "yes" && cat << \EOF |
12759 Defining HAVE_SIGSETJMP | 12760 Defining HAVE_SIGSETJMP |
12760 EOF | 12761 EOF |
12770 echo "$ac_t""no" 1>&6 | 12771 echo "$ac_t""no" 1>&6 |
12771 fi | 12772 fi |
12772 rm -f conftest* | 12773 rm -f conftest* |
12773 | 12774 |
12774 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12775 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12775 echo "configure:12776: checking whether localtime caches TZ" >&5 | 12776 echo "configure:12777: checking whether localtime caches TZ" >&5 |
12776 | 12777 |
12777 if test "$ac_cv_func_tzset" = "yes"; then | 12778 if test "$ac_cv_func_tzset" = "yes"; then |
12778 cat > conftest.$ac_ext <<EOF | 12779 cat > conftest.$ac_ext <<EOF |
12779 #line 12780 "configure" | 12780 #line 12781 "configure" |
12780 #include "confdefs.h" | 12781 #include "confdefs.h" |
12781 #include <time.h> | 12782 #include <time.h> |
12782 #if STDC_HEADERS | 12783 #if STDC_HEADERS |
12783 # include <stdlib.h> | 12784 # include <stdlib.h> |
12784 #endif | 12785 #endif |
12809 if (localtime (&now)->tm_hour != hour_unset) | 12810 if (localtime (&now)->tm_hour != hour_unset) |
12810 exit (1); | 12811 exit (1); |
12811 exit (0); | 12812 exit (0); |
12812 } | 12813 } |
12813 EOF | 12814 EOF |
12814 if { (eval echo configure:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12815 if { (eval echo configure:12816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12815 then | 12816 then |
12816 emacs_cv_localtime_cache=no | 12817 emacs_cv_localtime_cache=no |
12817 else | 12818 else |
12818 conftest_rc="$?" | 12819 conftest_rc="$?" |
12819 echo "configure: failed program was:" >&5 | 12820 echo "configure: failed program was:" >&5 |
12839 | 12840 |
12840 fi | 12841 fi |
12841 | 12842 |
12842 if test "$HAVE_TIMEVAL" = "yes"; then | 12843 if test "$HAVE_TIMEVAL" = "yes"; then |
12843 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12844 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12844 echo "configure:12845: checking whether gettimeofday accepts one or two arguments" >&5 | 12845 echo "configure:12846: checking whether gettimeofday accepts one or two arguments" >&5 |
12845 cat > conftest.$ac_ext <<EOF | 12846 cat > conftest.$ac_ext <<EOF |
12846 #line 12847 "configure" | 12847 #line 12848 "configure" |
12847 #include "confdefs.h" | 12848 #include "confdefs.h" |
12848 | 12849 |
12849 #ifdef TIME_WITH_SYS_TIME | 12850 #ifdef TIME_WITH_SYS_TIME |
12850 #include <sys/time.h> | 12851 #include <sys/time.h> |
12851 #include <time.h> | 12852 #include <time.h> |
12862 struct timeval time; | 12863 struct timeval time; |
12863 gettimeofday (&time, 0); | 12864 gettimeofday (&time, 0); |
12864 | 12865 |
12865 ; return 0; } | 12866 ; return 0; } |
12866 EOF | 12867 EOF |
12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12868 if { (eval echo configure:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12868 rm -rf conftest* | 12869 rm -rf conftest* |
12869 echo "$ac_t""two" 1>&6 | 12870 echo "$ac_t""two" 1>&6 |
12870 else | 12871 else |
12871 echo "configure: failed program was:" >&5 | 12872 echo "configure: failed program was:" >&5 |
12872 cat conftest.$ac_ext >&5 | 12873 cat conftest.$ac_ext >&5 |
12884 rm -f conftest* | 12885 rm -f conftest* |
12885 fi | 12886 fi |
12886 | 12887 |
12887 | 12888 |
12888 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12889 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12889 echo "configure:12890: checking for inline" >&5 | 12890 echo "configure:12891: checking for inline" >&5 |
12890 | 12891 |
12891 ac_cv_c_inline=no | 12892 ac_cv_c_inline=no |
12892 for ac_kw in inline __inline__ __inline; do | 12893 for ac_kw in inline __inline__ __inline; do |
12893 cat > conftest.$ac_ext <<EOF | 12894 cat > conftest.$ac_ext <<EOF |
12894 #line 12895 "configure" | 12895 #line 12896 "configure" |
12895 #include "confdefs.h" | 12896 #include "confdefs.h" |
12896 | 12897 |
12897 int main() { | 12898 int main() { |
12898 } $ac_kw foo() { | 12899 } $ac_kw foo() { |
12899 ; return 0; } | 12900 ; return 0; } |
12900 EOF | 12901 EOF |
12901 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12902 if { (eval echo configure:12903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12902 rm -rf conftest* | 12903 rm -rf conftest* |
12903 ac_cv_c_inline=$ac_kw; break | 12904 ac_cv_c_inline=$ac_kw; break |
12904 else | 12905 else |
12905 echo "configure: failed program was:" >&5 | 12906 echo "configure: failed program was:" >&5 |
12906 cat conftest.$ac_ext >&5 | 12907 cat conftest.$ac_ext >&5 |
12933 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 12934 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
12934 echo " xemacs will be linked with \"inline.o\"" | 12935 echo " xemacs will be linked with \"inline.o\"" |
12935 fi | 12936 fi |
12936 | 12937 |
12937 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 12938 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
12938 echo "configure:12939: checking for typeof" >&5 | 12939 echo "configure:12940: checking for typeof" >&5 |
12939 cat > conftest.$ac_ext <<EOF | 12940 cat > conftest.$ac_ext <<EOF |
12940 #line 12941 "configure" | 12941 #line 12942 "configure" |
12941 #include "confdefs.h" | 12942 #include "confdefs.h" |
12942 | 12943 |
12943 int main() { | 12944 int main() { |
12944 int i; __typeof__(i) j; | 12945 int i; __typeof__(i) j; |
12945 ; return 0; } | 12946 ; return 0; } |
12946 EOF | 12947 EOF |
12947 if { (eval echo configure:12948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12948 if { (eval echo configure:12949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12948 rm -rf conftest* | 12949 rm -rf conftest* |
12949 typeofname="__typeof__" | 12950 typeofname="__typeof__" |
12950 else | 12951 else |
12951 echo "configure: failed program was:" >&5 | 12952 echo "configure: failed program was:" >&5 |
12952 cat conftest.$ac_ext >&5 | 12953 cat conftest.$ac_ext >&5 |
12953 rm -rf conftest* | 12954 rm -rf conftest* |
12954 cat > conftest.$ac_ext <<EOF | 12955 cat > conftest.$ac_ext <<EOF |
12955 #line 12956 "configure" | 12956 #line 12957 "configure" |
12956 #include "confdefs.h" | 12957 #include "confdefs.h" |
12957 | 12958 |
12958 int main() { | 12959 int main() { |
12959 int i; typeof(i) j; | 12960 int i; typeof(i) j; |
12960 ; return 0; } | 12961 ; return 0; } |
12961 EOF | 12962 EOF |
12962 if { (eval echo configure:12963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12963 if { (eval echo configure:12964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12963 rm -rf conftest* | 12964 rm -rf conftest* |
12964 typeofname="typeof" | 12965 typeofname="typeof" |
12965 else | 12966 else |
12966 echo "configure: failed program was:" >&5 | 12967 echo "configure: failed program was:" >&5 |
12967 cat conftest.$ac_ext >&5 | 12968 cat conftest.$ac_ext >&5 |
12986 | 12987 |
12987 if test "$__DECC" != "yes"; then | 12988 if test "$__DECC" != "yes"; then |
12988 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12989 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12989 # for constant arguments. Useless! | 12990 # for constant arguments. Useless! |
12990 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12991 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12991 echo "configure:12992: checking for working alloca.h" >&5 | 12992 echo "configure:12993: checking for working alloca.h" >&5 |
12992 | 12993 |
12993 cat > conftest.$ac_ext <<EOF | 12994 cat > conftest.$ac_ext <<EOF |
12994 #line 12995 "configure" | 12995 #line 12996 "configure" |
12995 #include "confdefs.h" | 12996 #include "confdefs.h" |
12996 #include <alloca.h> | 12997 #include <alloca.h> |
12997 int main() { | 12998 int main() { |
12998 char *p = alloca(2 * sizeof(int)); | 12999 char *p = alloca(2 * sizeof(int)); |
12999 ; return 0; } | 13000 ; return 0; } |
13000 EOF | 13001 EOF |
13001 if { (eval echo configure:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13002 if { (eval echo configure:13003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13002 rm -rf conftest* | 13003 rm -rf conftest* |
13003 ac_cv_header_alloca_h=yes | 13004 ac_cv_header_alloca_h=yes |
13004 else | 13005 else |
13005 echo "configure: failed program was:" >&5 | 13006 echo "configure: failed program was:" >&5 |
13006 cat conftest.$ac_ext >&5 | 13007 cat conftest.$ac_ext >&5 |
13020 } | 13021 } |
13021 | 13022 |
13022 fi | 13023 fi |
13023 | 13024 |
13024 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13025 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13025 echo "configure:13026: checking for alloca" >&5 | 13026 echo "configure:13027: checking for alloca" >&5 |
13026 | 13027 |
13027 cat > conftest.$ac_ext <<EOF | 13028 cat > conftest.$ac_ext <<EOF |
13028 #line 13029 "configure" | 13029 #line 13030 "configure" |
13029 #include "confdefs.h" | 13030 #include "confdefs.h" |
13030 | 13031 |
13031 #ifdef __GNUC__ | 13032 #ifdef __GNUC__ |
13032 # define alloca __builtin_alloca | 13033 # define alloca __builtin_alloca |
13033 #else | 13034 #else |
13051 | 13052 |
13052 int main() { | 13053 int main() { |
13053 char *p = (char *) alloca(1); | 13054 char *p = (char *) alloca(1); |
13054 ; return 0; } | 13055 ; return 0; } |
13055 EOF | 13056 EOF |
13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13057 if { (eval echo configure:13058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13057 rm -rf conftest* | 13058 rm -rf conftest* |
13058 ac_cv_func_alloca_works=yes | 13059 ac_cv_func_alloca_works=yes |
13059 else | 13060 else |
13060 echo "configure: failed program was:" >&5 | 13061 echo "configure: failed program was:" >&5 |
13061 cat conftest.$ac_ext >&5 | 13062 cat conftest.$ac_ext >&5 |
13090 EOF | 13091 EOF |
13091 } | 13092 } |
13092 | 13093 |
13093 | 13094 |
13094 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13095 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13095 echo "configure:13096: checking whether alloca needs Cray hooks" >&5 | 13096 echo "configure:13097: checking whether alloca needs Cray hooks" >&5 |
13096 | 13097 |
13097 cat > conftest.$ac_ext <<EOF | 13098 cat > conftest.$ac_ext <<EOF |
13098 #line 13099 "configure" | 13099 #line 13100 "configure" |
13099 #include "confdefs.h" | 13100 #include "confdefs.h" |
13100 #if defined(CRAY) && ! defined(CRAY2) | 13101 #if defined(CRAY) && ! defined(CRAY2) |
13101 webecray | 13102 webecray |
13102 #else | 13103 #else |
13103 wenotbecray | 13104 wenotbecray |
13117 | 13118 |
13118 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13119 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13119 if test $ac_cv_os_cray = yes; then | 13120 if test $ac_cv_os_cray = yes; then |
13120 for ac_func in _getb67 GETB67 getb67; do | 13121 for ac_func in _getb67 GETB67 getb67; do |
13121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13122 echo "configure:13123: checking for $ac_func" >&5 | 13123 echo "configure:13124: checking for $ac_func" >&5 |
13123 | 13124 |
13124 cat > conftest.$ac_ext <<EOF | 13125 cat > conftest.$ac_ext <<EOF |
13125 #line 13126 "configure" | 13126 #line 13127 "configure" |
13126 #include "confdefs.h" | 13127 #include "confdefs.h" |
13127 /* System header to define __stub macros and hopefully few prototypes, | 13128 /* System header to define __stub macros and hopefully few prototypes, |
13128 which can conflict with char $ac_func(); below. */ | 13129 which can conflict with char $ac_func(); below. */ |
13129 #include <assert.h> | 13130 #include <assert.h> |
13130 /* Override any gcc2 internal prototype to avoid an error. */ | 13131 /* Override any gcc2 internal prototype to avoid an error. */ |
13143 $ac_func(); | 13144 $ac_func(); |
13144 #endif | 13145 #endif |
13145 | 13146 |
13146 ; return 0; } | 13147 ; return 0; } |
13147 EOF | 13148 EOF |
13148 if { (eval echo configure:13149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13149 if { (eval echo configure:13150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13149 rm -rf conftest* | 13150 rm -rf conftest* |
13150 eval "ac_cv_func_$ac_func=yes" | 13151 eval "ac_cv_func_$ac_func=yes" |
13151 else | 13152 else |
13152 echo "configure: failed program was:" >&5 | 13153 echo "configure: failed program was:" >&5 |
13153 cat conftest.$ac_ext >&5 | 13154 cat conftest.$ac_ext >&5 |
13173 | 13174 |
13174 done | 13175 done |
13175 fi | 13176 fi |
13176 | 13177 |
13177 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13178 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13178 echo "configure:13179: checking stack direction for C alloca" >&5 | 13179 echo "configure:13180: checking stack direction for C alloca" >&5 |
13179 | 13180 |
13180 cat > conftest.$ac_ext <<EOF | 13181 cat > conftest.$ac_ext <<EOF |
13181 #line 13182 "configure" | 13182 #line 13183 "configure" |
13182 #include "confdefs.h" | 13183 #include "confdefs.h" |
13183 find_stack_direction () | 13184 find_stack_direction () |
13184 { | 13185 { |
13185 static char *addr = 0; | 13186 static char *addr = 0; |
13186 auto char dummy; | 13187 auto char dummy; |
13195 main () | 13196 main () |
13196 { | 13197 { |
13197 exit (find_stack_direction() < 0); | 13198 exit (find_stack_direction() < 0); |
13198 } | 13199 } |
13199 EOF | 13200 EOF |
13200 if { (eval echo configure:13201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13201 if { (eval echo configure:13202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13201 then | 13202 then |
13202 ac_cv_c_stack_direction=1 | 13203 ac_cv_c_stack_direction=1 |
13203 else | 13204 else |
13204 conftest_rc="$?" | 13205 conftest_rc="$?" |
13205 echo "configure: failed program was:" >&5 | 13206 echo "configure: failed program was:" >&5 |
13224 echo " xemacs will be linked with \"$ALLOCA\"" | 13225 echo " xemacs will be linked with \"$ALLOCA\"" |
13225 fi | 13226 fi |
13226 fi | 13227 fi |
13227 | 13228 |
13228 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13229 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13229 echo "configure:13230: checking for working alloca in function calls" >&5 | 13230 echo "configure:13231: checking for working alloca in function calls" >&5 |
13230 cat > conftest.$ac_ext <<EOF | 13231 cat > conftest.$ac_ext <<EOF |
13231 #line 13232 "configure" | 13232 #line 13233 "configure" |
13232 #include "confdefs.h" | 13233 #include "confdefs.h" |
13233 | 13234 |
13234 #if defined (__CYGWIN__) | 13235 #if defined (__CYGWIN__) |
13235 #include <alloca.h> | 13236 #include <alloca.h> |
13236 #elif defined (__GNUC__) | 13237 #elif defined (__GNUC__) |
13279 return 1; | 13280 return 1; |
13280 return 0; | 13281 return 0; |
13281 } | 13282 } |
13282 | 13283 |
13283 EOF | 13284 EOF |
13284 if { (eval echo configure:13285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13285 if { (eval echo configure:13286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13285 then | 13286 then |
13286 working_alloca_in_function_calls=yes | 13287 working_alloca_in_function_calls=yes |
13287 else | 13288 else |
13288 conftest_rc="$?" | 13289 conftest_rc="$?" |
13289 echo "configure: failed program was:" >&5 | 13290 echo "configure: failed program was:" >&5 |
13302 EOF | 13303 EOF |
13303 } | 13304 } |
13304 | 13305 |
13305 | 13306 |
13306 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13307 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13307 echo "configure:13308: checking for working strcoll" >&5 | 13308 echo "configure:13309: checking for working strcoll" >&5 |
13308 | 13309 |
13309 cat > conftest.$ac_ext <<EOF | 13310 cat > conftest.$ac_ext <<EOF |
13310 #line 13311 "configure" | 13311 #line 13312 "configure" |
13311 #include "confdefs.h" | 13312 #include "confdefs.h" |
13312 #include <string.h> | 13313 #include <string.h> |
13313 main () | 13314 main () |
13314 { | 13315 { |
13315 exit (strcoll ("abc", "def") >= 0 || | 13316 exit (strcoll ("abc", "def") >= 0 || |
13316 strcoll ("ABC", "DEF") >= 0 || | 13317 strcoll ("ABC", "DEF") >= 0 || |
13317 strcoll ("123", "456") >= 0); | 13318 strcoll ("123", "456") >= 0); |
13318 } | 13319 } |
13319 EOF | 13320 EOF |
13320 if { (eval echo configure:13321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13321 if { (eval echo configure:13322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13321 then | 13322 then |
13322 ac_cv_func_strcoll_works=yes | 13323 ac_cv_func_strcoll_works=yes |
13323 else | 13324 else |
13324 conftest_rc="$?" | 13325 conftest_rc="$?" |
13325 echo "configure: failed program was:" >&5 | 13326 echo "configure: failed program was:" >&5 |
13343 | 13344 |
13344 | 13345 |
13345 for ac_func in getpgrp | 13346 for ac_func in getpgrp |
13346 do | 13347 do |
13347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13348 echo "configure:13349: checking for $ac_func" >&5 | 13349 echo "configure:13350: checking for $ac_func" >&5 |
13349 | 13350 |
13350 cat > conftest.$ac_ext <<EOF | 13351 cat > conftest.$ac_ext <<EOF |
13351 #line 13352 "configure" | 13352 #line 13353 "configure" |
13352 #include "confdefs.h" | 13353 #include "confdefs.h" |
13353 /* System header to define __stub macros and hopefully few prototypes, | 13354 /* System header to define __stub macros and hopefully few prototypes, |
13354 which can conflict with char $ac_func(); below. */ | 13355 which can conflict with char $ac_func(); below. */ |
13355 #include <assert.h> | 13356 #include <assert.h> |
13356 /* Override any gcc2 internal prototype to avoid an error. */ | 13357 /* Override any gcc2 internal prototype to avoid an error. */ |
13369 $ac_func(); | 13370 $ac_func(); |
13370 #endif | 13371 #endif |
13371 | 13372 |
13372 ; return 0; } | 13373 ; return 0; } |
13373 EOF | 13374 EOF |
13374 if { (eval echo configure:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13375 if { (eval echo configure:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13375 rm -rf conftest* | 13376 rm -rf conftest* |
13376 eval "ac_cv_func_$ac_func=yes" | 13377 eval "ac_cv_func_$ac_func=yes" |
13377 else | 13378 else |
13378 echo "configure: failed program was:" >&5 | 13379 echo "configure: failed program was:" >&5 |
13379 cat conftest.$ac_ext >&5 | 13380 cat conftest.$ac_ext >&5 |
13397 echo "$ac_t""no" 1>&6 | 13398 echo "$ac_t""no" 1>&6 |
13398 fi | 13399 fi |
13399 done | 13400 done |
13400 | 13401 |
13401 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13402 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13402 echo "configure:13403: checking whether getpgrp takes no argument" >&5 | 13403 echo "configure:13404: checking whether getpgrp takes no argument" >&5 |
13403 | 13404 |
13404 cat > conftest.$ac_ext <<EOF | 13405 cat > conftest.$ac_ext <<EOF |
13405 #line 13406 "configure" | 13406 #line 13407 "configure" |
13406 #include "confdefs.h" | 13407 #include "confdefs.h" |
13407 | 13408 |
13408 /* | 13409 /* |
13409 * If this system has a BSD-style getpgrp(), | 13410 * If this system has a BSD-style getpgrp(), |
13410 * which takes a pid argument, exit unsuccessfully. | 13411 * which takes a pid argument, exit unsuccessfully. |
13455 exit(s>>8); | 13456 exit(s>>8); |
13456 } | 13457 } |
13457 } | 13458 } |
13458 | 13459 |
13459 EOF | 13460 EOF |
13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13461 if { (eval echo configure:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13461 then | 13462 then |
13462 ac_cv_func_getpgrp_void=yes | 13463 ac_cv_func_getpgrp_void=yes |
13463 else | 13464 else |
13464 conftest_rc="$?" | 13465 conftest_rc="$?" |
13465 echo "configure: failed program was:" >&5 | 13466 echo "configure: failed program was:" >&5 |
13482 | 13483 |
13483 fi | 13484 fi |
13484 | 13485 |
13485 | 13486 |
13486 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13487 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13487 echo "configure:13488: checking for working mmap" >&5 | 13488 echo "configure:13489: checking for working mmap" >&5 |
13488 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13489 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13489 cat > conftest.$ac_ext <<EOF | 13490 cat > conftest.$ac_ext <<EOF |
13490 #line 13491 "configure" | 13491 #line 13492 "configure" |
13491 #include "confdefs.h" | 13492 #include "confdefs.h" |
13492 #include <stdio.h> | 13493 #include <stdio.h> |
13493 #include <unistd.h> | 13494 #include <unistd.h> |
13494 #include <fcntl.h> | 13495 #include <fcntl.h> |
13495 #include <sys/mman.h> | 13496 #include <sys/mman.h> |
13518 return 0; | 13519 return 0; |
13519 perror ("conftest: mmap failed"); | 13520 perror ("conftest: mmap failed"); |
13520 return 1; | 13521 return 1; |
13521 } | 13522 } |
13522 EOF | 13523 EOF |
13523 if { (eval echo configure:13524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13524 then | 13525 then |
13525 have_mmap=yes | 13526 have_mmap=yes |
13526 else | 13527 else |
13527 conftest_rc="$?" | 13528 conftest_rc="$?" |
13528 echo "configure: failed program was:" >&5 | 13529 echo "configure: failed program was:" >&5 |
13547 esac | 13548 esac |
13548 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13549 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13549 if test "$rel_alloc $have_mmap" = "default yes"; then | 13550 if test "$rel_alloc $have_mmap" = "default yes"; then |
13550 if test "$doug_lea_malloc" = "yes"; then | 13551 if test "$doug_lea_malloc" = "yes"; then |
13551 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13552 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13552 echo "configure:13553: checking for M_MMAP_THRESHOLD" >&5 | 13553 echo "configure:13554: checking for M_MMAP_THRESHOLD" >&5 |
13553 cat > conftest.$ac_ext <<EOF | 13554 cat > conftest.$ac_ext <<EOF |
13554 #line 13555 "configure" | 13555 #line 13556 "configure" |
13555 #include "confdefs.h" | 13556 #include "confdefs.h" |
13556 #include <malloc.h> | 13557 #include <malloc.h> |
13557 int main() { | 13558 int main() { |
13558 | 13559 |
13559 #ifndef M_MMAP_THRESHOLD | 13560 #ifndef M_MMAP_THRESHOLD |
13561 !@+$%^&*_)(_ - unlikely to compile... | 13562 !@+$%^&*_)(_ - unlikely to compile... |
13562 #endif | 13563 #endif |
13563 | 13564 |
13564 ; return 0; } | 13565 ; return 0; } |
13565 EOF | 13566 EOF |
13566 if { (eval echo configure:13567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13567 if { (eval echo configure:13568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13567 rm -rf conftest* | 13568 rm -rf conftest* |
13568 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13569 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13569 else | 13570 else |
13570 echo "configure: failed program was:" >&5 | 13571 echo "configure: failed program was:" >&5 |
13571 cat conftest.$ac_ext >&5 | 13572 cat conftest.$ac_ext >&5 |
13586 } | 13587 } |
13587 | 13588 |
13588 | 13589 |
13589 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13590 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13590 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13591 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13591 echo "configure:13592: checking for termios.h" >&5 | 13592 echo "configure:13593: checking for termios.h" >&5 |
13592 | 13593 |
13593 cat > conftest.$ac_ext <<EOF | 13594 cat > conftest.$ac_ext <<EOF |
13594 #line 13595 "configure" | 13595 #line 13596 "configure" |
13595 #include "confdefs.h" | 13596 #include "confdefs.h" |
13596 #include <termios.h> | 13597 #include <termios.h> |
13597 EOF | 13598 EOF |
13598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13599 { (eval echo configure:13600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13600 { (eval echo configure:13601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13601 if test -z "$ac_err"; then | 13602 if test -z "$ac_err"; then |
13602 rm -rf conftest* | 13603 rm -rf conftest* |
13603 eval "ac_cv_header_$ac_safe=yes" | 13604 eval "ac_cv_header_$ac_safe=yes" |
13604 else | 13605 else |
13637 | 13638 |
13638 else | 13639 else |
13639 echo "$ac_t""no" 1>&6 | 13640 echo "$ac_t""no" 1>&6 |
13640 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13641 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13641 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13642 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13642 echo "configure:13643: checking for termio.h" >&5 | 13643 echo "configure:13644: checking for termio.h" >&5 |
13643 | 13644 |
13644 cat > conftest.$ac_ext <<EOF | 13645 cat > conftest.$ac_ext <<EOF |
13645 #line 13646 "configure" | 13646 #line 13647 "configure" |
13646 #include "confdefs.h" | 13647 #include "confdefs.h" |
13647 #include <termio.h> | 13648 #include <termio.h> |
13648 EOF | 13649 EOF |
13649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13650 { (eval echo configure:13651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13651 { (eval echo configure:13652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13652 if test -z "$ac_err"; then | 13653 if test -z "$ac_err"; then |
13653 rm -rf conftest* | 13654 rm -rf conftest* |
13654 eval "ac_cv_header_$ac_safe=yes" | 13655 eval "ac_cv_header_$ac_safe=yes" |
13655 else | 13656 else |
13677 fi | 13678 fi |
13678 | 13679 |
13679 | 13680 |
13680 | 13681 |
13681 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13682 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13682 echo "configure:13683: checking for socket" >&5 | 13683 echo "configure:13684: checking for socket" >&5 |
13683 | 13684 |
13684 cat > conftest.$ac_ext <<EOF | 13685 cat > conftest.$ac_ext <<EOF |
13685 #line 13686 "configure" | 13686 #line 13687 "configure" |
13686 #include "confdefs.h" | 13687 #include "confdefs.h" |
13687 /* System header to define __stub macros and hopefully few prototypes, | 13688 /* System header to define __stub macros and hopefully few prototypes, |
13688 which can conflict with char socket(); below. */ | 13689 which can conflict with char socket(); below. */ |
13689 #include <assert.h> | 13690 #include <assert.h> |
13690 /* Override any gcc2 internal prototype to avoid an error. */ | 13691 /* Override any gcc2 internal prototype to avoid an error. */ |
13703 socket(); | 13704 socket(); |
13704 #endif | 13705 #endif |
13705 | 13706 |
13706 ; return 0; } | 13707 ; return 0; } |
13707 EOF | 13708 EOF |
13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13709 if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13709 rm -rf conftest* | 13710 rm -rf conftest* |
13710 eval "ac_cv_func_socket=yes" | 13711 eval "ac_cv_func_socket=yes" |
13711 else | 13712 else |
13712 echo "configure: failed program was:" >&5 | 13713 echo "configure: failed program was:" >&5 |
13713 cat conftest.$ac_ext >&5 | 13714 cat conftest.$ac_ext >&5 |
13718 | 13719 |
13719 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13720 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13720 echo "$ac_t""yes" 1>&6 | 13721 echo "$ac_t""yes" 1>&6 |
13721 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13722 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13722 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13723 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13723 echo "configure:13724: checking for netinet/in.h" >&5 | 13724 echo "configure:13725: checking for netinet/in.h" >&5 |
13724 | 13725 |
13725 cat > conftest.$ac_ext <<EOF | 13726 cat > conftest.$ac_ext <<EOF |
13726 #line 13727 "configure" | 13727 #line 13728 "configure" |
13727 #include "confdefs.h" | 13728 #include "confdefs.h" |
13728 #include <netinet/in.h> | 13729 #include <netinet/in.h> |
13729 EOF | 13730 EOF |
13730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13731 { (eval echo configure:13732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13732 { (eval echo configure:13733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13733 if test -z "$ac_err"; then | 13734 if test -z "$ac_err"; then |
13734 rm -rf conftest* | 13735 rm -rf conftest* |
13735 eval "ac_cv_header_$ac_safe=yes" | 13736 eval "ac_cv_header_$ac_safe=yes" |
13736 else | 13737 else |
13743 rm -f conftest* | 13744 rm -f conftest* |
13744 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13745 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13745 echo "$ac_t""yes" 1>&6 | 13746 echo "$ac_t""yes" 1>&6 |
13746 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13747 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13747 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13748 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13748 echo "configure:13749: checking for arpa/inet.h" >&5 | 13749 echo "configure:13750: checking for arpa/inet.h" >&5 |
13749 | 13750 |
13750 cat > conftest.$ac_ext <<EOF | 13751 cat > conftest.$ac_ext <<EOF |
13751 #line 13752 "configure" | 13752 #line 13753 "configure" |
13752 #include "confdefs.h" | 13753 #include "confdefs.h" |
13753 #include <arpa/inet.h> | 13754 #include <arpa/inet.h> |
13754 EOF | 13755 EOF |
13755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13756 { (eval echo configure:13757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13757 { (eval echo configure:13758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13758 if test -z "$ac_err"; then | 13759 if test -z "$ac_err"; then |
13759 rm -rf conftest* | 13760 rm -rf conftest* |
13760 eval "ac_cv_header_$ac_safe=yes" | 13761 eval "ac_cv_header_$ac_safe=yes" |
13761 else | 13762 else |
13776 #define HAVE_SOCKETS 1 | 13777 #define HAVE_SOCKETS 1 |
13777 EOF | 13778 EOF |
13778 } | 13779 } |
13779 | 13780 |
13780 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13781 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13781 echo "configure:13782: checking "for sun_len member in struct sockaddr_un"" >&5 | 13782 echo "configure:13783: checking "for sun_len member in struct sockaddr_un"" >&5 |
13782 cat > conftest.$ac_ext <<EOF | 13783 cat > conftest.$ac_ext <<EOF |
13783 #line 13784 "configure" | 13784 #line 13785 "configure" |
13784 #include "confdefs.h" | 13785 #include "confdefs.h" |
13785 | 13786 |
13786 #include <sys/types.h> | 13787 #include <sys/types.h> |
13787 #include <sys/socket.h> | 13788 #include <sys/socket.h> |
13788 #include <sys/un.h> | 13789 #include <sys/un.h> |
13789 | 13790 |
13790 int main() { | 13791 int main() { |
13791 static struct sockaddr_un x; x.sun_len = 1; | 13792 static struct sockaddr_un x; x.sun_len = 1; |
13792 ; return 0; } | 13793 ; return 0; } |
13793 EOF | 13794 EOF |
13794 if { (eval echo configure:13795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13795 if { (eval echo configure:13796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13795 rm -rf conftest* | 13796 rm -rf conftest* |
13796 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13797 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13797 Defining HAVE_SOCKADDR_SUN_LEN | 13798 Defining HAVE_SOCKADDR_SUN_LEN |
13798 EOF | 13799 EOF |
13799 cat >> confdefs.h <<\EOF | 13800 cat >> confdefs.h <<\EOF |
13807 rm -rf conftest* | 13808 rm -rf conftest* |
13808 echo "$ac_t""no" 1>&6 | 13809 echo "$ac_t""no" 1>&6 |
13809 fi | 13810 fi |
13810 rm -f conftest* | 13811 rm -f conftest* |
13811 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13812 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13812 echo "configure:13813: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13813 echo "configure:13814: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13813 cat > conftest.$ac_ext <<EOF | 13814 cat > conftest.$ac_ext <<EOF |
13814 #line 13815 "configure" | 13815 #line 13816 "configure" |
13815 #include "confdefs.h" | 13816 #include "confdefs.h" |
13816 | 13817 |
13817 #include <sys/types.h> | 13818 #include <sys/types.h> |
13818 #include <netinet/in.h> | 13819 #include <netinet/in.h> |
13819 | 13820 |
13820 int main() { | 13821 int main() { |
13821 static struct ip_mreq x; | 13822 static struct ip_mreq x; |
13822 ; return 0; } | 13823 ; return 0; } |
13823 EOF | 13824 EOF |
13824 if { (eval echo configure:13825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13825 if { (eval echo configure:13826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13825 rm -rf conftest* | 13826 rm -rf conftest* |
13826 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13827 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13827 Defining HAVE_MULTICAST | 13828 Defining HAVE_MULTICAST |
13828 EOF | 13829 EOF |
13829 cat >> confdefs.h <<\EOF | 13830 cat >> confdefs.h <<\EOF |
13850 echo "$ac_t""no" 1>&6 | 13851 echo "$ac_t""no" 1>&6 |
13851 fi | 13852 fi |
13852 | 13853 |
13853 | 13854 |
13854 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13855 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13855 echo "configure:13856: checking for msgget" >&5 | 13856 echo "configure:13857: checking for msgget" >&5 |
13856 | 13857 |
13857 cat > conftest.$ac_ext <<EOF | 13858 cat > conftest.$ac_ext <<EOF |
13858 #line 13859 "configure" | 13859 #line 13860 "configure" |
13859 #include "confdefs.h" | 13860 #include "confdefs.h" |
13860 /* System header to define __stub macros and hopefully few prototypes, | 13861 /* System header to define __stub macros and hopefully few prototypes, |
13861 which can conflict with char msgget(); below. */ | 13862 which can conflict with char msgget(); below. */ |
13862 #include <assert.h> | 13863 #include <assert.h> |
13863 /* Override any gcc2 internal prototype to avoid an error. */ | 13864 /* Override any gcc2 internal prototype to avoid an error. */ |
13876 msgget(); | 13877 msgget(); |
13877 #endif | 13878 #endif |
13878 | 13879 |
13879 ; return 0; } | 13880 ; return 0; } |
13880 EOF | 13881 EOF |
13881 if { (eval echo configure:13882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13882 if { (eval echo configure:13883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13882 rm -rf conftest* | 13883 rm -rf conftest* |
13883 eval "ac_cv_func_msgget=yes" | 13884 eval "ac_cv_func_msgget=yes" |
13884 else | 13885 else |
13885 echo "configure: failed program was:" >&5 | 13886 echo "configure: failed program was:" >&5 |
13886 cat conftest.$ac_ext >&5 | 13887 cat conftest.$ac_ext >&5 |
13891 | 13892 |
13892 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13893 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13893 echo "$ac_t""yes" 1>&6 | 13894 echo "$ac_t""yes" 1>&6 |
13894 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13895 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13895 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13896 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13896 echo "configure:13897: checking for sys/ipc.h" >&5 | 13897 echo "configure:13898: checking for sys/ipc.h" >&5 |
13897 | 13898 |
13898 cat > conftest.$ac_ext <<EOF | 13899 cat > conftest.$ac_ext <<EOF |
13899 #line 13900 "configure" | 13900 #line 13901 "configure" |
13900 #include "confdefs.h" | 13901 #include "confdefs.h" |
13901 #include <sys/ipc.h> | 13902 #include <sys/ipc.h> |
13902 EOF | 13903 EOF |
13903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13904 { (eval echo configure:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13905 { (eval echo configure:13906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13906 if test -z "$ac_err"; then | 13907 if test -z "$ac_err"; then |
13907 rm -rf conftest* | 13908 rm -rf conftest* |
13908 eval "ac_cv_header_$ac_safe=yes" | 13909 eval "ac_cv_header_$ac_safe=yes" |
13909 else | 13910 else |
13916 rm -f conftest* | 13917 rm -f conftest* |
13917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13918 echo "$ac_t""yes" 1>&6 | 13919 echo "$ac_t""yes" 1>&6 |
13919 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13920 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13920 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13921 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13921 echo "configure:13922: checking for sys/msg.h" >&5 | 13922 echo "configure:13923: checking for sys/msg.h" >&5 |
13922 | 13923 |
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 <sys/msg.h> | 13927 #include <sys/msg.h> |
13927 EOF | 13928 EOF |
13928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13929 { (eval echo configure:13930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13930 { (eval echo configure:13931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13931 if test -z "$ac_err"; then | 13932 if test -z "$ac_err"; then |
13932 rm -rf conftest* | 13933 rm -rf conftest* |
13933 eval "ac_cv_header_$ac_safe=yes" | 13934 eval "ac_cv_header_$ac_safe=yes" |
13934 else | 13935 else |
13962 fi | 13963 fi |
13963 | 13964 |
13964 | 13965 |
13965 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13966 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13966 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13967 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13967 echo "configure:13968: checking for dirent.h" >&5 | 13968 echo "configure:13969: checking for dirent.h" >&5 |
13968 | 13969 |
13969 cat > conftest.$ac_ext <<EOF | 13970 cat > conftest.$ac_ext <<EOF |
13970 #line 13971 "configure" | 13971 #line 13972 "configure" |
13971 #include "confdefs.h" | 13972 #include "confdefs.h" |
13972 #include <dirent.h> | 13973 #include <dirent.h> |
13973 EOF | 13974 EOF |
13974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13975 { (eval echo configure:13976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13976 { (eval echo configure:13977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13977 if test -z "$ac_err"; then | 13978 if test -z "$ac_err"; then |
13978 rm -rf conftest* | 13979 rm -rf conftest* |
13979 eval "ac_cv_header_$ac_safe=yes" | 13980 eval "ac_cv_header_$ac_safe=yes" |
13980 else | 13981 else |
13997 | 13998 |
13998 else | 13999 else |
13999 echo "$ac_t""no" 1>&6 | 14000 echo "$ac_t""no" 1>&6 |
14000 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14001 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14001 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14002 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14002 echo "configure:14003: checking for sys/dir.h" >&5 | 14003 echo "configure:14004: checking for sys/dir.h" >&5 |
14003 | 14004 |
14004 cat > conftest.$ac_ext <<EOF | 14005 cat > conftest.$ac_ext <<EOF |
14005 #line 14006 "configure" | 14006 #line 14007 "configure" |
14006 #include "confdefs.h" | 14007 #include "confdefs.h" |
14007 #include <sys/dir.h> | 14008 #include <sys/dir.h> |
14008 EOF | 14009 EOF |
14009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14010 { (eval echo configure:14011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14011 { (eval echo configure:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14012 if test -z "$ac_err"; then | 14013 if test -z "$ac_err"; then |
14013 rm -rf conftest* | 14014 rm -rf conftest* |
14014 eval "ac_cv_header_$ac_safe=yes" | 14015 eval "ac_cv_header_$ac_safe=yes" |
14015 else | 14016 else |
14038 fi | 14039 fi |
14039 | 14040 |
14040 | 14041 |
14041 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14042 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14042 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14043 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14043 echo "configure:14044: checking for nlist.h" >&5 | 14044 echo "configure:14045: checking for nlist.h" >&5 |
14044 | 14045 |
14045 cat > conftest.$ac_ext <<EOF | 14046 cat > conftest.$ac_ext <<EOF |
14046 #line 14047 "configure" | 14047 #line 14048 "configure" |
14047 #include "confdefs.h" | 14048 #include "confdefs.h" |
14048 #include <nlist.h> | 14049 #include <nlist.h> |
14049 EOF | 14050 EOF |
14050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14051 { (eval echo configure:14052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14052 { (eval echo configure:14053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14053 if test -z "$ac_err"; then | 14054 if test -z "$ac_err"; then |
14054 rm -rf conftest* | 14055 rm -rf conftest* |
14055 eval "ac_cv_header_$ac_safe=yes" | 14056 eval "ac_cv_header_$ac_safe=yes" |
14056 else | 14057 else |
14076 fi | 14077 fi |
14077 | 14078 |
14078 | 14079 |
14079 | 14080 |
14080 echo "checking "for sound support"" 1>&6 | 14081 echo "checking "for sound support"" 1>&6 |
14081 echo "configure:14082: checking "for sound support"" >&5 | 14082 echo "configure:14083: checking "for sound support"" >&5 |
14082 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14083 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14083 | 14084 |
14084 if test "$with_native_sound" != "no"; then | 14085 if test "$with_native_sound" != "no"; then |
14085 if test -n "$native_sound_lib"; then | 14086 if test -n "$native_sound_lib"; then |
14086 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14087 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14087 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14088 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14088 echo "configure:14089: checking for multimedia/audio_device.h" >&5 | 14089 echo "configure:14090: checking for multimedia/audio_device.h" >&5 |
14089 | 14090 |
14090 cat > conftest.$ac_ext <<EOF | 14091 cat > conftest.$ac_ext <<EOF |
14091 #line 14092 "configure" | 14092 #line 14093 "configure" |
14092 #include "confdefs.h" | 14093 #include "confdefs.h" |
14093 #include <multimedia/audio_device.h> | 14094 #include <multimedia/audio_device.h> |
14094 EOF | 14095 EOF |
14095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14096 { (eval echo configure:14097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14097 { (eval echo configure:14098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14098 if test -z "$ac_err"; then | 14099 if test -z "$ac_err"; then |
14099 rm -rf conftest* | 14100 rm -rf conftest* |
14100 eval "ac_cv_header_$ac_safe=yes" | 14101 eval "ac_cv_header_$ac_safe=yes" |
14101 else | 14102 else |
14147 case "$canonical" in | 14148 case "$canonical" in |
14148 *-sgi-* ) | 14149 *-sgi-* ) |
14149 if test -z "$native_sound_lib"; then | 14150 if test -z "$native_sound_lib"; then |
14150 | 14151 |
14151 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14152 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14152 echo "configure:14153: checking for ALopenport in -laudio" >&5 | 14153 echo "configure:14154: checking for ALopenport in -laudio" >&5 |
14153 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14154 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14154 | 14155 |
14155 xe_check_libs=" -laudio " | 14156 xe_check_libs=" -laudio " |
14156 cat > conftest.$ac_ext <<EOF | 14157 cat > conftest.$ac_ext <<EOF |
14157 #line 14158 "configure" | 14158 #line 14159 "configure" |
14158 #include "confdefs.h" | 14159 #include "confdefs.h" |
14159 /* Override any gcc2 internal prototype to avoid an error. */ | 14160 /* Override any gcc2 internal prototype to avoid an error. */ |
14160 /* We use char because int might match the return type of a gcc2 | 14161 /* We use char because int might match the return type of a gcc2 |
14161 builtin and then its argument prototype would still apply. */ | 14162 builtin and then its argument prototype would still apply. */ |
14162 char ALopenport(); | 14163 char ALopenport(); |
14163 | 14164 |
14164 int main() { | 14165 int main() { |
14165 ALopenport() | 14166 ALopenport() |
14166 ; return 0; } | 14167 ; return 0; } |
14167 EOF | 14168 EOF |
14168 if { (eval echo configure:14169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14169 if { (eval echo configure:14170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14169 rm -rf conftest* | 14170 rm -rf conftest* |
14170 eval "ac_cv_lib_$ac_lib_var=yes" | 14171 eval "ac_cv_lib_$ac_lib_var=yes" |
14171 else | 14172 else |
14172 echo "configure: failed program was:" >&5 | 14173 echo "configure: failed program was:" >&5 |
14173 cat conftest.$ac_ext >&5 | 14174 cat conftest.$ac_ext >&5 |
14194 fi ;; | 14195 fi ;; |
14195 hppa*-hp-hpux* ) | 14196 hppa*-hp-hpux* ) |
14196 if test -z "$native_sound_lib"; then | 14197 if test -z "$native_sound_lib"; then |
14197 | 14198 |
14198 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14199 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14199 echo "configure:14200: checking for AOpenAudio in -lAlib" >&5 | 14200 echo "configure:14201: checking for AOpenAudio in -lAlib" >&5 |
14200 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14201 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14201 | 14202 |
14202 xe_check_libs=" -lAlib " | 14203 xe_check_libs=" -lAlib " |
14203 cat > conftest.$ac_ext <<EOF | 14204 cat > conftest.$ac_ext <<EOF |
14204 #line 14205 "configure" | 14205 #line 14206 "configure" |
14205 #include "confdefs.h" | 14206 #include "confdefs.h" |
14206 /* Override any gcc2 internal prototype to avoid an error. */ | 14207 /* Override any gcc2 internal prototype to avoid an error. */ |
14207 /* We use char because int might match the return type of a gcc2 | 14208 /* We use char because int might match the return type of a gcc2 |
14208 builtin and then its argument prototype would still apply. */ | 14209 builtin and then its argument prototype would still apply. */ |
14209 char AOpenAudio(); | 14210 char AOpenAudio(); |
14210 | 14211 |
14211 int main() { | 14212 int main() { |
14212 AOpenAudio() | 14213 AOpenAudio() |
14213 ; return 0; } | 14214 ; return 0; } |
14214 EOF | 14215 EOF |
14215 if { (eval echo configure:14216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14216 if { (eval echo configure:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14216 rm -rf conftest* | 14217 rm -rf conftest* |
14217 eval "ac_cv_lib_$ac_lib_var=yes" | 14218 eval "ac_cv_lib_$ac_lib_var=yes" |
14218 else | 14219 else |
14219 echo "configure: failed program was:" >&5 | 14220 echo "configure: failed program was:" >&5 |
14220 cat conftest.$ac_ext >&5 | 14221 cat conftest.$ac_ext >&5 |
14258 | 14259 |
14259 if test -z "$sound_found"; then | 14260 if test -z "$sound_found"; then |
14260 for dir in "machine" "sys" "linux"; do | 14261 for dir in "machine" "sys" "linux"; do |
14261 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14262 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14262 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14263 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14263 echo "configure:14264: checking for ${dir}/soundcard.h" >&5 | 14264 echo "configure:14265: checking for ${dir}/soundcard.h" >&5 |
14264 | 14265 |
14265 cat > conftest.$ac_ext <<EOF | 14266 cat > conftest.$ac_ext <<EOF |
14266 #line 14267 "configure" | 14267 #line 14268 "configure" |
14267 #include "confdefs.h" | 14268 #include "confdefs.h" |
14268 #include <${dir}/soundcard.h> | 14269 #include <${dir}/soundcard.h> |
14269 EOF | 14270 EOF |
14270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14271 { (eval echo configure:14272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14272 { (eval echo configure:14273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14273 if test -z "$ac_err"; then | 14274 if test -z "$ac_err"; then |
14274 rm -rf conftest* | 14275 rm -rf conftest* |
14275 eval "ac_cv_header_$ac_safe=yes" | 14276 eval "ac_cv_header_$ac_safe=yes" |
14276 else | 14277 else |
14320 fi | 14321 fi |
14321 | 14322 |
14322 if test "$with_nas_sound" != "no"; then | 14323 if test "$with_nas_sound" != "no"; then |
14323 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14324 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14324 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14325 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14325 echo "configure:14326: checking for audio/audiolib.h" >&5 | 14326 echo "configure:14327: checking for audio/audiolib.h" >&5 |
14326 | 14327 |
14327 cat > conftest.$ac_ext <<EOF | 14328 cat > conftest.$ac_ext <<EOF |
14328 #line 14329 "configure" | 14329 #line 14330 "configure" |
14329 #include "confdefs.h" | 14330 #include "confdefs.h" |
14330 #include <audio/audiolib.h> | 14331 #include <audio/audiolib.h> |
14331 EOF | 14332 EOF |
14332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14333 { (eval echo configure:14334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14334 { (eval echo configure:14335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14335 if test -z "$ac_err"; then | 14336 if test -z "$ac_err"; then |
14336 rm -rf conftest* | 14337 rm -rf conftest* |
14337 eval "ac_cv_header_$ac_safe=yes" | 14338 eval "ac_cv_header_$ac_safe=yes" |
14338 else | 14339 else |
14346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14347 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14347 echo "$ac_t""yes" 1>&6 | 14348 echo "$ac_t""yes" 1>&6 |
14348 | 14349 |
14349 | 14350 |
14350 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14351 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14351 echo "configure:14352: checking for AuOpenServer in -laudio" >&5 | 14352 echo "configure:14353: checking for AuOpenServer in -laudio" >&5 |
14352 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14353 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14353 | 14354 |
14354 xe_check_libs=" -laudio " | 14355 xe_check_libs=" -laudio " |
14355 cat > conftest.$ac_ext <<EOF | 14356 cat > conftest.$ac_ext <<EOF |
14356 #line 14357 "configure" | 14357 #line 14358 "configure" |
14357 #include "confdefs.h" | 14358 #include "confdefs.h" |
14358 /* Override any gcc2 internal prototype to avoid an error. */ | 14359 /* Override any gcc2 internal prototype to avoid an error. */ |
14359 /* We use char because int might match the return type of a gcc2 | 14360 /* We use char because int might match the return type of a gcc2 |
14360 builtin and then its argument prototype would still apply. */ | 14361 builtin and then its argument prototype would still apply. */ |
14361 char AuOpenServer(); | 14362 char AuOpenServer(); |
14362 | 14363 |
14363 int main() { | 14364 int main() { |
14364 AuOpenServer() | 14365 AuOpenServer() |
14365 ; return 0; } | 14366 ; return 0; } |
14366 EOF | 14367 EOF |
14367 if { (eval echo configure:14368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14368 if { (eval echo configure:14369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14368 rm -rf conftest* | 14369 rm -rf conftest* |
14369 eval "ac_cv_lib_$ac_lib_var=yes" | 14370 eval "ac_cv_lib_$ac_lib_var=yes" |
14370 else | 14371 else |
14371 echo "configure: failed program was:" >&5 | 14372 echo "configure: failed program was:" >&5 |
14372 cat conftest.$ac_ext >&5 | 14373 cat conftest.$ac_ext >&5 |
14401 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14402 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14402 echo " xemacs will be linked with \"nas.o\"" | 14403 echo " xemacs will be linked with \"nas.o\"" |
14403 fi | 14404 fi |
14404 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14405 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14405 cat > conftest.$ac_ext <<EOF | 14406 cat > conftest.$ac_ext <<EOF |
14406 #line 14407 "configure" | 14407 #line 14408 "configure" |
14407 #include "confdefs.h" | 14408 #include "confdefs.h" |
14408 #include <audio/Xtutil.h> | 14409 #include <audio/Xtutil.h> |
14409 EOF | 14410 EOF |
14410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14411 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14412 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14432 | 14433 |
14433 if test "$with_esd_sound" != "no"; then | 14434 if test "$with_esd_sound" != "no"; then |
14434 # Extract the first word of "esd-config", so it can be a program name with args. | 14435 # Extract the first word of "esd-config", so it can be a program name with args. |
14435 set dummy esd-config; ac_word=$2 | 14436 set dummy esd-config; ac_word=$2 |
14436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14437 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14437 echo "configure:14438: checking for $ac_word" >&5 | 14438 echo "configure:14439: checking for $ac_word" >&5 |
14438 | 14439 |
14439 if test -n "$have_esd_config"; then | 14440 if test -n "$have_esd_config"; then |
14440 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14441 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14441 else | 14442 else |
14442 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14443 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14461 if test "$have_esd_config" = "yes"; then | 14462 if test "$have_esd_config" = "yes"; then |
14462 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14463 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14463 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 | 14464 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 |
14464 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14465 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14465 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14466 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14466 echo "configure:14467: checking for esd_play_stream" >&5 | 14467 echo "configure:14468: checking for esd_play_stream" >&5 |
14467 | 14468 |
14468 cat > conftest.$ac_ext <<EOF | 14469 cat > conftest.$ac_ext <<EOF |
14469 #line 14470 "configure" | 14470 #line 14471 "configure" |
14470 #include "confdefs.h" | 14471 #include "confdefs.h" |
14471 /* System header to define __stub macros and hopefully few prototypes, | 14472 /* System header to define __stub macros and hopefully few prototypes, |
14472 which can conflict with char esd_play_stream(); below. */ | 14473 which can conflict with char esd_play_stream(); below. */ |
14473 #include <assert.h> | 14474 #include <assert.h> |
14474 /* Override any gcc2 internal prototype to avoid an error. */ | 14475 /* Override any gcc2 internal prototype to avoid an error. */ |
14487 esd_play_stream(); | 14488 esd_play_stream(); |
14488 #endif | 14489 #endif |
14489 | 14490 |
14490 ; return 0; } | 14491 ; return 0; } |
14491 EOF | 14492 EOF |
14492 if { (eval echo configure:14493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14493 if { (eval echo configure:14494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14493 rm -rf conftest* | 14494 rm -rf conftest* |
14494 eval "ac_cv_func_esd_play_stream=yes" | 14495 eval "ac_cv_func_esd_play_stream=yes" |
14495 else | 14496 else |
14496 echo "configure: failed program was:" >&5 | 14497 echo "configure: failed program was:" >&5 |
14497 cat conftest.$ac_ext >&5 | 14498 cat conftest.$ac_ext >&5 |
14538 | 14539 |
14539 test -z "$with_tty" && with_tty=yes | 14540 test -z "$with_tty" && with_tty=yes |
14540 | 14541 |
14541 if test "$with_tty" = "yes" ; then | 14542 if test "$with_tty" = "yes" ; then |
14542 echo "checking for TTY-related features" 1>&6 | 14543 echo "checking for TTY-related features" 1>&6 |
14543 echo "configure:14544: checking for TTY-related features" >&5 | 14544 echo "configure:14545: checking for TTY-related features" >&5 |
14544 { test "$extra_verbose" = "yes" && cat << \EOF | 14545 { test "$extra_verbose" = "yes" && cat << \EOF |
14545 Defining HAVE_TTY | 14546 Defining HAVE_TTY |
14546 EOF | 14547 EOF |
14547 cat >> confdefs.h <<\EOF | 14548 cat >> confdefs.h <<\EOF |
14548 #define HAVE_TTY 1 | 14549 #define HAVE_TTY 1 |
14551 | 14552 |
14552 | 14553 |
14553 if test -z "$with_ncurses"; then | 14554 if test -z "$with_ncurses"; then |
14554 | 14555 |
14555 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14556 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14556 echo "configure:14557: checking for tgetent in -lncurses" >&5 | 14557 echo "configure:14558: checking for tgetent in -lncurses" >&5 |
14557 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14558 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14558 | 14559 |
14559 xe_check_libs=" -lncurses " | 14560 xe_check_libs=" -lncurses " |
14560 cat > conftest.$ac_ext <<EOF | 14561 cat > conftest.$ac_ext <<EOF |
14561 #line 14562 "configure" | 14562 #line 14563 "configure" |
14562 #include "confdefs.h" | 14563 #include "confdefs.h" |
14563 /* Override any gcc2 internal prototype to avoid an error. */ | 14564 /* Override any gcc2 internal prototype to avoid an error. */ |
14564 /* We use char because int might match the return type of a gcc2 | 14565 /* We use char because int might match the return type of a gcc2 |
14565 builtin and then its argument prototype would still apply. */ | 14566 builtin and then its argument prototype would still apply. */ |
14566 char tgetent(); | 14567 char tgetent(); |
14567 | 14568 |
14568 int main() { | 14569 int main() { |
14569 tgetent() | 14570 tgetent() |
14570 ; return 0; } | 14571 ; return 0; } |
14571 EOF | 14572 EOF |
14572 if { (eval echo configure:14573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14573 if { (eval echo configure:14574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14573 rm -rf conftest* | 14574 rm -rf conftest* |
14574 eval "ac_cv_lib_$ac_lib_var=yes" | 14575 eval "ac_cv_lib_$ac_lib_var=yes" |
14575 else | 14576 else |
14576 echo "configure: failed program was:" >&5 | 14577 echo "configure: failed program was:" >&5 |
14577 cat conftest.$ac_ext >&5 | 14578 cat conftest.$ac_ext >&5 |
14600 EOF | 14601 EOF |
14601 } | 14602 } |
14602 | 14603 |
14603 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14604 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14604 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14605 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14605 echo "configure:14606: checking for ncurses/curses.h" >&5 | 14606 echo "configure:14607: checking for ncurses/curses.h" >&5 |
14606 | 14607 |
14607 cat > conftest.$ac_ext <<EOF | 14608 cat > conftest.$ac_ext <<EOF |
14608 #line 14609 "configure" | 14609 #line 14610 "configure" |
14609 #include "confdefs.h" | 14610 #include "confdefs.h" |
14610 #include <ncurses/curses.h> | 14611 #include <ncurses/curses.h> |
14611 EOF | 14612 EOF |
14612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14613 { (eval echo configure:14614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14614 { (eval echo configure:14615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14615 if test -z "$ac_err"; then | 14616 if test -z "$ac_err"; then |
14616 rm -rf conftest* | 14617 rm -rf conftest* |
14617 eval "ac_cv_header_$ac_safe=yes" | 14618 eval "ac_cv_header_$ac_safe=yes" |
14618 else | 14619 else |
14630 echo "$ac_t""no" 1>&6 | 14631 echo "$ac_t""no" 1>&6 |
14631 fi | 14632 fi |
14632 | 14633 |
14633 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14634 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14634 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14635 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14635 echo "configure:14636: checking for ncurses/term.h" >&5 | 14636 echo "configure:14637: checking for ncurses/term.h" >&5 |
14636 | 14637 |
14637 cat > conftest.$ac_ext <<EOF | 14638 cat > conftest.$ac_ext <<EOF |
14638 #line 14639 "configure" | 14639 #line 14640 "configure" |
14639 #include "confdefs.h" | 14640 #include "confdefs.h" |
14640 #include <ncurses/term.h> | 14641 #include <ncurses/term.h> |
14641 EOF | 14642 EOF |
14642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14643 { (eval echo configure:14644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14644 { (eval echo configure:14645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14645 if test -z "$ac_err"; then | 14646 if test -z "$ac_err"; then |
14646 rm -rf conftest* | 14647 rm -rf conftest* |
14647 eval "ac_cv_header_$ac_safe=yes" | 14648 eval "ac_cv_header_$ac_safe=yes" |
14648 else | 14649 else |
14668 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14669 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14669 save_c_switch_site="$c_switch_site" | 14670 save_c_switch_site="$c_switch_site" |
14670 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14671 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14671 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14672 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14672 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14673 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14673 echo "configure:14674: checking for ncurses/curses.h" >&5 | 14674 echo "configure:14675: checking for ncurses/curses.h" >&5 |
14674 | 14675 |
14675 cat > conftest.$ac_ext <<EOF | 14676 cat > conftest.$ac_ext <<EOF |
14676 #line 14677 "configure" | 14677 #line 14678 "configure" |
14677 #include "confdefs.h" | 14678 #include "confdefs.h" |
14678 #include <ncurses/curses.h> | 14679 #include <ncurses/curses.h> |
14679 EOF | 14680 EOF |
14680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14681 { (eval echo configure:14682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14682 { (eval echo configure:14683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14683 if test -z "$ac_err"; then | 14684 if test -z "$ac_err"; then |
14684 rm -rf conftest* | 14685 rm -rf conftest* |
14685 eval "ac_cv_header_$ac_safe=yes" | 14686 eval "ac_cv_header_$ac_safe=yes" |
14686 else | 14687 else |
14711 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14712 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14712 else | 14713 else |
14713 for lib in curses termlib termcap; do | 14714 for lib in curses termlib termcap; do |
14714 | 14715 |
14715 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14716 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14716 echo "configure:14717: checking for tgetent in -l$lib" >&5 | 14717 echo "configure:14718: checking for tgetent in -l$lib" >&5 |
14717 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14718 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14718 | 14719 |
14719 xe_check_libs=" -l$lib " | 14720 xe_check_libs=" -l$lib " |
14720 cat > conftest.$ac_ext <<EOF | 14721 cat > conftest.$ac_ext <<EOF |
14721 #line 14722 "configure" | 14722 #line 14723 "configure" |
14722 #include "confdefs.h" | 14723 #include "confdefs.h" |
14723 /* Override any gcc2 internal prototype to avoid an error. */ | 14724 /* Override any gcc2 internal prototype to avoid an error. */ |
14724 /* We use char because int might match the return type of a gcc2 | 14725 /* We use char because int might match the return type of a gcc2 |
14725 builtin and then its argument prototype would still apply. */ | 14726 builtin and then its argument prototype would still apply. */ |
14726 char tgetent(); | 14727 char tgetent(); |
14727 | 14728 |
14728 int main() { | 14729 int main() { |
14729 tgetent() | 14730 tgetent() |
14730 ; return 0; } | 14731 ; return 0; } |
14731 EOF | 14732 EOF |
14732 if { (eval echo configure:14733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14733 if { (eval echo configure:14734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14733 rm -rf conftest* | 14734 rm -rf conftest* |
14734 eval "ac_cv_lib_$ac_lib_var=yes" | 14735 eval "ac_cv_lib_$ac_lib_var=yes" |
14735 else | 14736 else |
14736 echo "configure: failed program was:" >&5 | 14737 echo "configure: failed program was:" >&5 |
14737 cat conftest.$ac_ext >&5 | 14738 cat conftest.$ac_ext >&5 |
14758 if test -n "$libs_termcap"; then | 14759 if test -n "$libs_termcap"; then |
14759 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14760 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14760 else | 14761 else |
14761 | 14762 |
14762 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14763 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14763 echo "configure:14764: checking for tgetent in -lcurses" >&5 | 14764 echo "configure:14765: checking for tgetent in -lcurses" >&5 |
14764 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14765 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14765 | 14766 |
14766 xe_check_libs=" -lcurses " | 14767 xe_check_libs=" -lcurses " |
14767 cat > conftest.$ac_ext <<EOF | 14768 cat > conftest.$ac_ext <<EOF |
14768 #line 14769 "configure" | 14769 #line 14770 "configure" |
14769 #include "confdefs.h" | 14770 #include "confdefs.h" |
14770 /* Override any gcc2 internal prototype to avoid an error. */ | 14771 /* Override any gcc2 internal prototype to avoid an error. */ |
14771 /* We use char because int might match the return type of a gcc2 | 14772 /* We use char because int might match the return type of a gcc2 |
14772 builtin and then its argument prototype would still apply. */ | 14773 builtin and then its argument prototype would still apply. */ |
14773 char tgetent(); | 14774 char tgetent(); |
14774 | 14775 |
14775 int main() { | 14776 int main() { |
14776 tgetent() | 14777 tgetent() |
14777 ; return 0; } | 14778 ; return 0; } |
14778 EOF | 14779 EOF |
14779 if { (eval echo configure:14780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14780 if { (eval echo configure:14781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14780 rm -rf conftest* | 14781 rm -rf conftest* |
14781 eval "ac_cv_lib_$ac_lib_var=yes" | 14782 eval "ac_cv_lib_$ac_lib_var=yes" |
14782 else | 14783 else |
14783 echo "configure: failed program was:" >&5 | 14784 echo "configure: failed program was:" >&5 |
14784 cat conftest.$ac_ext >&5 | 14785 cat conftest.$ac_ext >&5 |
14792 echo "$ac_t""yes" 1>&6 | 14793 echo "$ac_t""yes" 1>&6 |
14793 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14794 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14794 else | 14795 else |
14795 echo "$ac_t""no" 1>&6 | 14796 echo "$ac_t""no" 1>&6 |
14796 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14797 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14797 echo "configure:14798: checking for tgetent in -ltermcap" >&5 | 14798 echo "configure:14799: checking for tgetent in -ltermcap" >&5 |
14798 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14799 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14799 | 14800 |
14800 xe_check_libs=" -ltermcap " | 14801 xe_check_libs=" -ltermcap " |
14801 cat > conftest.$ac_ext <<EOF | 14802 cat > conftest.$ac_ext <<EOF |
14802 #line 14803 "configure" | 14803 #line 14804 "configure" |
14803 #include "confdefs.h" | 14804 #include "confdefs.h" |
14804 /* Override any gcc2 internal prototype to avoid an error. */ | 14805 /* Override any gcc2 internal prototype to avoid an error. */ |
14805 /* We use char because int might match the return type of a gcc2 | 14806 /* We use char because int might match the return type of a gcc2 |
14806 builtin and then its argument prototype would still apply. */ | 14807 builtin and then its argument prototype would still apply. */ |
14807 char tgetent(); | 14808 char tgetent(); |
14808 | 14809 |
14809 int main() { | 14810 int main() { |
14810 tgetent() | 14811 tgetent() |
14811 ; return 0; } | 14812 ; return 0; } |
14812 EOF | 14813 EOF |
14813 if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14814 if { (eval echo configure:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14814 rm -rf conftest* | 14815 rm -rf conftest* |
14815 eval "ac_cv_lib_$ac_lib_var=yes" | 14816 eval "ac_cv_lib_$ac_lib_var=yes" |
14816 else | 14817 else |
14817 echo "configure: failed program was:" >&5 | 14818 echo "configure: failed program was:" >&5 |
14818 cat conftest.$ac_ext >&5 | 14819 cat conftest.$ac_ext >&5 |
14856 } | 14857 } |
14857 | 14858 |
14858 | 14859 |
14859 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14860 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14860 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14861 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14861 echo "configure:14862: checking for gpm.h" >&5 | 14862 echo "configure:14863: checking for gpm.h" >&5 |
14862 | 14863 |
14863 cat > conftest.$ac_ext <<EOF | 14864 cat > conftest.$ac_ext <<EOF |
14864 #line 14865 "configure" | 14865 #line 14866 "configure" |
14865 #include "confdefs.h" | 14866 #include "confdefs.h" |
14866 #include <gpm.h> | 14867 #include <gpm.h> |
14867 EOF | 14868 EOF |
14868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14869 { (eval echo configure:14870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14870 { (eval echo configure:14871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14871 if test -z "$ac_err"; then | 14872 if test -z "$ac_err"; then |
14872 rm -rf conftest* | 14873 rm -rf conftest* |
14873 eval "ac_cv_header_$ac_safe=yes" | 14874 eval "ac_cv_header_$ac_safe=yes" |
14874 else | 14875 else |
14887 with_gpm=no | 14888 with_gpm=no |
14888 fi | 14889 fi |
14889 } | 14890 } |
14890 test -z "$with_gpm" && { | 14891 test -z "$with_gpm" && { |
14891 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14892 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14892 echo "configure:14893: checking for Gpm_Open in -lgpm" >&5 | 14893 echo "configure:14894: checking for Gpm_Open in -lgpm" >&5 |
14893 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14894 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14894 | 14895 |
14895 xe_check_libs=" -lgpm " | 14896 xe_check_libs=" -lgpm " |
14896 cat > conftest.$ac_ext <<EOF | 14897 cat > conftest.$ac_ext <<EOF |
14897 #line 14898 "configure" | 14898 #line 14899 "configure" |
14898 #include "confdefs.h" | 14899 #include "confdefs.h" |
14899 /* Override any gcc2 internal prototype to avoid an error. */ | 14900 /* Override any gcc2 internal prototype to avoid an error. */ |
14900 /* We use char because int might match the return type of a gcc2 | 14901 /* We use char because int might match the return type of a gcc2 |
14901 builtin and then its argument prototype would still apply. */ | 14902 builtin and then its argument prototype would still apply. */ |
14902 char Gpm_Open(); | 14903 char Gpm_Open(); |
14903 | 14904 |
14904 int main() { | 14905 int main() { |
14905 Gpm_Open() | 14906 Gpm_Open() |
14906 ; return 0; } | 14907 ; return 0; } |
14907 EOF | 14908 EOF |
14908 if { (eval echo configure:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14909 if { (eval echo configure:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14909 rm -rf conftest* | 14910 rm -rf conftest* |
14910 eval "ac_cv_lib_$ac_lib_var=yes" | 14911 eval "ac_cv_lib_$ac_lib_var=yes" |
14911 else | 14912 else |
14912 echo "configure: failed program was:" >&5 | 14913 echo "configure: failed program was:" >&5 |
14913 cat conftest.$ac_ext >&5 | 14914 cat conftest.$ac_ext >&5 |
14946 done | 14947 done |
14947 fi | 14948 fi |
14948 | 14949 |
14949 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14950 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14950 != "no no no" && echo "checking for database support" 1>&6 | 14951 != "no no no" && echo "checking for database support" 1>&6 |
14951 echo "configure:14952: checking for database support" >&5 | 14952 echo "configure:14953: checking for database support" >&5 |
14952 | 14953 |
14953 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14954 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14954 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14955 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14955 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14956 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14956 echo "configure:14957: checking for ndbm.h" >&5 | 14957 echo "configure:14958: checking for ndbm.h" >&5 |
14957 | 14958 |
14958 cat > conftest.$ac_ext <<EOF | 14959 cat > conftest.$ac_ext <<EOF |
14959 #line 14960 "configure" | 14960 #line 14961 "configure" |
14960 #include "confdefs.h" | 14961 #include "confdefs.h" |
14961 #include <ndbm.h> | 14962 #include <ndbm.h> |
14962 EOF | 14963 EOF |
14963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14964 { (eval echo configure:14965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14965 { (eval echo configure:14966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14966 if test -z "$ac_err"; then | 14967 if test -z "$ac_err"; then |
14967 rm -rf conftest* | 14968 rm -rf conftest* |
14968 eval "ac_cv_header_$ac_safe=yes" | 14969 eval "ac_cv_header_$ac_safe=yes" |
14969 else | 14970 else |
14989 fi | 14990 fi |
14990 | 14991 |
14991 if test "$with_database_gdbm" != "no"; then | 14992 if test "$with_database_gdbm" != "no"; then |
14992 | 14993 |
14993 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14994 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14994 echo "configure:14995: checking for dbm_open in -lgdbm" >&5 | 14995 echo "configure:14996: checking for dbm_open in -lgdbm" >&5 |
14995 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14996 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14996 | 14997 |
14997 xe_check_libs=" -lgdbm " | 14998 xe_check_libs=" -lgdbm " |
14998 cat > conftest.$ac_ext <<EOF | 14999 cat > conftest.$ac_ext <<EOF |
14999 #line 15000 "configure" | 15000 #line 15001 "configure" |
15000 #include "confdefs.h" | 15001 #include "confdefs.h" |
15001 /* Override any gcc2 internal prototype to avoid an error. */ | 15002 /* Override any gcc2 internal prototype to avoid an error. */ |
15002 /* We use char because int might match the return type of a gcc2 | 15003 /* We use char because int might match the return type of a gcc2 |
15003 builtin and then its argument prototype would still apply. */ | 15004 builtin and then its argument prototype would still apply. */ |
15004 char dbm_open(); | 15005 char dbm_open(); |
15005 | 15006 |
15006 int main() { | 15007 int main() { |
15007 dbm_open() | 15008 dbm_open() |
15008 ; return 0; } | 15009 ; return 0; } |
15009 EOF | 15010 EOF |
15010 if { (eval echo configure:15011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15011 if { (eval echo configure:15012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15011 rm -rf conftest* | 15012 rm -rf conftest* |
15012 eval "ac_cv_lib_$ac_lib_var=yes" | 15013 eval "ac_cv_lib_$ac_lib_var=yes" |
15013 else | 15014 else |
15014 echo "configure: failed program was:" >&5 | 15015 echo "configure: failed program was:" >&5 |
15015 cat conftest.$ac_ext >&5 | 15016 cat conftest.$ac_ext >&5 |
15033 | 15034 |
15034 fi | 15035 fi |
15035 | 15036 |
15036 if test "$with_database_dbm" != "no"; then | 15037 if test "$with_database_dbm" != "no"; then |
15037 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15038 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15038 echo "configure:15039: checking for dbm_open" >&5 | 15039 echo "configure:15040: checking for dbm_open" >&5 |
15039 | 15040 |
15040 cat > conftest.$ac_ext <<EOF | 15041 cat > conftest.$ac_ext <<EOF |
15041 #line 15042 "configure" | 15042 #line 15043 "configure" |
15042 #include "confdefs.h" | 15043 #include "confdefs.h" |
15043 /* System header to define __stub macros and hopefully few prototypes, | 15044 /* System header to define __stub macros and hopefully few prototypes, |
15044 which can conflict with char dbm_open(); below. */ | 15045 which can conflict with char dbm_open(); below. */ |
15045 #include <assert.h> | 15046 #include <assert.h> |
15046 /* Override any gcc2 internal prototype to avoid an error. */ | 15047 /* Override any gcc2 internal prototype to avoid an error. */ |
15059 dbm_open(); | 15060 dbm_open(); |
15060 #endif | 15061 #endif |
15061 | 15062 |
15062 ; return 0; } | 15063 ; return 0; } |
15063 EOF | 15064 EOF |
15064 if { (eval echo configure:15065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15065 if { (eval echo configure:15066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15065 rm -rf conftest* | 15066 rm -rf conftest* |
15066 eval "ac_cv_func_dbm_open=yes" | 15067 eval "ac_cv_func_dbm_open=yes" |
15067 else | 15068 else |
15068 echo "configure: failed program was:" >&5 | 15069 echo "configure: failed program was:" >&5 |
15069 cat conftest.$ac_ext >&5 | 15070 cat conftest.$ac_ext >&5 |
15078 else | 15079 else |
15079 echo "$ac_t""no" 1>&6 | 15080 echo "$ac_t""no" 1>&6 |
15080 | 15081 |
15081 | 15082 |
15082 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15083 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15083 echo "configure:15084: checking for dbm_open in -ldbm" >&5 | 15084 echo "configure:15085: checking for dbm_open in -ldbm" >&5 |
15084 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15085 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15085 | 15086 |
15086 xe_check_libs=" -ldbm " | 15087 xe_check_libs=" -ldbm " |
15087 cat > conftest.$ac_ext <<EOF | 15088 cat > conftest.$ac_ext <<EOF |
15088 #line 15089 "configure" | 15089 #line 15090 "configure" |
15089 #include "confdefs.h" | 15090 #include "confdefs.h" |
15090 /* Override any gcc2 internal prototype to avoid an error. */ | 15091 /* Override any gcc2 internal prototype to avoid an error. */ |
15091 /* We use char because int might match the return type of a gcc2 | 15092 /* We use char because int might match the return type of a gcc2 |
15092 builtin and then its argument prototype would still apply. */ | 15093 builtin and then its argument prototype would still apply. */ |
15093 char dbm_open(); | 15094 char dbm_open(); |
15094 | 15095 |
15095 int main() { | 15096 int main() { |
15096 dbm_open() | 15097 dbm_open() |
15097 ; return 0; } | 15098 ; return 0; } |
15098 EOF | 15099 EOF |
15099 if { (eval echo configure:15100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15100 if { (eval echo configure:15101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15100 rm -rf conftest* | 15101 rm -rf conftest* |
15101 eval "ac_cv_lib_$ac_lib_var=yes" | 15102 eval "ac_cv_lib_$ac_lib_var=yes" |
15102 else | 15103 else |
15103 echo "configure: failed program was:" >&5 | 15104 echo "configure: failed program was:" >&5 |
15104 cat conftest.$ac_ext >&5 | 15105 cat conftest.$ac_ext >&5 |
15135 } | 15136 } |
15136 | 15137 |
15137 | 15138 |
15138 if test "$with_database_berkdb" != "no"; then | 15139 if test "$with_database_berkdb" != "no"; then |
15139 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15140 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15140 echo "configure:15141: checking for Berkeley db.h" >&5 | 15141 echo "configure:15142: checking for Berkeley db.h" >&5 |
15141 for header in "db/db.h" "db.h"; do | 15142 for header in "db/db.h" "db.h"; do |
15142 cat > conftest.$ac_ext <<EOF | 15143 cat > conftest.$ac_ext <<EOF |
15143 #line 15144 "configure" | 15144 #line 15145 "configure" |
15144 #include "confdefs.h" | 15145 #include "confdefs.h" |
15145 | 15146 |
15146 #include <stdlib.h> | 15147 #include <stdlib.h> |
15147 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15148 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15148 #ifdef HAVE_INTTYPES_H | 15149 #ifdef HAVE_INTTYPES_H |
15160 | 15161 |
15161 int main() { | 15162 int main() { |
15162 | 15163 |
15163 ; return 0; } | 15164 ; return 0; } |
15164 EOF | 15165 EOF |
15165 if { (eval echo configure:15166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15166 if { (eval echo configure:15167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15166 rm -rf conftest* | 15167 rm -rf conftest* |
15167 db_h_file="$header"; break | 15168 db_h_file="$header"; break |
15168 else | 15169 else |
15169 echo "configure: failed program was:" >&5 | 15170 echo "configure: failed program was:" >&5 |
15170 cat conftest.$ac_ext >&5 | 15171 cat conftest.$ac_ext >&5 |
15176 else echo "$ac_t""$db_h_file" 1>&6 | 15177 else echo "$ac_t""$db_h_file" 1>&6 |
15177 fi | 15178 fi |
15178 | 15179 |
15179 if test "$with_database_berkdb" != "no"; then | 15180 if test "$with_database_berkdb" != "no"; then |
15180 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15181 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15181 echo "configure:15182: checking for Berkeley DB version" >&5 | 15182 echo "configure:15183: checking for Berkeley DB version" >&5 |
15182 cat > conftest.$ac_ext <<EOF | 15183 cat > conftest.$ac_ext <<EOF |
15183 #line 15184 "configure" | 15184 #line 15185 "configure" |
15184 #include "confdefs.h" | 15185 #include "confdefs.h" |
15185 #include <$db_h_file> | 15186 #include <$db_h_file> |
15186 #if DB_VERSION_MAJOR > 1 | 15187 #if DB_VERSION_MAJOR > 1 |
15187 yes | 15188 yes |
15188 #endif | 15189 #endif |
15190 EOF | 15191 EOF |
15191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15192 egrep "yes" >/dev/null 2>&1; then | 15193 egrep "yes" >/dev/null 2>&1; then |
15193 rm -rf conftest* | 15194 rm -rf conftest* |
15194 cat > conftest.$ac_ext <<EOF | 15195 cat > conftest.$ac_ext <<EOF |
15195 #line 15196 "configure" | 15196 #line 15197 "configure" |
15196 #include "confdefs.h" | 15197 #include "confdefs.h" |
15197 #include <$db_h_file> | 15198 #include <$db_h_file> |
15198 #if DB_VERSION_MAJOR > 2 | 15199 #if DB_VERSION_MAJOR > 2 |
15199 yes | 15200 yes |
15200 #endif | 15201 #endif |
15202 EOF | 15203 EOF |
15203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15204 egrep "yes" >/dev/null 2>&1; then | 15205 egrep "yes" >/dev/null 2>&1; then |
15205 rm -rf conftest* | 15206 rm -rf conftest* |
15206 cat > conftest.$ac_ext <<EOF | 15207 cat > conftest.$ac_ext <<EOF |
15207 #line 15208 "configure" | 15208 #line 15209 "configure" |
15208 #include "confdefs.h" | 15209 #include "confdefs.h" |
15209 #include <$db_h_file> | 15210 #include <$db_h_file> |
15210 #if DB_VERSION_MAJOR > 3 | 15211 #if DB_VERSION_MAJOR > 3 |
15211 yes | 15212 yes |
15212 #endif | 15213 #endif |
15236 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15237 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15237 fi | 15238 fi |
15238 rm -f conftest* | 15239 rm -f conftest* |
15239 | 15240 |
15240 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15241 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15241 echo "configure:15242: checking for $dbfunc" >&5 | 15242 echo "configure:15243: checking for $dbfunc" >&5 |
15242 | 15243 |
15243 cat > conftest.$ac_ext <<EOF | 15244 cat > conftest.$ac_ext <<EOF |
15244 #line 15245 "configure" | 15245 #line 15246 "configure" |
15245 #include "confdefs.h" | 15246 #include "confdefs.h" |
15246 /* System header to define __stub macros and hopefully few prototypes, | 15247 /* System header to define __stub macros and hopefully few prototypes, |
15247 which can conflict with char $dbfunc(); below. */ | 15248 which can conflict with char $dbfunc(); below. */ |
15248 #include <assert.h> | 15249 #include <assert.h> |
15249 /* Override any gcc2 internal prototype to avoid an error. */ | 15250 /* Override any gcc2 internal prototype to avoid an error. */ |
15262 $dbfunc(); | 15263 $dbfunc(); |
15263 #endif | 15264 #endif |
15264 | 15265 |
15265 ; return 0; } | 15266 ; return 0; } |
15266 EOF | 15267 EOF |
15267 if { (eval echo configure:15268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15268 if { (eval echo configure:15269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15268 rm -rf conftest* | 15269 rm -rf conftest* |
15269 eval "ac_cv_func_$dbfunc=yes" | 15270 eval "ac_cv_func_$dbfunc=yes" |
15270 else | 15271 else |
15271 echo "configure: failed program was:" >&5 | 15272 echo "configure: failed program was:" >&5 |
15272 cat conftest.$ac_ext >&5 | 15273 cat conftest.$ac_ext >&5 |
15281 else | 15282 else |
15282 echo "$ac_t""no" 1>&6 | 15283 echo "$ac_t""no" 1>&6 |
15283 | 15284 |
15284 | 15285 |
15285 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15286 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15286 echo "configure:15287: checking for $dbfunc in -ldb" >&5 | 15287 echo "configure:15288: checking for $dbfunc in -ldb" >&5 |
15287 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15288 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15288 | 15289 |
15289 xe_check_libs=" -ldb " | 15290 xe_check_libs=" -ldb " |
15290 cat > conftest.$ac_ext <<EOF | 15291 cat > conftest.$ac_ext <<EOF |
15291 #line 15292 "configure" | 15292 #line 15293 "configure" |
15292 #include "confdefs.h" | 15293 #include "confdefs.h" |
15293 /* Override any gcc2 internal prototype to avoid an error. */ | 15294 /* Override any gcc2 internal prototype to avoid an error. */ |
15294 /* We use char because int might match the return type of a gcc2 | 15295 /* We use char because int might match the return type of a gcc2 |
15295 builtin and then its argument prototype would still apply. */ | 15296 builtin and then its argument prototype would still apply. */ |
15296 char $dbfunc(); | 15297 char $dbfunc(); |
15297 | 15298 |
15298 int main() { | 15299 int main() { |
15299 $dbfunc() | 15300 $dbfunc() |
15300 ; return 0; } | 15301 ; return 0; } |
15301 EOF | 15302 EOF |
15302 if { (eval echo configure:15303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15303 if { (eval echo configure:15304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15303 rm -rf conftest* | 15304 rm -rf conftest* |
15304 eval "ac_cv_lib_$ac_lib_var=yes" | 15305 eval "ac_cv_lib_$ac_lib_var=yes" |
15305 else | 15306 else |
15306 echo "configure: failed program was:" >&5 | 15307 echo "configure: failed program was:" >&5 |
15307 cat conftest.$ac_ext >&5 | 15308 cat conftest.$ac_ext >&5 |
15331 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15332 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15332 rm -f $tempcname | 15333 rm -f $tempcname |
15333 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15334 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15334 | 15335 |
15335 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15336 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15336 echo "configure:15337: checking for $dbfunc in -ldb" >&5 | 15337 echo "configure:15338: checking for $dbfunc in -ldb" >&5 |
15337 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15338 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15338 | 15339 |
15339 xe_check_libs=" -ldb " | 15340 xe_check_libs=" -ldb " |
15340 cat > conftest.$ac_ext <<EOF | 15341 cat > conftest.$ac_ext <<EOF |
15341 #line 15342 "configure" | 15342 #line 15343 "configure" |
15342 #include "confdefs.h" | 15343 #include "confdefs.h" |
15343 /* Override any gcc2 internal prototype to avoid an error. */ | 15344 /* Override any gcc2 internal prototype to avoid an error. */ |
15344 /* We use char because int might match the return type of a gcc2 | 15345 /* We use char because int might match the return type of a gcc2 |
15345 builtin and then its argument prototype would still apply. */ | 15346 builtin and then its argument prototype would still apply. */ |
15346 char $dbfunc(); | 15347 char $dbfunc(); |
15347 | 15348 |
15348 int main() { | 15349 int main() { |
15349 $dbfunc() | 15350 $dbfunc() |
15350 ; return 0; } | 15351 ; return 0; } |
15351 EOF | 15352 EOF |
15352 if { (eval echo configure:15353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15353 if { (eval echo configure:15354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15353 rm -rf conftest* | 15354 rm -rf conftest* |
15354 eval "ac_cv_lib_$ac_lib_var=yes" | 15355 eval "ac_cv_lib_$ac_lib_var=yes" |
15355 else | 15356 else |
15356 echo "configure: failed program was:" >&5 | 15357 echo "configure: failed program was:" >&5 |
15357 cat conftest.$ac_ext >&5 | 15358 cat conftest.$ac_ext >&5 |
15406 fi | 15407 fi |
15407 | 15408 |
15408 if test "$with_socks" = "yes"; then | 15409 if test "$with_socks" = "yes"; then |
15409 | 15410 |
15410 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15411 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15411 echo "configure:15412: checking for SOCKSinit in -lsocks" >&5 | 15412 echo "configure:15413: checking for SOCKSinit in -lsocks" >&5 |
15412 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15413 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15413 | 15414 |
15414 xe_check_libs=" -lsocks " | 15415 xe_check_libs=" -lsocks " |
15415 cat > conftest.$ac_ext <<EOF | 15416 cat > conftest.$ac_ext <<EOF |
15416 #line 15417 "configure" | 15417 #line 15418 "configure" |
15417 #include "confdefs.h" | 15418 #include "confdefs.h" |
15418 /* Override any gcc2 internal prototype to avoid an error. */ | 15419 /* Override any gcc2 internal prototype to avoid an error. */ |
15419 /* We use char because int might match the return type of a gcc2 | 15420 /* We use char because int might match the return type of a gcc2 |
15420 builtin and then its argument prototype would still apply. */ | 15421 builtin and then its argument prototype would still apply. */ |
15421 char SOCKSinit(); | 15422 char SOCKSinit(); |
15422 | 15423 |
15423 int main() { | 15424 int main() { |
15424 SOCKSinit() | 15425 SOCKSinit() |
15425 ; return 0; } | 15426 ; return 0; } |
15426 EOF | 15427 EOF |
15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15428 if { (eval echo configure:15429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15428 rm -rf conftest* | 15429 rm -rf conftest* |
15429 eval "ac_cv_lib_$ac_lib_var=yes" | 15430 eval "ac_cv_lib_$ac_lib_var=yes" |
15430 else | 15431 else |
15431 echo "configure: failed program was:" >&5 | 15432 echo "configure: failed program was:" >&5 |
15432 cat conftest.$ac_ext >&5 | 15433 cat conftest.$ac_ext >&5 |
15476 | 15477 |
15477 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15478 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15478 fi | 15479 fi |
15479 | 15480 |
15480 cat > conftest.$ac_ext <<EOF | 15481 cat > conftest.$ac_ext <<EOF |
15481 #line 15482 "configure" | 15482 #line 15483 "configure" |
15482 #include "confdefs.h" | 15483 #include "confdefs.h" |
15483 int main(int c,char *v[]){return 0;} | 15484 int main(int c,char *v[]){return 0;} |
15484 EOF | 15485 EOF |
15485 if { (eval echo configure:15486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15486 if { (eval echo configure:15487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15486 then | 15487 then |
15487 : | 15488 : |
15488 else | 15489 else |
15489 conftest_rc="$?" | 15490 conftest_rc="$?" |
15490 echo "configure: failed program was:" >&5 | 15491 echo "configure: failed program was:" >&5 |