Mercurial > hg > xemacs-beta
comparison configure @ 724:76d5a3dd827a
[xemacs-hg @ 2002-01-05 07:33:11 by stephent]
Pre-21.5.4 commit of stuff on notebook
-- updated CHANGES-beta
-- fix some slow startups - default with_ipv6_cname=no -- Stephen Turnbull
-- Cygwin nox-xpm detection -- Charles Wilson
-- eliminate bogus check for Athena widgets -- Alexey Mahotkin
author | stephent |
---|---|
date | Sat, 05 Jan 2002 07:33:24 +0000 |
parents | 128e95ac472f |
children | 1f525cb38373 |
comparison
equal
deleted
inserted
replaced
723:a65ddffa00a5 | 724:76d5a3dd827a |
---|---|
14 ### This script was automatically generated by the `autoconf' program | 14 ### This script was automatically generated by the `autoconf' program |
15 ### from the file `./configure.in'. | 15 ### from the file `./configure.in'. |
16 ### To rebuild it, execute the command | 16 ### To rebuild it, execute the command |
17 ### autoconf | 17 ### autoconf |
18 ### in the this directory. You must have autoconf version 2.13 or later. | 18 ### in the this directory. You must have autoconf version 2.13 or later. |
19 ### Note: this script has not yet been ported to autoconf version 2.5x. | |
19 | 20 |
20 ### This file is part of XEmacs. | 21 ### This file is part of XEmacs. |
21 | 22 |
22 ### XEmacs is free software; you can redistribute it and/or modify it | 23 ### XEmacs is free software; you can redistribute it and/or modify it |
23 ### under the terms of the GNU General Public License as published by | 24 ### under the terms of the GNU General Public License as published by |
348 with_pop | \ | 349 with_pop | \ |
349 with_kerberos | \ | 350 with_kerberos | \ |
350 with_hesiod | \ | 351 with_hesiod | \ |
351 with_dnet | \ | 352 with_dnet | \ |
352 with_infodock | \ | 353 with_infodock | \ |
353 with_netinstall | \ | 354 with_netinstall | \ |
355 with_ipv6_cname | \ | |
354 external_widget | \ | 356 external_widget | \ |
355 verbose | \ | 357 verbose | \ |
356 extra_verbose | \ | 358 extra_verbose | \ |
357 usage_tracking | \ | 359 usage_tracking | \ |
358 use_union_type | \ | 360 use_union_type | \ |
465 \( -n "$new_sdefault" -a -n "$sound_notfirst" \) ; then | 467 \( -n "$new_sdefault" -a -n "$sound_notfirst" \) ; then |
466 types="\`all', \`none', \`(no)native', \`no(nas)', \`(no)esd'." | 468 types="\`all', \`none', \`(no)native', \`no(nas)', \`(no)esd'." |
467 (echo "$progname: Usage error:" | 469 (echo "$progname: Usage error:" |
468 echo " " "Valid types for the \`--$optname' option are: | 470 echo " " "Valid types for the \`--$optname' option are: |
469 $types. | 471 $types. |
470 The default is to autodetect all sound support." | 472 Option \`all' or \`none' must be first in the list. |
473 The default is to autodetect native and NAS sound support." | |
471 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 474 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
472 elif test -n "$new_sdefault" ; then | 475 elif test -n "$new_sdefault" ; then |
473 with_native_sound=$new_sdefault | 476 with_native_sound=$new_sdefault |
474 with_nas_sound=$new_sdefault | 477 with_nas_sound=$new_sdefault |
475 with_esd_sound=$new_sdefault | 478 with_esd_sound=$new_sdefault |
732 "with_scrollbars" | \ | 735 "with_scrollbars" | \ |
733 "with_dialogs" | \ | 736 "with_dialogs" | \ |
734 "with_widgets" ) | 737 "with_widgets" ) |
735 case "$val" in | 738 case "$val" in |
736 l | lu | luc | luci | lucid ) val=lucid ;; | 739 l | lu | luc | luci | lucid ) val=lucid ;; |
737 m | mo | mot | moti | motif ) val=motif ;; | 740 mo | mot | moti | motif ) val=motif ;; |
738 a | at | ath | athe | athen | athena ) val=athena ;; | 741 a | at | ath | athe | athen | athena ) val=athena ;; |
739 n | no | non | none ) val=no ;; | 742 n | no | non | none ) val=no ;; |
740 y | ye | yes ) val=yes ;; | 743 y | ye | yes ) val=yes ;; |
741 g | gt | gtk ) val=gtk ;; | 744 g | gt | gtk ) val=gtk ;; |
742 m | ms | msw ) val=msw ;; | 745 ms | msw ) val=msw ;; |
743 * ) (echo "$progname: Usage error:" | 746 * ) (echo "$progname: Usage error:" |
744 echo " " "The \`--$optname' option must have one of these values: | 747 echo " " "The \`--$optname' option must have one of these values: |
745 \`gtk', \`lucid', \`motif', \`athena', \`yes', or \`no'." | 748 \`gtk', \`lucid', \`motif', \`athena', \`yes', or \`no'." |
746 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 749 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
747 esac | 750 esac |
842 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 845 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
843 fi | 846 fi |
844 fi | 847 fi |
845 | 848 |
846 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 849 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
847 echo "configure:848: checking whether ln -s works" >&5 | 850 echo "configure:851: checking whether ln -s works" >&5 |
848 | 851 |
849 rm -f conftestdata | 852 rm -f conftestdata |
850 if ln -s X conftestdata 2>/dev/null | 853 if ln -s X conftestdata 2>/dev/null |
851 then | 854 then |
852 rm -f conftestdata | 855 rm -f conftestdata |
1107 } | 1110 } |
1108 | 1111 |
1109 | 1112 |
1110 | 1113 |
1111 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1114 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1112 echo "configure:1113: checking "host system type"" >&5 | 1115 echo "configure:1116: checking "host system type"" >&5 |
1113 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1116 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1114 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1117 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1115 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1118 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1116 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1119 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1117 echo "$ac_t""$configuration" 1>&6 | 1120 echo "$ac_t""$configuration" 1>&6 |
1622 xe_save_CFLAGS="$CFLAGS" | 1625 xe_save_CFLAGS="$CFLAGS" |
1623 | 1626 |
1624 # Extract the first word of "gcc", so it can be a program name with args. | 1627 # Extract the first word of "gcc", so it can be a program name with args. |
1625 set dummy gcc; ac_word=$2 | 1628 set dummy gcc; ac_word=$2 |
1626 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1627 echo "configure:1628: checking for $ac_word" >&5 | 1630 echo "configure:1631: checking for $ac_word" >&5 |
1628 | 1631 |
1629 if test -n "$CC"; then | 1632 if test -n "$CC"; then |
1630 ac_cv_prog_CC="$CC" # Let the user override the test. | 1633 ac_cv_prog_CC="$CC" # Let the user override the test. |
1631 else | 1634 else |
1632 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1635 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1649 | 1652 |
1650 if test -z "$CC"; then | 1653 if test -z "$CC"; then |
1651 # Extract the first word of "cc", so it can be a program name with args. | 1654 # Extract the first word of "cc", so it can be a program name with args. |
1652 set dummy cc; ac_word=$2 | 1655 set dummy cc; ac_word=$2 |
1653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1656 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1654 echo "configure:1655: checking for $ac_word" >&5 | 1657 echo "configure:1658: checking for $ac_word" >&5 |
1655 | 1658 |
1656 if test -n "$CC"; then | 1659 if test -n "$CC"; then |
1657 ac_cv_prog_CC="$CC" # Let the user override the test. | 1660 ac_cv_prog_CC="$CC" # Let the user override the test. |
1658 else | 1661 else |
1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1662 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1697 case "`uname -s`" in | 1700 case "`uname -s`" in |
1698 *win32* | *WIN32*) | 1701 *win32* | *WIN32*) |
1699 # Extract the first word of "cl", so it can be a program name with args. | 1702 # Extract the first word of "cl", so it can be a program name with args. |
1700 set dummy cl; ac_word=$2 | 1703 set dummy cl; ac_word=$2 |
1701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1704 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1702 echo "configure:1703: checking for $ac_word" >&5 | 1705 echo "configure:1706: checking for $ac_word" >&5 |
1703 | 1706 |
1704 if test -n "$CC"; then | 1707 if test -n "$CC"; then |
1705 ac_cv_prog_CC="$CC" # Let the user override the test. | 1708 ac_cv_prog_CC="$CC" # Let the user override the test. |
1706 else | 1709 else |
1707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1710 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1726 fi | 1729 fi |
1727 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1730 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1728 fi | 1731 fi |
1729 | 1732 |
1730 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1733 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1731 echo "configure:1732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1734 echo "configure:1735: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1732 | 1735 |
1733 ac_ext=c | 1736 ac_ext=c |
1734 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1737 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1735 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1738 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1736 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' | 1739 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' |
1739 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1742 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1740 cross_compiling=no | 1743 cross_compiling=no |
1741 | 1744 |
1742 cat > conftest.$ac_ext << EOF | 1745 cat > conftest.$ac_ext << EOF |
1743 | 1746 |
1744 #line 1745 "configure" | 1747 #line 1748 "configure" |
1745 #include "confdefs.h" | 1748 #include "confdefs.h" |
1746 | 1749 |
1747 main(){return(0);} | 1750 main(){return(0);} |
1748 EOF | 1751 EOF |
1749 if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1752 if { (eval echo configure:1753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1750 ac_cv_prog_cc_works=yes | 1753 ac_cv_prog_cc_works=yes |
1751 # If we can't run a trivial program, we are probably using a cross compiler. | 1754 # If we can't run a trivial program, we are probably using a cross compiler. |
1752 if (./conftest; exit) 2>/dev/null; then | 1755 if (./conftest; exit) 2>/dev/null; then |
1753 ac_cv_prog_cc_cross=no | 1756 ac_cv_prog_cc_cross=no |
1754 else | 1757 else |
1772 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1775 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1773 if test $ac_cv_prog_cc_works = no; then | 1776 if test $ac_cv_prog_cc_works = no; then |
1774 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1777 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1775 fi | 1778 fi |
1776 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1779 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1777 echo "configure:1778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1780 echo "configure:1781: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1778 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1781 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1779 cross_compiling=$ac_cv_prog_cc_cross | 1782 cross_compiling=$ac_cv_prog_cc_cross |
1780 | 1783 |
1781 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1784 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1782 echo "configure:1783: checking whether we are using GNU C" >&5 | 1785 echo "configure:1786: checking whether we are using GNU C" >&5 |
1783 | 1786 |
1784 cat > conftest.c <<EOF | 1787 cat > conftest.c <<EOF |
1785 #ifdef __GNUC__ | 1788 #ifdef __GNUC__ |
1786 yes; | 1789 yes; |
1787 #endif | 1790 #endif |
1788 EOF | 1791 EOF |
1789 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1792 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1790 ac_cv_prog_gcc=yes | 1793 ac_cv_prog_gcc=yes |
1791 else | 1794 else |
1792 ac_cv_prog_gcc=no | 1795 ac_cv_prog_gcc=no |
1793 fi | 1796 fi |
1794 | 1797 |
1802 | 1805 |
1803 ac_test_CFLAGS="${CFLAGS+set}" | 1806 ac_test_CFLAGS="${CFLAGS+set}" |
1804 ac_save_CFLAGS="$CFLAGS" | 1807 ac_save_CFLAGS="$CFLAGS" |
1805 CFLAGS= | 1808 CFLAGS= |
1806 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1809 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1807 echo "configure:1808: checking whether ${CC-cc} accepts -g" >&5 | 1810 echo "configure:1811: checking whether ${CC-cc} accepts -g" >&5 |
1808 | 1811 |
1809 echo 'void f(){}' > conftest.c | 1812 echo 'void f(){}' > conftest.c |
1810 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1813 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1811 ac_cv_prog_cc_g=yes | 1814 ac_cv_prog_cc_g=yes |
1812 else | 1815 else |
1835 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1838 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1836 CC=${NON_GNU_CC-cc} | 1839 CC=${NON_GNU_CC-cc} |
1837 # Extract the first word of "gcc", so it can be a program name with args. | 1840 # Extract the first word of "gcc", so it can be a program name with args. |
1838 set dummy gcc; ac_word=$2 | 1841 set dummy gcc; ac_word=$2 |
1839 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1842 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1840 echo "configure:1841: checking for $ac_word" >&5 | 1843 echo "configure:1844: checking for $ac_word" >&5 |
1841 | 1844 |
1842 if test -n "$CC"; then | 1845 if test -n "$CC"; then |
1843 ac_cv_prog_CC="$CC" # Let the user override the test. | 1846 ac_cv_prog_CC="$CC" # Let the user override the test. |
1844 else | 1847 else |
1845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1848 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1862 | 1865 |
1863 if test -z "$CC"; then | 1866 if test -z "$CC"; then |
1864 # Extract the first word of "cc", so it can be a program name with args. | 1867 # Extract the first word of "cc", so it can be a program name with args. |
1865 set dummy cc; ac_word=$2 | 1868 set dummy cc; ac_word=$2 |
1866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1869 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1867 echo "configure:1868: checking for $ac_word" >&5 | 1870 echo "configure:1871: checking for $ac_word" >&5 |
1868 | 1871 |
1869 if test -n "$CC"; then | 1872 if test -n "$CC"; then |
1870 ac_cv_prog_CC="$CC" # Let the user override the test. | 1873 ac_cv_prog_CC="$CC" # Let the user override the test. |
1871 else | 1874 else |
1872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1910 case "`uname -s`" in | 1913 case "`uname -s`" in |
1911 *win32* | *WIN32*) | 1914 *win32* | *WIN32*) |
1912 # Extract the first word of "cl", so it can be a program name with args. | 1915 # Extract the first word of "cl", so it can be a program name with args. |
1913 set dummy cl; ac_word=$2 | 1916 set dummy cl; ac_word=$2 |
1914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1915 echo "configure:1916: checking for $ac_word" >&5 | 1918 echo "configure:1919: checking for $ac_word" >&5 |
1916 | 1919 |
1917 if test -n "$CC"; then | 1920 if test -n "$CC"; then |
1918 ac_cv_prog_CC="$CC" # Let the user override the test. | 1921 ac_cv_prog_CC="$CC" # Let the user override the test. |
1919 else | 1922 else |
1920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1939 fi | 1942 fi |
1940 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1943 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1941 fi | 1944 fi |
1942 | 1945 |
1943 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1946 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1944 echo "configure:1945: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1947 echo "configure:1948: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1945 | 1948 |
1946 ac_ext=c | 1949 ac_ext=c |
1947 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1950 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1948 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1951 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1949 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' | 1952 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' |
1952 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1955 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1953 cross_compiling=no | 1956 cross_compiling=no |
1954 | 1957 |
1955 cat > conftest.$ac_ext << EOF | 1958 cat > conftest.$ac_ext << EOF |
1956 | 1959 |
1957 #line 1958 "configure" | 1960 #line 1961 "configure" |
1958 #include "confdefs.h" | 1961 #include "confdefs.h" |
1959 | 1962 |
1960 main(){return(0);} | 1963 main(){return(0);} |
1961 EOF | 1964 EOF |
1962 if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1965 if { (eval echo configure:1966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1963 ac_cv_prog_cc_works=yes | 1966 ac_cv_prog_cc_works=yes |
1964 # If we can't run a trivial program, we are probably using a cross compiler. | 1967 # If we can't run a trivial program, we are probably using a cross compiler. |
1965 if (./conftest; exit) 2>/dev/null; then | 1968 if (./conftest; exit) 2>/dev/null; then |
1966 ac_cv_prog_cc_cross=no | 1969 ac_cv_prog_cc_cross=no |
1967 else | 1970 else |
1985 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1988 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1986 if test $ac_cv_prog_cc_works = no; then | 1989 if test $ac_cv_prog_cc_works = no; then |
1987 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1990 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1988 fi | 1991 fi |
1989 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1992 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1990 echo "configure:1991: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1993 echo "configure:1994: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1991 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1994 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1992 cross_compiling=$ac_cv_prog_cc_cross | 1995 cross_compiling=$ac_cv_prog_cc_cross |
1993 | 1996 |
1994 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1997 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1995 echo "configure:1996: checking whether we are using GNU C" >&5 | 1998 echo "configure:1999: checking whether we are using GNU C" >&5 |
1996 | 1999 |
1997 cat > conftest.c <<EOF | 2000 cat > conftest.c <<EOF |
1998 #ifdef __GNUC__ | 2001 #ifdef __GNUC__ |
1999 yes; | 2002 yes; |
2000 #endif | 2003 #endif |
2001 EOF | 2004 EOF |
2002 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2005 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2003 ac_cv_prog_gcc=yes | 2006 ac_cv_prog_gcc=yes |
2004 else | 2007 else |
2005 ac_cv_prog_gcc=no | 2008 ac_cv_prog_gcc=no |
2006 fi | 2009 fi |
2007 | 2010 |
2015 | 2018 |
2016 ac_test_CFLAGS="${CFLAGS+set}" | 2019 ac_test_CFLAGS="${CFLAGS+set}" |
2017 ac_save_CFLAGS="$CFLAGS" | 2020 ac_save_CFLAGS="$CFLAGS" |
2018 CFLAGS= | 2021 CFLAGS= |
2019 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2022 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2020 echo "configure:2021: checking whether ${CC-cc} accepts -g" >&5 | 2023 echo "configure:2024: checking whether ${CC-cc} accepts -g" >&5 |
2021 | 2024 |
2022 echo 'void f(){}' > conftest.c | 2025 echo 'void f(){}' > conftest.c |
2023 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2026 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2024 ac_cv_prog_cc_g=yes | 2027 ac_cv_prog_cc_g=yes |
2025 else | 2028 else |
2048 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2051 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2049 CC=gcc | 2052 CC=gcc |
2050 # Extract the first word of "gcc", so it can be a program name with args. | 2053 # Extract the first word of "gcc", so it can be a program name with args. |
2051 set dummy gcc; ac_word=$2 | 2054 set dummy gcc; ac_word=$2 |
2052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2053 echo "configure:2054: checking for $ac_word" >&5 | 2056 echo "configure:2057: checking for $ac_word" >&5 |
2054 | 2057 |
2055 if test -n "$CC"; then | 2058 if test -n "$CC"; then |
2056 ac_cv_prog_CC="$CC" # Let the user override the test. | 2059 ac_cv_prog_CC="$CC" # Let the user override the test. |
2057 else | 2060 else |
2058 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2061 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2075 | 2078 |
2076 if test -z "$CC"; then | 2079 if test -z "$CC"; then |
2077 # Extract the first word of "cc", so it can be a program name with args. | 2080 # Extract the first word of "cc", so it can be a program name with args. |
2078 set dummy cc; ac_word=$2 | 2081 set dummy cc; ac_word=$2 |
2079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2082 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2080 echo "configure:2081: checking for $ac_word" >&5 | 2083 echo "configure:2084: checking for $ac_word" >&5 |
2081 | 2084 |
2082 if test -n "$CC"; then | 2085 if test -n "$CC"; then |
2083 ac_cv_prog_CC="$CC" # Let the user override the test. | 2086 ac_cv_prog_CC="$CC" # Let the user override the test. |
2084 else | 2087 else |
2085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2123 case "`uname -s`" in | 2126 case "`uname -s`" in |
2124 *win32* | *WIN32*) | 2127 *win32* | *WIN32*) |
2125 # Extract the first word of "cl", so it can be a program name with args. | 2128 # Extract the first word of "cl", so it can be a program name with args. |
2126 set dummy cl; ac_word=$2 | 2129 set dummy cl; ac_word=$2 |
2127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2130 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2128 echo "configure:2129: checking for $ac_word" >&5 | 2131 echo "configure:2132: checking for $ac_word" >&5 |
2129 | 2132 |
2130 if test -n "$CC"; then | 2133 if test -n "$CC"; then |
2131 ac_cv_prog_CC="$CC" # Let the user override the test. | 2134 ac_cv_prog_CC="$CC" # Let the user override the test. |
2132 else | 2135 else |
2133 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2136 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2152 fi | 2155 fi |
2153 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2156 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2154 fi | 2157 fi |
2155 | 2158 |
2156 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2159 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2157 echo "configure:2158: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2160 echo "configure:2161: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2158 | 2161 |
2159 ac_ext=c | 2162 ac_ext=c |
2160 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2163 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2161 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2164 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2162 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' | 2165 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' |
2165 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2168 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2166 cross_compiling=no | 2169 cross_compiling=no |
2167 | 2170 |
2168 cat > conftest.$ac_ext << EOF | 2171 cat > conftest.$ac_ext << EOF |
2169 | 2172 |
2170 #line 2171 "configure" | 2173 #line 2174 "configure" |
2171 #include "confdefs.h" | 2174 #include "confdefs.h" |
2172 | 2175 |
2173 main(){return(0);} | 2176 main(){return(0);} |
2174 EOF | 2177 EOF |
2175 if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2178 if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2176 ac_cv_prog_cc_works=yes | 2179 ac_cv_prog_cc_works=yes |
2177 # If we can't run a trivial program, we are probably using a cross compiler. | 2180 # If we can't run a trivial program, we are probably using a cross compiler. |
2178 if (./conftest; exit) 2>/dev/null; then | 2181 if (./conftest; exit) 2>/dev/null; then |
2179 ac_cv_prog_cc_cross=no | 2182 ac_cv_prog_cc_cross=no |
2180 else | 2183 else |
2198 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2201 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2199 if test $ac_cv_prog_cc_works = no; then | 2202 if test $ac_cv_prog_cc_works = no; then |
2200 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2203 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2201 fi | 2204 fi |
2202 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2205 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2203 echo "configure:2204: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2206 echo "configure:2207: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2204 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2207 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2205 cross_compiling=$ac_cv_prog_cc_cross | 2208 cross_compiling=$ac_cv_prog_cc_cross |
2206 | 2209 |
2207 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2210 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2208 echo "configure:2209: checking whether we are using GNU C" >&5 | 2211 echo "configure:2212: checking whether we are using GNU C" >&5 |
2209 | 2212 |
2210 cat > conftest.c <<EOF | 2213 cat > conftest.c <<EOF |
2211 #ifdef __GNUC__ | 2214 #ifdef __GNUC__ |
2212 yes; | 2215 yes; |
2213 #endif | 2216 #endif |
2214 EOF | 2217 EOF |
2215 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2218 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2216 ac_cv_prog_gcc=yes | 2219 ac_cv_prog_gcc=yes |
2217 else | 2220 else |
2218 ac_cv_prog_gcc=no | 2221 ac_cv_prog_gcc=no |
2219 fi | 2222 fi |
2220 | 2223 |
2228 | 2231 |
2229 ac_test_CFLAGS="${CFLAGS+set}" | 2232 ac_test_CFLAGS="${CFLAGS+set}" |
2230 ac_save_CFLAGS="$CFLAGS" | 2233 ac_save_CFLAGS="$CFLAGS" |
2231 CFLAGS= | 2234 CFLAGS= |
2232 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2235 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2233 echo "configure:2234: checking whether ${CC-cc} accepts -g" >&5 | 2236 echo "configure:2237: checking whether ${CC-cc} accepts -g" >&5 |
2234 | 2237 |
2235 echo 'void f(){}' > conftest.c | 2238 echo 'void f(){}' > conftest.c |
2236 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2239 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2237 ac_cv_prog_cc_g=yes | 2240 ac_cv_prog_cc_g=yes |
2238 else | 2241 else |
2265 test -n "$CPP" -a -d "$CPP" && CPP= | 2268 test -n "$CPP" -a -d "$CPP" && CPP= |
2266 | 2269 |
2267 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2270 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2268 | 2271 |
2269 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2272 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2270 echo "configure:2271: checking how to run the C preprocessor" >&5 | 2273 echo "configure:2274: checking how to run the C preprocessor" >&5 |
2271 # On Suns, sometimes $CPP names a directory. | 2274 # On Suns, sometimes $CPP names a directory. |
2272 if test -n "$CPP" && test -d "$CPP"; then | 2275 if test -n "$CPP" && test -d "$CPP"; then |
2273 CPP= | 2276 CPP= |
2274 fi | 2277 fi |
2275 if test -z "$CPP"; then | 2278 if test -z "$CPP"; then |
2278 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2281 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2279 CPP="${CC-cc} -E" | 2282 CPP="${CC-cc} -E" |
2280 # On the NeXT, cc -E runs the code through the compiler's parser, | 2283 # On the NeXT, cc -E runs the code through the compiler's parser, |
2281 # not just through cpp. | 2284 # not just through cpp. |
2282 cat > conftest.$ac_ext <<EOF | 2285 cat > conftest.$ac_ext <<EOF |
2283 #line 2284 "configure" | 2286 #line 2287 "configure" |
2284 #include "confdefs.h" | 2287 #include "confdefs.h" |
2285 #include <assert.h> | 2288 #include <assert.h> |
2286 Syntax Error | 2289 Syntax Error |
2287 EOF | 2290 EOF |
2288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2289 { (eval echo configure:2290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2292 { (eval echo configure:2293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2291 if test -z "$ac_err"; then | 2294 if test -z "$ac_err"; then |
2292 : | 2295 : |
2293 else | 2296 else |
2294 echo "$ac_err" >&5 | 2297 echo "$ac_err" >&5 |
2295 echo "configure: failed program was:" >&5 | 2298 echo "configure: failed program was:" >&5 |
2296 cat conftest.$ac_ext >&5 | 2299 cat conftest.$ac_ext >&5 |
2297 rm -rf conftest* | 2300 rm -rf conftest* |
2298 CPP="${CC-cc} -E -traditional-cpp" | 2301 CPP="${CC-cc} -E -traditional-cpp" |
2299 cat > conftest.$ac_ext <<EOF | 2302 cat > conftest.$ac_ext <<EOF |
2300 #line 2301 "configure" | 2303 #line 2304 "configure" |
2301 #include "confdefs.h" | 2304 #include "confdefs.h" |
2302 #include <assert.h> | 2305 #include <assert.h> |
2303 Syntax Error | 2306 Syntax Error |
2304 EOF | 2307 EOF |
2305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2306 { (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2309 { (eval echo configure:2310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2308 if test -z "$ac_err"; then | 2311 if test -z "$ac_err"; then |
2309 : | 2312 : |
2310 else | 2313 else |
2311 echo "$ac_err" >&5 | 2314 echo "$ac_err" >&5 |
2312 echo "configure: failed program was:" >&5 | 2315 echo "configure: failed program was:" >&5 |
2313 cat conftest.$ac_ext >&5 | 2316 cat conftest.$ac_ext >&5 |
2314 rm -rf conftest* | 2317 rm -rf conftest* |
2315 CPP="${CC-cc} -nologo -E" | 2318 CPP="${CC-cc} -nologo -E" |
2316 cat > conftest.$ac_ext <<EOF | 2319 cat > conftest.$ac_ext <<EOF |
2317 #line 2318 "configure" | 2320 #line 2321 "configure" |
2318 #include "confdefs.h" | 2321 #include "confdefs.h" |
2319 #include <assert.h> | 2322 #include <assert.h> |
2320 Syntax Error | 2323 Syntax Error |
2321 EOF | 2324 EOF |
2322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2323 { (eval echo configure:2324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2326 { (eval echo configure:2327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2325 if test -z "$ac_err"; then | 2328 if test -z "$ac_err"; then |
2326 : | 2329 : |
2327 else | 2330 else |
2328 echo "$ac_err" >&5 | 2331 echo "$ac_err" >&5 |
2344 echo "$ac_t""$CPP" 1>&6 | 2347 echo "$ac_t""$CPP" 1>&6 |
2345 | 2348 |
2346 | 2349 |
2347 | 2350 |
2348 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2351 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2349 echo "configure:2350: checking for AIX" >&5 | 2352 echo "configure:2353: checking for AIX" >&5 |
2350 cat > conftest.$ac_ext <<EOF | 2353 cat > conftest.$ac_ext <<EOF |
2351 #line 2352 "configure" | 2354 #line 2355 "configure" |
2352 #include "confdefs.h" | 2355 #include "confdefs.h" |
2353 #ifdef _AIX | 2356 #ifdef _AIX |
2354 yes | 2357 yes |
2355 #endif | 2358 #endif |
2356 | 2359 |
2373 rm -f conftest* | 2376 rm -f conftest* |
2374 | 2377 |
2375 | 2378 |
2376 | 2379 |
2377 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2380 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2378 echo "configure:2379: checking for GNU libc" >&5 | 2381 echo "configure:2382: checking for GNU libc" >&5 |
2379 cat > conftest.$ac_ext <<EOF | 2382 cat > conftest.$ac_ext <<EOF |
2380 #line 2381 "configure" | 2383 #line 2384 "configure" |
2381 #include "confdefs.h" | 2384 #include "confdefs.h" |
2382 #include <features.h> | 2385 #include <features.h> |
2383 int main() { | 2386 int main() { |
2384 | 2387 |
2385 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2388 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2387 ******* ======= ******** &&&&&&&& | 2390 ******* ======= ******** &&&&&&&& |
2388 #endif | 2391 #endif |
2389 | 2392 |
2390 ; return 0; } | 2393 ; return 0; } |
2391 EOF | 2394 EOF |
2392 if { (eval echo configure:2393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2395 if { (eval echo configure:2396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2393 rm -rf conftest* | 2396 rm -rf conftest* |
2394 have_glibc=yes | 2397 have_glibc=yes |
2395 else | 2398 else |
2396 echo "configure: failed program was:" >&5 | 2399 echo "configure: failed program was:" >&5 |
2397 cat conftest.$ac_ext >&5 | 2400 cat conftest.$ac_ext >&5 |
2464 | 2467 |
2465 ;; | 2468 ;; |
2466 esac | 2469 esac |
2467 | 2470 |
2468 cat > conftest.$ac_ext <<EOF | 2471 cat > conftest.$ac_ext <<EOF |
2469 #line 2470 "configure" | 2472 #line 2473 "configure" |
2470 #include "confdefs.h" | 2473 #include "confdefs.h" |
2471 int main () { | 2474 int main () { |
2472 #if defined __SUNPRO_C | 2475 #if defined __SUNPRO_C |
2473 return 11; | 2476 return 11; |
2474 #elif defined __DECC | 2477 #elif defined __DECC |
2478 #else | 2481 #else |
2479 return 0; | 2482 return 0; |
2480 #endif | 2483 #endif |
2481 } | 2484 } |
2482 EOF | 2485 EOF |
2483 if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2486 if { (eval echo configure:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2484 then | 2487 then |
2485 : | 2488 : |
2486 else | 2489 else |
2487 conftest_rc="$?" | 2490 conftest_rc="$?" |
2488 echo "configure: failed program was:" >&5 | 2491 echo "configure: failed program was:" >&5 |
2730 | 2733 |
2731 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2734 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2732 | 2735 |
2733 if test "$__USLC__" = yes; then | 2736 if test "$__USLC__" = yes; then |
2734 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2737 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2735 echo "configure:2736: checking for whether the -Kalloca compiler flag is needed" >&5 | 2738 echo "configure:2739: checking for whether the -Kalloca compiler flag is needed" >&5 |
2736 need_kalloca=no | 2739 need_kalloca=no |
2737 cat > conftest.$ac_ext <<EOF | 2740 cat > conftest.$ac_ext <<EOF |
2738 #line 2739 "configure" | 2741 #line 2742 "configure" |
2739 #include "confdefs.h" | 2742 #include "confdefs.h" |
2740 | 2743 |
2741 int main() { | 2744 int main() { |
2742 void *x = alloca(4); | 2745 void *x = alloca(4); |
2743 ; return 0; } | 2746 ; return 0; } |
2744 EOF | 2747 EOF |
2745 if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2748 if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2746 rm -rf conftest* | 2749 rm -rf conftest* |
2747 : | 2750 : |
2748 else | 2751 else |
2749 echo "configure: failed program was:" >&5 | 2752 echo "configure: failed program was:" >&5 |
2750 cat conftest.$ac_ext >&5 | 2753 cat conftest.$ac_ext >&5 |
2751 rm -rf conftest* | 2754 rm -rf conftest* |
2752 | 2755 |
2753 xe_save_c_switch_system="$c_switch_system" | 2756 xe_save_c_switch_system="$c_switch_system" |
2754 c_switch_system="$c_switch_system -Kalloca" | 2757 c_switch_system="$c_switch_system -Kalloca" |
2755 cat > conftest.$ac_ext <<EOF | 2758 cat > conftest.$ac_ext <<EOF |
2756 #line 2757 "configure" | 2759 #line 2760 "configure" |
2757 #include "confdefs.h" | 2760 #include "confdefs.h" |
2758 | 2761 |
2759 int main() { | 2762 int main() { |
2760 void *x = alloca(4); | 2763 void *x = alloca(4); |
2761 ; return 0; } | 2764 ; return 0; } |
2762 EOF | 2765 EOF |
2763 if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2766 if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2764 rm -rf conftest* | 2767 rm -rf conftest* |
2765 need_kalloca=yes | 2768 need_kalloca=yes |
2766 else | 2769 else |
2767 echo "configure: failed program was:" >&5 | 2770 echo "configure: failed program was:" >&5 |
2768 cat conftest.$ac_ext >&5 | 2771 cat conftest.$ac_ext >&5 |
2796 CFLAGS="-O" ; fi | 2799 CFLAGS="-O" ; fi |
2797 fi | 2800 fi |
2798 | 2801 |
2799 if test "$GCC" = "yes"; then | 2802 if test "$GCC" = "yes"; then |
2800 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2803 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2801 echo "configure:2802: checking for buggy gcc versions" >&5 | 2804 echo "configure:2805: checking for buggy gcc versions" >&5 |
2802 GCC_VERSION=`$CC --version` | 2805 GCC_VERSION=`$CC --version` |
2803 case `uname -s`:`uname -m`:$GCC_VERSION in | 2806 case `uname -s`:`uname -m`:$GCC_VERSION in |
2804 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2807 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2805 case "$CFLAGS" in | 2808 case "$CFLAGS" in |
2806 *-O2*|*-O3*) | 2809 *-O2*|*-O3*) |
2919 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2922 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2920 echo " xemacs will be linked with \"dumper.o\"" | 2923 echo " xemacs will be linked with \"dumper.o\"" |
2921 fi | 2924 fi |
2922 | 2925 |
2923 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2926 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2924 echo "configure:2925: checking for dynodump" >&5 | 2927 echo "configure:2928: checking for dynodump" >&5 |
2925 if test "$unexec" != "unexsol2.o"; then | 2928 if test "$unexec" != "unexsol2.o"; then |
2926 echo "$ac_t""no" 1>&6 | 2929 echo "$ac_t""no" 1>&6 |
2927 else | 2930 else |
2928 echo "$ac_t""yes" 1>&6 | 2931 echo "$ac_t""yes" 1>&6 |
2929 { test "$extra_verbose" = "yes" && cat << \EOF | 2932 { test "$extra_verbose" = "yes" && cat << \EOF |
2957 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2960 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2958 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2961 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2959 done | 2962 done |
2960 | 2963 |
2961 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2964 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2962 echo "configure:2963: checking for terminateAndUnload in -lC" >&5 | 2965 echo "configure:2966: checking for terminateAndUnload in -lC" >&5 |
2963 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2966 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2964 | 2967 |
2965 xe_check_libs=" -lC " | 2968 xe_check_libs=" -lC " |
2966 cat > conftest.$ac_ext <<EOF | 2969 cat > conftest.$ac_ext <<EOF |
2967 #line 2968 "configure" | 2970 #line 2971 "configure" |
2968 #include "confdefs.h" | 2971 #include "confdefs.h" |
2969 /* Override any gcc2 internal prototype to avoid an error. */ | 2972 /* Override any gcc2 internal prototype to avoid an error. */ |
2970 /* We use char because int might match the return type of a gcc2 | 2973 /* We use char because int might match the return type of a gcc2 |
2971 builtin and then its argument prototype would still apply. */ | 2974 builtin and then its argument prototype would still apply. */ |
2972 char terminateAndUnload(); | 2975 char terminateAndUnload(); |
2973 | 2976 |
2974 int main() { | 2977 int main() { |
2975 terminateAndUnload() | 2978 terminateAndUnload() |
2976 ; return 0; } | 2979 ; return 0; } |
2977 EOF | 2980 EOF |
2978 if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2981 if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2979 rm -rf conftest* | 2982 rm -rf conftest* |
2980 eval "ac_cv_lib_$ac_lib_var=yes" | 2983 eval "ac_cv_lib_$ac_lib_var=yes" |
2981 else | 2984 else |
2982 echo "configure: failed program was:" >&5 | 2985 echo "configure: failed program was:" >&5 |
2983 cat conftest.$ac_ext >&5 | 2986 cat conftest.$ac_ext >&5 |
3081 esac | 3084 esac |
3082 fi | 3085 fi |
3083 | 3086 |
3084 if test "$add_runtime_path" = "yes"; then | 3087 if test "$add_runtime_path" = "yes"; then |
3085 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3088 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3086 echo "configure:3087: checking "for runtime libraries flag"" >&5 | 3089 echo "configure:3090: checking "for runtime libraries flag"" >&5 |
3087 case "$opsys" in | 3090 case "$opsys" in |
3088 sol2 ) dash_r="-R" ;; | 3091 sol2 ) dash_r="-R" ;; |
3089 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3092 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3090 *) | 3093 *) |
3091 dash_r="" | 3094 dash_r="" |
3103 esac | 3106 esac |
3104 shift | 3107 shift |
3105 done | 3108 done |
3106 fi | 3109 fi |
3107 cat > conftest.$ac_ext <<EOF | 3110 cat > conftest.$ac_ext <<EOF |
3108 #line 3109 "configure" | 3111 #line 3112 "configure" |
3109 #include "confdefs.h" | 3112 #include "confdefs.h" |
3110 | 3113 |
3111 int main() { | 3114 int main() { |
3112 | 3115 |
3113 ; return 0; } | 3116 ; return 0; } |
3114 EOF | 3117 EOF |
3115 if { (eval echo configure:3116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3118 if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3116 rm -rf conftest* | 3119 rm -rf conftest* |
3117 dash_r="$try_dash_r" | 3120 dash_r="$try_dash_r" |
3118 else | 3121 else |
3119 echo "configure: failed program was:" >&5 | 3122 echo "configure: failed program was:" >&5 |
3120 cat conftest.$ac_ext >&5 | 3123 cat conftest.$ac_ext >&5 |
3211 else | 3214 else |
3212 doug_lea_malloc=no | 3215 doug_lea_malloc=no |
3213 fi | 3216 fi |
3214 after_morecore_hook_exists=yes | 3217 after_morecore_hook_exists=yes |
3215 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3218 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3216 echo "configure:3217: checking for malloc_set_state" >&5 | 3219 echo "configure:3220: checking for malloc_set_state" >&5 |
3217 | 3220 |
3218 cat > conftest.$ac_ext <<EOF | 3221 cat > conftest.$ac_ext <<EOF |
3219 #line 3220 "configure" | 3222 #line 3223 "configure" |
3220 #include "confdefs.h" | 3223 #include "confdefs.h" |
3221 /* System header to define __stub macros and hopefully few prototypes, | 3224 /* System header to define __stub macros and hopefully few prototypes, |
3222 which can conflict with char malloc_set_state(); below. */ | 3225 which can conflict with char malloc_set_state(); below. */ |
3223 #include <assert.h> | 3226 #include <assert.h> |
3224 /* Override any gcc2 internal prototype to avoid an error. */ | 3227 /* Override any gcc2 internal prototype to avoid an error. */ |
3237 malloc_set_state(); | 3240 malloc_set_state(); |
3238 #endif | 3241 #endif |
3239 | 3242 |
3240 ; return 0; } | 3243 ; return 0; } |
3241 EOF | 3244 EOF |
3242 if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3245 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3243 rm -rf conftest* | 3246 rm -rf conftest* |
3244 eval "ac_cv_func_malloc_set_state=yes" | 3247 eval "ac_cv_func_malloc_set_state=yes" |
3245 else | 3248 else |
3246 echo "configure: failed program was:" >&5 | 3249 echo "configure: failed program was:" >&5 |
3247 cat conftest.$ac_ext >&5 | 3250 cat conftest.$ac_ext >&5 |
3257 echo "$ac_t""no" 1>&6 | 3260 echo "$ac_t""no" 1>&6 |
3258 doug_lea_malloc=no | 3261 doug_lea_malloc=no |
3259 fi | 3262 fi |
3260 | 3263 |
3261 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3264 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3262 echo "configure:3263: checking whether __after_morecore_hook exists" >&5 | 3265 echo "configure:3266: checking whether __after_morecore_hook exists" >&5 |
3263 cat > conftest.$ac_ext <<EOF | 3266 cat > conftest.$ac_ext <<EOF |
3264 #line 3265 "configure" | 3267 #line 3268 "configure" |
3265 #include "confdefs.h" | 3268 #include "confdefs.h" |
3266 extern void (* __after_morecore_hook)(); | 3269 extern void (* __after_morecore_hook)(); |
3267 int main() { | 3270 int main() { |
3268 __after_morecore_hook = 0 | 3271 __after_morecore_hook = 0 |
3269 ; return 0; } | 3272 ; return 0; } |
3270 EOF | 3273 EOF |
3271 if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3274 if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3272 rm -rf conftest* | 3275 rm -rf conftest* |
3273 echo "$ac_t""yes" 1>&6 | 3276 echo "$ac_t""yes" 1>&6 |
3274 else | 3277 else |
3275 echo "configure: failed program was:" >&5 | 3278 echo "configure: failed program was:" >&5 |
3276 cat conftest.$ac_ext >&5 | 3279 cat conftest.$ac_ext >&5 |
3322 | 3325 |
3323 | 3326 |
3324 # Extract the first word of "ranlib", so it can be a program name with args. | 3327 # Extract the first word of "ranlib", so it can be a program name with args. |
3325 set dummy ranlib; ac_word=$2 | 3328 set dummy ranlib; ac_word=$2 |
3326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3327 echo "configure:3328: checking for $ac_word" >&5 | 3330 echo "configure:3331: checking for $ac_word" >&5 |
3328 | 3331 |
3329 if test -n "$RANLIB"; then | 3332 if test -n "$RANLIB"; then |
3330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3333 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3331 else | 3334 else |
3332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3335 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3377 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3380 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3378 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3381 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3379 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3382 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3380 # ./install, which can be erroneously created by make from ./install.sh. | 3383 # ./install, which can be erroneously created by make from ./install.sh. |
3381 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3384 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3382 echo "configure:3383: checking for a BSD compatible install" >&5 | 3385 echo "configure:3386: checking for a BSD compatible install" >&5 |
3383 if test -z "$INSTALL"; then | 3386 if test -z "$INSTALL"; then |
3384 | 3387 |
3385 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3388 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3386 for ac_dir in $PATH; do | 3389 for ac_dir in $PATH; do |
3387 # Account for people who put trailing slashes in PATH elements. | 3390 # Account for people who put trailing slashes in PATH elements. |
3431 for ac_prog in 'bison -y' byacc | 3434 for ac_prog in 'bison -y' byacc |
3432 do | 3435 do |
3433 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3436 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3434 set dummy $ac_prog; ac_word=$2 | 3437 set dummy $ac_prog; ac_word=$2 |
3435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3438 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3436 echo "configure:3437: checking for $ac_word" >&5 | 3439 echo "configure:3440: checking for $ac_word" >&5 |
3437 | 3440 |
3438 if test -n "$YACC"; then | 3441 if test -n "$YACC"; then |
3439 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3442 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3440 else | 3443 else |
3441 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3444 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3463 | 3466 |
3464 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h | 3467 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
3465 do | 3468 do |
3466 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3469 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3467 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3468 echo "configure:3469: checking for $ac_hdr" >&5 | 3471 echo "configure:3472: checking for $ac_hdr" >&5 |
3469 | 3472 |
3470 cat > conftest.$ac_ext <<EOF | 3473 cat > conftest.$ac_ext <<EOF |
3471 #line 3472 "configure" | 3474 #line 3475 "configure" |
3472 #include "confdefs.h" | 3475 #include "confdefs.h" |
3473 #include <$ac_hdr> | 3476 #include <$ac_hdr> |
3474 EOF | 3477 EOF |
3475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3476 { (eval echo configure:3477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3479 { (eval echo configure:3480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3478 if test -z "$ac_err"; then | 3481 if test -z "$ac_err"; then |
3479 rm -rf conftest* | 3482 rm -rf conftest* |
3480 eval "ac_cv_header_$ac_safe=yes" | 3483 eval "ac_cv_header_$ac_safe=yes" |
3481 else | 3484 else |
3501 echo "$ac_t""no" 1>&6 | 3504 echo "$ac_t""no" 1>&6 |
3502 fi | 3505 fi |
3503 done | 3506 done |
3504 | 3507 |
3505 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3508 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3506 echo "configure:3507: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3509 echo "configure:3510: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3507 | 3510 |
3508 cat > conftest.$ac_ext <<EOF | 3511 cat > conftest.$ac_ext <<EOF |
3509 #line 3510 "configure" | 3512 #line 3513 "configure" |
3510 #include "confdefs.h" | 3513 #include "confdefs.h" |
3511 #include <sys/types.h> | 3514 #include <sys/types.h> |
3512 #include <sys/wait.h> | 3515 #include <sys/wait.h> |
3513 #ifndef WEXITSTATUS | 3516 #ifndef WEXITSTATUS |
3514 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3517 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3520 int s; | 3523 int s; |
3521 wait (&s); | 3524 wait (&s); |
3522 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3525 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3523 ; return 0; } | 3526 ; return 0; } |
3524 EOF | 3527 EOF |
3525 if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3528 if { (eval echo configure:3529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3526 rm -rf conftest* | 3529 rm -rf conftest* |
3527 ac_cv_header_sys_wait_h=yes | 3530 ac_cv_header_sys_wait_h=yes |
3528 else | 3531 else |
3529 echo "configure: failed program was:" >&5 | 3532 echo "configure: failed program was:" >&5 |
3530 cat conftest.$ac_ext >&5 | 3533 cat conftest.$ac_ext >&5 |
3544 } | 3547 } |
3545 | 3548 |
3546 fi | 3549 fi |
3547 | 3550 |
3548 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3551 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3549 echo "configure:3550: checking for ANSI C header files" >&5 | 3552 echo "configure:3553: checking for ANSI C header files" >&5 |
3550 | 3553 |
3551 cat > conftest.$ac_ext <<EOF | 3554 cat > conftest.$ac_ext <<EOF |
3552 #line 3553 "configure" | 3555 #line 3556 "configure" |
3553 #include "confdefs.h" | 3556 #include "confdefs.h" |
3554 #include <stdlib.h> | 3557 #include <stdlib.h> |
3555 #include <stdarg.h> | 3558 #include <stdarg.h> |
3556 #include <string.h> | 3559 #include <string.h> |
3557 #include <float.h> | 3560 #include <float.h> |
3558 EOF | 3561 EOF |
3559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3560 { (eval echo configure:3561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3563 { (eval echo configure:3564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3562 if test -z "$ac_err"; then | 3565 if test -z "$ac_err"; then |
3563 rm -rf conftest* | 3566 rm -rf conftest* |
3564 ac_cv_header_stdc=yes | 3567 ac_cv_header_stdc=yes |
3565 else | 3568 else |
3572 rm -f conftest* | 3575 rm -f conftest* |
3573 | 3576 |
3574 if test $ac_cv_header_stdc = yes; then | 3577 if test $ac_cv_header_stdc = yes; then |
3575 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3578 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3576 cat > conftest.$ac_ext <<EOF | 3579 cat > conftest.$ac_ext <<EOF |
3577 #line 3578 "configure" | 3580 #line 3581 "configure" |
3578 #include "confdefs.h" | 3581 #include "confdefs.h" |
3579 #include <string.h> | 3582 #include <string.h> |
3580 EOF | 3583 EOF |
3581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3582 egrep "memchr" >/dev/null 2>&1; then | 3585 egrep "memchr" >/dev/null 2>&1; then |
3590 fi | 3593 fi |
3591 | 3594 |
3592 if test $ac_cv_header_stdc = yes; then | 3595 if test $ac_cv_header_stdc = yes; then |
3593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3596 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3594 cat > conftest.$ac_ext <<EOF | 3597 cat > conftest.$ac_ext <<EOF |
3595 #line 3596 "configure" | 3598 #line 3599 "configure" |
3596 #include "confdefs.h" | 3599 #include "confdefs.h" |
3597 #include <stdlib.h> | 3600 #include <stdlib.h> |
3598 EOF | 3601 EOF |
3599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3600 egrep "free" >/dev/null 2>&1; then | 3603 egrep "free" >/dev/null 2>&1; then |
3608 fi | 3611 fi |
3609 | 3612 |
3610 if test $ac_cv_header_stdc = yes; then | 3613 if test $ac_cv_header_stdc = yes; then |
3611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3614 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3612 cat > conftest.$ac_ext <<EOF | 3615 cat > conftest.$ac_ext <<EOF |
3613 #line 3614 "configure" | 3616 #line 3617 "configure" |
3614 #include "confdefs.h" | 3617 #include "confdefs.h" |
3615 #include <ctype.h> | 3618 #include <ctype.h> |
3616 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3619 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3617 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3620 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3619 int main () { int i; for (i = 0; i < 256; i++) | 3622 int main () { int i; for (i = 0; i < 256; i++) |
3620 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3623 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3621 exit (0); } | 3624 exit (0); } |
3622 | 3625 |
3623 EOF | 3626 EOF |
3624 if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3627 if { (eval echo configure:3628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3625 then | 3628 then |
3626 : | 3629 : |
3627 else | 3630 else |
3628 conftest_rc="$?" | 3631 conftest_rc="$?" |
3629 echo "configure: failed program was:" >&5 | 3632 echo "configure: failed program was:" >&5 |
3645 } | 3648 } |
3646 | 3649 |
3647 fi | 3650 fi |
3648 | 3651 |
3649 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3652 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3650 echo "configure:3651: checking whether time.h and sys/time.h may both be included" >&5 | 3653 echo "configure:3654: checking whether time.h and sys/time.h may both be included" >&5 |
3651 | 3654 |
3652 cat > conftest.$ac_ext <<EOF | 3655 cat > conftest.$ac_ext <<EOF |
3653 #line 3654 "configure" | 3656 #line 3657 "configure" |
3654 #include "confdefs.h" | 3657 #include "confdefs.h" |
3655 #include <sys/types.h> | 3658 #include <sys/types.h> |
3656 #include <sys/time.h> | 3659 #include <sys/time.h> |
3657 #include <time.h> | 3660 #include <time.h> |
3658 int main() { | 3661 int main() { |
3659 struct tm *tp; | 3662 struct tm *tp; |
3660 ; return 0; } | 3663 ; return 0; } |
3661 EOF | 3664 EOF |
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3665 if { (eval echo configure:3666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3663 rm -rf conftest* | 3666 rm -rf conftest* |
3664 ac_cv_header_time=yes | 3667 ac_cv_header_time=yes |
3665 else | 3668 else |
3666 echo "configure: failed program was:" >&5 | 3669 echo "configure: failed program was:" >&5 |
3667 cat conftest.$ac_ext >&5 | 3670 cat conftest.$ac_ext >&5 |
3681 } | 3684 } |
3682 | 3685 |
3683 fi | 3686 fi |
3684 | 3687 |
3685 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3688 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3686 echo "configure:3687: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3689 echo "configure:3690: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3687 | 3690 |
3688 cat > conftest.$ac_ext <<EOF | 3691 cat > conftest.$ac_ext <<EOF |
3689 #line 3690 "configure" | 3692 #line 3693 "configure" |
3690 #include "confdefs.h" | 3693 #include "confdefs.h" |
3691 #include <sys/types.h> | 3694 #include <sys/types.h> |
3692 #include <signal.h> | 3695 #include <signal.h> |
3693 /* NetBSD declares sys_siglist in unistd.h. */ | 3696 /* NetBSD declares sys_siglist in unistd.h. */ |
3694 #ifdef HAVE_UNISTD_H | 3697 #ifdef HAVE_UNISTD_H |
3696 #endif | 3699 #endif |
3697 int main() { | 3700 int main() { |
3698 char *msg = *(sys_siglist + 1); | 3701 char *msg = *(sys_siglist + 1); |
3699 ; return 0; } | 3702 ; return 0; } |
3700 EOF | 3703 EOF |
3701 if { (eval echo configure:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3704 if { (eval echo configure:3705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3702 rm -rf conftest* | 3705 rm -rf conftest* |
3703 ac_cv_decl_sys_siglist=yes | 3706 ac_cv_decl_sys_siglist=yes |
3704 else | 3707 else |
3705 echo "configure: failed program was:" >&5 | 3708 echo "configure: failed program was:" >&5 |
3706 cat conftest.$ac_ext >&5 | 3709 cat conftest.$ac_ext >&5 |
3722 fi | 3725 fi |
3723 | 3726 |
3724 | 3727 |
3725 | 3728 |
3726 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3729 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3727 echo "configure:3728: checking for utime" >&5 | 3730 echo "configure:3731: checking for utime" >&5 |
3728 cat > conftest.$ac_ext <<EOF | 3731 cat > conftest.$ac_ext <<EOF |
3729 #line 3730 "configure" | 3732 #line 3733 "configure" |
3730 #include "confdefs.h" | 3733 #include "confdefs.h" |
3731 #include <sys/types.h> | 3734 #include <sys/types.h> |
3732 #include <utime.h> | 3735 #include <utime.h> |
3733 int main() { | 3736 int main() { |
3734 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3737 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3735 ; return 0; } | 3738 ; return 0; } |
3736 EOF | 3739 EOF |
3737 if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3740 if { (eval echo configure:3741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3738 rm -rf conftest* | 3741 rm -rf conftest* |
3739 echo "$ac_t""yes" 1>&6 | 3742 echo "$ac_t""yes" 1>&6 |
3740 { test "$extra_verbose" = "yes" && cat << \EOF | 3743 { test "$extra_verbose" = "yes" && cat << \EOF |
3741 Defining HAVE_UTIME | 3744 Defining HAVE_UTIME |
3742 EOF | 3745 EOF |
3751 rm -rf conftest* | 3754 rm -rf conftest* |
3752 echo "$ac_t""no" 1>&6 | 3755 echo "$ac_t""no" 1>&6 |
3753 for ac_func in utimes | 3756 for ac_func in utimes |
3754 do | 3757 do |
3755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3756 echo "configure:3757: checking for $ac_func" >&5 | 3759 echo "configure:3760: checking for $ac_func" >&5 |
3757 | 3760 |
3758 cat > conftest.$ac_ext <<EOF | 3761 cat > conftest.$ac_ext <<EOF |
3759 #line 3760 "configure" | 3762 #line 3763 "configure" |
3760 #include "confdefs.h" | 3763 #include "confdefs.h" |
3761 /* System header to define __stub macros and hopefully few prototypes, | 3764 /* System header to define __stub macros and hopefully few prototypes, |
3762 which can conflict with char $ac_func(); below. */ | 3765 which can conflict with char $ac_func(); below. */ |
3763 #include <assert.h> | 3766 #include <assert.h> |
3764 /* Override any gcc2 internal prototype to avoid an error. */ | 3767 /* Override any gcc2 internal prototype to avoid an error. */ |
3777 $ac_func(); | 3780 $ac_func(); |
3778 #endif | 3781 #endif |
3779 | 3782 |
3780 ; return 0; } | 3783 ; return 0; } |
3781 EOF | 3784 EOF |
3782 if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3785 if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3783 rm -rf conftest* | 3786 rm -rf conftest* |
3784 eval "ac_cv_func_$ac_func=yes" | 3787 eval "ac_cv_func_$ac_func=yes" |
3785 else | 3788 else |
3786 echo "configure: failed program was:" >&5 | 3789 echo "configure: failed program was:" >&5 |
3787 cat conftest.$ac_ext >&5 | 3790 cat conftest.$ac_ext >&5 |
3809 fi | 3812 fi |
3810 rm -f conftest* | 3813 rm -f conftest* |
3811 | 3814 |
3812 | 3815 |
3813 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3816 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3814 echo "configure:3815: checking return type of signal handlers" >&5 | 3817 echo "configure:3818: checking return type of signal handlers" >&5 |
3815 | 3818 |
3816 cat > conftest.$ac_ext <<EOF | 3819 cat > conftest.$ac_ext <<EOF |
3817 #line 3818 "configure" | 3820 #line 3821 "configure" |
3818 #include "confdefs.h" | 3821 #include "confdefs.h" |
3819 #include <sys/types.h> | 3822 #include <sys/types.h> |
3820 #include <signal.h> | 3823 #include <signal.h> |
3821 #ifdef signal | 3824 #ifdef signal |
3822 #undef signal | 3825 #undef signal |
3829 | 3832 |
3830 int main() { | 3833 int main() { |
3831 int i; | 3834 int i; |
3832 ; return 0; } | 3835 ; return 0; } |
3833 EOF | 3836 EOF |
3834 if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3837 if { (eval echo configure:3838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3835 rm -rf conftest* | 3838 rm -rf conftest* |
3836 ac_cv_type_signal=void | 3839 ac_cv_type_signal=void |
3837 else | 3840 else |
3838 echo "configure: failed program was:" >&5 | 3841 echo "configure: failed program was:" >&5 |
3839 cat conftest.$ac_ext >&5 | 3842 cat conftest.$ac_ext >&5 |
3851 EOF | 3854 EOF |
3852 } | 3855 } |
3853 | 3856 |
3854 | 3857 |
3855 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3858 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3856 echo "configure:3857: checking for size_t" >&5 | 3859 echo "configure:3860: checking for size_t" >&5 |
3857 | 3860 |
3858 cat > conftest.$ac_ext <<EOF | 3861 cat > conftest.$ac_ext <<EOF |
3859 #line 3860 "configure" | 3862 #line 3863 "configure" |
3860 #include "confdefs.h" | 3863 #include "confdefs.h" |
3861 #include <sys/types.h> | 3864 #include <sys/types.h> |
3862 #if STDC_HEADERS | 3865 #if STDC_HEADERS |
3863 #include <stdlib.h> | 3866 #include <stdlib.h> |
3864 #include <stddef.h> | 3867 #include <stddef.h> |
3885 } | 3888 } |
3886 | 3889 |
3887 fi | 3890 fi |
3888 | 3891 |
3889 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3892 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3890 echo "configure:3891: checking for pid_t" >&5 | 3893 echo "configure:3894: checking for pid_t" >&5 |
3891 | 3894 |
3892 cat > conftest.$ac_ext <<EOF | 3895 cat > conftest.$ac_ext <<EOF |
3893 #line 3894 "configure" | 3896 #line 3897 "configure" |
3894 #include "confdefs.h" | 3897 #include "confdefs.h" |
3895 #include <sys/types.h> | 3898 #include <sys/types.h> |
3896 #if STDC_HEADERS | 3899 #if STDC_HEADERS |
3897 #include <stdlib.h> | 3900 #include <stdlib.h> |
3898 #include <stddef.h> | 3901 #include <stddef.h> |
3919 } | 3922 } |
3920 | 3923 |
3921 fi | 3924 fi |
3922 | 3925 |
3923 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3926 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3924 echo "configure:3925: checking for uid_t in sys/types.h" >&5 | 3927 echo "configure:3928: checking for uid_t in sys/types.h" >&5 |
3925 | 3928 |
3926 cat > conftest.$ac_ext <<EOF | 3929 cat > conftest.$ac_ext <<EOF |
3927 #line 3928 "configure" | 3930 #line 3931 "configure" |
3928 #include "confdefs.h" | 3931 #include "confdefs.h" |
3929 #include <sys/types.h> | 3932 #include <sys/types.h> |
3930 EOF | 3933 EOF |
3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3932 egrep "uid_t" >/dev/null 2>&1; then | 3935 egrep "uid_t" >/dev/null 2>&1; then |
3958 } | 3961 } |
3959 | 3962 |
3960 fi | 3963 fi |
3961 | 3964 |
3962 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3965 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3963 echo "configure:3964: checking for mode_t" >&5 | 3966 echo "configure:3967: checking for mode_t" >&5 |
3964 | 3967 |
3965 cat > conftest.$ac_ext <<EOF | 3968 cat > conftest.$ac_ext <<EOF |
3966 #line 3967 "configure" | 3969 #line 3970 "configure" |
3967 #include "confdefs.h" | 3970 #include "confdefs.h" |
3968 #include <sys/types.h> | 3971 #include <sys/types.h> |
3969 #if STDC_HEADERS | 3972 #if STDC_HEADERS |
3970 #include <stdlib.h> | 3973 #include <stdlib.h> |
3971 #include <stddef.h> | 3974 #include <stddef.h> |
3992 } | 3995 } |
3993 | 3996 |
3994 fi | 3997 fi |
3995 | 3998 |
3996 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3999 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3997 echo "configure:3998: checking for off_t" >&5 | 4000 echo "configure:4001: checking for off_t" >&5 |
3998 | 4001 |
3999 cat > conftest.$ac_ext <<EOF | 4002 cat > conftest.$ac_ext <<EOF |
4000 #line 4001 "configure" | 4003 #line 4004 "configure" |
4001 #include "confdefs.h" | 4004 #include "confdefs.h" |
4002 #include <sys/types.h> | 4005 #include <sys/types.h> |
4003 #if STDC_HEADERS | 4006 #if STDC_HEADERS |
4004 #include <stdlib.h> | 4007 #include <stdlib.h> |
4005 #include <stddef.h> | 4008 #include <stddef.h> |
4026 } | 4029 } |
4027 | 4030 |
4028 fi | 4031 fi |
4029 | 4032 |
4030 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4033 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4031 echo "configure:4032: checking for ssize_t" >&5 | 4034 echo "configure:4035: checking for ssize_t" >&5 |
4032 | 4035 |
4033 cat > conftest.$ac_ext <<EOF | 4036 cat > conftest.$ac_ext <<EOF |
4034 #line 4035 "configure" | 4037 #line 4038 "configure" |
4035 #include "confdefs.h" | 4038 #include "confdefs.h" |
4036 #include <sys/types.h> | 4039 #include <sys/types.h> |
4037 #if STDC_HEADERS | 4040 #if STDC_HEADERS |
4038 #include <stdlib.h> | 4041 #include <stdlib.h> |
4039 #include <stddef.h> | 4042 #include <stddef.h> |
4061 | 4064 |
4062 fi | 4065 fi |
4063 | 4066 |
4064 | 4067 |
4065 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4068 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4066 echo "configure:4067: checking for socklen_t" >&5 | 4069 echo "configure:4070: checking for socklen_t" >&5 |
4067 cat > conftest.$ac_ext <<EOF | 4070 cat > conftest.$ac_ext <<EOF |
4068 #line 4069 "configure" | 4071 #line 4072 "configure" |
4069 #include "confdefs.h" | 4072 #include "confdefs.h" |
4070 #include <sys/socket.h> | 4073 #include <sys/socket.h> |
4071 socklen_t x; | 4074 socklen_t x; |
4072 | 4075 |
4073 int main() { | 4076 int main() { |
4074 | 4077 |
4075 ; return 0; } | 4078 ; return 0; } |
4076 EOF | 4079 EOF |
4077 if { (eval echo configure:4078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4080 if { (eval echo configure:4081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4078 rm -rf conftest* | 4081 rm -rf conftest* |
4079 echo "$ac_t""yes" 1>&6 | 4082 echo "$ac_t""yes" 1>&6 |
4080 else | 4083 else |
4081 echo "configure: failed program was:" >&5 | 4084 echo "configure: failed program was:" >&5 |
4082 cat conftest.$ac_ext >&5 | 4085 cat conftest.$ac_ext >&5 |
4083 rm -rf conftest* | 4086 rm -rf conftest* |
4084 | 4087 |
4085 cat > conftest.$ac_ext <<EOF | 4088 cat > conftest.$ac_ext <<EOF |
4086 #line 4087 "configure" | 4089 #line 4090 "configure" |
4087 #include "confdefs.h" | 4090 #include "confdefs.h" |
4088 #include <sys/socket.h> | 4091 #include <sys/socket.h> |
4089 int accept (int, struct sockaddr *, size_t *); | 4092 int accept (int, struct sockaddr *, size_t *); |
4090 | 4093 |
4091 int main() { | 4094 int main() { |
4092 | 4095 |
4093 ; return 0; } | 4096 ; return 0; } |
4094 EOF | 4097 EOF |
4095 if { (eval echo configure:4096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4098 if { (eval echo configure:4099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4096 rm -rf conftest* | 4099 rm -rf conftest* |
4097 | 4100 |
4098 echo "$ac_t""size_t" 1>&6 | 4101 echo "$ac_t""size_t" 1>&6 |
4099 { test "$extra_verbose" = "yes" && cat << \EOF | 4102 { test "$extra_verbose" = "yes" && cat << \EOF |
4100 Defining socklen_t = size_t | 4103 Defining socklen_t = size_t |
4122 rm -f conftest* | 4125 rm -f conftest* |
4123 fi | 4126 fi |
4124 rm -f conftest* | 4127 rm -f conftest* |
4125 | 4128 |
4126 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4129 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4127 echo "configure:4128: checking for struct timeval" >&5 | 4130 echo "configure:4131: checking for struct timeval" >&5 |
4128 cat > conftest.$ac_ext <<EOF | 4131 cat > conftest.$ac_ext <<EOF |
4129 #line 4130 "configure" | 4132 #line 4133 "configure" |
4130 #include "confdefs.h" | 4133 #include "confdefs.h" |
4131 #ifdef TIME_WITH_SYS_TIME | 4134 #ifdef TIME_WITH_SYS_TIME |
4132 #include <sys/time.h> | 4135 #include <sys/time.h> |
4133 #include <time.h> | 4136 #include <time.h> |
4134 #else | 4137 #else |
4140 #endif | 4143 #endif |
4141 int main() { | 4144 int main() { |
4142 static struct timeval x; x.tv_sec = x.tv_usec; | 4145 static struct timeval x; x.tv_sec = x.tv_usec; |
4143 ; return 0; } | 4146 ; return 0; } |
4144 EOF | 4147 EOF |
4145 if { (eval echo configure:4146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4148 if { (eval echo configure:4149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4146 rm -rf conftest* | 4149 rm -rf conftest* |
4147 echo "$ac_t""yes" 1>&6 | 4150 echo "$ac_t""yes" 1>&6 |
4148 HAVE_TIMEVAL=yes | 4151 HAVE_TIMEVAL=yes |
4149 { test "$extra_verbose" = "yes" && cat << \EOF | 4152 { test "$extra_verbose" = "yes" && cat << \EOF |
4150 Defining HAVE_TIMEVAL | 4153 Defining HAVE_TIMEVAL |
4162 HAVE_TIMEVAL=no | 4165 HAVE_TIMEVAL=no |
4163 fi | 4166 fi |
4164 rm -f conftest* | 4167 rm -f conftest* |
4165 | 4168 |
4166 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4169 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4167 echo "configure:4168: checking whether struct tm is in sys/time.h or time.h" >&5 | 4170 echo "configure:4171: checking whether struct tm is in sys/time.h or time.h" >&5 |
4168 | 4171 |
4169 cat > conftest.$ac_ext <<EOF | 4172 cat > conftest.$ac_ext <<EOF |
4170 #line 4171 "configure" | 4173 #line 4174 "configure" |
4171 #include "confdefs.h" | 4174 #include "confdefs.h" |
4172 #include <sys/types.h> | 4175 #include <sys/types.h> |
4173 #include <time.h> | 4176 #include <time.h> |
4174 int main() { | 4177 int main() { |
4175 struct tm *tp; tp->tm_sec; | 4178 struct tm *tp; tp->tm_sec; |
4176 ; return 0; } | 4179 ; return 0; } |
4177 EOF | 4180 EOF |
4178 if { (eval echo configure:4179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4181 if { (eval echo configure:4182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4179 rm -rf conftest* | 4182 rm -rf conftest* |
4180 ac_cv_struct_tm=time.h | 4183 ac_cv_struct_tm=time.h |
4181 else | 4184 else |
4182 echo "configure: failed program was:" >&5 | 4185 echo "configure: failed program was:" >&5 |
4183 cat conftest.$ac_ext >&5 | 4186 cat conftest.$ac_ext >&5 |
4197 } | 4200 } |
4198 | 4201 |
4199 fi | 4202 fi |
4200 | 4203 |
4201 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4204 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4202 echo "configure:4203: checking for tm_zone in struct tm" >&5 | 4205 echo "configure:4206: checking for tm_zone in struct tm" >&5 |
4203 | 4206 |
4204 cat > conftest.$ac_ext <<EOF | 4207 cat > conftest.$ac_ext <<EOF |
4205 #line 4206 "configure" | 4208 #line 4209 "configure" |
4206 #include "confdefs.h" | 4209 #include "confdefs.h" |
4207 #include <sys/types.h> | 4210 #include <sys/types.h> |
4208 #include <$ac_cv_struct_tm> | 4211 #include <$ac_cv_struct_tm> |
4209 int main() { | 4212 int main() { |
4210 struct tm tm; tm.tm_zone; | 4213 struct tm tm; tm.tm_zone; |
4211 ; return 0; } | 4214 ; return 0; } |
4212 EOF | 4215 EOF |
4213 if { (eval echo configure:4214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4216 if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4214 rm -rf conftest* | 4217 rm -rf conftest* |
4215 ac_cv_struct_tm_zone=yes | 4218 ac_cv_struct_tm_zone=yes |
4216 else | 4219 else |
4217 echo "configure: failed program was:" >&5 | 4220 echo "configure: failed program was:" >&5 |
4218 cat conftest.$ac_ext >&5 | 4221 cat conftest.$ac_ext >&5 |
4231 EOF | 4234 EOF |
4232 } | 4235 } |
4233 | 4236 |
4234 else | 4237 else |
4235 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4238 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4236 echo "configure:4237: checking for tzname" >&5 | 4239 echo "configure:4240: checking for tzname" >&5 |
4237 | 4240 |
4238 cat > conftest.$ac_ext <<EOF | 4241 cat > conftest.$ac_ext <<EOF |
4239 #line 4240 "configure" | 4242 #line 4243 "configure" |
4240 #include "confdefs.h" | 4243 #include "confdefs.h" |
4241 #include <time.h> | 4244 #include <time.h> |
4242 #ifndef tzname /* For SGI. */ | 4245 #ifndef tzname /* For SGI. */ |
4243 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4246 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4244 #endif | 4247 #endif |
4245 int main() { | 4248 int main() { |
4246 atoi(*tzname); | 4249 atoi(*tzname); |
4247 ; return 0; } | 4250 ; return 0; } |
4248 EOF | 4251 EOF |
4249 if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4252 if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4250 rm -rf conftest* | 4253 rm -rf conftest* |
4251 ac_cv_var_tzname=yes | 4254 ac_cv_var_tzname=yes |
4252 else | 4255 else |
4253 echo "configure: failed program was:" >&5 | 4256 echo "configure: failed program was:" >&5 |
4254 cat conftest.$ac_ext >&5 | 4257 cat conftest.$ac_ext >&5 |
4270 fi | 4273 fi |
4271 fi | 4274 fi |
4272 | 4275 |
4273 | 4276 |
4274 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4277 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4275 echo "configure:4276: checking for working const" >&5 | 4278 echo "configure:4279: checking for working const" >&5 |
4276 | 4279 |
4277 cat > conftest.$ac_ext <<EOF | 4280 cat > conftest.$ac_ext <<EOF |
4278 #line 4279 "configure" | 4281 #line 4282 "configure" |
4279 #include "confdefs.h" | 4282 #include "confdefs.h" |
4280 | 4283 |
4281 int main() { | 4284 int main() { |
4282 | 4285 |
4283 /* Ultrix mips cc rejects this. */ | 4286 /* Ultrix mips cc rejects this. */ |
4322 const int foo = 10; | 4325 const int foo = 10; |
4323 } | 4326 } |
4324 | 4327 |
4325 ; return 0; } | 4328 ; return 0; } |
4326 EOF | 4329 EOF |
4327 if { (eval echo configure:4328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4330 if { (eval echo configure:4331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4328 rm -rf conftest* | 4331 rm -rf conftest* |
4329 ac_cv_c_const=yes | 4332 ac_cv_c_const=yes |
4330 else | 4333 else |
4331 echo "configure: failed program was:" >&5 | 4334 echo "configure: failed program was:" >&5 |
4332 cat conftest.$ac_ext >&5 | 4335 cat conftest.$ac_ext >&5 |
4347 | 4350 |
4348 fi | 4351 fi |
4349 | 4352 |
4350 | 4353 |
4351 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4354 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4352 echo "configure:4353: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4355 echo "configure:4356: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4353 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4356 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4354 | 4357 |
4355 cat > conftestmake <<\EOF | 4358 cat > conftestmake <<\EOF |
4356 all: | 4359 all: |
4357 @echo 'ac_maketemp="${MAKE}"' | 4360 @echo 'ac_maketemp="${MAKE}"' |
4372 SET_MAKE="MAKE=${MAKE-make}" | 4375 SET_MAKE="MAKE=${MAKE-make}" |
4373 fi | 4376 fi |
4374 | 4377 |
4375 | 4378 |
4376 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4379 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4377 echo "configure:4378: checking whether byte ordering is bigendian" >&5 | 4380 echo "configure:4381: checking whether byte ordering is bigendian" >&5 |
4378 | 4381 |
4379 ac_cv_c_bigendian=unknown | 4382 ac_cv_c_bigendian=unknown |
4380 # See if sys/param.h defines the BYTE_ORDER macro. | 4383 # See if sys/param.h defines the BYTE_ORDER macro. |
4381 cat > conftest.$ac_ext <<EOF | 4384 cat > conftest.$ac_ext <<EOF |
4382 #line 4383 "configure" | 4385 #line 4386 "configure" |
4383 #include "confdefs.h" | 4386 #include "confdefs.h" |
4384 #include <sys/types.h> | 4387 #include <sys/types.h> |
4385 #include <sys/param.h> | 4388 #include <sys/param.h> |
4386 int main() { | 4389 int main() { |
4387 | 4390 |
4388 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4391 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4389 bogus endian macros | 4392 bogus endian macros |
4390 #endif | 4393 #endif |
4391 ; return 0; } | 4394 ; return 0; } |
4392 EOF | 4395 EOF |
4393 if { (eval echo configure:4394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4396 if { (eval echo configure:4397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4394 rm -rf conftest* | 4397 rm -rf conftest* |
4395 # It does; now see whether it defined to BIG_ENDIAN or not. | 4398 # It does; now see whether it defined to BIG_ENDIAN or not. |
4396 cat > conftest.$ac_ext <<EOF | 4399 cat > conftest.$ac_ext <<EOF |
4397 #line 4398 "configure" | 4400 #line 4401 "configure" |
4398 #include "confdefs.h" | 4401 #include "confdefs.h" |
4399 #include <sys/types.h> | 4402 #include <sys/types.h> |
4400 #include <sys/param.h> | 4403 #include <sys/param.h> |
4401 int main() { | 4404 int main() { |
4402 | 4405 |
4403 #if BYTE_ORDER != BIG_ENDIAN | 4406 #if BYTE_ORDER != BIG_ENDIAN |
4404 not big endian | 4407 not big endian |
4405 #endif | 4408 #endif |
4406 ; return 0; } | 4409 ; return 0; } |
4407 EOF | 4410 EOF |
4408 if { (eval echo configure:4409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4411 if { (eval echo configure:4412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4409 rm -rf conftest* | 4412 rm -rf conftest* |
4410 ac_cv_c_bigendian=yes | 4413 ac_cv_c_bigendian=yes |
4411 else | 4414 else |
4412 echo "configure: failed program was:" >&5 | 4415 echo "configure: failed program was:" >&5 |
4413 cat conftest.$ac_ext >&5 | 4416 cat conftest.$ac_ext >&5 |
4420 cat conftest.$ac_ext >&5 | 4423 cat conftest.$ac_ext >&5 |
4421 fi | 4424 fi |
4422 rm -f conftest* | 4425 rm -f conftest* |
4423 if test $ac_cv_c_bigendian = unknown; then | 4426 if test $ac_cv_c_bigendian = unknown; then |
4424 cat > conftest.$ac_ext <<EOF | 4427 cat > conftest.$ac_ext <<EOF |
4425 #line 4426 "configure" | 4428 #line 4429 "configure" |
4426 #include "confdefs.h" | 4429 #include "confdefs.h" |
4427 main () { | 4430 main () { |
4428 /* Are we little or big endian? From Harbison&Steele. */ | 4431 /* Are we little or big endian? From Harbison&Steele. */ |
4429 union | 4432 union |
4430 { | 4433 { |
4433 } u; | 4436 } u; |
4434 u.l = 1; | 4437 u.l = 1; |
4435 exit (u.c[sizeof (long) - 1] == 1); | 4438 exit (u.c[sizeof (long) - 1] == 1); |
4436 } | 4439 } |
4437 EOF | 4440 EOF |
4438 if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4441 if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4439 then | 4442 then |
4440 ac_cv_c_bigendian=no | 4443 ac_cv_c_bigendian=no |
4441 else | 4444 else |
4442 conftest_rc="$?" | 4445 conftest_rc="$?" |
4443 echo "configure: failed program was:" >&5 | 4446 echo "configure: failed program was:" >&5 |
4460 | 4463 |
4461 fi | 4464 fi |
4462 | 4465 |
4463 | 4466 |
4464 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4467 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4465 echo "configure:4466: checking size of short" >&5 | 4468 echo "configure:4469: checking size of short" >&5 |
4466 | 4469 |
4467 cat > conftest.$ac_ext <<EOF | 4470 cat > conftest.$ac_ext <<EOF |
4468 #line 4469 "configure" | 4471 #line 4472 "configure" |
4469 #include "confdefs.h" | 4472 #include "confdefs.h" |
4470 #include <stdio.h> | 4473 #include <stdio.h> |
4471 #include <sys/types.h> | 4474 #include <sys/types.h> |
4472 main() | 4475 main() |
4473 { | 4476 { |
4475 if (!f) exit(1); | 4478 if (!f) exit(1); |
4476 fprintf(f, "%d\n", sizeof(short)); | 4479 fprintf(f, "%d\n", sizeof(short)); |
4477 exit(0); | 4480 exit(0); |
4478 } | 4481 } |
4479 EOF | 4482 EOF |
4480 if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4481 then | 4484 then |
4482 ac_cv_sizeof_short=`cat conftestval` | 4485 ac_cv_sizeof_short=`cat conftestval` |
4483 else | 4486 else |
4484 conftest_rc="$?" | 4487 conftest_rc="$?" |
4485 echo "configure: failed program was:" >&5 | 4488 echo "configure: failed program was:" >&5 |
4503 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4506 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4504 echo "*** PANIC *** Please examine config.log for compilation errors." | 4507 echo "*** PANIC *** Please examine config.log for compilation errors." |
4505 exit 1 | 4508 exit 1 |
4506 fi | 4509 fi |
4507 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4510 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4508 echo "configure:4509: checking size of int" >&5 | 4511 echo "configure:4512: checking size of int" >&5 |
4509 | 4512 |
4510 cat > conftest.$ac_ext <<EOF | 4513 cat > conftest.$ac_ext <<EOF |
4511 #line 4512 "configure" | 4514 #line 4515 "configure" |
4512 #include "confdefs.h" | 4515 #include "confdefs.h" |
4513 #include <stdio.h> | 4516 #include <stdio.h> |
4514 #include <sys/types.h> | 4517 #include <sys/types.h> |
4515 main() | 4518 main() |
4516 { | 4519 { |
4518 if (!f) exit(1); | 4521 if (!f) exit(1); |
4519 fprintf(f, "%d\n", sizeof(int)); | 4522 fprintf(f, "%d\n", sizeof(int)); |
4520 exit(0); | 4523 exit(0); |
4521 } | 4524 } |
4522 EOF | 4525 EOF |
4523 if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4524 then | 4527 then |
4525 ac_cv_sizeof_int=`cat conftestval` | 4528 ac_cv_sizeof_int=`cat conftestval` |
4526 else | 4529 else |
4527 conftest_rc="$?" | 4530 conftest_rc="$?" |
4528 echo "configure: failed program was:" >&5 | 4531 echo "configure: failed program was:" >&5 |
4540 EOF | 4543 EOF |
4541 } | 4544 } |
4542 | 4545 |
4543 | 4546 |
4544 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4547 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4545 echo "configure:4546: checking size of long" >&5 | 4548 echo "configure:4549: checking size of long" >&5 |
4546 | 4549 |
4547 cat > conftest.$ac_ext <<EOF | 4550 cat > conftest.$ac_ext <<EOF |
4548 #line 4549 "configure" | 4551 #line 4552 "configure" |
4549 #include "confdefs.h" | 4552 #include "confdefs.h" |
4550 #include <stdio.h> | 4553 #include <stdio.h> |
4551 #include <sys/types.h> | 4554 #include <sys/types.h> |
4552 main() | 4555 main() |
4553 { | 4556 { |
4555 if (!f) exit(1); | 4558 if (!f) exit(1); |
4556 fprintf(f, "%d\n", sizeof(long)); | 4559 fprintf(f, "%d\n", sizeof(long)); |
4557 exit(0); | 4560 exit(0); |
4558 } | 4561 } |
4559 EOF | 4562 EOF |
4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4563 if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4561 then | 4564 then |
4562 ac_cv_sizeof_long=`cat conftestval` | 4565 ac_cv_sizeof_long=`cat conftestval` |
4563 else | 4566 else |
4564 conftest_rc="$?" | 4567 conftest_rc="$?" |
4565 echo "configure: failed program was:" >&5 | 4568 echo "configure: failed program was:" >&5 |
4577 EOF | 4580 EOF |
4578 } | 4581 } |
4579 | 4582 |
4580 | 4583 |
4581 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4584 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4582 echo "configure:4583: checking size of long long" >&5 | 4585 echo "configure:4586: checking size of long long" >&5 |
4583 | 4586 |
4584 cat > conftest.$ac_ext <<EOF | 4587 cat > conftest.$ac_ext <<EOF |
4585 #line 4586 "configure" | 4588 #line 4589 "configure" |
4586 #include "confdefs.h" | 4589 #include "confdefs.h" |
4587 #include <stdio.h> | 4590 #include <stdio.h> |
4588 #include <sys/types.h> | 4591 #include <sys/types.h> |
4589 main() | 4592 main() |
4590 { | 4593 { |
4592 if (!f) exit(1); | 4595 if (!f) exit(1); |
4593 fprintf(f, "%d\n", sizeof(long long)); | 4596 fprintf(f, "%d\n", sizeof(long long)); |
4594 exit(0); | 4597 exit(0); |
4595 } | 4598 } |
4596 EOF | 4599 EOF |
4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4600 if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4598 then | 4601 then |
4599 ac_cv_sizeof_long_long=`cat conftestval` | 4602 ac_cv_sizeof_long_long=`cat conftestval` |
4600 else | 4603 else |
4601 conftest_rc="$?" | 4604 conftest_rc="$?" |
4602 echo "configure: failed program was:" >&5 | 4605 echo "configure: failed program was:" >&5 |
4614 EOF | 4617 EOF |
4615 } | 4618 } |
4616 | 4619 |
4617 | 4620 |
4618 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4621 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4619 echo "configure:4620: checking size of void *" >&5 | 4622 echo "configure:4623: checking size of void *" >&5 |
4620 | 4623 |
4621 cat > conftest.$ac_ext <<EOF | 4624 cat > conftest.$ac_ext <<EOF |
4622 #line 4623 "configure" | 4625 #line 4626 "configure" |
4623 #include "confdefs.h" | 4626 #include "confdefs.h" |
4624 #include <stdio.h> | 4627 #include <stdio.h> |
4625 #include <sys/types.h> | 4628 #include <sys/types.h> |
4626 main() | 4629 main() |
4627 { | 4630 { |
4629 if (!f) exit(1); | 4632 if (!f) exit(1); |
4630 fprintf(f, "%d\n", sizeof(void *)); | 4633 fprintf(f, "%d\n", sizeof(void *)); |
4631 exit(0); | 4634 exit(0); |
4632 } | 4635 } |
4633 EOF | 4636 EOF |
4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4637 if { (eval echo configure:4638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4635 then | 4638 then |
4636 ac_cv_sizeof_void_p=`cat conftestval` | 4639 ac_cv_sizeof_void_p=`cat conftestval` |
4637 else | 4640 else |
4638 conftest_rc="$?" | 4641 conftest_rc="$?" |
4639 echo "configure: failed program was:" >&5 | 4642 echo "configure: failed program was:" >&5 |
4652 } | 4655 } |
4653 | 4656 |
4654 | 4657 |
4655 | 4658 |
4656 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4659 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4657 echo "configure:4658: checking for long file names" >&5 | 4660 echo "configure:4661: checking for long file names" >&5 |
4658 | 4661 |
4659 ac_cv_sys_long_file_names=yes | 4662 ac_cv_sys_long_file_names=yes |
4660 # Test for long file names in all the places we know might matter: | 4663 # Test for long file names in all the places we know might matter: |
4661 # . the current directory, where building will happen | 4664 # . the current directory, where building will happen |
4662 # $prefix/lib where we will be installing things | 4665 # $prefix/lib where we will be installing things |
4698 | 4701 |
4699 fi | 4702 fi |
4700 | 4703 |
4701 | 4704 |
4702 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4705 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4703 echo "configure:4704: checking for sin" >&5 | 4706 echo "configure:4707: checking for sin" >&5 |
4704 | 4707 |
4705 cat > conftest.$ac_ext <<EOF | 4708 cat > conftest.$ac_ext <<EOF |
4706 #line 4707 "configure" | 4709 #line 4710 "configure" |
4707 #include "confdefs.h" | 4710 #include "confdefs.h" |
4708 /* System header to define __stub macros and hopefully few prototypes, | 4711 /* System header to define __stub macros and hopefully few prototypes, |
4709 which can conflict with char sin(); below. */ | 4712 which can conflict with char sin(); below. */ |
4710 #include <assert.h> | 4713 #include <assert.h> |
4711 /* Override any gcc2 internal prototype to avoid an error. */ | 4714 /* Override any gcc2 internal prototype to avoid an error. */ |
4724 sin(); | 4727 sin(); |
4725 #endif | 4728 #endif |
4726 | 4729 |
4727 ; return 0; } | 4730 ; return 0; } |
4728 EOF | 4731 EOF |
4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4732 if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4730 rm -rf conftest* | 4733 rm -rf conftest* |
4731 eval "ac_cv_func_sin=yes" | 4734 eval "ac_cv_func_sin=yes" |
4732 else | 4735 else |
4733 echo "configure: failed program was:" >&5 | 4736 echo "configure: failed program was:" >&5 |
4734 cat conftest.$ac_ext >&5 | 4737 cat conftest.$ac_ext >&5 |
4742 : | 4745 : |
4743 else | 4746 else |
4744 echo "$ac_t""no" 1>&6 | 4747 echo "$ac_t""no" 1>&6 |
4745 | 4748 |
4746 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4749 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4747 echo "configure:4748: checking for sin in -lm" >&5 | 4750 echo "configure:4751: checking for sin in -lm" >&5 |
4748 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4751 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4749 | 4752 |
4750 xe_check_libs=" -lm " | 4753 xe_check_libs=" -lm " |
4751 cat > conftest.$ac_ext <<EOF | 4754 cat > conftest.$ac_ext <<EOF |
4752 #line 4753 "configure" | 4755 #line 4756 "configure" |
4753 #include "confdefs.h" | 4756 #include "confdefs.h" |
4754 /* Override any gcc2 internal prototype to avoid an error. */ | 4757 /* Override any gcc2 internal prototype to avoid an error. */ |
4755 /* We use char because int might match the return type of a gcc2 | 4758 /* We use char because int might match the return type of a gcc2 |
4756 builtin and then its argument prototype would still apply. */ | 4759 builtin and then its argument prototype would still apply. */ |
4757 char sin(); | 4760 char sin(); |
4758 | 4761 |
4759 int main() { | 4762 int main() { |
4760 sin() | 4763 sin() |
4761 ; return 0; } | 4764 ; return 0; } |
4762 EOF | 4765 EOF |
4763 if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4766 if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4764 rm -rf conftest* | 4767 rm -rf conftest* |
4765 eval "ac_cv_lib_$ac_lib_var=yes" | 4768 eval "ac_cv_lib_$ac_lib_var=yes" |
4766 else | 4769 else |
4767 echo "configure: failed program was:" >&5 | 4770 echo "configure: failed program was:" >&5 |
4768 cat conftest.$ac_ext >&5 | 4771 cat conftest.$ac_ext >&5 |
4802 EOF | 4805 EOF |
4803 } | 4806 } |
4804 | 4807 |
4805 | 4808 |
4806 cat > conftest.$ac_ext <<EOF | 4809 cat > conftest.$ac_ext <<EOF |
4807 #line 4808 "configure" | 4810 #line 4811 "configure" |
4808 #include "confdefs.h" | 4811 #include "confdefs.h" |
4809 #include <math.h> | 4812 #include <math.h> |
4810 int main() { | 4813 int main() { |
4811 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4814 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4812 ; return 0; } | 4815 ; return 0; } |
4813 EOF | 4816 EOF |
4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4815 rm -rf conftest* | 4818 rm -rf conftest* |
4816 { test "$extra_verbose" = "yes" && cat << \EOF | 4819 { test "$extra_verbose" = "yes" && cat << \EOF |
4817 Defining HAVE_INVERSE_HYPERBOLIC | 4820 Defining HAVE_INVERSE_HYPERBOLIC |
4818 EOF | 4821 EOF |
4819 cat >> confdefs.h <<\EOF | 4822 cat >> confdefs.h <<\EOF |
4828 rm -f conftest* | 4831 rm -f conftest* |
4829 | 4832 |
4830 for ac_func in mkstemp | 4833 for ac_func in mkstemp |
4831 do | 4834 do |
4832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4833 echo "configure:4834: checking for $ac_func" >&5 | 4836 echo "configure:4837: checking for $ac_func" >&5 |
4834 | 4837 |
4835 cat > conftest.$ac_ext <<EOF | 4838 cat > conftest.$ac_ext <<EOF |
4836 #line 4837 "configure" | 4839 #line 4840 "configure" |
4837 #include "confdefs.h" | 4840 #include "confdefs.h" |
4838 /* System header to define __stub macros and hopefully few prototypes, | 4841 /* System header to define __stub macros and hopefully few prototypes, |
4839 which can conflict with char $ac_func(); below. */ | 4842 which can conflict with char $ac_func(); below. */ |
4840 #include <assert.h> | 4843 #include <assert.h> |
4841 /* Override any gcc2 internal prototype to avoid an error. */ | 4844 /* Override any gcc2 internal prototype to avoid an error. */ |
4854 $ac_func(); | 4857 $ac_func(); |
4855 #endif | 4858 #endif |
4856 | 4859 |
4857 ; return 0; } | 4860 ; return 0; } |
4858 EOF | 4861 EOF |
4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4862 if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4860 rm -rf conftest* | 4863 rm -rf conftest* |
4861 eval "ac_cv_func_$ac_func=yes" | 4864 eval "ac_cv_func_$ac_func=yes" |
4862 else | 4865 else |
4863 echo "configure: failed program was:" >&5 | 4866 echo "configure: failed program was:" >&5 |
4864 cat conftest.$ac_ext >&5 | 4867 cat conftest.$ac_ext >&5 |
4883 fi | 4886 fi |
4884 done | 4887 done |
4885 | 4888 |
4886 | 4889 |
4887 echo "checking type of mail spool file locking" 1>&6 | 4890 echo "checking type of mail spool file locking" 1>&6 |
4888 echo "configure:4889: checking type of mail spool file locking" >&5 | 4891 echo "configure:4892: checking type of mail spool file locking" >&5 |
4889 for ac_func in lockf flock | 4892 for ac_func in lockf flock |
4890 do | 4893 do |
4891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4892 echo "configure:4893: checking for $ac_func" >&5 | 4895 echo "configure:4896: checking for $ac_func" >&5 |
4893 | 4896 |
4894 cat > conftest.$ac_ext <<EOF | 4897 cat > conftest.$ac_ext <<EOF |
4895 #line 4896 "configure" | 4898 #line 4899 "configure" |
4896 #include "confdefs.h" | 4899 #include "confdefs.h" |
4897 /* System header to define __stub macros and hopefully few prototypes, | 4900 /* System header to define __stub macros and hopefully few prototypes, |
4898 which can conflict with char $ac_func(); below. */ | 4901 which can conflict with char $ac_func(); below. */ |
4899 #include <assert.h> | 4902 #include <assert.h> |
4900 /* Override any gcc2 internal prototype to avoid an error. */ | 4903 /* Override any gcc2 internal prototype to avoid an error. */ |
4913 $ac_func(); | 4916 $ac_func(); |
4914 #endif | 4917 #endif |
4915 | 4918 |
4916 ; return 0; } | 4919 ; return 0; } |
4917 EOF | 4920 EOF |
4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4921 if { (eval echo configure:4922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4919 rm -rf conftest* | 4922 rm -rf conftest* |
4920 eval "ac_cv_func_$ac_func=yes" | 4923 eval "ac_cv_func_$ac_func=yes" |
4921 else | 4924 else |
4922 echo "configure: failed program was:" >&5 | 4925 echo "configure: failed program was:" >&5 |
4923 cat conftest.$ac_ext >&5 | 4926 cat conftest.$ac_ext >&5 |
4995 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4998 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4996 | 4999 |
4997 case "$opsys" in decosf*) | 5000 case "$opsys" in decosf*) |
4998 | 5001 |
4999 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5002 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5000 echo "configure:5001: checking for cma_open in -lpthreads" >&5 | 5003 echo "configure:5004: checking for cma_open in -lpthreads" >&5 |
5001 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5004 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5002 | 5005 |
5003 xe_check_libs=" -lpthreads " | 5006 xe_check_libs=" -lpthreads " |
5004 cat > conftest.$ac_ext <<EOF | 5007 cat > conftest.$ac_ext <<EOF |
5005 #line 5006 "configure" | 5008 #line 5009 "configure" |
5006 #include "confdefs.h" | 5009 #include "confdefs.h" |
5007 /* Override any gcc2 internal prototype to avoid an error. */ | 5010 /* Override any gcc2 internal prototype to avoid an error. */ |
5008 /* We use char because int might match the return type of a gcc2 | 5011 /* We use char because int might match the return type of a gcc2 |
5009 builtin and then its argument prototype would still apply. */ | 5012 builtin and then its argument prototype would still apply. */ |
5010 char cma_open(); | 5013 char cma_open(); |
5011 | 5014 |
5012 int main() { | 5015 int main() { |
5013 cma_open() | 5016 cma_open() |
5014 ; return 0; } | 5017 ; return 0; } |
5015 EOF | 5018 EOF |
5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5017 rm -rf conftest* | 5020 rm -rf conftest* |
5018 eval "ac_cv_lib_$ac_lib_var=yes" | 5021 eval "ac_cv_lib_$ac_lib_var=yes" |
5019 else | 5022 else |
5020 echo "configure: failed program was:" >&5 | 5023 echo "configure: failed program was:" >&5 |
5021 cat conftest.$ac_ext >&5 | 5024 cat conftest.$ac_ext >&5 |
5048 c_switch_site="$c_switch_site -threads" ;; | 5051 c_switch_site="$c_switch_site -threads" ;; |
5049 esac | 5052 esac |
5050 | 5053 |
5051 | 5054 |
5052 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5055 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5053 echo "configure:5054: checking whether the -xildoff compiler flag is required" >&5 | 5056 echo "configure:5057: checking whether the -xildoff compiler flag is required" >&5 |
5054 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5057 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5055 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5058 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5056 then echo "$ac_t""no" 1>&6; | 5059 then echo "$ac_t""no" 1>&6; |
5057 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 | 5060 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 |
5058 fi | 5061 fi |
5060 fi | 5063 fi |
5061 | 5064 |
5062 if test "$opsys" = "sol2"; then | 5065 if test "$opsys" = "sol2"; then |
5063 if test "$os_release" -ge 56; then | 5066 if test "$os_release" -ge 56; then |
5064 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5067 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5065 echo "configure:5066: checking for \"-z ignore\" linker flag" >&5 | 5068 echo "configure:5069: checking for \"-z ignore\" linker flag" >&5 |
5066 case "`ld -h 2>&1`" in | 5069 case "`ld -h 2>&1`" in |
5067 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5070 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5068 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5071 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5069 *) echo "$ac_t""no" 1>&6 ;; | 5072 *) echo "$ac_t""no" 1>&6 ;; |
5070 esac | 5073 esac |
5071 fi | 5074 fi |
5072 fi | 5075 fi |
5073 | 5076 |
5074 if test "$pdump" != "yes"; then | 5077 if test "$pdump" != "yes"; then |
5075 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 5078 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
5076 echo "configure:5077: checking for \"-z nocombreloc\" linker flag" >&5 | 5079 echo "configure:5080: checking for \"-z nocombreloc\" linker flag" >&5 |
5077 case "`ld --help 2>&1`" in | 5080 case "`ld --help 2>&1`" in |
5078 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 5081 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
5079 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 5082 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
5080 *) echo "$ac_t""no" 1>&6 ;; | 5083 *) echo "$ac_t""no" 1>&6 ;; |
5081 esac | 5084 esac |
5082 fi | 5085 fi |
5083 | 5086 |
5084 | 5087 |
5085 echo "checking "for specified window system"" 1>&6 | 5088 echo "checking "for specified window system"" 1>&6 |
5086 echo "configure:5087: checking "for specified window system"" >&5 | 5089 echo "configure:5090: checking "for specified window system"" >&5 |
5087 | 5090 |
5088 | 5091 |
5089 GNOME_CONFIG=no | 5092 GNOME_CONFIG=no |
5090 GTK_CONFIG=no | 5093 GTK_CONFIG=no |
5091 | 5094 |
5092 if test "$with_gnome" != "no"; then | 5095 if test "$with_gnome" != "no"; then |
5093 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5096 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5094 echo "configure:5095: checking for GNOME configuration script" >&5 | 5097 echo "configure:5098: checking for GNOME configuration script" >&5 |
5095 for possible in gnome-config | 5098 for possible in gnome-config |
5096 do | 5099 do |
5097 possible_version=`${possible} --version 2> /dev/null` | 5100 possible_version=`${possible} --version 2> /dev/null` |
5098 if test "x${possible_version}" != "x"; then | 5101 if test "x${possible_version}" != "x"; then |
5099 GNOME_CONFIG="${possible}" | 5102 GNOME_CONFIG="${possible}" |
5120 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5123 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5121 fi | 5124 fi |
5122 | 5125 |
5123 if test "$with_gtk" != "no";then | 5126 if test "$with_gtk" != "no";then |
5124 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5127 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5125 echo "configure:5126: checking for GTK configuration script" >&5 | 5128 echo "configure:5129: checking for GTK configuration script" >&5 |
5126 for possible in gtk12-config gtk14-config gtk-config | 5129 for possible in gtk12-config gtk14-config gtk-config |
5127 do | 5130 do |
5128 possible_version=`${possible} --version 2> /dev/null` | 5131 possible_version=`${possible} --version 2> /dev/null` |
5129 if test "x${possible_version}" != "x"; then | 5132 if test "x${possible_version}" != "x"; then |
5130 GTK_CONFIG="${possible}" | 5133 GTK_CONFIG="${possible}" |
5142 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5145 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5143 fi | 5146 fi |
5144 | 5147 |
5145 if test "${GTK_CONFIG}" != "no"; then | 5148 if test "${GTK_CONFIG}" != "no"; then |
5146 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5149 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5147 echo "configure:5148: checking gtk version" >&5 | 5150 echo "configure:5151: checking gtk version" >&5 |
5148 GTK_VERSION=`${GTK_CONFIG} --version` | 5151 GTK_VERSION=`${GTK_CONFIG} --version` |
5149 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5152 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5150 | 5153 |
5151 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5154 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5152 echo "configure:5153: checking gtk libs" >&5 | 5155 echo "configure:5156: checking gtk libs" >&5 |
5153 GTK_LIBS=`${GTK_CONFIG} --libs` | 5156 GTK_LIBS=`${GTK_CONFIG} --libs` |
5154 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5157 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5155 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5158 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5156 | 5159 |
5157 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5160 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5158 echo "configure:5159: checking gtk cflags" >&5 | 5161 echo "configure:5162: checking gtk cflags" >&5 |
5159 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5162 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5160 if test "$GCC" = "yes"; then | 5163 if test "$GCC" = "yes"; then |
5161 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5164 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5162 fi | 5165 fi |
5163 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5166 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5164 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5167 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5165 | 5168 |
5166 | 5169 |
5167 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5170 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5168 echo "configure:5169: checking for main in -lgdk_imlib" >&5 | 5171 echo "configure:5172: checking for main in -lgdk_imlib" >&5 |
5169 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5172 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5170 | 5173 |
5171 xe_check_libs=" -lgdk_imlib " | 5174 xe_check_libs=" -lgdk_imlib " |
5172 cat > conftest.$ac_ext <<EOF | 5175 cat > conftest.$ac_ext <<EOF |
5173 #line 5174 "configure" | 5176 #line 5177 "configure" |
5174 #include "confdefs.h" | 5177 #include "confdefs.h" |
5175 | 5178 |
5176 int main() { | 5179 int main() { |
5177 main() | 5180 main() |
5178 ; return 0; } | 5181 ; return 0; } |
5179 EOF | 5182 EOF |
5180 if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5183 if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5181 rm -rf conftest* | 5184 rm -rf conftest* |
5182 eval "ac_cv_lib_$ac_lib_var=yes" | 5185 eval "ac_cv_lib_$ac_lib_var=yes" |
5183 else | 5186 else |
5184 echo "configure: failed program was:" >&5 | 5187 echo "configure: failed program was:" >&5 |
5185 cat conftest.$ac_ext >&5 | 5188 cat conftest.$ac_ext >&5 |
5197 fi | 5200 fi |
5198 | 5201 |
5199 | 5202 |
5200 | 5203 |
5201 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5204 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5202 echo "configure:5203: checking for Imlib_init in -lImlib" >&5 | 5205 echo "configure:5206: checking for Imlib_init in -lImlib" >&5 |
5203 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5206 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5204 | 5207 |
5205 xe_check_libs=" -lImlib " | 5208 xe_check_libs=" -lImlib " |
5206 cat > conftest.$ac_ext <<EOF | 5209 cat > conftest.$ac_ext <<EOF |
5207 #line 5208 "configure" | 5210 #line 5211 "configure" |
5208 #include "confdefs.h" | 5211 #include "confdefs.h" |
5209 /* Override any gcc2 internal prototype to avoid an error. */ | 5212 /* Override any gcc2 internal prototype to avoid an error. */ |
5210 /* We use char because int might match the return type of a gcc2 | 5213 /* We use char because int might match the return type of a gcc2 |
5211 builtin and then its argument prototype would still apply. */ | 5214 builtin and then its argument prototype would still apply. */ |
5212 char Imlib_init(); | 5215 char Imlib_init(); |
5213 | 5216 |
5214 int main() { | 5217 int main() { |
5215 Imlib_init() | 5218 Imlib_init() |
5216 ; return 0; } | 5219 ; return 0; } |
5217 EOF | 5220 EOF |
5218 if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5221 if { (eval echo configure:5222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5219 rm -rf conftest* | 5222 rm -rf conftest* |
5220 eval "ac_cv_lib_$ac_lib_var=yes" | 5223 eval "ac_cv_lib_$ac_lib_var=yes" |
5221 else | 5224 else |
5222 echo "configure: failed program was:" >&5 | 5225 echo "configure: failed program was:" >&5 |
5223 cat conftest.$ac_ext >&5 | 5226 cat conftest.$ac_ext >&5 |
5236 | 5239 |
5237 | 5240 |
5238 for ac_func in gdk_imlib_init | 5241 for ac_func in gdk_imlib_init |
5239 do | 5242 do |
5240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5241 echo "configure:5242: checking for $ac_func" >&5 | 5244 echo "configure:5245: checking for $ac_func" >&5 |
5242 | 5245 |
5243 cat > conftest.$ac_ext <<EOF | 5246 cat > conftest.$ac_ext <<EOF |
5244 #line 5245 "configure" | 5247 #line 5248 "configure" |
5245 #include "confdefs.h" | 5248 #include "confdefs.h" |
5246 /* System header to define __stub macros and hopefully few prototypes, | 5249 /* System header to define __stub macros and hopefully few prototypes, |
5247 which can conflict with char $ac_func(); below. */ | 5250 which can conflict with char $ac_func(); below. */ |
5248 #include <assert.h> | 5251 #include <assert.h> |
5249 /* Override any gcc2 internal prototype to avoid an error. */ | 5252 /* Override any gcc2 internal prototype to avoid an error. */ |
5262 $ac_func(); | 5265 $ac_func(); |
5263 #endif | 5266 #endif |
5264 | 5267 |
5265 ; return 0; } | 5268 ; return 0; } |
5266 EOF | 5269 EOF |
5267 if { (eval echo configure:5268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5270 if { (eval echo configure:5271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5268 rm -rf conftest* | 5271 rm -rf conftest* |
5269 eval "ac_cv_func_$ac_func=yes" | 5272 eval "ac_cv_func_$ac_func=yes" |
5270 else | 5273 else |
5271 echo "configure: failed program was:" >&5 | 5274 echo "configure: failed program was:" >&5 |
5272 cat conftest.$ac_ext >&5 | 5275 cat conftest.$ac_ext >&5 |
5332 extra_objs="$extra_objs gtk-xemacs.o ui-gtk.o" && if test "$extra_verbose" = "yes"; then | 5335 extra_objs="$extra_objs gtk-xemacs.o ui-gtk.o" && if test "$extra_verbose" = "yes"; then |
5333 echo " xemacs will be linked with \"gtk-xemacs.o ui-gtk.o\"" | 5336 echo " xemacs will be linked with \"gtk-xemacs.o ui-gtk.o\"" |
5334 fi | 5337 fi |
5335 | 5338 |
5336 OLD_CFLAGS="${CFLAGS}" | 5339 OLD_CFLAGS="${CFLAGS}" |
5340 OLD_CPPFLAGS="${CPPFLAGS}" | |
5337 OLD_LDFLAGS="${LDFLAGS}" | 5341 OLD_LDFLAGS="${LDFLAGS}" |
5338 CFLAGS="${GTK_CFLAGS} ${CFLAGS}" | 5342 CFLAGS="${GTK_CFLAGS} ${CFLAGS}" |
5343 CPPFLAGS="${GTK_CFLAGS} ${CFLAGS}" | |
5339 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5344 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5340 for ac_hdr in glade/glade.h glade.h | 5345 for ac_hdr in glade/glade.h glade.h |
5341 do | 5346 do |
5342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5347 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5348 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5344 echo "configure:5345: checking for $ac_hdr" >&5 | 5349 echo "configure:5350: checking for $ac_hdr" >&5 |
5345 | 5350 |
5346 cat > conftest.$ac_ext <<EOF | 5351 cat > conftest.$ac_ext <<EOF |
5347 #line 5348 "configure" | 5352 #line 5353 "configure" |
5348 #include "confdefs.h" | 5353 #include "confdefs.h" |
5349 #include <$ac_hdr> | 5354 #include <$ac_hdr> |
5350 EOF | 5355 EOF |
5351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5357 { (eval echo configure:5358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5354 if test -z "$ac_err"; then | 5359 if test -z "$ac_err"; then |
5355 rm -rf conftest* | 5360 rm -rf conftest* |
5356 eval "ac_cv_header_$ac_safe=yes" | 5361 eval "ac_cv_header_$ac_safe=yes" |
5357 else | 5362 else |
5378 fi | 5383 fi |
5379 done | 5384 done |
5380 | 5385 |
5381 | 5386 |
5382 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5387 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5383 echo "configure:5384: checking for main in -lxml" >&5 | 5388 echo "configure:5389: checking for main in -lxml" >&5 |
5384 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5389 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5385 | 5390 |
5386 xe_check_libs=" -lxml " | 5391 xe_check_libs=" -lxml " |
5387 cat > conftest.$ac_ext <<EOF | 5392 cat > conftest.$ac_ext <<EOF |
5388 #line 5389 "configure" | 5393 #line 5394 "configure" |
5389 #include "confdefs.h" | 5394 #include "confdefs.h" |
5390 | 5395 |
5391 int main() { | 5396 int main() { |
5392 main() | 5397 main() |
5393 ; return 0; } | 5398 ; return 0; } |
5394 EOF | 5399 EOF |
5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5400 if { (eval echo configure:5401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5396 rm -rf conftest* | 5401 rm -rf conftest* |
5397 eval "ac_cv_lib_$ac_lib_var=yes" | 5402 eval "ac_cv_lib_$ac_lib_var=yes" |
5398 else | 5403 else |
5399 echo "configure: failed program was:" >&5 | 5404 echo "configure: failed program was:" >&5 |
5400 cat conftest.$ac_ext >&5 | 5405 cat conftest.$ac_ext >&5 |
5412 fi | 5417 fi |
5413 | 5418 |
5414 | 5419 |
5415 | 5420 |
5416 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5421 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5417 echo "configure:5418: checking for main in -lglade" >&5 | 5422 echo "configure:5423: checking for main in -lglade" >&5 |
5418 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5423 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5419 | 5424 |
5420 xe_check_libs=" -lglade " | 5425 xe_check_libs=" -lglade " |
5421 cat > conftest.$ac_ext <<EOF | 5426 cat > conftest.$ac_ext <<EOF |
5422 #line 5423 "configure" | 5427 #line 5428 "configure" |
5423 #include "confdefs.h" | 5428 #include "confdefs.h" |
5424 | 5429 |
5425 int main() { | 5430 int main() { |
5426 main() | 5431 main() |
5427 ; return 0; } | 5432 ; return 0; } |
5428 EOF | 5433 EOF |
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5434 if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5430 rm -rf conftest* | 5435 rm -rf conftest* |
5431 eval "ac_cv_lib_$ac_lib_var=yes" | 5436 eval "ac_cv_lib_$ac_lib_var=yes" |
5432 else | 5437 else |
5433 echo "configure: failed program was:" >&5 | 5438 echo "configure: failed program was:" >&5 |
5434 cat conftest.$ac_ext >&5 | 5439 cat conftest.$ac_ext >&5 |
5446 fi | 5451 fi |
5447 | 5452 |
5448 | 5453 |
5449 | 5454 |
5450 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5455 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5451 echo "configure:5452: checking for main in -lglade-gnome" >&5 | 5456 echo "configure:5457: checking for main in -lglade-gnome" >&5 |
5452 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5457 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5453 | 5458 |
5454 xe_check_libs=" -lglade-gnome " | 5459 xe_check_libs=" -lglade-gnome " |
5455 cat > conftest.$ac_ext <<EOF | 5460 cat > conftest.$ac_ext <<EOF |
5456 #line 5457 "configure" | 5461 #line 5462 "configure" |
5457 #include "confdefs.h" | 5462 #include "confdefs.h" |
5458 | 5463 |
5459 int main() { | 5464 int main() { |
5460 main() | 5465 main() |
5461 ; return 0; } | 5466 ; return 0; } |
5462 EOF | 5467 EOF |
5463 if { (eval echo configure:5464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5468 if { (eval echo configure:5469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5464 rm -rf conftest* | 5469 rm -rf conftest* |
5465 eval "ac_cv_lib_$ac_lib_var=yes" | 5470 eval "ac_cv_lib_$ac_lib_var=yes" |
5466 else | 5471 else |
5467 echo "configure: failed program was:" >&5 | 5472 echo "configure: failed program was:" >&5 |
5468 cat conftest.$ac_ext >&5 | 5473 cat conftest.$ac_ext >&5 |
5479 echo "$ac_t""no" 1>&6 | 5484 echo "$ac_t""no" 1>&6 |
5480 fi | 5485 fi |
5481 | 5486 |
5482 | 5487 |
5483 cat > conftest.$ac_ext <<EOF | 5488 cat > conftest.$ac_ext <<EOF |
5484 #line 5485 "configure" | 5489 #line 5490 "configure" |
5485 #include "confdefs.h" | 5490 #include "confdefs.h" |
5486 #include <glade/glade-xml.h> | 5491 #include <glade/glade-xml.h> |
5487 EOF | 5492 EOF |
5488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5489 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5494 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5502 echo "$ac_t""no" 1>&6 | 5507 echo "$ac_t""no" 1>&6 |
5503 fi | 5508 fi |
5504 rm -f conftest* | 5509 rm -f conftest* |
5505 | 5510 |
5506 CFLAGS="${OLD_CFLAGS}" | 5511 CFLAGS="${OLD_CFLAGS}" |
5512 CPPFLAGS="${OLD_CPPFLAGS}" | |
5507 LDFLAGS="${OLD_LDFLAGS}" | 5513 LDFLAGS="${OLD_LDFLAGS}" |
5508 fi | 5514 fi |
5509 | 5515 |
5510 | 5516 |
5511 if test "$with_x11" != "no"; then | 5517 if test "$with_x11" != "no"; then |
5537 # If we find X, set shell vars x_includes and x_libraries to the | 5543 # If we find X, set shell vars x_includes and x_libraries to the |
5538 # paths, otherwise set no_x=yes. | 5544 # paths, otherwise set no_x=yes. |
5539 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5545 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5540 # --without-x overrides everything else, but does not touch the cache. | 5546 # --without-x overrides everything else, but does not touch the cache. |
5541 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5547 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5542 echo "configure:5543: checking for X" >&5 | 5548 echo "configure:5549: checking for X" >&5 |
5543 | 5549 |
5544 # Check whether --with-x or --without-x was given. | 5550 # Check whether --with-x or --without-x was given. |
5545 if test "${with_x+set}" = set; then | 5551 if test "${with_x+set}" = set; then |
5546 withval="$with_x" | 5552 withval="$with_x" |
5547 : | 5553 : |
5597 # Guess where to find include files, by looking for this one X11 .h file. | 5603 # Guess where to find include files, by looking for this one X11 .h file. |
5598 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5604 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5599 | 5605 |
5600 # First, try using that file with no special directory specified. | 5606 # First, try using that file with no special directory specified. |
5601 cat > conftest.$ac_ext <<EOF | 5607 cat > conftest.$ac_ext <<EOF |
5602 #line 5603 "configure" | 5608 #line 5609 "configure" |
5603 #include "confdefs.h" | 5609 #include "confdefs.h" |
5604 #include <$x_direct_test_include> | 5610 #include <$x_direct_test_include> |
5605 EOF | 5611 EOF |
5606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5607 { (eval echo configure:5608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5613 { (eval echo configure:5614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5609 if test -z "$ac_err"; then | 5615 if test -z "$ac_err"; then |
5610 rm -rf conftest* | 5616 rm -rf conftest* |
5611 # We can compile using X headers with no special include directory. | 5617 # We can compile using X headers with no special include directory. |
5612 ac_x_includes= | 5618 ac_x_includes= |
5671 # See if we find them without any special options. | 5677 # See if we find them without any special options. |
5672 # Don't add to $LIBS permanently. | 5678 # Don't add to $LIBS permanently. |
5673 ac_save_LIBS="$LIBS" | 5679 ac_save_LIBS="$LIBS" |
5674 LIBS="-l$x_direct_test_library $LIBS" | 5680 LIBS="-l$x_direct_test_library $LIBS" |
5675 cat > conftest.$ac_ext <<EOF | 5681 cat > conftest.$ac_ext <<EOF |
5676 #line 5677 "configure" | 5682 #line 5683 "configure" |
5677 #include "confdefs.h" | 5683 #include "confdefs.h" |
5678 | 5684 |
5679 int main() { | 5685 int main() { |
5680 ${x_direct_test_function}() | 5686 ${x_direct_test_function}() |
5681 ; return 0; } | 5687 ; return 0; } |
5682 EOF | 5688 EOF |
5683 if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5689 if { (eval echo configure:5690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5684 rm -rf conftest* | 5690 rm -rf conftest* |
5685 LIBS="$ac_save_LIBS" | 5691 LIBS="$ac_save_LIBS" |
5686 # We can link X programs with no special library path. | 5692 # We can link X programs with no special library path. |
5687 ac_x_libraries= | 5693 ac_x_libraries= |
5688 else | 5694 else |
5787 # For Solaris; some versions of Sun CC require a space after -R and | 5793 # For Solaris; some versions of Sun CC require a space after -R and |
5788 # others require no space. Words are not sufficient . . . . | 5794 # others require no space. Words are not sufficient . . . . |
5789 case "`(uname -sr) 2>/dev/null`" in | 5795 case "`(uname -sr) 2>/dev/null`" in |
5790 "SunOS 5"*) | 5796 "SunOS 5"*) |
5791 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5797 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5792 echo "configure:5793: checking whether -R must be followed by a space" >&5 | 5798 echo "configure:5799: checking whether -R must be followed by a space" >&5 |
5793 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5799 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5794 cat > conftest.$ac_ext <<EOF | 5800 cat > conftest.$ac_ext <<EOF |
5795 #line 5796 "configure" | 5801 #line 5802 "configure" |
5796 #include "confdefs.h" | 5802 #include "confdefs.h" |
5797 | 5803 |
5798 int main() { | 5804 int main() { |
5799 | 5805 |
5800 ; return 0; } | 5806 ; return 0; } |
5801 EOF | 5807 EOF |
5802 if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5808 if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5803 rm -rf conftest* | 5809 rm -rf conftest* |
5804 ac_R_nospace=yes | 5810 ac_R_nospace=yes |
5805 else | 5811 else |
5806 echo "configure: failed program was:" >&5 | 5812 echo "configure: failed program was:" >&5 |
5807 cat conftest.$ac_ext >&5 | 5813 cat conftest.$ac_ext >&5 |
5813 echo "$ac_t""no" 1>&6 | 5819 echo "$ac_t""no" 1>&6 |
5814 X_LIBS="$X_LIBS -R$x_libraries" | 5820 X_LIBS="$X_LIBS -R$x_libraries" |
5815 else | 5821 else |
5816 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5822 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5817 cat > conftest.$ac_ext <<EOF | 5823 cat > conftest.$ac_ext <<EOF |
5818 #line 5819 "configure" | 5824 #line 5825 "configure" |
5819 #include "confdefs.h" | 5825 #include "confdefs.h" |
5820 | 5826 |
5821 int main() { | 5827 int main() { |
5822 | 5828 |
5823 ; return 0; } | 5829 ; return 0; } |
5824 EOF | 5830 EOF |
5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5831 if { (eval echo configure:5832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5826 rm -rf conftest* | 5832 rm -rf conftest* |
5827 ac_R_space=yes | 5833 ac_R_space=yes |
5828 else | 5834 else |
5829 echo "configure: failed program was:" >&5 | 5835 echo "configure: failed program was:" >&5 |
5830 cat conftest.$ac_ext >&5 | 5836 cat conftest.$ac_ext >&5 |
5856 if test "$with_dnet" = "no" ; then | 5862 if test "$with_dnet" = "no" ; then |
5857 ac_cv_lib_dnet_dnet_ntoa=no | 5863 ac_cv_lib_dnet_dnet_ntoa=no |
5858 else | 5864 else |
5859 | 5865 |
5860 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5866 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5861 echo "configure:5862: checking for dnet_ntoa in -ldnet" >&5 | 5867 echo "configure:5868: checking for dnet_ntoa in -ldnet" >&5 |
5862 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5868 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5863 | 5869 |
5864 xe_check_libs=" -ldnet " | 5870 xe_check_libs=" -ldnet " |
5865 cat > conftest.$ac_ext <<EOF | 5871 cat > conftest.$ac_ext <<EOF |
5866 #line 5867 "configure" | 5872 #line 5873 "configure" |
5867 #include "confdefs.h" | 5873 #include "confdefs.h" |
5868 /* Override any gcc2 internal prototype to avoid an error. */ | 5874 /* Override any gcc2 internal prototype to avoid an error. */ |
5869 /* We use char because int might match the return type of a gcc2 | 5875 /* We use char because int might match the return type of a gcc2 |
5870 builtin and then its argument prototype would still apply. */ | 5876 builtin and then its argument prototype would still apply. */ |
5871 char dnet_ntoa(); | 5877 char dnet_ntoa(); |
5872 | 5878 |
5873 int main() { | 5879 int main() { |
5874 dnet_ntoa() | 5880 dnet_ntoa() |
5875 ; return 0; } | 5881 ; return 0; } |
5876 EOF | 5882 EOF |
5877 if { (eval echo configure:5878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5883 if { (eval echo configure:5884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5878 rm -rf conftest* | 5884 rm -rf conftest* |
5879 eval "ac_cv_lib_$ac_lib_var=yes" | 5885 eval "ac_cv_lib_$ac_lib_var=yes" |
5880 else | 5886 else |
5881 echo "configure: failed program was:" >&5 | 5887 echo "configure: failed program was:" >&5 |
5882 cat conftest.$ac_ext >&5 | 5888 cat conftest.$ac_ext >&5 |
5896 fi | 5902 fi |
5897 | 5903 |
5898 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5904 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5899 | 5905 |
5900 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5906 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5901 echo "configure:5902: checking for dnet_ntoa in -ldnet_stub" >&5 | 5907 echo "configure:5908: checking for dnet_ntoa in -ldnet_stub" >&5 |
5902 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5908 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5903 | 5909 |
5904 xe_check_libs=" -ldnet_stub " | 5910 xe_check_libs=" -ldnet_stub " |
5905 cat > conftest.$ac_ext <<EOF | 5911 cat > conftest.$ac_ext <<EOF |
5906 #line 5907 "configure" | 5912 #line 5913 "configure" |
5907 #include "confdefs.h" | 5913 #include "confdefs.h" |
5908 /* Override any gcc2 internal prototype to avoid an error. */ | 5914 /* Override any gcc2 internal prototype to avoid an error. */ |
5909 /* We use char because int might match the return type of a gcc2 | 5915 /* We use char because int might match the return type of a gcc2 |
5910 builtin and then its argument prototype would still apply. */ | 5916 builtin and then its argument prototype would still apply. */ |
5911 char dnet_ntoa(); | 5917 char dnet_ntoa(); |
5912 | 5918 |
5913 int main() { | 5919 int main() { |
5914 dnet_ntoa() | 5920 dnet_ntoa() |
5915 ; return 0; } | 5921 ; return 0; } |
5916 EOF | 5922 EOF |
5917 if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5923 if { (eval echo configure:5924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5918 rm -rf conftest* | 5924 rm -rf conftest* |
5919 eval "ac_cv_lib_$ac_lib_var=yes" | 5925 eval "ac_cv_lib_$ac_lib_var=yes" |
5920 else | 5926 else |
5921 echo "configure: failed program was:" >&5 | 5927 echo "configure: failed program was:" >&5 |
5922 cat conftest.$ac_ext >&5 | 5928 cat conftest.$ac_ext >&5 |
5941 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5947 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5942 # needs -lnsl. | 5948 # needs -lnsl. |
5943 # The nsl library prevents programs from opening the X display | 5949 # The nsl library prevents programs from opening the X display |
5944 # on Irix 5.2, according to dickey@clark.net. | 5950 # on Irix 5.2, according to dickey@clark.net. |
5945 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5951 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5946 echo "configure:5947: checking for gethostbyname" >&5 | 5952 echo "configure:5953: checking for gethostbyname" >&5 |
5947 | 5953 |
5948 cat > conftest.$ac_ext <<EOF | 5954 cat > conftest.$ac_ext <<EOF |
5949 #line 5950 "configure" | 5955 #line 5956 "configure" |
5950 #include "confdefs.h" | 5956 #include "confdefs.h" |
5951 /* System header to define __stub macros and hopefully few prototypes, | 5957 /* System header to define __stub macros and hopefully few prototypes, |
5952 which can conflict with char gethostbyname(); below. */ | 5958 which can conflict with char gethostbyname(); below. */ |
5953 #include <assert.h> | 5959 #include <assert.h> |
5954 /* Override any gcc2 internal prototype to avoid an error. */ | 5960 /* Override any gcc2 internal prototype to avoid an error. */ |
5967 gethostbyname(); | 5973 gethostbyname(); |
5968 #endif | 5974 #endif |
5969 | 5975 |
5970 ; return 0; } | 5976 ; return 0; } |
5971 EOF | 5977 EOF |
5972 if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5978 if { (eval echo configure:5979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5973 rm -rf conftest* | 5979 rm -rf conftest* |
5974 eval "ac_cv_func_gethostbyname=yes" | 5980 eval "ac_cv_func_gethostbyname=yes" |
5975 else | 5981 else |
5976 echo "configure: failed program was:" >&5 | 5982 echo "configure: failed program was:" >&5 |
5977 cat conftest.$ac_ext >&5 | 5983 cat conftest.$ac_ext >&5 |
5988 fi | 5994 fi |
5989 | 5995 |
5990 if test $ac_cv_func_gethostbyname = no; then | 5996 if test $ac_cv_func_gethostbyname = no; then |
5991 | 5997 |
5992 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5998 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5993 echo "configure:5994: checking for gethostbyname in -lnsl" >&5 | 5999 echo "configure:6000: checking for gethostbyname in -lnsl" >&5 |
5994 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6000 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5995 | 6001 |
5996 xe_check_libs=" -lnsl " | 6002 xe_check_libs=" -lnsl " |
5997 cat > conftest.$ac_ext <<EOF | 6003 cat > conftest.$ac_ext <<EOF |
5998 #line 5999 "configure" | 6004 #line 6005 "configure" |
5999 #include "confdefs.h" | 6005 #include "confdefs.h" |
6000 /* Override any gcc2 internal prototype to avoid an error. */ | 6006 /* Override any gcc2 internal prototype to avoid an error. */ |
6001 /* We use char because int might match the return type of a gcc2 | 6007 /* We use char because int might match the return type of a gcc2 |
6002 builtin and then its argument prototype would still apply. */ | 6008 builtin and then its argument prototype would still apply. */ |
6003 char gethostbyname(); | 6009 char gethostbyname(); |
6004 | 6010 |
6005 int main() { | 6011 int main() { |
6006 gethostbyname() | 6012 gethostbyname() |
6007 ; return 0; } | 6013 ; return 0; } |
6008 EOF | 6014 EOF |
6009 if { (eval echo configure:6010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6015 if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6010 rm -rf conftest* | 6016 rm -rf conftest* |
6011 eval "ac_cv_lib_$ac_lib_var=yes" | 6017 eval "ac_cv_lib_$ac_lib_var=yes" |
6012 else | 6018 else |
6013 echo "configure: failed program was:" >&5 | 6019 echo "configure: failed program was:" >&5 |
6014 cat conftest.$ac_ext >&5 | 6020 cat conftest.$ac_ext >&5 |
6034 # on later versions), says simon@lia.di.epfl.ch: it contains | 6040 # on later versions), says simon@lia.di.epfl.ch: it contains |
6035 # gethostby* variants that don't use the nameserver (or something). | 6041 # gethostby* variants that don't use the nameserver (or something). |
6036 # -lsocket must be given before -lnsl if both are needed. | 6042 # -lsocket must be given before -lnsl if both are needed. |
6037 # We assume that if connect needs -lnsl, so does gethostbyname. | 6043 # We assume that if connect needs -lnsl, so does gethostbyname. |
6038 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6044 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6039 echo "configure:6040: checking for connect" >&5 | 6045 echo "configure:6046: checking for connect" >&5 |
6040 | 6046 |
6041 cat > conftest.$ac_ext <<EOF | 6047 cat > conftest.$ac_ext <<EOF |
6042 #line 6043 "configure" | 6048 #line 6049 "configure" |
6043 #include "confdefs.h" | 6049 #include "confdefs.h" |
6044 /* System header to define __stub macros and hopefully few prototypes, | 6050 /* System header to define __stub macros and hopefully few prototypes, |
6045 which can conflict with char connect(); below. */ | 6051 which can conflict with char connect(); below. */ |
6046 #include <assert.h> | 6052 #include <assert.h> |
6047 /* Override any gcc2 internal prototype to avoid an error. */ | 6053 /* Override any gcc2 internal prototype to avoid an error. */ |
6060 connect(); | 6066 connect(); |
6061 #endif | 6067 #endif |
6062 | 6068 |
6063 ; return 0; } | 6069 ; return 0; } |
6064 EOF | 6070 EOF |
6065 if { (eval echo configure:6066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6071 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6066 rm -rf conftest* | 6072 rm -rf conftest* |
6067 eval "ac_cv_func_connect=yes" | 6073 eval "ac_cv_func_connect=yes" |
6068 else | 6074 else |
6069 echo "configure: failed program was:" >&5 | 6075 echo "configure: failed program was:" >&5 |
6070 cat conftest.$ac_ext >&5 | 6076 cat conftest.$ac_ext >&5 |
6083 if test $ac_cv_func_connect = no; then | 6089 if test $ac_cv_func_connect = no; then |
6084 | 6090 |
6085 xe_msg_checking="for connect in -lsocket" | 6091 xe_msg_checking="for connect in -lsocket" |
6086 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6092 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6087 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6093 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6088 echo "configure:6089: checking "$xe_msg_checking"" >&5 | 6094 echo "configure:6095: checking "$xe_msg_checking"" >&5 |
6089 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6095 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6090 | 6096 |
6091 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6097 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6092 cat > conftest.$ac_ext <<EOF | 6098 cat > conftest.$ac_ext <<EOF |
6093 #line 6094 "configure" | 6099 #line 6100 "configure" |
6094 #include "confdefs.h" | 6100 #include "confdefs.h" |
6095 /* Override any gcc2 internal prototype to avoid an error. */ | 6101 /* Override any gcc2 internal prototype to avoid an error. */ |
6096 /* We use char because int might match the return type of a gcc2 | 6102 /* We use char because int might match the return type of a gcc2 |
6097 builtin and then its argument prototype would still apply. */ | 6103 builtin and then its argument prototype would still apply. */ |
6098 char connect(); | 6104 char connect(); |
6099 | 6105 |
6100 int main() { | 6106 int main() { |
6101 connect() | 6107 connect() |
6102 ; return 0; } | 6108 ; return 0; } |
6103 EOF | 6109 EOF |
6104 if { (eval echo configure:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6105 rm -rf conftest* | 6111 rm -rf conftest* |
6106 eval "ac_cv_lib_$ac_lib_var=yes" | 6112 eval "ac_cv_lib_$ac_lib_var=yes" |
6107 else | 6113 else |
6108 echo "configure: failed program was:" >&5 | 6114 echo "configure: failed program was:" >&5 |
6109 cat conftest.$ac_ext >&5 | 6115 cat conftest.$ac_ext >&5 |
6123 | 6129 |
6124 fi | 6130 fi |
6125 | 6131 |
6126 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6132 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6127 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6133 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6128 echo "configure:6129: checking for remove" >&5 | 6134 echo "configure:6135: checking for remove" >&5 |
6129 | 6135 |
6130 cat > conftest.$ac_ext <<EOF | 6136 cat > conftest.$ac_ext <<EOF |
6131 #line 6132 "configure" | 6137 #line 6138 "configure" |
6132 #include "confdefs.h" | 6138 #include "confdefs.h" |
6133 /* System header to define __stub macros and hopefully few prototypes, | 6139 /* System header to define __stub macros and hopefully few prototypes, |
6134 which can conflict with char remove(); below. */ | 6140 which can conflict with char remove(); below. */ |
6135 #include <assert.h> | 6141 #include <assert.h> |
6136 /* Override any gcc2 internal prototype to avoid an error. */ | 6142 /* Override any gcc2 internal prototype to avoid an error. */ |
6149 remove(); | 6155 remove(); |
6150 #endif | 6156 #endif |
6151 | 6157 |
6152 ; return 0; } | 6158 ; return 0; } |
6153 EOF | 6159 EOF |
6154 if { (eval echo configure:6155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6160 if { (eval echo configure:6161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6155 rm -rf conftest* | 6161 rm -rf conftest* |
6156 eval "ac_cv_func_remove=yes" | 6162 eval "ac_cv_func_remove=yes" |
6157 else | 6163 else |
6158 echo "configure: failed program was:" >&5 | 6164 echo "configure: failed program was:" >&5 |
6159 cat conftest.$ac_ext >&5 | 6165 cat conftest.$ac_ext >&5 |
6170 fi | 6176 fi |
6171 | 6177 |
6172 if test $ac_cv_func_remove = no; then | 6178 if test $ac_cv_func_remove = no; then |
6173 | 6179 |
6174 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6180 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6175 echo "configure:6176: checking for remove in -lposix" >&5 | 6181 echo "configure:6182: checking for remove in -lposix" >&5 |
6176 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6182 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6177 | 6183 |
6178 xe_check_libs=" -lposix " | 6184 xe_check_libs=" -lposix " |
6179 cat > conftest.$ac_ext <<EOF | 6185 cat > conftest.$ac_ext <<EOF |
6180 #line 6181 "configure" | 6186 #line 6187 "configure" |
6181 #include "confdefs.h" | 6187 #include "confdefs.h" |
6182 /* Override any gcc2 internal prototype to avoid an error. */ | 6188 /* Override any gcc2 internal prototype to avoid an error. */ |
6183 /* We use char because int might match the return type of a gcc2 | 6189 /* We use char because int might match the return type of a gcc2 |
6184 builtin and then its argument prototype would still apply. */ | 6190 builtin and then its argument prototype would still apply. */ |
6185 char remove(); | 6191 char remove(); |
6186 | 6192 |
6187 int main() { | 6193 int main() { |
6188 remove() | 6194 remove() |
6189 ; return 0; } | 6195 ; return 0; } |
6190 EOF | 6196 EOF |
6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6197 if { (eval echo configure:6198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6192 rm -rf conftest* | 6198 rm -rf conftest* |
6193 eval "ac_cv_lib_$ac_lib_var=yes" | 6199 eval "ac_cv_lib_$ac_lib_var=yes" |
6194 else | 6200 else |
6195 echo "configure: failed program was:" >&5 | 6201 echo "configure: failed program was:" >&5 |
6196 cat conftest.$ac_ext >&5 | 6202 cat conftest.$ac_ext >&5 |
6210 | 6216 |
6211 fi | 6217 fi |
6212 | 6218 |
6213 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6219 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6214 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6220 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6215 echo "configure:6216: checking for shmat" >&5 | 6221 echo "configure:6222: checking for shmat" >&5 |
6216 | 6222 |
6217 cat > conftest.$ac_ext <<EOF | 6223 cat > conftest.$ac_ext <<EOF |
6218 #line 6219 "configure" | 6224 #line 6225 "configure" |
6219 #include "confdefs.h" | 6225 #include "confdefs.h" |
6220 /* System header to define __stub macros and hopefully few prototypes, | 6226 /* System header to define __stub macros and hopefully few prototypes, |
6221 which can conflict with char shmat(); below. */ | 6227 which can conflict with char shmat(); below. */ |
6222 #include <assert.h> | 6228 #include <assert.h> |
6223 /* Override any gcc2 internal prototype to avoid an error. */ | 6229 /* Override any gcc2 internal prototype to avoid an error. */ |
6236 shmat(); | 6242 shmat(); |
6237 #endif | 6243 #endif |
6238 | 6244 |
6239 ; return 0; } | 6245 ; return 0; } |
6240 EOF | 6246 EOF |
6241 if { (eval echo configure:6242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6247 if { (eval echo configure:6248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6242 rm -rf conftest* | 6248 rm -rf conftest* |
6243 eval "ac_cv_func_shmat=yes" | 6249 eval "ac_cv_func_shmat=yes" |
6244 else | 6250 else |
6245 echo "configure: failed program was:" >&5 | 6251 echo "configure: failed program was:" >&5 |
6246 cat conftest.$ac_ext >&5 | 6252 cat conftest.$ac_ext >&5 |
6257 fi | 6263 fi |
6258 | 6264 |
6259 if test $ac_cv_func_shmat = no; then | 6265 if test $ac_cv_func_shmat = no; then |
6260 | 6266 |
6261 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6267 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6262 echo "configure:6263: checking for shmat in -lipc" >&5 | 6268 echo "configure:6269: checking for shmat in -lipc" >&5 |
6263 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6269 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6264 | 6270 |
6265 xe_check_libs=" -lipc " | 6271 xe_check_libs=" -lipc " |
6266 cat > conftest.$ac_ext <<EOF | 6272 cat > conftest.$ac_ext <<EOF |
6267 #line 6268 "configure" | 6273 #line 6274 "configure" |
6268 #include "confdefs.h" | 6274 #include "confdefs.h" |
6269 /* Override any gcc2 internal prototype to avoid an error. */ | 6275 /* Override any gcc2 internal prototype to avoid an error. */ |
6270 /* We use char because int might match the return type of a gcc2 | 6276 /* We use char because int might match the return type of a gcc2 |
6271 builtin and then its argument prototype would still apply. */ | 6277 builtin and then its argument prototype would still apply. */ |
6272 char shmat(); | 6278 char shmat(); |
6273 | 6279 |
6274 int main() { | 6280 int main() { |
6275 shmat() | 6281 shmat() |
6276 ; return 0; } | 6282 ; return 0; } |
6277 EOF | 6283 EOF |
6278 if { (eval echo configure:6279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6284 if { (eval echo configure:6285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6279 rm -rf conftest* | 6285 rm -rf conftest* |
6280 eval "ac_cv_lib_$ac_lib_var=yes" | 6286 eval "ac_cv_lib_$ac_lib_var=yes" |
6281 else | 6287 else |
6282 echo "configure: failed program was:" >&5 | 6288 echo "configure: failed program was:" >&5 |
6283 cat conftest.$ac_ext >&5 | 6289 cat conftest.$ac_ext >&5 |
6309 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6315 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6310 | 6316 |
6311 xe_msg_checking="for IceConnectionNumber in -lICE" | 6317 xe_msg_checking="for IceConnectionNumber in -lICE" |
6312 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6318 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6313 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6319 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6314 echo "configure:6315: checking "$xe_msg_checking"" >&5 | 6320 echo "configure:6321: checking "$xe_msg_checking"" >&5 |
6315 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6321 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6316 | 6322 |
6317 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6323 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6318 cat > conftest.$ac_ext <<EOF | 6324 cat > conftest.$ac_ext <<EOF |
6319 #line 6320 "configure" | 6325 #line 6326 "configure" |
6320 #include "confdefs.h" | 6326 #include "confdefs.h" |
6321 /* Override any gcc2 internal prototype to avoid an error. */ | 6327 /* Override any gcc2 internal prototype to avoid an error. */ |
6322 /* We use char because int might match the return type of a gcc2 | 6328 /* We use char because int might match the return type of a gcc2 |
6323 builtin and then its argument prototype would still apply. */ | 6329 builtin and then its argument prototype would still apply. */ |
6324 char IceConnectionNumber(); | 6330 char IceConnectionNumber(); |
6325 | 6331 |
6326 int main() { | 6332 int main() { |
6327 IceConnectionNumber() | 6333 IceConnectionNumber() |
6328 ; return 0; } | 6334 ; return 0; } |
6329 EOF | 6335 EOF |
6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6331 rm -rf conftest* | 6337 rm -rf conftest* |
6332 eval "ac_cv_lib_$ac_lib_var=yes" | 6338 eval "ac_cv_lib_$ac_lib_var=yes" |
6333 else | 6339 else |
6334 echo "configure: failed program was:" >&5 | 6340 echo "configure: failed program was:" >&5 |
6335 cat conftest.$ac_ext >&5 | 6341 cat conftest.$ac_ext >&5 |
6492 EOF | 6498 EOF |
6493 } | 6499 } |
6494 | 6500 |
6495 | 6501 |
6496 echo "checking for X defines extracted by xmkmf" 1>&6 | 6502 echo "checking for X defines extracted by xmkmf" 1>&6 |
6497 echo "configure:6498: checking for X defines extracted by xmkmf" >&5 | 6503 echo "configure:6504: checking for X defines extracted by xmkmf" >&5 |
6498 rm -fr conftestdir | 6504 rm -fr conftestdir |
6499 if mkdir conftestdir; then | 6505 if mkdir conftestdir; then |
6500 cd conftestdir | 6506 cd conftestdir |
6501 cat > Imakefile <<'EOF' | 6507 cat > Imakefile <<'EOF' |
6502 xetest: | 6508 xetest: |
6541 done | 6547 done |
6542 fi | 6548 fi |
6543 | 6549 |
6544 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6550 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6545 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6551 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6546 echo "configure:6547: checking for X11/Intrinsic.h" >&5 | 6552 echo "configure:6553: checking for X11/Intrinsic.h" >&5 |
6547 | 6553 |
6548 cat > conftest.$ac_ext <<EOF | 6554 cat > conftest.$ac_ext <<EOF |
6549 #line 6550 "configure" | 6555 #line 6556 "configure" |
6550 #include "confdefs.h" | 6556 #include "confdefs.h" |
6551 #include <X11/Intrinsic.h> | 6557 #include <X11/Intrinsic.h> |
6552 EOF | 6558 EOF |
6553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6554 { (eval echo configure:6555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6560 { (eval echo configure:6561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6556 if test -z "$ac_err"; then | 6562 if test -z "$ac_err"; then |
6557 rm -rf conftest* | 6563 rm -rf conftest* |
6558 eval "ac_cv_header_$ac_safe=yes" | 6564 eval "ac_cv_header_$ac_safe=yes" |
6559 else | 6565 else |
6573 fi | 6579 fi |
6574 | 6580 |
6575 | 6581 |
6576 | 6582 |
6577 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6583 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6578 echo "configure:6579: checking for XOpenDisplay in -lX11" >&5 | 6584 echo "configure:6585: checking for XOpenDisplay in -lX11" >&5 |
6579 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6585 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6580 | 6586 |
6581 xe_check_libs=" -lX11 " | 6587 xe_check_libs=" -lX11 " |
6582 cat > conftest.$ac_ext <<EOF | 6588 cat > conftest.$ac_ext <<EOF |
6583 #line 6584 "configure" | 6589 #line 6590 "configure" |
6584 #include "confdefs.h" | 6590 #include "confdefs.h" |
6585 /* Override any gcc2 internal prototype to avoid an error. */ | 6591 /* Override any gcc2 internal prototype to avoid an error. */ |
6586 /* We use char because int might match the return type of a gcc2 | 6592 /* We use char because int might match the return type of a gcc2 |
6587 builtin and then its argument prototype would still apply. */ | 6593 builtin and then its argument prototype would still apply. */ |
6588 char XOpenDisplay(); | 6594 char XOpenDisplay(); |
6589 | 6595 |
6590 int main() { | 6596 int main() { |
6591 XOpenDisplay() | 6597 XOpenDisplay() |
6592 ; return 0; } | 6598 ; return 0; } |
6593 EOF | 6599 EOF |
6594 if { (eval echo configure:6595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6600 if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6595 rm -rf conftest* | 6601 rm -rf conftest* |
6596 eval "ac_cv_lib_$ac_lib_var=yes" | 6602 eval "ac_cv_lib_$ac_lib_var=yes" |
6597 else | 6603 else |
6598 echo "configure: failed program was:" >&5 | 6604 echo "configure: failed program was:" >&5 |
6599 cat conftest.$ac_ext >&5 | 6605 cat conftest.$ac_ext >&5 |
6614 if test "$have_lib_x11" != "yes"; then | 6620 if test "$have_lib_x11" != "yes"; then |
6615 | 6621 |
6616 xe_msg_checking="for XGetFontProperty in -lX11" | 6622 xe_msg_checking="for XGetFontProperty in -lX11" |
6617 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6623 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6618 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6624 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6619 echo "configure:6620: checking "$xe_msg_checking"" >&5 | 6625 echo "configure:6626: checking "$xe_msg_checking"" >&5 |
6620 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6626 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6621 | 6627 |
6622 xe_check_libs=" -lX11 -b i486-linuxaout" | 6628 xe_check_libs=" -lX11 -b i486-linuxaout" |
6623 cat > conftest.$ac_ext <<EOF | 6629 cat > conftest.$ac_ext <<EOF |
6624 #line 6625 "configure" | 6630 #line 6631 "configure" |
6625 #include "confdefs.h" | 6631 #include "confdefs.h" |
6626 /* Override any gcc2 internal prototype to avoid an error. */ | 6632 /* Override any gcc2 internal prototype to avoid an error. */ |
6627 /* We use char because int might match the return type of a gcc2 | 6633 /* We use char because int might match the return type of a gcc2 |
6628 builtin and then its argument prototype would still apply. */ | 6634 builtin and then its argument prototype would still apply. */ |
6629 char XGetFontProperty(); | 6635 char XGetFontProperty(); |
6630 | 6636 |
6631 int main() { | 6637 int main() { |
6632 XGetFontProperty() | 6638 XGetFontProperty() |
6633 ; return 0; } | 6639 ; return 0; } |
6634 EOF | 6640 EOF |
6635 if { (eval echo configure:6636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6641 if { (eval echo configure:6642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6636 rm -rf conftest* | 6642 rm -rf conftest* |
6637 eval "ac_cv_lib_$ac_lib_var=yes" | 6643 eval "ac_cv_lib_$ac_lib_var=yes" |
6638 else | 6644 else |
6639 echo "configure: failed program was:" >&5 | 6645 echo "configure: failed program was:" >&5 |
6640 cat conftest.$ac_ext >&5 | 6646 cat conftest.$ac_ext >&5 |
6657 libs_x="-lX11" | 6663 libs_x="-lX11" |
6658 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6664 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6659 | 6665 |
6660 | 6666 |
6661 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6667 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6662 echo "configure:6663: checking for XShapeSelectInput in -lXext" >&5 | 6668 echo "configure:6669: checking for XShapeSelectInput in -lXext" >&5 |
6663 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6669 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6664 | 6670 |
6665 xe_check_libs=" -lXext " | 6671 xe_check_libs=" -lXext " |
6666 cat > conftest.$ac_ext <<EOF | 6672 cat > conftest.$ac_ext <<EOF |
6667 #line 6668 "configure" | 6673 #line 6674 "configure" |
6668 #include "confdefs.h" | 6674 #include "confdefs.h" |
6669 /* Override any gcc2 internal prototype to avoid an error. */ | 6675 /* Override any gcc2 internal prototype to avoid an error. */ |
6670 /* We use char because int might match the return type of a gcc2 | 6676 /* We use char because int might match the return type of a gcc2 |
6671 builtin and then its argument prototype would still apply. */ | 6677 builtin and then its argument prototype would still apply. */ |
6672 char XShapeSelectInput(); | 6678 char XShapeSelectInput(); |
6673 | 6679 |
6674 int main() { | 6680 int main() { |
6675 XShapeSelectInput() | 6681 XShapeSelectInput() |
6676 ; return 0; } | 6682 ; return 0; } |
6677 EOF | 6683 EOF |
6678 if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6684 if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6679 rm -rf conftest* | 6685 rm -rf conftest* |
6680 eval "ac_cv_lib_$ac_lib_var=yes" | 6686 eval "ac_cv_lib_$ac_lib_var=yes" |
6681 else | 6687 else |
6682 echo "configure: failed program was:" >&5 | 6688 echo "configure: failed program was:" >&5 |
6683 cat conftest.$ac_ext >&5 | 6689 cat conftest.$ac_ext >&5 |
6696 | 6702 |
6697 | 6703 |
6698 | 6704 |
6699 | 6705 |
6700 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6706 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6701 echo "configure:6702: checking for XtOpenDisplay in -lXt" >&5 | 6707 echo "configure:6708: checking for XtOpenDisplay in -lXt" >&5 |
6702 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6708 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6703 | 6709 |
6704 xe_check_libs=" -lXt " | 6710 xe_check_libs=" -lXt " |
6705 cat > conftest.$ac_ext <<EOF | 6711 cat > conftest.$ac_ext <<EOF |
6706 #line 6707 "configure" | 6712 #line 6713 "configure" |
6707 #include "confdefs.h" | 6713 #include "confdefs.h" |
6708 /* Override any gcc2 internal prototype to avoid an error. */ | 6714 /* Override any gcc2 internal prototype to avoid an error. */ |
6709 /* We use char because int might match the return type of a gcc2 | 6715 /* We use char because int might match the return type of a gcc2 |
6710 builtin and then its argument prototype would still apply. */ | 6716 builtin and then its argument prototype would still apply. */ |
6711 char XtOpenDisplay(); | 6717 char XtOpenDisplay(); |
6712 | 6718 |
6713 int main() { | 6719 int main() { |
6714 XtOpenDisplay() | 6720 XtOpenDisplay() |
6715 ; return 0; } | 6721 ; return 0; } |
6716 EOF | 6722 EOF |
6717 if { (eval echo configure:6718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6723 if { (eval echo configure:6724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6718 rm -rf conftest* | 6724 rm -rf conftest* |
6719 eval "ac_cv_lib_$ac_lib_var=yes" | 6725 eval "ac_cv_lib_$ac_lib_var=yes" |
6720 else | 6726 else |
6721 echo "configure: failed program was:" >&5 | 6727 echo "configure: failed program was:" >&5 |
6722 cat conftest.$ac_ext >&5 | 6728 cat conftest.$ac_ext >&5 |
6735 fi | 6741 fi |
6736 | 6742 |
6737 | 6743 |
6738 | 6744 |
6739 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6745 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6740 echo "configure:6741: checking the version of X11 being used" >&5 | 6746 echo "configure:6747: checking the version of X11 being used" >&5 |
6741 cat > conftest.$ac_ext <<EOF | 6747 cat > conftest.$ac_ext <<EOF |
6742 #line 6743 "configure" | 6748 #line 6749 "configure" |
6743 #include "confdefs.h" | 6749 #include "confdefs.h" |
6744 #include <X11/Intrinsic.h> | 6750 #include <X11/Intrinsic.h> |
6745 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6751 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6746 EOF | 6752 EOF |
6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6753 if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6748 then | 6754 then |
6749 ./conftest foobar; x11_release=$? | 6755 ./conftest foobar; x11_release=$? |
6750 else | 6756 else |
6751 conftest_rc="$?" | 6757 conftest_rc="$?" |
6752 echo "configure: failed program was:" >&5 | 6758 echo "configure: failed program was:" >&5 |
6773 fi | 6779 fi |
6774 | 6780 |
6775 for ac_func in XConvertCase | 6781 for ac_func in XConvertCase |
6776 do | 6782 do |
6777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6778 echo "configure:6779: checking for $ac_func" >&5 | 6784 echo "configure:6785: checking for $ac_func" >&5 |
6779 | 6785 |
6780 cat > conftest.$ac_ext <<EOF | 6786 cat > conftest.$ac_ext <<EOF |
6781 #line 6782 "configure" | 6787 #line 6788 "configure" |
6782 #include "confdefs.h" | 6788 #include "confdefs.h" |
6783 /* System header to define __stub macros and hopefully few prototypes, | 6789 /* System header to define __stub macros and hopefully few prototypes, |
6784 which can conflict with char $ac_func(); below. */ | 6790 which can conflict with char $ac_func(); below. */ |
6785 #include <assert.h> | 6791 #include <assert.h> |
6786 /* Override any gcc2 internal prototype to avoid an error. */ | 6792 /* Override any gcc2 internal prototype to avoid an error. */ |
6799 $ac_func(); | 6805 $ac_func(); |
6800 #endif | 6806 #endif |
6801 | 6807 |
6802 ; return 0; } | 6808 ; return 0; } |
6803 EOF | 6809 EOF |
6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6810 if { (eval echo configure:6811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6805 rm -rf conftest* | 6811 rm -rf conftest* |
6806 eval "ac_cv_func_$ac_func=yes" | 6812 eval "ac_cv_func_$ac_func=yes" |
6807 else | 6813 else |
6808 echo "configure: failed program was:" >&5 | 6814 echo "configure: failed program was:" >&5 |
6809 cat conftest.$ac_ext >&5 | 6815 cat conftest.$ac_ext >&5 |
6831 | 6837 |
6832 for ac_hdr in X11/Xlocale.h | 6838 for ac_hdr in X11/Xlocale.h |
6833 do | 6839 do |
6834 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6840 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6835 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6836 echo "configure:6837: checking for $ac_hdr" >&5 | 6842 echo "configure:6843: checking for $ac_hdr" >&5 |
6837 | 6843 |
6838 cat > conftest.$ac_ext <<EOF | 6844 cat > conftest.$ac_ext <<EOF |
6839 #line 6840 "configure" | 6845 #line 6846 "configure" |
6840 #include "confdefs.h" | 6846 #include "confdefs.h" |
6841 #include <$ac_hdr> | 6847 #include <$ac_hdr> |
6842 EOF | 6848 EOF |
6843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6844 { (eval echo configure:6845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6850 { (eval echo configure:6851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6846 if test -z "$ac_err"; then | 6852 if test -z "$ac_err"; then |
6847 rm -rf conftest* | 6853 rm -rf conftest* |
6848 eval "ac_cv_header_$ac_safe=yes" | 6854 eval "ac_cv_header_$ac_safe=yes" |
6849 else | 6855 else |
6872 | 6878 |
6873 | 6879 |
6874 for ac_func in XRegisterIMInstantiateCallback | 6880 for ac_func in XRegisterIMInstantiateCallback |
6875 do | 6881 do |
6876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6877 echo "configure:6878: checking for $ac_func" >&5 | 6883 echo "configure:6884: checking for $ac_func" >&5 |
6878 | 6884 |
6879 cat > conftest.$ac_ext <<EOF | 6885 cat > conftest.$ac_ext <<EOF |
6880 #line 6881 "configure" | 6886 #line 6887 "configure" |
6881 #include "confdefs.h" | 6887 #include "confdefs.h" |
6882 /* System header to define __stub macros and hopefully few prototypes, | 6888 /* System header to define __stub macros and hopefully few prototypes, |
6883 which can conflict with char $ac_func(); below. */ | 6889 which can conflict with char $ac_func(); below. */ |
6884 #include <assert.h> | 6890 #include <assert.h> |
6885 /* Override any gcc2 internal prototype to avoid an error. */ | 6891 /* Override any gcc2 internal prototype to avoid an error. */ |
6898 $ac_func(); | 6904 $ac_func(); |
6899 #endif | 6905 #endif |
6900 | 6906 |
6901 ; return 0; } | 6907 ; return 0; } |
6902 EOF | 6908 EOF |
6903 if { (eval echo configure:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6909 if { (eval echo configure:6910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6904 rm -rf conftest* | 6910 rm -rf conftest* |
6905 eval "ac_cv_func_$ac_func=yes" | 6911 eval "ac_cv_func_$ac_func=yes" |
6906 else | 6912 else |
6907 echo "configure: failed program was:" >&5 | 6913 echo "configure: failed program was:" >&5 |
6908 cat conftest.$ac_ext >&5 | 6914 cat conftest.$ac_ext >&5 |
6926 echo "$ac_t""no" 1>&6 | 6932 echo "$ac_t""no" 1>&6 |
6927 fi | 6933 fi |
6928 done | 6934 done |
6929 | 6935 |
6930 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6936 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6931 echo "configure:6932: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6937 echo "configure:6938: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6932 cat > conftest.$ac_ext <<EOF | 6938 cat > conftest.$ac_ext <<EOF |
6933 #line 6934 "configure" | 6939 #line 6940 "configure" |
6934 #include "confdefs.h" | 6940 #include "confdefs.h" |
6935 | 6941 |
6936 #define NeedFunctionPrototypes 1 | 6942 #define NeedFunctionPrototypes 1 |
6937 #include <X11/Xlib.h> | 6943 #include <X11/Xlib.h> |
6938 extern Bool XRegisterIMInstantiateCallback( | 6944 extern Bool XRegisterIMInstantiateCallback( |
6940 | 6946 |
6941 int main() { | 6947 int main() { |
6942 | 6948 |
6943 ; return 0; } | 6949 ; return 0; } |
6944 EOF | 6950 EOF |
6945 if { (eval echo configure:6946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6951 if { (eval echo configure:6952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6946 rm -rf conftest* | 6952 rm -rf conftest* |
6947 echo "$ac_t""yes" 1>&6 | 6953 echo "$ac_t""yes" 1>&6 |
6948 else | 6954 else |
6949 echo "configure: failed program was:" >&5 | 6955 echo "configure: failed program was:" >&5 |
6950 cat conftest.$ac_ext >&5 | 6956 cat conftest.$ac_ext >&5 |
6961 fi | 6967 fi |
6962 rm -f conftest* | 6968 rm -f conftest* |
6963 | 6969 |
6964 test -z "$with_xmu" && { | 6970 test -z "$with_xmu" && { |
6965 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6971 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6966 echo "configure:6967: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6972 echo "configure:6973: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6967 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6973 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6968 | 6974 |
6969 xe_check_libs=" -lXmu " | 6975 xe_check_libs=" -lXmu " |
6970 cat > conftest.$ac_ext <<EOF | 6976 cat > conftest.$ac_ext <<EOF |
6971 #line 6972 "configure" | 6977 #line 6978 "configure" |
6972 #include "confdefs.h" | 6978 #include "confdefs.h" |
6973 /* Override any gcc2 internal prototype to avoid an error. */ | 6979 /* Override any gcc2 internal prototype to avoid an error. */ |
6974 /* We use char because int might match the return type of a gcc2 | 6980 /* We use char because int might match the return type of a gcc2 |
6975 builtin and then its argument prototype would still apply. */ | 6981 builtin and then its argument prototype would still apply. */ |
6976 char XmuReadBitmapDataFromFile(); | 6982 char XmuReadBitmapDataFromFile(); |
6977 | 6983 |
6978 int main() { | 6984 int main() { |
6979 XmuReadBitmapDataFromFile() | 6985 XmuReadBitmapDataFromFile() |
6980 ; return 0; } | 6986 ; return 0; } |
6981 EOF | 6987 EOF |
6982 if { (eval echo configure:6983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6988 if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6983 rm -rf conftest* | 6989 rm -rf conftest* |
6984 eval "ac_cv_lib_$ac_lib_var=yes" | 6990 eval "ac_cv_lib_$ac_lib_var=yes" |
6985 else | 6991 else |
6986 echo "configure: failed program was:" >&5 | 6992 echo "configure: failed program was:" >&5 |
6987 cat conftest.$ac_ext >&5 | 6993 cat conftest.$ac_ext >&5 |
7016 | 7022 |
7017 fi | 7023 fi |
7018 | 7024 |
7019 | 7025 |
7020 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7026 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7021 echo "configure:7022: checking for main in -lXbsd" >&5 | 7027 echo "configure:7028: checking for main in -lXbsd" >&5 |
7022 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7028 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7023 | 7029 |
7024 xe_check_libs=" -lXbsd " | 7030 xe_check_libs=" -lXbsd " |
7025 cat > conftest.$ac_ext <<EOF | 7031 cat > conftest.$ac_ext <<EOF |
7026 #line 7027 "configure" | 7032 #line 7033 "configure" |
7027 #include "confdefs.h" | 7033 #include "confdefs.h" |
7028 | 7034 |
7029 int main() { | 7035 int main() { |
7030 main() | 7036 main() |
7031 ; return 0; } | 7037 ; return 0; } |
7032 EOF | 7038 EOF |
7033 if { (eval echo configure:7034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7039 if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7034 rm -rf conftest* | 7040 rm -rf conftest* |
7035 eval "ac_cv_lib_$ac_lib_var=yes" | 7041 eval "ac_cv_lib_$ac_lib_var=yes" |
7036 else | 7042 else |
7037 echo "configure: failed program was:" >&5 | 7043 echo "configure: failed program was:" >&5 |
7038 cat conftest.$ac_ext >&5 | 7044 cat conftest.$ac_ext >&5 |
7065 fi | 7071 fi |
7066 | 7072 |
7067 fi | 7073 fi |
7068 if test "$with_msw" != "no"; then | 7074 if test "$with_msw" != "no"; then |
7069 echo "checking for MS-Windows" 1>&6 | 7075 echo "checking for MS-Windows" 1>&6 |
7070 echo "configure:7071: checking for MS-Windows" >&5 | 7076 echo "configure:7077: checking for MS-Windows" >&5 |
7071 | 7077 |
7072 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7078 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7073 echo "configure:7074: checking for main in -lgdi32" >&5 | 7079 echo "configure:7080: checking for main in -lgdi32" >&5 |
7074 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7080 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7075 | 7081 |
7076 xe_check_libs=" -lgdi32 " | 7082 xe_check_libs=" -lgdi32 " |
7077 cat > conftest.$ac_ext <<EOF | 7083 cat > conftest.$ac_ext <<EOF |
7078 #line 7079 "configure" | 7084 #line 7085 "configure" |
7079 #include "confdefs.h" | 7085 #include "confdefs.h" |
7080 | 7086 |
7081 int main() { | 7087 int main() { |
7082 main() | 7088 main() |
7083 ; return 0; } | 7089 ; return 0; } |
7084 EOF | 7090 EOF |
7085 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7086 rm -rf conftest* | 7092 rm -rf conftest* |
7087 eval "ac_cv_lib_$ac_lib_var=yes" | 7093 eval "ac_cv_lib_$ac_lib_var=yes" |
7088 else | 7094 else |
7089 echo "configure: failed program was:" >&5 | 7095 echo "configure: failed program was:" >&5 |
7090 cat conftest.$ac_ext >&5 | 7096 cat conftest.$ac_ext >&5 |
7153 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7159 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7154 echo " xemacs will be linked with \"dialog-msw.o\"" | 7160 echo " xemacs will be linked with \"dialog-msw.o\"" |
7155 fi | 7161 fi |
7156 fi | 7162 fi |
7157 cat > conftest.$ac_ext <<EOF | 7163 cat > conftest.$ac_ext <<EOF |
7158 #line 7159 "configure" | 7164 #line 7165 "configure" |
7159 #include "confdefs.h" | 7165 #include "confdefs.h" |
7160 #include <fcntl.h> | 7166 #include <fcntl.h> |
7161 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7167 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7162 EOF | 7168 EOF |
7163 if { (eval echo configure:7164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7169 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7164 then | 7170 then |
7165 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF | 7171 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF |
7166 Defining HAVE_MSG_SELECT | 7172 Defining HAVE_MSG_SELECT |
7167 EOF | 7173 EOF |
7168 cat >> confdefs.h <<\EOF | 7174 cat >> confdefs.h <<\EOF |
7222 fi | 7228 fi |
7223 | 7229 |
7224 if test "$with_x11" = "yes"; then | 7230 if test "$with_x11" = "yes"; then |
7225 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7231 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7226 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7232 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7227 echo "configure:7228: checking for X11/extensions/shape.h" >&5 | 7233 echo "configure:7234: checking for X11/extensions/shape.h" >&5 |
7228 | 7234 |
7229 cat > conftest.$ac_ext <<EOF | 7235 cat > conftest.$ac_ext <<EOF |
7230 #line 7231 "configure" | 7236 #line 7237 "configure" |
7231 #include "confdefs.h" | 7237 #include "confdefs.h" |
7232 #include <X11/extensions/shape.h> | 7238 #include <X11/extensions/shape.h> |
7233 EOF | 7239 EOF |
7234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7235 { (eval echo configure:7236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7241 { (eval echo configure:7242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7237 if test -z "$ac_err"; then | 7243 if test -z "$ac_err"; then |
7238 rm -rf conftest* | 7244 rm -rf conftest* |
7239 eval "ac_cv_header_$ac_safe=yes" | 7245 eval "ac_cv_header_$ac_safe=yes" |
7240 else | 7246 else |
7282 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7288 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7283 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7289 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7284 esac | 7290 esac |
7285 | 7291 |
7286 echo "checking for WM_COMMAND option" 1>&6 | 7292 echo "checking for WM_COMMAND option" 1>&6 |
7287 echo "configure:7288: checking for WM_COMMAND option" >&5; | 7293 echo "configure:7294: checking for WM_COMMAND option" >&5; |
7288 if test "$with_wmcommand" != "no"; then | 7294 if test "$with_wmcommand" != "no"; then |
7289 { test "$extra_verbose" = "yes" && cat << \EOF | 7295 { test "$extra_verbose" = "yes" && cat << \EOF |
7290 Defining HAVE_WMCOMMAND | 7296 Defining HAVE_WMCOMMAND |
7291 EOF | 7297 EOF |
7292 cat >> confdefs.h <<\EOF | 7298 cat >> confdefs.h <<\EOF |
7297 fi | 7303 fi |
7298 | 7304 |
7299 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7305 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7300 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7306 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7301 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7307 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7302 echo "configure:7303: checking for X11/Xauth.h" >&5 | 7308 echo "configure:7309: checking for X11/Xauth.h" >&5 |
7303 | 7309 |
7304 cat > conftest.$ac_ext <<EOF | 7310 cat > conftest.$ac_ext <<EOF |
7305 #line 7306 "configure" | 7311 #line 7312 "configure" |
7306 #include "confdefs.h" | 7312 #include "confdefs.h" |
7307 #include <X11/Xauth.h> | 7313 #include <X11/Xauth.h> |
7308 EOF | 7314 EOF |
7309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7310 { (eval echo configure:7311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7316 { (eval echo configure:7317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7312 if test -z "$ac_err"; then | 7318 if test -z "$ac_err"; then |
7313 rm -rf conftest* | 7319 rm -rf conftest* |
7314 eval "ac_cv_header_$ac_safe=yes" | 7320 eval "ac_cv_header_$ac_safe=yes" |
7315 else | 7321 else |
7328 with_xauth=no | 7334 with_xauth=no |
7329 fi | 7335 fi |
7330 } | 7336 } |
7331 test -z "$with_xauth" && { | 7337 test -z "$with_xauth" && { |
7332 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7338 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7333 echo "configure:7334: checking for XauGetAuthByAddr in -lXau" >&5 | 7339 echo "configure:7340: checking for XauGetAuthByAddr in -lXau" >&5 |
7334 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7340 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7335 | 7341 |
7336 xe_check_libs=" -lXau " | 7342 xe_check_libs=" -lXau " |
7337 cat > conftest.$ac_ext <<EOF | 7343 cat > conftest.$ac_ext <<EOF |
7338 #line 7339 "configure" | 7344 #line 7345 "configure" |
7339 #include "confdefs.h" | 7345 #include "confdefs.h" |
7340 /* Override any gcc2 internal prototype to avoid an error. */ | 7346 /* Override any gcc2 internal prototype to avoid an error. */ |
7341 /* We use char because int might match the return type of a gcc2 | 7347 /* We use char because int might match the return type of a gcc2 |
7342 builtin and then its argument prototype would still apply. */ | 7348 builtin and then its argument prototype would still apply. */ |
7343 char XauGetAuthByAddr(); | 7349 char XauGetAuthByAddr(); |
7344 | 7350 |
7345 int main() { | 7351 int main() { |
7346 XauGetAuthByAddr() | 7352 XauGetAuthByAddr() |
7347 ; return 0; } | 7353 ; return 0; } |
7348 EOF | 7354 EOF |
7349 if { (eval echo configure:7350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7350 rm -rf conftest* | 7356 rm -rf conftest* |
7351 eval "ac_cv_lib_$ac_lib_var=yes" | 7357 eval "ac_cv_lib_$ac_lib_var=yes" |
7352 else | 7358 else |
7353 echo "configure: failed program was:" >&5 | 7359 echo "configure: failed program was:" >&5 |
7354 cat conftest.$ac_ext >&5 | 7360 cat conftest.$ac_ext >&5 |
7389 | 7395 |
7390 if test "$with_tooltalk" != "no" ; then | 7396 if test "$with_tooltalk" != "no" ; then |
7391 for dir in "" "Tt/" "desktop/" ; do | 7397 for dir in "" "Tt/" "desktop/" ; do |
7392 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7398 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7393 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7399 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7394 echo "configure:7395: checking for ${dir}tt_c.h" >&5 | 7400 echo "configure:7401: checking for ${dir}tt_c.h" >&5 |
7395 | 7401 |
7396 cat > conftest.$ac_ext <<EOF | 7402 cat > conftest.$ac_ext <<EOF |
7397 #line 7398 "configure" | 7403 #line 7404 "configure" |
7398 #include "confdefs.h" | 7404 #include "confdefs.h" |
7399 #include <${dir}tt_c.h> | 7405 #include <${dir}tt_c.h> |
7400 EOF | 7406 EOF |
7401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7402 { (eval echo configure:7403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7408 { (eval echo configure:7409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7404 if test -z "$ac_err"; then | 7410 if test -z "$ac_err"; then |
7405 rm -rf conftest* | 7411 rm -rf conftest* |
7406 eval "ac_cv_header_$ac_safe=yes" | 7412 eval "ac_cv_header_$ac_safe=yes" |
7407 else | 7413 else |
7433 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7439 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7434 | 7440 |
7435 xe_msg_checking="for tt_message_create in -ltt" | 7441 xe_msg_checking="for tt_message_create in -ltt" |
7436 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7442 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7437 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7443 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7438 echo "configure:7439: checking "$xe_msg_checking"" >&5 | 7444 echo "configure:7445: checking "$xe_msg_checking"" >&5 |
7439 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7445 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7440 | 7446 |
7441 xe_check_libs=" -ltt $extra_libs" | 7447 xe_check_libs=" -ltt $extra_libs" |
7442 cat > conftest.$ac_ext <<EOF | 7448 cat > conftest.$ac_ext <<EOF |
7443 #line 7444 "configure" | 7449 #line 7450 "configure" |
7444 #include "confdefs.h" | 7450 #include "confdefs.h" |
7445 /* Override any gcc2 internal prototype to avoid an error. */ | 7451 /* Override any gcc2 internal prototype to avoid an error. */ |
7446 /* We use char because int might match the return type of a gcc2 | 7452 /* We use char because int might match the return type of a gcc2 |
7447 builtin and then its argument prototype would still apply. */ | 7453 builtin and then its argument prototype would still apply. */ |
7448 char tt_message_create(); | 7454 char tt_message_create(); |
7449 | 7455 |
7450 int main() { | 7456 int main() { |
7451 tt_message_create() | 7457 tt_message_create() |
7452 ; return 0; } | 7458 ; return 0; } |
7453 EOF | 7459 EOF |
7454 if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7460 if { (eval echo configure:7461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7455 rm -rf conftest* | 7461 rm -rf conftest* |
7456 eval "ac_cv_lib_$ac_lib_var=yes" | 7462 eval "ac_cv_lib_$ac_lib_var=yes" |
7457 else | 7463 else |
7458 echo "configure: failed program was:" >&5 | 7464 echo "configure: failed program was:" >&5 |
7459 cat conftest.$ac_ext >&5 | 7465 cat conftest.$ac_ext >&5 |
7506 fi | 7512 fi |
7507 fi | 7513 fi |
7508 | 7514 |
7509 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7515 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7510 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7516 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7511 echo "configure:7512: checking for Dt/Dt.h" >&5 | 7517 echo "configure:7518: checking for Dt/Dt.h" >&5 |
7512 | 7518 |
7513 cat > conftest.$ac_ext <<EOF | 7519 cat > conftest.$ac_ext <<EOF |
7514 #line 7515 "configure" | 7520 #line 7521 "configure" |
7515 #include "confdefs.h" | 7521 #include "confdefs.h" |
7516 #include <Dt/Dt.h> | 7522 #include <Dt/Dt.h> |
7517 EOF | 7523 EOF |
7518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7519 { (eval echo configure:7520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7525 { (eval echo configure:7526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7521 if test -z "$ac_err"; then | 7527 if test -z "$ac_err"; then |
7522 rm -rf conftest* | 7528 rm -rf conftest* |
7523 eval "ac_cv_header_$ac_safe=yes" | 7529 eval "ac_cv_header_$ac_safe=yes" |
7524 else | 7530 else |
7537 with_cde=no | 7543 with_cde=no |
7538 fi | 7544 fi |
7539 } | 7545 } |
7540 test -z "$with_cde" && { | 7546 test -z "$with_cde" && { |
7541 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7547 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7542 echo "configure:7543: checking for DtDndDragStart in -lDtSvc" >&5 | 7548 echo "configure:7549: checking for DtDndDragStart in -lDtSvc" >&5 |
7543 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7549 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7544 | 7550 |
7545 xe_check_libs=" -lDtSvc " | 7551 xe_check_libs=" -lDtSvc " |
7546 cat > conftest.$ac_ext <<EOF | 7552 cat > conftest.$ac_ext <<EOF |
7547 #line 7548 "configure" | 7553 #line 7554 "configure" |
7548 #include "confdefs.h" | 7554 #include "confdefs.h" |
7549 /* Override any gcc2 internal prototype to avoid an error. */ | 7555 /* Override any gcc2 internal prototype to avoid an error. */ |
7550 /* We use char because int might match the return type of a gcc2 | 7556 /* We use char because int might match the return type of a gcc2 |
7551 builtin and then its argument prototype would still apply. */ | 7557 builtin and then its argument prototype would still apply. */ |
7552 char DtDndDragStart(); | 7558 char DtDndDragStart(); |
7553 | 7559 |
7554 int main() { | 7560 int main() { |
7555 DtDndDragStart() | 7561 DtDndDragStart() |
7556 ; return 0; } | 7562 ; return 0; } |
7557 EOF | 7563 EOF |
7558 if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7564 if { (eval echo configure:7565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7559 rm -rf conftest* | 7565 rm -rf conftest* |
7560 eval "ac_cv_lib_$ac_lib_var=yes" | 7566 eval "ac_cv_lib_$ac_lib_var=yes" |
7561 else | 7567 else |
7562 echo "configure: failed program was:" >&5 | 7568 echo "configure: failed program was:" >&5 |
7563 cat conftest.$ac_ext >&5 | 7569 cat conftest.$ac_ext >&5 |
7634 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7640 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7635 fi | 7641 fi |
7636 | 7642 |
7637 if test "$with_dragndrop" != "no" ; then | 7643 if test "$with_dragndrop" != "no" ; then |
7638 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7644 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7639 echo "configure:7640: checking if drag and drop API is needed" >&5 | 7645 echo "configure:7646: checking if drag and drop API is needed" >&5 |
7640 if test -n "$dragndrop_proto" ; then | 7646 if test -n "$dragndrop_proto" ; then |
7641 with_dragndrop=yes | 7647 with_dragndrop=yes |
7642 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7648 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7643 { test "$extra_verbose" = "yes" && cat << \EOF | 7649 { test "$extra_verbose" = "yes" && cat << \EOF |
7644 Defining HAVE_DRAGNDROP | 7650 Defining HAVE_DRAGNDROP |
7654 echo "$ac_t""no" 1>&6 | 7660 echo "$ac_t""no" 1>&6 |
7655 fi | 7661 fi |
7656 fi | 7662 fi |
7657 | 7663 |
7658 echo "checking for LDAP" 1>&6 | 7664 echo "checking for LDAP" 1>&6 |
7659 echo "configure:7660: checking for LDAP" >&5 | 7665 echo "configure:7666: checking for LDAP" >&5 |
7660 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7666 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7661 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7667 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7662 echo "configure:7663: checking for ldap.h" >&5 | 7668 echo "configure:7669: checking for ldap.h" >&5 |
7663 | 7669 |
7664 cat > conftest.$ac_ext <<EOF | 7670 cat > conftest.$ac_ext <<EOF |
7665 #line 7666 "configure" | 7671 #line 7672 "configure" |
7666 #include "confdefs.h" | 7672 #include "confdefs.h" |
7667 #include <ldap.h> | 7673 #include <ldap.h> |
7668 EOF | 7674 EOF |
7669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7670 { (eval echo configure:7671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7676 { (eval echo configure:7677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7672 if test -z "$ac_err"; then | 7678 if test -z "$ac_err"; then |
7673 rm -rf conftest* | 7679 rm -rf conftest* |
7674 eval "ac_cv_header_$ac_safe=yes" | 7680 eval "ac_cv_header_$ac_safe=yes" |
7675 else | 7681 else |
7688 with_ldap=no | 7694 with_ldap=no |
7689 fi | 7695 fi |
7690 } | 7696 } |
7691 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7697 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7692 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7698 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7693 echo "configure:7694: checking for lber.h" >&5 | 7699 echo "configure:7700: checking for lber.h" >&5 |
7694 | 7700 |
7695 cat > conftest.$ac_ext <<EOF | 7701 cat > conftest.$ac_ext <<EOF |
7696 #line 7697 "configure" | 7702 #line 7703 "configure" |
7697 #include "confdefs.h" | 7703 #include "confdefs.h" |
7698 #include <lber.h> | 7704 #include <lber.h> |
7699 EOF | 7705 EOF |
7700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7701 { (eval echo configure:7702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7707 { (eval echo configure:7708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7703 if test -z "$ac_err"; then | 7709 if test -z "$ac_err"; then |
7704 rm -rf conftest* | 7710 rm -rf conftest* |
7705 eval "ac_cv_header_$ac_safe=yes" | 7711 eval "ac_cv_header_$ac_safe=yes" |
7706 else | 7712 else |
7720 fi | 7726 fi |
7721 } | 7727 } |
7722 if test "$with_ldap" != "no"; then | 7728 if test "$with_ldap" != "no"; then |
7723 | 7729 |
7724 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7730 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7725 echo "configure:7726: checking for ldap_search in -lldap" >&5 | 7731 echo "configure:7732: checking for ldap_search in -lldap" >&5 |
7726 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7732 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7727 | 7733 |
7728 xe_check_libs=" -lldap " | 7734 xe_check_libs=" -lldap " |
7729 cat > conftest.$ac_ext <<EOF | 7735 cat > conftest.$ac_ext <<EOF |
7730 #line 7731 "configure" | 7736 #line 7737 "configure" |
7731 #include "confdefs.h" | 7737 #include "confdefs.h" |
7732 /* Override any gcc2 internal prototype to avoid an error. */ | 7738 /* Override any gcc2 internal prototype to avoid an error. */ |
7733 /* We use char because int might match the return type of a gcc2 | 7739 /* We use char because int might match the return type of a gcc2 |
7734 builtin and then its argument prototype would still apply. */ | 7740 builtin and then its argument prototype would still apply. */ |
7735 char ldap_search(); | 7741 char ldap_search(); |
7736 | 7742 |
7737 int main() { | 7743 int main() { |
7738 ldap_search() | 7744 ldap_search() |
7739 ; return 0; } | 7745 ; return 0; } |
7740 EOF | 7746 EOF |
7741 if { (eval echo configure:7742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7747 if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7742 rm -rf conftest* | 7748 rm -rf conftest* |
7743 eval "ac_cv_lib_$ac_lib_var=yes" | 7749 eval "ac_cv_lib_$ac_lib_var=yes" |
7744 else | 7750 else |
7745 echo "configure: failed program was:" >&5 | 7751 echo "configure: failed program was:" >&5 |
7746 cat conftest.$ac_ext >&5 | 7752 cat conftest.$ac_ext >&5 |
7761 | 7767 |
7762 test "$with_ldap_nolber" = "no" && { | 7768 test "$with_ldap_nolber" = "no" && { |
7763 xe_msg_checking="for ldap_open in -lldap" | 7769 xe_msg_checking="for ldap_open in -lldap" |
7764 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7770 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7765 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7771 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7766 echo "configure:7767: checking "$xe_msg_checking"" >&5 | 7772 echo "configure:7773: checking "$xe_msg_checking"" >&5 |
7767 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7773 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7768 | 7774 |
7769 xe_check_libs=" -lldap -llber" | 7775 xe_check_libs=" -lldap -llber" |
7770 cat > conftest.$ac_ext <<EOF | 7776 cat > conftest.$ac_ext <<EOF |
7771 #line 7772 "configure" | 7777 #line 7778 "configure" |
7772 #include "confdefs.h" | 7778 #include "confdefs.h" |
7773 /* Override any gcc2 internal prototype to avoid an error. */ | 7779 /* Override any gcc2 internal prototype to avoid an error. */ |
7774 /* We use char because int might match the return type of a gcc2 | 7780 /* We use char because int might match the return type of a gcc2 |
7775 builtin and then its argument prototype would still apply. */ | 7781 builtin and then its argument prototype would still apply. */ |
7776 char ldap_open(); | 7782 char ldap_open(); |
7777 | 7783 |
7778 int main() { | 7784 int main() { |
7779 ldap_open() | 7785 ldap_open() |
7780 ; return 0; } | 7786 ; return 0; } |
7781 EOF | 7787 EOF |
7782 if { (eval echo configure:7783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7788 if { (eval echo configure:7789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7783 rm -rf conftest* | 7789 rm -rf conftest* |
7784 eval "ac_cv_lib_$ac_lib_var=yes" | 7790 eval "ac_cv_lib_$ac_lib_var=yes" |
7785 else | 7791 else |
7786 echo "configure: failed program was:" >&5 | 7792 echo "configure: failed program was:" >&5 |
7787 cat conftest.$ac_ext >&5 | 7793 cat conftest.$ac_ext >&5 |
7802 } | 7808 } |
7803 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7809 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7804 xe_msg_checking="for ldap_open in -lldap" | 7810 xe_msg_checking="for ldap_open in -lldap" |
7805 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7811 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7806 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7812 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7807 echo "configure:7808: checking "$xe_msg_checking"" >&5 | 7813 echo "configure:7814: checking "$xe_msg_checking"" >&5 |
7808 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7814 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7809 | 7815 |
7810 xe_check_libs=" -lldap -llber -lkrb" | 7816 xe_check_libs=" -lldap -llber -lkrb" |
7811 cat > conftest.$ac_ext <<EOF | 7817 cat > conftest.$ac_ext <<EOF |
7812 #line 7813 "configure" | 7818 #line 7819 "configure" |
7813 #include "confdefs.h" | 7819 #include "confdefs.h" |
7814 /* Override any gcc2 internal prototype to avoid an error. */ | 7820 /* Override any gcc2 internal prototype to avoid an error. */ |
7815 /* We use char because int might match the return type of a gcc2 | 7821 /* We use char because int might match the return type of a gcc2 |
7816 builtin and then its argument prototype would still apply. */ | 7822 builtin and then its argument prototype would still apply. */ |
7817 char ldap_open(); | 7823 char ldap_open(); |
7818 | 7824 |
7819 int main() { | 7825 int main() { |
7820 ldap_open() | 7826 ldap_open() |
7821 ; return 0; } | 7827 ; return 0; } |
7822 EOF | 7828 EOF |
7823 if { (eval echo configure:7824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7824 rm -rf conftest* | 7830 rm -rf conftest* |
7825 eval "ac_cv_lib_$ac_lib_var=yes" | 7831 eval "ac_cv_lib_$ac_lib_var=yes" |
7826 else | 7832 else |
7827 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7828 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7843 } | 7849 } |
7844 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7850 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7845 xe_msg_checking="for ldap_open in -lldap" | 7851 xe_msg_checking="for ldap_open in -lldap" |
7846 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7852 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7847 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7853 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7848 echo "configure:7849: checking "$xe_msg_checking"" >&5 | 7854 echo "configure:7855: checking "$xe_msg_checking"" >&5 |
7849 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7855 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7850 | 7856 |
7851 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7857 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7852 cat > conftest.$ac_ext <<EOF | 7858 cat > conftest.$ac_ext <<EOF |
7853 #line 7854 "configure" | 7859 #line 7860 "configure" |
7854 #include "confdefs.h" | 7860 #include "confdefs.h" |
7855 /* Override any gcc2 internal prototype to avoid an error. */ | 7861 /* Override any gcc2 internal prototype to avoid an error. */ |
7856 /* We use char because int might match the return type of a gcc2 | 7862 /* We use char because int might match the return type of a gcc2 |
7857 builtin and then its argument prototype would still apply. */ | 7863 builtin and then its argument prototype would still apply. */ |
7858 char ldap_open(); | 7864 char ldap_open(); |
7859 | 7865 |
7860 int main() { | 7866 int main() { |
7861 ldap_open() | 7867 ldap_open() |
7862 ; return 0; } | 7868 ; return 0; } |
7863 EOF | 7869 EOF |
7864 if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7870 if { (eval echo configure:7871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7865 rm -rf conftest* | 7871 rm -rf conftest* |
7866 eval "ac_cv_lib_$ac_lib_var=yes" | 7872 eval "ac_cv_lib_$ac_lib_var=yes" |
7867 else | 7873 else |
7868 echo "configure: failed program was:" >&5 | 7874 echo "configure: failed program was:" >&5 |
7869 cat conftest.$ac_ext >&5 | 7875 cat conftest.$ac_ext >&5 |
7910 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7916 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7911 fi | 7917 fi |
7912 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7918 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7913 do | 7919 do |
7914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7915 echo "configure:7916: checking for $ac_func" >&5 | 7921 echo "configure:7922: checking for $ac_func" >&5 |
7916 | 7922 |
7917 cat > conftest.$ac_ext <<EOF | 7923 cat > conftest.$ac_ext <<EOF |
7918 #line 7919 "configure" | 7924 #line 7925 "configure" |
7919 #include "confdefs.h" | 7925 #include "confdefs.h" |
7920 /* System header to define __stub macros and hopefully few prototypes, | 7926 /* System header to define __stub macros and hopefully few prototypes, |
7921 which can conflict with char $ac_func(); below. */ | 7927 which can conflict with char $ac_func(); below. */ |
7922 #include <assert.h> | 7928 #include <assert.h> |
7923 /* Override any gcc2 internal prototype to avoid an error. */ | 7929 /* Override any gcc2 internal prototype to avoid an error. */ |
7936 $ac_func(); | 7942 $ac_func(); |
7937 #endif | 7943 #endif |
7938 | 7944 |
7939 ; return 0; } | 7945 ; return 0; } |
7940 EOF | 7946 EOF |
7941 if { (eval echo configure:7942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7947 if { (eval echo configure:7948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7942 rm -rf conftest* | 7948 rm -rf conftest* |
7943 eval "ac_cv_func_$ac_func=yes" | 7949 eval "ac_cv_func_$ac_func=yes" |
7944 else | 7950 else |
7945 echo "configure: failed program was:" >&5 | 7951 echo "configure: failed program was:" >&5 |
7946 cat conftest.$ac_ext >&5 | 7952 cat conftest.$ac_ext >&5 |
7967 | 7973 |
7968 fi | 7974 fi |
7969 | 7975 |
7970 if test "$with_postgresql" != "no"; then | 7976 if test "$with_postgresql" != "no"; then |
7971 echo "checking for PostgreSQL" 1>&6 | 7977 echo "checking for PostgreSQL" 1>&6 |
7972 echo "configure:7973: checking for PostgreSQL" >&5 | 7978 echo "configure:7979: checking for PostgreSQL" >&5 |
7973 | 7979 |
7974 for header_dir in "" "pgsql/" "postgresql/"; do | 7980 for header_dir in "" "pgsql/" "postgresql/"; do |
7975 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7981 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7976 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7982 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7977 echo "configure:7978: checking for ${header_dir}libpq-fe.h" >&5 | 7983 echo "configure:7984: checking for ${header_dir}libpq-fe.h" >&5 |
7978 | 7984 |
7979 cat > conftest.$ac_ext <<EOF | 7985 cat > conftest.$ac_ext <<EOF |
7980 #line 7981 "configure" | 7986 #line 7987 "configure" |
7981 #include "confdefs.h" | 7987 #include "confdefs.h" |
7982 #include <${header_dir}libpq-fe.h> | 7988 #include <${header_dir}libpq-fe.h> |
7983 EOF | 7989 EOF |
7984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7985 { (eval echo configure:7986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7991 { (eval echo configure:7992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7987 if test -z "$ac_err"; then | 7993 if test -z "$ac_err"; then |
7988 rm -rf conftest* | 7994 rm -rf conftest* |
7989 eval "ac_cv_header_$ac_safe=yes" | 7995 eval "ac_cv_header_$ac_safe=yes" |
7990 else | 7996 else |
8004 | 8010 |
8005 done | 8011 done |
8006 | 8012 |
8007 test -n "$libpq_fe_h_file" && { | 8013 test -n "$libpq_fe_h_file" && { |
8008 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8014 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8009 echo "configure:8010: checking for PQconnectdb in -lpq" >&5 | 8015 echo "configure:8016: checking for PQconnectdb in -lpq" >&5 |
8010 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8016 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8011 | 8017 |
8012 xe_check_libs=" -lpq " | 8018 xe_check_libs=" -lpq " |
8013 cat > conftest.$ac_ext <<EOF | 8019 cat > conftest.$ac_ext <<EOF |
8014 #line 8015 "configure" | 8020 #line 8021 "configure" |
8015 #include "confdefs.h" | 8021 #include "confdefs.h" |
8016 /* Override any gcc2 internal prototype to avoid an error. */ | 8022 /* Override any gcc2 internal prototype to avoid an error. */ |
8017 /* We use char because int might match the return type of a gcc2 | 8023 /* We use char because int might match the return type of a gcc2 |
8018 builtin and then its argument prototype would still apply. */ | 8024 builtin and then its argument prototype would still apply. */ |
8019 char PQconnectdb(); | 8025 char PQconnectdb(); |
8020 | 8026 |
8021 int main() { | 8027 int main() { |
8022 PQconnectdb() | 8028 PQconnectdb() |
8023 ; return 0; } | 8029 ; return 0; } |
8024 EOF | 8030 EOF |
8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8026 rm -rf conftest* | 8032 rm -rf conftest* |
8027 eval "ac_cv_lib_$ac_lib_var=yes" | 8033 eval "ac_cv_lib_$ac_lib_var=yes" |
8028 else | 8034 else |
8029 echo "configure: failed program was:" >&5 | 8035 echo "configure: failed program was:" >&5 |
8030 cat conftest.$ac_ext >&5 | 8036 cat conftest.$ac_ext >&5 |
8053 EOF | 8059 EOF |
8054 } | 8060 } |
8055 | 8061 |
8056 | 8062 |
8057 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8063 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8058 echo "configure:8059: checking for PQconnectStart in -lpq" >&5 | 8064 echo "configure:8065: checking for PQconnectStart in -lpq" >&5 |
8059 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8065 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8060 | 8066 |
8061 xe_check_libs=" -lpq " | 8067 xe_check_libs=" -lpq " |
8062 cat > conftest.$ac_ext <<EOF | 8068 cat > conftest.$ac_ext <<EOF |
8063 #line 8064 "configure" | 8069 #line 8070 "configure" |
8064 #include "confdefs.h" | 8070 #include "confdefs.h" |
8065 /* Override any gcc2 internal prototype to avoid an error. */ | 8071 /* Override any gcc2 internal prototype to avoid an error. */ |
8066 /* We use char because int might match the return type of a gcc2 | 8072 /* We use char because int might match the return type of a gcc2 |
8067 builtin and then its argument prototype would still apply. */ | 8073 builtin and then its argument prototype would still apply. */ |
8068 char PQconnectStart(); | 8074 char PQconnectStart(); |
8069 | 8075 |
8070 int main() { | 8076 int main() { |
8071 PQconnectStart() | 8077 PQconnectStart() |
8072 ; return 0; } | 8078 ; return 0; } |
8073 EOF | 8079 EOF |
8074 if { (eval echo configure:8075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8080 if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8075 rm -rf conftest* | 8081 rm -rf conftest* |
8076 eval "ac_cv_lib_$ac_lib_var=yes" | 8082 eval "ac_cv_lib_$ac_lib_var=yes" |
8077 else | 8083 else |
8078 echo "configure: failed program was:" >&5 | 8084 echo "configure: failed program was:" >&5 |
8079 cat conftest.$ac_ext >&5 | 8085 cat conftest.$ac_ext >&5 |
8117 fi | 8123 fi |
8118 | 8124 |
8119 | 8125 |
8120 if test "$window_system" != "none"; then | 8126 if test "$window_system" != "none"; then |
8121 echo "checking for graphics libraries" 1>&6 | 8127 echo "checking for graphics libraries" 1>&6 |
8122 echo "configure:8123: checking for graphics libraries" >&5 | 8128 echo "configure:8129: checking for graphics libraries" >&5 |
8123 | 8129 |
8130 libpath_xpm= | |
8131 incpath_xpm= | |
8132 case "$opsys" in | |
8133 cygwin*) | |
8134 cygwin_top=`eval "gcc -print-file-name=libc.a"` ; | |
8135 cygwin_top=`eval "dirname ${cygwin_top}"`; | |
8136 cygwin_top="${cygwin_top}/.."; | |
8137 case "$window_system" in | |
8138 x11) ;; | |
8139 msw) libpath_xpm="-L${cygwin_top}/lib/noX" | |
8140 incpath_xpm="-I${cygwin_top}/include/noX" | |
8141 ;; | |
8142 gtk) ;; | |
8143 none) ;; | |
8144 *) ;; | |
8145 esac | |
8146 ;; | |
8147 *) ;; | |
8148 esac | |
8124 xpm_problem="" | 8149 xpm_problem="" |
8125 if test -z "$with_xpm"; then | 8150 if test -z "$with_xpm"; then |
8151 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | |
8152 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | |
8126 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8153 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8127 echo "configure:8128: checking for Xpm - no older than 3.4f" >&5 | 8154 echo "configure:8155: checking for Xpm - no older than 3.4f" >&5 |
8128 xe_check_libs=-lXpm | 8155 xe_check_libs=-lXpm |
8129 cat > conftest.$ac_ext <<EOF | 8156 cat > conftest.$ac_ext <<EOF |
8130 #line 8131 "configure" | 8157 #line 8158 "configure" |
8131 #include "confdefs.h" | 8158 #include "confdefs.h" |
8132 #define XPM_NUMBERS | 8159 #define XPM_NUMBERS |
8133 #include <X11/xpm.h> | 8160 #include <X11/xpm.h> |
8134 int main(int c, char **v) { | 8161 int main(int c, char **v) { |
8135 return c == 1 ? 0 : | 8162 return c == 1 ? 0 : |
8136 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8163 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8137 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8164 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8138 EOF | 8165 EOF |
8139 if { (eval echo configure:8140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8166 if { (eval echo configure:8167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8140 then | 8167 then |
8141 ./conftest dummy_arg; xpm_status=$?; | 8168 ./conftest dummy_arg; xpm_status=$?; |
8142 if test "$xpm_status" = "0"; then | 8169 if test "$xpm_status" = "0"; then |
8143 with_xpm=yes; | 8170 with_xpm=yes; |
8144 else | 8171 else |
8174 cat >> confdefs.h <<\EOF | 8201 cat >> confdefs.h <<\EOF |
8175 #define HAVE_XPM 1 | 8202 #define HAVE_XPM 1 |
8176 EOF | 8203 EOF |
8177 } | 8204 } |
8178 | 8205 |
8206 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | |
8179 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8207 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8208 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | |
8180 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8209 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8181 echo "configure:8182: checking for \"FOR_MSW\" xpm" >&5 | 8210 echo "configure:8211: checking for \"FOR_MSW\" xpm" >&5 |
8182 xe_check_libs=-lXpm | 8211 xe_check_libs=-lXpm |
8183 cat > conftest.$ac_ext <<EOF | 8212 cat > conftest.$ac_ext <<EOF |
8184 #line 8185 "configure" | 8213 #line 8214 "configure" |
8185 #include "confdefs.h" | 8214 #include "confdefs.h" |
8186 | 8215 |
8187 int main() { | 8216 int main() { |
8188 XpmCreatePixmapFromData() | 8217 XpmCreatePixmapFromData() |
8189 ; return 0; } | 8218 ; return 0; } |
8190 EOF | 8219 EOF |
8191 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8220 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8192 rm -rf conftest* | 8221 rm -rf conftest* |
8193 xpm_for_msw=no | 8222 xpm_for_msw=no |
8194 else | 8223 else |
8195 echo "configure: failed program was:" >&5 | 8224 echo "configure: failed program was:" >&5 |
8196 cat conftest.$ac_ext >&5 | 8225 cat conftest.$ac_ext >&5 |
8212 fi | 8241 fi |
8213 fi | 8242 fi |
8214 | 8243 |
8215 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8244 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8216 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8245 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8217 echo "configure:8218: checking for compface.h" >&5 | 8246 echo "configure:8247: checking for compface.h" >&5 |
8218 | 8247 |
8219 cat > conftest.$ac_ext <<EOF | 8248 cat > conftest.$ac_ext <<EOF |
8220 #line 8221 "configure" | 8249 #line 8250 "configure" |
8221 #include "confdefs.h" | 8250 #include "confdefs.h" |
8222 #include <compface.h> | 8251 #include <compface.h> |
8223 EOF | 8252 EOF |
8224 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8225 { (eval echo configure:8226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8254 { (eval echo configure:8255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8226 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8227 if test -z "$ac_err"; then | 8256 if test -z "$ac_err"; then |
8228 rm -rf conftest* | 8257 rm -rf conftest* |
8229 eval "ac_cv_header_$ac_safe=yes" | 8258 eval "ac_cv_header_$ac_safe=yes" |
8230 else | 8259 else |
8243 with_xface=no | 8272 with_xface=no |
8244 fi | 8273 fi |
8245 } | 8274 } |
8246 test -z "$with_xface" && { | 8275 test -z "$with_xface" && { |
8247 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8276 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8248 echo "configure:8249: checking for UnGenFace in -lcompface" >&5 | 8277 echo "configure:8278: checking for UnGenFace in -lcompface" >&5 |
8249 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8278 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8250 | 8279 |
8251 xe_check_libs=" -lcompface " | 8280 xe_check_libs=" -lcompface " |
8252 cat > conftest.$ac_ext <<EOF | 8281 cat > conftest.$ac_ext <<EOF |
8253 #line 8254 "configure" | 8282 #line 8283 "configure" |
8254 #include "confdefs.h" | 8283 #include "confdefs.h" |
8255 /* Override any gcc2 internal prototype to avoid an error. */ | 8284 /* Override any gcc2 internal prototype to avoid an error. */ |
8256 /* We use char because int might match the return type of a gcc2 | 8285 /* We use char because int might match the return type of a gcc2 |
8257 builtin and then its argument prototype would still apply. */ | 8286 builtin and then its argument prototype would still apply. */ |
8258 char UnGenFace(); | 8287 char UnGenFace(); |
8259 | 8288 |
8260 int main() { | 8289 int main() { |
8261 UnGenFace() | 8290 UnGenFace() |
8262 ; return 0; } | 8291 ; return 0; } |
8263 EOF | 8292 EOF |
8264 if { (eval echo configure:8265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8293 if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8265 rm -rf conftest* | 8294 rm -rf conftest* |
8266 eval "ac_cv_lib_$ac_lib_var=yes" | 8295 eval "ac_cv_lib_$ac_lib_var=yes" |
8267 else | 8296 else |
8268 echo "configure: failed program was:" >&5 | 8297 echo "configure: failed program was:" >&5 |
8269 cat conftest.$ac_ext >&5 | 8298 cat conftest.$ac_ext >&5 |
8311 fi | 8340 fi |
8312 | 8341 |
8313 if test "$with_png $with_tiff" != "no no"; then | 8342 if test "$with_png $with_tiff" != "no no"; then |
8314 | 8343 |
8315 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8344 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8316 echo "configure:8317: checking for inflate in -lc" >&5 | 8345 echo "configure:8346: checking for inflate in -lc" >&5 |
8317 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8346 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8318 | 8347 |
8319 xe_check_libs=" -lc " | 8348 xe_check_libs=" -lc " |
8320 cat > conftest.$ac_ext <<EOF | 8349 cat > conftest.$ac_ext <<EOF |
8321 #line 8322 "configure" | 8350 #line 8351 "configure" |
8322 #include "confdefs.h" | 8351 #include "confdefs.h" |
8323 /* Override any gcc2 internal prototype to avoid an error. */ | 8352 /* Override any gcc2 internal prototype to avoid an error. */ |
8324 /* We use char because int might match the return type of a gcc2 | 8353 /* We use char because int might match the return type of a gcc2 |
8325 builtin and then its argument prototype would still apply. */ | 8354 builtin and then its argument prototype would still apply. */ |
8326 char inflate(); | 8355 char inflate(); |
8327 | 8356 |
8328 int main() { | 8357 int main() { |
8329 inflate() | 8358 inflate() |
8330 ; return 0; } | 8359 ; return 0; } |
8331 EOF | 8360 EOF |
8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8361 if { (eval echo configure:8362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8333 rm -rf conftest* | 8362 rm -rf conftest* |
8334 eval "ac_cv_lib_$ac_lib_var=yes" | 8363 eval "ac_cv_lib_$ac_lib_var=yes" |
8335 else | 8364 else |
8336 echo "configure: failed program was:" >&5 | 8365 echo "configure: failed program was:" >&5 |
8337 cat conftest.$ac_ext >&5 | 8366 cat conftest.$ac_ext >&5 |
8346 : | 8375 : |
8347 else | 8376 else |
8348 echo "$ac_t""no" 1>&6 | 8377 echo "$ac_t""no" 1>&6 |
8349 | 8378 |
8350 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8379 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8351 echo "configure:8352: checking for inflate in -lz" >&5 | 8380 echo "configure:8381: checking for inflate in -lz" >&5 |
8352 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8381 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8353 | 8382 |
8354 xe_check_libs=" -lz " | 8383 xe_check_libs=" -lz " |
8355 cat > conftest.$ac_ext <<EOF | 8384 cat > conftest.$ac_ext <<EOF |
8356 #line 8357 "configure" | 8385 #line 8386 "configure" |
8357 #include "confdefs.h" | 8386 #include "confdefs.h" |
8358 /* Override any gcc2 internal prototype to avoid an error. */ | 8387 /* Override any gcc2 internal prototype to avoid an error. */ |
8359 /* We use char because int might match the return type of a gcc2 | 8388 /* We use char because int might match the return type of a gcc2 |
8360 builtin and then its argument prototype would still apply. */ | 8389 builtin and then its argument prototype would still apply. */ |
8361 char inflate(); | 8390 char inflate(); |
8362 | 8391 |
8363 int main() { | 8392 int main() { |
8364 inflate() | 8393 inflate() |
8365 ; return 0; } | 8394 ; return 0; } |
8366 EOF | 8395 EOF |
8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8368 rm -rf conftest* | 8397 rm -rf conftest* |
8369 eval "ac_cv_lib_$ac_lib_var=yes" | 8398 eval "ac_cv_lib_$ac_lib_var=yes" |
8370 else | 8399 else |
8371 echo "configure: failed program was:" >&5 | 8400 echo "configure: failed program was:" >&5 |
8372 cat conftest.$ac_ext >&5 | 8401 cat conftest.$ac_ext >&5 |
8381 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8410 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8382 else | 8411 else |
8383 echo "$ac_t""no" 1>&6 | 8412 echo "$ac_t""no" 1>&6 |
8384 | 8413 |
8385 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8414 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8386 echo "configure:8387: checking for inflate in -lgz" >&5 | 8415 echo "configure:8416: checking for inflate in -lgz" >&5 |
8387 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8416 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8388 | 8417 |
8389 xe_check_libs=" -lgz " | 8418 xe_check_libs=" -lgz " |
8390 cat > conftest.$ac_ext <<EOF | 8419 cat > conftest.$ac_ext <<EOF |
8391 #line 8392 "configure" | 8420 #line 8421 "configure" |
8392 #include "confdefs.h" | 8421 #include "confdefs.h" |
8393 /* Override any gcc2 internal prototype to avoid an error. */ | 8422 /* Override any gcc2 internal prototype to avoid an error. */ |
8394 /* We use char because int might match the return type of a gcc2 | 8423 /* We use char because int might match the return type of a gcc2 |
8395 builtin and then its argument prototype would still apply. */ | 8424 builtin and then its argument prototype would still apply. */ |
8396 char inflate(); | 8425 char inflate(); |
8397 | 8426 |
8398 int main() { | 8427 int main() { |
8399 inflate() | 8428 inflate() |
8400 ; return 0; } | 8429 ; return 0; } |
8401 EOF | 8430 EOF |
8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8431 if { (eval echo configure:8432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8403 rm -rf conftest* | 8432 rm -rf conftest* |
8404 eval "ac_cv_lib_$ac_lib_var=yes" | 8433 eval "ac_cv_lib_$ac_lib_var=yes" |
8405 else | 8434 else |
8406 echo "configure: failed program was:" >&5 | 8435 echo "configure: failed program was:" >&5 |
8407 cat conftest.$ac_ext >&5 | 8436 cat conftest.$ac_ext >&5 |
8427 | 8456 |
8428 fi | 8457 fi |
8429 | 8458 |
8430 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8459 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8431 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8460 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8432 echo "configure:8433: checking for jpeglib.h" >&5 | 8461 echo "configure:8462: checking for jpeglib.h" >&5 |
8433 | 8462 |
8434 cat > conftest.$ac_ext <<EOF | 8463 cat > conftest.$ac_ext <<EOF |
8435 #line 8436 "configure" | 8464 #line 8465 "configure" |
8436 #include "confdefs.h" | 8465 #include "confdefs.h" |
8437 #include <jpeglib.h> | 8466 #include <jpeglib.h> |
8438 EOF | 8467 EOF |
8439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8440 { (eval echo configure:8441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8469 { (eval echo configure:8470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8442 if test -z "$ac_err"; then | 8471 if test -z "$ac_err"; then |
8443 rm -rf conftest* | 8472 rm -rf conftest* |
8444 eval "ac_cv_header_$ac_safe=yes" | 8473 eval "ac_cv_header_$ac_safe=yes" |
8445 else | 8474 else |
8458 with_jpeg=no | 8487 with_jpeg=no |
8459 fi | 8488 fi |
8460 } | 8489 } |
8461 test -z "$with_jpeg" && { | 8490 test -z "$with_jpeg" && { |
8462 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8491 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8463 echo "configure:8464: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8492 echo "configure:8493: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8464 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8493 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8465 | 8494 |
8466 xe_check_libs=" -ljpeg " | 8495 xe_check_libs=" -ljpeg " |
8467 cat > conftest.$ac_ext <<EOF | 8496 cat > conftest.$ac_ext <<EOF |
8468 #line 8469 "configure" | 8497 #line 8498 "configure" |
8469 #include "confdefs.h" | 8498 #include "confdefs.h" |
8470 /* Override any gcc2 internal prototype to avoid an error. */ | 8499 /* Override any gcc2 internal prototype to avoid an error. */ |
8471 /* We use char because int might match the return type of a gcc2 | 8500 /* We use char because int might match the return type of a gcc2 |
8472 builtin and then its argument prototype would still apply. */ | 8501 builtin and then its argument prototype would still apply. */ |
8473 char jpeg_destroy_decompress(); | 8502 char jpeg_destroy_decompress(); |
8474 | 8503 |
8475 int main() { | 8504 int main() { |
8476 jpeg_destroy_decompress() | 8505 jpeg_destroy_decompress() |
8477 ; return 0; } | 8506 ; return 0; } |
8478 EOF | 8507 EOF |
8479 if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8508 if { (eval echo configure:8509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8480 rm -rf conftest* | 8509 rm -rf conftest* |
8481 eval "ac_cv_lib_$ac_lib_var=yes" | 8510 eval "ac_cv_lib_$ac_lib_var=yes" |
8482 else | 8511 else |
8483 echo "configure: failed program was:" >&5 | 8512 echo "configure: failed program was:" >&5 |
8484 cat conftest.$ac_ext >&5 | 8513 cat conftest.$ac_ext >&5 |
8510 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8539 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8511 fi | 8540 fi |
8512 | 8541 |
8513 png_problem="" | 8542 png_problem="" |
8514 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8543 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8515 echo "configure:8516: checking for pow" >&5 | 8544 echo "configure:8545: checking for pow" >&5 |
8516 | 8545 |
8517 cat > conftest.$ac_ext <<EOF | 8546 cat > conftest.$ac_ext <<EOF |
8518 #line 8519 "configure" | 8547 #line 8548 "configure" |
8519 #include "confdefs.h" | 8548 #include "confdefs.h" |
8520 /* System header to define __stub macros and hopefully few prototypes, | 8549 /* System header to define __stub macros and hopefully few prototypes, |
8521 which can conflict with char pow(); below. */ | 8550 which can conflict with char pow(); below. */ |
8522 #include <assert.h> | 8551 #include <assert.h> |
8523 /* Override any gcc2 internal prototype to avoid an error. */ | 8552 /* Override any gcc2 internal prototype to avoid an error. */ |
8536 pow(); | 8565 pow(); |
8537 #endif | 8566 #endif |
8538 | 8567 |
8539 ; return 0; } | 8568 ; return 0; } |
8540 EOF | 8569 EOF |
8541 if { (eval echo configure:8542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8570 if { (eval echo configure:8571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8542 rm -rf conftest* | 8571 rm -rf conftest* |
8543 eval "ac_cv_func_pow=yes" | 8572 eval "ac_cv_func_pow=yes" |
8544 else | 8573 else |
8545 echo "configure: failed program was:" >&5 | 8574 echo "configure: failed program was:" >&5 |
8546 cat conftest.$ac_ext >&5 | 8575 cat conftest.$ac_ext >&5 |
8557 with_png=no | 8586 with_png=no |
8558 fi | 8587 fi |
8559 } | 8588 } |
8560 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8589 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8561 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8590 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8562 echo "configure:8563: checking for png.h" >&5 | 8591 echo "configure:8592: checking for png.h" >&5 |
8563 | 8592 |
8564 cat > conftest.$ac_ext <<EOF | 8593 cat > conftest.$ac_ext <<EOF |
8565 #line 8566 "configure" | 8594 #line 8595 "configure" |
8566 #include "confdefs.h" | 8595 #include "confdefs.h" |
8567 #include <png.h> | 8596 #include <png.h> |
8568 EOF | 8597 EOF |
8569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8570 { (eval echo configure:8571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8599 { (eval echo configure:8600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8572 if test -z "$ac_err"; then | 8601 if test -z "$ac_err"; then |
8573 rm -rf conftest* | 8602 rm -rf conftest* |
8574 eval "ac_cv_header_$ac_safe=yes" | 8603 eval "ac_cv_header_$ac_safe=yes" |
8575 else | 8604 else |
8588 with_png=no | 8617 with_png=no |
8589 fi | 8618 fi |
8590 } | 8619 } |
8591 test -z "$with_png" && { | 8620 test -z "$with_png" && { |
8592 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8621 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8593 echo "configure:8594: checking for png_read_image in -lpng" >&5 | 8622 echo "configure:8623: checking for png_read_image in -lpng" >&5 |
8594 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8623 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8595 | 8624 |
8596 xe_check_libs=" -lpng " | 8625 xe_check_libs=" -lpng " |
8597 cat > conftest.$ac_ext <<EOF | 8626 cat > conftest.$ac_ext <<EOF |
8598 #line 8599 "configure" | 8627 #line 8628 "configure" |
8599 #include "confdefs.h" | 8628 #include "confdefs.h" |
8600 /* Override any gcc2 internal prototype to avoid an error. */ | 8629 /* Override any gcc2 internal prototype to avoid an error. */ |
8601 /* We use char because int might match the return type of a gcc2 | 8630 /* We use char because int might match the return type of a gcc2 |
8602 builtin and then its argument prototype would still apply. */ | 8631 builtin and then its argument prototype would still apply. */ |
8603 char png_read_image(); | 8632 char png_read_image(); |
8604 | 8633 |
8605 int main() { | 8634 int main() { |
8606 png_read_image() | 8635 png_read_image() |
8607 ; return 0; } | 8636 ; return 0; } |
8608 EOF | 8637 EOF |
8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8638 if { (eval echo configure:8639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8610 rm -rf conftest* | 8639 rm -rf conftest* |
8611 eval "ac_cv_lib_$ac_lib_var=yes" | 8640 eval "ac_cv_lib_$ac_lib_var=yes" |
8612 else | 8641 else |
8613 echo "configure: failed program was:" >&5 | 8642 echo "configure: failed program was:" >&5 |
8614 cat conftest.$ac_ext >&5 | 8643 cat conftest.$ac_ext >&5 |
8627 fi | 8656 fi |
8628 | 8657 |
8629 } | 8658 } |
8630 if test -z "$with_png"; then | 8659 if test -z "$with_png"; then |
8631 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8660 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8632 echo "configure:8633: checking for workable png version information" >&5 | 8661 echo "configure:8662: checking for workable png version information" >&5 |
8633 xe_check_libs="-lpng -lz" | 8662 xe_check_libs="-lpng -lz" |
8634 cat > conftest.$ac_ext <<EOF | 8663 cat > conftest.$ac_ext <<EOF |
8635 #line 8636 "configure" | 8664 #line 8665 "configure" |
8636 #include "confdefs.h" | 8665 #include "confdefs.h" |
8637 #include <png.h> | 8666 #include <png.h> |
8638 int main(int c, char **v) { | 8667 int main(int c, char **v) { |
8639 if (c == 1) return 0; | 8668 if (c == 1) return 0; |
8640 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8669 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8641 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8670 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8642 EOF | 8671 EOF |
8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8672 if { (eval echo configure:8673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8644 then | 8673 then |
8645 ./conftest dummy_arg; png_status=$?; | 8674 ./conftest dummy_arg; png_status=$?; |
8646 if test "$png_status" = "0"; then | 8675 if test "$png_status" = "0"; then |
8647 with_png=yes; | 8676 with_png=yes; |
8648 else | 8677 else |
8681 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8710 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8682 fi | 8711 fi |
8683 | 8712 |
8684 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8713 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8685 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8714 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8686 echo "configure:8687: checking for tiffio.h" >&5 | 8715 echo "configure:8716: checking for tiffio.h" >&5 |
8687 | 8716 |
8688 cat > conftest.$ac_ext <<EOF | 8717 cat > conftest.$ac_ext <<EOF |
8689 #line 8690 "configure" | 8718 #line 8719 "configure" |
8690 #include "confdefs.h" | 8719 #include "confdefs.h" |
8691 #include <tiffio.h> | 8720 #include <tiffio.h> |
8692 EOF | 8721 EOF |
8693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8694 { (eval echo configure:8695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8723 { (eval echo configure:8724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8696 if test -z "$ac_err"; then | 8725 if test -z "$ac_err"; then |
8697 rm -rf conftest* | 8726 rm -rf conftest* |
8698 eval "ac_cv_header_$ac_safe=yes" | 8727 eval "ac_cv_header_$ac_safe=yes" |
8699 else | 8728 else |
8712 with_tiff=no | 8741 with_tiff=no |
8713 fi | 8742 fi |
8714 } | 8743 } |
8715 test -z "$with_tiff" && { | 8744 test -z "$with_tiff" && { |
8716 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8745 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8717 echo "configure:8718: checking for TIFFClientOpen in -ltiff" >&5 | 8746 echo "configure:8747: checking for TIFFClientOpen in -ltiff" >&5 |
8718 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8747 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8719 | 8748 |
8720 xe_check_libs=" -ltiff " | 8749 xe_check_libs=" -ltiff " |
8721 cat > conftest.$ac_ext <<EOF | 8750 cat > conftest.$ac_ext <<EOF |
8722 #line 8723 "configure" | 8751 #line 8752 "configure" |
8723 #include "confdefs.h" | 8752 #include "confdefs.h" |
8724 /* Override any gcc2 internal prototype to avoid an error. */ | 8753 /* Override any gcc2 internal prototype to avoid an error. */ |
8725 /* We use char because int might match the return type of a gcc2 | 8754 /* We use char because int might match the return type of a gcc2 |
8726 builtin and then its argument prototype would still apply. */ | 8755 builtin and then its argument prototype would still apply. */ |
8727 char TIFFClientOpen(); | 8756 char TIFFClientOpen(); |
8728 | 8757 |
8729 int main() { | 8758 int main() { |
8730 TIFFClientOpen() | 8759 TIFFClientOpen() |
8731 ; return 0; } | 8760 ; return 0; } |
8732 EOF | 8761 EOF |
8733 if { (eval echo configure:8734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8762 if { (eval echo configure:8763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8734 rm -rf conftest* | 8763 rm -rf conftest* |
8735 eval "ac_cv_lib_$ac_lib_var=yes" | 8764 eval "ac_cv_lib_$ac_lib_var=yes" |
8736 else | 8765 else |
8737 echo "configure: failed program was:" >&5 | 8766 echo "configure: failed program was:" >&5 |
8738 cat conftest.$ac_ext >&5 | 8767 cat conftest.$ac_ext >&5 |
8767 | 8796 |
8768 | 8797 |
8769 if test "$with_gtk" = "yes"; then | 8798 if test "$with_gtk" = "yes"; then |
8770 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8799 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8771 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8800 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8772 echo "configure:8773: checking for compface.h" >&5 | 8801 echo "configure:8802: checking for compface.h" >&5 |
8773 | 8802 |
8774 cat > conftest.$ac_ext <<EOF | 8803 cat > conftest.$ac_ext <<EOF |
8775 #line 8776 "configure" | 8804 #line 8805 "configure" |
8776 #include "confdefs.h" | 8805 #include "confdefs.h" |
8777 #include <compface.h> | 8806 #include <compface.h> |
8778 EOF | 8807 EOF |
8779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8780 { (eval echo configure:8781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8809 { (eval echo configure:8810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8782 if test -z "$ac_err"; then | 8811 if test -z "$ac_err"; then |
8783 rm -rf conftest* | 8812 rm -rf conftest* |
8784 eval "ac_cv_header_$ac_safe=yes" | 8813 eval "ac_cv_header_$ac_safe=yes" |
8785 else | 8814 else |
8798 with_xface=no | 8827 with_xface=no |
8799 fi | 8828 fi |
8800 } | 8829 } |
8801 test -z "$with_xface" && { | 8830 test -z "$with_xface" && { |
8802 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8831 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8803 echo "configure:8804: checking for UnGenFace in -lcompface" >&5 | 8832 echo "configure:8833: checking for UnGenFace in -lcompface" >&5 |
8804 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8833 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8805 | 8834 |
8806 xe_check_libs=" -lcompface " | 8835 xe_check_libs=" -lcompface " |
8807 cat > conftest.$ac_ext <<EOF | 8836 cat > conftest.$ac_ext <<EOF |
8808 #line 8809 "configure" | 8837 #line 8838 "configure" |
8809 #include "confdefs.h" | 8838 #include "confdefs.h" |
8810 /* Override any gcc2 internal prototype to avoid an error. */ | 8839 /* Override any gcc2 internal prototype to avoid an error. */ |
8811 /* We use char because int might match the return type of a gcc2 | 8840 /* We use char because int might match the return type of a gcc2 |
8812 builtin and then its argument prototype would still apply. */ | 8841 builtin and then its argument prototype would still apply. */ |
8813 char UnGenFace(); | 8842 char UnGenFace(); |
8814 | 8843 |
8815 int main() { | 8844 int main() { |
8816 UnGenFace() | 8845 UnGenFace() |
8817 ; return 0; } | 8846 ; return 0; } |
8818 EOF | 8847 EOF |
8819 if { (eval echo configure:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8848 if { (eval echo configure:8849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8820 rm -rf conftest* | 8849 rm -rf conftest* |
8821 eval "ac_cv_lib_$ac_lib_var=yes" | 8850 eval "ac_cv_lib_$ac_lib_var=yes" |
8822 else | 8851 else |
8823 echo "configure: failed program was:" >&5 | 8852 echo "configure: failed program was:" >&5 |
8824 cat conftest.$ac_ext >&5 | 8853 cat conftest.$ac_ext >&5 |
8852 fi | 8881 fi |
8853 | 8882 |
8854 | 8883 |
8855 | 8884 |
8856 if test "$with_x11" = "yes"; then | 8885 if test "$with_x11" = "yes"; then |
8857 | |
8858 echo "checking for X11 graphics libraries" 1>&6 | 8886 echo "checking for X11 graphics libraries" 1>&6 |
8859 echo "configure:8860: checking for X11 graphics libraries" >&5 | 8887 echo "configure:8888: checking for X11 graphics libraries" >&5 |
8860 | 8888 fi |
8889 | |
8890 if test "$with_x11" = "yes" -a "$with_widgets" = "athena"; then | |
8861 echo "checking for the Athena widgets" 1>&6 | 8891 echo "checking for the Athena widgets" 1>&6 |
8862 echo "configure:8863: checking for the Athena widgets" >&5 | 8892 echo "configure:8893: checking for the Athena widgets" >&5 |
8863 | 8893 |
8864 case "$with_athena" in | 8894 case "$with_athena" in |
8865 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8895 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8866 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8896 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8867 "next") athena_variant=neXtaw athena_3d=yes ;; | 8897 "next") athena_variant=neXtaw athena_3d=yes ;; |
8871 esac | 8901 esac |
8872 | 8902 |
8873 if test "$athena_3d" = "no"; then | 8903 if test "$athena_3d" = "no"; then |
8874 | 8904 |
8875 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8905 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8876 echo "configure:8877: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8906 echo "configure:8907: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8877 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8907 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8878 | 8908 |
8879 xe_check_libs=" -l$athena_variant " | 8909 xe_check_libs=" -l$athena_variant " |
8880 cat > conftest.$ac_ext <<EOF | 8910 cat > conftest.$ac_ext <<EOF |
8881 #line 8882 "configure" | 8911 #line 8912 "configure" |
8882 #include "confdefs.h" | 8912 #include "confdefs.h" |
8883 /* Override any gcc2 internal prototype to avoid an error. */ | 8913 /* Override any gcc2 internal prototype to avoid an error. */ |
8884 /* We use char because int might match the return type of a gcc2 | 8914 /* We use char because int might match the return type of a gcc2 |
8885 builtin and then its argument prototype would still apply. */ | 8915 builtin and then its argument prototype would still apply. */ |
8886 char XawScrollbarSetThumb(); | 8916 char XawScrollbarSetThumb(); |
8887 | 8917 |
8888 int main() { | 8918 int main() { |
8889 XawScrollbarSetThumb() | 8919 XawScrollbarSetThumb() |
8890 ; return 0; } | 8920 ; return 0; } |
8891 EOF | 8921 EOF |
8892 if { (eval echo configure:8893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8922 if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8893 rm -rf conftest* | 8923 rm -rf conftest* |
8894 eval "ac_cv_lib_$ac_lib_var=yes" | 8924 eval "ac_cv_lib_$ac_lib_var=yes" |
8895 else | 8925 else |
8896 echo "configure: failed program was:" >&5 | 8926 echo "configure: failed program was:" >&5 |
8897 cat conftest.$ac_ext >&5 | 8927 cat conftest.$ac_ext >&5 |
8903 | 8933 |
8904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8934 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8905 echo "$ac_t""yes" 1>&6 | 8935 echo "$ac_t""yes" 1>&6 |
8906 | 8936 |
8907 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8937 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8908 echo "configure:8909: checking for threeDClassRec in -l$athena_variant" >&5 | 8938 echo "configure:8939: checking for threeDClassRec in -l$athena_variant" >&5 |
8909 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8939 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8910 | 8940 |
8911 xe_check_libs=" -l$athena_variant " | 8941 xe_check_libs=" -l$athena_variant " |
8912 cat > conftest.$ac_ext <<EOF | 8942 cat > conftest.$ac_ext <<EOF |
8913 #line 8914 "configure" | 8943 #line 8944 "configure" |
8914 #include "confdefs.h" | 8944 #include "confdefs.h" |
8915 /* Override any gcc2 internal prototype to avoid an error. */ | 8945 /* Override any gcc2 internal prototype to avoid an error. */ |
8916 /* 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 |
8917 builtin and then its argument prototype would still apply. */ | 8947 builtin and then its argument prototype would still apply. */ |
8918 char threeDClassRec(); | 8948 char threeDClassRec(); |
8919 | 8949 |
8920 int main() { | 8950 int main() { |
8921 threeDClassRec() | 8951 threeDClassRec() |
8922 ; return 0; } | 8952 ; return 0; } |
8923 EOF | 8953 EOF |
8924 if { (eval echo configure:8925: \"$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 |
8925 rm -rf conftest* | 8955 rm -rf conftest* |
8926 eval "ac_cv_lib_$ac_lib_var=yes" | 8956 eval "ac_cv_lib_$ac_lib_var=yes" |
8927 else | 8957 else |
8928 echo "configure: failed program was:" >&5 | 8958 echo "configure: failed program was:" >&5 |
8929 cat conftest.$ac_ext >&5 | 8959 cat conftest.$ac_ext >&5 |
8950 | 8980 |
8951 | 8981 |
8952 else | 8982 else |
8953 | 8983 |
8954 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8984 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8955 echo "configure:8956: checking for threeDClassRec in -l$athena_variant" >&5 | 8985 echo "configure:8986: checking for threeDClassRec in -l$athena_variant" >&5 |
8956 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8986 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8957 | 8987 |
8958 xe_check_libs=" -l$athena_variant " | 8988 xe_check_libs=" -l$athena_variant " |
8959 cat > conftest.$ac_ext <<EOF | 8989 cat > conftest.$ac_ext <<EOF |
8960 #line 8961 "configure" | 8990 #line 8991 "configure" |
8961 #include "confdefs.h" | 8991 #include "confdefs.h" |
8962 /* Override any gcc2 internal prototype to avoid an error. */ | 8992 /* Override any gcc2 internal prototype to avoid an error. */ |
8963 /* We use char because int might match the return type of a gcc2 | 8993 /* We use char because int might match the return type of a gcc2 |
8964 builtin and then its argument prototype would still apply. */ | 8994 builtin and then its argument prototype would still apply. */ |
8965 char threeDClassRec(); | 8995 char threeDClassRec(); |
8966 | 8996 |
8967 int main() { | 8997 int main() { |
8968 threeDClassRec() | 8998 threeDClassRec() |
8969 ; return 0; } | 8999 ; return 0; } |
8970 EOF | 9000 EOF |
8971 if { (eval echo configure:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9001 if { (eval echo configure:9002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8972 rm -rf conftest* | 9002 rm -rf conftest* |
8973 eval "ac_cv_lib_$ac_lib_var=yes" | 9003 eval "ac_cv_lib_$ac_lib_var=yes" |
8974 else | 9004 else |
8975 echo "configure: failed program was:" >&5 | 9005 echo "configure: failed program was:" >&5 |
8976 cat conftest.$ac_ext >&5 | 9006 cat conftest.$ac_ext >&5 |
8984 echo "$ac_t""yes" 1>&6 | 9014 echo "$ac_t""yes" 1>&6 |
8985 athena_lib=$athena_variant | 9015 athena_lib=$athena_variant |
8986 else | 9016 else |
8987 echo "$ac_t""no" 1>&6 | 9017 echo "$ac_t""no" 1>&6 |
8988 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9018 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8989 echo "configure:8990: checking for threeDClassRec in -lXaw" >&5 | 9019 echo "configure:9020: checking for threeDClassRec in -lXaw" >&5 |
8990 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9020 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8991 | 9021 |
8992 xe_check_libs=" -lXaw " | 9022 xe_check_libs=" -lXaw " |
8993 cat > conftest.$ac_ext <<EOF | 9023 cat > conftest.$ac_ext <<EOF |
8994 #line 8995 "configure" | 9024 #line 9025 "configure" |
8995 #include "confdefs.h" | 9025 #include "confdefs.h" |
8996 /* Override any gcc2 internal prototype to avoid an error. */ | 9026 /* Override any gcc2 internal prototype to avoid an error. */ |
8997 /* We use char because int might match the return type of a gcc2 | 9027 /* We use char because int might match the return type of a gcc2 |
8998 builtin and then its argument prototype would still apply. */ | 9028 builtin and then its argument prototype would still apply. */ |
8999 char threeDClassRec(); | 9029 char threeDClassRec(); |
9000 | 9030 |
9001 int main() { | 9031 int main() { |
9002 threeDClassRec() | 9032 threeDClassRec() |
9003 ; return 0; } | 9033 ; return 0; } |
9004 EOF | 9034 EOF |
9005 if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9006 rm -rf conftest* | 9036 rm -rf conftest* |
9007 eval "ac_cv_lib_$ac_lib_var=yes" | 9037 eval "ac_cv_lib_$ac_lib_var=yes" |
9008 else | 9038 else |
9009 echo "configure: failed program was:" >&5 | 9039 echo "configure: failed program was:" >&5 |
9010 cat conftest.$ac_ext >&5 | 9040 cat conftest.$ac_ext >&5 |
9031 fi | 9061 fi |
9032 | 9062 |
9033 if test "$athena_3d" = "no"; then | 9063 if test "$athena_3d" = "no"; then |
9034 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9064 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9035 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9065 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9036 echo "configure:9037: checking for X11/Xaw/ThreeD.h" >&5 | 9066 echo "configure:9067: checking for X11/Xaw/ThreeD.h" >&5 |
9037 | 9067 |
9038 cat > conftest.$ac_ext <<EOF | 9068 cat > conftest.$ac_ext <<EOF |
9039 #line 9040 "configure" | 9069 #line 9070 "configure" |
9040 #include "confdefs.h" | 9070 #include "confdefs.h" |
9041 #include <X11/Xaw/ThreeD.h> | 9071 #include <X11/Xaw/ThreeD.h> |
9042 EOF | 9072 EOF |
9043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9044 { (eval echo configure:9045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9074 { (eval echo configure:9075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9046 if test -z "$ac_err"; then | 9076 if test -z "$ac_err"; then |
9047 rm -rf conftest* | 9077 rm -rf conftest* |
9048 eval "ac_cv_header_$ac_safe=yes" | 9078 eval "ac_cv_header_$ac_safe=yes" |
9049 else | 9079 else |
9059 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9089 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9060 else | 9090 else |
9061 echo "$ac_t""no" 1>&6 | 9091 echo "$ac_t""no" 1>&6 |
9062 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9092 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9063 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9093 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9064 echo "configure:9065: checking for X11/Xaw/XawInit.h" >&5 | 9094 echo "configure:9095: checking for X11/Xaw/XawInit.h" >&5 |
9065 | 9095 |
9066 cat > conftest.$ac_ext <<EOF | 9096 cat > conftest.$ac_ext <<EOF |
9067 #line 9068 "configure" | 9097 #line 9098 "configure" |
9068 #include "confdefs.h" | 9098 #include "confdefs.h" |
9069 #include <X11/Xaw/XawInit.h> | 9099 #include <X11/Xaw/XawInit.h> |
9070 EOF | 9100 EOF |
9071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9101 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9072 { (eval echo configure:9073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9102 { (eval echo configure:9103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9074 if test -z "$ac_err"; then | 9104 if test -z "$ac_err"; then |
9075 rm -rf conftest* | 9105 rm -rf conftest* |
9076 eval "ac_cv_header_$ac_safe=yes" | 9106 eval "ac_cv_header_$ac_safe=yes" |
9077 else | 9107 else |
9093 fi | 9123 fi |
9094 | 9124 |
9095 else | 9125 else |
9096 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9126 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9097 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9127 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9098 echo "configure:9099: checking for X11/$athena_variant/XawInit.h" >&5 | 9128 echo "configure:9129: checking for X11/$athena_variant/XawInit.h" >&5 |
9099 | 9129 |
9100 cat > conftest.$ac_ext <<EOF | 9130 cat > conftest.$ac_ext <<EOF |
9101 #line 9102 "configure" | 9131 #line 9132 "configure" |
9102 #include "confdefs.h" | 9132 #include "confdefs.h" |
9103 #include <X11/$athena_variant/XawInit.h> | 9133 #include <X11/$athena_variant/XawInit.h> |
9104 EOF | 9134 EOF |
9105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9106 { (eval echo configure:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9136 { (eval echo configure:9137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9108 if test -z "$ac_err"; then | 9138 if test -z "$ac_err"; then |
9109 rm -rf conftest* | 9139 rm -rf conftest* |
9110 eval "ac_cv_header_$ac_safe=yes" | 9140 eval "ac_cv_header_$ac_safe=yes" |
9111 else | 9141 else |
9118 rm -f conftest* | 9148 rm -f conftest* |
9119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9120 echo "$ac_t""yes" 1>&6 | 9150 echo "$ac_t""yes" 1>&6 |
9121 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9151 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9122 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9152 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9123 echo "configure:9124: checking for X11/$athena_variant/ThreeD.h" >&5 | 9153 echo "configure:9154: checking for X11/$athena_variant/ThreeD.h" >&5 |
9124 | 9154 |
9125 cat > conftest.$ac_ext <<EOF | 9155 cat > conftest.$ac_ext <<EOF |
9126 #line 9127 "configure" | 9156 #line 9157 "configure" |
9127 #include "confdefs.h" | 9157 #include "confdefs.h" |
9128 #include <X11/$athena_variant/ThreeD.h> | 9158 #include <X11/$athena_variant/ThreeD.h> |
9129 EOF | 9159 EOF |
9130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9131 { (eval echo configure:9132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9161 { (eval echo configure:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9133 if test -z "$ac_err"; then | 9163 if test -z "$ac_err"; then |
9134 rm -rf conftest* | 9164 rm -rf conftest* |
9135 eval "ac_cv_header_$ac_safe=yes" | 9165 eval "ac_cv_header_$ac_safe=yes" |
9136 else | 9166 else |
9154 | 9184 |
9155 | 9185 |
9156 if test -z "$athena_h_path"; then | 9186 if test -z "$athena_h_path"; then |
9157 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9187 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9158 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9188 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9159 echo "configure:9160: checking for $athena_variant/XawInit.h" >&5 | 9189 echo "configure:9190: checking for $athena_variant/XawInit.h" >&5 |
9160 | 9190 |
9161 cat > conftest.$ac_ext <<EOF | 9191 cat > conftest.$ac_ext <<EOF |
9162 #line 9163 "configure" | 9192 #line 9193 "configure" |
9163 #include "confdefs.h" | 9193 #include "confdefs.h" |
9164 #include <$athena_variant/XawInit.h> | 9194 #include <$athena_variant/XawInit.h> |
9165 EOF | 9195 EOF |
9166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9167 { (eval echo configure:9168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9197 { (eval echo configure:9198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9169 if test -z "$ac_err"; then | 9199 if test -z "$ac_err"; then |
9170 rm -rf conftest* | 9200 rm -rf conftest* |
9171 eval "ac_cv_header_$ac_safe=yes" | 9201 eval "ac_cv_header_$ac_safe=yes" |
9172 else | 9202 else |
9179 rm -f conftest* | 9209 rm -f conftest* |
9180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9181 echo "$ac_t""yes" 1>&6 | 9211 echo "$ac_t""yes" 1>&6 |
9182 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9212 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9183 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9213 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9184 echo "configure:9185: checking for $athena_variant/ThreeD.h" >&5 | 9214 echo "configure:9215: checking for $athena_variant/ThreeD.h" >&5 |
9185 | 9215 |
9186 cat > conftest.$ac_ext <<EOF | 9216 cat > conftest.$ac_ext <<EOF |
9187 #line 9188 "configure" | 9217 #line 9218 "configure" |
9188 #include "confdefs.h" | 9218 #include "confdefs.h" |
9189 #include <$athena_variant/ThreeD.h> | 9219 #include <$athena_variant/ThreeD.h> |
9190 EOF | 9220 EOF |
9191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9192 { (eval echo configure:9193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9222 { (eval echo configure:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9194 if test -z "$ac_err"; then | 9224 if test -z "$ac_err"; then |
9195 rm -rf conftest* | 9225 rm -rf conftest* |
9196 eval "ac_cv_header_$ac_safe=yes" | 9226 eval "ac_cv_header_$ac_safe=yes" |
9197 else | 9227 else |
9216 fi | 9246 fi |
9217 | 9247 |
9218 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9248 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9219 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9249 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9220 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9250 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9221 echo "configure:9222: checking for X11/Xaw3d/XawInit.h" >&5 | 9251 echo "configure:9252: checking for X11/Xaw3d/XawInit.h" >&5 |
9222 | 9252 |
9223 cat > conftest.$ac_ext <<EOF | 9253 cat > conftest.$ac_ext <<EOF |
9224 #line 9225 "configure" | 9254 #line 9255 "configure" |
9225 #include "confdefs.h" | 9255 #include "confdefs.h" |
9226 #include <X11/Xaw3d/XawInit.h> | 9256 #include <X11/Xaw3d/XawInit.h> |
9227 EOF | 9257 EOF |
9228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9229 { (eval echo configure:9230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9259 { (eval echo configure:9260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9260 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9231 if test -z "$ac_err"; then | 9261 if test -z "$ac_err"; then |
9232 rm -rf conftest* | 9262 rm -rf conftest* |
9233 eval "ac_cv_header_$ac_safe=yes" | 9263 eval "ac_cv_header_$ac_safe=yes" |
9234 else | 9264 else |
9241 rm -f conftest* | 9271 rm -f conftest* |
9242 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9243 echo "$ac_t""yes" 1>&6 | 9273 echo "$ac_t""yes" 1>&6 |
9244 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9274 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9245 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9275 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9246 echo "configure:9247: checking for X11/Xaw3d/ThreeD.h" >&5 | 9276 echo "configure:9277: checking for X11/Xaw3d/ThreeD.h" >&5 |
9247 | 9277 |
9248 cat > conftest.$ac_ext <<EOF | 9278 cat > conftest.$ac_ext <<EOF |
9249 #line 9250 "configure" | 9279 #line 9280 "configure" |
9250 #include "confdefs.h" | 9280 #include "confdefs.h" |
9251 #include <X11/Xaw3d/ThreeD.h> | 9281 #include <X11/Xaw3d/ThreeD.h> |
9252 EOF | 9282 EOF |
9253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9254 { (eval echo configure:9255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9284 { (eval echo configure:9285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9256 if test -z "$ac_err"; then | 9286 if test -z "$ac_err"; then |
9257 rm -rf conftest* | 9287 rm -rf conftest* |
9258 eval "ac_cv_header_$ac_safe=yes" | 9288 eval "ac_cv_header_$ac_safe=yes" |
9259 else | 9289 else |
9281 fi | 9311 fi |
9282 | 9312 |
9283 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9313 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9284 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9314 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9285 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9315 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9286 echo "configure:9287: checking for Xaw3d/XawInit.h" >&5 | 9316 echo "configure:9317: checking for Xaw3d/XawInit.h" >&5 |
9287 | 9317 |
9288 cat > conftest.$ac_ext <<EOF | 9318 cat > conftest.$ac_ext <<EOF |
9289 #line 9290 "configure" | 9319 #line 9320 "configure" |
9290 #include "confdefs.h" | 9320 #include "confdefs.h" |
9291 #include <Xaw3d/XawInit.h> | 9321 #include <Xaw3d/XawInit.h> |
9292 EOF | 9322 EOF |
9293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9294 { (eval echo configure:9295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9324 { (eval echo configure:9325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9296 if test -z "$ac_err"; then | 9326 if test -z "$ac_err"; then |
9297 rm -rf conftest* | 9327 rm -rf conftest* |
9298 eval "ac_cv_header_$ac_safe=yes" | 9328 eval "ac_cv_header_$ac_safe=yes" |
9299 else | 9329 else |
9306 rm -f conftest* | 9336 rm -f conftest* |
9307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9308 echo "$ac_t""yes" 1>&6 | 9338 echo "$ac_t""yes" 1>&6 |
9309 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9339 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9310 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9340 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9311 echo "configure:9312: checking for Xaw3d/ThreeD.h" >&5 | 9341 echo "configure:9342: checking for Xaw3d/ThreeD.h" >&5 |
9312 | 9342 |
9313 cat > conftest.$ac_ext <<EOF | 9343 cat > conftest.$ac_ext <<EOF |
9314 #line 9315 "configure" | 9344 #line 9345 "configure" |
9315 #include "confdefs.h" | 9345 #include "confdefs.h" |
9316 #include <Xaw3d/ThreeD.h> | 9346 #include <Xaw3d/ThreeD.h> |
9317 EOF | 9347 EOF |
9318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9319 { (eval echo configure:9320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9349 { (eval echo configure:9350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9321 if test -z "$ac_err"; then | 9351 if test -z "$ac_err"; then |
9322 rm -rf conftest* | 9352 rm -rf conftest* |
9323 eval "ac_cv_header_$ac_safe=yes" | 9353 eval "ac_cv_header_$ac_safe=yes" |
9324 else | 9354 else |
9346 fi | 9376 fi |
9347 | 9377 |
9348 if test -z "$athena_h_path"; then | 9378 if test -z "$athena_h_path"; then |
9349 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9379 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9350 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9380 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9351 echo "configure:9352: checking for X11/Xaw/ThreeD.h" >&5 | 9381 echo "configure:9382: checking for X11/Xaw/ThreeD.h" >&5 |
9352 | 9382 |
9353 cat > conftest.$ac_ext <<EOF | 9383 cat > conftest.$ac_ext <<EOF |
9354 #line 9355 "configure" | 9384 #line 9385 "configure" |
9355 #include "confdefs.h" | 9385 #include "confdefs.h" |
9356 #include <X11/Xaw/ThreeD.h> | 9386 #include <X11/Xaw/ThreeD.h> |
9357 EOF | 9387 EOF |
9358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9359 { (eval echo configure:9360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9389 { (eval echo configure:9390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9361 if test -z "$ac_err"; then | 9391 if test -z "$ac_err"; then |
9362 rm -rf conftest* | 9392 rm -rf conftest* |
9363 eval "ac_cv_header_$ac_safe=yes" | 9393 eval "ac_cv_header_$ac_safe=yes" |
9364 else | 9394 else |
9387 have_xaw=yes | 9417 have_xaw=yes |
9388 else | 9418 else |
9389 have_xaw=no | 9419 have_xaw=no |
9390 fi | 9420 fi |
9391 | 9421 |
9422 else | |
9423 have_xaw=no | |
9424 fi | |
9425 if test "$with_x11" = "yes"; then | |
9392 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9426 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9393 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9427 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9394 echo "configure:9395: checking for Xm/Xm.h" >&5 | 9428 echo "configure:9429: checking for Xm/Xm.h" >&5 |
9395 | 9429 |
9396 cat > conftest.$ac_ext <<EOF | 9430 cat > conftest.$ac_ext <<EOF |
9397 #line 9398 "configure" | 9431 #line 9432 "configure" |
9398 #include "confdefs.h" | 9432 #include "confdefs.h" |
9399 #include <Xm/Xm.h> | 9433 #include <Xm/Xm.h> |
9400 EOF | 9434 EOF |
9401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9435 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9402 { (eval echo configure:9403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9436 { (eval echo configure:9437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9437 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9404 if test -z "$ac_err"; then | 9438 if test -z "$ac_err"; then |
9405 rm -rf conftest* | 9439 rm -rf conftest* |
9406 eval "ac_cv_header_$ac_safe=yes" | 9440 eval "ac_cv_header_$ac_safe=yes" |
9407 else | 9441 else |
9414 rm -f conftest* | 9448 rm -f conftest* |
9415 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9449 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9416 echo "$ac_t""yes" 1>&6 | 9450 echo "$ac_t""yes" 1>&6 |
9417 | 9451 |
9418 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9452 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9419 echo "configure:9420: checking for XmStringFree in -lXm" >&5 | 9453 echo "configure:9454: checking for XmStringFree in -lXm" >&5 |
9420 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9454 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9421 | 9455 |
9422 xe_check_libs=" -lXm " | 9456 xe_check_libs=" -lXm " |
9423 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
9424 #line 9425 "configure" | 9458 #line 9459 "configure" |
9425 #include "confdefs.h" | 9459 #include "confdefs.h" |
9426 /* Override any gcc2 internal prototype to avoid an error. */ | 9460 /* Override any gcc2 internal prototype to avoid an error. */ |
9427 /* We use char because int might match the return type of a gcc2 | 9461 /* We use char because int might match the return type of a gcc2 |
9428 builtin and then its argument prototype would still apply. */ | 9462 builtin and then its argument prototype would still apply. */ |
9429 char XmStringFree(); | 9463 char XmStringFree(); |
9430 | 9464 |
9431 int main() { | 9465 int main() { |
9432 XmStringFree() | 9466 XmStringFree() |
9433 ; return 0; } | 9467 ; return 0; } |
9434 EOF | 9468 EOF |
9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9469 if { (eval echo configure:9470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9436 rm -rf conftest* | 9470 rm -rf conftest* |
9437 eval "ac_cv_lib_$ac_lib_var=yes" | 9471 eval "ac_cv_lib_$ac_lib_var=yes" |
9438 else | 9472 else |
9439 echo "configure: failed program was:" >&5 | 9473 echo "configure: failed program was:" >&5 |
9440 cat conftest.$ac_ext >&5 | 9474 cat conftest.$ac_ext >&5 |
9459 fi | 9493 fi |
9460 | 9494 |
9461 | 9495 |
9462 if test "$have_motif" = "yes"; then | 9496 if test "$have_motif" = "yes"; then |
9463 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9497 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9464 echo "configure:9465: checking for Lesstif" >&5 | 9498 echo "configure:9499: checking for Lesstif" >&5 |
9465 cat > conftest.$ac_ext <<EOF | 9499 cat > conftest.$ac_ext <<EOF |
9466 #line 9467 "configure" | 9500 #line 9501 "configure" |
9467 #include "confdefs.h" | 9501 #include "confdefs.h" |
9468 #include <Xm/Xm.h> | 9502 #include <Xm/Xm.h> |
9469 #ifdef LESSTIF_VERSION | 9503 #ifdef LESSTIF_VERSION |
9470 yes | 9504 yes |
9471 #endif | 9505 #endif |
9891 | 9925 |
9892 test -z "$with_file_coding" && with_file_coding=no | 9926 test -z "$with_file_coding" && with_file_coding=no |
9893 | 9927 |
9894 if test "$with_mule" = "yes" ; then | 9928 if test "$with_mule" = "yes" ; then |
9895 echo "checking for Mule-related features" 1>&6 | 9929 echo "checking for Mule-related features" 1>&6 |
9896 echo "configure:9897: checking for Mule-related features" >&5 | 9930 echo "configure:9931: checking for Mule-related features" >&5 |
9897 { test "$extra_verbose" = "yes" && cat << \EOF | 9931 { test "$extra_verbose" = "yes" && cat << \EOF |
9898 Defining MULE | 9932 Defining MULE |
9899 EOF | 9933 EOF |
9900 cat >> confdefs.h <<\EOF | 9934 cat >> confdefs.h <<\EOF |
9901 #define MULE 1 | 9935 #define MULE 1 |
9916 | 9950 |
9917 for ac_hdr in libintl.h | 9951 for ac_hdr in libintl.h |
9918 do | 9952 do |
9919 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9953 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9954 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9921 echo "configure:9922: checking for $ac_hdr" >&5 | 9955 echo "configure:9956: checking for $ac_hdr" >&5 |
9922 | 9956 |
9923 cat > conftest.$ac_ext <<EOF | 9957 cat > conftest.$ac_ext <<EOF |
9924 #line 9925 "configure" | 9958 #line 9959 "configure" |
9925 #include "confdefs.h" | 9959 #include "confdefs.h" |
9926 #include <$ac_hdr> | 9960 #include <$ac_hdr> |
9927 EOF | 9961 EOF |
9928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9962 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9929 { (eval echo configure:9930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9963 { (eval echo configure:9964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9964 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9931 if test -z "$ac_err"; then | 9965 if test -z "$ac_err"; then |
9932 rm -rf conftest* | 9966 rm -rf conftest* |
9933 eval "ac_cv_header_$ac_safe=yes" | 9967 eval "ac_cv_header_$ac_safe=yes" |
9934 else | 9968 else |
9955 fi | 9989 fi |
9956 done | 9990 done |
9957 | 9991 |
9958 | 9992 |
9959 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9993 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9960 echo "configure:9961: checking for strerror in -lintl" >&5 | 9994 echo "configure:9995: checking for strerror in -lintl" >&5 |
9961 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9995 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9962 | 9996 |
9963 xe_check_libs=" -lintl " | 9997 xe_check_libs=" -lintl " |
9964 cat > conftest.$ac_ext <<EOF | 9998 cat > conftest.$ac_ext <<EOF |
9965 #line 9966 "configure" | 9999 #line 10000 "configure" |
9966 #include "confdefs.h" | 10000 #include "confdefs.h" |
9967 /* Override any gcc2 internal prototype to avoid an error. */ | 10001 /* Override any gcc2 internal prototype to avoid an error. */ |
9968 /* We use char because int might match the return type of a gcc2 | 10002 /* We use char because int might match the return type of a gcc2 |
9969 builtin and then its argument prototype would still apply. */ | 10003 builtin and then its argument prototype would still apply. */ |
9970 char strerror(); | 10004 char strerror(); |
9971 | 10005 |
9972 int main() { | 10006 int main() { |
9973 strerror() | 10007 strerror() |
9974 ; return 0; } | 10008 ; return 0; } |
9975 EOF | 10009 EOF |
9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10010 if { (eval echo configure:10011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9977 rm -rf conftest* | 10011 rm -rf conftest* |
9978 eval "ac_cv_lib_$ac_lib_var=yes" | 10012 eval "ac_cv_lib_$ac_lib_var=yes" |
9979 else | 10013 else |
9980 echo "configure: failed program was:" >&5 | 10014 echo "configure: failed program was:" >&5 |
9981 cat conftest.$ac_ext >&5 | 10015 cat conftest.$ac_ext >&5 |
10004 fi | 10038 fi |
10005 | 10039 |
10006 | 10040 |
10007 | 10041 |
10008 echo "checking for Mule input methods" 1>&6 | 10042 echo "checking for Mule input methods" 1>&6 |
10009 echo "configure:10010: checking for Mule input methods" >&5 | 10043 echo "configure:10044: checking for Mule input methods" >&5 |
10010 case "$with_xim" in "" | "yes" ) | 10044 case "$with_xim" in "" | "yes" ) |
10011 echo "checking for XIM" 1>&6 | 10045 echo "checking for XIM" 1>&6 |
10012 echo "configure:10013: checking for XIM" >&5 | 10046 echo "configure:10047: checking for XIM" >&5 |
10013 | 10047 |
10014 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10048 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10015 echo "configure:10016: checking for XOpenIM in -lX11" >&5 | 10049 echo "configure:10050: checking for XOpenIM in -lX11" >&5 |
10016 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10050 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10017 | 10051 |
10018 xe_check_libs=" -lX11 " | 10052 xe_check_libs=" -lX11 " |
10019 cat > conftest.$ac_ext <<EOF | 10053 cat > conftest.$ac_ext <<EOF |
10020 #line 10021 "configure" | 10054 #line 10055 "configure" |
10021 #include "confdefs.h" | 10055 #include "confdefs.h" |
10022 /* Override any gcc2 internal prototype to avoid an error. */ | 10056 /* Override any gcc2 internal prototype to avoid an error. */ |
10023 /* We use char because int might match the return type of a gcc2 | 10057 /* We use char because int might match the return type of a gcc2 |
10024 builtin and then its argument prototype would still apply. */ | 10058 builtin and then its argument prototype would still apply. */ |
10025 char XOpenIM(); | 10059 char XOpenIM(); |
10026 | 10060 |
10027 int main() { | 10061 int main() { |
10028 XOpenIM() | 10062 XOpenIM() |
10029 ; return 0; } | 10063 ; return 0; } |
10030 EOF | 10064 EOF |
10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10065 if { (eval echo configure:10066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10032 rm -rf conftest* | 10066 rm -rf conftest* |
10033 eval "ac_cv_lib_$ac_lib_var=yes" | 10067 eval "ac_cv_lib_$ac_lib_var=yes" |
10034 else | 10068 else |
10035 echo "configure: failed program was:" >&5 | 10069 echo "configure: failed program was:" >&5 |
10036 cat conftest.$ac_ext >&5 | 10070 cat conftest.$ac_ext >&5 |
10050 | 10084 |
10051 | 10085 |
10052 if test "$have_motif $have_lesstif" = "yes no"; then | 10086 if test "$have_motif $have_lesstif" = "yes no"; then |
10053 | 10087 |
10054 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10088 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10055 echo "configure:10056: checking for XmImMbLookupString in -lXm" >&5 | 10089 echo "configure:10090: checking for XmImMbLookupString in -lXm" >&5 |
10056 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10090 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10057 | 10091 |
10058 xe_check_libs=" -lXm " | 10092 xe_check_libs=" -lXm " |
10059 cat > conftest.$ac_ext <<EOF | 10093 cat > conftest.$ac_ext <<EOF |
10060 #line 10061 "configure" | 10094 #line 10095 "configure" |
10061 #include "confdefs.h" | 10095 #include "confdefs.h" |
10062 /* Override any gcc2 internal prototype to avoid an error. */ | 10096 /* Override any gcc2 internal prototype to avoid an error. */ |
10063 /* We use char because int might match the return type of a gcc2 | 10097 /* We use char because int might match the return type of a gcc2 |
10064 builtin and then its argument prototype would still apply. */ | 10098 builtin and then its argument prototype would still apply. */ |
10065 char XmImMbLookupString(); | 10099 char XmImMbLookupString(); |
10066 | 10100 |
10067 int main() { | 10101 int main() { |
10068 XmImMbLookupString() | 10102 XmImMbLookupString() |
10069 ; return 0; } | 10103 ; return 0; } |
10070 EOF | 10104 EOF |
10071 if { (eval echo configure:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10105 if { (eval echo configure:10106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10072 rm -rf conftest* | 10106 rm -rf conftest* |
10073 eval "ac_cv_lib_$ac_lib_var=yes" | 10107 eval "ac_cv_lib_$ac_lib_var=yes" |
10074 else | 10108 else |
10075 echo "configure: failed program was:" >&5 | 10109 echo "configure: failed program was:" >&5 |
10076 cat conftest.$ac_ext >&5 | 10110 cat conftest.$ac_ext >&5 |
10131 fi | 10165 fi |
10132 fi | 10166 fi |
10133 | 10167 |
10134 if test "$with_xfs" = "yes" ; then | 10168 if test "$with_xfs" = "yes" ; then |
10135 echo "checking for XFontSet" 1>&6 | 10169 echo "checking for XFontSet" 1>&6 |
10136 echo "configure:10137: checking for XFontSet" >&5 | 10170 echo "configure:10171: checking for XFontSet" >&5 |
10137 | 10171 |
10138 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10172 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10139 echo "configure:10140: checking for XmbDrawString in -lX11" >&5 | 10173 echo "configure:10174: checking for XmbDrawString in -lX11" >&5 |
10140 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10174 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10141 | 10175 |
10142 xe_check_libs=" -lX11 " | 10176 xe_check_libs=" -lX11 " |
10143 cat > conftest.$ac_ext <<EOF | 10177 cat > conftest.$ac_ext <<EOF |
10144 #line 10145 "configure" | 10178 #line 10179 "configure" |
10145 #include "confdefs.h" | 10179 #include "confdefs.h" |
10146 /* Override any gcc2 internal prototype to avoid an error. */ | 10180 /* Override any gcc2 internal prototype to avoid an error. */ |
10147 /* We use char because int might match the return type of a gcc2 | 10181 /* We use char because int might match the return type of a gcc2 |
10148 builtin and then its argument prototype would still apply. */ | 10182 builtin and then its argument prototype would still apply. */ |
10149 char XmbDrawString(); | 10183 char XmbDrawString(); |
10150 | 10184 |
10151 int main() { | 10185 int main() { |
10152 XmbDrawString() | 10186 XmbDrawString() |
10153 ; return 0; } | 10187 ; return 0; } |
10154 EOF | 10188 EOF |
10155 if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10189 if { (eval echo configure:10190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10156 rm -rf conftest* | 10190 rm -rf conftest* |
10157 eval "ac_cv_lib_$ac_lib_var=yes" | 10191 eval "ac_cv_lib_$ac_lib_var=yes" |
10158 else | 10192 else |
10159 echo "configure: failed program was:" >&5 | 10193 echo "configure: failed program was:" >&5 |
10160 cat conftest.$ac_ext >&5 | 10194 cat conftest.$ac_ext >&5 |
10190 fi | 10224 fi |
10191 fi | 10225 fi |
10192 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10226 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10193 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10227 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10194 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10228 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10195 echo "configure:10196: checking for wnn/jllib.h" >&5 | 10229 echo "configure:10230: checking for wnn/jllib.h" >&5 |
10196 | 10230 |
10197 cat > conftest.$ac_ext <<EOF | 10231 cat > conftest.$ac_ext <<EOF |
10198 #line 10199 "configure" | 10232 #line 10233 "configure" |
10199 #include "confdefs.h" | 10233 #include "confdefs.h" |
10200 #include <wnn/jllib.h> | 10234 #include <wnn/jllib.h> |
10201 EOF | 10235 EOF |
10202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10203 { (eval echo configure:10204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10237 { (eval echo configure:10238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10205 if test -z "$ac_err"; then | 10239 if test -z "$ac_err"; then |
10206 rm -rf conftest* | 10240 rm -rf conftest* |
10207 eval "ac_cv_header_$ac_safe=yes" | 10241 eval "ac_cv_header_$ac_safe=yes" |
10208 else | 10242 else |
10221 with_wnn=no | 10255 with_wnn=no |
10222 fi | 10256 fi |
10223 } | 10257 } |
10224 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10258 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10225 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10259 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10226 echo "configure:10227: checking for wnn/commonhd.h" >&5 | 10260 echo "configure:10261: checking for wnn/commonhd.h" >&5 |
10227 | 10261 |
10228 cat > conftest.$ac_ext <<EOF | 10262 cat > conftest.$ac_ext <<EOF |
10229 #line 10230 "configure" | 10263 #line 10264 "configure" |
10230 #include "confdefs.h" | 10264 #include "confdefs.h" |
10231 #include <wnn/commonhd.h> | 10265 #include <wnn/commonhd.h> |
10232 EOF | 10266 EOF |
10233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10234 { (eval echo configure:10235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10268 { (eval echo configure:10269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10236 if test -z "$ac_err"; then | 10270 if test -z "$ac_err"; then |
10237 rm -rf conftest* | 10271 rm -rf conftest* |
10238 eval "ac_cv_header_$ac_safe=yes" | 10272 eval "ac_cv_header_$ac_safe=yes" |
10239 else | 10273 else |
10254 } | 10288 } |
10255 if test "$with_wnn" != "no"; then | 10289 if test "$with_wnn" != "no"; then |
10256 for ac_func in crypt | 10290 for ac_func in crypt |
10257 do | 10291 do |
10258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10259 echo "configure:10260: checking for $ac_func" >&5 | 10293 echo "configure:10294: checking for $ac_func" >&5 |
10260 | 10294 |
10261 cat > conftest.$ac_ext <<EOF | 10295 cat > conftest.$ac_ext <<EOF |
10262 #line 10263 "configure" | 10296 #line 10297 "configure" |
10263 #include "confdefs.h" | 10297 #include "confdefs.h" |
10264 /* System header to define __stub macros and hopefully few prototypes, | 10298 /* System header to define __stub macros and hopefully few prototypes, |
10265 which can conflict with char $ac_func(); below. */ | 10299 which can conflict with char $ac_func(); below. */ |
10266 #include <assert.h> | 10300 #include <assert.h> |
10267 /* Override any gcc2 internal prototype to avoid an error. */ | 10301 /* Override any gcc2 internal prototype to avoid an error. */ |
10280 $ac_func(); | 10314 $ac_func(); |
10281 #endif | 10315 #endif |
10282 | 10316 |
10283 ; return 0; } | 10317 ; return 0; } |
10284 EOF | 10318 EOF |
10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10319 if { (eval echo configure:10320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10286 rm -rf conftest* | 10320 rm -rf conftest* |
10287 eval "ac_cv_func_$ac_func=yes" | 10321 eval "ac_cv_func_$ac_func=yes" |
10288 else | 10322 else |
10289 echo "configure: failed program was:" >&5 | 10323 echo "configure: failed program was:" >&5 |
10290 cat conftest.$ac_ext >&5 | 10324 cat conftest.$ac_ext >&5 |
10309 fi | 10343 fi |
10310 done | 10344 done |
10311 | 10345 |
10312 test "$ac_cv_func_crypt" != "yes" && { | 10346 test "$ac_cv_func_crypt" != "yes" && { |
10313 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10347 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10314 echo "configure:10315: checking for crypt in -lcrypt" >&5 | 10348 echo "configure:10349: checking for crypt in -lcrypt" >&5 |
10315 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10349 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10316 | 10350 |
10317 xe_check_libs=" -lcrypt " | 10351 xe_check_libs=" -lcrypt " |
10318 cat > conftest.$ac_ext <<EOF | 10352 cat > conftest.$ac_ext <<EOF |
10319 #line 10320 "configure" | 10353 #line 10354 "configure" |
10320 #include "confdefs.h" | 10354 #include "confdefs.h" |
10321 /* Override any gcc2 internal prototype to avoid an error. */ | 10355 /* Override any gcc2 internal prototype to avoid an error. */ |
10322 /* We use char because int might match the return type of a gcc2 | 10356 /* We use char because int might match the return type of a gcc2 |
10323 builtin and then its argument prototype would still apply. */ | 10357 builtin and then its argument prototype would still apply. */ |
10324 char crypt(); | 10358 char crypt(); |
10325 | 10359 |
10326 int main() { | 10360 int main() { |
10327 crypt() | 10361 crypt() |
10328 ; return 0; } | 10362 ; return 0; } |
10329 EOF | 10363 EOF |
10330 if { (eval echo configure:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10364 if { (eval echo configure:10365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10331 rm -rf conftest* | 10365 rm -rf conftest* |
10332 eval "ac_cv_lib_$ac_lib_var=yes" | 10366 eval "ac_cv_lib_$ac_lib_var=yes" |
10333 else | 10367 else |
10334 echo "configure: failed program was:" >&5 | 10368 echo "configure: failed program was:" >&5 |
10335 cat conftest.$ac_ext >&5 | 10369 cat conftest.$ac_ext >&5 |
10360 } | 10394 } |
10361 fi | 10395 fi |
10362 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10396 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10363 | 10397 |
10364 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10398 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10365 echo "configure:10366: checking for jl_dic_list_e in -lwnn" >&5 | 10399 echo "configure:10400: checking for jl_dic_list_e in -lwnn" >&5 |
10366 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10400 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10367 | 10401 |
10368 xe_check_libs=" -lwnn " | 10402 xe_check_libs=" -lwnn " |
10369 cat > conftest.$ac_ext <<EOF | 10403 cat > conftest.$ac_ext <<EOF |
10370 #line 10371 "configure" | 10404 #line 10405 "configure" |
10371 #include "confdefs.h" | 10405 #include "confdefs.h" |
10372 /* Override any gcc2 internal prototype to avoid an error. */ | 10406 /* Override any gcc2 internal prototype to avoid an error. */ |
10373 /* We use char because int might match the return type of a gcc2 | 10407 /* We use char because int might match the return type of a gcc2 |
10374 builtin and then its argument prototype would still apply. */ | 10408 builtin and then its argument prototype would still apply. */ |
10375 char jl_dic_list_e(); | 10409 char jl_dic_list_e(); |
10376 | 10410 |
10377 int main() { | 10411 int main() { |
10378 jl_dic_list_e() | 10412 jl_dic_list_e() |
10379 ; return 0; } | 10413 ; return 0; } |
10380 EOF | 10414 EOF |
10381 if { (eval echo configure:10382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10415 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10382 rm -rf conftest* | 10416 rm -rf conftest* |
10383 eval "ac_cv_lib_$ac_lib_var=yes" | 10417 eval "ac_cv_lib_$ac_lib_var=yes" |
10384 else | 10418 else |
10385 echo "configure: failed program was:" >&5 | 10419 echo "configure: failed program was:" >&5 |
10386 cat conftest.$ac_ext >&5 | 10420 cat conftest.$ac_ext >&5 |
10394 echo "$ac_t""yes" 1>&6 | 10428 echo "$ac_t""yes" 1>&6 |
10395 libwnn=wnn | 10429 libwnn=wnn |
10396 else | 10430 else |
10397 echo "$ac_t""no" 1>&6 | 10431 echo "$ac_t""no" 1>&6 |
10398 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10432 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10399 echo "configure:10400: checking for jl_dic_list_e in -lwnn4" >&5 | 10433 echo "configure:10434: checking for jl_dic_list_e in -lwnn4" >&5 |
10400 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10434 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10401 | 10435 |
10402 xe_check_libs=" -lwnn4 " | 10436 xe_check_libs=" -lwnn4 " |
10403 cat > conftest.$ac_ext <<EOF | 10437 cat > conftest.$ac_ext <<EOF |
10404 #line 10405 "configure" | 10438 #line 10439 "configure" |
10405 #include "confdefs.h" | 10439 #include "confdefs.h" |
10406 /* Override any gcc2 internal prototype to avoid an error. */ | 10440 /* Override any gcc2 internal prototype to avoid an error. */ |
10407 /* We use char because int might match the return type of a gcc2 | 10441 /* We use char because int might match the return type of a gcc2 |
10408 builtin and then its argument prototype would still apply. */ | 10442 builtin and then its argument prototype would still apply. */ |
10409 char jl_dic_list_e(); | 10443 char jl_dic_list_e(); |
10410 | 10444 |
10411 int main() { | 10445 int main() { |
10412 jl_dic_list_e() | 10446 jl_dic_list_e() |
10413 ; return 0; } | 10447 ; return 0; } |
10414 EOF | 10448 EOF |
10415 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10449 if { (eval echo configure:10450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10416 rm -rf conftest* | 10450 rm -rf conftest* |
10417 eval "ac_cv_lib_$ac_lib_var=yes" | 10451 eval "ac_cv_lib_$ac_lib_var=yes" |
10418 else | 10452 else |
10419 echo "configure: failed program was:" >&5 | 10453 echo "configure: failed program was:" >&5 |
10420 cat conftest.$ac_ext >&5 | 10454 cat conftest.$ac_ext >&5 |
10428 echo "$ac_t""yes" 1>&6 | 10462 echo "$ac_t""yes" 1>&6 |
10429 libwnn=wnn4 | 10463 libwnn=wnn4 |
10430 else | 10464 else |
10431 echo "$ac_t""no" 1>&6 | 10465 echo "$ac_t""no" 1>&6 |
10432 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10466 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10433 echo "configure:10434: checking for jl_dic_list_e in -lwnn6" >&5 | 10467 echo "configure:10468: checking for jl_dic_list_e in -lwnn6" >&5 |
10434 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10468 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10435 | 10469 |
10436 xe_check_libs=" -lwnn6 " | 10470 xe_check_libs=" -lwnn6 " |
10437 cat > conftest.$ac_ext <<EOF | 10471 cat > conftest.$ac_ext <<EOF |
10438 #line 10439 "configure" | 10472 #line 10473 "configure" |
10439 #include "confdefs.h" | 10473 #include "confdefs.h" |
10440 /* Override any gcc2 internal prototype to avoid an error. */ | 10474 /* Override any gcc2 internal prototype to avoid an error. */ |
10441 /* We use char because int might match the return type of a gcc2 | 10475 /* We use char because int might match the return type of a gcc2 |
10442 builtin and then its argument prototype would still apply. */ | 10476 builtin and then its argument prototype would still apply. */ |
10443 char jl_dic_list_e(); | 10477 char jl_dic_list_e(); |
10444 | 10478 |
10445 int main() { | 10479 int main() { |
10446 jl_dic_list_e() | 10480 jl_dic_list_e() |
10447 ; return 0; } | 10481 ; return 0; } |
10448 EOF | 10482 EOF |
10449 if { (eval echo configure:10450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10483 if { (eval echo configure:10484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10450 rm -rf conftest* | 10484 rm -rf conftest* |
10451 eval "ac_cv_lib_$ac_lib_var=yes" | 10485 eval "ac_cv_lib_$ac_lib_var=yes" |
10452 else | 10486 else |
10453 echo "configure: failed program was:" >&5 | 10487 echo "configure: failed program was:" >&5 |
10454 cat conftest.$ac_ext >&5 | 10488 cat conftest.$ac_ext >&5 |
10462 echo "$ac_t""yes" 1>&6 | 10496 echo "$ac_t""yes" 1>&6 |
10463 libwnn=wnn6 | 10497 libwnn=wnn6 |
10464 else | 10498 else |
10465 echo "$ac_t""no" 1>&6 | 10499 echo "$ac_t""no" 1>&6 |
10466 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10500 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10467 echo "configure:10468: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10501 echo "configure:10502: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10468 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10502 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10469 | 10503 |
10470 xe_check_libs=" -lwnn6_fromsrc " | 10504 xe_check_libs=" -lwnn6_fromsrc " |
10471 cat > conftest.$ac_ext <<EOF | 10505 cat > conftest.$ac_ext <<EOF |
10472 #line 10473 "configure" | 10506 #line 10507 "configure" |
10473 #include "confdefs.h" | 10507 #include "confdefs.h" |
10474 /* Override any gcc2 internal prototype to avoid an error. */ | 10508 /* Override any gcc2 internal prototype to avoid an error. */ |
10475 /* We use char because int might match the return type of a gcc2 | 10509 /* We use char because int might match the return type of a gcc2 |
10476 builtin and then its argument prototype would still apply. */ | 10510 builtin and then its argument prototype would still apply. */ |
10477 char dic_list_e(); | 10511 char dic_list_e(); |
10478 | 10512 |
10479 int main() { | 10513 int main() { |
10480 dic_list_e() | 10514 dic_list_e() |
10481 ; return 0; } | 10515 ; return 0; } |
10482 EOF | 10516 EOF |
10483 if { (eval echo configure:10484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10517 if { (eval echo configure:10518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10484 rm -rf conftest* | 10518 rm -rf conftest* |
10485 eval "ac_cv_lib_$ac_lib_var=yes" | 10519 eval "ac_cv_lib_$ac_lib_var=yes" |
10486 else | 10520 else |
10487 echo "configure: failed program was:" >&5 | 10521 echo "configure: failed program was:" >&5 |
10488 cat conftest.$ac_ext >&5 | 10522 cat conftest.$ac_ext >&5 |
10526 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10560 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10527 fi | 10561 fi |
10528 if test "$with_wnn6" != "no"; then | 10562 if test "$with_wnn6" != "no"; then |
10529 | 10563 |
10530 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10564 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10531 echo "configure:10532: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10565 echo "configure:10566: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10532 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10566 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10533 | 10567 |
10534 xe_check_libs=" -l$libwnn " | 10568 xe_check_libs=" -l$libwnn " |
10535 cat > conftest.$ac_ext <<EOF | 10569 cat > conftest.$ac_ext <<EOF |
10536 #line 10537 "configure" | 10570 #line 10571 "configure" |
10537 #include "confdefs.h" | 10571 #include "confdefs.h" |
10538 /* Override any gcc2 internal prototype to avoid an error. */ | 10572 /* Override any gcc2 internal prototype to avoid an error. */ |
10539 /* We use char because int might match the return type of a gcc2 | 10573 /* We use char because int might match the return type of a gcc2 |
10540 builtin and then its argument prototype would still apply. */ | 10574 builtin and then its argument prototype would still apply. */ |
10541 char jl_fi_dic_list(); | 10575 char jl_fi_dic_list(); |
10542 | 10576 |
10543 int main() { | 10577 int main() { |
10544 jl_fi_dic_list() | 10578 jl_fi_dic_list() |
10545 ; return 0; } | 10579 ; return 0; } |
10546 EOF | 10580 EOF |
10547 if { (eval echo configure:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10581 if { (eval echo configure:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10548 rm -rf conftest* | 10582 rm -rf conftest* |
10549 eval "ac_cv_lib_$ac_lib_var=yes" | 10583 eval "ac_cv_lib_$ac_lib_var=yes" |
10550 else | 10584 else |
10551 echo "configure: failed program was:" >&5 | 10585 echo "configure: failed program was:" >&5 |
10552 cat conftest.$ac_ext >&5 | 10586 cat conftest.$ac_ext >&5 |
10577 | 10611 |
10578 canna_includes_found=no | 10612 canna_includes_found=no |
10579 if test "$with_canna" != "no"; then | 10613 if test "$with_canna" != "no"; then |
10580 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10614 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10581 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10615 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10582 echo "configure:10583: checking for canna/jrkanji.h" >&5 | 10616 echo "configure:10617: checking for canna/jrkanji.h" >&5 |
10583 | 10617 |
10584 cat > conftest.$ac_ext <<EOF | 10618 cat > conftest.$ac_ext <<EOF |
10585 #line 10586 "configure" | 10619 #line 10620 "configure" |
10586 #include "confdefs.h" | 10620 #include "confdefs.h" |
10587 #include <canna/jrkanji.h> | 10621 #include <canna/jrkanji.h> |
10588 EOF | 10622 EOF |
10589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10590 { (eval echo configure:10591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10624 { (eval echo configure:10625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10592 if test -z "$ac_err"; then | 10626 if test -z "$ac_err"; then |
10593 rm -rf conftest* | 10627 rm -rf conftest* |
10594 eval "ac_cv_header_$ac_safe=yes" | 10628 eval "ac_cv_header_$ac_safe=yes" |
10595 else | 10629 else |
10612 -d "/usr/local/canna/include"; then | 10646 -d "/usr/local/canna/include"; then |
10613 save_c_switch_site="$c_switch_site" | 10647 save_c_switch_site="$c_switch_site" |
10614 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10648 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10615 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10649 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10616 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10650 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10617 echo "configure:10618: checking for canna/jrkanji.h" >&5 | 10651 echo "configure:10652: checking for canna/jrkanji.h" >&5 |
10618 | 10652 |
10619 cat > conftest.$ac_ext <<EOF | 10653 cat > conftest.$ac_ext <<EOF |
10620 #line 10621 "configure" | 10654 #line 10655 "configure" |
10621 #include "confdefs.h" | 10655 #include "confdefs.h" |
10622 #include <canna/jrkanji.h> | 10656 #include <canna/jrkanji.h> |
10623 EOF | 10657 EOF |
10624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10625 { (eval echo configure:10626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10659 { (eval echo configure:10660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10627 if test -z "$ac_err"; then | 10661 if test -z "$ac_err"; then |
10628 rm -rf conftest* | 10662 rm -rf conftest* |
10629 eval "ac_cv_header_$ac_safe=yes" | 10663 eval "ac_cv_header_$ac_safe=yes" |
10630 else | 10664 else |
10648 fi | 10682 fi |
10649 fi | 10683 fi |
10650 | 10684 |
10651 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10685 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10652 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10686 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10653 echo "configure:10654: checking for canna/RK.h" >&5 | 10687 echo "configure:10688: checking for canna/RK.h" >&5 |
10654 | 10688 |
10655 cat > conftest.$ac_ext <<EOF | 10689 cat > conftest.$ac_ext <<EOF |
10656 #line 10657 "configure" | 10690 #line 10691 "configure" |
10657 #include "confdefs.h" | 10691 #include "confdefs.h" |
10658 #include <canna/RK.h> | 10692 #include <canna/RK.h> |
10659 EOF | 10693 EOF |
10660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10661 { (eval echo configure:10662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10695 { (eval echo configure:10696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10663 if test -z "$ac_err"; then | 10697 if test -z "$ac_err"; then |
10664 rm -rf conftest* | 10698 rm -rf conftest* |
10665 eval "ac_cv_header_$ac_safe=yes" | 10699 eval "ac_cv_header_$ac_safe=yes" |
10666 else | 10700 else |
10679 with_canna=no | 10713 with_canna=no |
10680 fi | 10714 fi |
10681 } | 10715 } |
10682 test -z "$with_canna" && { | 10716 test -z "$with_canna" && { |
10683 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10717 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10684 echo "configure:10685: checking for RkBgnBun in -lRKC" >&5 | 10718 echo "configure:10719: checking for RkBgnBun in -lRKC" >&5 |
10685 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10719 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10686 | 10720 |
10687 xe_check_libs=" -lRKC " | 10721 xe_check_libs=" -lRKC " |
10688 cat > conftest.$ac_ext <<EOF | 10722 cat > conftest.$ac_ext <<EOF |
10689 #line 10690 "configure" | 10723 #line 10724 "configure" |
10690 #include "confdefs.h" | 10724 #include "confdefs.h" |
10691 /* Override any gcc2 internal prototype to avoid an error. */ | 10725 /* Override any gcc2 internal prototype to avoid an error. */ |
10692 /* We use char because int might match the return type of a gcc2 | 10726 /* We use char because int might match the return type of a gcc2 |
10693 builtin and then its argument prototype would still apply. */ | 10727 builtin and then its argument prototype would still apply. */ |
10694 char RkBgnBun(); | 10728 char RkBgnBun(); |
10695 | 10729 |
10696 int main() { | 10730 int main() { |
10697 RkBgnBun() | 10731 RkBgnBun() |
10698 ; return 0; } | 10732 ; return 0; } |
10699 EOF | 10733 EOF |
10700 if { (eval echo configure:10701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10734 if { (eval echo configure:10735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10701 rm -rf conftest* | 10735 rm -rf conftest* |
10702 eval "ac_cv_lib_$ac_lib_var=yes" | 10736 eval "ac_cv_lib_$ac_lib_var=yes" |
10703 else | 10737 else |
10704 echo "configure: failed program was:" >&5 | 10738 echo "configure: failed program was:" >&5 |
10705 cat conftest.$ac_ext >&5 | 10739 cat conftest.$ac_ext >&5 |
10718 fi | 10752 fi |
10719 | 10753 |
10720 } | 10754 } |
10721 test -z "$with_canna" && { | 10755 test -z "$with_canna" && { |
10722 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10756 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10723 echo "configure:10724: checking for jrKanjiControl in -lcanna" >&5 | 10757 echo "configure:10758: checking for jrKanjiControl in -lcanna" >&5 |
10724 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10758 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10725 | 10759 |
10726 xe_check_libs=" -lcanna " | 10760 xe_check_libs=" -lcanna " |
10727 cat > conftest.$ac_ext <<EOF | 10761 cat > conftest.$ac_ext <<EOF |
10728 #line 10729 "configure" | 10762 #line 10763 "configure" |
10729 #include "confdefs.h" | 10763 #include "confdefs.h" |
10730 /* Override any gcc2 internal prototype to avoid an error. */ | 10764 /* Override any gcc2 internal prototype to avoid an error. */ |
10731 /* We use char because int might match the return type of a gcc2 | 10765 /* We use char because int might match the return type of a gcc2 |
10732 builtin and then its argument prototype would still apply. */ | 10766 builtin and then its argument prototype would still apply. */ |
10733 char jrKanjiControl(); | 10767 char jrKanjiControl(); |
10734 | 10768 |
10735 int main() { | 10769 int main() { |
10736 jrKanjiControl() | 10770 jrKanjiControl() |
10737 ; return 0; } | 10771 ; return 0; } |
10738 EOF | 10772 EOF |
10739 if { (eval echo configure:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10773 if { (eval echo configure:10774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10740 rm -rf conftest* | 10774 rm -rf conftest* |
10741 eval "ac_cv_lib_$ac_lib_var=yes" | 10775 eval "ac_cv_lib_$ac_lib_var=yes" |
10742 else | 10776 else |
10743 echo "configure: failed program was:" >&5 | 10777 echo "configure: failed program was:" >&5 |
10744 cat conftest.$ac_ext >&5 | 10778 cat conftest.$ac_ext >&5 |
10783 | 10817 |
10784 if test "$need_motif" = "yes" ; then | 10818 if test "$need_motif" = "yes" ; then |
10785 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10819 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10786 | 10820 |
10787 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10821 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10788 echo "configure:10789: checking for layout_object_getvalue in -li18n" >&5 | 10822 echo "configure:10823: checking for layout_object_getvalue in -li18n" >&5 |
10789 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10823 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10790 | 10824 |
10791 xe_check_libs=" -li18n " | 10825 xe_check_libs=" -li18n " |
10792 cat > conftest.$ac_ext <<EOF | 10826 cat > conftest.$ac_ext <<EOF |
10793 #line 10794 "configure" | 10827 #line 10828 "configure" |
10794 #include "confdefs.h" | 10828 #include "confdefs.h" |
10795 /* Override any gcc2 internal prototype to avoid an error. */ | 10829 /* Override any gcc2 internal prototype to avoid an error. */ |
10796 /* We use char because int might match the return type of a gcc2 | 10830 /* We use char because int might match the return type of a gcc2 |
10797 builtin and then its argument prototype would still apply. */ | 10831 builtin and then its argument prototype would still apply. */ |
10798 char layout_object_getvalue(); | 10832 char layout_object_getvalue(); |
10799 | 10833 |
10800 int main() { | 10834 int main() { |
10801 layout_object_getvalue() | 10835 layout_object_getvalue() |
10802 ; return 0; } | 10836 ; return 0; } |
10803 EOF | 10837 EOF |
10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10805 rm -rf conftest* | 10839 rm -rf conftest* |
10806 eval "ac_cv_lib_$ac_lib_var=yes" | 10840 eval "ac_cv_lib_$ac_lib_var=yes" |
10807 else | 10841 else |
10808 echo "configure: failed program was:" >&5 | 10842 echo "configure: failed program was:" >&5 |
10809 cat conftest.$ac_ext >&5 | 10843 cat conftest.$ac_ext >&5 |
10885 fi | 10919 fi |
10886 | 10920 |
10887 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10921 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10888 do | 10922 do |
10889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10890 echo "configure:10891: checking for $ac_func" >&5 | 10924 echo "configure:10925: checking for $ac_func" >&5 |
10891 | 10925 |
10892 cat > conftest.$ac_ext <<EOF | 10926 cat > conftest.$ac_ext <<EOF |
10893 #line 10894 "configure" | 10927 #line 10928 "configure" |
10894 #include "confdefs.h" | 10928 #include "confdefs.h" |
10895 /* System header to define __stub macros and hopefully few prototypes, | 10929 /* System header to define __stub macros and hopefully few prototypes, |
10896 which can conflict with char $ac_func(); below. */ | 10930 which can conflict with char $ac_func(); below. */ |
10897 #include <assert.h> | 10931 #include <assert.h> |
10898 /* Override any gcc2 internal prototype to avoid an error. */ | 10932 /* Override any gcc2 internal prototype to avoid an error. */ |
10911 $ac_func(); | 10945 $ac_func(); |
10912 #endif | 10946 #endif |
10913 | 10947 |
10914 ; return 0; } | 10948 ; return 0; } |
10915 EOF | 10949 EOF |
10916 if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10950 if { (eval echo configure:10951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10917 rm -rf conftest* | 10951 rm -rf conftest* |
10918 eval "ac_cv_func_$ac_func=yes" | 10952 eval "ac_cv_func_$ac_func=yes" |
10919 else | 10953 else |
10920 echo "configure: failed program was:" >&5 | 10954 echo "configure: failed program was:" >&5 |
10921 cat conftest.$ac_ext >&5 | 10955 cat conftest.$ac_ext >&5 |
10943 | 10977 |
10944 | 10978 |
10945 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10979 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10946 do | 10980 do |
10947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10948 echo "configure:10949: checking for $ac_func" >&5 | 10982 echo "configure:10983: checking for $ac_func" >&5 |
10949 | 10983 |
10950 cat > conftest.$ac_ext <<EOF | 10984 cat > conftest.$ac_ext <<EOF |
10951 #line 10952 "configure" | 10985 #line 10986 "configure" |
10952 #include "confdefs.h" | 10986 #include "confdefs.h" |
10953 /* System header to define __stub macros and hopefully few prototypes, | 10987 /* System header to define __stub macros and hopefully few prototypes, |
10954 which can conflict with char $ac_func(); below. */ | 10988 which can conflict with char $ac_func(); below. */ |
10955 #include <assert.h> | 10989 #include <assert.h> |
10956 /* Override any gcc2 internal prototype to avoid an error. */ | 10990 /* Override any gcc2 internal prototype to avoid an error. */ |
10969 $ac_func(); | 11003 $ac_func(); |
10970 #endif | 11004 #endif |
10971 | 11005 |
10972 ; return 0; } | 11006 ; return 0; } |
10973 EOF | 11007 EOF |
10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11008 if { (eval echo configure:11009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10975 rm -rf conftest* | 11009 rm -rf conftest* |
10976 eval "ac_cv_func_$ac_func=yes" | 11010 eval "ac_cv_func_$ac_func=yes" |
10977 else | 11011 else |
10978 echo "configure: failed program was:" >&5 | 11012 echo "configure: failed program was:" >&5 |
10979 cat conftest.$ac_ext >&5 | 11013 cat conftest.$ac_ext >&5 |
10998 fi | 11032 fi |
10999 done | 11033 done |
11000 | 11034 |
11001 | 11035 |
11002 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11036 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11003 echo "configure:11004: checking for openpty" >&5 | 11037 echo "configure:11038: checking for openpty" >&5 |
11004 | 11038 |
11005 cat > conftest.$ac_ext <<EOF | 11039 cat > conftest.$ac_ext <<EOF |
11006 #line 11007 "configure" | 11040 #line 11041 "configure" |
11007 #include "confdefs.h" | 11041 #include "confdefs.h" |
11008 /* System header to define __stub macros and hopefully few prototypes, | 11042 /* System header to define __stub macros and hopefully few prototypes, |
11009 which can conflict with char openpty(); below. */ | 11043 which can conflict with char openpty(); below. */ |
11010 #include <assert.h> | 11044 #include <assert.h> |
11011 /* Override any gcc2 internal prototype to avoid an error. */ | 11045 /* Override any gcc2 internal prototype to avoid an error. */ |
11024 openpty(); | 11058 openpty(); |
11025 #endif | 11059 #endif |
11026 | 11060 |
11027 ; return 0; } | 11061 ; return 0; } |
11028 EOF | 11062 EOF |
11029 if { (eval echo configure:11030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11063 if { (eval echo configure:11064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11030 rm -rf conftest* | 11064 rm -rf conftest* |
11031 eval "ac_cv_func_openpty=yes" | 11065 eval "ac_cv_func_openpty=yes" |
11032 else | 11066 else |
11033 echo "configure: failed program was:" >&5 | 11067 echo "configure: failed program was:" >&5 |
11034 cat conftest.$ac_ext >&5 | 11068 cat conftest.$ac_ext >&5 |
11043 else | 11077 else |
11044 echo "$ac_t""no" 1>&6 | 11078 echo "$ac_t""no" 1>&6 |
11045 | 11079 |
11046 | 11080 |
11047 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11081 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11048 echo "configure:11049: checking for openpty in -lutil" >&5 | 11082 echo "configure:11083: checking for openpty in -lutil" >&5 |
11049 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11083 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11050 | 11084 |
11051 xe_check_libs=" -lutil " | 11085 xe_check_libs=" -lutil " |
11052 cat > conftest.$ac_ext <<EOF | 11086 cat > conftest.$ac_ext <<EOF |
11053 #line 11054 "configure" | 11087 #line 11088 "configure" |
11054 #include "confdefs.h" | 11088 #include "confdefs.h" |
11055 /* Override any gcc2 internal prototype to avoid an error. */ | 11089 /* Override any gcc2 internal prototype to avoid an error. */ |
11056 /* We use char because int might match the return type of a gcc2 | 11090 /* We use char because int might match the return type of a gcc2 |
11057 builtin and then its argument prototype would still apply. */ | 11091 builtin and then its argument prototype would still apply. */ |
11058 char openpty(); | 11092 char openpty(); |
11059 | 11093 |
11060 int main() { | 11094 int main() { |
11061 openpty() | 11095 openpty() |
11062 ; return 0; } | 11096 ; return 0; } |
11063 EOF | 11097 EOF |
11064 if { (eval echo configure:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11098 if { (eval echo configure:11099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11065 rm -rf conftest* | 11099 rm -rf conftest* |
11066 eval "ac_cv_lib_$ac_lib_var=yes" | 11100 eval "ac_cv_lib_$ac_lib_var=yes" |
11067 else | 11101 else |
11068 echo "configure: failed program was:" >&5 | 11102 echo "configure: failed program was:" >&5 |
11069 cat conftest.$ac_ext >&5 | 11103 cat conftest.$ac_ext >&5 |
11094 | 11128 |
11095 for ac_hdr in libutil.h util.h | 11129 for ac_hdr in libutil.h util.h |
11096 do | 11130 do |
11097 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11098 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11132 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11099 echo "configure:11100: checking for $ac_hdr" >&5 | 11133 echo "configure:11134: checking for $ac_hdr" >&5 |
11100 | 11134 |
11101 cat > conftest.$ac_ext <<EOF | 11135 cat > conftest.$ac_ext <<EOF |
11102 #line 11103 "configure" | 11136 #line 11137 "configure" |
11103 #include "confdefs.h" | 11137 #include "confdefs.h" |
11104 #include <$ac_hdr> | 11138 #include <$ac_hdr> |
11105 EOF | 11139 EOF |
11106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11107 { (eval echo configure:11108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11141 { (eval echo configure:11142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11109 if test -z "$ac_err"; then | 11143 if test -z "$ac_err"; then |
11110 rm -rf conftest* | 11144 rm -rf conftest* |
11111 eval "ac_cv_header_$ac_safe=yes" | 11145 eval "ac_cv_header_$ac_safe=yes" |
11112 else | 11146 else |
11139 case "$opsys" in | 11173 case "$opsys" in |
11140 hpux*) for ac_hdr in sys/ptyio.h | 11174 hpux*) for ac_hdr in sys/ptyio.h |
11141 do | 11175 do |
11142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11176 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11177 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11144 echo "configure:11145: checking for $ac_hdr" >&5 | 11178 echo "configure:11179: checking for $ac_hdr" >&5 |
11145 | 11179 |
11146 cat > conftest.$ac_ext <<EOF | 11180 cat > conftest.$ac_ext <<EOF |
11147 #line 11148 "configure" | 11181 #line 11182 "configure" |
11148 #include "confdefs.h" | 11182 #include "confdefs.h" |
11149 #include <$ac_hdr> | 11183 #include <$ac_hdr> |
11150 EOF | 11184 EOF |
11151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11152 { (eval echo configure:11153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11186 { (eval echo configure:11187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11154 if test -z "$ac_err"; then | 11188 if test -z "$ac_err"; then |
11155 rm -rf conftest* | 11189 rm -rf conftest* |
11156 eval "ac_cv_header_$ac_safe=yes" | 11190 eval "ac_cv_header_$ac_safe=yes" |
11157 else | 11191 else |
11180 ;; | 11214 ;; |
11181 *) for ac_hdr in pty.h | 11215 *) for ac_hdr in pty.h |
11182 do | 11216 do |
11183 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11217 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11218 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11185 echo "configure:11186: checking for $ac_hdr" >&5 | 11219 echo "configure:11220: checking for $ac_hdr" >&5 |
11186 | 11220 |
11187 cat > conftest.$ac_ext <<EOF | 11221 cat > conftest.$ac_ext <<EOF |
11188 #line 11189 "configure" | 11222 #line 11223 "configure" |
11189 #include "confdefs.h" | 11223 #include "confdefs.h" |
11190 #include <$ac_hdr> | 11224 #include <$ac_hdr> |
11191 EOF | 11225 EOF |
11192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11193 { (eval echo configure:11194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11227 { (eval echo configure:11228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11195 if test -z "$ac_err"; then | 11229 if test -z "$ac_err"; then |
11196 rm -rf conftest* | 11230 rm -rf conftest* |
11197 eval "ac_cv_header_$ac_safe=yes" | 11231 eval "ac_cv_header_$ac_safe=yes" |
11198 else | 11232 else |
11221 | 11255 |
11222 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11256 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11223 do | 11257 do |
11224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11258 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11259 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11226 echo "configure:11227: checking for $ac_hdr" >&5 | 11260 echo "configure:11261: checking for $ac_hdr" >&5 |
11227 | 11261 |
11228 cat > conftest.$ac_ext <<EOF | 11262 cat > conftest.$ac_ext <<EOF |
11229 #line 11230 "configure" | 11263 #line 11264 "configure" |
11230 #include "confdefs.h" | 11264 #include "confdefs.h" |
11231 #include <$ac_hdr> | 11265 #include <$ac_hdr> |
11232 EOF | 11266 EOF |
11233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11234 { (eval echo configure:11235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11268 { (eval echo configure:11269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11236 if test -z "$ac_err"; then | 11270 if test -z "$ac_err"; then |
11237 rm -rf conftest* | 11271 rm -rf conftest* |
11238 eval "ac_cv_header_$ac_safe=yes" | 11272 eval "ac_cv_header_$ac_safe=yes" |
11239 else | 11273 else |
11265 | 11299 |
11266 for ac_hdr in stropts.h | 11300 for ac_hdr in stropts.h |
11267 do | 11301 do |
11268 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11302 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11269 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11270 echo "configure:11271: checking for $ac_hdr" >&5 | 11304 echo "configure:11305: checking for $ac_hdr" >&5 |
11271 | 11305 |
11272 cat > conftest.$ac_ext <<EOF | 11306 cat > conftest.$ac_ext <<EOF |
11273 #line 11274 "configure" | 11307 #line 11308 "configure" |
11274 #include "confdefs.h" | 11308 #include "confdefs.h" |
11275 #include <$ac_hdr> | 11309 #include <$ac_hdr> |
11276 EOF | 11310 EOF |
11277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11278 { (eval echo configure:11279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11312 { (eval echo configure:11313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11280 if test -z "$ac_err"; then | 11314 if test -z "$ac_err"; then |
11281 rm -rf conftest* | 11315 rm -rf conftest* |
11282 eval "ac_cv_header_$ac_safe=yes" | 11316 eval "ac_cv_header_$ac_safe=yes" |
11283 else | 11317 else |
11306 | 11340 |
11307 if test "$ac_cv_header_stropts_h" = "yes"; then | 11341 if test "$ac_cv_header_stropts_h" = "yes"; then |
11308 for ac_func in isastream | 11342 for ac_func in isastream |
11309 do | 11343 do |
11310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11311 echo "configure:11312: checking for $ac_func" >&5 | 11345 echo "configure:11346: checking for $ac_func" >&5 |
11312 | 11346 |
11313 cat > conftest.$ac_ext <<EOF | 11347 cat > conftest.$ac_ext <<EOF |
11314 #line 11315 "configure" | 11348 #line 11349 "configure" |
11315 #include "confdefs.h" | 11349 #include "confdefs.h" |
11316 /* System header to define __stub macros and hopefully few prototypes, | 11350 /* System header to define __stub macros and hopefully few prototypes, |
11317 which can conflict with char $ac_func(); below. */ | 11351 which can conflict with char $ac_func(); below. */ |
11318 #include <assert.h> | 11352 #include <assert.h> |
11319 /* Override any gcc2 internal prototype to avoid an error. */ | 11353 /* Override any gcc2 internal prototype to avoid an error. */ |
11332 $ac_func(); | 11366 $ac_func(); |
11333 #endif | 11367 #endif |
11334 | 11368 |
11335 ; return 0; } | 11369 ; return 0; } |
11336 EOF | 11370 EOF |
11337 if { (eval echo configure:11338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11371 if { (eval echo configure:11372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11338 rm -rf conftest* | 11372 rm -rf conftest* |
11339 eval "ac_cv_func_$ac_func=yes" | 11373 eval "ac_cv_func_$ac_func=yes" |
11340 else | 11374 else |
11341 echo "configure: failed program was:" >&5 | 11375 echo "configure: failed program was:" >&5 |
11342 cat conftest.$ac_ext >&5 | 11376 cat conftest.$ac_ext >&5 |
11363 | 11397 |
11364 for ac_hdr in strtio.h | 11398 for ac_hdr in strtio.h |
11365 do | 11399 do |
11366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11400 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11401 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11368 echo "configure:11369: checking for $ac_hdr" >&5 | 11402 echo "configure:11403: checking for $ac_hdr" >&5 |
11369 | 11403 |
11370 cat > conftest.$ac_ext <<EOF | 11404 cat > conftest.$ac_ext <<EOF |
11371 #line 11372 "configure" | 11405 #line 11406 "configure" |
11372 #include "confdefs.h" | 11406 #include "confdefs.h" |
11373 #include <$ac_hdr> | 11407 #include <$ac_hdr> |
11374 EOF | 11408 EOF |
11375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11376 { (eval echo configure:11377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11410 { (eval echo configure:11411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11378 if test -z "$ac_err"; then | 11412 if test -z "$ac_err"; then |
11379 rm -rf conftest* | 11413 rm -rf conftest* |
11380 eval "ac_cv_header_$ac_safe=yes" | 11414 eval "ac_cv_header_$ac_safe=yes" |
11381 else | 11415 else |
11408 fi | 11442 fi |
11409 | 11443 |
11410 for ac_func in getloadavg | 11444 for ac_func in getloadavg |
11411 do | 11445 do |
11412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11413 echo "configure:11414: checking for $ac_func" >&5 | 11447 echo "configure:11448: checking for $ac_func" >&5 |
11414 | 11448 |
11415 cat > conftest.$ac_ext <<EOF | 11449 cat > conftest.$ac_ext <<EOF |
11416 #line 11417 "configure" | 11450 #line 11451 "configure" |
11417 #include "confdefs.h" | 11451 #include "confdefs.h" |
11418 /* System header to define __stub macros and hopefully few prototypes, | 11452 /* System header to define __stub macros and hopefully few prototypes, |
11419 which can conflict with char $ac_func(); below. */ | 11453 which can conflict with char $ac_func(); below. */ |
11420 #include <assert.h> | 11454 #include <assert.h> |
11421 /* Override any gcc2 internal prototype to avoid an error. */ | 11455 /* Override any gcc2 internal prototype to avoid an error. */ |
11434 $ac_func(); | 11468 $ac_func(); |
11435 #endif | 11469 #endif |
11436 | 11470 |
11437 ; return 0; } | 11471 ; return 0; } |
11438 EOF | 11472 EOF |
11439 if { (eval echo configure:11440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11473 if { (eval echo configure:11474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11440 rm -rf conftest* | 11474 rm -rf conftest* |
11441 eval "ac_cv_func_$ac_func=yes" | 11475 eval "ac_cv_func_$ac_func=yes" |
11442 else | 11476 else |
11443 echo "configure: failed program was:" >&5 | 11477 echo "configure: failed program was:" >&5 |
11444 cat conftest.$ac_ext >&5 | 11478 cat conftest.$ac_ext >&5 |
11467 if test "$ac_cv_func_getloadavg" = "yes"; then | 11501 if test "$ac_cv_func_getloadavg" = "yes"; then |
11468 for ac_hdr in sys/loadavg.h | 11502 for ac_hdr in sys/loadavg.h |
11469 do | 11503 do |
11470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11504 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11505 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11472 echo "configure:11473: checking for $ac_hdr" >&5 | 11506 echo "configure:11507: checking for $ac_hdr" >&5 |
11473 | 11507 |
11474 cat > conftest.$ac_ext <<EOF | 11508 cat > conftest.$ac_ext <<EOF |
11475 #line 11476 "configure" | 11509 #line 11510 "configure" |
11476 #include "confdefs.h" | 11510 #include "confdefs.h" |
11477 #include <$ac_hdr> | 11511 #include <$ac_hdr> |
11478 EOF | 11512 EOF |
11479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11480 { (eval echo configure:11481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11514 { (eval echo configure:11515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11482 if test -z "$ac_err"; then | 11516 if test -z "$ac_err"; then |
11483 rm -rf conftest* | 11517 rm -rf conftest* |
11484 eval "ac_cv_header_$ac_safe=yes" | 11518 eval "ac_cv_header_$ac_safe=yes" |
11485 else | 11519 else |
11511 echo " xemacs will be linked with \"getloadavg.o\"" | 11545 echo " xemacs will be linked with \"getloadavg.o\"" |
11512 fi | 11546 fi |
11513 | 11547 |
11514 | 11548 |
11515 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11549 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11516 echo "configure:11517: checking for kstat_open in -lkstat" >&5 | 11550 echo "configure:11551: checking for kstat_open in -lkstat" >&5 |
11517 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11551 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11518 | 11552 |
11519 xe_check_libs=" -lkstat " | 11553 xe_check_libs=" -lkstat " |
11520 cat > conftest.$ac_ext <<EOF | 11554 cat > conftest.$ac_ext <<EOF |
11521 #line 11522 "configure" | 11555 #line 11556 "configure" |
11522 #include "confdefs.h" | 11556 #include "confdefs.h" |
11523 /* Override any gcc2 internal prototype to avoid an error. */ | 11557 /* Override any gcc2 internal prototype to avoid an error. */ |
11524 /* We use char because int might match the return type of a gcc2 | 11558 /* We use char because int might match the return type of a gcc2 |
11525 builtin and then its argument prototype would still apply. */ | 11559 builtin and then its argument prototype would still apply. */ |
11526 char kstat_open(); | 11560 char kstat_open(); |
11527 | 11561 |
11528 int main() { | 11562 int main() { |
11529 kstat_open() | 11563 kstat_open() |
11530 ; return 0; } | 11564 ; return 0; } |
11531 EOF | 11565 EOF |
11532 if { (eval echo configure:11533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11566 if { (eval echo configure:11567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11533 rm -rf conftest* | 11567 rm -rf conftest* |
11534 eval "ac_cv_lib_$ac_lib_var=yes" | 11568 eval "ac_cv_lib_$ac_lib_var=yes" |
11535 else | 11569 else |
11536 echo "configure: failed program was:" >&5 | 11570 echo "configure: failed program was:" >&5 |
11537 cat conftest.$ac_ext >&5 | 11571 cat conftest.$ac_ext >&5 |
11562 | 11596 |
11563 for ac_hdr in kstat.h | 11597 for ac_hdr in kstat.h |
11564 do | 11598 do |
11565 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11566 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11567 echo "configure:11568: checking for $ac_hdr" >&5 | 11601 echo "configure:11602: checking for $ac_hdr" >&5 |
11568 | 11602 |
11569 cat > conftest.$ac_ext <<EOF | 11603 cat > conftest.$ac_ext <<EOF |
11570 #line 11571 "configure" | 11604 #line 11605 "configure" |
11571 #include "confdefs.h" | 11605 #include "confdefs.h" |
11572 #include <$ac_hdr> | 11606 #include <$ac_hdr> |
11573 EOF | 11607 EOF |
11574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11575 { (eval echo configure:11576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11609 { (eval echo configure:11610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11577 if test -z "$ac_err"; then | 11611 if test -z "$ac_err"; then |
11578 rm -rf conftest* | 11612 rm -rf conftest* |
11579 eval "ac_cv_header_$ac_safe=yes" | 11613 eval "ac_cv_header_$ac_safe=yes" |
11580 else | 11614 else |
11602 done | 11636 done |
11603 | 11637 |
11604 | 11638 |
11605 | 11639 |
11606 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11640 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11607 echo "configure:11608: checking for kvm_read in -lkvm" >&5 | 11641 echo "configure:11642: checking for kvm_read in -lkvm" >&5 |
11608 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11642 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11609 | 11643 |
11610 xe_check_libs=" -lkvm " | 11644 xe_check_libs=" -lkvm " |
11611 cat > conftest.$ac_ext <<EOF | 11645 cat > conftest.$ac_ext <<EOF |
11612 #line 11613 "configure" | 11646 #line 11647 "configure" |
11613 #include "confdefs.h" | 11647 #include "confdefs.h" |
11614 /* Override any gcc2 internal prototype to avoid an error. */ | 11648 /* Override any gcc2 internal prototype to avoid an error. */ |
11615 /* We use char because int might match the return type of a gcc2 | 11649 /* We use char because int might match the return type of a gcc2 |
11616 builtin and then its argument prototype would still apply. */ | 11650 builtin and then its argument prototype would still apply. */ |
11617 char kvm_read(); | 11651 char kvm_read(); |
11618 | 11652 |
11619 int main() { | 11653 int main() { |
11620 kvm_read() | 11654 kvm_read() |
11621 ; return 0; } | 11655 ; return 0; } |
11622 EOF | 11656 EOF |
11623 if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11657 if { (eval echo configure:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11624 rm -rf conftest* | 11658 rm -rf conftest* |
11625 eval "ac_cv_lib_$ac_lib_var=yes" | 11659 eval "ac_cv_lib_$ac_lib_var=yes" |
11626 else | 11660 else |
11627 echo "configure: failed program was:" >&5 | 11661 echo "configure: failed program was:" >&5 |
11628 cat conftest.$ac_ext >&5 | 11662 cat conftest.$ac_ext >&5 |
11652 | 11686 |
11653 | 11687 |
11654 fi | 11688 fi |
11655 | 11689 |
11656 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11690 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11657 echo "configure:11658: checking whether netdb declares h_errno" >&5 | 11691 echo "configure:11692: checking whether netdb declares h_errno" >&5 |
11658 cat > conftest.$ac_ext <<EOF | 11692 cat > conftest.$ac_ext <<EOF |
11659 #line 11660 "configure" | 11693 #line 11694 "configure" |
11660 #include "confdefs.h" | 11694 #include "confdefs.h" |
11661 #include <netdb.h> | 11695 #include <netdb.h> |
11662 int main() { | 11696 int main() { |
11663 return h_errno; | 11697 return h_errno; |
11664 ; return 0; } | 11698 ; return 0; } |
11665 EOF | 11699 EOF |
11666 if { (eval echo configure:11667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11700 if { (eval echo configure:11701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11667 rm -rf conftest* | 11701 rm -rf conftest* |
11668 echo "$ac_t""yes" 1>&6 | 11702 echo "$ac_t""yes" 1>&6 |
11669 { test "$extra_verbose" = "yes" && cat << \EOF | 11703 { test "$extra_verbose" = "yes" && cat << \EOF |
11670 Defining HAVE_H_ERRNO | 11704 Defining HAVE_H_ERRNO |
11671 EOF | 11705 EOF |
11681 echo "$ac_t""no" 1>&6 | 11715 echo "$ac_t""no" 1>&6 |
11682 fi | 11716 fi |
11683 rm -f conftest* | 11717 rm -f conftest* |
11684 | 11718 |
11685 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11719 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11686 echo "configure:11687: checking for sigsetjmp" >&5 | 11720 echo "configure:11721: checking for sigsetjmp" >&5 |
11687 cat > conftest.$ac_ext <<EOF | 11721 cat > conftest.$ac_ext <<EOF |
11688 #line 11689 "configure" | 11722 #line 11723 "configure" |
11689 #include "confdefs.h" | 11723 #include "confdefs.h" |
11690 #include <setjmp.h> | 11724 #include <setjmp.h> |
11691 int main() { | 11725 int main() { |
11692 sigjmp_buf bar; sigsetjmp (bar, 0); | 11726 sigjmp_buf bar; sigsetjmp (bar, 0); |
11693 ; return 0; } | 11727 ; return 0; } |
11694 EOF | 11728 EOF |
11695 if { (eval echo configure:11696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11729 if { (eval echo configure:11730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11696 rm -rf conftest* | 11730 rm -rf conftest* |
11697 echo "$ac_t""yes" 1>&6 | 11731 echo "$ac_t""yes" 1>&6 |
11698 { test "$extra_verbose" = "yes" && cat << \EOF | 11732 { test "$extra_verbose" = "yes" && cat << \EOF |
11699 Defining HAVE_SIGSETJMP | 11733 Defining HAVE_SIGSETJMP |
11700 EOF | 11734 EOF |
11710 echo "$ac_t""no" 1>&6 | 11744 echo "$ac_t""no" 1>&6 |
11711 fi | 11745 fi |
11712 rm -f conftest* | 11746 rm -f conftest* |
11713 | 11747 |
11714 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11748 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11715 echo "configure:11716: checking whether localtime caches TZ" >&5 | 11749 echo "configure:11750: checking whether localtime caches TZ" >&5 |
11716 | 11750 |
11717 if test "$ac_cv_func_tzset" = "yes"; then | 11751 if test "$ac_cv_func_tzset" = "yes"; then |
11718 cat > conftest.$ac_ext <<EOF | 11752 cat > conftest.$ac_ext <<EOF |
11719 #line 11720 "configure" | 11753 #line 11754 "configure" |
11720 #include "confdefs.h" | 11754 #include "confdefs.h" |
11721 #include <time.h> | 11755 #include <time.h> |
11722 #if STDC_HEADERS | 11756 #if STDC_HEADERS |
11723 # include <stdlib.h> | 11757 # include <stdlib.h> |
11724 #endif | 11758 #endif |
11749 if (localtime (&now)->tm_hour != hour_unset) | 11783 if (localtime (&now)->tm_hour != hour_unset) |
11750 exit (1); | 11784 exit (1); |
11751 exit (0); | 11785 exit (0); |
11752 } | 11786 } |
11753 EOF | 11787 EOF |
11754 if { (eval echo configure:11755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11788 if { (eval echo configure:11789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11755 then | 11789 then |
11756 emacs_cv_localtime_cache=no | 11790 emacs_cv_localtime_cache=no |
11757 else | 11791 else |
11758 conftest_rc="$?" | 11792 conftest_rc="$?" |
11759 echo "configure: failed program was:" >&5 | 11793 echo "configure: failed program was:" >&5 |
11779 | 11813 |
11780 fi | 11814 fi |
11781 | 11815 |
11782 if test "$HAVE_TIMEVAL" = "yes"; then | 11816 if test "$HAVE_TIMEVAL" = "yes"; then |
11783 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11817 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11784 echo "configure:11785: checking whether gettimeofday accepts one or two arguments" >&5 | 11818 echo "configure:11819: checking whether gettimeofday accepts one or two arguments" >&5 |
11785 cat > conftest.$ac_ext <<EOF | 11819 cat > conftest.$ac_ext <<EOF |
11786 #line 11787 "configure" | 11820 #line 11821 "configure" |
11787 #include "confdefs.h" | 11821 #include "confdefs.h" |
11788 | 11822 |
11789 #ifdef TIME_WITH_SYS_TIME | 11823 #ifdef TIME_WITH_SYS_TIME |
11790 #include <sys/time.h> | 11824 #include <sys/time.h> |
11791 #include <time.h> | 11825 #include <time.h> |
11802 struct timeval time; | 11836 struct timeval time; |
11803 gettimeofday (&time, 0); | 11837 gettimeofday (&time, 0); |
11804 | 11838 |
11805 ; return 0; } | 11839 ; return 0; } |
11806 EOF | 11840 EOF |
11807 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11841 if { (eval echo configure:11842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11808 rm -rf conftest* | 11842 rm -rf conftest* |
11809 echo "$ac_t""two" 1>&6 | 11843 echo "$ac_t""two" 1>&6 |
11810 else | 11844 else |
11811 echo "configure: failed program was:" >&5 | 11845 echo "configure: failed program was:" >&5 |
11812 cat conftest.$ac_ext >&5 | 11846 cat conftest.$ac_ext >&5 |
11824 rm -f conftest* | 11858 rm -f conftest* |
11825 fi | 11859 fi |
11826 | 11860 |
11827 | 11861 |
11828 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11862 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11829 echo "configure:11830: checking for inline" >&5 | 11863 echo "configure:11864: checking for inline" >&5 |
11830 | 11864 |
11831 ac_cv_c_inline=no | 11865 ac_cv_c_inline=no |
11832 for ac_kw in inline __inline__ __inline; do | 11866 for ac_kw in inline __inline__ __inline; do |
11833 cat > conftest.$ac_ext <<EOF | 11867 cat > conftest.$ac_ext <<EOF |
11834 #line 11835 "configure" | 11868 #line 11869 "configure" |
11835 #include "confdefs.h" | 11869 #include "confdefs.h" |
11836 | 11870 |
11837 int main() { | 11871 int main() { |
11838 } $ac_kw foo() { | 11872 } $ac_kw foo() { |
11839 ; return 0; } | 11873 ; return 0; } |
11840 EOF | 11874 EOF |
11841 if { (eval echo configure:11842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11875 if { (eval echo configure:11876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11842 rm -rf conftest* | 11876 rm -rf conftest* |
11843 ac_cv_c_inline=$ac_kw; break | 11877 ac_cv_c_inline=$ac_kw; break |
11844 else | 11878 else |
11845 echo "configure: failed program was:" >&5 | 11879 echo "configure: failed program was:" >&5 |
11846 cat conftest.$ac_ext >&5 | 11880 cat conftest.$ac_ext >&5 |
11877 | 11911 |
11878 if test "$__DECC" != "yes"; then | 11912 if test "$__DECC" != "yes"; then |
11879 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11913 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11880 # for constant arguments. Useless! | 11914 # for constant arguments. Useless! |
11881 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11915 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11882 echo "configure:11883: checking for working alloca.h" >&5 | 11916 echo "configure:11917: checking for working alloca.h" >&5 |
11883 | 11917 |
11884 cat > conftest.$ac_ext <<EOF | 11918 cat > conftest.$ac_ext <<EOF |
11885 #line 11886 "configure" | 11919 #line 11920 "configure" |
11886 #include "confdefs.h" | 11920 #include "confdefs.h" |
11887 #include <alloca.h> | 11921 #include <alloca.h> |
11888 int main() { | 11922 int main() { |
11889 char *p = alloca(2 * sizeof(int)); | 11923 char *p = alloca(2 * sizeof(int)); |
11890 ; return 0; } | 11924 ; return 0; } |
11891 EOF | 11925 EOF |
11892 if { (eval echo configure:11893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11926 if { (eval echo configure:11927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11893 rm -rf conftest* | 11927 rm -rf conftest* |
11894 ac_cv_header_alloca_h=yes | 11928 ac_cv_header_alloca_h=yes |
11895 else | 11929 else |
11896 echo "configure: failed program was:" >&5 | 11930 echo "configure: failed program was:" >&5 |
11897 cat conftest.$ac_ext >&5 | 11931 cat conftest.$ac_ext >&5 |
11911 } | 11945 } |
11912 | 11946 |
11913 fi | 11947 fi |
11914 | 11948 |
11915 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11949 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11916 echo "configure:11917: checking for alloca" >&5 | 11950 echo "configure:11951: checking for alloca" >&5 |
11917 | 11951 |
11918 cat > conftest.$ac_ext <<EOF | 11952 cat > conftest.$ac_ext <<EOF |
11919 #line 11920 "configure" | 11953 #line 11954 "configure" |
11920 #include "confdefs.h" | 11954 #include "confdefs.h" |
11921 | 11955 |
11922 #ifdef __GNUC__ | 11956 #ifdef __GNUC__ |
11923 # define alloca __builtin_alloca | 11957 # define alloca __builtin_alloca |
11924 #else | 11958 #else |
11942 | 11976 |
11943 int main() { | 11977 int main() { |
11944 char *p = (char *) alloca(1); | 11978 char *p = (char *) alloca(1); |
11945 ; return 0; } | 11979 ; return 0; } |
11946 EOF | 11980 EOF |
11947 if { (eval echo configure:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11948 rm -rf conftest* | 11982 rm -rf conftest* |
11949 ac_cv_func_alloca_works=yes | 11983 ac_cv_func_alloca_works=yes |
11950 else | 11984 else |
11951 echo "configure: failed program was:" >&5 | 11985 echo "configure: failed program was:" >&5 |
11952 cat conftest.$ac_ext >&5 | 11986 cat conftest.$ac_ext >&5 |
11981 EOF | 12015 EOF |
11982 } | 12016 } |
11983 | 12017 |
11984 | 12018 |
11985 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12019 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11986 echo "configure:11987: checking whether alloca needs Cray hooks" >&5 | 12020 echo "configure:12021: checking whether alloca needs Cray hooks" >&5 |
11987 | 12021 |
11988 cat > conftest.$ac_ext <<EOF | 12022 cat > conftest.$ac_ext <<EOF |
11989 #line 11990 "configure" | 12023 #line 12024 "configure" |
11990 #include "confdefs.h" | 12024 #include "confdefs.h" |
11991 #if defined(CRAY) && ! defined(CRAY2) | 12025 #if defined(CRAY) && ! defined(CRAY2) |
11992 webecray | 12026 webecray |
11993 #else | 12027 #else |
11994 wenotbecray | 12028 wenotbecray |
12008 | 12042 |
12009 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12043 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12010 if test $ac_cv_os_cray = yes; then | 12044 if test $ac_cv_os_cray = yes; then |
12011 for ac_func in _getb67 GETB67 getb67; do | 12045 for ac_func in _getb67 GETB67 getb67; do |
12012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12013 echo "configure:12014: checking for $ac_func" >&5 | 12047 echo "configure:12048: checking for $ac_func" >&5 |
12014 | 12048 |
12015 cat > conftest.$ac_ext <<EOF | 12049 cat > conftest.$ac_ext <<EOF |
12016 #line 12017 "configure" | 12050 #line 12051 "configure" |
12017 #include "confdefs.h" | 12051 #include "confdefs.h" |
12018 /* System header to define __stub macros and hopefully few prototypes, | 12052 /* System header to define __stub macros and hopefully few prototypes, |
12019 which can conflict with char $ac_func(); below. */ | 12053 which can conflict with char $ac_func(); below. */ |
12020 #include <assert.h> | 12054 #include <assert.h> |
12021 /* Override any gcc2 internal prototype to avoid an error. */ | 12055 /* Override any gcc2 internal prototype to avoid an error. */ |
12034 $ac_func(); | 12068 $ac_func(); |
12035 #endif | 12069 #endif |
12036 | 12070 |
12037 ; return 0; } | 12071 ; return 0; } |
12038 EOF | 12072 EOF |
12039 if { (eval echo configure:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12073 if { (eval echo configure:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12040 rm -rf conftest* | 12074 rm -rf conftest* |
12041 eval "ac_cv_func_$ac_func=yes" | 12075 eval "ac_cv_func_$ac_func=yes" |
12042 else | 12076 else |
12043 echo "configure: failed program was:" >&5 | 12077 echo "configure: failed program was:" >&5 |
12044 cat conftest.$ac_ext >&5 | 12078 cat conftest.$ac_ext >&5 |
12064 | 12098 |
12065 done | 12099 done |
12066 fi | 12100 fi |
12067 | 12101 |
12068 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12102 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12069 echo "configure:12070: checking stack direction for C alloca" >&5 | 12103 echo "configure:12104: checking stack direction for C alloca" >&5 |
12070 | 12104 |
12071 cat > conftest.$ac_ext <<EOF | 12105 cat > conftest.$ac_ext <<EOF |
12072 #line 12073 "configure" | 12106 #line 12107 "configure" |
12073 #include "confdefs.h" | 12107 #include "confdefs.h" |
12074 find_stack_direction () | 12108 find_stack_direction () |
12075 { | 12109 { |
12076 static char *addr = 0; | 12110 static char *addr = 0; |
12077 auto char dummy; | 12111 auto char dummy; |
12086 main () | 12120 main () |
12087 { | 12121 { |
12088 exit (find_stack_direction() < 0); | 12122 exit (find_stack_direction() < 0); |
12089 } | 12123 } |
12090 EOF | 12124 EOF |
12091 if { (eval echo configure:12092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12125 if { (eval echo configure:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12092 then | 12126 then |
12093 ac_cv_c_stack_direction=1 | 12127 ac_cv_c_stack_direction=1 |
12094 else | 12128 else |
12095 conftest_rc="$?" | 12129 conftest_rc="$?" |
12096 echo "configure: failed program was:" >&5 | 12130 echo "configure: failed program was:" >&5 |
12116 fi | 12150 fi |
12117 fi | 12151 fi |
12118 | 12152 |
12119 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12153 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12120 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12154 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12121 echo "configure:12122: checking for vfork.h" >&5 | 12155 echo "configure:12156: checking for vfork.h" >&5 |
12122 | 12156 |
12123 cat > conftest.$ac_ext <<EOF | 12157 cat > conftest.$ac_ext <<EOF |
12124 #line 12125 "configure" | 12158 #line 12159 "configure" |
12125 #include "confdefs.h" | 12159 #include "confdefs.h" |
12126 #include <vfork.h> | 12160 #include <vfork.h> |
12127 EOF | 12161 EOF |
12128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12129 { (eval echo configure:12130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12163 { (eval echo configure:12164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12131 if test -z "$ac_err"; then | 12165 if test -z "$ac_err"; then |
12132 rm -rf conftest* | 12166 rm -rf conftest* |
12133 eval "ac_cv_header_$ac_safe=yes" | 12167 eval "ac_cv_header_$ac_safe=yes" |
12134 else | 12168 else |
12152 else | 12186 else |
12153 echo "$ac_t""no" 1>&6 | 12187 echo "$ac_t""no" 1>&6 |
12154 fi | 12188 fi |
12155 | 12189 |
12156 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12190 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12157 echo "configure:12158: checking for working vfork" >&5 | 12191 echo "configure:12192: checking for working vfork" >&5 |
12158 | 12192 |
12159 cat > conftest.$ac_ext <<EOF | 12193 cat > conftest.$ac_ext <<EOF |
12160 #line 12161 "configure" | 12194 #line 12195 "configure" |
12161 #include "confdefs.h" | 12195 #include "confdefs.h" |
12162 /* Thanks to Paul Eggert for this test. */ | 12196 /* Thanks to Paul Eggert for this test. */ |
12163 #include <stdio.h> | 12197 #include <stdio.h> |
12164 #include <sys/types.h> | 12198 #include <sys/types.h> |
12165 #include <sys/stat.h> | 12199 #include <sys/stat.h> |
12250 || fstat(fileno(stdout), &st) != 0 | 12284 || fstat(fileno(stdout), &st) != 0 |
12251 ); | 12285 ); |
12252 } | 12286 } |
12253 } | 12287 } |
12254 EOF | 12288 EOF |
12255 if { (eval echo configure:12256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12289 if { (eval echo configure:12290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12256 then | 12290 then |
12257 ac_cv_func_vfork_works=yes | 12291 ac_cv_func_vfork_works=yes |
12258 else | 12292 else |
12259 conftest_rc="$?" | 12293 conftest_rc="$?" |
12260 echo "configure: failed program was:" >&5 | 12294 echo "configure: failed program was:" >&5 |
12276 | 12310 |
12277 fi | 12311 fi |
12278 | 12312 |
12279 | 12313 |
12280 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12314 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12281 echo "configure:12282: checking for working strcoll" >&5 | 12315 echo "configure:12316: checking for working strcoll" >&5 |
12282 | 12316 |
12283 cat > conftest.$ac_ext <<EOF | 12317 cat > conftest.$ac_ext <<EOF |
12284 #line 12285 "configure" | 12318 #line 12319 "configure" |
12285 #include "confdefs.h" | 12319 #include "confdefs.h" |
12286 #include <string.h> | 12320 #include <string.h> |
12287 main () | 12321 main () |
12288 { | 12322 { |
12289 exit (strcoll ("abc", "def") >= 0 || | 12323 exit (strcoll ("abc", "def") >= 0 || |
12290 strcoll ("ABC", "DEF") >= 0 || | 12324 strcoll ("ABC", "DEF") >= 0 || |
12291 strcoll ("123", "456") >= 0); | 12325 strcoll ("123", "456") >= 0); |
12292 } | 12326 } |
12293 EOF | 12327 EOF |
12294 if { (eval echo configure:12295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12328 if { (eval echo configure:12329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12295 then | 12329 then |
12296 ac_cv_func_strcoll_works=yes | 12330 ac_cv_func_strcoll_works=yes |
12297 else | 12331 else |
12298 conftest_rc="$?" | 12332 conftest_rc="$?" |
12299 echo "configure: failed program was:" >&5 | 12333 echo "configure: failed program was:" >&5 |
12317 | 12351 |
12318 | 12352 |
12319 for ac_func in getpgrp | 12353 for ac_func in getpgrp |
12320 do | 12354 do |
12321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12322 echo "configure:12323: checking for $ac_func" >&5 | 12356 echo "configure:12357: checking for $ac_func" >&5 |
12323 | 12357 |
12324 cat > conftest.$ac_ext <<EOF | 12358 cat > conftest.$ac_ext <<EOF |
12325 #line 12326 "configure" | 12359 #line 12360 "configure" |
12326 #include "confdefs.h" | 12360 #include "confdefs.h" |
12327 /* System header to define __stub macros and hopefully few prototypes, | 12361 /* System header to define __stub macros and hopefully few prototypes, |
12328 which can conflict with char $ac_func(); below. */ | 12362 which can conflict with char $ac_func(); below. */ |
12329 #include <assert.h> | 12363 #include <assert.h> |
12330 /* Override any gcc2 internal prototype to avoid an error. */ | 12364 /* Override any gcc2 internal prototype to avoid an error. */ |
12343 $ac_func(); | 12377 $ac_func(); |
12344 #endif | 12378 #endif |
12345 | 12379 |
12346 ; return 0; } | 12380 ; return 0; } |
12347 EOF | 12381 EOF |
12348 if { (eval echo configure:12349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12382 if { (eval echo configure:12383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12349 rm -rf conftest* | 12383 rm -rf conftest* |
12350 eval "ac_cv_func_$ac_func=yes" | 12384 eval "ac_cv_func_$ac_func=yes" |
12351 else | 12385 else |
12352 echo "configure: failed program was:" >&5 | 12386 echo "configure: failed program was:" >&5 |
12353 cat conftest.$ac_ext >&5 | 12387 cat conftest.$ac_ext >&5 |
12371 echo "$ac_t""no" 1>&6 | 12405 echo "$ac_t""no" 1>&6 |
12372 fi | 12406 fi |
12373 done | 12407 done |
12374 | 12408 |
12375 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12409 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12376 echo "configure:12377: checking whether getpgrp takes no argument" >&5 | 12410 echo "configure:12411: checking whether getpgrp takes no argument" >&5 |
12377 | 12411 |
12378 cat > conftest.$ac_ext <<EOF | 12412 cat > conftest.$ac_ext <<EOF |
12379 #line 12380 "configure" | 12413 #line 12414 "configure" |
12380 #include "confdefs.h" | 12414 #include "confdefs.h" |
12381 | 12415 |
12382 /* | 12416 /* |
12383 * If this system has a BSD-style getpgrp(), | 12417 * If this system has a BSD-style getpgrp(), |
12384 * which takes a pid argument, exit unsuccessfully. | 12418 * which takes a pid argument, exit unsuccessfully. |
12429 exit(s>>8); | 12463 exit(s>>8); |
12430 } | 12464 } |
12431 } | 12465 } |
12432 | 12466 |
12433 EOF | 12467 EOF |
12434 if { (eval echo configure:12435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12468 if { (eval echo configure:12469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12435 then | 12469 then |
12436 ac_cv_func_getpgrp_void=yes | 12470 ac_cv_func_getpgrp_void=yes |
12437 else | 12471 else |
12438 conftest_rc="$?" | 12472 conftest_rc="$?" |
12439 echo "configure: failed program was:" >&5 | 12473 echo "configure: failed program was:" >&5 |
12456 | 12490 |
12457 fi | 12491 fi |
12458 | 12492 |
12459 | 12493 |
12460 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12494 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12461 echo "configure:12462: checking for working mmap" >&5 | 12495 echo "configure:12496: checking for working mmap" >&5 |
12462 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12496 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12463 cat > conftest.$ac_ext <<EOF | 12497 cat > conftest.$ac_ext <<EOF |
12464 #line 12465 "configure" | 12498 #line 12499 "configure" |
12465 #include "confdefs.h" | 12499 #include "confdefs.h" |
12466 #include <stdio.h> | 12500 #include <stdio.h> |
12467 #include <unistd.h> | 12501 #include <unistd.h> |
12468 #include <fcntl.h> | 12502 #include <fcntl.h> |
12469 #include <sys/mman.h> | 12503 #include <sys/mman.h> |
12492 return 0; | 12526 return 0; |
12493 perror ("conftest: mmap failed"); | 12527 perror ("conftest: mmap failed"); |
12494 return 1; | 12528 return 1; |
12495 } | 12529 } |
12496 EOF | 12530 EOF |
12497 if { (eval echo configure:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12531 if { (eval echo configure:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12498 then | 12532 then |
12499 have_mmap=yes | 12533 have_mmap=yes |
12500 else | 12534 else |
12501 conftest_rc="$?" | 12535 conftest_rc="$?" |
12502 echo "configure: failed program was:" >&5 | 12536 echo "configure: failed program was:" >&5 |
12521 esac | 12555 esac |
12522 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12556 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12523 if test "$rel_alloc $have_mmap" = "default yes"; then | 12557 if test "$rel_alloc $have_mmap" = "default yes"; then |
12524 if test "$doug_lea_malloc" = "yes"; then | 12558 if test "$doug_lea_malloc" = "yes"; then |
12525 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12559 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12526 echo "configure:12527: checking for M_MMAP_THRESHOLD" >&5 | 12560 echo "configure:12561: checking for M_MMAP_THRESHOLD" >&5 |
12527 cat > conftest.$ac_ext <<EOF | 12561 cat > conftest.$ac_ext <<EOF |
12528 #line 12529 "configure" | 12562 #line 12563 "configure" |
12529 #include "confdefs.h" | 12563 #include "confdefs.h" |
12530 #include <malloc.h> | 12564 #include <malloc.h> |
12531 int main() { | 12565 int main() { |
12532 | 12566 |
12533 #ifndef M_MMAP_THRESHOLD | 12567 #ifndef M_MMAP_THRESHOLD |
12535 !@+$%^&*_)(_ - unlikely to compile... | 12569 !@+$%^&*_)(_ - unlikely to compile... |
12536 #endif | 12570 #endif |
12537 | 12571 |
12538 ; return 0; } | 12572 ; return 0; } |
12539 EOF | 12573 EOF |
12540 if { (eval echo configure:12541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12574 if { (eval echo configure:12575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12541 rm -rf conftest* | 12575 rm -rf conftest* |
12542 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12576 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12543 else | 12577 else |
12544 echo "configure: failed program was:" >&5 | 12578 echo "configure: failed program was:" >&5 |
12545 cat conftest.$ac_ext >&5 | 12579 cat conftest.$ac_ext >&5 |
12560 } | 12594 } |
12561 | 12595 |
12562 | 12596 |
12563 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12597 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12564 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12598 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12565 echo "configure:12566: checking for termios.h" >&5 | 12599 echo "configure:12600: checking for termios.h" >&5 |
12566 | 12600 |
12567 cat > conftest.$ac_ext <<EOF | 12601 cat > conftest.$ac_ext <<EOF |
12568 #line 12569 "configure" | 12602 #line 12603 "configure" |
12569 #include "confdefs.h" | 12603 #include "confdefs.h" |
12570 #include <termios.h> | 12604 #include <termios.h> |
12571 EOF | 12605 EOF |
12572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12573 { (eval echo configure:12574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12607 { (eval echo configure:12608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12575 if test -z "$ac_err"; then | 12609 if test -z "$ac_err"; then |
12576 rm -rf conftest* | 12610 rm -rf conftest* |
12577 eval "ac_cv_header_$ac_safe=yes" | 12611 eval "ac_cv_header_$ac_safe=yes" |
12578 else | 12612 else |
12611 | 12645 |
12612 else | 12646 else |
12613 echo "$ac_t""no" 1>&6 | 12647 echo "$ac_t""no" 1>&6 |
12614 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12648 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12615 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12649 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12616 echo "configure:12617: checking for termio.h" >&5 | 12650 echo "configure:12651: checking for termio.h" >&5 |
12617 | 12651 |
12618 cat > conftest.$ac_ext <<EOF | 12652 cat > conftest.$ac_ext <<EOF |
12619 #line 12620 "configure" | 12653 #line 12654 "configure" |
12620 #include "confdefs.h" | 12654 #include "confdefs.h" |
12621 #include <termio.h> | 12655 #include <termio.h> |
12622 EOF | 12656 EOF |
12623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12624 { (eval echo configure:12625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12658 { (eval echo configure:12659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12626 if test -z "$ac_err"; then | 12660 if test -z "$ac_err"; then |
12627 rm -rf conftest* | 12661 rm -rf conftest* |
12628 eval "ac_cv_header_$ac_safe=yes" | 12662 eval "ac_cv_header_$ac_safe=yes" |
12629 else | 12663 else |
12651 fi | 12685 fi |
12652 | 12686 |
12653 | 12687 |
12654 | 12688 |
12655 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12689 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12656 echo "configure:12657: checking for socket" >&5 | 12690 echo "configure:12691: checking for socket" >&5 |
12657 | 12691 |
12658 cat > conftest.$ac_ext <<EOF | 12692 cat > conftest.$ac_ext <<EOF |
12659 #line 12660 "configure" | 12693 #line 12694 "configure" |
12660 #include "confdefs.h" | 12694 #include "confdefs.h" |
12661 /* System header to define __stub macros and hopefully few prototypes, | 12695 /* System header to define __stub macros and hopefully few prototypes, |
12662 which can conflict with char socket(); below. */ | 12696 which can conflict with char socket(); below. */ |
12663 #include <assert.h> | 12697 #include <assert.h> |
12664 /* Override any gcc2 internal prototype to avoid an error. */ | 12698 /* Override any gcc2 internal prototype to avoid an error. */ |
12677 socket(); | 12711 socket(); |
12678 #endif | 12712 #endif |
12679 | 12713 |
12680 ; return 0; } | 12714 ; return 0; } |
12681 EOF | 12715 EOF |
12682 if { (eval echo configure:12683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12716 if { (eval echo configure:12717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12683 rm -rf conftest* | 12717 rm -rf conftest* |
12684 eval "ac_cv_func_socket=yes" | 12718 eval "ac_cv_func_socket=yes" |
12685 else | 12719 else |
12686 echo "configure: failed program was:" >&5 | 12720 echo "configure: failed program was:" >&5 |
12687 cat conftest.$ac_ext >&5 | 12721 cat conftest.$ac_ext >&5 |
12692 | 12726 |
12693 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12727 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12694 echo "$ac_t""yes" 1>&6 | 12728 echo "$ac_t""yes" 1>&6 |
12695 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12729 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12696 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12730 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12697 echo "configure:12698: checking for netinet/in.h" >&5 | 12731 echo "configure:12732: checking for netinet/in.h" >&5 |
12698 | 12732 |
12699 cat > conftest.$ac_ext <<EOF | 12733 cat > conftest.$ac_ext <<EOF |
12700 #line 12701 "configure" | 12734 #line 12735 "configure" |
12701 #include "confdefs.h" | 12735 #include "confdefs.h" |
12702 #include <netinet/in.h> | 12736 #include <netinet/in.h> |
12703 EOF | 12737 EOF |
12704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12705 { (eval echo configure:12706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12739 { (eval echo configure:12740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12740 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12707 if test -z "$ac_err"; then | 12741 if test -z "$ac_err"; then |
12708 rm -rf conftest* | 12742 rm -rf conftest* |
12709 eval "ac_cv_header_$ac_safe=yes" | 12743 eval "ac_cv_header_$ac_safe=yes" |
12710 else | 12744 else |
12717 rm -f conftest* | 12751 rm -f conftest* |
12718 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12752 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12719 echo "$ac_t""yes" 1>&6 | 12753 echo "$ac_t""yes" 1>&6 |
12720 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12754 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12721 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12755 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12722 echo "configure:12723: checking for arpa/inet.h" >&5 | 12756 echo "configure:12757: checking for arpa/inet.h" >&5 |
12723 | 12757 |
12724 cat > conftest.$ac_ext <<EOF | 12758 cat > conftest.$ac_ext <<EOF |
12725 #line 12726 "configure" | 12759 #line 12760 "configure" |
12726 #include "confdefs.h" | 12760 #include "confdefs.h" |
12727 #include <arpa/inet.h> | 12761 #include <arpa/inet.h> |
12728 EOF | 12762 EOF |
12729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12730 { (eval echo configure:12731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12764 { (eval echo configure:12765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12732 if test -z "$ac_err"; then | 12766 if test -z "$ac_err"; then |
12733 rm -rf conftest* | 12767 rm -rf conftest* |
12734 eval "ac_cv_header_$ac_safe=yes" | 12768 eval "ac_cv_header_$ac_safe=yes" |
12735 else | 12769 else |
12750 #define HAVE_SOCKETS 1 | 12784 #define HAVE_SOCKETS 1 |
12751 EOF | 12785 EOF |
12752 } | 12786 } |
12753 | 12787 |
12754 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12788 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12755 echo "configure:12756: checking "for sun_len member in struct sockaddr_un"" >&5 | 12789 echo "configure:12790: checking "for sun_len member in struct sockaddr_un"" >&5 |
12756 cat > conftest.$ac_ext <<EOF | 12790 cat > conftest.$ac_ext <<EOF |
12757 #line 12758 "configure" | 12791 #line 12792 "configure" |
12758 #include "confdefs.h" | 12792 #include "confdefs.h" |
12759 | 12793 |
12760 #include <sys/types.h> | 12794 #include <sys/types.h> |
12761 #include <sys/socket.h> | 12795 #include <sys/socket.h> |
12762 #include <sys/un.h> | 12796 #include <sys/un.h> |
12763 | 12797 |
12764 int main() { | 12798 int main() { |
12765 static struct sockaddr_un x; x.sun_len = 1; | 12799 static struct sockaddr_un x; x.sun_len = 1; |
12766 ; return 0; } | 12800 ; return 0; } |
12767 EOF | 12801 EOF |
12768 if { (eval echo configure:12769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12802 if { (eval echo configure:12803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12769 rm -rf conftest* | 12803 rm -rf conftest* |
12770 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12804 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12771 Defining HAVE_SOCKADDR_SUN_LEN | 12805 Defining HAVE_SOCKADDR_SUN_LEN |
12772 EOF | 12806 EOF |
12773 cat >> confdefs.h <<\EOF | 12807 cat >> confdefs.h <<\EOF |
12781 rm -rf conftest* | 12815 rm -rf conftest* |
12782 echo "$ac_t""no" 1>&6 | 12816 echo "$ac_t""no" 1>&6 |
12783 fi | 12817 fi |
12784 rm -f conftest* | 12818 rm -f conftest* |
12785 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12819 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12786 echo "configure:12787: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12820 echo "configure:12821: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12787 cat > conftest.$ac_ext <<EOF | 12821 cat > conftest.$ac_ext <<EOF |
12788 #line 12789 "configure" | 12822 #line 12823 "configure" |
12789 #include "confdefs.h" | 12823 #include "confdefs.h" |
12790 | 12824 |
12791 #include <sys/types.h> | 12825 #include <sys/types.h> |
12792 #include <netinet/in.h> | 12826 #include <netinet/in.h> |
12793 | 12827 |
12794 int main() { | 12828 int main() { |
12795 static struct ip_mreq x; | 12829 static struct ip_mreq x; |
12796 ; return 0; } | 12830 ; return 0; } |
12797 EOF | 12831 EOF |
12798 if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12832 if { (eval echo configure:12833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12799 rm -rf conftest* | 12833 rm -rf conftest* |
12800 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12834 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12801 Defining HAVE_MULTICAST | 12835 Defining HAVE_MULTICAST |
12802 EOF | 12836 EOF |
12803 cat >> confdefs.h <<\EOF | 12837 cat >> confdefs.h <<\EOF |
12824 echo "$ac_t""no" 1>&6 | 12858 echo "$ac_t""no" 1>&6 |
12825 fi | 12859 fi |
12826 | 12860 |
12827 | 12861 |
12828 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12862 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12829 echo "configure:12830: checking for msgget" >&5 | 12863 echo "configure:12864: checking for msgget" >&5 |
12830 | 12864 |
12831 cat > conftest.$ac_ext <<EOF | 12865 cat > conftest.$ac_ext <<EOF |
12832 #line 12833 "configure" | 12866 #line 12867 "configure" |
12833 #include "confdefs.h" | 12867 #include "confdefs.h" |
12834 /* System header to define __stub macros and hopefully few prototypes, | 12868 /* System header to define __stub macros and hopefully few prototypes, |
12835 which can conflict with char msgget(); below. */ | 12869 which can conflict with char msgget(); below. */ |
12836 #include <assert.h> | 12870 #include <assert.h> |
12837 /* Override any gcc2 internal prototype to avoid an error. */ | 12871 /* Override any gcc2 internal prototype to avoid an error. */ |
12850 msgget(); | 12884 msgget(); |
12851 #endif | 12885 #endif |
12852 | 12886 |
12853 ; return 0; } | 12887 ; return 0; } |
12854 EOF | 12888 EOF |
12855 if { (eval echo configure:12856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12856 rm -rf conftest* | 12890 rm -rf conftest* |
12857 eval "ac_cv_func_msgget=yes" | 12891 eval "ac_cv_func_msgget=yes" |
12858 else | 12892 else |
12859 echo "configure: failed program was:" >&5 | 12893 echo "configure: failed program was:" >&5 |
12860 cat conftest.$ac_ext >&5 | 12894 cat conftest.$ac_ext >&5 |
12865 | 12899 |
12866 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12900 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12867 echo "$ac_t""yes" 1>&6 | 12901 echo "$ac_t""yes" 1>&6 |
12868 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12902 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12869 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12903 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12870 echo "configure:12871: checking for sys/ipc.h" >&5 | 12904 echo "configure:12905: checking for sys/ipc.h" >&5 |
12871 | 12905 |
12872 cat > conftest.$ac_ext <<EOF | 12906 cat > conftest.$ac_ext <<EOF |
12873 #line 12874 "configure" | 12907 #line 12908 "configure" |
12874 #include "confdefs.h" | 12908 #include "confdefs.h" |
12875 #include <sys/ipc.h> | 12909 #include <sys/ipc.h> |
12876 EOF | 12910 EOF |
12877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12878 { (eval echo configure:12879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12912 { (eval echo configure:12913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12880 if test -z "$ac_err"; then | 12914 if test -z "$ac_err"; then |
12881 rm -rf conftest* | 12915 rm -rf conftest* |
12882 eval "ac_cv_header_$ac_safe=yes" | 12916 eval "ac_cv_header_$ac_safe=yes" |
12883 else | 12917 else |
12890 rm -f conftest* | 12924 rm -f conftest* |
12891 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12892 echo "$ac_t""yes" 1>&6 | 12926 echo "$ac_t""yes" 1>&6 |
12893 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12927 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12894 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12928 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12895 echo "configure:12896: checking for sys/msg.h" >&5 | 12929 echo "configure:12930: checking for sys/msg.h" >&5 |
12896 | 12930 |
12897 cat > conftest.$ac_ext <<EOF | 12931 cat > conftest.$ac_ext <<EOF |
12898 #line 12899 "configure" | 12932 #line 12933 "configure" |
12899 #include "confdefs.h" | 12933 #include "confdefs.h" |
12900 #include <sys/msg.h> | 12934 #include <sys/msg.h> |
12901 EOF | 12935 EOF |
12902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12903 { (eval echo configure:12904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12937 { (eval echo configure:12938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12905 if test -z "$ac_err"; then | 12939 if test -z "$ac_err"; then |
12906 rm -rf conftest* | 12940 rm -rf conftest* |
12907 eval "ac_cv_header_$ac_safe=yes" | 12941 eval "ac_cv_header_$ac_safe=yes" |
12908 else | 12942 else |
12936 fi | 12970 fi |
12937 | 12971 |
12938 | 12972 |
12939 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12973 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12940 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12974 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12941 echo "configure:12942: checking for dirent.h" >&5 | 12975 echo "configure:12976: checking for dirent.h" >&5 |
12942 | 12976 |
12943 cat > conftest.$ac_ext <<EOF | 12977 cat > conftest.$ac_ext <<EOF |
12944 #line 12945 "configure" | 12978 #line 12979 "configure" |
12945 #include "confdefs.h" | 12979 #include "confdefs.h" |
12946 #include <dirent.h> | 12980 #include <dirent.h> |
12947 EOF | 12981 EOF |
12948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12949 { (eval echo configure:12950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12983 { (eval echo configure:12984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12951 if test -z "$ac_err"; then | 12985 if test -z "$ac_err"; then |
12952 rm -rf conftest* | 12986 rm -rf conftest* |
12953 eval "ac_cv_header_$ac_safe=yes" | 12987 eval "ac_cv_header_$ac_safe=yes" |
12954 else | 12988 else |
12971 | 13005 |
12972 else | 13006 else |
12973 echo "$ac_t""no" 1>&6 | 13007 echo "$ac_t""no" 1>&6 |
12974 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13008 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12975 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13009 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12976 echo "configure:12977: checking for sys/dir.h" >&5 | 13010 echo "configure:13011: checking for sys/dir.h" >&5 |
12977 | 13011 |
12978 cat > conftest.$ac_ext <<EOF | 13012 cat > conftest.$ac_ext <<EOF |
12979 #line 12980 "configure" | 13013 #line 13014 "configure" |
12980 #include "confdefs.h" | 13014 #include "confdefs.h" |
12981 #include <sys/dir.h> | 13015 #include <sys/dir.h> |
12982 EOF | 13016 EOF |
12983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12984 { (eval echo configure:12985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13018 { (eval echo configure:13019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12986 if test -z "$ac_err"; then | 13020 if test -z "$ac_err"; then |
12987 rm -rf conftest* | 13021 rm -rf conftest* |
12988 eval "ac_cv_header_$ac_safe=yes" | 13022 eval "ac_cv_header_$ac_safe=yes" |
12989 else | 13023 else |
13012 fi | 13046 fi |
13013 | 13047 |
13014 | 13048 |
13015 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13049 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13016 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13050 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13017 echo "configure:13018: checking for nlist.h" >&5 | 13051 echo "configure:13052: checking for nlist.h" >&5 |
13018 | 13052 |
13019 cat > conftest.$ac_ext <<EOF | 13053 cat > conftest.$ac_ext <<EOF |
13020 #line 13021 "configure" | 13054 #line 13055 "configure" |
13021 #include "confdefs.h" | 13055 #include "confdefs.h" |
13022 #include <nlist.h> | 13056 #include <nlist.h> |
13023 EOF | 13057 EOF |
13024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13025 { (eval echo configure:13026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13059 { (eval echo configure:13060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13027 if test -z "$ac_err"; then | 13061 if test -z "$ac_err"; then |
13028 rm -rf conftest* | 13062 rm -rf conftest* |
13029 eval "ac_cv_header_$ac_safe=yes" | 13063 eval "ac_cv_header_$ac_safe=yes" |
13030 else | 13064 else |
13050 fi | 13084 fi |
13051 | 13085 |
13052 | 13086 |
13053 | 13087 |
13054 echo "checking "for sound support"" 1>&6 | 13088 echo "checking "for sound support"" 1>&6 |
13055 echo "configure:13056: checking "for sound support"" >&5 | 13089 echo "configure:13090: checking "for sound support"" >&5 |
13056 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13090 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13057 | 13091 |
13058 if test "$with_native_sound" != "no"; then | 13092 if test "$with_native_sound" != "no"; then |
13059 if test -n "$native_sound_lib"; then | 13093 if test -n "$native_sound_lib"; then |
13060 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13094 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13061 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13095 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13062 echo "configure:13063: checking for multimedia/audio_device.h" >&5 | 13096 echo "configure:13097: checking for multimedia/audio_device.h" >&5 |
13063 | 13097 |
13064 cat > conftest.$ac_ext <<EOF | 13098 cat > conftest.$ac_ext <<EOF |
13065 #line 13066 "configure" | 13099 #line 13100 "configure" |
13066 #include "confdefs.h" | 13100 #include "confdefs.h" |
13067 #include <multimedia/audio_device.h> | 13101 #include <multimedia/audio_device.h> |
13068 EOF | 13102 EOF |
13069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13070 { (eval echo configure:13071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13104 { (eval echo configure:13105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13072 if test -z "$ac_err"; then | 13106 if test -z "$ac_err"; then |
13073 rm -rf conftest* | 13107 rm -rf conftest* |
13074 eval "ac_cv_header_$ac_safe=yes" | 13108 eval "ac_cv_header_$ac_safe=yes" |
13075 else | 13109 else |
13113 case "$canonical" in | 13147 case "$canonical" in |
13114 *-sgi-* ) | 13148 *-sgi-* ) |
13115 if test -z "$native_sound_lib"; then | 13149 if test -z "$native_sound_lib"; then |
13116 | 13150 |
13117 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13151 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13118 echo "configure:13119: checking for ALopenport in -laudio" >&5 | 13152 echo "configure:13153: checking for ALopenport in -laudio" >&5 |
13119 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13153 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13120 | 13154 |
13121 xe_check_libs=" -laudio " | 13155 xe_check_libs=" -laudio " |
13122 cat > conftest.$ac_ext <<EOF | 13156 cat > conftest.$ac_ext <<EOF |
13123 #line 13124 "configure" | 13157 #line 13158 "configure" |
13124 #include "confdefs.h" | 13158 #include "confdefs.h" |
13125 /* Override any gcc2 internal prototype to avoid an error. */ | 13159 /* Override any gcc2 internal prototype to avoid an error. */ |
13126 /* We use char because int might match the return type of a gcc2 | 13160 /* We use char because int might match the return type of a gcc2 |
13127 builtin and then its argument prototype would still apply. */ | 13161 builtin and then its argument prototype would still apply. */ |
13128 char ALopenport(); | 13162 char ALopenport(); |
13129 | 13163 |
13130 int main() { | 13164 int main() { |
13131 ALopenport() | 13165 ALopenport() |
13132 ; return 0; } | 13166 ; return 0; } |
13133 EOF | 13167 EOF |
13134 if { (eval echo configure:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13168 if { (eval echo configure:13169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13135 rm -rf conftest* | 13169 rm -rf conftest* |
13136 eval "ac_cv_lib_$ac_lib_var=yes" | 13170 eval "ac_cv_lib_$ac_lib_var=yes" |
13137 else | 13171 else |
13138 echo "configure: failed program was:" >&5 | 13172 echo "configure: failed program was:" >&5 |
13139 cat conftest.$ac_ext >&5 | 13173 cat conftest.$ac_ext >&5 |
13160 fi ;; | 13194 fi ;; |
13161 hppa*-hp-hpux* ) | 13195 hppa*-hp-hpux* ) |
13162 if test -z "$native_sound_lib"; then | 13196 if test -z "$native_sound_lib"; then |
13163 | 13197 |
13164 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13198 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13165 echo "configure:13166: checking for AOpenAudio in -lAlib" >&5 | 13199 echo "configure:13200: checking for AOpenAudio in -lAlib" >&5 |
13166 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13200 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13167 | 13201 |
13168 xe_check_libs=" -lAlib " | 13202 xe_check_libs=" -lAlib " |
13169 cat > conftest.$ac_ext <<EOF | 13203 cat > conftest.$ac_ext <<EOF |
13170 #line 13171 "configure" | 13204 #line 13205 "configure" |
13171 #include "confdefs.h" | 13205 #include "confdefs.h" |
13172 /* Override any gcc2 internal prototype to avoid an error. */ | 13206 /* Override any gcc2 internal prototype to avoid an error. */ |
13173 /* We use char because int might match the return type of a gcc2 | 13207 /* We use char because int might match the return type of a gcc2 |
13174 builtin and then its argument prototype would still apply. */ | 13208 builtin and then its argument prototype would still apply. */ |
13175 char AOpenAudio(); | 13209 char AOpenAudio(); |
13176 | 13210 |
13177 int main() { | 13211 int main() { |
13178 AOpenAudio() | 13212 AOpenAudio() |
13179 ; return 0; } | 13213 ; return 0; } |
13180 EOF | 13214 EOF |
13181 if { (eval echo configure:13182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13182 rm -rf conftest* | 13216 rm -rf conftest* |
13183 eval "ac_cv_lib_$ac_lib_var=yes" | 13217 eval "ac_cv_lib_$ac_lib_var=yes" |
13184 else | 13218 else |
13185 echo "configure: failed program was:" >&5 | 13219 echo "configure: failed program was:" >&5 |
13186 cat conftest.$ac_ext >&5 | 13220 cat conftest.$ac_ext >&5 |
13224 | 13258 |
13225 if test -z "$sound_found"; then | 13259 if test -z "$sound_found"; then |
13226 for dir in "machine" "sys" "linux"; do | 13260 for dir in "machine" "sys" "linux"; do |
13227 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13261 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13228 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13262 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13229 echo "configure:13230: checking for ${dir}/soundcard.h" >&5 | 13263 echo "configure:13264: checking for ${dir}/soundcard.h" >&5 |
13230 | 13264 |
13231 cat > conftest.$ac_ext <<EOF | 13265 cat > conftest.$ac_ext <<EOF |
13232 #line 13233 "configure" | 13266 #line 13267 "configure" |
13233 #include "confdefs.h" | 13267 #include "confdefs.h" |
13234 #include <${dir}/soundcard.h> | 13268 #include <${dir}/soundcard.h> |
13235 EOF | 13269 EOF |
13236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13237 { (eval echo configure:13238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13271 { (eval echo configure:13272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13239 if test -z "$ac_err"; then | 13273 if test -z "$ac_err"; then |
13240 rm -rf conftest* | 13274 rm -rf conftest* |
13241 eval "ac_cv_header_$ac_safe=yes" | 13275 eval "ac_cv_header_$ac_safe=yes" |
13242 else | 13276 else |
13286 fi | 13320 fi |
13287 | 13321 |
13288 if test "$with_nas_sound" != "no"; then | 13322 if test "$with_nas_sound" != "no"; then |
13289 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13323 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13290 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13324 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13291 echo "configure:13292: checking for audio/audiolib.h" >&5 | 13325 echo "configure:13326: checking for audio/audiolib.h" >&5 |
13292 | 13326 |
13293 cat > conftest.$ac_ext <<EOF | 13327 cat > conftest.$ac_ext <<EOF |
13294 #line 13295 "configure" | 13328 #line 13329 "configure" |
13295 #include "confdefs.h" | 13329 #include "confdefs.h" |
13296 #include <audio/audiolib.h> | 13330 #include <audio/audiolib.h> |
13297 EOF | 13331 EOF |
13298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13299 { (eval echo configure:13300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13333 { (eval echo configure:13334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13301 if test -z "$ac_err"; then | 13335 if test -z "$ac_err"; then |
13302 rm -rf conftest* | 13336 rm -rf conftest* |
13303 eval "ac_cv_header_$ac_safe=yes" | 13337 eval "ac_cv_header_$ac_safe=yes" |
13304 else | 13338 else |
13312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13313 echo "$ac_t""yes" 1>&6 | 13347 echo "$ac_t""yes" 1>&6 |
13314 | 13348 |
13315 | 13349 |
13316 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13350 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13317 echo "configure:13318: checking for AuOpenServer in -laudio" >&5 | 13351 echo "configure:13352: checking for AuOpenServer in -laudio" >&5 |
13318 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13352 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13319 | 13353 |
13320 xe_check_libs=" -laudio " | 13354 xe_check_libs=" -laudio " |
13321 cat > conftest.$ac_ext <<EOF | 13355 cat > conftest.$ac_ext <<EOF |
13322 #line 13323 "configure" | 13356 #line 13357 "configure" |
13323 #include "confdefs.h" | 13357 #include "confdefs.h" |
13324 /* Override any gcc2 internal prototype to avoid an error. */ | 13358 /* Override any gcc2 internal prototype to avoid an error. */ |
13325 /* We use char because int might match the return type of a gcc2 | 13359 /* We use char because int might match the return type of a gcc2 |
13326 builtin and then its argument prototype would still apply. */ | 13360 builtin and then its argument prototype would still apply. */ |
13327 char AuOpenServer(); | 13361 char AuOpenServer(); |
13328 | 13362 |
13329 int main() { | 13363 int main() { |
13330 AuOpenServer() | 13364 AuOpenServer() |
13331 ; return 0; } | 13365 ; return 0; } |
13332 EOF | 13366 EOF |
13333 if { (eval echo configure:13334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13367 if { (eval echo configure:13368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13334 rm -rf conftest* | 13368 rm -rf conftest* |
13335 eval "ac_cv_lib_$ac_lib_var=yes" | 13369 eval "ac_cv_lib_$ac_lib_var=yes" |
13336 else | 13370 else |
13337 echo "configure: failed program was:" >&5 | 13371 echo "configure: failed program was:" >&5 |
13338 cat conftest.$ac_ext >&5 | 13372 cat conftest.$ac_ext >&5 |
13367 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13401 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13368 echo " xemacs will be linked with \"nas.o\"" | 13402 echo " xemacs will be linked with \"nas.o\"" |
13369 fi | 13403 fi |
13370 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13404 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13371 cat > conftest.$ac_ext <<EOF | 13405 cat > conftest.$ac_ext <<EOF |
13372 #line 13373 "configure" | 13406 #line 13407 "configure" |
13373 #include "confdefs.h" | 13407 #include "confdefs.h" |
13374 #include <audio/Xtutil.h> | 13408 #include <audio/Xtutil.h> |
13375 EOF | 13409 EOF |
13376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13377 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13411 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13398 | 13432 |
13399 if test "$with_esd_sound" != "no"; then | 13433 if test "$with_esd_sound" != "no"; then |
13400 # Extract the first word of "esd-config", so it can be a program name with args. | 13434 # Extract the first word of "esd-config", so it can be a program name with args. |
13401 set dummy esd-config; ac_word=$2 | 13435 set dummy esd-config; ac_word=$2 |
13402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13403 echo "configure:13404: checking for $ac_word" >&5 | 13437 echo "configure:13438: checking for $ac_word" >&5 |
13404 | 13438 |
13405 if test -n "$have_esd_config"; then | 13439 if test -n "$have_esd_config"; then |
13406 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13440 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13407 else | 13441 else |
13408 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13442 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13427 if test "$have_esd_config" = "yes"; then | 13461 if test "$have_esd_config" = "yes"; then |
13428 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13462 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13429 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 | 13463 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 |
13430 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13464 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13431 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13465 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13432 echo "configure:13433: checking for esd_play_stream" >&5 | 13466 echo "configure:13467: checking for esd_play_stream" >&5 |
13433 | 13467 |
13434 cat > conftest.$ac_ext <<EOF | 13468 cat > conftest.$ac_ext <<EOF |
13435 #line 13436 "configure" | 13469 #line 13470 "configure" |
13436 #include "confdefs.h" | 13470 #include "confdefs.h" |
13437 /* System header to define __stub macros and hopefully few prototypes, | 13471 /* System header to define __stub macros and hopefully few prototypes, |
13438 which can conflict with char esd_play_stream(); below. */ | 13472 which can conflict with char esd_play_stream(); below. */ |
13439 #include <assert.h> | 13473 #include <assert.h> |
13440 /* Override any gcc2 internal prototype to avoid an error. */ | 13474 /* Override any gcc2 internal prototype to avoid an error. */ |
13453 esd_play_stream(); | 13487 esd_play_stream(); |
13454 #endif | 13488 #endif |
13455 | 13489 |
13456 ; return 0; } | 13490 ; return 0; } |
13457 EOF | 13491 EOF |
13458 if { (eval echo configure:13459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13492 if { (eval echo configure:13493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13459 rm -rf conftest* | 13493 rm -rf conftest* |
13460 eval "ac_cv_func_esd_play_stream=yes" | 13494 eval "ac_cv_func_esd_play_stream=yes" |
13461 else | 13495 else |
13462 echo "configure: failed program was:" >&5 | 13496 echo "configure: failed program was:" >&5 |
13463 cat conftest.$ac_ext >&5 | 13497 cat conftest.$ac_ext >&5 |
13504 | 13538 |
13505 test -z "$with_tty" && with_tty=yes | 13539 test -z "$with_tty" && with_tty=yes |
13506 | 13540 |
13507 if test "$with_tty" = "yes" ; then | 13541 if test "$with_tty" = "yes" ; then |
13508 echo "checking for TTY-related features" 1>&6 | 13542 echo "checking for TTY-related features" 1>&6 |
13509 echo "configure:13510: checking for TTY-related features" >&5 | 13543 echo "configure:13544: checking for TTY-related features" >&5 |
13510 { test "$extra_verbose" = "yes" && cat << \EOF | 13544 { test "$extra_verbose" = "yes" && cat << \EOF |
13511 Defining HAVE_TTY | 13545 Defining HAVE_TTY |
13512 EOF | 13546 EOF |
13513 cat >> confdefs.h <<\EOF | 13547 cat >> confdefs.h <<\EOF |
13514 #define HAVE_TTY 1 | 13548 #define HAVE_TTY 1 |
13520 fi | 13554 fi |
13521 | 13555 |
13522 if test -z "$with_ncurses"; then | 13556 if test -z "$with_ncurses"; then |
13523 | 13557 |
13524 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13558 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13525 echo "configure:13526: checking for tgetent in -lncurses" >&5 | 13559 echo "configure:13560: checking for tgetent in -lncurses" >&5 |
13526 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13560 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13527 | 13561 |
13528 xe_check_libs=" -lncurses " | 13562 xe_check_libs=" -lncurses " |
13529 cat > conftest.$ac_ext <<EOF | 13563 cat > conftest.$ac_ext <<EOF |
13530 #line 13531 "configure" | 13564 #line 13565 "configure" |
13531 #include "confdefs.h" | 13565 #include "confdefs.h" |
13532 /* Override any gcc2 internal prototype to avoid an error. */ | 13566 /* Override any gcc2 internal prototype to avoid an error. */ |
13533 /* We use char because int might match the return type of a gcc2 | 13567 /* We use char because int might match the return type of a gcc2 |
13534 builtin and then its argument prototype would still apply. */ | 13568 builtin and then its argument prototype would still apply. */ |
13535 char tgetent(); | 13569 char tgetent(); |
13536 | 13570 |
13537 int main() { | 13571 int main() { |
13538 tgetent() | 13572 tgetent() |
13539 ; return 0; } | 13573 ; return 0; } |
13540 EOF | 13574 EOF |
13541 if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13575 if { (eval echo configure:13576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13542 rm -rf conftest* | 13576 rm -rf conftest* |
13543 eval "ac_cv_lib_$ac_lib_var=yes" | 13577 eval "ac_cv_lib_$ac_lib_var=yes" |
13544 else | 13578 else |
13545 echo "configure: failed program was:" >&5 | 13579 echo "configure: failed program was:" >&5 |
13546 cat conftest.$ac_ext >&5 | 13580 cat conftest.$ac_ext >&5 |
13569 EOF | 13603 EOF |
13570 } | 13604 } |
13571 | 13605 |
13572 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13606 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13573 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13607 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13574 echo "configure:13575: checking for ncurses/curses.h" >&5 | 13608 echo "configure:13609: checking for ncurses/curses.h" >&5 |
13575 | 13609 |
13576 cat > conftest.$ac_ext <<EOF | 13610 cat > conftest.$ac_ext <<EOF |
13577 #line 13578 "configure" | 13611 #line 13612 "configure" |
13578 #include "confdefs.h" | 13612 #include "confdefs.h" |
13579 #include <ncurses/curses.h> | 13613 #include <ncurses/curses.h> |
13580 EOF | 13614 EOF |
13581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13582 { (eval echo configure:13583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13616 { (eval echo configure:13617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13584 if test -z "$ac_err"; then | 13618 if test -z "$ac_err"; then |
13585 rm -rf conftest* | 13619 rm -rf conftest* |
13586 eval "ac_cv_header_$ac_safe=yes" | 13620 eval "ac_cv_header_$ac_safe=yes" |
13587 else | 13621 else |
13599 echo "$ac_t""no" 1>&6 | 13633 echo "$ac_t""no" 1>&6 |
13600 fi | 13634 fi |
13601 | 13635 |
13602 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13636 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13603 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13637 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13604 echo "configure:13605: checking for ncurses/term.h" >&5 | 13638 echo "configure:13639: checking for ncurses/term.h" >&5 |
13605 | 13639 |
13606 cat > conftest.$ac_ext <<EOF | 13640 cat > conftest.$ac_ext <<EOF |
13607 #line 13608 "configure" | 13641 #line 13642 "configure" |
13608 #include "confdefs.h" | 13642 #include "confdefs.h" |
13609 #include <ncurses/term.h> | 13643 #include <ncurses/term.h> |
13610 EOF | 13644 EOF |
13611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13612 { (eval echo configure:13613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13646 { (eval echo configure:13647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13614 if test -z "$ac_err"; then | 13648 if test -z "$ac_err"; then |
13615 rm -rf conftest* | 13649 rm -rf conftest* |
13616 eval "ac_cv_header_$ac_safe=yes" | 13650 eval "ac_cv_header_$ac_safe=yes" |
13617 else | 13651 else |
13637 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13671 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13638 save_c_switch_site="$c_switch_site" | 13672 save_c_switch_site="$c_switch_site" |
13639 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13673 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13640 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13674 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13641 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13675 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13642 echo "configure:13643: checking for ncurses/curses.h" >&5 | 13676 echo "configure:13677: checking for ncurses/curses.h" >&5 |
13643 | 13677 |
13644 cat > conftest.$ac_ext <<EOF | 13678 cat > conftest.$ac_ext <<EOF |
13645 #line 13646 "configure" | 13679 #line 13680 "configure" |
13646 #include "confdefs.h" | 13680 #include "confdefs.h" |
13647 #include <ncurses/curses.h> | 13681 #include <ncurses/curses.h> |
13648 EOF | 13682 EOF |
13649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13683 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; } | 13684 { (eval echo configure:13685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13652 if test -z "$ac_err"; then | 13686 if test -z "$ac_err"; then |
13653 rm -rf conftest* | 13687 rm -rf conftest* |
13654 eval "ac_cv_header_$ac_safe=yes" | 13688 eval "ac_cv_header_$ac_safe=yes" |
13655 else | 13689 else |
13680 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13714 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13681 else | 13715 else |
13682 for lib in curses termlib termcap; do | 13716 for lib in curses termlib termcap; do |
13683 | 13717 |
13684 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13718 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13685 echo "configure:13686: checking for tgetent in -l$lib" >&5 | 13719 echo "configure:13720: checking for tgetent in -l$lib" >&5 |
13686 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13720 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13687 | 13721 |
13688 xe_check_libs=" -l$lib " | 13722 xe_check_libs=" -l$lib " |
13689 cat > conftest.$ac_ext <<EOF | 13723 cat > conftest.$ac_ext <<EOF |
13690 #line 13691 "configure" | 13724 #line 13725 "configure" |
13691 #include "confdefs.h" | 13725 #include "confdefs.h" |
13692 /* Override any gcc2 internal prototype to avoid an error. */ | 13726 /* Override any gcc2 internal prototype to avoid an error. */ |
13693 /* We use char because int might match the return type of a gcc2 | 13727 /* We use char because int might match the return type of a gcc2 |
13694 builtin and then its argument prototype would still apply. */ | 13728 builtin and then its argument prototype would still apply. */ |
13695 char tgetent(); | 13729 char tgetent(); |
13696 | 13730 |
13697 int main() { | 13731 int main() { |
13698 tgetent() | 13732 tgetent() |
13699 ; return 0; } | 13733 ; return 0; } |
13700 EOF | 13734 EOF |
13701 if { (eval echo configure:13702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13735 if { (eval echo configure:13736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13702 rm -rf conftest* | 13736 rm -rf conftest* |
13703 eval "ac_cv_lib_$ac_lib_var=yes" | 13737 eval "ac_cv_lib_$ac_lib_var=yes" |
13704 else | 13738 else |
13705 echo "configure: failed program was:" >&5 | 13739 echo "configure: failed program was:" >&5 |
13706 cat conftest.$ac_ext >&5 | 13740 cat conftest.$ac_ext >&5 |
13727 if test -n "$libs_termcap"; then | 13761 if test -n "$libs_termcap"; then |
13728 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13762 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13729 else | 13763 else |
13730 | 13764 |
13731 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13765 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13732 echo "configure:13733: checking for tgetent in -lcurses" >&5 | 13766 echo "configure:13767: checking for tgetent in -lcurses" >&5 |
13733 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13767 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13734 | 13768 |
13735 xe_check_libs=" -lcurses " | 13769 xe_check_libs=" -lcurses " |
13736 cat > conftest.$ac_ext <<EOF | 13770 cat > conftest.$ac_ext <<EOF |
13737 #line 13738 "configure" | 13771 #line 13772 "configure" |
13738 #include "confdefs.h" | 13772 #include "confdefs.h" |
13739 /* Override any gcc2 internal prototype to avoid an error. */ | 13773 /* Override any gcc2 internal prototype to avoid an error. */ |
13740 /* We use char because int might match the return type of a gcc2 | 13774 /* We use char because int might match the return type of a gcc2 |
13741 builtin and then its argument prototype would still apply. */ | 13775 builtin and then its argument prototype would still apply. */ |
13742 char tgetent(); | 13776 char tgetent(); |
13743 | 13777 |
13744 int main() { | 13778 int main() { |
13745 tgetent() | 13779 tgetent() |
13746 ; return 0; } | 13780 ; return 0; } |
13747 EOF | 13781 EOF |
13748 if { (eval echo configure:13749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13782 if { (eval echo configure:13783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13749 rm -rf conftest* | 13783 rm -rf conftest* |
13750 eval "ac_cv_lib_$ac_lib_var=yes" | 13784 eval "ac_cv_lib_$ac_lib_var=yes" |
13751 else | 13785 else |
13752 echo "configure: failed program was:" >&5 | 13786 echo "configure: failed program was:" >&5 |
13753 cat conftest.$ac_ext >&5 | 13787 cat conftest.$ac_ext >&5 |
13761 echo "$ac_t""yes" 1>&6 | 13795 echo "$ac_t""yes" 1>&6 |
13762 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13796 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13763 else | 13797 else |
13764 echo "$ac_t""no" 1>&6 | 13798 echo "$ac_t""no" 1>&6 |
13765 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13799 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13766 echo "configure:13767: checking for tgetent in -ltermcap" >&5 | 13800 echo "configure:13801: checking for tgetent in -ltermcap" >&5 |
13767 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13801 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13768 | 13802 |
13769 xe_check_libs=" -ltermcap " | 13803 xe_check_libs=" -ltermcap " |
13770 cat > conftest.$ac_ext <<EOF | 13804 cat > conftest.$ac_ext <<EOF |
13771 #line 13772 "configure" | 13805 #line 13806 "configure" |
13772 #include "confdefs.h" | 13806 #include "confdefs.h" |
13773 /* Override any gcc2 internal prototype to avoid an error. */ | 13807 /* Override any gcc2 internal prototype to avoid an error. */ |
13774 /* We use char because int might match the return type of a gcc2 | 13808 /* We use char because int might match the return type of a gcc2 |
13775 builtin and then its argument prototype would still apply. */ | 13809 builtin and then its argument prototype would still apply. */ |
13776 char tgetent(); | 13810 char tgetent(); |
13777 | 13811 |
13778 int main() { | 13812 int main() { |
13779 tgetent() | 13813 tgetent() |
13780 ; return 0; } | 13814 ; return 0; } |
13781 EOF | 13815 EOF |
13782 if { (eval echo configure:13783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13816 if { (eval echo configure:13817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13783 rm -rf conftest* | 13817 rm -rf conftest* |
13784 eval "ac_cv_lib_$ac_lib_var=yes" | 13818 eval "ac_cv_lib_$ac_lib_var=yes" |
13785 else | 13819 else |
13786 echo "configure: failed program was:" >&5 | 13820 echo "configure: failed program was:" >&5 |
13787 cat conftest.$ac_ext >&5 | 13821 cat conftest.$ac_ext >&5 |
13825 } | 13859 } |
13826 | 13860 |
13827 | 13861 |
13828 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13862 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13829 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13863 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13830 echo "configure:13831: checking for gpm.h" >&5 | 13864 echo "configure:13865: checking for gpm.h" >&5 |
13831 | 13865 |
13832 cat > conftest.$ac_ext <<EOF | 13866 cat > conftest.$ac_ext <<EOF |
13833 #line 13834 "configure" | 13867 #line 13868 "configure" |
13834 #include "confdefs.h" | 13868 #include "confdefs.h" |
13835 #include <gpm.h> | 13869 #include <gpm.h> |
13836 EOF | 13870 EOF |
13837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13838 { (eval echo configure:13839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13872 { (eval echo configure:13873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13840 if test -z "$ac_err"; then | 13874 if test -z "$ac_err"; then |
13841 rm -rf conftest* | 13875 rm -rf conftest* |
13842 eval "ac_cv_header_$ac_safe=yes" | 13876 eval "ac_cv_header_$ac_safe=yes" |
13843 else | 13877 else |
13856 with_gpm=no | 13890 with_gpm=no |
13857 fi | 13891 fi |
13858 } | 13892 } |
13859 test -z "$with_gpm" && { | 13893 test -z "$with_gpm" && { |
13860 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13894 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13861 echo "configure:13862: checking for Gpm_Open in -lgpm" >&5 | 13895 echo "configure:13896: checking for Gpm_Open in -lgpm" >&5 |
13862 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13896 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13863 | 13897 |
13864 xe_check_libs=" -lgpm " | 13898 xe_check_libs=" -lgpm " |
13865 cat > conftest.$ac_ext <<EOF | 13899 cat > conftest.$ac_ext <<EOF |
13866 #line 13867 "configure" | 13900 #line 13901 "configure" |
13867 #include "confdefs.h" | 13901 #include "confdefs.h" |
13868 /* Override any gcc2 internal prototype to avoid an error. */ | 13902 /* Override any gcc2 internal prototype to avoid an error. */ |
13869 /* We use char because int might match the return type of a gcc2 | 13903 /* We use char because int might match the return type of a gcc2 |
13870 builtin and then its argument prototype would still apply. */ | 13904 builtin and then its argument prototype would still apply. */ |
13871 char Gpm_Open(); | 13905 char Gpm_Open(); |
13872 | 13906 |
13873 int main() { | 13907 int main() { |
13874 Gpm_Open() | 13908 Gpm_Open() |
13875 ; return 0; } | 13909 ; return 0; } |
13876 EOF | 13910 EOF |
13877 if { (eval echo configure:13878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13911 if { (eval echo configure:13912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13878 rm -rf conftest* | 13912 rm -rf conftest* |
13879 eval "ac_cv_lib_$ac_lib_var=yes" | 13913 eval "ac_cv_lib_$ac_lib_var=yes" |
13880 else | 13914 else |
13881 echo "configure: failed program was:" >&5 | 13915 echo "configure: failed program was:" >&5 |
13882 cat conftest.$ac_ext >&5 | 13916 cat conftest.$ac_ext >&5 |
13922 fi | 13956 fi |
13923 | 13957 |
13924 | 13958 |
13925 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13959 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13926 != "no no no" && echo "checking for database support" 1>&6 | 13960 != "no no no" && echo "checking for database support" 1>&6 |
13927 echo "configure:13928: checking for database support" >&5 | 13961 echo "configure:13962: checking for database support" >&5 |
13928 | 13962 |
13929 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13963 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13930 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13964 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13931 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13965 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13932 echo "configure:13933: checking for ndbm.h" >&5 | 13966 echo "configure:13967: checking for ndbm.h" >&5 |
13933 | 13967 |
13934 cat > conftest.$ac_ext <<EOF | 13968 cat > conftest.$ac_ext <<EOF |
13935 #line 13936 "configure" | 13969 #line 13970 "configure" |
13936 #include "confdefs.h" | 13970 #include "confdefs.h" |
13937 #include <ndbm.h> | 13971 #include <ndbm.h> |
13938 EOF | 13972 EOF |
13939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13940 { (eval echo configure:13941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13974 { (eval echo configure:13975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13942 if test -z "$ac_err"; then | 13976 if test -z "$ac_err"; then |
13943 rm -rf conftest* | 13977 rm -rf conftest* |
13944 eval "ac_cv_header_$ac_safe=yes" | 13978 eval "ac_cv_header_$ac_safe=yes" |
13945 else | 13979 else |
13965 fi | 13999 fi |
13966 | 14000 |
13967 if test "$with_database_gdbm" != "no"; then | 14001 if test "$with_database_gdbm" != "no"; then |
13968 | 14002 |
13969 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14003 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13970 echo "configure:13971: checking for dbm_open in -lgdbm" >&5 | 14004 echo "configure:14005: checking for dbm_open in -lgdbm" >&5 |
13971 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14005 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13972 | 14006 |
13973 xe_check_libs=" -lgdbm " | 14007 xe_check_libs=" -lgdbm " |
13974 cat > conftest.$ac_ext <<EOF | 14008 cat > conftest.$ac_ext <<EOF |
13975 #line 13976 "configure" | 14009 #line 14010 "configure" |
13976 #include "confdefs.h" | 14010 #include "confdefs.h" |
13977 /* Override any gcc2 internal prototype to avoid an error. */ | 14011 /* Override any gcc2 internal prototype to avoid an error. */ |
13978 /* We use char because int might match the return type of a gcc2 | 14012 /* We use char because int might match the return type of a gcc2 |
13979 builtin and then its argument prototype would still apply. */ | 14013 builtin and then its argument prototype would still apply. */ |
13980 char dbm_open(); | 14014 char dbm_open(); |
13981 | 14015 |
13982 int main() { | 14016 int main() { |
13983 dbm_open() | 14017 dbm_open() |
13984 ; return 0; } | 14018 ; return 0; } |
13985 EOF | 14019 EOF |
13986 if { (eval echo configure:13987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14020 if { (eval echo configure:14021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13987 rm -rf conftest* | 14021 rm -rf conftest* |
13988 eval "ac_cv_lib_$ac_lib_var=yes" | 14022 eval "ac_cv_lib_$ac_lib_var=yes" |
13989 else | 14023 else |
13990 echo "configure: failed program was:" >&5 | 14024 echo "configure: failed program was:" >&5 |
13991 cat conftest.$ac_ext >&5 | 14025 cat conftest.$ac_ext >&5 |
14009 | 14043 |
14010 fi | 14044 fi |
14011 | 14045 |
14012 if test "$with_database_dbm" != "no"; then | 14046 if test "$with_database_dbm" != "no"; then |
14013 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14047 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14014 echo "configure:14015: checking for dbm_open" >&5 | 14048 echo "configure:14049: checking for dbm_open" >&5 |
14015 | 14049 |
14016 cat > conftest.$ac_ext <<EOF | 14050 cat > conftest.$ac_ext <<EOF |
14017 #line 14018 "configure" | 14051 #line 14052 "configure" |
14018 #include "confdefs.h" | 14052 #include "confdefs.h" |
14019 /* System header to define __stub macros and hopefully few prototypes, | 14053 /* System header to define __stub macros and hopefully few prototypes, |
14020 which can conflict with char dbm_open(); below. */ | 14054 which can conflict with char dbm_open(); below. */ |
14021 #include <assert.h> | 14055 #include <assert.h> |
14022 /* Override any gcc2 internal prototype to avoid an error. */ | 14056 /* Override any gcc2 internal prototype to avoid an error. */ |
14035 dbm_open(); | 14069 dbm_open(); |
14036 #endif | 14070 #endif |
14037 | 14071 |
14038 ; return 0; } | 14072 ; return 0; } |
14039 EOF | 14073 EOF |
14040 if { (eval echo configure:14041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14074 if { (eval echo configure:14075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14041 rm -rf conftest* | 14075 rm -rf conftest* |
14042 eval "ac_cv_func_dbm_open=yes" | 14076 eval "ac_cv_func_dbm_open=yes" |
14043 else | 14077 else |
14044 echo "configure: failed program was:" >&5 | 14078 echo "configure: failed program was:" >&5 |
14045 cat conftest.$ac_ext >&5 | 14079 cat conftest.$ac_ext >&5 |
14054 else | 14088 else |
14055 echo "$ac_t""no" 1>&6 | 14089 echo "$ac_t""no" 1>&6 |
14056 | 14090 |
14057 | 14091 |
14058 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14092 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14059 echo "configure:14060: checking for dbm_open in -ldbm" >&5 | 14093 echo "configure:14094: checking for dbm_open in -ldbm" >&5 |
14060 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14094 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14061 | 14095 |
14062 xe_check_libs=" -ldbm " | 14096 xe_check_libs=" -ldbm " |
14063 cat > conftest.$ac_ext <<EOF | 14097 cat > conftest.$ac_ext <<EOF |
14064 #line 14065 "configure" | 14098 #line 14099 "configure" |
14065 #include "confdefs.h" | 14099 #include "confdefs.h" |
14066 /* Override any gcc2 internal prototype to avoid an error. */ | 14100 /* Override any gcc2 internal prototype to avoid an error. */ |
14067 /* We use char because int might match the return type of a gcc2 | 14101 /* We use char because int might match the return type of a gcc2 |
14068 builtin and then its argument prototype would still apply. */ | 14102 builtin and then its argument prototype would still apply. */ |
14069 char dbm_open(); | 14103 char dbm_open(); |
14070 | 14104 |
14071 int main() { | 14105 int main() { |
14072 dbm_open() | 14106 dbm_open() |
14073 ; return 0; } | 14107 ; return 0; } |
14074 EOF | 14108 EOF |
14075 if { (eval echo configure:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14109 if { (eval echo configure:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14076 rm -rf conftest* | 14110 rm -rf conftest* |
14077 eval "ac_cv_lib_$ac_lib_var=yes" | 14111 eval "ac_cv_lib_$ac_lib_var=yes" |
14078 else | 14112 else |
14079 echo "configure: failed program was:" >&5 | 14113 echo "configure: failed program was:" >&5 |
14080 cat conftest.$ac_ext >&5 | 14114 cat conftest.$ac_ext >&5 |
14111 } | 14145 } |
14112 | 14146 |
14113 | 14147 |
14114 if test "$with_database_berkdb" != "no"; then | 14148 if test "$with_database_berkdb" != "no"; then |
14115 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14149 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14116 echo "configure:14117: checking for Berkeley db.h" >&5 | 14150 echo "configure:14151: checking for Berkeley db.h" >&5 |
14117 for header in "db/db.h" "db.h"; do | 14151 for header in "db/db.h" "db.h"; do |
14118 cat > conftest.$ac_ext <<EOF | 14152 cat > conftest.$ac_ext <<EOF |
14119 #line 14120 "configure" | 14153 #line 14154 "configure" |
14120 #include "confdefs.h" | 14154 #include "confdefs.h" |
14121 | 14155 |
14122 #include <stdlib.h> | 14156 #include <stdlib.h> |
14123 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14157 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14124 #ifdef HAVE_INTTYPES_H | 14158 #ifdef HAVE_INTTYPES_H |
14136 | 14170 |
14137 int main() { | 14171 int main() { |
14138 | 14172 |
14139 ; return 0; } | 14173 ; return 0; } |
14140 EOF | 14174 EOF |
14141 if { (eval echo configure:14142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14175 if { (eval echo configure:14176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14142 rm -rf conftest* | 14176 rm -rf conftest* |
14143 db_h_file="$header"; break | 14177 db_h_file="$header"; break |
14144 else | 14178 else |
14145 echo "configure: failed program was:" >&5 | 14179 echo "configure: failed program was:" >&5 |
14146 cat conftest.$ac_ext >&5 | 14180 cat conftest.$ac_ext >&5 |
14152 else echo "$ac_t""$db_h_file" 1>&6 | 14186 else echo "$ac_t""$db_h_file" 1>&6 |
14153 fi | 14187 fi |
14154 | 14188 |
14155 if test "$with_database_berkdb" != "no"; then | 14189 if test "$with_database_berkdb" != "no"; then |
14156 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14190 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14157 echo "configure:14158: checking for Berkeley DB version" >&5 | 14191 echo "configure:14192: checking for Berkeley DB version" >&5 |
14158 cat > conftest.$ac_ext <<EOF | 14192 cat > conftest.$ac_ext <<EOF |
14159 #line 14160 "configure" | 14193 #line 14194 "configure" |
14160 #include "confdefs.h" | 14194 #include "confdefs.h" |
14161 #include <$db_h_file> | 14195 #include <$db_h_file> |
14162 #if DB_VERSION_MAJOR > 1 | 14196 #if DB_VERSION_MAJOR > 1 |
14163 yes | 14197 yes |
14164 #endif | 14198 #endif |
14166 EOF | 14200 EOF |
14167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14168 egrep "yes" >/dev/null 2>&1; then | 14202 egrep "yes" >/dev/null 2>&1; then |
14169 rm -rf conftest* | 14203 rm -rf conftest* |
14170 cat > conftest.$ac_ext <<EOF | 14204 cat > conftest.$ac_ext <<EOF |
14171 #line 14172 "configure" | 14205 #line 14206 "configure" |
14172 #include "confdefs.h" | 14206 #include "confdefs.h" |
14173 #include <$db_h_file> | 14207 #include <$db_h_file> |
14174 #if DB_VERSION_MAJOR > 2 | 14208 #if DB_VERSION_MAJOR > 2 |
14175 yes | 14209 yes |
14176 #endif | 14210 #endif |
14193 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14227 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14194 fi | 14228 fi |
14195 rm -f conftest* | 14229 rm -f conftest* |
14196 | 14230 |
14197 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14231 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14198 echo "configure:14199: checking for $dbfunc" >&5 | 14232 echo "configure:14233: checking for $dbfunc" >&5 |
14199 | 14233 |
14200 cat > conftest.$ac_ext <<EOF | 14234 cat > conftest.$ac_ext <<EOF |
14201 #line 14202 "configure" | 14235 #line 14236 "configure" |
14202 #include "confdefs.h" | 14236 #include "confdefs.h" |
14203 /* System header to define __stub macros and hopefully few prototypes, | 14237 /* System header to define __stub macros and hopefully few prototypes, |
14204 which can conflict with char $dbfunc(); below. */ | 14238 which can conflict with char $dbfunc(); below. */ |
14205 #include <assert.h> | 14239 #include <assert.h> |
14206 /* Override any gcc2 internal prototype to avoid an error. */ | 14240 /* Override any gcc2 internal prototype to avoid an error. */ |
14219 $dbfunc(); | 14253 $dbfunc(); |
14220 #endif | 14254 #endif |
14221 | 14255 |
14222 ; return 0; } | 14256 ; return 0; } |
14223 EOF | 14257 EOF |
14224 if { (eval echo configure:14225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14225 rm -rf conftest* | 14259 rm -rf conftest* |
14226 eval "ac_cv_func_$dbfunc=yes" | 14260 eval "ac_cv_func_$dbfunc=yes" |
14227 else | 14261 else |
14228 echo "configure: failed program was:" >&5 | 14262 echo "configure: failed program was:" >&5 |
14229 cat conftest.$ac_ext >&5 | 14263 cat conftest.$ac_ext >&5 |
14238 else | 14272 else |
14239 echo "$ac_t""no" 1>&6 | 14273 echo "$ac_t""no" 1>&6 |
14240 | 14274 |
14241 | 14275 |
14242 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14276 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14243 echo "configure:14244: checking for $dbfunc in -ldb" >&5 | 14277 echo "configure:14278: checking for $dbfunc in -ldb" >&5 |
14244 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14278 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14245 | 14279 |
14246 xe_check_libs=" -ldb " | 14280 xe_check_libs=" -ldb " |
14247 cat > conftest.$ac_ext <<EOF | 14281 cat > conftest.$ac_ext <<EOF |
14248 #line 14249 "configure" | 14282 #line 14283 "configure" |
14249 #include "confdefs.h" | 14283 #include "confdefs.h" |
14250 /* Override any gcc2 internal prototype to avoid an error. */ | 14284 /* Override any gcc2 internal prototype to avoid an error. */ |
14251 /* We use char because int might match the return type of a gcc2 | 14285 /* We use char because int might match the return type of a gcc2 |
14252 builtin and then its argument prototype would still apply. */ | 14286 builtin and then its argument prototype would still apply. */ |
14253 char $dbfunc(); | 14287 char $dbfunc(); |
14254 | 14288 |
14255 int main() { | 14289 int main() { |
14256 $dbfunc() | 14290 $dbfunc() |
14257 ; return 0; } | 14291 ; return 0; } |
14258 EOF | 14292 EOF |
14259 if { (eval echo configure:14260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14293 if { (eval echo configure:14294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14260 rm -rf conftest* | 14294 rm -rf conftest* |
14261 eval "ac_cv_lib_$ac_lib_var=yes" | 14295 eval "ac_cv_lib_$ac_lib_var=yes" |
14262 else | 14296 else |
14263 echo "configure: failed program was:" >&5 | 14297 echo "configure: failed program was:" >&5 |
14264 cat conftest.$ac_ext >&5 | 14298 cat conftest.$ac_ext >&5 |
14318 fi | 14352 fi |
14319 | 14353 |
14320 if test "$with_socks" = "yes"; then | 14354 if test "$with_socks" = "yes"; then |
14321 | 14355 |
14322 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14356 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14323 echo "configure:14324: checking for SOCKSinit in -lsocks" >&5 | 14357 echo "configure:14358: checking for SOCKSinit in -lsocks" >&5 |
14324 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14358 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14325 | 14359 |
14326 xe_check_libs=" -lsocks " | 14360 xe_check_libs=" -lsocks " |
14327 cat > conftest.$ac_ext <<EOF | 14361 cat > conftest.$ac_ext <<EOF |
14328 #line 14329 "configure" | 14362 #line 14363 "configure" |
14329 #include "confdefs.h" | 14363 #include "confdefs.h" |
14330 /* Override any gcc2 internal prototype to avoid an error. */ | 14364 /* Override any gcc2 internal prototype to avoid an error. */ |
14331 /* We use char because int might match the return type of a gcc2 | 14365 /* We use char because int might match the return type of a gcc2 |
14332 builtin and then its argument prototype would still apply. */ | 14366 builtin and then its argument prototype would still apply. */ |
14333 char SOCKSinit(); | 14367 char SOCKSinit(); |
14334 | 14368 |
14335 int main() { | 14369 int main() { |
14336 SOCKSinit() | 14370 SOCKSinit() |
14337 ; return 0; } | 14371 ; return 0; } |
14338 EOF | 14372 EOF |
14339 if { (eval echo configure:14340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14373 if { (eval echo configure:14374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14340 rm -rf conftest* | 14374 rm -rf conftest* |
14341 eval "ac_cv_lib_$ac_lib_var=yes" | 14375 eval "ac_cv_lib_$ac_lib_var=yes" |
14342 else | 14376 else |
14343 echo "configure: failed program was:" >&5 | 14377 echo "configure: failed program was:" >&5 |
14344 cat conftest.$ac_ext >&5 | 14378 cat conftest.$ac_ext >&5 |
14389 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14423 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14390 fi | 14424 fi |
14391 | 14425 |
14392 if test "$with_modules" != "no"; then | 14426 if test "$with_modules" != "no"; then |
14393 echo "checking for module support" 1>&6 | 14427 echo "checking for module support" 1>&6 |
14394 echo "configure:14395: checking for module support" >&5 | 14428 echo "configure:14429: checking for module support" >&5 |
14395 | 14429 |
14396 if test "$with_msw" = "yes"; then | 14430 if test "$with_msw" = "yes"; then |
14397 have_dl=yes; | 14431 have_dl=yes; |
14398 else | 14432 else |
14399 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14433 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14400 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14434 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14401 echo "configure:14402: checking for dlfcn.h" >&5 | 14435 echo "configure:14436: checking for dlfcn.h" >&5 |
14402 | 14436 |
14403 cat > conftest.$ac_ext <<EOF | 14437 cat > conftest.$ac_ext <<EOF |
14404 #line 14405 "configure" | 14438 #line 14439 "configure" |
14405 #include "confdefs.h" | 14439 #include "confdefs.h" |
14406 #include <dlfcn.h> | 14440 #include <dlfcn.h> |
14407 EOF | 14441 EOF |
14408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14409 { (eval echo configure:14410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14443 { (eval echo configure:14444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14411 if test -z "$ac_err"; then | 14445 if test -z "$ac_err"; then |
14412 rm -rf conftest* | 14446 rm -rf conftest* |
14413 eval "ac_cv_header_$ac_safe=yes" | 14447 eval "ac_cv_header_$ac_safe=yes" |
14414 else | 14448 else |
14421 rm -f conftest* | 14455 rm -f conftest* |
14422 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14456 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14423 echo "$ac_t""yes" 1>&6 | 14457 echo "$ac_t""yes" 1>&6 |
14424 | 14458 |
14425 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14459 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14426 echo "configure:14427: checking for dlopen in -lc" >&5 | 14460 echo "configure:14461: checking for dlopen in -lc" >&5 |
14427 cat > conftest.$ac_ext <<EOF | 14461 cat > conftest.$ac_ext <<EOF |
14428 #line 14429 "configure" | 14462 #line 14463 "configure" |
14429 #include "confdefs.h" | 14463 #include "confdefs.h" |
14430 #include <dlfcn.h> | 14464 #include <dlfcn.h> |
14431 int main() { | 14465 int main() { |
14432 dlopen ("", 0); | 14466 dlopen ("", 0); |
14433 ; return 0; } | 14467 ; return 0; } |
14434 EOF | 14468 EOF |
14435 if { (eval echo configure:14436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14469 if { (eval echo configure:14470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14436 rm -rf conftest* | 14470 rm -rf conftest* |
14437 have_dl=yes | 14471 have_dl=yes |
14438 else | 14472 else |
14439 echo "configure: failed program was:" >&5 | 14473 echo "configure: failed program was:" >&5 |
14440 cat conftest.$ac_ext >&5 | 14474 cat conftest.$ac_ext >&5 |
14441 rm -rf conftest* | 14475 rm -rf conftest* |
14442 | 14476 |
14443 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14477 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14444 echo "configure:14445: checking for dlopen in -ldl" >&5 | 14478 echo "configure:14479: checking for dlopen in -ldl" >&5 |
14445 ac_save_LIBS="$LIBS" | 14479 ac_save_LIBS="$LIBS" |
14446 LIBS="-ldl $LIBS" | 14480 LIBS="-ldl $LIBS" |
14447 cat > conftest.$ac_ext <<EOF | 14481 cat > conftest.$ac_ext <<EOF |
14448 #line 14449 "configure" | 14482 #line 14483 "configure" |
14449 #include "confdefs.h" | 14483 #include "confdefs.h" |
14450 #include <dlfcn.h> | 14484 #include <dlfcn.h> |
14451 int main() { | 14485 int main() { |
14452 dlopen ("", 0); | 14486 dlopen ("", 0); |
14453 ; return 0; } | 14487 ; return 0; } |
14454 EOF | 14488 EOF |
14455 if { (eval echo configure:14456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14489 if { (eval echo configure:14490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14456 rm -rf conftest* | 14490 rm -rf conftest* |
14457 have_dl=yes | 14491 have_dl=yes |
14458 else | 14492 else |
14459 echo "configure: failed program was:" >&5 | 14493 echo "configure: failed program was:" >&5 |
14460 cat conftest.$ac_ext >&5 | 14494 cat conftest.$ac_ext >&5 |
14479 } | 14513 } |
14480 | 14514 |
14481 else | 14515 else |
14482 | 14516 |
14483 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14517 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14484 echo "configure:14485: checking for shl_load in -ldld" >&5 | 14518 echo "configure:14519: checking for shl_load in -ldld" >&5 |
14485 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14519 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14486 | 14520 |
14487 xe_check_libs=" -ldld " | 14521 xe_check_libs=" -ldld " |
14488 cat > conftest.$ac_ext <<EOF | 14522 cat > conftest.$ac_ext <<EOF |
14489 #line 14490 "configure" | 14523 #line 14524 "configure" |
14490 #include "confdefs.h" | 14524 #include "confdefs.h" |
14491 /* Override any gcc2 internal prototype to avoid an error. */ | 14525 /* Override any gcc2 internal prototype to avoid an error. */ |
14492 /* We use char because int might match the return type of a gcc2 | 14526 /* We use char because int might match the return type of a gcc2 |
14493 builtin and then its argument prototype would still apply. */ | 14527 builtin and then its argument prototype would still apply. */ |
14494 char shl_load(); | 14528 char shl_load(); |
14495 | 14529 |
14496 int main() { | 14530 int main() { |
14497 shl_load() | 14531 shl_load() |
14498 ; return 0; } | 14532 ; return 0; } |
14499 EOF | 14533 EOF |
14500 if { (eval echo configure:14501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14534 if { (eval echo configure:14535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14501 rm -rf conftest* | 14535 rm -rf conftest* |
14502 eval "ac_cv_lib_$ac_lib_var=yes" | 14536 eval "ac_cv_lib_$ac_lib_var=yes" |
14503 else | 14537 else |
14504 echo "configure: failed program was:" >&5 | 14538 echo "configure: failed program was:" >&5 |
14505 cat conftest.$ac_ext >&5 | 14539 cat conftest.$ac_ext >&5 |
14522 | 14556 |
14523 else | 14557 else |
14524 echo "$ac_t""no" 1>&6 | 14558 echo "$ac_t""no" 1>&6 |
14525 | 14559 |
14526 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14560 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14527 echo "configure:14528: checking for dld_init in -ldld" >&5 | 14561 echo "configure:14562: checking for dld_init in -ldld" >&5 |
14528 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14562 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14529 | 14563 |
14530 xe_check_libs=" -ldld " | 14564 xe_check_libs=" -ldld " |
14531 cat > conftest.$ac_ext <<EOF | 14565 cat > conftest.$ac_ext <<EOF |
14532 #line 14533 "configure" | 14566 #line 14567 "configure" |
14533 #include "confdefs.h" | 14567 #include "confdefs.h" |
14534 /* Override any gcc2 internal prototype to avoid an error. */ | 14568 /* Override any gcc2 internal prototype to avoid an error. */ |
14535 /* We use char because int might match the return type of a gcc2 | 14569 /* We use char because int might match the return type of a gcc2 |
14536 builtin and then its argument prototype would still apply. */ | 14570 builtin and then its argument prototype would still apply. */ |
14537 char dld_init(); | 14571 char dld_init(); |
14538 | 14572 |
14539 int main() { | 14573 int main() { |
14540 dld_init() | 14574 dld_init() |
14541 ; return 0; } | 14575 ; return 0; } |
14542 EOF | 14576 EOF |
14543 if { (eval echo configure:14544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14577 if { (eval echo configure:14578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14544 rm -rf conftest* | 14578 rm -rf conftest* |
14545 eval "ac_cv_lib_$ac_lib_var=yes" | 14579 eval "ac_cv_lib_$ac_lib_var=yes" |
14546 else | 14580 else |
14547 echo "configure: failed program was:" >&5 | 14581 echo "configure: failed program was:" >&5 |
14548 cat conftest.$ac_ext >&5 | 14582 cat conftest.$ac_ext >&5 |
14583 ld_dynamic_link_flags= | 14617 ld_dynamic_link_flags= |
14584 xehost=$canonical | 14618 xehost=$canonical |
14585 xealias=$internal_configuration | 14619 xealias=$internal_configuration |
14586 | 14620 |
14587 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14621 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14588 echo "configure:14589: checking how to build dynamic libraries for ${xehost}" >&5 | 14622 echo "configure:14623: checking how to build dynamic libraries for ${xehost}" >&5 |
14589 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14623 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14590 case "$xehost" in | 14624 case "$xehost" in |
14591 *-*-linux-gnu*) ;; | 14625 *-*-linux-gnu*) ;; |
14592 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14626 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14593 esac | 14627 esac |
14611 # Now see if the compiler is really GCC. | 14645 # Now see if the compiler is really GCC. |
14612 if test "$GCC" = "yes"; then | 14646 if test "$GCC" = "yes"; then |
14613 XEGCC=yes | 14647 XEGCC=yes |
14614 else | 14648 else |
14615 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14649 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14616 echo "configure:14617: checking checking whether we are using GNU C" >&5 | 14650 echo "configure:14651: checking checking whether we are using GNU C" >&5 |
14617 cat > conftest.$ac_ext <<EOF | 14651 cat > conftest.$ac_ext <<EOF |
14618 #line 14619 "configure" | 14652 #line 14653 "configure" |
14619 #include "confdefs.h" | 14653 #include "confdefs.h" |
14620 | 14654 |
14621 #ifdef __GNUC__ | 14655 #ifdef __GNUC__ |
14622 yes; | 14656 yes; |
14623 #endif | 14657 #endif |
14635 | 14669 |
14636 echo "$ac_t""${XEGCC}" 1>&6 | 14670 echo "$ac_t""${XEGCC}" 1>&6 |
14637 fi | 14671 fi |
14638 | 14672 |
14639 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14673 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14640 echo "configure:14641: checking how to produce PIC code" >&5 | 14674 echo "configure:14675: checking how to produce PIC code" >&5 |
14641 wl= | 14675 wl= |
14642 | 14676 |
14643 can_build_shared=yes | 14677 can_build_shared=yes |
14644 if test "$XEGCC" = yes; then | 14678 if test "$XEGCC" = yes; then |
14645 wl='-Wl,' | 14679 wl='-Wl,' |
14736 if test -n "$dll_cflags"; then | 14770 if test -n "$dll_cflags"; then |
14737 echo "$ac_t""${dll_cflags}" 1>&6 | 14771 echo "$ac_t""${dll_cflags}" 1>&6 |
14738 | 14772 |
14739 # Check to make sure the dll_cflags actually works. | 14773 # Check to make sure the dll_cflags actually works. |
14740 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14774 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14741 echo "configure:14742: checking if PIC flag ${dll_cflags} really works" >&5 | 14775 echo "configure:14776: checking if PIC flag ${dll_cflags} really works" >&5 |
14742 save_CFLAGS="$CFLAGS" | 14776 save_CFLAGS="$CFLAGS" |
14743 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14777 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14744 cat > conftest.$ac_ext <<EOF | 14778 cat > conftest.$ac_ext <<EOF |
14745 #line 14746 "configure" | 14779 #line 14780 "configure" |
14746 #include "confdefs.h" | 14780 #include "confdefs.h" |
14747 | 14781 |
14748 int main() { | 14782 int main() { |
14749 int x=0; | 14783 int x=0; |
14750 ; return 0; } | 14784 ; return 0; } |
14751 EOF | 14785 EOF |
14752 if { (eval echo configure:14753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14786 if { (eval echo configure:14787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14753 rm -rf conftest* | 14787 rm -rf conftest* |
14754 | 14788 |
14755 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14789 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14756 # reports no error. So, we need to grep stderr for (Bundled). | 14790 # reports no error. So, we need to grep stderr for (Bundled). |
14757 if grep '(Bundled)' config.log >/dev/null; then | 14791 if grep '(Bundled)' config.log >/dev/null; then |
14778 if test "$can_build_shared" = "yes"; then | 14812 if test "$can_build_shared" = "yes"; then |
14779 cc_produces_so=no | 14813 cc_produces_so=no |
14780 xldf= | 14814 xldf= |
14781 xcldf= | 14815 xcldf= |
14782 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14816 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14783 echo "configure:14784: checking if C compiler can produce shared libraries" >&5 | 14817 echo "configure:14818: checking if C compiler can produce shared libraries" >&5 |
14784 if test "$XEGCC" = yes; then | 14818 if test "$XEGCC" = yes; then |
14785 xcldf="-shared" | 14819 xcldf="-shared" |
14786 xldf="-shared" | 14820 xldf="-shared" |
14787 else # Not using GCC | 14821 else # Not using GCC |
14788 case "$xehost_os" in | 14822 case "$xehost_os" in |
14829 LDFLAGS="$xcldf $LDFLAGS" | 14863 LDFLAGS="$xcldf $LDFLAGS" |
14830 LIBS= | 14864 LIBS= |
14831 xe_libs= | 14865 xe_libs= |
14832 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14866 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14833 cat > conftest.$ac_ext <<EOF | 14867 cat > conftest.$ac_ext <<EOF |
14834 #line 14835 "configure" | 14868 #line 14869 "configure" |
14835 #include "confdefs.h" | 14869 #include "confdefs.h" |
14836 | 14870 |
14837 int main() { | 14871 int main() { |
14838 int x=0; | 14872 int x=0; |
14839 ; return 0; } | 14873 ; return 0; } |
14840 EOF | 14874 EOF |
14841 if { (eval echo configure:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14875 if { (eval echo configure:14876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14842 rm -rf conftest* | 14876 rm -rf conftest* |
14843 cc_produces_so=yes | 14877 cc_produces_so=yes |
14844 else | 14878 else |
14845 echo "configure: failed program was:" >&5 | 14879 echo "configure: failed program was:" >&5 |
14846 cat conftest.$ac_ext >&5 | 14880 cat conftest.$ac_ext >&5 |
14861 if test -z "$LTLD"; then | 14895 if test -z "$LTLD"; then |
14862 ac_prog=ld | 14896 ac_prog=ld |
14863 if test "$XEGCC" = yes; then | 14897 if test "$XEGCC" = yes; then |
14864 # Check if gcc -print-prog-name=ld gives a path. | 14898 # Check if gcc -print-prog-name=ld gives a path. |
14865 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14899 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14866 echo "configure:14867: checking for ld used by GCC" >&5 | 14900 echo "configure:14901: checking for ld used by GCC" >&5 |
14867 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14901 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14868 case "$ac_prog" in | 14902 case "$ac_prog" in |
14869 # Accept absolute paths. | 14903 # Accept absolute paths. |
14870 /*) | 14904 /*) |
14871 if test -z "$LTLD"; then | 14905 if test -z "$LTLD"; then |
14872 case "$ac_prog" in | 14906 # case "$ac_prog" in |
14873 *gcc-lib*) LTLD="$CC" | 14907 # *gcc-lib*) LTLD="$CC" |
14874 ;; | 14908 # ;; |
14875 *) LTLD="$ac_prog" | 14909 # *) |
14876 ;; | 14910 LTLD="$ac_prog" |
14877 esac | 14911 # ;; |
14912 # esac | |
14878 fi | 14913 fi |
14879 ;; | 14914 ;; |
14880 "") | 14915 "") |
14881 # If it fails, then pretend we aren't using GCC. | 14916 # If it fails, then pretend we aren't using GCC. |
14882 ac_prog=ld | 14917 ac_prog=ld |
14886 with_gnu_ld=unknown | 14921 with_gnu_ld=unknown |
14887 ;; | 14922 ;; |
14888 esac | 14923 esac |
14889 else | 14924 else |
14890 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14925 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14891 echo "configure:14892: checking for GNU ld" >&5 | 14926 echo "configure:14927: checking for GNU ld" >&5 |
14892 fi | 14927 fi |
14893 | 14928 |
14894 if test -z "$LTLD"; then | 14929 if test -z "$LTLD"; then |
14895 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14896 for ac_dir in $PATH; do | 14931 for ac_dir in $PATH; do |
14924 | 14959 |
14925 ld_dynamic_link_flags= | 14960 ld_dynamic_link_flags= |
14926 | 14961 |
14927 # Check to see if it really is or isn't GNU ld. | 14962 # Check to see if it really is or isn't GNU ld. |
14928 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14963 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14929 echo "configure:14930: checking if the linker is GNU ld" >&5 | 14964 echo "configure:14965: checking if the linker is GNU ld" >&5 |
14930 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14965 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14931 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14966 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14932 xe_gnu_ld=yes | 14967 xe_gnu_ld=yes |
14933 else | 14968 else |
14934 xe_gnu_ld=no | 14969 xe_gnu_ld=no |
14952 ld_shlibs=yes | 14987 ld_shlibs=yes |
14953 else | 14988 else |
14954 # OK - only NOW do we futz about with ld. | 14989 # OK - only NOW do we futz about with ld. |
14955 # See if the linker supports building shared libraries. | 14990 # See if the linker supports building shared libraries. |
14956 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14991 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14957 echo "configure:14958: checking whether the linker supports shared libraries" >&5 | 14992 echo "configure:14993: checking whether the linker supports shared libraries" >&5 |
14958 dll_ld=$CC | 14993 dll_ld=$CC |
14959 dll_ldflags=$LDFLAGS | 14994 dll_ldflags=$LDFLAGS |
14960 ld_shlibs=yes | 14995 ld_shlibs=yes |
14961 can_build_shared=yes | 14996 can_build_shared=yes |
14962 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14997 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15163 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15198 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15164 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15199 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15165 for ac_func in dlerror _dlerror | 15200 for ac_func in dlerror _dlerror |
15166 do | 15201 do |
15167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15168 echo "configure:15169: checking for $ac_func" >&5 | 15203 echo "configure:15204: checking for $ac_func" >&5 |
15169 | 15204 |
15170 cat > conftest.$ac_ext <<EOF | 15205 cat > conftest.$ac_ext <<EOF |
15171 #line 15172 "configure" | 15206 #line 15207 "configure" |
15172 #include "confdefs.h" | 15207 #include "confdefs.h" |
15173 /* System header to define __stub macros and hopefully few prototypes, | 15208 /* System header to define __stub macros and hopefully few prototypes, |
15174 which can conflict with char $ac_func(); below. */ | 15209 which can conflict with char $ac_func(); below. */ |
15175 #include <assert.h> | 15210 #include <assert.h> |
15176 /* Override any gcc2 internal prototype to avoid an error. */ | 15211 /* Override any gcc2 internal prototype to avoid an error. */ |
15189 $ac_func(); | 15224 $ac_func(); |
15190 #endif | 15225 #endif |
15191 | 15226 |
15192 ; return 0; } | 15227 ; return 0; } |
15193 EOF | 15228 EOF |
15194 if { (eval echo configure:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15229 if { (eval echo configure:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15195 rm -rf conftest* | 15230 rm -rf conftest* |
15196 eval "ac_cv_func_$ac_func=yes" | 15231 eval "ac_cv_func_$ac_func=yes" |
15197 else | 15232 else |
15198 echo "configure: failed program was:" >&5 | 15233 echo "configure: failed program was:" >&5 |
15199 cat conftest.$ac_ext >&5 | 15234 cat conftest.$ac_ext >&5 |
15228 with_modules=no | 15263 with_modules=no |
15229 fi | 15264 fi |
15230 fi | 15265 fi |
15231 | 15266 |
15232 cat > conftest.$ac_ext <<EOF | 15267 cat > conftest.$ac_ext <<EOF |
15233 #line 15234 "configure" | 15268 #line 15269 "configure" |
15234 #include "confdefs.h" | 15269 #include "confdefs.h" |
15235 int main(int c,char *v[]){return 0;} | 15270 int main(int c,char *v[]){return 0;} |
15236 EOF | 15271 EOF |
15237 if { (eval echo configure:15238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15272 if { (eval echo configure:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15238 then | 15273 then |
15239 : | 15274 : |
15240 else | 15275 else |
15241 conftest_rc="$?" | 15276 conftest_rc="$?" |
15242 echo "configure: failed program was:" >&5 | 15277 echo "configure: failed program was:" >&5 |
15796 test "$pdump" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 15831 test "$pdump" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
15797 Defining PDUMP | 15832 Defining PDUMP |
15798 EOF | 15833 EOF |
15799 cat >> confdefs.h <<\EOF | 15834 cat >> confdefs.h <<\EOF |
15800 #define PDUMP 1 | 15835 #define PDUMP 1 |
15836 EOF | |
15837 } | |
15838 | |
15839 test "$with_ipv6_cname" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | |
15840 Defining IPV6_CANONICALIZE | |
15841 EOF | |
15842 cat >> confdefs.h <<\EOF | |
15843 #define IPV6_CANONICALIZE 1 | |
15801 EOF | 15844 EOF |
15802 } | 15845 } |
15803 | 15846 |
15804 | 15847 |
15805 | 15848 |