Mercurial > hg > xemacs-beta
comparison configure @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 501cfd01ee6d |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
716 | 716 |
717 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; | 717 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; |
718 | 718 |
719 "with_menubars" | \ | 719 "with_menubars" | \ |
720 "with_scrollbars" | \ | 720 "with_scrollbars" | \ |
721 "with_dialogs" | \ | 721 "with_dialogs" | \ |
722 "with_widgets" ) | 722 "with_widgets" ) |
723 case "$val" in | 723 case "$val" in |
724 l | lu | luc | luci | lucid ) val=lucid ;; | 724 l | lu | luc | luci | lucid ) val=lucid ;; |
725 m | mo | mot | moti | motif ) val=motif ;; | 725 m | mo | mot | moti | motif ) val=motif ;; |
726 a | at | ath | athe | athen | athena ) val=athena ;; | 726 a | at | ath | athe | athen | athena ) val=athena ;; |
727 n | no | non | none ) val=no ;; | 727 n | no | non | none ) val=no ;; |
728 y | ye | yes ) val=yes ;; | |
728 * ) (echo "$progname: Usage error:" | 729 * ) (echo "$progname: Usage error:" |
729 echo " " "The \`--$optname' option must have one of these values: | 730 echo " " "The \`--$optname' option must have one of these values: |
730 \`lucid', \`motif', \`athena', or \`no'." | 731 \`lucid', \`motif', \`athena', \`yes', or \`no'." |
731 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 732 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
732 esac | 733 esac |
733 eval "$opt=\"$val\"" | 734 eval "$opt=\"$val\"" |
734 ;; | 735 ;; |
735 | 736 |
827 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 828 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
828 fi | 829 fi |
829 fi | 830 fi |
830 | 831 |
831 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 832 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
832 echo "configure:833: checking whether ln -s works" >&5 | 833 echo "configure:834: checking whether ln -s works" >&5 |
833 | 834 |
834 rm -f conftestdata | 835 rm -f conftestdata |
835 if ln -s X conftestdata 2>/dev/null | 836 if ln -s X conftestdata 2>/dev/null |
836 then | 837 then |
837 rm -f conftestdata | 838 rm -f conftestdata |
1092 } | 1093 } |
1093 | 1094 |
1094 | 1095 |
1095 | 1096 |
1096 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1097 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1097 echo "configure:1098: checking "host system type"" >&5 | 1098 echo "configure:1099: checking "host system type"" >&5 |
1098 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1099 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1099 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1100 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1100 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1101 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1101 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1102 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1102 echo "$ac_t""$configuration" 1>&6 | 1103 echo "$ac_t""$configuration" 1>&6 |
1124 m68*-sony-* ) machine=news ;; | 1125 m68*-sony-* ) machine=news ;; |
1125 mips-sony-* ) machine=news-risc ;; | 1126 mips-sony-* ) machine=news-risc ;; |
1126 clipper-* ) machine=clipper ;; | 1127 clipper-* ) machine=clipper ;; |
1127 arm* ) machine=arm ;; | 1128 arm* ) machine=arm ;; |
1128 ns32k-* ) machine=ns32000 ;; | 1129 ns32k-* ) machine=ns32000 ;; |
1130 s390-* ) machine=s390 ;; | |
1129 esac | 1131 esac |
1130 | 1132 |
1131 case "$canonical" in | 1133 case "$canonical" in |
1132 *-*-linux* ) opsys=linux ;; | 1134 *-*-linux* ) opsys=linux ;; |
1133 *-*-netbsd* ) opsys=netbsd ;; | 1135 *-*-netbsd* ) opsys=netbsd ;; |
1587 xe_save_CFLAGS="$CFLAGS" | 1589 xe_save_CFLAGS="$CFLAGS" |
1588 | 1590 |
1589 # Extract the first word of "gcc", so it can be a program name with args. | 1591 # Extract the first word of "gcc", so it can be a program name with args. |
1590 set dummy gcc; ac_word=$2 | 1592 set dummy gcc; ac_word=$2 |
1591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1592 echo "configure:1593: checking for $ac_word" >&5 | 1594 echo "configure:1595: checking for $ac_word" >&5 |
1593 | 1595 |
1594 if test -n "$CC"; then | 1596 if test -n "$CC"; then |
1595 ac_cv_prog_CC="$CC" # Let the user override the test. | 1597 ac_cv_prog_CC="$CC" # Let the user override the test. |
1596 else | 1598 else |
1597 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1599 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1614 | 1616 |
1615 if test -z "$CC"; then | 1617 if test -z "$CC"; then |
1616 # Extract the first word of "cc", so it can be a program name with args. | 1618 # Extract the first word of "cc", so it can be a program name with args. |
1617 set dummy cc; ac_word=$2 | 1619 set dummy cc; ac_word=$2 |
1618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1619 echo "configure:1620: checking for $ac_word" >&5 | 1621 echo "configure:1622: checking for $ac_word" >&5 |
1620 | 1622 |
1621 if test -n "$CC"; then | 1623 if test -n "$CC"; then |
1622 ac_cv_prog_CC="$CC" # Let the user override the test. | 1624 ac_cv_prog_CC="$CC" # Let the user override the test. |
1623 else | 1625 else |
1624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1626 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1662 case "`uname -s`" in | 1664 case "`uname -s`" in |
1663 *win32* | *WIN32*) | 1665 *win32* | *WIN32*) |
1664 # Extract the first word of "cl", so it can be a program name with args. | 1666 # Extract the first word of "cl", so it can be a program name with args. |
1665 set dummy cl; ac_word=$2 | 1667 set dummy cl; ac_word=$2 |
1666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1667 echo "configure:1668: checking for $ac_word" >&5 | 1669 echo "configure:1670: checking for $ac_word" >&5 |
1668 | 1670 |
1669 if test -n "$CC"; then | 1671 if test -n "$CC"; then |
1670 ac_cv_prog_CC="$CC" # Let the user override the test. | 1672 ac_cv_prog_CC="$CC" # Let the user override the test. |
1671 else | 1673 else |
1672 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1691 fi | 1693 fi |
1692 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1694 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1693 fi | 1695 fi |
1694 | 1696 |
1695 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1697 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1696 echo "configure:1697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1698 echo "configure:1699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1697 | 1699 |
1698 ac_ext=c | 1700 ac_ext=c |
1699 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1701 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1700 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1702 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1701 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1703 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1704 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1706 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1705 cross_compiling=no | 1707 cross_compiling=no |
1706 | 1708 |
1707 cat > conftest.$ac_ext << EOF | 1709 cat > conftest.$ac_ext << EOF |
1708 | 1710 |
1709 #line 1710 "configure" | 1711 #line 1712 "configure" |
1710 #include "confdefs.h" | 1712 #include "confdefs.h" |
1711 | 1713 |
1712 main(){return(0);} | 1714 main(){return(0);} |
1713 EOF | 1715 EOF |
1714 if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1716 if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1715 ac_cv_prog_cc_works=yes | 1717 ac_cv_prog_cc_works=yes |
1716 # If we can't run a trivial program, we are probably using a cross compiler. | 1718 # If we can't run a trivial program, we are probably using a cross compiler. |
1717 if (./conftest; exit) 2>/dev/null; then | 1719 if (./conftest; exit) 2>/dev/null; then |
1718 ac_cv_prog_cc_cross=no | 1720 ac_cv_prog_cc_cross=no |
1719 else | 1721 else |
1737 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1739 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1738 if test $ac_cv_prog_cc_works = no; then | 1740 if test $ac_cv_prog_cc_works = no; then |
1739 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1741 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1740 fi | 1742 fi |
1741 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1743 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1742 echo "configure:1743: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1744 echo "configure:1745: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1743 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1745 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1744 cross_compiling=$ac_cv_prog_cc_cross | 1746 cross_compiling=$ac_cv_prog_cc_cross |
1745 | 1747 |
1746 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1748 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1747 echo "configure:1748: checking whether we are using GNU C" >&5 | 1749 echo "configure:1750: checking whether we are using GNU C" >&5 |
1748 | 1750 |
1749 cat > conftest.c <<EOF | 1751 cat > conftest.c <<EOF |
1750 #ifdef __GNUC__ | 1752 #ifdef __GNUC__ |
1751 yes; | 1753 yes; |
1752 #endif | 1754 #endif |
1753 EOF | 1755 EOF |
1754 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1756 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1755 ac_cv_prog_gcc=yes | 1757 ac_cv_prog_gcc=yes |
1756 else | 1758 else |
1757 ac_cv_prog_gcc=no | 1759 ac_cv_prog_gcc=no |
1758 fi | 1760 fi |
1759 | 1761 |
1767 | 1769 |
1768 ac_test_CFLAGS="${CFLAGS+set}" | 1770 ac_test_CFLAGS="${CFLAGS+set}" |
1769 ac_save_CFLAGS="$CFLAGS" | 1771 ac_save_CFLAGS="$CFLAGS" |
1770 CFLAGS= | 1772 CFLAGS= |
1771 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1773 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1772 echo "configure:1773: checking whether ${CC-cc} accepts -g" >&5 | 1774 echo "configure:1775: checking whether ${CC-cc} accepts -g" >&5 |
1773 | 1775 |
1774 echo 'void f(){}' > conftest.c | 1776 echo 'void f(){}' > conftest.c |
1775 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1777 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1776 ac_cv_prog_cc_g=yes | 1778 ac_cv_prog_cc_g=yes |
1777 else | 1779 else |
1800 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1802 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1801 CC=${NON_GNU_CC-cc} | 1803 CC=${NON_GNU_CC-cc} |
1802 # Extract the first word of "gcc", so it can be a program name with args. | 1804 # Extract the first word of "gcc", so it can be a program name with args. |
1803 set dummy gcc; ac_word=$2 | 1805 set dummy gcc; ac_word=$2 |
1804 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1805 echo "configure:1806: checking for $ac_word" >&5 | 1807 echo "configure:1808: checking for $ac_word" >&5 |
1806 | 1808 |
1807 if test -n "$CC"; then | 1809 if test -n "$CC"; then |
1808 ac_cv_prog_CC="$CC" # Let the user override the test. | 1810 ac_cv_prog_CC="$CC" # Let the user override the test. |
1809 else | 1811 else |
1810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1812 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1827 | 1829 |
1828 if test -z "$CC"; then | 1830 if test -z "$CC"; then |
1829 # Extract the first word of "cc", so it can be a program name with args. | 1831 # Extract the first word of "cc", so it can be a program name with args. |
1830 set dummy cc; ac_word=$2 | 1832 set dummy cc; ac_word=$2 |
1831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1833 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1832 echo "configure:1833: checking for $ac_word" >&5 | 1834 echo "configure:1835: checking for $ac_word" >&5 |
1833 | 1835 |
1834 if test -n "$CC"; then | 1836 if test -n "$CC"; then |
1835 ac_cv_prog_CC="$CC" # Let the user override the test. | 1837 ac_cv_prog_CC="$CC" # Let the user override the test. |
1836 else | 1838 else |
1837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1839 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1875 case "`uname -s`" in | 1877 case "`uname -s`" in |
1876 *win32* | *WIN32*) | 1878 *win32* | *WIN32*) |
1877 # Extract the first word of "cl", so it can be a program name with args. | 1879 # Extract the first word of "cl", so it can be a program name with args. |
1878 set dummy cl; ac_word=$2 | 1880 set dummy cl; ac_word=$2 |
1879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1881 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1880 echo "configure:1881: checking for $ac_word" >&5 | 1882 echo "configure:1883: checking for $ac_word" >&5 |
1881 | 1883 |
1882 if test -n "$CC"; then | 1884 if test -n "$CC"; then |
1883 ac_cv_prog_CC="$CC" # Let the user override the test. | 1885 ac_cv_prog_CC="$CC" # Let the user override the test. |
1884 else | 1886 else |
1885 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1904 fi | 1906 fi |
1905 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1907 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1906 fi | 1908 fi |
1907 | 1909 |
1908 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1910 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1909 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1911 echo "configure:1912: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1910 | 1912 |
1911 ac_ext=c | 1913 ac_ext=c |
1912 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1914 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1913 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1915 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1914 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1916 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1917 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1919 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1918 cross_compiling=no | 1920 cross_compiling=no |
1919 | 1921 |
1920 cat > conftest.$ac_ext << EOF | 1922 cat > conftest.$ac_ext << EOF |
1921 | 1923 |
1922 #line 1923 "configure" | 1924 #line 1925 "configure" |
1923 #include "confdefs.h" | 1925 #include "confdefs.h" |
1924 | 1926 |
1925 main(){return(0);} | 1927 main(){return(0);} |
1926 EOF | 1928 EOF |
1927 if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1929 if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1928 ac_cv_prog_cc_works=yes | 1930 ac_cv_prog_cc_works=yes |
1929 # If we can't run a trivial program, we are probably using a cross compiler. | 1931 # If we can't run a trivial program, we are probably using a cross compiler. |
1930 if (./conftest; exit) 2>/dev/null; then | 1932 if (./conftest; exit) 2>/dev/null; then |
1931 ac_cv_prog_cc_cross=no | 1933 ac_cv_prog_cc_cross=no |
1932 else | 1934 else |
1950 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1952 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1951 if test $ac_cv_prog_cc_works = no; then | 1953 if test $ac_cv_prog_cc_works = no; then |
1952 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1954 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1953 fi | 1955 fi |
1954 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1956 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1955 echo "configure:1956: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1957 echo "configure:1958: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1956 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1958 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1957 cross_compiling=$ac_cv_prog_cc_cross | 1959 cross_compiling=$ac_cv_prog_cc_cross |
1958 | 1960 |
1959 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1961 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1960 echo "configure:1961: checking whether we are using GNU C" >&5 | 1962 echo "configure:1963: checking whether we are using GNU C" >&5 |
1961 | 1963 |
1962 cat > conftest.c <<EOF | 1964 cat > conftest.c <<EOF |
1963 #ifdef __GNUC__ | 1965 #ifdef __GNUC__ |
1964 yes; | 1966 yes; |
1965 #endif | 1967 #endif |
1966 EOF | 1968 EOF |
1967 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1969 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1968 ac_cv_prog_gcc=yes | 1970 ac_cv_prog_gcc=yes |
1969 else | 1971 else |
1970 ac_cv_prog_gcc=no | 1972 ac_cv_prog_gcc=no |
1971 fi | 1973 fi |
1972 | 1974 |
1980 | 1982 |
1981 ac_test_CFLAGS="${CFLAGS+set}" | 1983 ac_test_CFLAGS="${CFLAGS+set}" |
1982 ac_save_CFLAGS="$CFLAGS" | 1984 ac_save_CFLAGS="$CFLAGS" |
1983 CFLAGS= | 1985 CFLAGS= |
1984 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1986 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1985 echo "configure:1986: checking whether ${CC-cc} accepts -g" >&5 | 1987 echo "configure:1988: checking whether ${CC-cc} accepts -g" >&5 |
1986 | 1988 |
1987 echo 'void f(){}' > conftest.c | 1989 echo 'void f(){}' > conftest.c |
1988 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1990 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1989 ac_cv_prog_cc_g=yes | 1991 ac_cv_prog_cc_g=yes |
1990 else | 1992 else |
2013 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2015 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2014 CC=gcc | 2016 CC=gcc |
2015 # Extract the first word of "gcc", so it can be a program name with args. | 2017 # Extract the first word of "gcc", so it can be a program name with args. |
2016 set dummy gcc; ac_word=$2 | 2018 set dummy gcc; ac_word=$2 |
2017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2019 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2018 echo "configure:2019: checking for $ac_word" >&5 | 2020 echo "configure:2021: checking for $ac_word" >&5 |
2019 | 2021 |
2020 if test -n "$CC"; then | 2022 if test -n "$CC"; then |
2021 ac_cv_prog_CC="$CC" # Let the user override the test. | 2023 ac_cv_prog_CC="$CC" # Let the user override the test. |
2022 else | 2024 else |
2023 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2025 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2040 | 2042 |
2041 if test -z "$CC"; then | 2043 if test -z "$CC"; then |
2042 # Extract the first word of "cc", so it can be a program name with args. | 2044 # Extract the first word of "cc", so it can be a program name with args. |
2043 set dummy cc; ac_word=$2 | 2045 set dummy cc; ac_word=$2 |
2044 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2046 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2045 echo "configure:2046: checking for $ac_word" >&5 | 2047 echo "configure:2048: checking for $ac_word" >&5 |
2046 | 2048 |
2047 if test -n "$CC"; then | 2049 if test -n "$CC"; then |
2048 ac_cv_prog_CC="$CC" # Let the user override the test. | 2050 ac_cv_prog_CC="$CC" # Let the user override the test. |
2049 else | 2051 else |
2050 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2052 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2088 case "`uname -s`" in | 2090 case "`uname -s`" in |
2089 *win32* | *WIN32*) | 2091 *win32* | *WIN32*) |
2090 # Extract the first word of "cl", so it can be a program name with args. | 2092 # Extract the first word of "cl", so it can be a program name with args. |
2091 set dummy cl; ac_word=$2 | 2093 set dummy cl; ac_word=$2 |
2092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2093 echo "configure:2094: checking for $ac_word" >&5 | 2095 echo "configure:2096: checking for $ac_word" >&5 |
2094 | 2096 |
2095 if test -n "$CC"; then | 2097 if test -n "$CC"; then |
2096 ac_cv_prog_CC="$CC" # Let the user override the test. | 2098 ac_cv_prog_CC="$CC" # Let the user override the test. |
2097 else | 2099 else |
2098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2100 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2117 fi | 2119 fi |
2118 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2120 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2119 fi | 2121 fi |
2120 | 2122 |
2121 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2123 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2122 echo "configure:2123: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2124 echo "configure:2125: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2123 | 2125 |
2124 ac_ext=c | 2126 ac_ext=c |
2125 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2127 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2126 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2128 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2127 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2129 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2130 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2132 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2131 cross_compiling=no | 2133 cross_compiling=no |
2132 | 2134 |
2133 cat > conftest.$ac_ext << EOF | 2135 cat > conftest.$ac_ext << EOF |
2134 | 2136 |
2135 #line 2136 "configure" | 2137 #line 2138 "configure" |
2136 #include "confdefs.h" | 2138 #include "confdefs.h" |
2137 | 2139 |
2138 main(){return(0);} | 2140 main(){return(0);} |
2139 EOF | 2141 EOF |
2140 if { (eval echo configure:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2142 if { (eval echo configure:2143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2141 ac_cv_prog_cc_works=yes | 2143 ac_cv_prog_cc_works=yes |
2142 # If we can't run a trivial program, we are probably using a cross compiler. | 2144 # If we can't run a trivial program, we are probably using a cross compiler. |
2143 if (./conftest; exit) 2>/dev/null; then | 2145 if (./conftest; exit) 2>/dev/null; then |
2144 ac_cv_prog_cc_cross=no | 2146 ac_cv_prog_cc_cross=no |
2145 else | 2147 else |
2163 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2165 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2164 if test $ac_cv_prog_cc_works = no; then | 2166 if test $ac_cv_prog_cc_works = no; then |
2165 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2167 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2166 fi | 2168 fi |
2167 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2169 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2168 echo "configure:2169: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2170 echo "configure:2171: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2169 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2171 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2170 cross_compiling=$ac_cv_prog_cc_cross | 2172 cross_compiling=$ac_cv_prog_cc_cross |
2171 | 2173 |
2172 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2174 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2173 echo "configure:2174: checking whether we are using GNU C" >&5 | 2175 echo "configure:2176: checking whether we are using GNU C" >&5 |
2174 | 2176 |
2175 cat > conftest.c <<EOF | 2177 cat > conftest.c <<EOF |
2176 #ifdef __GNUC__ | 2178 #ifdef __GNUC__ |
2177 yes; | 2179 yes; |
2178 #endif | 2180 #endif |
2179 EOF | 2181 EOF |
2180 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2182 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2181 ac_cv_prog_gcc=yes | 2183 ac_cv_prog_gcc=yes |
2182 else | 2184 else |
2183 ac_cv_prog_gcc=no | 2185 ac_cv_prog_gcc=no |
2184 fi | 2186 fi |
2185 | 2187 |
2193 | 2195 |
2194 ac_test_CFLAGS="${CFLAGS+set}" | 2196 ac_test_CFLAGS="${CFLAGS+set}" |
2195 ac_save_CFLAGS="$CFLAGS" | 2197 ac_save_CFLAGS="$CFLAGS" |
2196 CFLAGS= | 2198 CFLAGS= |
2197 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2199 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2198 echo "configure:2199: checking whether ${CC-cc} accepts -g" >&5 | 2200 echo "configure:2201: checking whether ${CC-cc} accepts -g" >&5 |
2199 | 2201 |
2200 echo 'void f(){}' > conftest.c | 2202 echo 'void f(){}' > conftest.c |
2201 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2203 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2202 ac_cv_prog_cc_g=yes | 2204 ac_cv_prog_cc_g=yes |
2203 else | 2205 else |
2230 test -n "$CPP" -a -d "$CPP" && CPP= | 2232 test -n "$CPP" -a -d "$CPP" && CPP= |
2231 | 2233 |
2232 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2234 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2233 | 2235 |
2234 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2236 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2235 echo "configure:2236: checking how to run the C preprocessor" >&5 | 2237 echo "configure:2238: checking how to run the C preprocessor" >&5 |
2236 # On Suns, sometimes $CPP names a directory. | 2238 # On Suns, sometimes $CPP names a directory. |
2237 if test -n "$CPP" && test -d "$CPP"; then | 2239 if test -n "$CPP" && test -d "$CPP"; then |
2238 CPP= | 2240 CPP= |
2239 fi | 2241 fi |
2240 if test -z "$CPP"; then | 2242 if test -z "$CPP"; then |
2243 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2245 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2244 CPP="${CC-cc} -E" | 2246 CPP="${CC-cc} -E" |
2245 # On the NeXT, cc -E runs the code through the compiler's parser, | 2247 # On the NeXT, cc -E runs the code through the compiler's parser, |
2246 # not just through cpp. | 2248 # not just through cpp. |
2247 cat > conftest.$ac_ext <<EOF | 2249 cat > conftest.$ac_ext <<EOF |
2248 #line 2249 "configure" | 2250 #line 2251 "configure" |
2249 #include "confdefs.h" | 2251 #include "confdefs.h" |
2250 #include <assert.h> | 2252 #include <assert.h> |
2251 Syntax Error | 2253 Syntax Error |
2252 EOF | 2254 EOF |
2253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2255 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2254 { (eval echo configure:2255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2256 { (eval echo configure:2257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2257 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2256 if test -z "$ac_err"; then | 2258 if test -z "$ac_err"; then |
2257 : | 2259 : |
2258 else | 2260 else |
2259 echo "$ac_err" >&5 | 2261 echo "$ac_err" >&5 |
2260 echo "configure: failed program was:" >&5 | 2262 echo "configure: failed program was:" >&5 |
2261 cat conftest.$ac_ext >&5 | 2263 cat conftest.$ac_ext >&5 |
2262 rm -rf conftest* | 2264 rm -rf conftest* |
2263 CPP="${CC-cc} -E -traditional-cpp" | 2265 CPP="${CC-cc} -E -traditional-cpp" |
2264 cat > conftest.$ac_ext <<EOF | 2266 cat > conftest.$ac_ext <<EOF |
2265 #line 2266 "configure" | 2267 #line 2268 "configure" |
2266 #include "confdefs.h" | 2268 #include "confdefs.h" |
2267 #include <assert.h> | 2269 #include <assert.h> |
2268 Syntax Error | 2270 Syntax Error |
2269 EOF | 2271 EOF |
2270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2271 { (eval echo configure:2272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2273 { (eval echo configure:2274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2273 if test -z "$ac_err"; then | 2275 if test -z "$ac_err"; then |
2274 : | 2276 : |
2275 else | 2277 else |
2276 echo "$ac_err" >&5 | 2278 echo "$ac_err" >&5 |
2277 echo "configure: failed program was:" >&5 | 2279 echo "configure: failed program was:" >&5 |
2278 cat conftest.$ac_ext >&5 | 2280 cat conftest.$ac_ext >&5 |
2279 rm -rf conftest* | 2281 rm -rf conftest* |
2280 CPP="${CC-cc} -nologo -E" | 2282 CPP="${CC-cc} -nologo -E" |
2281 cat > conftest.$ac_ext <<EOF | 2283 cat > conftest.$ac_ext <<EOF |
2282 #line 2283 "configure" | 2284 #line 2285 "configure" |
2283 #include "confdefs.h" | 2285 #include "confdefs.h" |
2284 #include <assert.h> | 2286 #include <assert.h> |
2285 Syntax Error | 2287 Syntax Error |
2286 EOF | 2288 EOF |
2287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2288 { (eval echo configure:2289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2290 { (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2290 if test -z "$ac_err"; then | 2292 if test -z "$ac_err"; then |
2291 : | 2293 : |
2292 else | 2294 else |
2293 echo "$ac_err" >&5 | 2295 echo "$ac_err" >&5 |
2309 echo "$ac_t""$CPP" 1>&6 | 2311 echo "$ac_t""$CPP" 1>&6 |
2310 | 2312 |
2311 | 2313 |
2312 | 2314 |
2313 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2315 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2314 echo "configure:2315: checking for AIX" >&5 | 2316 echo "configure:2317: checking for AIX" >&5 |
2315 cat > conftest.$ac_ext <<EOF | 2317 cat > conftest.$ac_ext <<EOF |
2316 #line 2317 "configure" | 2318 #line 2319 "configure" |
2317 #include "confdefs.h" | 2319 #include "confdefs.h" |
2318 #ifdef _AIX | 2320 #ifdef _AIX |
2319 yes | 2321 yes |
2320 #endif | 2322 #endif |
2321 | 2323 |
2336 echo "$ac_t""no" 1>&6 | 2338 echo "$ac_t""no" 1>&6 |
2337 fi | 2339 fi |
2338 rm -f conftest* | 2340 rm -f conftest* |
2339 | 2341 |
2340 | 2342 |
2341 cat > $srcdir/conffoo.h <<EOF | 2343 |
2342 #define CONFFOO 1 | 2344 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2343 EOF | 2345 echo "configure:2346: checking for GNU libc" >&5 |
2344 echo $ac_n "checking for a working inclusion macro""... $ac_c" 1>&6 | |
2345 echo "configure:2346: checking for a working inclusion macro" >&5 | |
2346 cat > conftest.$ac_ext <<EOF | 2346 cat > conftest.$ac_ext <<EOF |
2347 #line 2348 "configure" | 2347 #line 2348 "configure" |
2348 #include "confdefs.h" | |
2349 | |
2350 int main() { | |
2351 | |
2352 #define SMART_INCLUDE(path,file) <path/file> | |
2353 #define CONFFOO_H_PATH $srcdir | |
2354 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | |
2355 #include CONFFOO_INCLUDE(conffoo.h) | |
2356 | |
2357 ; return 0; } | |
2358 EOF | |
2359 if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2360 rm -rf conftest* | |
2361 echo "$ac_t""direct" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
2362 Defining SMART_INCLUDE_INDIRECTIONS = 0 | |
2363 EOF | |
2364 cat >> confdefs.h <<\EOF | |
2365 #define SMART_INCLUDE_INDIRECTIONS 0 | |
2366 EOF | |
2367 } | |
2368 | |
2369 else | |
2370 echo "configure: failed program was:" >&5 | |
2371 cat conftest.$ac_ext >&5 | |
2372 rm -rf conftest* | |
2373 cat > conftest.$ac_ext <<EOF | |
2374 #line 2375 "configure" | |
2375 #include "confdefs.h" | |
2376 | |
2377 int main() { | |
2378 | |
2379 #define GLUE_INCLUDE(path,file) <##path##/##file##> | |
2380 #define SMART_INCLUDE(path,file) GLUE_INCLUDE(path,file) | |
2381 #define CONFFOO_H_PATH $srcdir | |
2382 #define CONFFOO_INCLUDE(file) SMART_INCLUDE(CONFFOO_H_PATH,file) | |
2383 #include CONFFOO_INCLUDE(conffoo.h) | |
2384 | |
2385 ; return 0; } | |
2386 EOF | |
2387 if { (eval echo configure:2388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2388 rm -rf conftest* | |
2389 echo "$ac_t""simple" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
2390 Defining SMART_INCLUDE_INDIRECTIONS = 1 | |
2391 EOF | |
2392 cat >> confdefs.h <<\EOF | |
2393 #define SMART_INCLUDE_INDIRECTIONS 1 | |
2394 EOF | |
2395 } | |
2396 | |
2397 else | |
2398 echo "configure: failed program was:" >&5 | |
2399 cat conftest.$ac_ext >&5 | |
2400 rm -rf conftest* | |
2401 cat > conftest.$ac_ext <<EOF | |
2402 #line 2403 "configure" | |
2403 #include "confdefs.h" | |
2404 | |
2405 int main() { | |
2406 | |
2407 #define GLUE_INCLUDE_2(path,file) <##path##/##file##> | |
2408 #define GLUE_INCLUDE_1(path,file) GLUE_INCLUDE_2(path,file) | |
2409 #define SMART_INCLUDE(path,file) GLUE_INCLUDE_1(path,file) | |
2410 #define CONFFOO_H_PATH $srcdir | |
2411 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | |
2412 #include CONFFOO_INCLUDE(conffoo.h) | |
2413 | |
2414 ; return 0; } | |
2415 EOF | |
2416 if { (eval echo configure:2417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2417 rm -rf conftest* | |
2418 echo "$ac_t""double" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
2419 Defining SMART_INCLUDE_INDIRECTIONS = 2 | |
2420 EOF | |
2421 cat >> confdefs.h <<\EOF | |
2422 #define SMART_INCLUDE_INDIRECTIONS 2 | |
2423 EOF | |
2424 } | |
2425 | |
2426 else | |
2427 echo "configure: failed program was:" >&5 | |
2428 cat conftest.$ac_ext >&5 | |
2429 rm -rf conftest* | |
2430 { echo "configure: error: Cannot define a proper SMART_INCLUDE macro. Please report." 1>&2; exit 1; } | |
2431 fi | |
2432 rm -f conftest* | |
2433 fi | |
2434 rm -f conftest* | |
2435 fi | |
2436 rm -f conftest* | |
2437 rm -f $srcdir/conffoo.h | |
2438 | |
2439 | |
2440 | |
2441 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | |
2442 echo "configure:2443: checking for GNU libc" >&5 | |
2443 cat > conftest.$ac_ext <<EOF | |
2444 #line 2445 "configure" | |
2445 #include "confdefs.h" | 2348 #include "confdefs.h" |
2446 #include <features.h> | 2349 #include <features.h> |
2447 int main() { | 2350 int main() { |
2448 | 2351 |
2449 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2352 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2451 ******* ======= ******** &&&&&&&& | 2354 ******* ======= ******** &&&&&&&& |
2452 #endif | 2355 #endif |
2453 | 2356 |
2454 ; return 0; } | 2357 ; return 0; } |
2455 EOF | 2358 EOF |
2456 if { (eval echo configure:2457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2359 if { (eval echo configure:2360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2457 rm -rf conftest* | 2360 rm -rf conftest* |
2458 have_glibc=yes | 2361 have_glibc=yes |
2459 else | 2362 else |
2460 echo "configure: failed program was:" >&5 | 2363 echo "configure: failed program was:" >&5 |
2461 cat conftest.$ac_ext >&5 | 2364 cat conftest.$ac_ext >&5 |
2528 | 2431 |
2529 ;; | 2432 ;; |
2530 esac | 2433 esac |
2531 | 2434 |
2532 cat > conftest.$ac_ext <<EOF | 2435 cat > conftest.$ac_ext <<EOF |
2533 #line 2534 "configure" | 2436 #line 2437 "configure" |
2534 #include "confdefs.h" | 2437 #include "confdefs.h" |
2535 int main () { | 2438 int main () { |
2536 #if defined __SUNPRO_C | 2439 #if defined __SUNPRO_C |
2537 return 11; | 2440 return 11; |
2538 #elif defined __DECC | 2441 #elif defined __DECC |
2540 #else | 2443 #else |
2541 return 0; | 2444 return 0; |
2542 #endif | 2445 #endif |
2543 } | 2446 } |
2544 EOF | 2447 EOF |
2545 if { (eval echo configure:2546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2448 if { (eval echo configure:2449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2546 then | 2449 then |
2547 : | 2450 : |
2548 else | 2451 else |
2549 conftest_rc="$?" | 2452 conftest_rc="$?" |
2550 echo "configure: failed program was:" >&5 | 2453 echo "configure: failed program was:" >&5 |
2742 ordinary_link="yes" | 2645 ordinary_link="yes" |
2743 ld="${ordinary_ld}" | 2646 ld="${ordinary_ld}" |
2744 start_files= | 2647 start_files= |
2745 libs_standard= | 2648 libs_standard= |
2746 unexec= | 2649 unexec= |
2747 lib_gcc= | 2650 lib_gcc= |
2748 fi | 2651 fi |
2749 | 2652 |
2750 test "$extra_verbose" = "yes" && \ | 2653 test "$extra_verbose" = "yes" && \ |
2751 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" | 2654 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" |
2752 | 2655 |
2756 c_switch_system="$c_switch_system $mingw_include" && if test "$extra_verbose" = "yes"; then echo " Appending \"$mingw_include\" to \$c_switch_system"; fi ;; | 2659 c_switch_system="$c_switch_system $mingw_include" && if test "$extra_verbose" = "yes"; then echo " Appending \"$mingw_include\" to \$c_switch_system"; fi ;; |
2757 esac | 2660 esac |
2758 | 2661 |
2759 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" | 2662 test "$ordinary_link" = "no" -a -z "$libs_standard" && libs_standard="-lc" |
2760 | 2663 |
2761 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std\" to \$c_switch_site"; fi | 2664 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2762 | 2665 |
2763 if test "$cflags_specified" = "no"; then | 2666 if test "$cflags_specified" = "no"; then |
2764 if test "$GCC" = "yes"; then | 2667 if test "$GCC" = "yes"; then |
2765 CFLAGS="-g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow" | 2668 CFLAGS="-g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow" |
2766 elif test "$__SUNPRO_C" = "yes"; then | 2669 elif test "$__SUNPRO_C" = "yes"; then |
2776 CFLAGS="-O" ; fi | 2679 CFLAGS="-O" ; fi |
2777 fi | 2680 fi |
2778 | 2681 |
2779 if test "$GCC" = "yes"; then | 2682 if test "$GCC" = "yes"; then |
2780 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2683 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2781 echo "configure:2782: checking for buggy gcc versions" >&5 | 2684 echo "configure:2685: checking for buggy gcc versions" >&5 |
2782 GCC_VERSION=`$CC --version` | 2685 GCC_VERSION=`$CC --version` |
2783 case `uname -s`:`uname -m`:$GCC_VERSION in | 2686 case `uname -s`:`uname -m`:$GCC_VERSION in |
2784 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2687 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2785 case "$CFLAGS" in | 2688 case "$CFLAGS" in |
2786 *-O2*|*-O3*) | 2689 *-O2*|*-O3*) |
2899 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2802 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2900 echo " xemacs will be linked with \"dumper.o\"" | 2803 echo " xemacs will be linked with \"dumper.o\"" |
2901 fi | 2804 fi |
2902 | 2805 |
2903 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2806 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2904 echo "configure:2905: checking for dynodump" >&5 | 2807 echo "configure:2808: checking for dynodump" >&5 |
2905 if test "$unexec" != "unexsol2.o"; then | 2808 if test "$unexec" != "unexsol2.o"; then |
2906 echo "$ac_t""no" 1>&6 | 2809 echo "$ac_t""no" 1>&6 |
2907 else | 2810 else |
2908 echo "$ac_t""yes" 1>&6 | 2811 echo "$ac_t""yes" 1>&6 |
2909 { test "$extra_verbose" = "yes" && cat << \EOF | 2812 { test "$extra_verbose" = "yes" && cat << \EOF |
2937 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2840 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2938 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2841 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2939 done | 2842 done |
2940 | 2843 |
2941 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2844 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2942 echo "configure:2943: checking for terminateAndUnload in -lC" >&5 | 2845 echo "configure:2846: checking for terminateAndUnload in -lC" >&5 |
2943 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2846 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2944 | 2847 |
2945 xe_check_libs=" -lC " | 2848 xe_check_libs=" -lC " |
2946 cat > conftest.$ac_ext <<EOF | 2849 cat > conftest.$ac_ext <<EOF |
2947 #line 2948 "configure" | 2850 #line 2851 "configure" |
2948 #include "confdefs.h" | 2851 #include "confdefs.h" |
2949 /* Override any gcc2 internal prototype to avoid an error. */ | 2852 /* Override any gcc2 internal prototype to avoid an error. */ |
2950 /* We use char because int might match the return type of a gcc2 | 2853 /* We use char because int might match the return type of a gcc2 |
2951 builtin and then its argument prototype would still apply. */ | 2854 builtin and then its argument prototype would still apply. */ |
2952 char terminateAndUnload(); | 2855 char terminateAndUnload(); |
2953 | 2856 |
2954 int main() { | 2857 int main() { |
2955 terminateAndUnload() | 2858 terminateAndUnload() |
2956 ; return 0; } | 2859 ; return 0; } |
2957 EOF | 2860 EOF |
2958 if { (eval echo configure:2959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2959 rm -rf conftest* | 2862 rm -rf conftest* |
2960 eval "ac_cv_lib_$ac_lib_var=yes" | 2863 eval "ac_cv_lib_$ac_lib_var=yes" |
2961 else | 2864 else |
2962 echo "configure: failed program was:" >&5 | 2865 echo "configure: failed program was:" >&5 |
2963 cat conftest.$ac_ext >&5 | 2866 cat conftest.$ac_ext >&5 |
3061 esac | 2964 esac |
3062 fi | 2965 fi |
3063 | 2966 |
3064 if test "$add_runtime_path" = "yes"; then | 2967 if test "$add_runtime_path" = "yes"; then |
3065 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2968 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3066 echo "configure:3067: checking "for runtime libraries flag"" >&5 | 2969 echo "configure:2970: checking "for runtime libraries flag"" >&5 |
3067 case "$opsys" in | 2970 case "$opsys" in |
3068 sol2 ) dash_r="-R" ;; | 2971 sol2 ) dash_r="-R" ;; |
3069 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2972 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3070 *) | 2973 *) |
3071 dash_r="" | 2974 dash_r="" |
3083 esac | 2986 esac |
3084 shift | 2987 shift |
3085 done | 2988 done |
3086 fi | 2989 fi |
3087 cat > conftest.$ac_ext <<EOF | 2990 cat > conftest.$ac_ext <<EOF |
3088 #line 3089 "configure" | 2991 #line 2992 "configure" |
3089 #include "confdefs.h" | 2992 #include "confdefs.h" |
3090 | 2993 |
3091 int main() { | 2994 int main() { |
3092 | 2995 |
3093 ; return 0; } | 2996 ; return 0; } |
3094 EOF | 2997 EOF |
3095 if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2998 if { (eval echo configure:2999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3096 rm -rf conftest* | 2999 rm -rf conftest* |
3097 dash_r="$try_dash_r" | 3000 dash_r="$try_dash_r" |
3098 else | 3001 else |
3099 echo "configure: failed program was:" >&5 | 3002 echo "configure: failed program was:" >&5 |
3100 cat conftest.$ac_ext >&5 | 3003 cat conftest.$ac_ext >&5 |
3192 else | 3095 else |
3193 doug_lea_malloc=no | 3096 doug_lea_malloc=no |
3194 fi | 3097 fi |
3195 after_morecore_hook_exists=yes | 3098 after_morecore_hook_exists=yes |
3196 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3099 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3197 echo "configure:3198: checking for malloc_set_state" >&5 | 3100 echo "configure:3101: checking for malloc_set_state" >&5 |
3198 | 3101 |
3199 cat > conftest.$ac_ext <<EOF | 3102 cat > conftest.$ac_ext <<EOF |
3200 #line 3201 "configure" | 3103 #line 3104 "configure" |
3201 #include "confdefs.h" | 3104 #include "confdefs.h" |
3202 /* System header to define __stub macros and hopefully few prototypes, | 3105 /* System header to define __stub macros and hopefully few prototypes, |
3203 which can conflict with char malloc_set_state(); below. */ | 3106 which can conflict with char malloc_set_state(); below. */ |
3204 #include <assert.h> | 3107 #include <assert.h> |
3205 /* Override any gcc2 internal prototype to avoid an error. */ | 3108 /* Override any gcc2 internal prototype to avoid an error. */ |
3218 malloc_set_state(); | 3121 malloc_set_state(); |
3219 #endif | 3122 #endif |
3220 | 3123 |
3221 ; return 0; } | 3124 ; return 0; } |
3222 EOF | 3125 EOF |
3223 if { (eval echo configure:3224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3126 if { (eval echo configure:3127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3224 rm -rf conftest* | 3127 rm -rf conftest* |
3225 eval "ac_cv_func_malloc_set_state=yes" | 3128 eval "ac_cv_func_malloc_set_state=yes" |
3226 else | 3129 else |
3227 echo "configure: failed program was:" >&5 | 3130 echo "configure: failed program was:" >&5 |
3228 cat conftest.$ac_ext >&5 | 3131 cat conftest.$ac_ext >&5 |
3238 echo "$ac_t""no" 1>&6 | 3141 echo "$ac_t""no" 1>&6 |
3239 doug_lea_malloc=no | 3142 doug_lea_malloc=no |
3240 fi | 3143 fi |
3241 | 3144 |
3242 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3145 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3243 echo "configure:3244: checking whether __after_morecore_hook exists" >&5 | 3146 echo "configure:3147: checking whether __after_morecore_hook exists" >&5 |
3244 cat > conftest.$ac_ext <<EOF | 3147 cat > conftest.$ac_ext <<EOF |
3245 #line 3246 "configure" | 3148 #line 3149 "configure" |
3246 #include "confdefs.h" | 3149 #include "confdefs.h" |
3247 extern void (* __after_morecore_hook)(); | 3150 extern void (* __after_morecore_hook)(); |
3248 int main() { | 3151 int main() { |
3249 __after_morecore_hook = 0 | 3152 __after_morecore_hook = 0 |
3250 ; return 0; } | 3153 ; return 0; } |
3251 EOF | 3154 EOF |
3252 if { (eval echo configure:3253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3155 if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3253 rm -rf conftest* | 3156 rm -rf conftest* |
3254 echo "$ac_t""yes" 1>&6 | 3157 echo "$ac_t""yes" 1>&6 |
3255 else | 3158 else |
3256 echo "configure: failed program was:" >&5 | 3159 echo "configure: failed program was:" >&5 |
3257 cat conftest.$ac_ext >&5 | 3160 cat conftest.$ac_ext >&5 |
3303 | 3206 |
3304 | 3207 |
3305 # Extract the first word of "ranlib", so it can be a program name with args. | 3208 # Extract the first word of "ranlib", so it can be a program name with args. |
3306 set dummy ranlib; ac_word=$2 | 3209 set dummy ranlib; ac_word=$2 |
3307 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3210 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3308 echo "configure:3309: checking for $ac_word" >&5 | 3211 echo "configure:3212: checking for $ac_word" >&5 |
3309 | 3212 |
3310 if test -n "$RANLIB"; then | 3213 if test -n "$RANLIB"; then |
3311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3214 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3312 else | 3215 else |
3313 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3358 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3261 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3359 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3262 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3360 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3263 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3361 # ./install, which can be erroneously created by make from ./install.sh. | 3264 # ./install, which can be erroneously created by make from ./install.sh. |
3362 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3265 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3363 echo "configure:3364: checking for a BSD compatible install" >&5 | 3266 echo "configure:3267: checking for a BSD compatible install" >&5 |
3364 if test -z "$INSTALL"; then | 3267 if test -z "$INSTALL"; then |
3365 | 3268 |
3366 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3269 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3367 for ac_dir in $PATH; do | 3270 for ac_dir in $PATH; do |
3368 # Account for people who put trailing slashes in PATH elements. | 3271 # Account for people who put trailing slashes in PATH elements. |
3412 for ac_prog in 'bison -y' byacc | 3315 for ac_prog in 'bison -y' byacc |
3413 do | 3316 do |
3414 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3317 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3415 set dummy $ac_prog; ac_word=$2 | 3318 set dummy $ac_prog; ac_word=$2 |
3416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3417 echo "configure:3418: checking for $ac_word" >&5 | 3320 echo "configure:3321: checking for $ac_word" >&5 |
3418 | 3321 |
3419 if test -n "$YACC"; then | 3322 if test -n "$YACC"; then |
3420 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3323 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3421 else | 3324 else |
3422 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3444 | 3347 |
3445 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h | 3348 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h |
3446 do | 3349 do |
3447 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3350 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3448 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3351 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3449 echo "configure:3450: checking for $ac_hdr" >&5 | 3352 echo "configure:3353: checking for $ac_hdr" >&5 |
3450 | 3353 |
3451 cat > conftest.$ac_ext <<EOF | 3354 cat > conftest.$ac_ext <<EOF |
3452 #line 3453 "configure" | 3355 #line 3356 "configure" |
3453 #include "confdefs.h" | 3356 #include "confdefs.h" |
3454 #include <$ac_hdr> | 3357 #include <$ac_hdr> |
3455 EOF | 3358 EOF |
3456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3457 { (eval echo configure:3458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3360 { (eval echo configure:3361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3361 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3459 if test -z "$ac_err"; then | 3362 if test -z "$ac_err"; then |
3460 rm -rf conftest* | 3363 rm -rf conftest* |
3461 eval "ac_cv_header_$ac_safe=yes" | 3364 eval "ac_cv_header_$ac_safe=yes" |
3462 else | 3365 else |
3482 echo "$ac_t""no" 1>&6 | 3385 echo "$ac_t""no" 1>&6 |
3483 fi | 3386 fi |
3484 done | 3387 done |
3485 | 3388 |
3486 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3389 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3487 echo "configure:3488: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3390 echo "configure:3391: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3488 | 3391 |
3489 cat > conftest.$ac_ext <<EOF | 3392 cat > conftest.$ac_ext <<EOF |
3490 #line 3491 "configure" | 3393 #line 3394 "configure" |
3491 #include "confdefs.h" | 3394 #include "confdefs.h" |
3492 #include <sys/types.h> | 3395 #include <sys/types.h> |
3493 #include <sys/wait.h> | 3396 #include <sys/wait.h> |
3494 #ifndef WEXITSTATUS | 3397 #ifndef WEXITSTATUS |
3495 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3398 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3501 int s; | 3404 int s; |
3502 wait (&s); | 3405 wait (&s); |
3503 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3406 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3504 ; return 0; } | 3407 ; return 0; } |
3505 EOF | 3408 EOF |
3506 if { (eval echo configure:3507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3409 if { (eval echo configure:3410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3507 rm -rf conftest* | 3410 rm -rf conftest* |
3508 ac_cv_header_sys_wait_h=yes | 3411 ac_cv_header_sys_wait_h=yes |
3509 else | 3412 else |
3510 echo "configure: failed program was:" >&5 | 3413 echo "configure: failed program was:" >&5 |
3511 cat conftest.$ac_ext >&5 | 3414 cat conftest.$ac_ext >&5 |
3525 } | 3428 } |
3526 | 3429 |
3527 fi | 3430 fi |
3528 | 3431 |
3529 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3432 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3530 echo "configure:3531: checking for ANSI C header files" >&5 | 3433 echo "configure:3434: checking for ANSI C header files" >&5 |
3531 | 3434 |
3532 cat > conftest.$ac_ext <<EOF | 3435 cat > conftest.$ac_ext <<EOF |
3533 #line 3534 "configure" | 3436 #line 3437 "configure" |
3534 #include "confdefs.h" | 3437 #include "confdefs.h" |
3535 #include <stdlib.h> | 3438 #include <stdlib.h> |
3536 #include <stdarg.h> | 3439 #include <stdarg.h> |
3537 #include <string.h> | 3440 #include <string.h> |
3538 #include <float.h> | 3441 #include <float.h> |
3539 EOF | 3442 EOF |
3540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3541 { (eval echo configure:3542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3444 { (eval echo configure:3445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3543 if test -z "$ac_err"; then | 3446 if test -z "$ac_err"; then |
3544 rm -rf conftest* | 3447 rm -rf conftest* |
3545 ac_cv_header_stdc=yes | 3448 ac_cv_header_stdc=yes |
3546 else | 3449 else |
3553 rm -f conftest* | 3456 rm -f conftest* |
3554 | 3457 |
3555 if test $ac_cv_header_stdc = yes; then | 3458 if test $ac_cv_header_stdc = yes; then |
3556 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3557 cat > conftest.$ac_ext <<EOF | 3460 cat > conftest.$ac_ext <<EOF |
3558 #line 3559 "configure" | 3461 #line 3462 "configure" |
3559 #include "confdefs.h" | 3462 #include "confdefs.h" |
3560 #include <string.h> | 3463 #include <string.h> |
3561 EOF | 3464 EOF |
3562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3563 egrep "memchr" >/dev/null 2>&1; then | 3466 egrep "memchr" >/dev/null 2>&1; then |
3571 fi | 3474 fi |
3572 | 3475 |
3573 if test $ac_cv_header_stdc = yes; then | 3476 if test $ac_cv_header_stdc = yes; then |
3574 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3575 cat > conftest.$ac_ext <<EOF | 3478 cat > conftest.$ac_ext <<EOF |
3576 #line 3577 "configure" | 3479 #line 3480 "configure" |
3577 #include "confdefs.h" | 3480 #include "confdefs.h" |
3578 #include <stdlib.h> | 3481 #include <stdlib.h> |
3579 EOF | 3482 EOF |
3580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3581 egrep "free" >/dev/null 2>&1; then | 3484 egrep "free" >/dev/null 2>&1; then |
3589 fi | 3492 fi |
3590 | 3493 |
3591 if test $ac_cv_header_stdc = yes; then | 3494 if test $ac_cv_header_stdc = yes; then |
3592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3593 cat > conftest.$ac_ext <<EOF | 3496 cat > conftest.$ac_ext <<EOF |
3594 #line 3595 "configure" | 3497 #line 3498 "configure" |
3595 #include "confdefs.h" | 3498 #include "confdefs.h" |
3596 #include <ctype.h> | 3499 #include <ctype.h> |
3597 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3500 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3598 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3501 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3502 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3600 int main () { int i; for (i = 0; i < 256; i++) | 3503 int main () { int i; for (i = 0; i < 256; i++) |
3601 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3504 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3602 exit (0); } | 3505 exit (0); } |
3603 | 3506 |
3604 EOF | 3507 EOF |
3605 if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3508 if { (eval echo configure:3509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3606 then | 3509 then |
3607 : | 3510 : |
3608 else | 3511 else |
3609 conftest_rc="$?" | 3512 conftest_rc="$?" |
3610 echo "configure: failed program was:" >&5 | 3513 echo "configure: failed program was:" >&5 |
3626 } | 3529 } |
3627 | 3530 |
3628 fi | 3531 fi |
3629 | 3532 |
3630 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3533 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3631 echo "configure:3632: checking whether time.h and sys/time.h may both be included" >&5 | 3534 echo "configure:3535: checking whether time.h and sys/time.h may both be included" >&5 |
3632 | 3535 |
3633 cat > conftest.$ac_ext <<EOF | 3536 cat > conftest.$ac_ext <<EOF |
3634 #line 3635 "configure" | 3537 #line 3538 "configure" |
3635 #include "confdefs.h" | 3538 #include "confdefs.h" |
3636 #include <sys/types.h> | 3539 #include <sys/types.h> |
3637 #include <sys/time.h> | 3540 #include <sys/time.h> |
3638 #include <time.h> | 3541 #include <time.h> |
3639 int main() { | 3542 int main() { |
3640 struct tm *tp; | 3543 struct tm *tp; |
3641 ; return 0; } | 3544 ; return 0; } |
3642 EOF | 3545 EOF |
3643 if { (eval echo configure:3644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3546 if { (eval echo configure:3547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3644 rm -rf conftest* | 3547 rm -rf conftest* |
3645 ac_cv_header_time=yes | 3548 ac_cv_header_time=yes |
3646 else | 3549 else |
3647 echo "configure: failed program was:" >&5 | 3550 echo "configure: failed program was:" >&5 |
3648 cat conftest.$ac_ext >&5 | 3551 cat conftest.$ac_ext >&5 |
3662 } | 3565 } |
3663 | 3566 |
3664 fi | 3567 fi |
3665 | 3568 |
3666 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3569 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3667 echo "configure:3668: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3570 echo "configure:3571: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3668 | 3571 |
3669 cat > conftest.$ac_ext <<EOF | 3572 cat > conftest.$ac_ext <<EOF |
3670 #line 3671 "configure" | 3573 #line 3574 "configure" |
3671 #include "confdefs.h" | 3574 #include "confdefs.h" |
3672 #include <sys/types.h> | 3575 #include <sys/types.h> |
3673 #include <signal.h> | 3576 #include <signal.h> |
3674 /* NetBSD declares sys_siglist in unistd.h. */ | 3577 /* NetBSD declares sys_siglist in unistd.h. */ |
3675 #ifdef HAVE_UNISTD_H | 3578 #ifdef HAVE_UNISTD_H |
3677 #endif | 3580 #endif |
3678 int main() { | 3581 int main() { |
3679 char *msg = *(sys_siglist + 1); | 3582 char *msg = *(sys_siglist + 1); |
3680 ; return 0; } | 3583 ; return 0; } |
3681 EOF | 3584 EOF |
3682 if { (eval echo configure:3683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3585 if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3683 rm -rf conftest* | 3586 rm -rf conftest* |
3684 ac_cv_decl_sys_siglist=yes | 3587 ac_cv_decl_sys_siglist=yes |
3685 else | 3588 else |
3686 echo "configure: failed program was:" >&5 | 3589 echo "configure: failed program was:" >&5 |
3687 cat conftest.$ac_ext >&5 | 3590 cat conftest.$ac_ext >&5 |
3702 | 3605 |
3703 fi | 3606 fi |
3704 | 3607 |
3705 | 3608 |
3706 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3609 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3707 echo "configure:3708: checking for struct utimbuf" >&5 | 3610 echo "configure:3611: checking for struct utimbuf" >&5 |
3708 cat > conftest.$ac_ext <<EOF | 3611 cat > conftest.$ac_ext <<EOF |
3709 #line 3710 "configure" | 3612 #line 3613 "configure" |
3710 #include "confdefs.h" | 3613 #include "confdefs.h" |
3711 #ifdef TIME_WITH_SYS_TIME | 3614 #ifdef TIME_WITH_SYS_TIME |
3712 #include <sys/time.h> | 3615 #include <sys/time.h> |
3713 #include <time.h> | 3616 #include <time.h> |
3714 #else | 3617 #else |
3723 #endif | 3626 #endif |
3724 int main() { | 3627 int main() { |
3725 static struct utimbuf x; x.actime = x.modtime; | 3628 static struct utimbuf x; x.actime = x.modtime; |
3726 ; return 0; } | 3629 ; return 0; } |
3727 EOF | 3630 EOF |
3728 if { (eval echo configure:3729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3631 if { (eval echo configure:3632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3729 rm -rf conftest* | 3632 rm -rf conftest* |
3730 echo "$ac_t""yes" 1>&6 | 3633 echo "$ac_t""yes" 1>&6 |
3731 { test "$extra_verbose" = "yes" && cat << \EOF | 3634 { test "$extra_verbose" = "yes" && cat << \EOF |
3732 Defining HAVE_STRUCT_UTIMBUF | 3635 Defining HAVE_STRUCT_UTIMBUF |
3733 EOF | 3636 EOF |
3743 echo "$ac_t""no" 1>&6 | 3646 echo "$ac_t""no" 1>&6 |
3744 fi | 3647 fi |
3745 rm -f conftest* | 3648 rm -f conftest* |
3746 | 3649 |
3747 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3650 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3748 echo "configure:3749: checking return type of signal handlers" >&5 | 3651 echo "configure:3652: checking return type of signal handlers" >&5 |
3749 | 3652 |
3750 cat > conftest.$ac_ext <<EOF | 3653 cat > conftest.$ac_ext <<EOF |
3751 #line 3752 "configure" | 3654 #line 3655 "configure" |
3752 #include "confdefs.h" | 3655 #include "confdefs.h" |
3753 #include <sys/types.h> | 3656 #include <sys/types.h> |
3754 #include <signal.h> | 3657 #include <signal.h> |
3755 #ifdef signal | 3658 #ifdef signal |
3756 #undef signal | 3659 #undef signal |
3763 | 3666 |
3764 int main() { | 3667 int main() { |
3765 int i; | 3668 int i; |
3766 ; return 0; } | 3669 ; return 0; } |
3767 EOF | 3670 EOF |
3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3671 if { (eval echo configure:3672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3769 rm -rf conftest* | 3672 rm -rf conftest* |
3770 ac_cv_type_signal=void | 3673 ac_cv_type_signal=void |
3771 else | 3674 else |
3772 echo "configure: failed program was:" >&5 | 3675 echo "configure: failed program was:" >&5 |
3773 cat conftest.$ac_ext >&5 | 3676 cat conftest.$ac_ext >&5 |
3785 EOF | 3688 EOF |
3786 } | 3689 } |
3787 | 3690 |
3788 | 3691 |
3789 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3692 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3790 echo "configure:3791: checking for size_t" >&5 | 3693 echo "configure:3694: checking for size_t" >&5 |
3791 | 3694 |
3792 cat > conftest.$ac_ext <<EOF | 3695 cat > conftest.$ac_ext <<EOF |
3793 #line 3794 "configure" | 3696 #line 3697 "configure" |
3794 #include "confdefs.h" | 3697 #include "confdefs.h" |
3795 #include <sys/types.h> | 3698 #include <sys/types.h> |
3796 #if STDC_HEADERS | 3699 #if STDC_HEADERS |
3797 #include <stdlib.h> | 3700 #include <stdlib.h> |
3798 #include <stddef.h> | 3701 #include <stddef.h> |
3819 } | 3722 } |
3820 | 3723 |
3821 fi | 3724 fi |
3822 | 3725 |
3823 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3726 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3824 echo "configure:3825: checking for pid_t" >&5 | 3727 echo "configure:3728: checking for pid_t" >&5 |
3825 | 3728 |
3826 cat > conftest.$ac_ext <<EOF | 3729 cat > conftest.$ac_ext <<EOF |
3827 #line 3828 "configure" | 3730 #line 3731 "configure" |
3828 #include "confdefs.h" | 3731 #include "confdefs.h" |
3829 #include <sys/types.h> | 3732 #include <sys/types.h> |
3830 #if STDC_HEADERS | 3733 #if STDC_HEADERS |
3831 #include <stdlib.h> | 3734 #include <stdlib.h> |
3832 #include <stddef.h> | 3735 #include <stddef.h> |
3853 } | 3756 } |
3854 | 3757 |
3855 fi | 3758 fi |
3856 | 3759 |
3857 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3760 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3858 echo "configure:3859: checking for uid_t in sys/types.h" >&5 | 3761 echo "configure:3762: checking for uid_t in sys/types.h" >&5 |
3859 | 3762 |
3860 cat > conftest.$ac_ext <<EOF | 3763 cat > conftest.$ac_ext <<EOF |
3861 #line 3862 "configure" | 3764 #line 3765 "configure" |
3862 #include "confdefs.h" | 3765 #include "confdefs.h" |
3863 #include <sys/types.h> | 3766 #include <sys/types.h> |
3864 EOF | 3767 EOF |
3865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3866 egrep "uid_t" >/dev/null 2>&1; then | 3769 egrep "uid_t" >/dev/null 2>&1; then |
3892 } | 3795 } |
3893 | 3796 |
3894 fi | 3797 fi |
3895 | 3798 |
3896 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3799 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3897 echo "configure:3898: checking for mode_t" >&5 | 3800 echo "configure:3801: checking for mode_t" >&5 |
3898 | 3801 |
3899 cat > conftest.$ac_ext <<EOF | 3802 cat > conftest.$ac_ext <<EOF |
3900 #line 3901 "configure" | 3803 #line 3804 "configure" |
3901 #include "confdefs.h" | 3804 #include "confdefs.h" |
3902 #include <sys/types.h> | 3805 #include <sys/types.h> |
3903 #if STDC_HEADERS | 3806 #if STDC_HEADERS |
3904 #include <stdlib.h> | 3807 #include <stdlib.h> |
3905 #include <stddef.h> | 3808 #include <stddef.h> |
3926 } | 3829 } |
3927 | 3830 |
3928 fi | 3831 fi |
3929 | 3832 |
3930 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3833 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3931 echo "configure:3932: checking for off_t" >&5 | 3834 echo "configure:3835: checking for off_t" >&5 |
3932 | 3835 |
3933 cat > conftest.$ac_ext <<EOF | 3836 cat > conftest.$ac_ext <<EOF |
3934 #line 3935 "configure" | 3837 #line 3838 "configure" |
3935 #include "confdefs.h" | 3838 #include "confdefs.h" |
3936 #include <sys/types.h> | 3839 #include <sys/types.h> |
3937 #if STDC_HEADERS | 3840 #if STDC_HEADERS |
3938 #include <stdlib.h> | 3841 #include <stdlib.h> |
3939 #include <stddef.h> | 3842 #include <stddef.h> |
3960 } | 3863 } |
3961 | 3864 |
3962 fi | 3865 fi |
3963 | 3866 |
3964 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 3867 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
3965 echo "configure:3966: checking for ssize_t" >&5 | 3868 echo "configure:3869: checking for ssize_t" >&5 |
3966 | 3869 |
3967 cat > conftest.$ac_ext <<EOF | 3870 cat > conftest.$ac_ext <<EOF |
3968 #line 3969 "configure" | 3871 #line 3872 "configure" |
3969 #include "confdefs.h" | 3872 #include "confdefs.h" |
3970 #include <sys/types.h> | 3873 #include <sys/types.h> |
3971 #if STDC_HEADERS | 3874 #if STDC_HEADERS |
3972 #include <stdlib.h> | 3875 #include <stdlib.h> |
3973 #include <stddef.h> | 3876 #include <stddef.h> |
3994 } | 3897 } |
3995 | 3898 |
3996 fi | 3899 fi |
3997 | 3900 |
3998 | 3901 |
3902 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | |
3903 echo "configure:3904: checking for socklen_t" >&5 | |
3904 cat > conftest.$ac_ext <<EOF | |
3905 #line 3906 "configure" | |
3906 #include "confdefs.h" | |
3907 #include <sys/socket.h> | |
3908 socklen_t x; | |
3909 | |
3910 int main() { | |
3911 | |
3912 ; return 0; } | |
3913 EOF | |
3914 if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3915 rm -rf conftest* | |
3916 echo "$ac_t""yes" 1>&6 | |
3917 else | |
3918 echo "configure: failed program was:" >&5 | |
3919 cat conftest.$ac_ext >&5 | |
3920 rm -rf conftest* | |
3921 | |
3922 cat > conftest.$ac_ext <<EOF | |
3923 #line 3924 "configure" | |
3924 #include "confdefs.h" | |
3925 #include <sys/socket.h> | |
3926 int accept (int, struct sockaddr *, size_t *); | |
3927 | |
3928 int main() { | |
3929 | |
3930 ; return 0; } | |
3931 EOF | |
3932 if { (eval echo configure:3933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3933 rm -rf conftest* | |
3934 | |
3935 echo "$ac_t""size_t" 1>&6 | |
3936 { test "$extra_verbose" = "yes" && cat << \EOF | |
3937 Defining socklen_t = size_t | |
3938 EOF | |
3939 cat >> confdefs.h <<\EOF | |
3940 #define socklen_t size_t | |
3941 EOF | |
3942 } | |
3943 | |
3944 else | |
3945 echo "configure: failed program was:" >&5 | |
3946 cat conftest.$ac_ext >&5 | |
3947 rm -rf conftest* | |
3948 | |
3949 echo "$ac_t""int" 1>&6 | |
3950 { test "$extra_verbose" = "yes" && cat << \EOF | |
3951 Defining socklen_t = int | |
3952 EOF | |
3953 cat >> confdefs.h <<\EOF | |
3954 #define socklen_t int | |
3955 EOF | |
3956 } | |
3957 | |
3958 fi | |
3959 rm -f conftest* | |
3960 fi | |
3961 rm -f conftest* | |
3962 | |
3999 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3963 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4000 echo "configure:4001: checking for struct timeval" >&5 | 3964 echo "configure:3965: checking for struct timeval" >&5 |
4001 cat > conftest.$ac_ext <<EOF | 3965 cat > conftest.$ac_ext <<EOF |
4002 #line 4003 "configure" | 3966 #line 3967 "configure" |
4003 #include "confdefs.h" | 3967 #include "confdefs.h" |
4004 #ifdef TIME_WITH_SYS_TIME | 3968 #ifdef TIME_WITH_SYS_TIME |
4005 #include <sys/time.h> | 3969 #include <sys/time.h> |
4006 #include <time.h> | 3970 #include <time.h> |
4007 #else | 3971 #else |
4013 #endif | 3977 #endif |
4014 int main() { | 3978 int main() { |
4015 static struct timeval x; x.tv_sec = x.tv_usec; | 3979 static struct timeval x; x.tv_sec = x.tv_usec; |
4016 ; return 0; } | 3980 ; return 0; } |
4017 EOF | 3981 EOF |
4018 if { (eval echo configure:4019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3982 if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4019 rm -rf conftest* | 3983 rm -rf conftest* |
4020 echo "$ac_t""yes" 1>&6 | 3984 echo "$ac_t""yes" 1>&6 |
4021 HAVE_TIMEVAL=yes | 3985 HAVE_TIMEVAL=yes |
4022 { test "$extra_verbose" = "yes" && cat << \EOF | 3986 { test "$extra_verbose" = "yes" && cat << \EOF |
4023 Defining HAVE_TIMEVAL | 3987 Defining HAVE_TIMEVAL |
4035 HAVE_TIMEVAL=no | 3999 HAVE_TIMEVAL=no |
4036 fi | 4000 fi |
4037 rm -f conftest* | 4001 rm -f conftest* |
4038 | 4002 |
4039 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4003 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4040 echo "configure:4041: checking whether struct tm is in sys/time.h or time.h" >&5 | 4004 echo "configure:4005: checking whether struct tm is in sys/time.h or time.h" >&5 |
4041 | 4005 |
4042 cat > conftest.$ac_ext <<EOF | 4006 cat > conftest.$ac_ext <<EOF |
4043 #line 4044 "configure" | 4007 #line 4008 "configure" |
4044 #include "confdefs.h" | 4008 #include "confdefs.h" |
4045 #include <sys/types.h> | 4009 #include <sys/types.h> |
4046 #include <time.h> | 4010 #include <time.h> |
4047 int main() { | 4011 int main() { |
4048 struct tm *tp; tp->tm_sec; | 4012 struct tm *tp; tp->tm_sec; |
4049 ; return 0; } | 4013 ; return 0; } |
4050 EOF | 4014 EOF |
4051 if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4015 if { (eval echo configure:4016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4052 rm -rf conftest* | 4016 rm -rf conftest* |
4053 ac_cv_struct_tm=time.h | 4017 ac_cv_struct_tm=time.h |
4054 else | 4018 else |
4055 echo "configure: failed program was:" >&5 | 4019 echo "configure: failed program was:" >&5 |
4056 cat conftest.$ac_ext >&5 | 4020 cat conftest.$ac_ext >&5 |
4070 } | 4034 } |
4071 | 4035 |
4072 fi | 4036 fi |
4073 | 4037 |
4074 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4038 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4075 echo "configure:4076: checking for tm_zone in struct tm" >&5 | 4039 echo "configure:4040: checking for tm_zone in struct tm" >&5 |
4076 | 4040 |
4077 cat > conftest.$ac_ext <<EOF | 4041 cat > conftest.$ac_ext <<EOF |
4078 #line 4079 "configure" | 4042 #line 4043 "configure" |
4079 #include "confdefs.h" | 4043 #include "confdefs.h" |
4080 #include <sys/types.h> | 4044 #include <sys/types.h> |
4081 #include <$ac_cv_struct_tm> | 4045 #include <$ac_cv_struct_tm> |
4082 int main() { | 4046 int main() { |
4083 struct tm tm; tm.tm_zone; | 4047 struct tm tm; tm.tm_zone; |
4084 ; return 0; } | 4048 ; return 0; } |
4085 EOF | 4049 EOF |
4086 if { (eval echo configure:4087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4050 if { (eval echo configure:4051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4087 rm -rf conftest* | 4051 rm -rf conftest* |
4088 ac_cv_struct_tm_zone=yes | 4052 ac_cv_struct_tm_zone=yes |
4089 else | 4053 else |
4090 echo "configure: failed program was:" >&5 | 4054 echo "configure: failed program was:" >&5 |
4091 cat conftest.$ac_ext >&5 | 4055 cat conftest.$ac_ext >&5 |
4104 EOF | 4068 EOF |
4105 } | 4069 } |
4106 | 4070 |
4107 else | 4071 else |
4108 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4072 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4109 echo "configure:4110: checking for tzname" >&5 | 4073 echo "configure:4074: checking for tzname" >&5 |
4110 | 4074 |
4111 cat > conftest.$ac_ext <<EOF | 4075 cat > conftest.$ac_ext <<EOF |
4112 #line 4113 "configure" | 4076 #line 4077 "configure" |
4113 #include "confdefs.h" | 4077 #include "confdefs.h" |
4114 #include <time.h> | 4078 #include <time.h> |
4115 #ifndef tzname /* For SGI. */ | 4079 #ifndef tzname /* For SGI. */ |
4116 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4080 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4117 #endif | 4081 #endif |
4118 int main() { | 4082 int main() { |
4119 atoi(*tzname); | 4083 atoi(*tzname); |
4120 ; return 0; } | 4084 ; return 0; } |
4121 EOF | 4085 EOF |
4122 if { (eval echo configure:4123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4086 if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4123 rm -rf conftest* | 4087 rm -rf conftest* |
4124 ac_cv_var_tzname=yes | 4088 ac_cv_var_tzname=yes |
4125 else | 4089 else |
4126 echo "configure: failed program was:" >&5 | 4090 echo "configure: failed program was:" >&5 |
4127 cat conftest.$ac_ext >&5 | 4091 cat conftest.$ac_ext >&5 |
4143 fi | 4107 fi |
4144 fi | 4108 fi |
4145 | 4109 |
4146 | 4110 |
4147 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4111 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4148 echo "configure:4149: checking for working const" >&5 | 4112 echo "configure:4113: checking for working const" >&5 |
4149 | 4113 |
4150 cat > conftest.$ac_ext <<EOF | 4114 cat > conftest.$ac_ext <<EOF |
4151 #line 4152 "configure" | 4115 #line 4116 "configure" |
4152 #include "confdefs.h" | 4116 #include "confdefs.h" |
4153 | 4117 |
4154 int main() { | 4118 int main() { |
4155 | 4119 |
4156 /* Ultrix mips cc rejects this. */ | 4120 /* Ultrix mips cc rejects this. */ |
4195 const int foo = 10; | 4159 const int foo = 10; |
4196 } | 4160 } |
4197 | 4161 |
4198 ; return 0; } | 4162 ; return 0; } |
4199 EOF | 4163 EOF |
4200 if { (eval echo configure:4201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4164 if { (eval echo configure:4165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4201 rm -rf conftest* | 4165 rm -rf conftest* |
4202 ac_cv_c_const=yes | 4166 ac_cv_c_const=yes |
4203 else | 4167 else |
4204 echo "configure: failed program was:" >&5 | 4168 echo "configure: failed program was:" >&5 |
4205 cat conftest.$ac_ext >&5 | 4169 cat conftest.$ac_ext >&5 |
4220 | 4184 |
4221 fi | 4185 fi |
4222 | 4186 |
4223 | 4187 |
4224 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4188 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4225 echo "configure:4226: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4189 echo "configure:4190: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4226 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4190 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4227 | 4191 |
4228 cat > conftestmake <<\EOF | 4192 cat > conftestmake <<\EOF |
4229 all: | 4193 all: |
4230 @echo 'ac_maketemp="${MAKE}"' | 4194 @echo 'ac_maketemp="${MAKE}"' |
4245 SET_MAKE="MAKE=${MAKE-make}" | 4209 SET_MAKE="MAKE=${MAKE-make}" |
4246 fi | 4210 fi |
4247 | 4211 |
4248 | 4212 |
4249 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4213 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4250 echo "configure:4251: checking whether byte ordering is bigendian" >&5 | 4214 echo "configure:4215: checking whether byte ordering is bigendian" >&5 |
4251 | 4215 |
4252 ac_cv_c_bigendian=unknown | 4216 ac_cv_c_bigendian=unknown |
4253 # See if sys/param.h defines the BYTE_ORDER macro. | 4217 # See if sys/param.h defines the BYTE_ORDER macro. |
4254 cat > conftest.$ac_ext <<EOF | 4218 cat > conftest.$ac_ext <<EOF |
4255 #line 4256 "configure" | 4219 #line 4220 "configure" |
4256 #include "confdefs.h" | 4220 #include "confdefs.h" |
4257 #include <sys/types.h> | 4221 #include <sys/types.h> |
4258 #include <sys/param.h> | 4222 #include <sys/param.h> |
4259 int main() { | 4223 int main() { |
4260 | 4224 |
4261 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4225 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4262 bogus endian macros | 4226 bogus endian macros |
4263 #endif | 4227 #endif |
4264 ; return 0; } | 4228 ; return 0; } |
4265 EOF | 4229 EOF |
4266 if { (eval echo configure:4267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4230 if { (eval echo configure:4231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4267 rm -rf conftest* | 4231 rm -rf conftest* |
4268 # It does; now see whether it defined to BIG_ENDIAN or not. | 4232 # It does; now see whether it defined to BIG_ENDIAN or not. |
4269 cat > conftest.$ac_ext <<EOF | 4233 cat > conftest.$ac_ext <<EOF |
4270 #line 4271 "configure" | 4234 #line 4235 "configure" |
4271 #include "confdefs.h" | 4235 #include "confdefs.h" |
4272 #include <sys/types.h> | 4236 #include <sys/types.h> |
4273 #include <sys/param.h> | 4237 #include <sys/param.h> |
4274 int main() { | 4238 int main() { |
4275 | 4239 |
4276 #if BYTE_ORDER != BIG_ENDIAN | 4240 #if BYTE_ORDER != BIG_ENDIAN |
4277 not big endian | 4241 not big endian |
4278 #endif | 4242 #endif |
4279 ; return 0; } | 4243 ; return 0; } |
4280 EOF | 4244 EOF |
4281 if { (eval echo configure:4282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4245 if { (eval echo configure:4246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4282 rm -rf conftest* | 4246 rm -rf conftest* |
4283 ac_cv_c_bigendian=yes | 4247 ac_cv_c_bigendian=yes |
4284 else | 4248 else |
4285 echo "configure: failed program was:" >&5 | 4249 echo "configure: failed program was:" >&5 |
4286 cat conftest.$ac_ext >&5 | 4250 cat conftest.$ac_ext >&5 |
4293 cat conftest.$ac_ext >&5 | 4257 cat conftest.$ac_ext >&5 |
4294 fi | 4258 fi |
4295 rm -f conftest* | 4259 rm -f conftest* |
4296 if test $ac_cv_c_bigendian = unknown; then | 4260 if test $ac_cv_c_bigendian = unknown; then |
4297 cat > conftest.$ac_ext <<EOF | 4261 cat > conftest.$ac_ext <<EOF |
4298 #line 4299 "configure" | 4262 #line 4263 "configure" |
4299 #include "confdefs.h" | 4263 #include "confdefs.h" |
4300 main () { | 4264 main () { |
4301 /* Are we little or big endian? From Harbison&Steele. */ | 4265 /* Are we little or big endian? From Harbison&Steele. */ |
4302 union | 4266 union |
4303 { | 4267 { |
4306 } u; | 4270 } u; |
4307 u.l = 1; | 4271 u.l = 1; |
4308 exit (u.c[sizeof (long) - 1] == 1); | 4272 exit (u.c[sizeof (long) - 1] == 1); |
4309 } | 4273 } |
4310 EOF | 4274 EOF |
4311 if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4275 if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4312 then | 4276 then |
4313 ac_cv_c_bigendian=no | 4277 ac_cv_c_bigendian=no |
4314 else | 4278 else |
4315 conftest_rc="$?" | 4279 conftest_rc="$?" |
4316 echo "configure: failed program was:" >&5 | 4280 echo "configure: failed program was:" >&5 |
4333 | 4297 |
4334 fi | 4298 fi |
4335 | 4299 |
4336 | 4300 |
4337 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4301 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4338 echo "configure:4339: checking size of short" >&5 | 4302 echo "configure:4303: checking size of short" >&5 |
4339 | 4303 |
4340 cat > conftest.$ac_ext <<EOF | 4304 cat > conftest.$ac_ext <<EOF |
4341 #line 4342 "configure" | 4305 #line 4306 "configure" |
4342 #include "confdefs.h" | 4306 #include "confdefs.h" |
4343 #include <stdio.h> | 4307 #include <stdio.h> |
4344 main() | 4308 main() |
4345 { | 4309 { |
4346 FILE *f=fopen("conftestval", "w"); | 4310 FILE *f=fopen("conftestval", "w"); |
4347 if (!f) exit(1); | 4311 if (!f) exit(1); |
4348 fprintf(f, "%d\n", sizeof(short)); | 4312 fprintf(f, "%d\n", sizeof(short)); |
4349 exit(0); | 4313 exit(0); |
4350 } | 4314 } |
4351 EOF | 4315 EOF |
4352 if { (eval echo configure:4353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4316 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4353 then | 4317 then |
4354 ac_cv_sizeof_short=`cat conftestval` | 4318 ac_cv_sizeof_short=`cat conftestval` |
4355 else | 4319 else |
4356 conftest_rc="$?" | 4320 conftest_rc="$?" |
4357 echo "configure: failed program was:" >&5 | 4321 echo "configure: failed program was:" >&5 |
4375 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4339 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4376 echo "*** PANIC *** Please examine config.log for compilation errors." | 4340 echo "*** PANIC *** Please examine config.log for compilation errors." |
4377 exit 1 | 4341 exit 1 |
4378 fi | 4342 fi |
4379 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4343 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4380 echo "configure:4381: checking size of int" >&5 | 4344 echo "configure:4345: checking size of int" >&5 |
4381 | 4345 |
4382 cat > conftest.$ac_ext <<EOF | 4346 cat > conftest.$ac_ext <<EOF |
4383 #line 4384 "configure" | 4347 #line 4348 "configure" |
4384 #include "confdefs.h" | 4348 #include "confdefs.h" |
4385 #include <stdio.h> | 4349 #include <stdio.h> |
4386 main() | 4350 main() |
4387 { | 4351 { |
4388 FILE *f=fopen("conftestval", "w"); | 4352 FILE *f=fopen("conftestval", "w"); |
4389 if (!f) exit(1); | 4353 if (!f) exit(1); |
4390 fprintf(f, "%d\n", sizeof(int)); | 4354 fprintf(f, "%d\n", sizeof(int)); |
4391 exit(0); | 4355 exit(0); |
4392 } | 4356 } |
4393 EOF | 4357 EOF |
4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4358 if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4395 then | 4359 then |
4396 ac_cv_sizeof_int=`cat conftestval` | 4360 ac_cv_sizeof_int=`cat conftestval` |
4397 else | 4361 else |
4398 conftest_rc="$?" | 4362 conftest_rc="$?" |
4399 echo "configure: failed program was:" >&5 | 4363 echo "configure: failed program was:" >&5 |
4411 EOF | 4375 EOF |
4412 } | 4376 } |
4413 | 4377 |
4414 | 4378 |
4415 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4379 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4416 echo "configure:4417: checking size of long" >&5 | 4380 echo "configure:4381: checking size of long" >&5 |
4417 | 4381 |
4418 cat > conftest.$ac_ext <<EOF | 4382 cat > conftest.$ac_ext <<EOF |
4419 #line 4420 "configure" | 4383 #line 4384 "configure" |
4420 #include "confdefs.h" | 4384 #include "confdefs.h" |
4421 #include <stdio.h> | 4385 #include <stdio.h> |
4422 main() | 4386 main() |
4423 { | 4387 { |
4424 FILE *f=fopen("conftestval", "w"); | 4388 FILE *f=fopen("conftestval", "w"); |
4425 if (!f) exit(1); | 4389 if (!f) exit(1); |
4426 fprintf(f, "%d\n", sizeof(long)); | 4390 fprintf(f, "%d\n", sizeof(long)); |
4427 exit(0); | 4391 exit(0); |
4428 } | 4392 } |
4429 EOF | 4393 EOF |
4430 if { (eval echo configure:4431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4431 then | 4395 then |
4432 ac_cv_sizeof_long=`cat conftestval` | 4396 ac_cv_sizeof_long=`cat conftestval` |
4433 else | 4397 else |
4434 conftest_rc="$?" | 4398 conftest_rc="$?" |
4435 echo "configure: failed program was:" >&5 | 4399 echo "configure: failed program was:" >&5 |
4447 EOF | 4411 EOF |
4448 } | 4412 } |
4449 | 4413 |
4450 | 4414 |
4451 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4415 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4452 echo "configure:4453: checking size of long long" >&5 | 4416 echo "configure:4417: checking size of long long" >&5 |
4453 | 4417 |
4454 cat > conftest.$ac_ext <<EOF | 4418 cat > conftest.$ac_ext <<EOF |
4455 #line 4456 "configure" | 4419 #line 4420 "configure" |
4456 #include "confdefs.h" | 4420 #include "confdefs.h" |
4457 #include <stdio.h> | 4421 #include <stdio.h> |
4458 main() | 4422 main() |
4459 { | 4423 { |
4460 FILE *f=fopen("conftestval", "w"); | 4424 FILE *f=fopen("conftestval", "w"); |
4461 if (!f) exit(1); | 4425 if (!f) exit(1); |
4462 fprintf(f, "%d\n", sizeof(long long)); | 4426 fprintf(f, "%d\n", sizeof(long long)); |
4463 exit(0); | 4427 exit(0); |
4464 } | 4428 } |
4465 EOF | 4429 EOF |
4466 if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4430 if { (eval echo configure:4431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4467 then | 4431 then |
4468 ac_cv_sizeof_long_long=`cat conftestval` | 4432 ac_cv_sizeof_long_long=`cat conftestval` |
4469 else | 4433 else |
4470 conftest_rc="$?" | 4434 conftest_rc="$?" |
4471 echo "configure: failed program was:" >&5 | 4435 echo "configure: failed program was:" >&5 |
4483 EOF | 4447 EOF |
4484 } | 4448 } |
4485 | 4449 |
4486 | 4450 |
4487 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4451 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4488 echo "configure:4489: checking size of void *" >&5 | 4452 echo "configure:4453: checking size of void *" >&5 |
4489 | 4453 |
4490 cat > conftest.$ac_ext <<EOF | 4454 cat > conftest.$ac_ext <<EOF |
4491 #line 4492 "configure" | 4455 #line 4456 "configure" |
4492 #include "confdefs.h" | 4456 #include "confdefs.h" |
4493 #include <stdio.h> | 4457 #include <stdio.h> |
4494 main() | 4458 main() |
4495 { | 4459 { |
4496 FILE *f=fopen("conftestval", "w"); | 4460 FILE *f=fopen("conftestval", "w"); |
4497 if (!f) exit(1); | 4461 if (!f) exit(1); |
4498 fprintf(f, "%d\n", sizeof(void *)); | 4462 fprintf(f, "%d\n", sizeof(void *)); |
4499 exit(0); | 4463 exit(0); |
4500 } | 4464 } |
4501 EOF | 4465 EOF |
4502 if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4466 if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4503 then | 4467 then |
4504 ac_cv_sizeof_void_p=`cat conftestval` | 4468 ac_cv_sizeof_void_p=`cat conftestval` |
4505 else | 4469 else |
4506 conftest_rc="$?" | 4470 conftest_rc="$?" |
4507 echo "configure: failed program was:" >&5 | 4471 echo "configure: failed program was:" >&5 |
4520 } | 4484 } |
4521 | 4485 |
4522 | 4486 |
4523 | 4487 |
4524 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4488 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4525 echo "configure:4526: checking for long file names" >&5 | 4489 echo "configure:4490: checking for long file names" >&5 |
4526 | 4490 |
4527 ac_cv_sys_long_file_names=yes | 4491 ac_cv_sys_long_file_names=yes |
4528 # Test for long file names in all the places we know might matter: | 4492 # Test for long file names in all the places we know might matter: |
4529 # . the current directory, where building will happen | 4493 # . the current directory, where building will happen |
4530 # $prefix/lib where we will be installing things | 4494 # $prefix/lib where we will be installing things |
4566 | 4530 |
4567 fi | 4531 fi |
4568 | 4532 |
4569 | 4533 |
4570 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4534 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4571 echo "configure:4572: checking for sin" >&5 | 4535 echo "configure:4536: checking for sin" >&5 |
4572 | 4536 |
4573 cat > conftest.$ac_ext <<EOF | 4537 cat > conftest.$ac_ext <<EOF |
4574 #line 4575 "configure" | 4538 #line 4539 "configure" |
4575 #include "confdefs.h" | 4539 #include "confdefs.h" |
4576 /* System header to define __stub macros and hopefully few prototypes, | 4540 /* System header to define __stub macros and hopefully few prototypes, |
4577 which can conflict with char sin(); below. */ | 4541 which can conflict with char sin(); below. */ |
4578 #include <assert.h> | 4542 #include <assert.h> |
4579 /* Override any gcc2 internal prototype to avoid an error. */ | 4543 /* Override any gcc2 internal prototype to avoid an error. */ |
4592 sin(); | 4556 sin(); |
4593 #endif | 4557 #endif |
4594 | 4558 |
4595 ; return 0; } | 4559 ; return 0; } |
4596 EOF | 4560 EOF |
4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4598 rm -rf conftest* | 4562 rm -rf conftest* |
4599 eval "ac_cv_func_sin=yes" | 4563 eval "ac_cv_func_sin=yes" |
4600 else | 4564 else |
4601 echo "configure: failed program was:" >&5 | 4565 echo "configure: failed program was:" >&5 |
4602 cat conftest.$ac_ext >&5 | 4566 cat conftest.$ac_ext >&5 |
4610 : | 4574 : |
4611 else | 4575 else |
4612 echo "$ac_t""no" 1>&6 | 4576 echo "$ac_t""no" 1>&6 |
4613 | 4577 |
4614 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4578 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4615 echo "configure:4616: checking for sin in -lm" >&5 | 4579 echo "configure:4580: checking for sin in -lm" >&5 |
4616 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4580 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4617 | 4581 |
4618 xe_check_libs=" -lm " | 4582 xe_check_libs=" -lm " |
4619 cat > conftest.$ac_ext <<EOF | 4583 cat > conftest.$ac_ext <<EOF |
4620 #line 4621 "configure" | 4584 #line 4585 "configure" |
4621 #include "confdefs.h" | 4585 #include "confdefs.h" |
4622 /* Override any gcc2 internal prototype to avoid an error. */ | 4586 /* Override any gcc2 internal prototype to avoid an error. */ |
4623 /* We use char because int might match the return type of a gcc2 | 4587 /* We use char because int might match the return type of a gcc2 |
4624 builtin and then its argument prototype would still apply. */ | 4588 builtin and then its argument prototype would still apply. */ |
4625 char sin(); | 4589 char sin(); |
4626 | 4590 |
4627 int main() { | 4591 int main() { |
4628 sin() | 4592 sin() |
4629 ; return 0; } | 4593 ; return 0; } |
4630 EOF | 4594 EOF |
4631 if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4595 if { (eval echo configure:4596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4632 rm -rf conftest* | 4596 rm -rf conftest* |
4633 eval "ac_cv_lib_$ac_lib_var=yes" | 4597 eval "ac_cv_lib_$ac_lib_var=yes" |
4634 else | 4598 else |
4635 echo "configure: failed program was:" >&5 | 4599 echo "configure: failed program was:" >&5 |
4636 cat conftest.$ac_ext >&5 | 4600 cat conftest.$ac_ext >&5 |
4670 EOF | 4634 EOF |
4671 } | 4635 } |
4672 | 4636 |
4673 | 4637 |
4674 cat > conftest.$ac_ext <<EOF | 4638 cat > conftest.$ac_ext <<EOF |
4675 #line 4676 "configure" | 4639 #line 4640 "configure" |
4676 #include "confdefs.h" | 4640 #include "confdefs.h" |
4677 #include <math.h> | 4641 #include <math.h> |
4678 int main() { | 4642 int main() { |
4679 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4643 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4680 ; return 0; } | 4644 ; return 0; } |
4681 EOF | 4645 EOF |
4682 if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4646 if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4683 rm -rf conftest* | 4647 rm -rf conftest* |
4684 { test "$extra_verbose" = "yes" && cat << \EOF | 4648 { test "$extra_verbose" = "yes" && cat << \EOF |
4685 Defining HAVE_INVERSE_HYPERBOLIC | 4649 Defining HAVE_INVERSE_HYPERBOLIC |
4686 EOF | 4650 EOF |
4687 cat >> confdefs.h <<\EOF | 4651 cat >> confdefs.h <<\EOF |
4694 cat conftest.$ac_ext >&5 | 4658 cat conftest.$ac_ext >&5 |
4695 fi | 4659 fi |
4696 rm -f conftest* | 4660 rm -f conftest* |
4697 | 4661 |
4698 echo "checking type of mail spool file locking" 1>&6 | 4662 echo "checking type of mail spool file locking" 1>&6 |
4699 echo "configure:4700: checking type of mail spool file locking" >&5 | 4663 echo "configure:4664: checking type of mail spool file locking" >&5 |
4700 for ac_func in lockf flock | 4664 for ac_func in lockf flock |
4701 do | 4665 do |
4702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4703 echo "configure:4704: checking for $ac_func" >&5 | 4667 echo "configure:4668: checking for $ac_func" >&5 |
4704 | 4668 |
4705 cat > conftest.$ac_ext <<EOF | 4669 cat > conftest.$ac_ext <<EOF |
4706 #line 4707 "configure" | 4670 #line 4671 "configure" |
4707 #include "confdefs.h" | 4671 #include "confdefs.h" |
4708 /* System header to define __stub macros and hopefully few prototypes, | 4672 /* System header to define __stub macros and hopefully few prototypes, |
4709 which can conflict with char $ac_func(); below. */ | 4673 which can conflict with char $ac_func(); below. */ |
4710 #include <assert.h> | 4674 #include <assert.h> |
4711 /* Override any gcc2 internal prototype to avoid an error. */ | 4675 /* Override any gcc2 internal prototype to avoid an error. */ |
4724 $ac_func(); | 4688 $ac_func(); |
4725 #endif | 4689 #endif |
4726 | 4690 |
4727 ; return 0; } | 4691 ; return 0; } |
4728 EOF | 4692 EOF |
4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4693 if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4730 rm -rf conftest* | 4694 rm -rf conftest* |
4731 eval "ac_cv_func_$ac_func=yes" | 4695 eval "ac_cv_func_$ac_func=yes" |
4732 else | 4696 else |
4733 echo "configure: failed program was:" >&5 | 4697 echo "configure: failed program was:" >&5 |
4734 cat conftest.$ac_ext >&5 | 4698 cat conftest.$ac_ext >&5 |
4754 done | 4718 done |
4755 | 4719 |
4756 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4720 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4757 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4721 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4758 test -z "$mail_locking" -a "$mail_use_locking" = "yes" && mail_locking=locking | 4722 test -z "$mail_locking" -a "$mail_use_locking" = "yes" && mail_locking=locking |
4723 if test -z "$mail_locking"; then | |
4724 case "$opsys" in cygwin* | mingw*) | |
4725 mail_locking=pop ;; | |
4726 esac | |
4727 fi | |
4728 | |
4759 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4729 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4760 Defining MAIL_LOCK_LOCKF | 4730 Defining MAIL_LOCK_LOCKF |
4761 EOF | 4731 EOF |
4762 cat >> confdefs.h <<\EOF | 4732 cat >> confdefs.h <<\EOF |
4763 #define MAIL_LOCK_LOCKF 1 | 4733 #define MAIL_LOCK_LOCKF 1 |
4778 cat >> confdefs.h <<\EOF | 4748 cat >> confdefs.h <<\EOF |
4779 #define MAIL_LOCK_LOCKING 1 | 4749 #define MAIL_LOCK_LOCKING 1 |
4780 EOF | 4750 EOF |
4781 } | 4751 } |
4782 | 4752 |
4753 elif test "$mail_locking" = "pop"; then | |
4754 with_pop=yes | |
4755 mail_locking= | |
4783 else mail_locking="dot-locking"; { test "$extra_verbose" = "yes" && cat << \EOF | 4756 else mail_locking="dot-locking"; { test "$extra_verbose" = "yes" && cat << \EOF |
4784 Defining MAIL_LOCK_DOT | 4757 Defining MAIL_LOCK_DOT |
4785 EOF | 4758 EOF |
4786 cat >> confdefs.h <<\EOF | 4759 cat >> confdefs.h <<\EOF |
4787 #define MAIL_LOCK_DOT 1 | 4760 #define MAIL_LOCK_DOT 1 |
4797 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4770 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4798 | 4771 |
4799 case "$opsys" in decosf*) | 4772 case "$opsys" in decosf*) |
4800 | 4773 |
4801 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4774 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4802 echo "configure:4803: checking for cma_open in -lpthreads" >&5 | 4775 echo "configure:4776: checking for cma_open in -lpthreads" >&5 |
4803 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4776 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4804 | 4777 |
4805 xe_check_libs=" -lpthreads " | 4778 xe_check_libs=" -lpthreads " |
4806 cat > conftest.$ac_ext <<EOF | 4779 cat > conftest.$ac_ext <<EOF |
4807 #line 4808 "configure" | 4780 #line 4781 "configure" |
4808 #include "confdefs.h" | 4781 #include "confdefs.h" |
4809 /* Override any gcc2 internal prototype to avoid an error. */ | 4782 /* Override any gcc2 internal prototype to avoid an error. */ |
4810 /* We use char because int might match the return type of a gcc2 | 4783 /* We use char because int might match the return type of a gcc2 |
4811 builtin and then its argument prototype would still apply. */ | 4784 builtin and then its argument prototype would still apply. */ |
4812 char cma_open(); | 4785 char cma_open(); |
4813 | 4786 |
4814 int main() { | 4787 int main() { |
4815 cma_open() | 4788 cma_open() |
4816 ; return 0; } | 4789 ; return 0; } |
4817 EOF | 4790 EOF |
4818 if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4819 rm -rf conftest* | 4792 rm -rf conftest* |
4820 eval "ac_cv_lib_$ac_lib_var=yes" | 4793 eval "ac_cv_lib_$ac_lib_var=yes" |
4821 else | 4794 else |
4822 echo "configure: failed program was:" >&5 | 4795 echo "configure: failed program was:" >&5 |
4823 cat conftest.$ac_ext >&5 | 4796 cat conftest.$ac_ext >&5 |
4849 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4822 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4850 c_switch_site="$c_switch_site -threads" ;; | 4823 c_switch_site="$c_switch_site -threads" ;; |
4851 esac | 4824 esac |
4852 | 4825 |
4853 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4826 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4854 echo "configure:4855: checking whether the -xildoff compiler flag is required" >&5 | 4827 echo "configure:4828: checking whether the -xildoff compiler flag is required" >&5 |
4855 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4828 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4856 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4829 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4857 then echo "$ac_t""no" 1>&6; | 4830 then echo "$ac_t""no" 1>&6; |
4858 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 | 4831 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 |
4859 fi | 4832 fi |
4861 fi | 4834 fi |
4862 | 4835 |
4863 if test "$opsys" = "sol2"; then | 4836 if test "$opsys" = "sol2"; then |
4864 if test "$os_release" -ge 56; then | 4837 if test "$os_release" -ge 56; then |
4865 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4838 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4866 echo "configure:4867: checking for \"-z ignore\" linker flag" >&5 | 4839 echo "configure:4840: checking for \"-z ignore\" linker flag" >&5 |
4867 case "`ld -h 2>&1`" in | 4840 case "`ld -h 2>&1`" in |
4868 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4841 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4869 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4842 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4870 *) echo "$ac_t""no" 1>&6 ;; | 4843 *) echo "$ac_t""no" 1>&6 ;; |
4871 esac | 4844 esac |
4872 fi | 4845 fi |
4873 fi | 4846 fi |
4874 | 4847 |
4875 | 4848 |
4876 echo "checking "for specified window system"" 1>&6 | 4849 echo "checking "for specified window system"" 1>&6 |
4877 echo "configure:4878: checking "for specified window system"" >&5 | 4850 echo "configure:4851: checking "for specified window system"" >&5 |
4878 | 4851 |
4879 if test "$with_x11" != "no"; then | 4852 if test "$with_x11" != "no"; then |
4880 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4853 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4881 window_system=x11 with_x11=yes | 4854 window_system=x11 with_x11=yes |
4882 | 4855 |
4905 # If we find X, set shell vars x_includes and x_libraries to the | 4878 # If we find X, set shell vars x_includes and x_libraries to the |
4906 # paths, otherwise set no_x=yes. | 4879 # paths, otherwise set no_x=yes. |
4907 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4880 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4908 # --without-x overrides everything else, but does not touch the cache. | 4881 # --without-x overrides everything else, but does not touch the cache. |
4909 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4882 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4910 echo "configure:4911: checking for X" >&5 | 4883 echo "configure:4884: checking for X" >&5 |
4911 | 4884 |
4912 # Check whether --with-x or --without-x was given. | 4885 # Check whether --with-x or --without-x was given. |
4913 if test "${with_x+set}" = set; then | 4886 if test "${with_x+set}" = set; then |
4914 withval="$with_x" | 4887 withval="$with_x" |
4915 : | 4888 : |
4965 # Guess where to find include files, by looking for this one X11 .h file. | 4938 # Guess where to find include files, by looking for this one X11 .h file. |
4966 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4939 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4967 | 4940 |
4968 # First, try using that file with no special directory specified. | 4941 # First, try using that file with no special directory specified. |
4969 cat > conftest.$ac_ext <<EOF | 4942 cat > conftest.$ac_ext <<EOF |
4970 #line 4971 "configure" | 4943 #line 4944 "configure" |
4971 #include "confdefs.h" | 4944 #include "confdefs.h" |
4972 #include <$x_direct_test_include> | 4945 #include <$x_direct_test_include> |
4973 EOF | 4946 EOF |
4974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4975 { (eval echo configure:4976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4948 { (eval echo configure:4949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4977 if test -z "$ac_err"; then | 4950 if test -z "$ac_err"; then |
4978 rm -rf conftest* | 4951 rm -rf conftest* |
4979 # We can compile using X headers with no special include directory. | 4952 # We can compile using X headers with no special include directory. |
4980 ac_x_includes= | 4953 ac_x_includes= |
5039 # See if we find them without any special options. | 5012 # See if we find them without any special options. |
5040 # Don't add to $LIBS permanently. | 5013 # Don't add to $LIBS permanently. |
5041 ac_save_LIBS="$LIBS" | 5014 ac_save_LIBS="$LIBS" |
5042 LIBS="-l$x_direct_test_library $LIBS" | 5015 LIBS="-l$x_direct_test_library $LIBS" |
5043 cat > conftest.$ac_ext <<EOF | 5016 cat > conftest.$ac_ext <<EOF |
5044 #line 5045 "configure" | 5017 #line 5018 "configure" |
5045 #include "confdefs.h" | 5018 #include "confdefs.h" |
5046 | 5019 |
5047 int main() { | 5020 int main() { |
5048 ${x_direct_test_function}() | 5021 ${x_direct_test_function}() |
5049 ; return 0; } | 5022 ; return 0; } |
5050 EOF | 5023 EOF |
5051 if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5052 rm -rf conftest* | 5025 rm -rf conftest* |
5053 LIBS="$ac_save_LIBS" | 5026 LIBS="$ac_save_LIBS" |
5054 # We can link X programs with no special library path. | 5027 # We can link X programs with no special library path. |
5055 ac_x_libraries= | 5028 ac_x_libraries= |
5056 else | 5029 else |
5155 # For Solaris; some versions of Sun CC require a space after -R and | 5128 # For Solaris; some versions of Sun CC require a space after -R and |
5156 # others require no space. Words are not sufficient . . . . | 5129 # others require no space. Words are not sufficient . . . . |
5157 case "`(uname -sr) 2>/dev/null`" in | 5130 case "`(uname -sr) 2>/dev/null`" in |
5158 "SunOS 5"*) | 5131 "SunOS 5"*) |
5159 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5132 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5160 echo "configure:5161: checking whether -R must be followed by a space" >&5 | 5133 echo "configure:5134: checking whether -R must be followed by a space" >&5 |
5161 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5134 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5162 cat > conftest.$ac_ext <<EOF | 5135 cat > conftest.$ac_ext <<EOF |
5163 #line 5164 "configure" | 5136 #line 5137 "configure" |
5164 #include "confdefs.h" | 5137 #include "confdefs.h" |
5165 | 5138 |
5166 int main() { | 5139 int main() { |
5167 | 5140 |
5168 ; return 0; } | 5141 ; return 0; } |
5169 EOF | 5142 EOF |
5170 if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5143 if { (eval echo configure:5144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5171 rm -rf conftest* | 5144 rm -rf conftest* |
5172 ac_R_nospace=yes | 5145 ac_R_nospace=yes |
5173 else | 5146 else |
5174 echo "configure: failed program was:" >&5 | 5147 echo "configure: failed program was:" >&5 |
5175 cat conftest.$ac_ext >&5 | 5148 cat conftest.$ac_ext >&5 |
5181 echo "$ac_t""no" 1>&6 | 5154 echo "$ac_t""no" 1>&6 |
5182 X_LIBS="$X_LIBS -R$x_libraries" | 5155 X_LIBS="$X_LIBS -R$x_libraries" |
5183 else | 5156 else |
5184 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5157 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5185 cat > conftest.$ac_ext <<EOF | 5158 cat > conftest.$ac_ext <<EOF |
5186 #line 5187 "configure" | 5159 #line 5160 "configure" |
5187 #include "confdefs.h" | 5160 #include "confdefs.h" |
5188 | 5161 |
5189 int main() { | 5162 int main() { |
5190 | 5163 |
5191 ; return 0; } | 5164 ; return 0; } |
5192 EOF | 5165 EOF |
5193 if { (eval echo configure:5194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5166 if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5194 rm -rf conftest* | 5167 rm -rf conftest* |
5195 ac_R_space=yes | 5168 ac_R_space=yes |
5196 else | 5169 else |
5197 echo "configure: failed program was:" >&5 | 5170 echo "configure: failed program was:" >&5 |
5198 cat conftest.$ac_ext >&5 | 5171 cat conftest.$ac_ext >&5 |
5224 if test "$with_dnet" = "no" ; then | 5197 if test "$with_dnet" = "no" ; then |
5225 ac_cv_lib_dnet_dnet_ntoa=no | 5198 ac_cv_lib_dnet_dnet_ntoa=no |
5226 else | 5199 else |
5227 | 5200 |
5228 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5201 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5229 echo "configure:5230: checking for dnet_ntoa in -ldnet" >&5 | 5202 echo "configure:5203: checking for dnet_ntoa in -ldnet" >&5 |
5230 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5203 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5231 | 5204 |
5232 xe_check_libs=" -ldnet " | 5205 xe_check_libs=" -ldnet " |
5233 cat > conftest.$ac_ext <<EOF | 5206 cat > conftest.$ac_ext <<EOF |
5234 #line 5235 "configure" | 5207 #line 5208 "configure" |
5235 #include "confdefs.h" | 5208 #include "confdefs.h" |
5236 /* Override any gcc2 internal prototype to avoid an error. */ | 5209 /* Override any gcc2 internal prototype to avoid an error. */ |
5237 /* We use char because int might match the return type of a gcc2 | 5210 /* We use char because int might match the return type of a gcc2 |
5238 builtin and then its argument prototype would still apply. */ | 5211 builtin and then its argument prototype would still apply. */ |
5239 char dnet_ntoa(); | 5212 char dnet_ntoa(); |
5240 | 5213 |
5241 int main() { | 5214 int main() { |
5242 dnet_ntoa() | 5215 dnet_ntoa() |
5243 ; return 0; } | 5216 ; return 0; } |
5244 EOF | 5217 EOF |
5245 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5218 if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5246 rm -rf conftest* | 5219 rm -rf conftest* |
5247 eval "ac_cv_lib_$ac_lib_var=yes" | 5220 eval "ac_cv_lib_$ac_lib_var=yes" |
5248 else | 5221 else |
5249 echo "configure: failed program was:" >&5 | 5222 echo "configure: failed program was:" >&5 |
5250 cat conftest.$ac_ext >&5 | 5223 cat conftest.$ac_ext >&5 |
5264 fi | 5237 fi |
5265 | 5238 |
5266 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5239 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5267 | 5240 |
5268 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5241 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5269 echo "configure:5270: checking for dnet_ntoa in -ldnet_stub" >&5 | 5242 echo "configure:5243: checking for dnet_ntoa in -ldnet_stub" >&5 |
5270 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5243 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5271 | 5244 |
5272 xe_check_libs=" -ldnet_stub " | 5245 xe_check_libs=" -ldnet_stub " |
5273 cat > conftest.$ac_ext <<EOF | 5246 cat > conftest.$ac_ext <<EOF |
5274 #line 5275 "configure" | 5247 #line 5248 "configure" |
5275 #include "confdefs.h" | 5248 #include "confdefs.h" |
5276 /* Override any gcc2 internal prototype to avoid an error. */ | 5249 /* Override any gcc2 internal prototype to avoid an error. */ |
5277 /* We use char because int might match the return type of a gcc2 | 5250 /* We use char because int might match the return type of a gcc2 |
5278 builtin and then its argument prototype would still apply. */ | 5251 builtin and then its argument prototype would still apply. */ |
5279 char dnet_ntoa(); | 5252 char dnet_ntoa(); |
5280 | 5253 |
5281 int main() { | 5254 int main() { |
5282 dnet_ntoa() | 5255 dnet_ntoa() |
5283 ; return 0; } | 5256 ; return 0; } |
5284 EOF | 5257 EOF |
5285 if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5258 if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5286 rm -rf conftest* | 5259 rm -rf conftest* |
5287 eval "ac_cv_lib_$ac_lib_var=yes" | 5260 eval "ac_cv_lib_$ac_lib_var=yes" |
5288 else | 5261 else |
5289 echo "configure: failed program was:" >&5 | 5262 echo "configure: failed program was:" >&5 |
5290 cat conftest.$ac_ext >&5 | 5263 cat conftest.$ac_ext >&5 |
5309 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5282 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5310 # needs -lnsl. | 5283 # needs -lnsl. |
5311 # The nsl library prevents programs from opening the X display | 5284 # The nsl library prevents programs from opening the X display |
5312 # on Irix 5.2, according to dickey@clark.net. | 5285 # on Irix 5.2, according to dickey@clark.net. |
5313 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5286 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5314 echo "configure:5315: checking for gethostbyname" >&5 | 5287 echo "configure:5288: checking for gethostbyname" >&5 |
5315 | 5288 |
5316 cat > conftest.$ac_ext <<EOF | 5289 cat > conftest.$ac_ext <<EOF |
5317 #line 5318 "configure" | 5290 #line 5291 "configure" |
5318 #include "confdefs.h" | 5291 #include "confdefs.h" |
5319 /* System header to define __stub macros and hopefully few prototypes, | 5292 /* System header to define __stub macros and hopefully few prototypes, |
5320 which can conflict with char gethostbyname(); below. */ | 5293 which can conflict with char gethostbyname(); below. */ |
5321 #include <assert.h> | 5294 #include <assert.h> |
5322 /* Override any gcc2 internal prototype to avoid an error. */ | 5295 /* Override any gcc2 internal prototype to avoid an error. */ |
5335 gethostbyname(); | 5308 gethostbyname(); |
5336 #endif | 5309 #endif |
5337 | 5310 |
5338 ; return 0; } | 5311 ; return 0; } |
5339 EOF | 5312 EOF |
5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5313 if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5341 rm -rf conftest* | 5314 rm -rf conftest* |
5342 eval "ac_cv_func_gethostbyname=yes" | 5315 eval "ac_cv_func_gethostbyname=yes" |
5343 else | 5316 else |
5344 echo "configure: failed program was:" >&5 | 5317 echo "configure: failed program was:" >&5 |
5345 cat conftest.$ac_ext >&5 | 5318 cat conftest.$ac_ext >&5 |
5356 fi | 5329 fi |
5357 | 5330 |
5358 if test $ac_cv_func_gethostbyname = no; then | 5331 if test $ac_cv_func_gethostbyname = no; then |
5359 | 5332 |
5360 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5333 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5361 echo "configure:5362: checking for gethostbyname in -lnsl" >&5 | 5334 echo "configure:5335: checking for gethostbyname in -lnsl" >&5 |
5362 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5335 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5363 | 5336 |
5364 xe_check_libs=" -lnsl " | 5337 xe_check_libs=" -lnsl " |
5365 cat > conftest.$ac_ext <<EOF | 5338 cat > conftest.$ac_ext <<EOF |
5366 #line 5367 "configure" | 5339 #line 5340 "configure" |
5367 #include "confdefs.h" | 5340 #include "confdefs.h" |
5368 /* Override any gcc2 internal prototype to avoid an error. */ | 5341 /* Override any gcc2 internal prototype to avoid an error. */ |
5369 /* We use char because int might match the return type of a gcc2 | 5342 /* We use char because int might match the return type of a gcc2 |
5370 builtin and then its argument prototype would still apply. */ | 5343 builtin and then its argument prototype would still apply. */ |
5371 char gethostbyname(); | 5344 char gethostbyname(); |
5372 | 5345 |
5373 int main() { | 5346 int main() { |
5374 gethostbyname() | 5347 gethostbyname() |
5375 ; return 0; } | 5348 ; return 0; } |
5376 EOF | 5349 EOF |
5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5350 if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5378 rm -rf conftest* | 5351 rm -rf conftest* |
5379 eval "ac_cv_lib_$ac_lib_var=yes" | 5352 eval "ac_cv_lib_$ac_lib_var=yes" |
5380 else | 5353 else |
5381 echo "configure: failed program was:" >&5 | 5354 echo "configure: failed program was:" >&5 |
5382 cat conftest.$ac_ext >&5 | 5355 cat conftest.$ac_ext >&5 |
5402 # on later versions), says simon@lia.di.epfl.ch: it contains | 5375 # on later versions), says simon@lia.di.epfl.ch: it contains |
5403 # gethostby* variants that don't use the nameserver (or something). | 5376 # gethostby* variants that don't use the nameserver (or something). |
5404 # -lsocket must be given before -lnsl if both are needed. | 5377 # -lsocket must be given before -lnsl if both are needed. |
5405 # We assume that if connect needs -lnsl, so does gethostbyname. | 5378 # We assume that if connect needs -lnsl, so does gethostbyname. |
5406 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5379 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5407 echo "configure:5408: checking for connect" >&5 | 5380 echo "configure:5381: checking for connect" >&5 |
5408 | 5381 |
5409 cat > conftest.$ac_ext <<EOF | 5382 cat > conftest.$ac_ext <<EOF |
5410 #line 5411 "configure" | 5383 #line 5384 "configure" |
5411 #include "confdefs.h" | 5384 #include "confdefs.h" |
5412 /* System header to define __stub macros and hopefully few prototypes, | 5385 /* System header to define __stub macros and hopefully few prototypes, |
5413 which can conflict with char connect(); below. */ | 5386 which can conflict with char connect(); below. */ |
5414 #include <assert.h> | 5387 #include <assert.h> |
5415 /* Override any gcc2 internal prototype to avoid an error. */ | 5388 /* Override any gcc2 internal prototype to avoid an error. */ |
5428 connect(); | 5401 connect(); |
5429 #endif | 5402 #endif |
5430 | 5403 |
5431 ; return 0; } | 5404 ; return 0; } |
5432 EOF | 5405 EOF |
5433 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5434 rm -rf conftest* | 5407 rm -rf conftest* |
5435 eval "ac_cv_func_connect=yes" | 5408 eval "ac_cv_func_connect=yes" |
5436 else | 5409 else |
5437 echo "configure: failed program was:" >&5 | 5410 echo "configure: failed program was:" >&5 |
5438 cat conftest.$ac_ext >&5 | 5411 cat conftest.$ac_ext >&5 |
5451 if test $ac_cv_func_connect = no; then | 5424 if test $ac_cv_func_connect = no; then |
5452 | 5425 |
5453 xe_msg_checking="for connect in -lsocket" | 5426 xe_msg_checking="for connect in -lsocket" |
5454 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5427 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5455 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5428 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5456 echo "configure:5457: checking "$xe_msg_checking"" >&5 | 5429 echo "configure:5430: checking "$xe_msg_checking"" >&5 |
5457 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5430 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5458 | 5431 |
5459 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5432 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5460 cat > conftest.$ac_ext <<EOF | 5433 cat > conftest.$ac_ext <<EOF |
5461 #line 5462 "configure" | 5434 #line 5435 "configure" |
5462 #include "confdefs.h" | 5435 #include "confdefs.h" |
5463 /* Override any gcc2 internal prototype to avoid an error. */ | 5436 /* Override any gcc2 internal prototype to avoid an error. */ |
5464 /* We use char because int might match the return type of a gcc2 | 5437 /* We use char because int might match the return type of a gcc2 |
5465 builtin and then its argument prototype would still apply. */ | 5438 builtin and then its argument prototype would still apply. */ |
5466 char connect(); | 5439 char connect(); |
5467 | 5440 |
5468 int main() { | 5441 int main() { |
5469 connect() | 5442 connect() |
5470 ; return 0; } | 5443 ; return 0; } |
5471 EOF | 5444 EOF |
5472 if { (eval echo configure:5473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5445 if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5473 rm -rf conftest* | 5446 rm -rf conftest* |
5474 eval "ac_cv_lib_$ac_lib_var=yes" | 5447 eval "ac_cv_lib_$ac_lib_var=yes" |
5475 else | 5448 else |
5476 echo "configure: failed program was:" >&5 | 5449 echo "configure: failed program was:" >&5 |
5477 cat conftest.$ac_ext >&5 | 5450 cat conftest.$ac_ext >&5 |
5491 | 5464 |
5492 fi | 5465 fi |
5493 | 5466 |
5494 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5467 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5495 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5468 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5496 echo "configure:5497: checking for remove" >&5 | 5469 echo "configure:5470: checking for remove" >&5 |
5497 | 5470 |
5498 cat > conftest.$ac_ext <<EOF | 5471 cat > conftest.$ac_ext <<EOF |
5499 #line 5500 "configure" | 5472 #line 5473 "configure" |
5500 #include "confdefs.h" | 5473 #include "confdefs.h" |
5501 /* System header to define __stub macros and hopefully few prototypes, | 5474 /* System header to define __stub macros and hopefully few prototypes, |
5502 which can conflict with char remove(); below. */ | 5475 which can conflict with char remove(); below. */ |
5503 #include <assert.h> | 5476 #include <assert.h> |
5504 /* Override any gcc2 internal prototype to avoid an error. */ | 5477 /* Override any gcc2 internal prototype to avoid an error. */ |
5517 remove(); | 5490 remove(); |
5518 #endif | 5491 #endif |
5519 | 5492 |
5520 ; return 0; } | 5493 ; return 0; } |
5521 EOF | 5494 EOF |
5522 if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5495 if { (eval echo configure:5496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5523 rm -rf conftest* | 5496 rm -rf conftest* |
5524 eval "ac_cv_func_remove=yes" | 5497 eval "ac_cv_func_remove=yes" |
5525 else | 5498 else |
5526 echo "configure: failed program was:" >&5 | 5499 echo "configure: failed program was:" >&5 |
5527 cat conftest.$ac_ext >&5 | 5500 cat conftest.$ac_ext >&5 |
5538 fi | 5511 fi |
5539 | 5512 |
5540 if test $ac_cv_func_remove = no; then | 5513 if test $ac_cv_func_remove = no; then |
5541 | 5514 |
5542 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5515 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5543 echo "configure:5544: checking for remove in -lposix" >&5 | 5516 echo "configure:5517: checking for remove in -lposix" >&5 |
5544 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5517 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5545 | 5518 |
5546 xe_check_libs=" -lposix " | 5519 xe_check_libs=" -lposix " |
5547 cat > conftest.$ac_ext <<EOF | 5520 cat > conftest.$ac_ext <<EOF |
5548 #line 5549 "configure" | 5521 #line 5522 "configure" |
5549 #include "confdefs.h" | 5522 #include "confdefs.h" |
5550 /* Override any gcc2 internal prototype to avoid an error. */ | 5523 /* Override any gcc2 internal prototype to avoid an error. */ |
5551 /* We use char because int might match the return type of a gcc2 | 5524 /* We use char because int might match the return type of a gcc2 |
5552 builtin and then its argument prototype would still apply. */ | 5525 builtin and then its argument prototype would still apply. */ |
5553 char remove(); | 5526 char remove(); |
5554 | 5527 |
5555 int main() { | 5528 int main() { |
5556 remove() | 5529 remove() |
5557 ; return 0; } | 5530 ; return 0; } |
5558 EOF | 5531 EOF |
5559 if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5532 if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5560 rm -rf conftest* | 5533 rm -rf conftest* |
5561 eval "ac_cv_lib_$ac_lib_var=yes" | 5534 eval "ac_cv_lib_$ac_lib_var=yes" |
5562 else | 5535 else |
5563 echo "configure: failed program was:" >&5 | 5536 echo "configure: failed program was:" >&5 |
5564 cat conftest.$ac_ext >&5 | 5537 cat conftest.$ac_ext >&5 |
5578 | 5551 |
5579 fi | 5552 fi |
5580 | 5553 |
5581 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5554 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5582 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5555 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5583 echo "configure:5584: checking for shmat" >&5 | 5556 echo "configure:5557: checking for shmat" >&5 |
5584 | 5557 |
5585 cat > conftest.$ac_ext <<EOF | 5558 cat > conftest.$ac_ext <<EOF |
5586 #line 5587 "configure" | 5559 #line 5560 "configure" |
5587 #include "confdefs.h" | 5560 #include "confdefs.h" |
5588 /* System header to define __stub macros and hopefully few prototypes, | 5561 /* System header to define __stub macros and hopefully few prototypes, |
5589 which can conflict with char shmat(); below. */ | 5562 which can conflict with char shmat(); below. */ |
5590 #include <assert.h> | 5563 #include <assert.h> |
5591 /* Override any gcc2 internal prototype to avoid an error. */ | 5564 /* Override any gcc2 internal prototype to avoid an error. */ |
5604 shmat(); | 5577 shmat(); |
5605 #endif | 5578 #endif |
5606 | 5579 |
5607 ; return 0; } | 5580 ; return 0; } |
5608 EOF | 5581 EOF |
5609 if { (eval echo configure:5610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5582 if { (eval echo configure:5583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5610 rm -rf conftest* | 5583 rm -rf conftest* |
5611 eval "ac_cv_func_shmat=yes" | 5584 eval "ac_cv_func_shmat=yes" |
5612 else | 5585 else |
5613 echo "configure: failed program was:" >&5 | 5586 echo "configure: failed program was:" >&5 |
5614 cat conftest.$ac_ext >&5 | 5587 cat conftest.$ac_ext >&5 |
5625 fi | 5598 fi |
5626 | 5599 |
5627 if test $ac_cv_func_shmat = no; then | 5600 if test $ac_cv_func_shmat = no; then |
5628 | 5601 |
5629 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5602 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5630 echo "configure:5631: checking for shmat in -lipc" >&5 | 5603 echo "configure:5604: checking for shmat in -lipc" >&5 |
5631 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5604 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5632 | 5605 |
5633 xe_check_libs=" -lipc " | 5606 xe_check_libs=" -lipc " |
5634 cat > conftest.$ac_ext <<EOF | 5607 cat > conftest.$ac_ext <<EOF |
5635 #line 5636 "configure" | 5608 #line 5609 "configure" |
5636 #include "confdefs.h" | 5609 #include "confdefs.h" |
5637 /* Override any gcc2 internal prototype to avoid an error. */ | 5610 /* Override any gcc2 internal prototype to avoid an error. */ |
5638 /* We use char because int might match the return type of a gcc2 | 5611 /* We use char because int might match the return type of a gcc2 |
5639 builtin and then its argument prototype would still apply. */ | 5612 builtin and then its argument prototype would still apply. */ |
5640 char shmat(); | 5613 char shmat(); |
5641 | 5614 |
5642 int main() { | 5615 int main() { |
5643 shmat() | 5616 shmat() |
5644 ; return 0; } | 5617 ; return 0; } |
5645 EOF | 5618 EOF |
5646 if { (eval echo configure:5647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5619 if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5647 rm -rf conftest* | 5620 rm -rf conftest* |
5648 eval "ac_cv_lib_$ac_lib_var=yes" | 5621 eval "ac_cv_lib_$ac_lib_var=yes" |
5649 else | 5622 else |
5650 echo "configure: failed program was:" >&5 | 5623 echo "configure: failed program was:" >&5 |
5651 cat conftest.$ac_ext >&5 | 5624 cat conftest.$ac_ext >&5 |
5677 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5650 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5678 | 5651 |
5679 xe_msg_checking="for IceConnectionNumber in -lICE" | 5652 xe_msg_checking="for IceConnectionNumber in -lICE" |
5680 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5653 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5681 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5654 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5682 echo "configure:5683: checking "$xe_msg_checking"" >&5 | 5655 echo "configure:5656: checking "$xe_msg_checking"" >&5 |
5683 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5656 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5684 | 5657 |
5685 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5658 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5686 cat > conftest.$ac_ext <<EOF | 5659 cat > conftest.$ac_ext <<EOF |
5687 #line 5688 "configure" | 5660 #line 5661 "configure" |
5688 #include "confdefs.h" | 5661 #include "confdefs.h" |
5689 /* Override any gcc2 internal prototype to avoid an error. */ | 5662 /* Override any gcc2 internal prototype to avoid an error. */ |
5690 /* We use char because int might match the return type of a gcc2 | 5663 /* We use char because int might match the return type of a gcc2 |
5691 builtin and then its argument prototype would still apply. */ | 5664 builtin and then its argument prototype would still apply. */ |
5692 char IceConnectionNumber(); | 5665 char IceConnectionNumber(); |
5693 | 5666 |
5694 int main() { | 5667 int main() { |
5695 IceConnectionNumber() | 5668 IceConnectionNumber() |
5696 ; return 0; } | 5669 ; return 0; } |
5697 EOF | 5670 EOF |
5698 if { (eval echo configure:5699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5671 if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5699 rm -rf conftest* | 5672 rm -rf conftest* |
5700 eval "ac_cv_lib_$ac_lib_var=yes" | 5673 eval "ac_cv_lib_$ac_lib_var=yes" |
5701 else | 5674 else |
5702 echo "configure: failed program was:" >&5 | 5675 echo "configure: failed program was:" >&5 |
5703 cat conftest.$ac_ext >&5 | 5676 cat conftest.$ac_ext >&5 |
5862 EOF | 5835 EOF |
5863 } | 5836 } |
5864 | 5837 |
5865 | 5838 |
5866 echo "checking for X defines extracted by xmkmf" 1>&6 | 5839 echo "checking for X defines extracted by xmkmf" 1>&6 |
5867 echo "configure:5868: checking for X defines extracted by xmkmf" >&5 | 5840 echo "configure:5841: checking for X defines extracted by xmkmf" >&5 |
5868 rm -fr conftestdir | 5841 rm -fr conftestdir |
5869 if mkdir conftestdir; then | 5842 if mkdir conftestdir; then |
5870 cd conftestdir | 5843 cd conftestdir |
5871 cat > Imakefile <<'EOF' | 5844 cat > Imakefile <<'EOF' |
5872 xetest: | 5845 xetest: |
5877 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` | 5850 xmkmf_defines=`${MAKE-make} xetest 2>/dev/null | grep -v make` |
5878 fi | 5851 fi |
5879 cd .. | 5852 cd .. |
5880 rm -fr conftestdir | 5853 rm -fr conftestdir |
5881 for word in $xmkmf_defines; do | 5854 for word in $xmkmf_defines; do |
5882 case "$word" in | 5855 case "$word" in -D* ) |
5883 -D*=* ) ;; | 5856 sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'` |
5884 -D* ) word=`echo '' $word | sed -e 's:^ *-D::'` | 5857 case "$word" in |
5885 { test "$extra_verbose" = "yes" && cat << EOF | 5858 -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;; |
5886 Defining $word | 5859 * ) val=1 ;; |
5860 esac | |
5861 if grep "^#define $sym " confdefs.h >/dev/null; then :; else | |
5862 if test "$val" = "1" | |
5863 then { test "$extra_verbose" = "yes" && cat << EOF | |
5864 Defining $sym | |
5887 EOF | 5865 EOF |
5888 cat >> confdefs.h <<EOF | 5866 cat >> confdefs.h <<EOF |
5889 #define $word 1 | 5867 #define $sym 1 |
5890 EOF | 5868 EOF |
5891 } | 5869 } |
5892 ;; | 5870 |
5871 else { test "$extra_verbose" = "yes" && cat << EOF | |
5872 Defining $sym = $val | |
5873 EOF | |
5874 cat >> confdefs.h <<EOF | |
5875 #define $sym $val | |
5876 EOF | |
5877 } | |
5878 | |
5879 fi | |
5880 fi ;; | |
5893 esac | 5881 esac |
5894 done | 5882 done |
5895 fi | 5883 fi |
5896 | 5884 |
5897 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5885 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5898 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5886 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5899 echo "configure:5900: checking for X11/Intrinsic.h" >&5 | 5887 echo "configure:5888: checking for X11/Intrinsic.h" >&5 |
5900 | 5888 |
5901 cat > conftest.$ac_ext <<EOF | 5889 cat > conftest.$ac_ext <<EOF |
5902 #line 5903 "configure" | 5890 #line 5891 "configure" |
5903 #include "confdefs.h" | 5891 #include "confdefs.h" |
5904 #include <X11/Intrinsic.h> | 5892 #include <X11/Intrinsic.h> |
5905 EOF | 5893 EOF |
5906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5907 { (eval echo configure:5908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5895 { (eval echo configure:5896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5908 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5909 if test -z "$ac_err"; then | 5897 if test -z "$ac_err"; then |
5910 rm -rf conftest* | 5898 rm -rf conftest* |
5911 eval "ac_cv_header_$ac_safe=yes" | 5899 eval "ac_cv_header_$ac_safe=yes" |
5912 else | 5900 else |
5926 fi | 5914 fi |
5927 | 5915 |
5928 | 5916 |
5929 | 5917 |
5930 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5918 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5931 echo "configure:5932: checking for XOpenDisplay in -lX11" >&5 | 5919 echo "configure:5920: checking for XOpenDisplay in -lX11" >&5 |
5932 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5920 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5933 | 5921 |
5934 xe_check_libs=" -lX11 " | 5922 xe_check_libs=" -lX11 " |
5935 cat > conftest.$ac_ext <<EOF | 5923 cat > conftest.$ac_ext <<EOF |
5936 #line 5937 "configure" | 5924 #line 5925 "configure" |
5937 #include "confdefs.h" | 5925 #include "confdefs.h" |
5938 /* Override any gcc2 internal prototype to avoid an error. */ | 5926 /* Override any gcc2 internal prototype to avoid an error. */ |
5939 /* We use char because int might match the return type of a gcc2 | 5927 /* We use char because int might match the return type of a gcc2 |
5940 builtin and then its argument prototype would still apply. */ | 5928 builtin and then its argument prototype would still apply. */ |
5941 char XOpenDisplay(); | 5929 char XOpenDisplay(); |
5942 | 5930 |
5943 int main() { | 5931 int main() { |
5944 XOpenDisplay() | 5932 XOpenDisplay() |
5945 ; return 0; } | 5933 ; return 0; } |
5946 EOF | 5934 EOF |
5947 if { (eval echo configure:5948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5935 if { (eval echo configure:5936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5948 rm -rf conftest* | 5936 rm -rf conftest* |
5949 eval "ac_cv_lib_$ac_lib_var=yes" | 5937 eval "ac_cv_lib_$ac_lib_var=yes" |
5950 else | 5938 else |
5951 echo "configure: failed program was:" >&5 | 5939 echo "configure: failed program was:" >&5 |
5952 cat conftest.$ac_ext >&5 | 5940 cat conftest.$ac_ext >&5 |
5967 if test "$have_lib_x11" != "yes"; then | 5955 if test "$have_lib_x11" != "yes"; then |
5968 | 5956 |
5969 xe_msg_checking="for XGetFontProperty in -lX11" | 5957 xe_msg_checking="for XGetFontProperty in -lX11" |
5970 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5958 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5971 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5959 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5972 echo "configure:5973: checking "$xe_msg_checking"" >&5 | 5960 echo "configure:5961: checking "$xe_msg_checking"" >&5 |
5973 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5961 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5974 | 5962 |
5975 xe_check_libs=" -lX11 -b i486-linuxaout" | 5963 xe_check_libs=" -lX11 -b i486-linuxaout" |
5976 cat > conftest.$ac_ext <<EOF | 5964 cat > conftest.$ac_ext <<EOF |
5977 #line 5978 "configure" | 5965 #line 5966 "configure" |
5978 #include "confdefs.h" | 5966 #include "confdefs.h" |
5979 /* Override any gcc2 internal prototype to avoid an error. */ | 5967 /* Override any gcc2 internal prototype to avoid an error. */ |
5980 /* We use char because int might match the return type of a gcc2 | 5968 /* We use char because int might match the return type of a gcc2 |
5981 builtin and then its argument prototype would still apply. */ | 5969 builtin and then its argument prototype would still apply. */ |
5982 char XGetFontProperty(); | 5970 char XGetFontProperty(); |
5983 | 5971 |
5984 int main() { | 5972 int main() { |
5985 XGetFontProperty() | 5973 XGetFontProperty() |
5986 ; return 0; } | 5974 ; return 0; } |
5987 EOF | 5975 EOF |
5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5976 if { (eval echo configure:5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5989 rm -rf conftest* | 5977 rm -rf conftest* |
5990 eval "ac_cv_lib_$ac_lib_var=yes" | 5978 eval "ac_cv_lib_$ac_lib_var=yes" |
5991 else | 5979 else |
5992 echo "configure: failed program was:" >&5 | 5980 echo "configure: failed program was:" >&5 |
5993 cat conftest.$ac_ext >&5 | 5981 cat conftest.$ac_ext >&5 |
6010 libs_x="-lX11" | 5998 libs_x="-lX11" |
6011 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5999 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6012 | 6000 |
6013 | 6001 |
6014 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6002 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6015 echo "configure:6016: checking for XShapeSelectInput in -lXext" >&5 | 6003 echo "configure:6004: checking for XShapeSelectInput in -lXext" >&5 |
6016 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6004 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6017 | 6005 |
6018 xe_check_libs=" -lXext " | 6006 xe_check_libs=" -lXext " |
6019 cat > conftest.$ac_ext <<EOF | 6007 cat > conftest.$ac_ext <<EOF |
6020 #line 6021 "configure" | 6008 #line 6009 "configure" |
6021 #include "confdefs.h" | 6009 #include "confdefs.h" |
6022 /* Override any gcc2 internal prototype to avoid an error. */ | 6010 /* Override any gcc2 internal prototype to avoid an error. */ |
6023 /* We use char because int might match the return type of a gcc2 | 6011 /* We use char because int might match the return type of a gcc2 |
6024 builtin and then its argument prototype would still apply. */ | 6012 builtin and then its argument prototype would still apply. */ |
6025 char XShapeSelectInput(); | 6013 char XShapeSelectInput(); |
6026 | 6014 |
6027 int main() { | 6015 int main() { |
6028 XShapeSelectInput() | 6016 XShapeSelectInput() |
6029 ; return 0; } | 6017 ; return 0; } |
6030 EOF | 6018 EOF |
6031 if { (eval echo configure:6032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6019 if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6032 rm -rf conftest* | 6020 rm -rf conftest* |
6033 eval "ac_cv_lib_$ac_lib_var=yes" | 6021 eval "ac_cv_lib_$ac_lib_var=yes" |
6034 else | 6022 else |
6035 echo "configure: failed program was:" >&5 | 6023 echo "configure: failed program was:" >&5 |
6036 cat conftest.$ac_ext >&5 | 6024 cat conftest.$ac_ext >&5 |
6049 | 6037 |
6050 | 6038 |
6051 | 6039 |
6052 | 6040 |
6053 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6041 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6054 echo "configure:6055: checking for XtOpenDisplay in -lXt" >&5 | 6042 echo "configure:6043: checking for XtOpenDisplay in -lXt" >&5 |
6055 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6043 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6056 | 6044 |
6057 xe_check_libs=" -lXt " | 6045 xe_check_libs=" -lXt " |
6058 cat > conftest.$ac_ext <<EOF | 6046 cat > conftest.$ac_ext <<EOF |
6059 #line 6060 "configure" | 6047 #line 6048 "configure" |
6060 #include "confdefs.h" | 6048 #include "confdefs.h" |
6061 /* Override any gcc2 internal prototype to avoid an error. */ | 6049 /* Override any gcc2 internal prototype to avoid an error. */ |
6062 /* We use char because int might match the return type of a gcc2 | 6050 /* We use char because int might match the return type of a gcc2 |
6063 builtin and then its argument prototype would still apply. */ | 6051 builtin and then its argument prototype would still apply. */ |
6064 char XtOpenDisplay(); | 6052 char XtOpenDisplay(); |
6065 | 6053 |
6066 int main() { | 6054 int main() { |
6067 XtOpenDisplay() | 6055 XtOpenDisplay() |
6068 ; return 0; } | 6056 ; return 0; } |
6069 EOF | 6057 EOF |
6070 if { (eval echo configure:6071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6058 if { (eval echo configure:6059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6071 rm -rf conftest* | 6059 rm -rf conftest* |
6072 eval "ac_cv_lib_$ac_lib_var=yes" | 6060 eval "ac_cv_lib_$ac_lib_var=yes" |
6073 else | 6061 else |
6074 echo "configure: failed program was:" >&5 | 6062 echo "configure: failed program was:" >&5 |
6075 cat conftest.$ac_ext >&5 | 6063 cat conftest.$ac_ext >&5 |
6088 fi | 6076 fi |
6089 | 6077 |
6090 | 6078 |
6091 | 6079 |
6092 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6080 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6093 echo "configure:6094: checking the version of X11 being used" >&5 | 6081 echo "configure:6082: checking the version of X11 being used" >&5 |
6094 cat > conftest.$ac_ext <<EOF | 6082 cat > conftest.$ac_ext <<EOF |
6095 #line 6096 "configure" | 6083 #line 6084 "configure" |
6096 #include "confdefs.h" | 6084 #include "confdefs.h" |
6097 #include <X11/Intrinsic.h> | 6085 #include <X11/Intrinsic.h> |
6098 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6086 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6099 EOF | 6087 EOF |
6100 if { (eval echo configure:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6088 if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6101 then | 6089 then |
6102 ./conftest foobar; x11_release=$? | 6090 ./conftest foobar; x11_release=$? |
6103 else | 6091 else |
6104 conftest_rc="$?" | 6092 conftest_rc="$?" |
6105 echo "configure: failed program was:" >&5 | 6093 echo "configure: failed program was:" >&5 |
6119 | 6107 |
6120 | 6108 |
6121 for ac_func in XConvertCase | 6109 for ac_func in XConvertCase |
6122 do | 6110 do |
6123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6111 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6124 echo "configure:6125: checking for $ac_func" >&5 | 6112 echo "configure:6113: checking for $ac_func" >&5 |
6125 | 6113 |
6126 cat > conftest.$ac_ext <<EOF | 6114 cat > conftest.$ac_ext <<EOF |
6127 #line 6128 "configure" | 6115 #line 6116 "configure" |
6128 #include "confdefs.h" | 6116 #include "confdefs.h" |
6129 /* System header to define __stub macros and hopefully few prototypes, | 6117 /* System header to define __stub macros and hopefully few prototypes, |
6130 which can conflict with char $ac_func(); below. */ | 6118 which can conflict with char $ac_func(); below. */ |
6131 #include <assert.h> | 6119 #include <assert.h> |
6132 /* Override any gcc2 internal prototype to avoid an error. */ | 6120 /* Override any gcc2 internal prototype to avoid an error. */ |
6145 $ac_func(); | 6133 $ac_func(); |
6146 #endif | 6134 #endif |
6147 | 6135 |
6148 ; return 0; } | 6136 ; return 0; } |
6149 EOF | 6137 EOF |
6150 if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6138 if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6151 rm -rf conftest* | 6139 rm -rf conftest* |
6152 eval "ac_cv_func_$ac_func=yes" | 6140 eval "ac_cv_func_$ac_func=yes" |
6153 else | 6141 else |
6154 echo "configure: failed program was:" >&5 | 6142 echo "configure: failed program was:" >&5 |
6155 cat conftest.$ac_ext >&5 | 6143 cat conftest.$ac_ext >&5 |
6177 | 6165 |
6178 for ac_hdr in X11/Xlocale.h | 6166 for ac_hdr in X11/Xlocale.h |
6179 do | 6167 do |
6180 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6168 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6182 echo "configure:6183: checking for $ac_hdr" >&5 | 6170 echo "configure:6171: checking for $ac_hdr" >&5 |
6183 | 6171 |
6184 cat > conftest.$ac_ext <<EOF | 6172 cat > conftest.$ac_ext <<EOF |
6185 #line 6186 "configure" | 6173 #line 6174 "configure" |
6186 #include "confdefs.h" | 6174 #include "confdefs.h" |
6187 #include <$ac_hdr> | 6175 #include <$ac_hdr> |
6188 EOF | 6176 EOF |
6189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6190 { (eval echo configure:6191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6178 { (eval echo configure:6179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6192 if test -z "$ac_err"; then | 6180 if test -z "$ac_err"; then |
6193 rm -rf conftest* | 6181 rm -rf conftest* |
6194 eval "ac_cv_header_$ac_safe=yes" | 6182 eval "ac_cv_header_$ac_safe=yes" |
6195 else | 6183 else |
6216 fi | 6204 fi |
6217 done | 6205 done |
6218 | 6206 |
6219 | 6207 |
6220 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 6208 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
6221 echo "configure:6222: checking for XFree86" >&5 | 6209 echo "configure:6210: checking for XFree86" >&5 |
6222 if test -d "/usr/X386/include" -o \ | 6210 if test -d "/usr/X386/include" -o \ |
6223 -f "/etc/XF86Config" -o \ | 6211 -f "/etc/XF86Config" -o \ |
6224 -f "/etc/X11/XF86Config" -o \ | 6212 -f "/etc/X11/XF86Config" -o \ |
6225 -f "/usr/X11R6/lib/X11/XF86Config"; then | 6213 -f "/usr/X11R6/lib/X11/XF86Config"; then |
6226 echo "$ac_t""yes" 1>&6 | 6214 echo "$ac_t""yes" 1>&6 |
6236 echo "$ac_t""no" 1>&6 | 6224 echo "$ac_t""no" 1>&6 |
6237 fi | 6225 fi |
6238 | 6226 |
6239 test -z "$with_xmu" && { | 6227 test -z "$with_xmu" && { |
6240 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6228 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6241 echo "configure:6242: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6229 echo "configure:6230: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6242 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6230 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6243 | 6231 |
6244 xe_check_libs=" -lXmu " | 6232 xe_check_libs=" -lXmu " |
6245 cat > conftest.$ac_ext <<EOF | 6233 cat > conftest.$ac_ext <<EOF |
6246 #line 6247 "configure" | 6234 #line 6235 "configure" |
6247 #include "confdefs.h" | 6235 #include "confdefs.h" |
6248 /* Override any gcc2 internal prototype to avoid an error. */ | 6236 /* Override any gcc2 internal prototype to avoid an error. */ |
6249 /* We use char because int might match the return type of a gcc2 | 6237 /* We use char because int might match the return type of a gcc2 |
6250 builtin and then its argument prototype would still apply. */ | 6238 builtin and then its argument prototype would still apply. */ |
6251 char XmuReadBitmapDataFromFile(); | 6239 char XmuReadBitmapDataFromFile(); |
6252 | 6240 |
6253 int main() { | 6241 int main() { |
6254 XmuReadBitmapDataFromFile() | 6242 XmuReadBitmapDataFromFile() |
6255 ; return 0; } | 6243 ; return 0; } |
6256 EOF | 6244 EOF |
6257 if { (eval echo configure:6258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6245 if { (eval echo configure:6246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6258 rm -rf conftest* | 6246 rm -rf conftest* |
6259 eval "ac_cv_lib_$ac_lib_var=yes" | 6247 eval "ac_cv_lib_$ac_lib_var=yes" |
6260 else | 6248 else |
6261 echo "configure: failed program was:" >&5 | 6249 echo "configure: failed program was:" >&5 |
6262 cat conftest.$ac_ext >&5 | 6250 cat conftest.$ac_ext >&5 |
6291 | 6279 |
6292 fi | 6280 fi |
6293 | 6281 |
6294 | 6282 |
6295 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6283 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6296 echo "configure:6297: checking for main in -lXbsd" >&5 | 6284 echo "configure:6285: checking for main in -lXbsd" >&5 |
6297 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6285 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6298 | 6286 |
6299 xe_check_libs=" -lXbsd " | 6287 xe_check_libs=" -lXbsd " |
6300 cat > conftest.$ac_ext <<EOF | 6288 cat > conftest.$ac_ext <<EOF |
6301 #line 6302 "configure" | 6289 #line 6290 "configure" |
6302 #include "confdefs.h" | 6290 #include "confdefs.h" |
6303 | 6291 |
6304 int main() { | 6292 int main() { |
6305 main() | 6293 main() |
6306 ; return 0; } | 6294 ; return 0; } |
6307 EOF | 6295 EOF |
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6309 rm -rf conftest* | 6297 rm -rf conftest* |
6310 eval "ac_cv_lib_$ac_lib_var=yes" | 6298 eval "ac_cv_lib_$ac_lib_var=yes" |
6311 else | 6299 else |
6312 echo "configure: failed program was:" >&5 | 6300 echo "configure: failed program was:" >&5 |
6313 cat conftest.$ac_ext >&5 | 6301 cat conftest.$ac_ext >&5 |
6340 fi | 6328 fi |
6341 | 6329 |
6342 fi | 6330 fi |
6343 if test "$with_msw" != "no"; then | 6331 if test "$with_msw" != "no"; then |
6344 echo "checking for MS-Windows" 1>&6 | 6332 echo "checking for MS-Windows" 1>&6 |
6345 echo "configure:6346: checking for MS-Windows" >&5 | 6333 echo "configure:6334: checking for MS-Windows" >&5 |
6346 | 6334 |
6347 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6335 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6348 echo "configure:6349: checking for main in -lgdi32" >&5 | 6336 echo "configure:6337: checking for main in -lgdi32" >&5 |
6349 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6337 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6350 | 6338 |
6351 xe_check_libs=" -lgdi32 " | 6339 xe_check_libs=" -lgdi32 " |
6352 cat > conftest.$ac_ext <<EOF | 6340 cat > conftest.$ac_ext <<EOF |
6353 #line 6354 "configure" | 6341 #line 6342 "configure" |
6354 #include "confdefs.h" | 6342 #include "confdefs.h" |
6355 | 6343 |
6356 int main() { | 6344 int main() { |
6357 main() | 6345 main() |
6358 ; return 0; } | 6346 ; return 0; } |
6359 EOF | 6347 EOF |
6360 if { (eval echo configure:6361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6348 if { (eval echo configure:6349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6361 rm -rf conftest* | 6349 rm -rf conftest* |
6362 eval "ac_cv_lib_$ac_lib_var=yes" | 6350 eval "ac_cv_lib_$ac_lib_var=yes" |
6363 else | 6351 else |
6364 echo "configure: failed program was:" >&5 | 6352 echo "configure: failed program was:" >&5 |
6365 cat conftest.$ac_ext >&5 | 6353 cat conftest.$ac_ext >&5 |
6385 #define HAVE_MS_WINDOWS 1 | 6373 #define HAVE_MS_WINDOWS 1 |
6386 EOF | 6374 EOF |
6387 } | 6375 } |
6388 | 6376 |
6389 install_pp="$blddir/lib-src/installexe.sh" | 6377 install_pp="$blddir/lib-src/installexe.sh" |
6390 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32 -lwinspool\" to \$libs_system"; fi | 6378 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool\" to \$libs_system"; fi |
6391 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi | 6379 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi |
6392 if test "$window_system" != x11; then | 6380 if test "$window_system" != x11; then |
6393 window_system=msw | 6381 window_system=msw |
6394 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | 6382 test "$with_scrollbars" != "no" && with_scrollbars=msw \ |
6395 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 6383 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
6421 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6409 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6422 echo " xemacs will be linked with \"dialog-msw.o\"" | 6410 echo " xemacs will be linked with \"dialog-msw.o\"" |
6423 fi | 6411 fi |
6424 fi | 6412 fi |
6425 cat > conftest.$ac_ext <<EOF | 6413 cat > conftest.$ac_ext <<EOF |
6426 #line 6427 "configure" | 6414 #line 6415 "configure" |
6427 #include "confdefs.h" | 6415 #include "confdefs.h" |
6428 #include <fcntl.h> | 6416 #include <fcntl.h> |
6429 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6417 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6430 EOF | 6418 EOF |
6431 if { (eval echo configure:6432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6419 if { (eval echo configure:6420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6432 then | 6420 then |
6433 { test "$extra_verbose" = "yes" && cat << \EOF | 6421 { test "$extra_verbose" = "yes" && cat << \EOF |
6434 Defining HAVE_MSG_SELECT | 6422 Defining HAVE_MSG_SELECT |
6435 EOF | 6423 EOF |
6436 cat >> confdefs.h <<\EOF | 6424 cat >> confdefs.h <<\EOF |
6501 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6489 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6502 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6490 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6503 esac | 6491 esac |
6504 | 6492 |
6505 echo "checking for WM_COMMAND option" 1>&6 | 6493 echo "checking for WM_COMMAND option" 1>&6 |
6506 echo "configure:6507: checking for WM_COMMAND option" >&5; | 6494 echo "configure:6495: checking for WM_COMMAND option" >&5; |
6507 if test "$with_wmcommand" != "no"; then | 6495 if test "$with_wmcommand" != "no"; then |
6508 { test "$extra_verbose" = "yes" && cat << \EOF | 6496 { test "$extra_verbose" = "yes" && cat << \EOF |
6509 Defining HAVE_WMCOMMAND | 6497 Defining HAVE_WMCOMMAND |
6510 EOF | 6498 EOF |
6511 cat >> confdefs.h <<\EOF | 6499 cat >> confdefs.h <<\EOF |
6516 fi | 6504 fi |
6517 | 6505 |
6518 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6506 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6519 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6507 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6520 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6508 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6521 echo "configure:6522: checking for X11/Xauth.h" >&5 | 6509 echo "configure:6510: checking for X11/Xauth.h" >&5 |
6522 | 6510 |
6523 cat > conftest.$ac_ext <<EOF | 6511 cat > conftest.$ac_ext <<EOF |
6524 #line 6525 "configure" | 6512 #line 6513 "configure" |
6525 #include "confdefs.h" | 6513 #include "confdefs.h" |
6526 #include <X11/Xauth.h> | 6514 #include <X11/Xauth.h> |
6527 EOF | 6515 EOF |
6528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6516 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6529 { (eval echo configure:6530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6517 { (eval echo configure:6518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6531 if test -z "$ac_err"; then | 6519 if test -z "$ac_err"; then |
6532 rm -rf conftest* | 6520 rm -rf conftest* |
6533 eval "ac_cv_header_$ac_safe=yes" | 6521 eval "ac_cv_header_$ac_safe=yes" |
6534 else | 6522 else |
6547 with_xauth=no | 6535 with_xauth=no |
6548 fi | 6536 fi |
6549 } | 6537 } |
6550 test -z "$with_xauth" && { | 6538 test -z "$with_xauth" && { |
6551 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6539 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6552 echo "configure:6553: checking for XauGetAuthByAddr in -lXau" >&5 | 6540 echo "configure:6541: checking for XauGetAuthByAddr in -lXau" >&5 |
6553 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6541 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6554 | 6542 |
6555 xe_check_libs=" -lXau " | 6543 xe_check_libs=" -lXau " |
6556 cat > conftest.$ac_ext <<EOF | 6544 cat > conftest.$ac_ext <<EOF |
6557 #line 6558 "configure" | 6545 #line 6546 "configure" |
6558 #include "confdefs.h" | 6546 #include "confdefs.h" |
6559 /* Override any gcc2 internal prototype to avoid an error. */ | 6547 /* Override any gcc2 internal prototype to avoid an error. */ |
6560 /* We use char because int might match the return type of a gcc2 | 6548 /* We use char because int might match the return type of a gcc2 |
6561 builtin and then its argument prototype would still apply. */ | 6549 builtin and then its argument prototype would still apply. */ |
6562 char XauGetAuthByAddr(); | 6550 char XauGetAuthByAddr(); |
6563 | 6551 |
6564 int main() { | 6552 int main() { |
6565 XauGetAuthByAddr() | 6553 XauGetAuthByAddr() |
6566 ; return 0; } | 6554 ; return 0; } |
6567 EOF | 6555 EOF |
6568 if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6556 if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6569 rm -rf conftest* | 6557 rm -rf conftest* |
6570 eval "ac_cv_lib_$ac_lib_var=yes" | 6558 eval "ac_cv_lib_$ac_lib_var=yes" |
6571 else | 6559 else |
6572 echo "configure: failed program was:" >&5 | 6560 echo "configure: failed program was:" >&5 |
6573 cat conftest.$ac_ext >&5 | 6561 cat conftest.$ac_ext >&5 |
6608 | 6596 |
6609 if test "$with_tooltalk" != "no" ; then | 6597 if test "$with_tooltalk" != "no" ; then |
6610 for dir in "" "Tt/" "desktop/" ; do | 6598 for dir in "" "Tt/" "desktop/" ; do |
6611 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6599 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6612 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6600 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6613 echo "configure:6614: checking for ${dir}tt_c.h" >&5 | 6601 echo "configure:6602: checking for ${dir}tt_c.h" >&5 |
6614 | 6602 |
6615 cat > conftest.$ac_ext <<EOF | 6603 cat > conftest.$ac_ext <<EOF |
6616 #line 6617 "configure" | 6604 #line 6605 "configure" |
6617 #include "confdefs.h" | 6605 #include "confdefs.h" |
6618 #include <${dir}tt_c.h> | 6606 #include <${dir}tt_c.h> |
6619 EOF | 6607 EOF |
6620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6621 { (eval echo configure:6622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6609 { (eval echo configure:6610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6623 if test -z "$ac_err"; then | 6611 if test -z "$ac_err"; then |
6624 rm -rf conftest* | 6612 rm -rf conftest* |
6625 eval "ac_cv_header_$ac_safe=yes" | 6613 eval "ac_cv_header_$ac_safe=yes" |
6626 else | 6614 else |
6652 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6640 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6653 | 6641 |
6654 xe_msg_checking="for tt_message_create in -ltt" | 6642 xe_msg_checking="for tt_message_create in -ltt" |
6655 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6643 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6656 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6644 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6657 echo "configure:6658: checking "$xe_msg_checking"" >&5 | 6645 echo "configure:6646: checking "$xe_msg_checking"" >&5 |
6658 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6646 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6659 | 6647 |
6660 xe_check_libs=" -ltt $extra_libs" | 6648 xe_check_libs=" -ltt $extra_libs" |
6661 cat > conftest.$ac_ext <<EOF | 6649 cat > conftest.$ac_ext <<EOF |
6662 #line 6663 "configure" | 6650 #line 6651 "configure" |
6663 #include "confdefs.h" | 6651 #include "confdefs.h" |
6664 /* Override any gcc2 internal prototype to avoid an error. */ | 6652 /* Override any gcc2 internal prototype to avoid an error. */ |
6665 /* We use char because int might match the return type of a gcc2 | 6653 /* We use char because int might match the return type of a gcc2 |
6666 builtin and then its argument prototype would still apply. */ | 6654 builtin and then its argument prototype would still apply. */ |
6667 char tt_message_create(); | 6655 char tt_message_create(); |
6668 | 6656 |
6669 int main() { | 6657 int main() { |
6670 tt_message_create() | 6658 tt_message_create() |
6671 ; return 0; } | 6659 ; return 0; } |
6672 EOF | 6660 EOF |
6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6661 if { (eval echo configure:6662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6674 rm -rf conftest* | 6662 rm -rf conftest* |
6675 eval "ac_cv_lib_$ac_lib_var=yes" | 6663 eval "ac_cv_lib_$ac_lib_var=yes" |
6676 else | 6664 else |
6677 echo "configure: failed program was:" >&5 | 6665 echo "configure: failed program was:" >&5 |
6678 cat conftest.$ac_ext >&5 | 6666 cat conftest.$ac_ext >&5 |
6725 fi | 6713 fi |
6726 fi | 6714 fi |
6727 | 6715 |
6728 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6716 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6729 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6717 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6730 echo "configure:6731: checking for Dt/Dt.h" >&5 | 6718 echo "configure:6719: checking for Dt/Dt.h" >&5 |
6731 | 6719 |
6732 cat > conftest.$ac_ext <<EOF | 6720 cat > conftest.$ac_ext <<EOF |
6733 #line 6734 "configure" | 6721 #line 6722 "configure" |
6734 #include "confdefs.h" | 6722 #include "confdefs.h" |
6735 #include <Dt/Dt.h> | 6723 #include <Dt/Dt.h> |
6736 EOF | 6724 EOF |
6737 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6738 { (eval echo configure:6739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6726 { (eval echo configure:6727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6739 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6740 if test -z "$ac_err"; then | 6728 if test -z "$ac_err"; then |
6741 rm -rf conftest* | 6729 rm -rf conftest* |
6742 eval "ac_cv_header_$ac_safe=yes" | 6730 eval "ac_cv_header_$ac_safe=yes" |
6743 else | 6731 else |
6756 with_cde=no | 6744 with_cde=no |
6757 fi | 6745 fi |
6758 } | 6746 } |
6759 test -z "$with_cde" && { | 6747 test -z "$with_cde" && { |
6760 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6748 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6761 echo "configure:6762: checking for DtDndDragStart in -lDtSvc" >&5 | 6749 echo "configure:6750: checking for DtDndDragStart in -lDtSvc" >&5 |
6762 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6750 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6763 | 6751 |
6764 xe_check_libs=" -lDtSvc " | 6752 xe_check_libs=" -lDtSvc " |
6765 cat > conftest.$ac_ext <<EOF | 6753 cat > conftest.$ac_ext <<EOF |
6766 #line 6767 "configure" | 6754 #line 6755 "configure" |
6767 #include "confdefs.h" | 6755 #include "confdefs.h" |
6768 /* Override any gcc2 internal prototype to avoid an error. */ | 6756 /* Override any gcc2 internal prototype to avoid an error. */ |
6769 /* We use char because int might match the return type of a gcc2 | 6757 /* We use char because int might match the return type of a gcc2 |
6770 builtin and then its argument prototype would still apply. */ | 6758 builtin and then its argument prototype would still apply. */ |
6771 char DtDndDragStart(); | 6759 char DtDndDragStart(); |
6772 | 6760 |
6773 int main() { | 6761 int main() { |
6774 DtDndDragStart() | 6762 DtDndDragStart() |
6775 ; return 0; } | 6763 ; return 0; } |
6776 EOF | 6764 EOF |
6777 if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6765 if { (eval echo configure:6766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6778 rm -rf conftest* | 6766 rm -rf conftest* |
6779 eval "ac_cv_lib_$ac_lib_var=yes" | 6767 eval "ac_cv_lib_$ac_lib_var=yes" |
6780 else | 6768 else |
6781 echo "configure: failed program was:" >&5 | 6769 echo "configure: failed program was:" >&5 |
6782 cat conftest.$ac_ext >&5 | 6770 cat conftest.$ac_ext >&5 |
6841 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6829 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6842 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6830 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6843 fi | 6831 fi |
6844 | 6832 |
6845 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6833 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6846 echo "configure:6847: checking if drag and drop API is needed" >&5 | 6834 echo "configure:6835: checking if drag and drop API is needed" >&5 |
6847 if test "$with_dragndrop" != "no" ; then | 6835 if test "$with_dragndrop" != "no" ; then |
6848 if test -n "$dragndrop_proto" ; then | 6836 if test -n "$dragndrop_proto" ; then |
6849 with_dragndrop=yes | 6837 with_dragndrop=yes |
6850 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6838 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6851 { test "$extra_verbose" = "yes" && cat << \EOF | 6839 { test "$extra_verbose" = "yes" && cat << \EOF |
6862 echo "$ac_t""no" 1>&6 | 6850 echo "$ac_t""no" 1>&6 |
6863 fi | 6851 fi |
6864 fi | 6852 fi |
6865 | 6853 |
6866 echo "checking for LDAP" 1>&6 | 6854 echo "checking for LDAP" 1>&6 |
6867 echo "configure:6868: checking for LDAP" >&5 | 6855 echo "configure:6856: checking for LDAP" >&5 |
6868 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6856 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6869 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6857 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6870 echo "configure:6871: checking for ldap.h" >&5 | 6858 echo "configure:6859: checking for ldap.h" >&5 |
6871 | 6859 |
6872 cat > conftest.$ac_ext <<EOF | 6860 cat > conftest.$ac_ext <<EOF |
6873 #line 6874 "configure" | 6861 #line 6862 "configure" |
6874 #include "confdefs.h" | 6862 #include "confdefs.h" |
6875 #include <ldap.h> | 6863 #include <ldap.h> |
6876 EOF | 6864 EOF |
6877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6878 { (eval echo configure:6879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6866 { (eval echo configure:6867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6880 if test -z "$ac_err"; then | 6868 if test -z "$ac_err"; then |
6881 rm -rf conftest* | 6869 rm -rf conftest* |
6882 eval "ac_cv_header_$ac_safe=yes" | 6870 eval "ac_cv_header_$ac_safe=yes" |
6883 else | 6871 else |
6896 with_ldap=no | 6884 with_ldap=no |
6897 fi | 6885 fi |
6898 } | 6886 } |
6899 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6887 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6900 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6888 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6901 echo "configure:6902: checking for lber.h" >&5 | 6889 echo "configure:6890: checking for lber.h" >&5 |
6902 | 6890 |
6903 cat > conftest.$ac_ext <<EOF | 6891 cat > conftest.$ac_ext <<EOF |
6904 #line 6905 "configure" | 6892 #line 6893 "configure" |
6905 #include "confdefs.h" | 6893 #include "confdefs.h" |
6906 #include <lber.h> | 6894 #include <lber.h> |
6907 EOF | 6895 EOF |
6908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6909 { (eval echo configure:6910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6897 { (eval echo configure:6898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6911 if test -z "$ac_err"; then | 6899 if test -z "$ac_err"; then |
6912 rm -rf conftest* | 6900 rm -rf conftest* |
6913 eval "ac_cv_header_$ac_safe=yes" | 6901 eval "ac_cv_header_$ac_safe=yes" |
6914 else | 6902 else |
6928 fi | 6916 fi |
6929 } | 6917 } |
6930 if test "$with_ldap" != "no"; then | 6918 if test "$with_ldap" != "no"; then |
6931 | 6919 |
6932 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6920 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6933 echo "configure:6934: checking for ldap_search in -lldap" >&5 | 6921 echo "configure:6922: checking for ldap_search in -lldap" >&5 |
6934 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6922 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6935 | 6923 |
6936 xe_check_libs=" -lldap " | 6924 xe_check_libs=" -lldap " |
6937 cat > conftest.$ac_ext <<EOF | 6925 cat > conftest.$ac_ext <<EOF |
6938 #line 6939 "configure" | 6926 #line 6927 "configure" |
6939 #include "confdefs.h" | 6927 #include "confdefs.h" |
6940 /* Override any gcc2 internal prototype to avoid an error. */ | 6928 /* Override any gcc2 internal prototype to avoid an error. */ |
6941 /* We use char because int might match the return type of a gcc2 | 6929 /* We use char because int might match the return type of a gcc2 |
6942 builtin and then its argument prototype would still apply. */ | 6930 builtin and then its argument prototype would still apply. */ |
6943 char ldap_search(); | 6931 char ldap_search(); |
6944 | 6932 |
6945 int main() { | 6933 int main() { |
6946 ldap_search() | 6934 ldap_search() |
6947 ; return 0; } | 6935 ; return 0; } |
6948 EOF | 6936 EOF |
6949 if { (eval echo configure:6950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6937 if { (eval echo configure:6938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6950 rm -rf conftest* | 6938 rm -rf conftest* |
6951 eval "ac_cv_lib_$ac_lib_var=yes" | 6939 eval "ac_cv_lib_$ac_lib_var=yes" |
6952 else | 6940 else |
6953 echo "configure: failed program was:" >&5 | 6941 echo "configure: failed program was:" >&5 |
6954 cat conftest.$ac_ext >&5 | 6942 cat conftest.$ac_ext >&5 |
6969 | 6957 |
6970 test "$with_ldap_nolber" = "no" && { | 6958 test "$with_ldap_nolber" = "no" && { |
6971 xe_msg_checking="for ldap_open in -lldap" | 6959 xe_msg_checking="for ldap_open in -lldap" |
6972 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6960 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6973 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6961 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6974 echo "configure:6975: checking "$xe_msg_checking"" >&5 | 6962 echo "configure:6963: checking "$xe_msg_checking"" >&5 |
6975 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6963 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6976 | 6964 |
6977 xe_check_libs=" -lldap -llber" | 6965 xe_check_libs=" -lldap -llber" |
6978 cat > conftest.$ac_ext <<EOF | 6966 cat > conftest.$ac_ext <<EOF |
6979 #line 6980 "configure" | 6967 #line 6968 "configure" |
6980 #include "confdefs.h" | 6968 #include "confdefs.h" |
6981 /* Override any gcc2 internal prototype to avoid an error. */ | 6969 /* Override any gcc2 internal prototype to avoid an error. */ |
6982 /* We use char because int might match the return type of a gcc2 | 6970 /* We use char because int might match the return type of a gcc2 |
6983 builtin and then its argument prototype would still apply. */ | 6971 builtin and then its argument prototype would still apply. */ |
6984 char ldap_open(); | 6972 char ldap_open(); |
6985 | 6973 |
6986 int main() { | 6974 int main() { |
6987 ldap_open() | 6975 ldap_open() |
6988 ; return 0; } | 6976 ; return 0; } |
6989 EOF | 6977 EOF |
6990 if { (eval echo configure:6991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6991 rm -rf conftest* | 6979 rm -rf conftest* |
6992 eval "ac_cv_lib_$ac_lib_var=yes" | 6980 eval "ac_cv_lib_$ac_lib_var=yes" |
6993 else | 6981 else |
6994 echo "configure: failed program was:" >&5 | 6982 echo "configure: failed program was:" >&5 |
6995 cat conftest.$ac_ext >&5 | 6983 cat conftest.$ac_ext >&5 |
7010 } | 6998 } |
7011 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 6999 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7012 xe_msg_checking="for ldap_open in -lldap" | 7000 xe_msg_checking="for ldap_open in -lldap" |
7013 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7001 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7014 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7002 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7015 echo "configure:7016: checking "$xe_msg_checking"" >&5 | 7003 echo "configure:7004: checking "$xe_msg_checking"" >&5 |
7016 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7004 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7017 | 7005 |
7018 xe_check_libs=" -lldap -llber -lkrb" | 7006 xe_check_libs=" -lldap -llber -lkrb" |
7019 cat > conftest.$ac_ext <<EOF | 7007 cat > conftest.$ac_ext <<EOF |
7020 #line 7021 "configure" | 7008 #line 7009 "configure" |
7021 #include "confdefs.h" | 7009 #include "confdefs.h" |
7022 /* Override any gcc2 internal prototype to avoid an error. */ | 7010 /* Override any gcc2 internal prototype to avoid an error. */ |
7023 /* We use char because int might match the return type of a gcc2 | 7011 /* We use char because int might match the return type of a gcc2 |
7024 builtin and then its argument prototype would still apply. */ | 7012 builtin and then its argument prototype would still apply. */ |
7025 char ldap_open(); | 7013 char ldap_open(); |
7026 | 7014 |
7027 int main() { | 7015 int main() { |
7028 ldap_open() | 7016 ldap_open() |
7029 ; return 0; } | 7017 ; return 0; } |
7030 EOF | 7018 EOF |
7031 if { (eval echo configure:7032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7019 if { (eval echo configure:7020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7032 rm -rf conftest* | 7020 rm -rf conftest* |
7033 eval "ac_cv_lib_$ac_lib_var=yes" | 7021 eval "ac_cv_lib_$ac_lib_var=yes" |
7034 else | 7022 else |
7035 echo "configure: failed program was:" >&5 | 7023 echo "configure: failed program was:" >&5 |
7036 cat conftest.$ac_ext >&5 | 7024 cat conftest.$ac_ext >&5 |
7051 } | 7039 } |
7052 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7040 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7053 xe_msg_checking="for ldap_open in -lldap" | 7041 xe_msg_checking="for ldap_open in -lldap" |
7054 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7042 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7055 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7043 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7056 echo "configure:7057: checking "$xe_msg_checking"" >&5 | 7044 echo "configure:7045: checking "$xe_msg_checking"" >&5 |
7057 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7045 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7058 | 7046 |
7059 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7047 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7060 cat > conftest.$ac_ext <<EOF | 7048 cat > conftest.$ac_ext <<EOF |
7061 #line 7062 "configure" | 7049 #line 7050 "configure" |
7062 #include "confdefs.h" | 7050 #include "confdefs.h" |
7063 /* Override any gcc2 internal prototype to avoid an error. */ | 7051 /* Override any gcc2 internal prototype to avoid an error. */ |
7064 /* We use char because int might match the return type of a gcc2 | 7052 /* We use char because int might match the return type of a gcc2 |
7065 builtin and then its argument prototype would still apply. */ | 7053 builtin and then its argument prototype would still apply. */ |
7066 char ldap_open(); | 7054 char ldap_open(); |
7067 | 7055 |
7068 int main() { | 7056 int main() { |
7069 ldap_open() | 7057 ldap_open() |
7070 ; return 0; } | 7058 ; return 0; } |
7071 EOF | 7059 EOF |
7072 if { (eval echo configure:7073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7060 if { (eval echo configure:7061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7073 rm -rf conftest* | 7061 rm -rf conftest* |
7074 eval "ac_cv_lib_$ac_lib_var=yes" | 7062 eval "ac_cv_lib_$ac_lib_var=yes" |
7075 else | 7063 else |
7076 echo "configure: failed program was:" >&5 | 7064 echo "configure: failed program was:" >&5 |
7077 cat conftest.$ac_ext >&5 | 7065 cat conftest.$ac_ext >&5 |
7118 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7106 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7119 fi | 7107 fi |
7120 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7108 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7121 do | 7109 do |
7122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7123 echo "configure:7124: checking for $ac_func" >&5 | 7111 echo "configure:7112: checking for $ac_func" >&5 |
7124 | 7112 |
7125 cat > conftest.$ac_ext <<EOF | 7113 cat > conftest.$ac_ext <<EOF |
7126 #line 7127 "configure" | 7114 #line 7115 "configure" |
7127 #include "confdefs.h" | 7115 #include "confdefs.h" |
7128 /* System header to define __stub macros and hopefully few prototypes, | 7116 /* System header to define __stub macros and hopefully few prototypes, |
7129 which can conflict with char $ac_func(); below. */ | 7117 which can conflict with char $ac_func(); below. */ |
7130 #include <assert.h> | 7118 #include <assert.h> |
7131 /* Override any gcc2 internal prototype to avoid an error. */ | 7119 /* Override any gcc2 internal prototype to avoid an error. */ |
7144 $ac_func(); | 7132 $ac_func(); |
7145 #endif | 7133 #endif |
7146 | 7134 |
7147 ; return 0; } | 7135 ; return 0; } |
7148 EOF | 7136 EOF |
7149 if { (eval echo configure:7150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7137 if { (eval echo configure:7138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7150 rm -rf conftest* | 7138 rm -rf conftest* |
7151 eval "ac_cv_func_$ac_func=yes" | 7139 eval "ac_cv_func_$ac_func=yes" |
7152 else | 7140 else |
7153 echo "configure: failed program was:" >&5 | 7141 echo "configure: failed program was:" >&5 |
7154 cat conftest.$ac_ext >&5 | 7142 cat conftest.$ac_ext >&5 |
7173 fi | 7161 fi |
7174 done | 7162 done |
7175 | 7163 |
7176 fi | 7164 fi |
7177 | 7165 |
7178 echo "checking for PostgreSQL" 1>&6 | |
7179 echo "configure:7180: checking for PostgreSQL" >&5 | |
7180 postgres_h_path="" | |
7181 postgres_includes_found=no | |
7182 save_c_switch_site="$c_switch_site" | |
7183 | |
7184 if test "$with_postgresql" != "no"; then | 7166 if test "$with_postgresql" != "no"; then |
7185 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7167 echo "checking for PostgreSQL" 1>&6 |
7186 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7168 echo "configure:7169: checking for PostgreSQL" >&5 |
7187 echo "configure:7188: checking for libpq-fe.h" >&5 | 7169 |
7188 | 7170 for header_dir in "" "pgsql/" "postgresql/"; do |
7189 cat > conftest.$ac_ext <<EOF | 7171 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7190 #line 7191 "configure" | 7172 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7191 #include "confdefs.h" | 7173 echo "configure:7174: checking for ${header_dir}libpq-fe.h" >&5 |
7192 #include <libpq-fe.h> | 7174 |
7175 cat > conftest.$ac_ext <<EOF | |
7176 #line 7177 "configure" | |
7177 #include "confdefs.h" | |
7178 #include <${header_dir}libpq-fe.h> | |
7193 EOF | 7179 EOF |
7194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7195 { (eval echo configure:7196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7181 { (eval echo configure:7182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7197 if test -z "$ac_err"; then | 7183 if test -z "$ac_err"; then |
7198 rm -rf conftest* | 7184 rm -rf conftest* |
7199 eval "ac_cv_header_$ac_safe=yes" | 7185 eval "ac_cv_header_$ac_safe=yes" |
7200 else | 7186 else |
7205 eval "ac_cv_header_$ac_safe=no" | 7191 eval "ac_cv_header_$ac_safe=no" |
7206 fi | 7192 fi |
7207 rm -f conftest* | 7193 rm -f conftest* |
7208 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7209 echo "$ac_t""yes" 1>&6 | 7195 echo "$ac_t""yes" 1>&6 |
7210 postgres_includes_found=yes | 7196 libpq_fe_h_file=${header_dir}libpq-fe.h; break |
7211 else | 7197 else |
7212 echo "$ac_t""no" 1>&6 | 7198 echo "$ac_t""no" 1>&6 |
7213 fi | 7199 fi |
7214 | 7200 |
7215 fi | 7201 done |
7216 | 7202 |
7217 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 7203 test -n "$libpq_fe_h_file" && { |
7218 -d "/usr/local/pgsql/include"; then | |
7219 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" | |
7220 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7221 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7222 echo "configure:7223: checking for libpq-fe.h" >&5 | |
7223 | |
7224 cat > conftest.$ac_ext <<EOF | |
7225 #line 7226 "configure" | |
7226 #include "confdefs.h" | |
7227 #include <libpq-fe.h> | |
7228 EOF | |
7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7232 if test -z "$ac_err"; then | |
7233 rm -rf conftest* | |
7234 eval "ac_cv_header_$ac_safe=yes" | |
7235 else | |
7236 echo "$ac_err" >&5 | |
7237 echo "configure: failed program was:" >&5 | |
7238 cat conftest.$ac_ext >&5 | |
7239 rm -rf conftest* | |
7240 eval "ac_cv_header_$ac_safe=no" | |
7241 fi | |
7242 rm -f conftest* | |
7243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7244 echo "$ac_t""yes" 1>&6 | |
7245 postgres_includes_found=yes | |
7246 else | |
7247 echo "$ac_t""no" 1>&6 | |
7248 fi | |
7249 | |
7250 if test "$postgres_includes_found" != "yes"; then | |
7251 postgres_h_path="/usr/local/pgsql/include" | |
7252 fi | |
7253 c_switch_site="$save_c_switch_site" | |
7254 fi | |
7255 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | |
7256 -d "/usr/include/pgsql"; then | |
7257 c_switch_site="$c_switch_site -I/usr/include/pgsql" | |
7258 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7259 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7260 echo "configure:7261: checking for libpq-fe.h" >&5 | |
7261 | |
7262 cat > conftest.$ac_ext <<EOF | |
7263 #line 7264 "configure" | |
7264 #include "confdefs.h" | |
7265 #include <libpq-fe.h> | |
7266 EOF | |
7267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7268 { (eval echo configure:7269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7270 if test -z "$ac_err"; then | |
7271 rm -rf conftest* | |
7272 eval "ac_cv_header_$ac_safe=yes" | |
7273 else | |
7274 echo "$ac_err" >&5 | |
7275 echo "configure: failed program was:" >&5 | |
7276 cat conftest.$ac_ext >&5 | |
7277 rm -rf conftest* | |
7278 eval "ac_cv_header_$ac_safe=no" | |
7279 fi | |
7280 rm -f conftest* | |
7281 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7282 echo "$ac_t""yes" 1>&6 | |
7283 postgres_includes_found=yes | |
7284 else | |
7285 echo "$ac_t""no" 1>&6 | |
7286 fi | |
7287 | |
7288 if test "$postgres_includes_found" = "yes"; then | |
7289 postgres_h_path="pgsql" | |
7290 fi | |
7291 c_switch_site="$save_c_switch_site" | |
7292 fi | |
7293 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | |
7294 -d "/usr/include/postgresql"; then | |
7295 c_switch_site="$c_switch_site -I/usr/include/postgresql" | |
7296 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7297 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7298 echo "configure:7299: checking for libpq-fe.h" >&5 | |
7299 | |
7300 cat > conftest.$ac_ext <<EOF | |
7301 #line 7302 "configure" | |
7302 #include "confdefs.h" | |
7303 #include <libpq-fe.h> | |
7304 EOF | |
7305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7306 { (eval echo configure:7307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7308 if test -z "$ac_err"; then | |
7309 rm -rf conftest* | |
7310 eval "ac_cv_header_$ac_safe=yes" | |
7311 else | |
7312 echo "$ac_err" >&5 | |
7313 echo "configure: failed program was:" >&5 | |
7314 cat conftest.$ac_ext >&5 | |
7315 rm -rf conftest* | |
7316 eval "ac_cv_header_$ac_safe=no" | |
7317 fi | |
7318 rm -f conftest* | |
7319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7320 echo "$ac_t""yes" 1>&6 | |
7321 postgres_includes_found=yes | |
7322 else | |
7323 echo "$ac_t""no" 1>&6 | |
7324 fi | |
7325 | |
7326 if test "$postgres_includes_found" = "yes"; then | |
7327 postgres_h_path="postgresql" | |
7328 fi | |
7329 c_switch_site="$save_c_switch_site" | |
7330 fi | |
7331 | |
7332 if test "$postgres_includes_found" = "yes"; then | |
7333 | |
7334 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7204 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7335 echo "configure:7336: checking for PQconnectdb in -lpq" >&5 | 7205 echo "configure:7206: checking for PQconnectdb in -lpq" >&5 |
7336 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7206 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7337 | 7207 |
7338 xe_check_libs=" -lpq " | 7208 xe_check_libs=" -lpq " |
7339 cat > conftest.$ac_ext <<EOF | 7209 cat > conftest.$ac_ext <<EOF |
7340 #line 7341 "configure" | 7210 #line 7211 "configure" |
7341 #include "confdefs.h" | 7211 #include "confdefs.h" |
7342 /* Override any gcc2 internal prototype to avoid an error. */ | 7212 /* Override any gcc2 internal prototype to avoid an error. */ |
7343 /* We use char because int might match the return type of a gcc2 | 7213 /* We use char because int might match the return type of a gcc2 |
7344 builtin and then its argument prototype would still apply. */ | 7214 builtin and then its argument prototype would still apply. */ |
7345 char PQconnectdb(); | 7215 char PQconnectdb(); |
7346 | 7216 |
7347 int main() { | 7217 int main() { |
7348 PQconnectdb() | 7218 PQconnectdb() |
7349 ; return 0; } | 7219 ; return 0; } |
7350 EOF | 7220 EOF |
7351 if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7221 if { (eval echo configure:7222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7352 rm -rf conftest* | 7222 rm -rf conftest* |
7353 eval "ac_cv_lib_$ac_lib_var=yes" | 7223 eval "ac_cv_lib_$ac_lib_var=yes" |
7354 else | 7224 else |
7355 echo "configure: failed program was:" >&5 | 7225 echo "configure: failed program was:" >&5 |
7356 cat conftest.$ac_ext >&5 | 7226 cat conftest.$ac_ext >&5 |
7360 rm -f conftest* | 7230 rm -f conftest* |
7361 xe_check_libs="" | 7231 xe_check_libs="" |
7362 | 7232 |
7363 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7364 echo "$ac_t""yes" 1>&6 | 7234 echo "$ac_t""yes" 1>&6 |
7365 with_postgresql=yes | 7235 have_libpq=yes |
7366 else | 7236 else |
7367 echo "$ac_t""no" 1>&6 | 7237 echo "$ac_t""no" 1>&6 |
7368 with_postgresql=no | 7238 fi |
7369 fi | 7239 |
7370 | 7240 } |
7371 | 7241 |
7372 fi | 7242 if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes"; then |
7373 if test "$with_postgresql" = "yes"; then | 7243 with_postgresql=yes |
7374 | 7244 { test "$extra_verbose" = "yes" && cat << \EOF |
7245 Defining HAVE_POSTGRESQL | |
7246 EOF | |
7247 cat >> confdefs.h <<\EOF | |
7248 #define HAVE_POSTGRESQL 1 | |
7249 EOF | |
7250 } | |
7251 | |
7252 | |
7375 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7253 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7376 echo "configure:7377: checking for PQconnectStart in -lpq" >&5 | 7254 echo "configure:7255: checking for PQconnectStart in -lpq" >&5 |
7377 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7255 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7378 | 7256 |
7379 xe_check_libs=" -lpq " | 7257 xe_check_libs=" -lpq " |
7380 cat > conftest.$ac_ext <<EOF | 7258 cat > conftest.$ac_ext <<EOF |
7381 #line 7382 "configure" | 7259 #line 7260 "configure" |
7382 #include "confdefs.h" | 7260 #include "confdefs.h" |
7383 /* Override any gcc2 internal prototype to avoid an error. */ | 7261 /* Override any gcc2 internal prototype to avoid an error. */ |
7384 /* We use char because int might match the return type of a gcc2 | 7262 /* We use char because int might match the return type of a gcc2 |
7385 builtin and then its argument prototype would still apply. */ | 7263 builtin and then its argument prototype would still apply. */ |
7386 char PQconnectStart(); | 7264 char PQconnectStart(); |
7387 | 7265 |
7388 int main() { | 7266 int main() { |
7389 PQconnectStart() | 7267 PQconnectStart() |
7390 ; return 0; } | 7268 ; return 0; } |
7391 EOF | 7269 EOF |
7392 if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7270 if { (eval echo configure:7271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7393 rm -rf conftest* | 7271 rm -rf conftest* |
7394 eval "ac_cv_lib_$ac_lib_var=yes" | 7272 eval "ac_cv_lib_$ac_lib_var=yes" |
7395 else | 7273 else |
7396 echo "configure: failed program was:" >&5 | 7274 echo "configure: failed program was:" >&5 |
7397 cat conftest.$ac_ext >&5 | 7275 cat conftest.$ac_ext >&5 |
7401 rm -f conftest* | 7279 rm -f conftest* |
7402 xe_check_libs="" | 7280 xe_check_libs="" |
7403 | 7281 |
7404 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7405 echo "$ac_t""yes" 1>&6 | 7283 echo "$ac_t""yes" 1>&6 |
7406 with_postgresqlv7=yes | 7284 with_postgresqlv7=yes; |
7407 else | 7285 { test "$extra_verbose" = "yes" && cat << \EOF |
7408 echo "$ac_t""no" 1>&6 | 7286 Defining HAVE_POSTGRESQLV7 |
7409 with_postgresqlv7=no | 7287 EOF |
7410 fi | 7288 cat >> confdefs.h <<\EOF |
7411 | 7289 #define HAVE_POSTGRESQLV7 1 |
7412 | 7290 EOF |
7413 fi | 7291 } |
7414 if test "$with_postgresql" = "yes"; then | 7292 |
7415 if test -n "$postgres_h_path"; then | 7293 else |
7416 { test "$extra_verbose" = "yes" && cat << EOF | 7294 echo "$ac_t""no" 1>&6 |
7417 Defining POSTGRES_H_PATH = $postgres_h_path | 7295 fi |
7296 | |
7297 | |
7298 { test "$extra_verbose" = "yes" && cat << EOF | |
7299 Defining LIBPQ_FE_H_FILE = "$libpq_fe_h_file" | |
7418 EOF | 7300 EOF |
7419 cat >> confdefs.h <<EOF | 7301 cat >> confdefs.h <<EOF |
7420 #define POSTGRES_H_PATH $postgres_h_path | 7302 #define LIBPQ_FE_H_FILE "$libpq_fe_h_file" |
7421 EOF | 7303 EOF |
7422 } | 7304 } |
7423 | 7305 |
7424 fi | 7306 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi |
7425 { test "$extra_verbose" = "yes" && cat << \EOF | 7307 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then |
7426 Defining HAVE_POSTGRESQL | |
7427 EOF | |
7428 cat >> confdefs.h <<\EOF | |
7429 #define HAVE_POSTGRESQL 1 | |
7430 EOF | |
7431 } | |
7432 | |
7433 if test "$with_postgresqlv7" = "yes"; then | |
7434 { test "$extra_verbose" = "yes" && cat << \EOF | |
7435 Defining HAVE_POSTGRESQLV7 | |
7436 EOF | |
7437 cat >> confdefs.h <<\EOF | |
7438 #define HAVE_POSTGRESQLV7 1 | |
7439 EOF | |
7440 } | |
7441 | |
7442 fi | |
7443 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi | |
7444 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then | |
7445 echo " xemacs will be linked with \"postgresql.o\"" | 7308 echo " xemacs will be linked with \"postgresql.o\"" |
7446 fi | 7309 fi |
7310 elif test "$with_postgresql" = "yes"; then | |
7311 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --site-prefixes." >&2; exit 1; } | |
7312 fi | |
7447 fi | 7313 fi |
7448 | 7314 |
7449 | 7315 |
7450 if test "$window_system" != "none"; then | 7316 if test "$window_system" != "none"; then |
7451 echo "checking for graphics libraries" 1>&6 | 7317 echo "checking for graphics libraries" 1>&6 |
7452 echo "configure:7453: checking for graphics libraries" >&5 | 7318 echo "configure:7319: checking for graphics libraries" >&5 |
7453 | 7319 |
7454 xpm_problem="" | 7320 xpm_problem="" |
7455 if test -z "$with_xpm"; then | 7321 if test -z "$with_xpm"; then |
7456 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7322 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7457 echo "configure:7458: checking for Xpm - no older than 3.4f" >&5 | 7323 echo "configure:7324: checking for Xpm - no older than 3.4f" >&5 |
7458 xe_check_libs=-lXpm | 7324 xe_check_libs=-lXpm |
7459 cat > conftest.$ac_ext <<EOF | 7325 cat > conftest.$ac_ext <<EOF |
7460 #line 7461 "configure" | 7326 #line 7327 "configure" |
7461 #include "confdefs.h" | 7327 #include "confdefs.h" |
7462 #define XPM_NUMBERS | 7328 #define XPM_NUMBERS |
7463 #include <X11/xpm.h> | 7329 #include <X11/xpm.h> |
7464 int main(int c, char **v) { | 7330 int main(int c, char **v) { |
7465 return c == 1 ? 0 : | 7331 return c == 1 ? 0 : |
7466 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7332 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7467 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7333 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7468 EOF | 7334 EOF |
7469 if { (eval echo configure:7470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7335 if { (eval echo configure:7336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7470 then | 7336 then |
7471 ./conftest dummy_arg; xpm_status=$?; | 7337 ./conftest dummy_arg; xpm_status=$?; |
7472 if test "$xpm_status" = "0"; then | 7338 if test "$xpm_status" = "0"; then |
7473 with_xpm=yes; | 7339 with_xpm=yes; |
7474 else | 7340 else |
7506 EOF | 7372 EOF |
7507 } | 7373 } |
7508 | 7374 |
7509 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7375 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7510 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7376 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7511 echo "configure:7512: checking for \"FOR_MSW\" xpm" >&5 | 7377 echo "configure:7378: checking for \"FOR_MSW\" xpm" >&5 |
7512 xe_check_libs=-lXpm | 7378 xe_check_libs=-lXpm |
7513 cat > conftest.$ac_ext <<EOF | 7379 cat > conftest.$ac_ext <<EOF |
7514 #line 7515 "configure" | 7380 #line 7381 "configure" |
7515 #include "confdefs.h" | 7381 #include "confdefs.h" |
7516 | 7382 |
7517 int main() { | 7383 int main() { |
7518 XpmCreatePixmapFromData() | 7384 XpmCreatePixmapFromData() |
7519 ; return 0; } | 7385 ; return 0; } |
7520 EOF | 7386 EOF |
7521 if { (eval echo configure:7522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7387 if { (eval echo configure:7388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7522 rm -rf conftest* | 7388 rm -rf conftest* |
7523 xpm_for_msw=no | 7389 xpm_for_msw=no |
7524 else | 7390 else |
7525 echo "configure: failed program was:" >&5 | 7391 echo "configure: failed program was:" >&5 |
7526 cat conftest.$ac_ext >&5 | 7392 cat conftest.$ac_ext >&5 |
7542 fi | 7408 fi |
7543 fi | 7409 fi |
7544 | 7410 |
7545 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7411 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7546 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7412 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7547 echo "configure:7548: checking for compface.h" >&5 | 7413 echo "configure:7414: checking for compface.h" >&5 |
7548 | 7414 |
7549 cat > conftest.$ac_ext <<EOF | 7415 cat > conftest.$ac_ext <<EOF |
7550 #line 7551 "configure" | 7416 #line 7417 "configure" |
7551 #include "confdefs.h" | 7417 #include "confdefs.h" |
7552 #include <compface.h> | 7418 #include <compface.h> |
7553 EOF | 7419 EOF |
7554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7555 { (eval echo configure:7556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7421 { (eval echo configure:7422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7557 if test -z "$ac_err"; then | 7423 if test -z "$ac_err"; then |
7558 rm -rf conftest* | 7424 rm -rf conftest* |
7559 eval "ac_cv_header_$ac_safe=yes" | 7425 eval "ac_cv_header_$ac_safe=yes" |
7560 else | 7426 else |
7573 with_xface=no | 7439 with_xface=no |
7574 fi | 7440 fi |
7575 } | 7441 } |
7576 test -z "$with_xface" && { | 7442 test -z "$with_xface" && { |
7577 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7443 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7578 echo "configure:7579: checking for UnGenFace in -lcompface" >&5 | 7444 echo "configure:7445: checking for UnGenFace in -lcompface" >&5 |
7579 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7445 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7580 | 7446 |
7581 xe_check_libs=" -lcompface " | 7447 xe_check_libs=" -lcompface " |
7582 cat > conftest.$ac_ext <<EOF | 7448 cat > conftest.$ac_ext <<EOF |
7583 #line 7584 "configure" | 7449 #line 7450 "configure" |
7584 #include "confdefs.h" | 7450 #include "confdefs.h" |
7585 /* Override any gcc2 internal prototype to avoid an error. */ | 7451 /* Override any gcc2 internal prototype to avoid an error. */ |
7586 /* 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 |
7587 builtin and then its argument prototype would still apply. */ | 7453 builtin and then its argument prototype would still apply. */ |
7588 char UnGenFace(); | 7454 char UnGenFace(); |
7589 | 7455 |
7590 int main() { | 7456 int main() { |
7591 UnGenFace() | 7457 UnGenFace() |
7592 ; return 0; } | 7458 ; return 0; } |
7593 EOF | 7459 EOF |
7594 if { (eval echo configure:7595: \"$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 |
7595 rm -rf conftest* | 7461 rm -rf conftest* |
7596 eval "ac_cv_lib_$ac_lib_var=yes" | 7462 eval "ac_cv_lib_$ac_lib_var=yes" |
7597 else | 7463 else |
7598 echo "configure: failed program was:" >&5 | 7464 echo "configure: failed program was:" >&5 |
7599 cat conftest.$ac_ext >&5 | 7465 cat conftest.$ac_ext >&5 |
7641 fi | 7507 fi |
7642 | 7508 |
7643 if test "$with_png $with_tiff" != "no no"; then | 7509 if test "$with_png $with_tiff" != "no no"; then |
7644 | 7510 |
7645 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7511 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7646 echo "configure:7647: checking for inflate in -lc" >&5 | 7512 echo "configure:7513: checking for inflate in -lc" >&5 |
7647 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7513 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7648 | 7514 |
7649 xe_check_libs=" -lc " | 7515 xe_check_libs=" -lc " |
7650 cat > conftest.$ac_ext <<EOF | 7516 cat > conftest.$ac_ext <<EOF |
7651 #line 7652 "configure" | 7517 #line 7518 "configure" |
7652 #include "confdefs.h" | 7518 #include "confdefs.h" |
7653 /* Override any gcc2 internal prototype to avoid an error. */ | 7519 /* Override any gcc2 internal prototype to avoid an error. */ |
7654 /* We use char because int might match the return type of a gcc2 | 7520 /* We use char because int might match the return type of a gcc2 |
7655 builtin and then its argument prototype would still apply. */ | 7521 builtin and then its argument prototype would still apply. */ |
7656 char inflate(); | 7522 char inflate(); |
7657 | 7523 |
7658 int main() { | 7524 int main() { |
7659 inflate() | 7525 inflate() |
7660 ; return 0; } | 7526 ; return 0; } |
7661 EOF | 7527 EOF |
7662 if { (eval echo configure:7663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7528 if { (eval echo configure:7529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7663 rm -rf conftest* | 7529 rm -rf conftest* |
7664 eval "ac_cv_lib_$ac_lib_var=yes" | 7530 eval "ac_cv_lib_$ac_lib_var=yes" |
7665 else | 7531 else |
7666 echo "configure: failed program was:" >&5 | 7532 echo "configure: failed program was:" >&5 |
7667 cat conftest.$ac_ext >&5 | 7533 cat conftest.$ac_ext >&5 |
7676 : | 7542 : |
7677 else | 7543 else |
7678 echo "$ac_t""no" 1>&6 | 7544 echo "$ac_t""no" 1>&6 |
7679 | 7545 |
7680 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7546 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7681 echo "configure:7682: checking for inflate in -lz" >&5 | 7547 echo "configure:7548: checking for inflate in -lz" >&5 |
7682 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7548 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7683 | 7549 |
7684 xe_check_libs=" -lz " | 7550 xe_check_libs=" -lz " |
7685 cat > conftest.$ac_ext <<EOF | 7551 cat > conftest.$ac_ext <<EOF |
7686 #line 7687 "configure" | 7552 #line 7553 "configure" |
7687 #include "confdefs.h" | 7553 #include "confdefs.h" |
7688 /* Override any gcc2 internal prototype to avoid an error. */ | 7554 /* Override any gcc2 internal prototype to avoid an error. */ |
7689 /* We use char because int might match the return type of a gcc2 | 7555 /* We use char because int might match the return type of a gcc2 |
7690 builtin and then its argument prototype would still apply. */ | 7556 builtin and then its argument prototype would still apply. */ |
7691 char inflate(); | 7557 char inflate(); |
7692 | 7558 |
7693 int main() { | 7559 int main() { |
7694 inflate() | 7560 inflate() |
7695 ; return 0; } | 7561 ; return 0; } |
7696 EOF | 7562 EOF |
7697 if { (eval echo configure:7698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7563 if { (eval echo configure:7564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7698 rm -rf conftest* | 7564 rm -rf conftest* |
7699 eval "ac_cv_lib_$ac_lib_var=yes" | 7565 eval "ac_cv_lib_$ac_lib_var=yes" |
7700 else | 7566 else |
7701 echo "configure: failed program was:" >&5 | 7567 echo "configure: failed program was:" >&5 |
7702 cat conftest.$ac_ext >&5 | 7568 cat conftest.$ac_ext >&5 |
7711 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7577 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7712 else | 7578 else |
7713 echo "$ac_t""no" 1>&6 | 7579 echo "$ac_t""no" 1>&6 |
7714 | 7580 |
7715 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7581 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7716 echo "configure:7717: checking for inflate in -lgz" >&5 | 7582 echo "configure:7583: checking for inflate in -lgz" >&5 |
7717 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7583 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7718 | 7584 |
7719 xe_check_libs=" -lgz " | 7585 xe_check_libs=" -lgz " |
7720 cat > conftest.$ac_ext <<EOF | 7586 cat > conftest.$ac_ext <<EOF |
7721 #line 7722 "configure" | 7587 #line 7588 "configure" |
7722 #include "confdefs.h" | 7588 #include "confdefs.h" |
7723 /* Override any gcc2 internal prototype to avoid an error. */ | 7589 /* Override any gcc2 internal prototype to avoid an error. */ |
7724 /* We use char because int might match the return type of a gcc2 | 7590 /* We use char because int might match the return type of a gcc2 |
7725 builtin and then its argument prototype would still apply. */ | 7591 builtin and then its argument prototype would still apply. */ |
7726 char inflate(); | 7592 char inflate(); |
7727 | 7593 |
7728 int main() { | 7594 int main() { |
7729 inflate() | 7595 inflate() |
7730 ; return 0; } | 7596 ; return 0; } |
7731 EOF | 7597 EOF |
7732 if { (eval echo configure:7733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7598 if { (eval echo configure:7599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7733 rm -rf conftest* | 7599 rm -rf conftest* |
7734 eval "ac_cv_lib_$ac_lib_var=yes" | 7600 eval "ac_cv_lib_$ac_lib_var=yes" |
7735 else | 7601 else |
7736 echo "configure: failed program was:" >&5 | 7602 echo "configure: failed program was:" >&5 |
7737 cat conftest.$ac_ext >&5 | 7603 cat conftest.$ac_ext >&5 |
7757 | 7623 |
7758 fi | 7624 fi |
7759 | 7625 |
7760 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7626 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7761 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7627 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7762 echo "configure:7763: checking for jpeglib.h" >&5 | 7628 echo "configure:7629: checking for jpeglib.h" >&5 |
7763 | 7629 |
7764 cat > conftest.$ac_ext <<EOF | 7630 cat > conftest.$ac_ext <<EOF |
7765 #line 7766 "configure" | 7631 #line 7632 "configure" |
7766 #include "confdefs.h" | 7632 #include "confdefs.h" |
7767 #include <jpeglib.h> | 7633 #include <jpeglib.h> |
7768 EOF | 7634 EOF |
7769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7770 { (eval echo configure:7771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7636 { (eval echo configure:7637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7772 if test -z "$ac_err"; then | 7638 if test -z "$ac_err"; then |
7773 rm -rf conftest* | 7639 rm -rf conftest* |
7774 eval "ac_cv_header_$ac_safe=yes" | 7640 eval "ac_cv_header_$ac_safe=yes" |
7775 else | 7641 else |
7788 with_jpeg=no | 7654 with_jpeg=no |
7789 fi | 7655 fi |
7790 } | 7656 } |
7791 test -z "$with_jpeg" && { | 7657 test -z "$with_jpeg" && { |
7792 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7658 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7793 echo "configure:7794: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7659 echo "configure:7660: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7794 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7660 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7795 | 7661 |
7796 xe_check_libs=" -ljpeg " | 7662 xe_check_libs=" -ljpeg " |
7797 cat > conftest.$ac_ext <<EOF | 7663 cat > conftest.$ac_ext <<EOF |
7798 #line 7799 "configure" | 7664 #line 7665 "configure" |
7799 #include "confdefs.h" | 7665 #include "confdefs.h" |
7800 /* Override any gcc2 internal prototype to avoid an error. */ | 7666 /* Override any gcc2 internal prototype to avoid an error. */ |
7801 /* We use char because int might match the return type of a gcc2 | 7667 /* We use char because int might match the return type of a gcc2 |
7802 builtin and then its argument prototype would still apply. */ | 7668 builtin and then its argument prototype would still apply. */ |
7803 char jpeg_destroy_decompress(); | 7669 char jpeg_destroy_decompress(); |
7804 | 7670 |
7805 int main() { | 7671 int main() { |
7806 jpeg_destroy_decompress() | 7672 jpeg_destroy_decompress() |
7807 ; return 0; } | 7673 ; return 0; } |
7808 EOF | 7674 EOF |
7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7675 if { (eval echo configure:7676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7810 rm -rf conftest* | 7676 rm -rf conftest* |
7811 eval "ac_cv_lib_$ac_lib_var=yes" | 7677 eval "ac_cv_lib_$ac_lib_var=yes" |
7812 else | 7678 else |
7813 echo "configure: failed program was:" >&5 | 7679 echo "configure: failed program was:" >&5 |
7814 cat conftest.$ac_ext >&5 | 7680 cat conftest.$ac_ext >&5 |
7840 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7706 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7841 fi | 7707 fi |
7842 | 7708 |
7843 png_problem="" | 7709 png_problem="" |
7844 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7710 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7845 echo "configure:7846: checking for pow" >&5 | 7711 echo "configure:7712: checking for pow" >&5 |
7846 | 7712 |
7847 cat > conftest.$ac_ext <<EOF | 7713 cat > conftest.$ac_ext <<EOF |
7848 #line 7849 "configure" | 7714 #line 7715 "configure" |
7849 #include "confdefs.h" | 7715 #include "confdefs.h" |
7850 /* System header to define __stub macros and hopefully few prototypes, | 7716 /* System header to define __stub macros and hopefully few prototypes, |
7851 which can conflict with char pow(); below. */ | 7717 which can conflict with char pow(); below. */ |
7852 #include <assert.h> | 7718 #include <assert.h> |
7853 /* Override any gcc2 internal prototype to avoid an error. */ | 7719 /* Override any gcc2 internal prototype to avoid an error. */ |
7866 pow(); | 7732 pow(); |
7867 #endif | 7733 #endif |
7868 | 7734 |
7869 ; return 0; } | 7735 ; return 0; } |
7870 EOF | 7736 EOF |
7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7737 if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7872 rm -rf conftest* | 7738 rm -rf conftest* |
7873 eval "ac_cv_func_pow=yes" | 7739 eval "ac_cv_func_pow=yes" |
7874 else | 7740 else |
7875 echo "configure: failed program was:" >&5 | 7741 echo "configure: failed program was:" >&5 |
7876 cat conftest.$ac_ext >&5 | 7742 cat conftest.$ac_ext >&5 |
7887 with_png=no | 7753 with_png=no |
7888 fi | 7754 fi |
7889 } | 7755 } |
7890 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7756 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7891 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7757 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7892 echo "configure:7893: checking for png.h" >&5 | 7758 echo "configure:7759: checking for png.h" >&5 |
7893 | 7759 |
7894 cat > conftest.$ac_ext <<EOF | 7760 cat > conftest.$ac_ext <<EOF |
7895 #line 7896 "configure" | 7761 #line 7762 "configure" |
7896 #include "confdefs.h" | 7762 #include "confdefs.h" |
7897 #include <png.h> | 7763 #include <png.h> |
7898 EOF | 7764 EOF |
7899 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7900 { (eval echo configure:7901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7766 { (eval echo configure:7767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7901 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7902 if test -z "$ac_err"; then | 7768 if test -z "$ac_err"; then |
7903 rm -rf conftest* | 7769 rm -rf conftest* |
7904 eval "ac_cv_header_$ac_safe=yes" | 7770 eval "ac_cv_header_$ac_safe=yes" |
7905 else | 7771 else |
7918 with_png=no | 7784 with_png=no |
7919 fi | 7785 fi |
7920 } | 7786 } |
7921 test -z "$with_png" && { | 7787 test -z "$with_png" && { |
7922 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7788 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7923 echo "configure:7924: checking for png_read_image in -lpng" >&5 | 7789 echo "configure:7790: checking for png_read_image in -lpng" >&5 |
7924 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7790 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7925 | 7791 |
7926 xe_check_libs=" -lpng " | 7792 xe_check_libs=" -lpng " |
7927 cat > conftest.$ac_ext <<EOF | 7793 cat > conftest.$ac_ext <<EOF |
7928 #line 7929 "configure" | 7794 #line 7795 "configure" |
7929 #include "confdefs.h" | 7795 #include "confdefs.h" |
7930 /* Override any gcc2 internal prototype to avoid an error. */ | 7796 /* Override any gcc2 internal prototype to avoid an error. */ |
7931 /* We use char because int might match the return type of a gcc2 | 7797 /* We use char because int might match the return type of a gcc2 |
7932 builtin and then its argument prototype would still apply. */ | 7798 builtin and then its argument prototype would still apply. */ |
7933 char png_read_image(); | 7799 char png_read_image(); |
7934 | 7800 |
7935 int main() { | 7801 int main() { |
7936 png_read_image() | 7802 png_read_image() |
7937 ; return 0; } | 7803 ; return 0; } |
7938 EOF | 7804 EOF |
7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7805 if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7940 rm -rf conftest* | 7806 rm -rf conftest* |
7941 eval "ac_cv_lib_$ac_lib_var=yes" | 7807 eval "ac_cv_lib_$ac_lib_var=yes" |
7942 else | 7808 else |
7943 echo "configure: failed program was:" >&5 | 7809 echo "configure: failed program was:" >&5 |
7944 cat conftest.$ac_ext >&5 | 7810 cat conftest.$ac_ext >&5 |
7957 fi | 7823 fi |
7958 | 7824 |
7959 } | 7825 } |
7960 if test -z "$with_png"; then | 7826 if test -z "$with_png"; then |
7961 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7827 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7962 echo "configure:7963: checking for workable png version information" >&5 | 7828 echo "configure:7829: checking for workable png version information" >&5 |
7963 xe_check_libs="-lpng -lz" | 7829 xe_check_libs="-lpng -lz" |
7964 cat > conftest.$ac_ext <<EOF | 7830 cat > conftest.$ac_ext <<EOF |
7965 #line 7966 "configure" | 7831 #line 7832 "configure" |
7966 #include "confdefs.h" | 7832 #include "confdefs.h" |
7967 #include <png.h> | 7833 #include <png.h> |
7968 int main(int c, char **v) { | 7834 int main(int c, char **v) { |
7969 if (c == 1) return 0; | 7835 if (c == 1) return 0; |
7970 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7836 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7971 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7837 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7972 EOF | 7838 EOF |
7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7839 if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7974 then | 7840 then |
7975 ./conftest dummy_arg; png_status=$?; | 7841 ./conftest dummy_arg; png_status=$?; |
7976 if test "$png_status" = "0"; then | 7842 if test "$png_status" = "0"; then |
7977 with_png=yes; | 7843 with_png=yes; |
7978 else | 7844 else |
8011 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7877 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8012 fi | 7878 fi |
8013 | 7879 |
8014 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7880 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8015 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7881 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8016 echo "configure:8017: checking for tiffio.h" >&5 | 7882 echo "configure:7883: checking for tiffio.h" >&5 |
8017 | 7883 |
8018 cat > conftest.$ac_ext <<EOF | 7884 cat > conftest.$ac_ext <<EOF |
8019 #line 8020 "configure" | 7885 #line 7886 "configure" |
8020 #include "confdefs.h" | 7886 #include "confdefs.h" |
8021 #include <tiffio.h> | 7887 #include <tiffio.h> |
8022 EOF | 7888 EOF |
8023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8024 { (eval echo configure:8025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7890 { (eval echo configure:7891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8026 if test -z "$ac_err"; then | 7892 if test -z "$ac_err"; then |
8027 rm -rf conftest* | 7893 rm -rf conftest* |
8028 eval "ac_cv_header_$ac_safe=yes" | 7894 eval "ac_cv_header_$ac_safe=yes" |
8029 else | 7895 else |
8042 with_tiff=no | 7908 with_tiff=no |
8043 fi | 7909 fi |
8044 } | 7910 } |
8045 test -z "$with_tiff" && { | 7911 test -z "$with_tiff" && { |
8046 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7912 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8047 echo "configure:8048: checking for TIFFClientOpen in -ltiff" >&5 | 7913 echo "configure:7914: checking for TIFFClientOpen in -ltiff" >&5 |
8048 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7914 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8049 | 7915 |
8050 xe_check_libs=" -ltiff " | 7916 xe_check_libs=" -ltiff " |
8051 cat > conftest.$ac_ext <<EOF | 7917 cat > conftest.$ac_ext <<EOF |
8052 #line 8053 "configure" | 7918 #line 7919 "configure" |
8053 #include "confdefs.h" | 7919 #include "confdefs.h" |
8054 /* Override any gcc2 internal prototype to avoid an error. */ | 7920 /* Override any gcc2 internal prototype to avoid an error. */ |
8055 /* We use char because int might match the return type of a gcc2 | 7921 /* We use char because int might match the return type of a gcc2 |
8056 builtin and then its argument prototype would still apply. */ | 7922 builtin and then its argument prototype would still apply. */ |
8057 char TIFFClientOpen(); | 7923 char TIFFClientOpen(); |
8058 | 7924 |
8059 int main() { | 7925 int main() { |
8060 TIFFClientOpen() | 7926 TIFFClientOpen() |
8061 ; return 0; } | 7927 ; return 0; } |
8062 EOF | 7928 EOF |
8063 if { (eval echo configure:8064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8064 rm -rf conftest* | 7930 rm -rf conftest* |
8065 eval "ac_cv_lib_$ac_lib_var=yes" | 7931 eval "ac_cv_lib_$ac_lib_var=yes" |
8066 else | 7932 else |
8067 echo "configure: failed program was:" >&5 | 7933 echo "configure: failed program was:" >&5 |
8068 cat conftest.$ac_ext >&5 | 7934 cat conftest.$ac_ext >&5 |
8097 | 7963 |
8098 | 7964 |
8099 if test "$with_x11" = "yes"; then | 7965 if test "$with_x11" = "yes"; then |
8100 | 7966 |
8101 echo "checking for X11 graphics libraries" 1>&6 | 7967 echo "checking for X11 graphics libraries" 1>&6 |
8102 echo "configure:8103: checking for X11 graphics libraries" >&5 | 7968 echo "configure:7969: checking for X11 graphics libraries" >&5 |
8103 | 7969 |
8104 echo "checking for the Athena widgets" 1>&6 | 7970 echo "checking for the Athena widgets" 1>&6 |
8105 echo "configure:8106: checking for the Athena widgets" >&5 | 7971 echo "configure:7972: checking for the Athena widgets" >&5 |
8106 | 7972 |
8107 case "$with_athena" in | 7973 case "$with_athena" in |
8108 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 7974 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8109 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 7975 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8110 "next") athena_variant=neXtaw athena_3d=yes ;; | 7976 "next") athena_variant=neXtaw athena_3d=yes ;; |
8114 esac | 7980 esac |
8115 | 7981 |
8116 if test "$athena_3d" = "no"; then | 7982 if test "$athena_3d" = "no"; then |
8117 | 7983 |
8118 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 7984 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8119 echo "configure:8120: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 7985 echo "configure:7986: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8120 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7986 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8121 | 7987 |
8122 xe_check_libs=" -l$athena_variant " | 7988 xe_check_libs=" -l$athena_variant " |
8123 cat > conftest.$ac_ext <<EOF | 7989 cat > conftest.$ac_ext <<EOF |
8124 #line 8125 "configure" | 7990 #line 7991 "configure" |
8125 #include "confdefs.h" | 7991 #include "confdefs.h" |
8126 /* Override any gcc2 internal prototype to avoid an error. */ | 7992 /* Override any gcc2 internal prototype to avoid an error. */ |
8127 /* We use char because int might match the return type of a gcc2 | 7993 /* We use char because int might match the return type of a gcc2 |
8128 builtin and then its argument prototype would still apply. */ | 7994 builtin and then its argument prototype would still apply. */ |
8129 char XawScrollbarSetThumb(); | 7995 char XawScrollbarSetThumb(); |
8130 | 7996 |
8131 int main() { | 7997 int main() { |
8132 XawScrollbarSetThumb() | 7998 XawScrollbarSetThumb() |
8133 ; return 0; } | 7999 ; return 0; } |
8134 EOF | 8000 EOF |
8135 if { (eval echo configure:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8001 if { (eval echo configure:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8136 rm -rf conftest* | 8002 rm -rf conftest* |
8137 eval "ac_cv_lib_$ac_lib_var=yes" | 8003 eval "ac_cv_lib_$ac_lib_var=yes" |
8138 else | 8004 else |
8139 echo "configure: failed program was:" >&5 | 8005 echo "configure: failed program was:" >&5 |
8140 cat conftest.$ac_ext >&5 | 8006 cat conftest.$ac_ext >&5 |
8146 | 8012 |
8147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8148 echo "$ac_t""yes" 1>&6 | 8014 echo "$ac_t""yes" 1>&6 |
8149 | 8015 |
8150 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8016 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8151 echo "configure:8152: checking for threeDClassRec in -l$athena_variant" >&5 | 8017 echo "configure:8018: checking for threeDClassRec in -l$athena_variant" >&5 |
8152 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8018 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8153 | 8019 |
8154 xe_check_libs=" -l$athena_variant " | 8020 xe_check_libs=" -l$athena_variant " |
8155 cat > conftest.$ac_ext <<EOF | 8021 cat > conftest.$ac_ext <<EOF |
8156 #line 8157 "configure" | 8022 #line 8023 "configure" |
8157 #include "confdefs.h" | 8023 #include "confdefs.h" |
8158 /* Override any gcc2 internal prototype to avoid an error. */ | 8024 /* Override any gcc2 internal prototype to avoid an error. */ |
8159 /* We use char because int might match the return type of a gcc2 | 8025 /* We use char because int might match the return type of a gcc2 |
8160 builtin and then its argument prototype would still apply. */ | 8026 builtin and then its argument prototype would still apply. */ |
8161 char threeDClassRec(); | 8027 char threeDClassRec(); |
8162 | 8028 |
8163 int main() { | 8029 int main() { |
8164 threeDClassRec() | 8030 threeDClassRec() |
8165 ; return 0; } | 8031 ; return 0; } |
8166 EOF | 8032 EOF |
8167 if { (eval echo configure:8168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8033 if { (eval echo configure:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8168 rm -rf conftest* | 8034 rm -rf conftest* |
8169 eval "ac_cv_lib_$ac_lib_var=yes" | 8035 eval "ac_cv_lib_$ac_lib_var=yes" |
8170 else | 8036 else |
8171 echo "configure: failed program was:" >&5 | 8037 echo "configure: failed program was:" >&5 |
8172 cat conftest.$ac_ext >&5 | 8038 cat conftest.$ac_ext >&5 |
8193 | 8059 |
8194 | 8060 |
8195 else | 8061 else |
8196 | 8062 |
8197 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8063 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8198 echo "configure:8199: checking for threeDClassRec in -l$athena_variant" >&5 | 8064 echo "configure:8065: checking for threeDClassRec in -l$athena_variant" >&5 |
8199 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8065 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8200 | 8066 |
8201 xe_check_libs=" -l$athena_variant " | 8067 xe_check_libs=" -l$athena_variant " |
8202 cat > conftest.$ac_ext <<EOF | 8068 cat > conftest.$ac_ext <<EOF |
8203 #line 8204 "configure" | 8069 #line 8070 "configure" |
8204 #include "confdefs.h" | 8070 #include "confdefs.h" |
8205 /* Override any gcc2 internal prototype to avoid an error. */ | 8071 /* Override any gcc2 internal prototype to avoid an error. */ |
8206 /* 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 |
8207 builtin and then its argument prototype would still apply. */ | 8073 builtin and then its argument prototype would still apply. */ |
8208 char threeDClassRec(); | 8074 char threeDClassRec(); |
8209 | 8075 |
8210 int main() { | 8076 int main() { |
8211 threeDClassRec() | 8077 threeDClassRec() |
8212 ; return 0; } | 8078 ; return 0; } |
8213 EOF | 8079 EOF |
8214 if { (eval echo configure:8215: \"$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 |
8215 rm -rf conftest* | 8081 rm -rf conftest* |
8216 eval "ac_cv_lib_$ac_lib_var=yes" | 8082 eval "ac_cv_lib_$ac_lib_var=yes" |
8217 else | 8083 else |
8218 echo "configure: failed program was:" >&5 | 8084 echo "configure: failed program was:" >&5 |
8219 cat conftest.$ac_ext >&5 | 8085 cat conftest.$ac_ext >&5 |
8227 echo "$ac_t""yes" 1>&6 | 8093 echo "$ac_t""yes" 1>&6 |
8228 athena_lib=$athena_variant | 8094 athena_lib=$athena_variant |
8229 else | 8095 else |
8230 echo "$ac_t""no" 1>&6 | 8096 echo "$ac_t""no" 1>&6 |
8231 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8097 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8232 echo "configure:8233: checking for threeDClassRec in -lXaw" >&5 | 8098 echo "configure:8099: checking for threeDClassRec in -lXaw" >&5 |
8233 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8099 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8234 | 8100 |
8235 xe_check_libs=" -lXaw " | 8101 xe_check_libs=" -lXaw " |
8236 cat > conftest.$ac_ext <<EOF | 8102 cat > conftest.$ac_ext <<EOF |
8237 #line 8238 "configure" | 8103 #line 8104 "configure" |
8238 #include "confdefs.h" | 8104 #include "confdefs.h" |
8239 /* Override any gcc2 internal prototype to avoid an error. */ | 8105 /* Override any gcc2 internal prototype to avoid an error. */ |
8240 /* We use char because int might match the return type of a gcc2 | 8106 /* We use char because int might match the return type of a gcc2 |
8241 builtin and then its argument prototype would still apply. */ | 8107 builtin and then its argument prototype would still apply. */ |
8242 char threeDClassRec(); | 8108 char threeDClassRec(); |
8243 | 8109 |
8244 int main() { | 8110 int main() { |
8245 threeDClassRec() | 8111 threeDClassRec() |
8246 ; return 0; } | 8112 ; return 0; } |
8247 EOF | 8113 EOF |
8248 if { (eval echo configure:8249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8114 if { (eval echo configure:8115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8249 rm -rf conftest* | 8115 rm -rf conftest* |
8250 eval "ac_cv_lib_$ac_lib_var=yes" | 8116 eval "ac_cv_lib_$ac_lib_var=yes" |
8251 else | 8117 else |
8252 echo "configure: failed program was:" >&5 | 8118 echo "configure: failed program was:" >&5 |
8253 cat conftest.$ac_ext >&5 | 8119 cat conftest.$ac_ext >&5 |
8274 fi | 8140 fi |
8275 | 8141 |
8276 if test "$athena_3d" = "no"; then | 8142 if test "$athena_3d" = "no"; then |
8277 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8143 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8278 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8144 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8279 echo "configure:8280: checking for X11/Xaw/ThreeD.h" >&5 | 8145 echo "configure:8146: checking for X11/Xaw/ThreeD.h" >&5 |
8280 | 8146 |
8281 cat > conftest.$ac_ext <<EOF | 8147 cat > conftest.$ac_ext <<EOF |
8282 #line 8283 "configure" | 8148 #line 8149 "configure" |
8283 #include "confdefs.h" | 8149 #include "confdefs.h" |
8284 #include <X11/Xaw/ThreeD.h> | 8150 #include <X11/Xaw/ThreeD.h> |
8285 EOF | 8151 EOF |
8286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8287 { (eval echo configure:8288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8153 { (eval echo configure:8154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8289 if test -z "$ac_err"; then | 8155 if test -z "$ac_err"; then |
8290 rm -rf conftest* | 8156 rm -rf conftest* |
8291 eval "ac_cv_header_$ac_safe=yes" | 8157 eval "ac_cv_header_$ac_safe=yes" |
8292 else | 8158 else |
8302 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8168 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8303 else | 8169 else |
8304 echo "$ac_t""no" 1>&6 | 8170 echo "$ac_t""no" 1>&6 |
8305 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8171 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8306 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8172 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8307 echo "configure:8308: checking for X11/Xaw/XawInit.h" >&5 | 8173 echo "configure:8174: checking for X11/Xaw/XawInit.h" >&5 |
8308 | 8174 |
8309 cat > conftest.$ac_ext <<EOF | 8175 cat > conftest.$ac_ext <<EOF |
8310 #line 8311 "configure" | 8176 #line 8177 "configure" |
8311 #include "confdefs.h" | 8177 #include "confdefs.h" |
8312 #include <X11/Xaw/XawInit.h> | 8178 #include <X11/Xaw/XawInit.h> |
8313 EOF | 8179 EOF |
8314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8315 { (eval echo configure:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8181 { (eval echo configure:8182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8317 if test -z "$ac_err"; then | 8183 if test -z "$ac_err"; then |
8318 rm -rf conftest* | 8184 rm -rf conftest* |
8319 eval "ac_cv_header_$ac_safe=yes" | 8185 eval "ac_cv_header_$ac_safe=yes" |
8320 else | 8186 else |
8336 fi | 8202 fi |
8337 | 8203 |
8338 else | 8204 else |
8339 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8205 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8340 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8206 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8341 echo "configure:8342: checking for X11/$athena_variant/XawInit.h" >&5 | 8207 echo "configure:8208: checking for X11/$athena_variant/XawInit.h" >&5 |
8342 | 8208 |
8343 cat > conftest.$ac_ext <<EOF | 8209 cat > conftest.$ac_ext <<EOF |
8344 #line 8345 "configure" | 8210 #line 8211 "configure" |
8345 #include "confdefs.h" | 8211 #include "confdefs.h" |
8346 #include <X11/$athena_variant/XawInit.h> | 8212 #include <X11/$athena_variant/XawInit.h> |
8347 EOF | 8213 EOF |
8348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8349 { (eval echo configure:8350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8215 { (eval echo configure:8216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8351 if test -z "$ac_err"; then | 8217 if test -z "$ac_err"; then |
8352 rm -rf conftest* | 8218 rm -rf conftest* |
8353 eval "ac_cv_header_$ac_safe=yes" | 8219 eval "ac_cv_header_$ac_safe=yes" |
8354 else | 8220 else |
8361 rm -f conftest* | 8227 rm -f conftest* |
8362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8363 echo "$ac_t""yes" 1>&6 | 8229 echo "$ac_t""yes" 1>&6 |
8364 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8230 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8365 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8231 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8366 echo "configure:8367: checking for X11/$athena_variant/ThreeD.h" >&5 | 8232 echo "configure:8233: checking for X11/$athena_variant/ThreeD.h" >&5 |
8367 | 8233 |
8368 cat > conftest.$ac_ext <<EOF | 8234 cat > conftest.$ac_ext <<EOF |
8369 #line 8370 "configure" | 8235 #line 8236 "configure" |
8370 #include "confdefs.h" | 8236 #include "confdefs.h" |
8371 #include <X11/$athena_variant/ThreeD.h> | 8237 #include <X11/$athena_variant/ThreeD.h> |
8372 EOF | 8238 EOF |
8373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8239 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8374 { (eval echo configure:8375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8240 { (eval echo configure:8241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8376 if test -z "$ac_err"; then | 8242 if test -z "$ac_err"; then |
8377 rm -rf conftest* | 8243 rm -rf conftest* |
8378 eval "ac_cv_header_$ac_safe=yes" | 8244 eval "ac_cv_header_$ac_safe=yes" |
8379 else | 8245 else |
8397 | 8263 |
8398 | 8264 |
8399 if test -z "$athena_h_path"; then | 8265 if test -z "$athena_h_path"; then |
8400 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8266 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8401 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8267 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
8402 echo "configure:8403: checking for $athena_variant/XawInit.h" >&5 | 8268 echo "configure:8269: checking for $athena_variant/XawInit.h" >&5 |
8403 | 8269 |
8404 cat > conftest.$ac_ext <<EOF | 8270 cat > conftest.$ac_ext <<EOF |
8405 #line 8406 "configure" | 8271 #line 8272 "configure" |
8406 #include "confdefs.h" | 8272 #include "confdefs.h" |
8407 #include <$athena_variant/XawInit.h> | 8273 #include <$athena_variant/XawInit.h> |
8408 EOF | 8274 EOF |
8409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8410 { (eval echo configure:8411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8276 { (eval echo configure:8277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8412 if test -z "$ac_err"; then | 8278 if test -z "$ac_err"; then |
8413 rm -rf conftest* | 8279 rm -rf conftest* |
8414 eval "ac_cv_header_$ac_safe=yes" | 8280 eval "ac_cv_header_$ac_safe=yes" |
8415 else | 8281 else |
8422 rm -f conftest* | 8288 rm -f conftest* |
8423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8424 echo "$ac_t""yes" 1>&6 | 8290 echo "$ac_t""yes" 1>&6 |
8425 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8291 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8426 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8292 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8427 echo "configure:8428: checking for $athena_variant/ThreeD.h" >&5 | 8293 echo "configure:8294: checking for $athena_variant/ThreeD.h" >&5 |
8428 | 8294 |
8429 cat > conftest.$ac_ext <<EOF | 8295 cat > conftest.$ac_ext <<EOF |
8430 #line 8431 "configure" | 8296 #line 8297 "configure" |
8431 #include "confdefs.h" | 8297 #include "confdefs.h" |
8432 #include <$athena_variant/ThreeD.h> | 8298 #include <$athena_variant/ThreeD.h> |
8433 EOF | 8299 EOF |
8434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8435 { (eval echo configure:8436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8301 { (eval echo configure:8302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8437 if test -z "$ac_err"; then | 8303 if test -z "$ac_err"; then |
8438 rm -rf conftest* | 8304 rm -rf conftest* |
8439 eval "ac_cv_header_$ac_safe=yes" | 8305 eval "ac_cv_header_$ac_safe=yes" |
8440 else | 8306 else |
8459 fi | 8325 fi |
8460 | 8326 |
8461 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8327 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8462 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8328 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8463 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8329 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8464 echo "configure:8465: checking for X11/Xaw3d/XawInit.h" >&5 | 8330 echo "configure:8331: checking for X11/Xaw3d/XawInit.h" >&5 |
8465 | 8331 |
8466 cat > conftest.$ac_ext <<EOF | 8332 cat > conftest.$ac_ext <<EOF |
8467 #line 8468 "configure" | 8333 #line 8334 "configure" |
8468 #include "confdefs.h" | 8334 #include "confdefs.h" |
8469 #include <X11/Xaw3d/XawInit.h> | 8335 #include <X11/Xaw3d/XawInit.h> |
8470 EOF | 8336 EOF |
8471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8472 { (eval echo configure:8473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8338 { (eval echo configure:8339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8474 if test -z "$ac_err"; then | 8340 if test -z "$ac_err"; then |
8475 rm -rf conftest* | 8341 rm -rf conftest* |
8476 eval "ac_cv_header_$ac_safe=yes" | 8342 eval "ac_cv_header_$ac_safe=yes" |
8477 else | 8343 else |
8484 rm -f conftest* | 8350 rm -f conftest* |
8485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8351 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8486 echo "$ac_t""yes" 1>&6 | 8352 echo "$ac_t""yes" 1>&6 |
8487 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8353 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8488 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8354 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8489 echo "configure:8490: checking for X11/Xaw3d/ThreeD.h" >&5 | 8355 echo "configure:8356: checking for X11/Xaw3d/ThreeD.h" >&5 |
8490 | 8356 |
8491 cat > conftest.$ac_ext <<EOF | 8357 cat > conftest.$ac_ext <<EOF |
8492 #line 8493 "configure" | 8358 #line 8359 "configure" |
8493 #include "confdefs.h" | 8359 #include "confdefs.h" |
8494 #include <X11/Xaw3d/ThreeD.h> | 8360 #include <X11/Xaw3d/ThreeD.h> |
8495 EOF | 8361 EOF |
8496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8497 { (eval echo configure:8498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8363 { (eval echo configure:8364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8499 if test -z "$ac_err"; then | 8365 if test -z "$ac_err"; then |
8500 rm -rf conftest* | 8366 rm -rf conftest* |
8501 eval "ac_cv_header_$ac_safe=yes" | 8367 eval "ac_cv_header_$ac_safe=yes" |
8502 else | 8368 else |
8524 fi | 8390 fi |
8525 | 8391 |
8526 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8392 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8527 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8393 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8528 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8394 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8529 echo "configure:8530: checking for Xaw3d/XawInit.h" >&5 | 8395 echo "configure:8396: checking for Xaw3d/XawInit.h" >&5 |
8530 | 8396 |
8531 cat > conftest.$ac_ext <<EOF | 8397 cat > conftest.$ac_ext <<EOF |
8532 #line 8533 "configure" | 8398 #line 8399 "configure" |
8533 #include "confdefs.h" | 8399 #include "confdefs.h" |
8534 #include <Xaw3d/XawInit.h> | 8400 #include <Xaw3d/XawInit.h> |
8535 EOF | 8401 EOF |
8536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8537 { (eval echo configure:8538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8403 { (eval echo configure:8404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8539 if test -z "$ac_err"; then | 8405 if test -z "$ac_err"; then |
8540 rm -rf conftest* | 8406 rm -rf conftest* |
8541 eval "ac_cv_header_$ac_safe=yes" | 8407 eval "ac_cv_header_$ac_safe=yes" |
8542 else | 8408 else |
8549 rm -f conftest* | 8415 rm -f conftest* |
8550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8416 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8551 echo "$ac_t""yes" 1>&6 | 8417 echo "$ac_t""yes" 1>&6 |
8552 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8418 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8553 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8419 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8554 echo "configure:8555: checking for Xaw3d/ThreeD.h" >&5 | 8420 echo "configure:8421: checking for Xaw3d/ThreeD.h" >&5 |
8555 | 8421 |
8556 cat > conftest.$ac_ext <<EOF | 8422 cat > conftest.$ac_ext <<EOF |
8557 #line 8558 "configure" | 8423 #line 8424 "configure" |
8558 #include "confdefs.h" | 8424 #include "confdefs.h" |
8559 #include <Xaw3d/ThreeD.h> | 8425 #include <Xaw3d/ThreeD.h> |
8560 EOF | 8426 EOF |
8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8428 { (eval echo configure:8429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8564 if test -z "$ac_err"; then | 8430 if test -z "$ac_err"; then |
8565 rm -rf conftest* | 8431 rm -rf conftest* |
8566 eval "ac_cv_header_$ac_safe=yes" | 8432 eval "ac_cv_header_$ac_safe=yes" |
8567 else | 8433 else |
8589 fi | 8455 fi |
8590 | 8456 |
8591 if test -z "$athena_h_path"; then | 8457 if test -z "$athena_h_path"; then |
8592 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8458 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8593 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8459 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8594 echo "configure:8595: checking for X11/Xaw/ThreeD.h" >&5 | 8460 echo "configure:8461: checking for X11/Xaw/ThreeD.h" >&5 |
8595 | 8461 |
8596 cat > conftest.$ac_ext <<EOF | 8462 cat > conftest.$ac_ext <<EOF |
8597 #line 8598 "configure" | 8463 #line 8464 "configure" |
8598 #include "confdefs.h" | 8464 #include "confdefs.h" |
8599 #include <X11/Xaw/ThreeD.h> | 8465 #include <X11/Xaw/ThreeD.h> |
8600 EOF | 8466 EOF |
8601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8602 { (eval echo configure:8603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8604 if test -z "$ac_err"; then | 8470 if test -z "$ac_err"; then |
8605 rm -rf conftest* | 8471 rm -rf conftest* |
8606 eval "ac_cv_header_$ac_safe=yes" | 8472 eval "ac_cv_header_$ac_safe=yes" |
8607 else | 8473 else |
8632 have_xaw=no | 8498 have_xaw=no |
8633 fi | 8499 fi |
8634 | 8500 |
8635 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8501 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
8636 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8502 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
8637 echo "configure:8638: checking for Xm/Xm.h" >&5 | 8503 echo "configure:8504: checking for Xm/Xm.h" >&5 |
8638 | 8504 |
8639 cat > conftest.$ac_ext <<EOF | 8505 cat > conftest.$ac_ext <<EOF |
8640 #line 8641 "configure" | 8506 #line 8507 "configure" |
8641 #include "confdefs.h" | 8507 #include "confdefs.h" |
8642 #include <Xm/Xm.h> | 8508 #include <Xm/Xm.h> |
8643 EOF | 8509 EOF |
8644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8645 { (eval echo configure:8646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8511 { (eval echo configure:8512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8647 if test -z "$ac_err"; then | 8513 if test -z "$ac_err"; then |
8648 rm -rf conftest* | 8514 rm -rf conftest* |
8649 eval "ac_cv_header_$ac_safe=yes" | 8515 eval "ac_cv_header_$ac_safe=yes" |
8650 else | 8516 else |
8657 rm -f conftest* | 8523 rm -f conftest* |
8658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8524 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8659 echo "$ac_t""yes" 1>&6 | 8525 echo "$ac_t""yes" 1>&6 |
8660 | 8526 |
8661 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8527 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
8662 echo "configure:8663: checking for XmStringFree in -lXm" >&5 | 8528 echo "configure:8529: checking for XmStringFree in -lXm" >&5 |
8663 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8529 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
8664 | 8530 |
8665 xe_check_libs=" -lXm " | 8531 xe_check_libs=" -lXm " |
8666 cat > conftest.$ac_ext <<EOF | 8532 cat > conftest.$ac_ext <<EOF |
8667 #line 8668 "configure" | 8533 #line 8534 "configure" |
8668 #include "confdefs.h" | 8534 #include "confdefs.h" |
8669 /* Override any gcc2 internal prototype to avoid an error. */ | 8535 /* Override any gcc2 internal prototype to avoid an error. */ |
8670 /* We use char because int might match the return type of a gcc2 | 8536 /* We use char because int might match the return type of a gcc2 |
8671 builtin and then its argument prototype would still apply. */ | 8537 builtin and then its argument prototype would still apply. */ |
8672 char XmStringFree(); | 8538 char XmStringFree(); |
8673 | 8539 |
8674 int main() { | 8540 int main() { |
8675 XmStringFree() | 8541 XmStringFree() |
8676 ; return 0; } | 8542 ; return 0; } |
8677 EOF | 8543 EOF |
8678 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8544 if { (eval echo configure:8545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8679 rm -rf conftest* | 8545 rm -rf conftest* |
8680 eval "ac_cv_lib_$ac_lib_var=yes" | 8546 eval "ac_cv_lib_$ac_lib_var=yes" |
8681 else | 8547 else |
8682 echo "configure: failed program was:" >&5 | 8548 echo "configure: failed program was:" >&5 |
8683 cat conftest.$ac_ext >&5 | 8549 cat conftest.$ac_ext >&5 |
8702 fi | 8568 fi |
8703 | 8569 |
8704 | 8570 |
8705 if test "$have_motif" = "yes"; then | 8571 if test "$have_motif" = "yes"; then |
8706 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8572 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
8707 echo "configure:8708: checking for Lesstif" >&5 | 8573 echo "configure:8574: checking for Lesstif" >&5 |
8708 cat > conftest.$ac_ext <<EOF | 8574 cat > conftest.$ac_ext <<EOF |
8709 #line 8710 "configure" | 8575 #line 8576 "configure" |
8710 #include "confdefs.h" | 8576 #include "confdefs.h" |
8711 #include <Xm/Xm.h> | 8577 #include <Xm/Xm.h> |
8712 #ifdef LESSTIF_VERSION | 8578 #ifdef LESSTIF_VERSION |
8713 yes | 8579 yes |
8714 #endif | 8580 #endif |
8758 | 8624 |
8759 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi | 8625 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi |
8760 | 8626 |
8761 libs_x="-l$athena_lib $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$athena_lib\" to \$libs_x"; fi | 8627 libs_x="-l$athena_lib $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$athena_lib\" to \$libs_x"; fi |
8762 | 8628 |
8763 { test "$extra_verbose" = "yes" && cat << EOF | 8629 { test "$extra_verbose" = "yes" && cat << EOF |
8764 Defining ATHENA_H_PATH = $athena_h_path | 8630 Defining ATHENA_Scrollbar_h_ = "$athena_h_path/Scrollbar.h" |
8765 EOF | 8631 EOF |
8766 cat >> confdefs.h <<EOF | 8632 cat >> confdefs.h <<EOF |
8767 #define ATHENA_H_PATH $athena_h_path | 8633 #define ATHENA_Scrollbar_h_ "$athena_h_path/Scrollbar.h" |
8634 EOF | |
8635 } | |
8636 | |
8637 { test "$extra_verbose" = "yes" && cat << EOF | |
8638 Defining ATHENA_Dialog_h_ = "$athena_h_path/Dialog.h" | |
8639 EOF | |
8640 cat >> confdefs.h <<EOF | |
8641 #define ATHENA_Dialog_h_ "$athena_h_path/Dialog.h" | |
8642 EOF | |
8643 } | |
8644 | |
8645 { test "$extra_verbose" = "yes" && cat << EOF | |
8646 Defining ATHENA_Form_h_ = "$athena_h_path/Form.h" | |
8647 EOF | |
8648 cat >> confdefs.h <<EOF | |
8649 #define ATHENA_Form_h_ "$athena_h_path/Form.h" | |
8650 EOF | |
8651 } | |
8652 | |
8653 { test "$extra_verbose" = "yes" && cat << EOF | |
8654 Defining ATHENA_Command_h_ = "$athena_h_path/Command.h" | |
8655 EOF | |
8656 cat >> confdefs.h <<EOF | |
8657 #define ATHENA_Command_h_ "$athena_h_path/Command.h" | |
8658 EOF | |
8659 } | |
8660 | |
8661 { test "$extra_verbose" = "yes" && cat << EOF | |
8662 Defining ATHENA_Label_h_ = "$athena_h_path/Label.h" | |
8663 EOF | |
8664 cat >> confdefs.h <<EOF | |
8665 #define ATHENA_Label_h_ "$athena_h_path/Label.h" | |
8666 EOF | |
8667 } | |
8668 | |
8669 { test "$extra_verbose" = "yes" && cat << EOF | |
8670 Defining ATHENA_LabelP_h_ = "$athena_h_path/LabelP.h" | |
8671 EOF | |
8672 cat >> confdefs.h <<EOF | |
8673 #define ATHENA_LabelP_h_ "$athena_h_path/LabelP.h" | |
8674 EOF | |
8675 } | |
8676 | |
8677 { test "$extra_verbose" = "yes" && cat << EOF | |
8678 Defining ATHENA_Toggle_h_ = "$athena_h_path/Toggle.h" | |
8679 EOF | |
8680 cat >> confdefs.h <<EOF | |
8681 #define ATHENA_Toggle_h_ "$athena_h_path/Toggle.h" | |
8682 EOF | |
8683 } | |
8684 | |
8685 { test "$extra_verbose" = "yes" && cat << EOF | |
8686 Defining ATHENA_ToggleP_h_ = "$athena_h_path/ToggleP.h" | |
8687 EOF | |
8688 cat >> confdefs.h <<EOF | |
8689 #define ATHENA_ToggleP_h_ "$athena_h_path/ToggleP.h" | |
8690 EOF | |
8691 } | |
8692 | |
8693 { test "$extra_verbose" = "yes" && cat << EOF | |
8694 Defining ATHENA_AsciiText_h_ = "$athena_h_path/AsciiText.h" | |
8695 EOF | |
8696 cat >> confdefs.h <<EOF | |
8697 #define ATHENA_AsciiText_h_ "$athena_h_path/AsciiText.h" | |
8698 EOF | |
8699 } | |
8700 | |
8701 { test "$extra_verbose" = "yes" && cat << EOF | |
8702 Defining ATHENA_XawInit_h_ = "$athena_h_path/XawInit.h" | |
8703 EOF | |
8704 cat >> confdefs.h <<EOF | |
8705 #define ATHENA_XawInit_h_ "$athena_h_path/XawInit.h" | |
8768 EOF | 8706 EOF |
8769 } | 8707 } |
8770 | 8708 |
8771 | 8709 |
8772 { test "$extra_verbose" = "yes" && cat << \EOF | 8710 { test "$extra_verbose" = "yes" && cat << \EOF |
8783 cat >> confdefs.h <<\EOF | 8721 cat >> confdefs.h <<\EOF |
8784 #define NEED_ATHENA 1 | 8722 #define NEED_ATHENA 1 |
8785 EOF | 8723 EOF |
8786 } | 8724 } |
8787 | 8725 |
8726 need_athena="yes" | |
8788 | 8727 |
8789 if test "$athena_3d" = "yes"; then | 8728 if test "$athena_3d" = "yes"; then |
8790 { test "$extra_verbose" = "yes" && cat << \EOF | 8729 { test "$extra_verbose" = "yes" && cat << \EOF |
8791 Defining HAVE_ATHENA_3D | 8730 Defining HAVE_ATHENA_3D |
8792 EOF | 8731 EOF |
9037 fi | 8976 fi |
9038 fi | 8977 fi |
9039 | 8978 |
9040 if test "$with_mule" = "yes" ; then | 8979 if test "$with_mule" = "yes" ; then |
9041 echo "checking for Mule-related features" 1>&6 | 8980 echo "checking for Mule-related features" 1>&6 |
9042 echo "configure:9043: checking for Mule-related features" >&5 | 8981 echo "configure:8982: checking for Mule-related features" >&5 |
9043 { test "$extra_verbose" = "yes" && cat << \EOF | 8982 { test "$extra_verbose" = "yes" && cat << \EOF |
9044 Defining MULE | 8983 Defining MULE |
9045 EOF | 8984 EOF |
9046 cat >> confdefs.h <<\EOF | 8985 cat >> confdefs.h <<\EOF |
9047 #define MULE 1 | 8986 #define MULE 1 |
9062 | 9001 |
9063 for ac_hdr in libintl.h | 9002 for ac_hdr in libintl.h |
9064 do | 9003 do |
9065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9004 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9005 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9067 echo "configure:9068: checking for $ac_hdr" >&5 | 9006 echo "configure:9007: checking for $ac_hdr" >&5 |
9068 | 9007 |
9069 cat > conftest.$ac_ext <<EOF | 9008 cat > conftest.$ac_ext <<EOF |
9070 #line 9071 "configure" | 9009 #line 9010 "configure" |
9071 #include "confdefs.h" | 9010 #include "confdefs.h" |
9072 #include <$ac_hdr> | 9011 #include <$ac_hdr> |
9073 EOF | 9012 EOF |
9074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9075 { (eval echo configure:9076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9014 { (eval echo configure:9015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9077 if test -z "$ac_err"; then | 9016 if test -z "$ac_err"; then |
9078 rm -rf conftest* | 9017 rm -rf conftest* |
9079 eval "ac_cv_header_$ac_safe=yes" | 9018 eval "ac_cv_header_$ac_safe=yes" |
9080 else | 9019 else |
9101 fi | 9040 fi |
9102 done | 9041 done |
9103 | 9042 |
9104 | 9043 |
9105 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9044 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9106 echo "configure:9107: checking for strerror in -lintl" >&5 | 9045 echo "configure:9046: checking for strerror in -lintl" >&5 |
9107 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9046 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9108 | 9047 |
9109 xe_check_libs=" -lintl " | 9048 xe_check_libs=" -lintl " |
9110 cat > conftest.$ac_ext <<EOF | 9049 cat > conftest.$ac_ext <<EOF |
9111 #line 9112 "configure" | 9050 #line 9051 "configure" |
9112 #include "confdefs.h" | 9051 #include "confdefs.h" |
9113 /* Override any gcc2 internal prototype to avoid an error. */ | 9052 /* Override any gcc2 internal prototype to avoid an error. */ |
9114 /* We use char because int might match the return type of a gcc2 | 9053 /* We use char because int might match the return type of a gcc2 |
9115 builtin and then its argument prototype would still apply. */ | 9054 builtin and then its argument prototype would still apply. */ |
9116 char strerror(); | 9055 char strerror(); |
9117 | 9056 |
9118 int main() { | 9057 int main() { |
9119 strerror() | 9058 strerror() |
9120 ; return 0; } | 9059 ; return 0; } |
9121 EOF | 9060 EOF |
9122 if { (eval echo configure:9123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9123 rm -rf conftest* | 9062 rm -rf conftest* |
9124 eval "ac_cv_lib_$ac_lib_var=yes" | 9063 eval "ac_cv_lib_$ac_lib_var=yes" |
9125 else | 9064 else |
9126 echo "configure: failed program was:" >&5 | 9065 echo "configure: failed program was:" >&5 |
9127 cat conftest.$ac_ext >&5 | 9066 cat conftest.$ac_ext >&5 |
9150 fi | 9089 fi |
9151 | 9090 |
9152 | 9091 |
9153 | 9092 |
9154 echo "checking for Mule input methods" 1>&6 | 9093 echo "checking for Mule input methods" 1>&6 |
9155 echo "configure:9156: checking for Mule input methods" >&5 | 9094 echo "configure:9095: checking for Mule input methods" >&5 |
9156 case "$with_xim" in "" | "yes" ) | 9095 case "$with_xim" in "" | "yes" ) |
9157 echo "checking for XIM" 1>&6 | 9096 echo "checking for XIM" 1>&6 |
9158 echo "configure:9159: checking for XIM" >&5 | 9097 echo "configure:9098: checking for XIM" >&5 |
9159 | 9098 |
9160 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9099 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9161 echo "configure:9162: checking for XOpenIM in -lX11" >&5 | 9100 echo "configure:9101: checking for XOpenIM in -lX11" >&5 |
9162 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9101 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9163 | 9102 |
9164 xe_check_libs=" -lX11 " | 9103 xe_check_libs=" -lX11 " |
9165 cat > conftest.$ac_ext <<EOF | 9104 cat > conftest.$ac_ext <<EOF |
9166 #line 9167 "configure" | 9105 #line 9106 "configure" |
9167 #include "confdefs.h" | 9106 #include "confdefs.h" |
9168 /* Override any gcc2 internal prototype to avoid an error. */ | 9107 /* Override any gcc2 internal prototype to avoid an error. */ |
9169 /* We use char because int might match the return type of a gcc2 | 9108 /* We use char because int might match the return type of a gcc2 |
9170 builtin and then its argument prototype would still apply. */ | 9109 builtin and then its argument prototype would still apply. */ |
9171 char XOpenIM(); | 9110 char XOpenIM(); |
9172 | 9111 |
9173 int main() { | 9112 int main() { |
9174 XOpenIM() | 9113 XOpenIM() |
9175 ; return 0; } | 9114 ; return 0; } |
9176 EOF | 9115 EOF |
9177 if { (eval echo configure:9178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9116 if { (eval echo configure:9117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9178 rm -rf conftest* | 9117 rm -rf conftest* |
9179 eval "ac_cv_lib_$ac_lib_var=yes" | 9118 eval "ac_cv_lib_$ac_lib_var=yes" |
9180 else | 9119 else |
9181 echo "configure: failed program was:" >&5 | 9120 echo "configure: failed program was:" >&5 |
9182 cat conftest.$ac_ext >&5 | 9121 cat conftest.$ac_ext >&5 |
9196 | 9135 |
9197 | 9136 |
9198 if test "$have_motif $have_lesstif" = "yes no"; then | 9137 if test "$have_motif $have_lesstif" = "yes no"; then |
9199 | 9138 |
9200 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9139 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9201 echo "configure:9202: checking for XmImMbLookupString in -lXm" >&5 | 9140 echo "configure:9141: checking for XmImMbLookupString in -lXm" >&5 |
9202 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9141 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9203 | 9142 |
9204 xe_check_libs=" -lXm " | 9143 xe_check_libs=" -lXm " |
9205 cat > conftest.$ac_ext <<EOF | 9144 cat > conftest.$ac_ext <<EOF |
9206 #line 9207 "configure" | 9145 #line 9146 "configure" |
9207 #include "confdefs.h" | 9146 #include "confdefs.h" |
9208 /* Override any gcc2 internal prototype to avoid an error. */ | 9147 /* Override any gcc2 internal prototype to avoid an error. */ |
9209 /* We use char because int might match the return type of a gcc2 | 9148 /* We use char because int might match the return type of a gcc2 |
9210 builtin and then its argument prototype would still apply. */ | 9149 builtin and then its argument prototype would still apply. */ |
9211 char XmImMbLookupString(); | 9150 char XmImMbLookupString(); |
9212 | 9151 |
9213 int main() { | 9152 int main() { |
9214 XmImMbLookupString() | 9153 XmImMbLookupString() |
9215 ; return 0; } | 9154 ; return 0; } |
9216 EOF | 9155 EOF |
9217 if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9156 if { (eval echo configure:9157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9218 rm -rf conftest* | 9157 rm -rf conftest* |
9219 eval "ac_cv_lib_$ac_lib_var=yes" | 9158 eval "ac_cv_lib_$ac_lib_var=yes" |
9220 else | 9159 else |
9221 echo "configure: failed program was:" >&5 | 9160 echo "configure: failed program was:" >&5 |
9222 cat conftest.$ac_ext >&5 | 9161 cat conftest.$ac_ext >&5 |
9277 fi | 9216 fi |
9278 fi | 9217 fi |
9279 | 9218 |
9280 if test "$with_xfs" = "yes" ; then | 9219 if test "$with_xfs" = "yes" ; then |
9281 echo "checking for XFontSet" 1>&6 | 9220 echo "checking for XFontSet" 1>&6 |
9282 echo "configure:9283: checking for XFontSet" >&5 | 9221 echo "configure:9222: checking for XFontSet" >&5 |
9283 | 9222 |
9284 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9223 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
9285 echo "configure:9286: checking for XmbDrawString in -lX11" >&5 | 9224 echo "configure:9225: checking for XmbDrawString in -lX11" >&5 |
9286 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9225 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
9287 | 9226 |
9288 xe_check_libs=" -lX11 " | 9227 xe_check_libs=" -lX11 " |
9289 cat > conftest.$ac_ext <<EOF | 9228 cat > conftest.$ac_ext <<EOF |
9290 #line 9291 "configure" | 9229 #line 9230 "configure" |
9291 #include "confdefs.h" | 9230 #include "confdefs.h" |
9292 /* Override any gcc2 internal prototype to avoid an error. */ | 9231 /* Override any gcc2 internal prototype to avoid an error. */ |
9293 /* We use char because int might match the return type of a gcc2 | 9232 /* We use char because int might match the return type of a gcc2 |
9294 builtin and then its argument prototype would still apply. */ | 9233 builtin and then its argument prototype would still apply. */ |
9295 char XmbDrawString(); | 9234 char XmbDrawString(); |
9296 | 9235 |
9297 int main() { | 9236 int main() { |
9298 XmbDrawString() | 9237 XmbDrawString() |
9299 ; return 0; } | 9238 ; return 0; } |
9300 EOF | 9239 EOF |
9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9240 if { (eval echo configure:9241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9302 rm -rf conftest* | 9241 rm -rf conftest* |
9303 eval "ac_cv_lib_$ac_lib_var=yes" | 9242 eval "ac_cv_lib_$ac_lib_var=yes" |
9304 else | 9243 else |
9305 echo "configure: failed program was:" >&5 | 9244 echo "configure: failed program was:" >&5 |
9306 cat conftest.$ac_ext >&5 | 9245 cat conftest.$ac_ext >&5 |
9336 fi | 9275 fi |
9337 fi | 9276 fi |
9338 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9277 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
9339 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9278 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
9340 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9279 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
9341 echo "configure:9342: checking for wnn/jllib.h" >&5 | 9280 echo "configure:9281: checking for wnn/jllib.h" >&5 |
9342 | 9281 |
9343 cat > conftest.$ac_ext <<EOF | 9282 cat > conftest.$ac_ext <<EOF |
9344 #line 9345 "configure" | 9283 #line 9284 "configure" |
9345 #include "confdefs.h" | 9284 #include "confdefs.h" |
9346 #include <wnn/jllib.h> | 9285 #include <wnn/jllib.h> |
9347 EOF | 9286 EOF |
9348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9349 { (eval echo configure:9350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9288 { (eval echo configure:9289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9351 if test -z "$ac_err"; then | 9290 if test -z "$ac_err"; then |
9352 rm -rf conftest* | 9291 rm -rf conftest* |
9353 eval "ac_cv_header_$ac_safe=yes" | 9292 eval "ac_cv_header_$ac_safe=yes" |
9354 else | 9293 else |
9369 } | 9308 } |
9370 if test "$with_wnn" != "no"; then | 9309 if test "$with_wnn" != "no"; then |
9371 for ac_func in crypt | 9310 for ac_func in crypt |
9372 do | 9311 do |
9373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9374 echo "configure:9375: checking for $ac_func" >&5 | 9313 echo "configure:9314: checking for $ac_func" >&5 |
9375 | 9314 |
9376 cat > conftest.$ac_ext <<EOF | 9315 cat > conftest.$ac_ext <<EOF |
9377 #line 9378 "configure" | 9316 #line 9317 "configure" |
9378 #include "confdefs.h" | 9317 #include "confdefs.h" |
9379 /* System header to define __stub macros and hopefully few prototypes, | 9318 /* System header to define __stub macros and hopefully few prototypes, |
9380 which can conflict with char $ac_func(); below. */ | 9319 which can conflict with char $ac_func(); below. */ |
9381 #include <assert.h> | 9320 #include <assert.h> |
9382 /* Override any gcc2 internal prototype to avoid an error. */ | 9321 /* Override any gcc2 internal prototype to avoid an error. */ |
9395 $ac_func(); | 9334 $ac_func(); |
9396 #endif | 9335 #endif |
9397 | 9336 |
9398 ; return 0; } | 9337 ; return 0; } |
9399 EOF | 9338 EOF |
9400 if { (eval echo configure:9401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9339 if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9401 rm -rf conftest* | 9340 rm -rf conftest* |
9402 eval "ac_cv_func_$ac_func=yes" | 9341 eval "ac_cv_func_$ac_func=yes" |
9403 else | 9342 else |
9404 echo "configure: failed program was:" >&5 | 9343 echo "configure: failed program was:" >&5 |
9405 cat conftest.$ac_ext >&5 | 9344 cat conftest.$ac_ext >&5 |
9424 fi | 9363 fi |
9425 done | 9364 done |
9426 | 9365 |
9427 test "$ac_cv_func_crypt" != "yes" && { | 9366 test "$ac_cv_func_crypt" != "yes" && { |
9428 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9367 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
9429 echo "configure:9430: checking for crypt in -lcrypt" >&5 | 9368 echo "configure:9369: checking for crypt in -lcrypt" >&5 |
9430 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9369 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
9431 | 9370 |
9432 xe_check_libs=" -lcrypt " | 9371 xe_check_libs=" -lcrypt " |
9433 cat > conftest.$ac_ext <<EOF | 9372 cat > conftest.$ac_ext <<EOF |
9434 #line 9435 "configure" | 9373 #line 9374 "configure" |
9435 #include "confdefs.h" | 9374 #include "confdefs.h" |
9436 /* Override any gcc2 internal prototype to avoid an error. */ | 9375 /* Override any gcc2 internal prototype to avoid an error. */ |
9437 /* We use char because int might match the return type of a gcc2 | 9376 /* We use char because int might match the return type of a gcc2 |
9438 builtin and then its argument prototype would still apply. */ | 9377 builtin and then its argument prototype would still apply. */ |
9439 char crypt(); | 9378 char crypt(); |
9440 | 9379 |
9441 int main() { | 9380 int main() { |
9442 crypt() | 9381 crypt() |
9443 ; return 0; } | 9382 ; return 0; } |
9444 EOF | 9383 EOF |
9445 if { (eval echo configure:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9384 if { (eval echo configure:9385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9446 rm -rf conftest* | 9385 rm -rf conftest* |
9447 eval "ac_cv_lib_$ac_lib_var=yes" | 9386 eval "ac_cv_lib_$ac_lib_var=yes" |
9448 else | 9387 else |
9449 echo "configure: failed program was:" >&5 | 9388 echo "configure: failed program was:" >&5 |
9450 cat conftest.$ac_ext >&5 | 9389 cat conftest.$ac_ext >&5 |
9475 } | 9414 } |
9476 fi | 9415 fi |
9477 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9416 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9478 | 9417 |
9479 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9480 echo "configure:9481: checking for jl_dic_list_e in -lwnn" >&5 | 9419 echo "configure:9420: checking for jl_dic_list_e in -lwnn" >&5 |
9481 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9420 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9482 | 9421 |
9483 xe_check_libs=" -lwnn " | 9422 xe_check_libs=" -lwnn " |
9484 cat > conftest.$ac_ext <<EOF | 9423 cat > conftest.$ac_ext <<EOF |
9485 #line 9486 "configure" | 9424 #line 9425 "configure" |
9486 #include "confdefs.h" | 9425 #include "confdefs.h" |
9487 /* Override any gcc2 internal prototype to avoid an error. */ | 9426 /* Override any gcc2 internal prototype to avoid an error. */ |
9488 /* We use char because int might match the return type of a gcc2 | 9427 /* We use char because int might match the return type of a gcc2 |
9489 builtin and then its argument prototype would still apply. */ | 9428 builtin and then its argument prototype would still apply. */ |
9490 char jl_dic_list_e(); | 9429 char jl_dic_list_e(); |
9491 | 9430 |
9492 int main() { | 9431 int main() { |
9493 jl_dic_list_e() | 9432 jl_dic_list_e() |
9494 ; return 0; } | 9433 ; return 0; } |
9495 EOF | 9434 EOF |
9496 if { (eval echo configure:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9497 rm -rf conftest* | 9436 rm -rf conftest* |
9498 eval "ac_cv_lib_$ac_lib_var=yes" | 9437 eval "ac_cv_lib_$ac_lib_var=yes" |
9499 else | 9438 else |
9500 echo "configure: failed program was:" >&5 | 9439 echo "configure: failed program was:" >&5 |
9501 cat conftest.$ac_ext >&5 | 9440 cat conftest.$ac_ext >&5 |
9509 echo "$ac_t""yes" 1>&6 | 9448 echo "$ac_t""yes" 1>&6 |
9510 libwnn=wnn | 9449 libwnn=wnn |
9511 else | 9450 else |
9512 echo "$ac_t""no" 1>&6 | 9451 echo "$ac_t""no" 1>&6 |
9513 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9452 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
9514 echo "configure:9515: checking for jl_dic_list_e in -lwnn4" >&5 | 9453 echo "configure:9454: checking for jl_dic_list_e in -lwnn4" >&5 |
9515 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9454 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9516 | 9455 |
9517 xe_check_libs=" -lwnn4 " | 9456 xe_check_libs=" -lwnn4 " |
9518 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
9519 #line 9520 "configure" | 9458 #line 9459 "configure" |
9520 #include "confdefs.h" | 9459 #include "confdefs.h" |
9521 /* Override any gcc2 internal prototype to avoid an error. */ | 9460 /* Override any gcc2 internal prototype to avoid an error. */ |
9522 /* 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 |
9523 builtin and then its argument prototype would still apply. */ | 9462 builtin and then its argument prototype would still apply. */ |
9524 char jl_dic_list_e(); | 9463 char jl_dic_list_e(); |
9525 | 9464 |
9526 int main() { | 9465 int main() { |
9527 jl_dic_list_e() | 9466 jl_dic_list_e() |
9528 ; return 0; } | 9467 ; return 0; } |
9529 EOF | 9468 EOF |
9530 if { (eval echo configure:9531: \"$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 |
9531 rm -rf conftest* | 9470 rm -rf conftest* |
9532 eval "ac_cv_lib_$ac_lib_var=yes" | 9471 eval "ac_cv_lib_$ac_lib_var=yes" |
9533 else | 9472 else |
9534 echo "configure: failed program was:" >&5 | 9473 echo "configure: failed program was:" >&5 |
9535 cat conftest.$ac_ext >&5 | 9474 cat conftest.$ac_ext >&5 |
9543 echo "$ac_t""yes" 1>&6 | 9482 echo "$ac_t""yes" 1>&6 |
9544 libwnn=wnn4 | 9483 libwnn=wnn4 |
9545 else | 9484 else |
9546 echo "$ac_t""no" 1>&6 | 9485 echo "$ac_t""no" 1>&6 |
9547 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9486 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
9548 echo "configure:9549: checking for jl_dic_list_e in -lwnn6" >&5 | 9487 echo "configure:9488: checking for jl_dic_list_e in -lwnn6" >&5 |
9549 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9488 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9550 | 9489 |
9551 xe_check_libs=" -lwnn6 " | 9490 xe_check_libs=" -lwnn6 " |
9552 cat > conftest.$ac_ext <<EOF | 9491 cat > conftest.$ac_ext <<EOF |
9553 #line 9554 "configure" | 9492 #line 9493 "configure" |
9554 #include "confdefs.h" | 9493 #include "confdefs.h" |
9555 /* Override any gcc2 internal prototype to avoid an error. */ | 9494 /* Override any gcc2 internal prototype to avoid an error. */ |
9556 /* We use char because int might match the return type of a gcc2 | 9495 /* We use char because int might match the return type of a gcc2 |
9557 builtin and then its argument prototype would still apply. */ | 9496 builtin and then its argument prototype would still apply. */ |
9558 char jl_dic_list_e(); | 9497 char jl_dic_list_e(); |
9559 | 9498 |
9560 int main() { | 9499 int main() { |
9561 jl_dic_list_e() | 9500 jl_dic_list_e() |
9562 ; return 0; } | 9501 ; return 0; } |
9563 EOF | 9502 EOF |
9564 if { (eval echo configure:9565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9503 if { (eval echo configure:9504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9565 rm -rf conftest* | 9504 rm -rf conftest* |
9566 eval "ac_cv_lib_$ac_lib_var=yes" | 9505 eval "ac_cv_lib_$ac_lib_var=yes" |
9567 else | 9506 else |
9568 echo "configure: failed program was:" >&5 | 9507 echo "configure: failed program was:" >&5 |
9569 cat conftest.$ac_ext >&5 | 9508 cat conftest.$ac_ext >&5 |
9577 echo "$ac_t""yes" 1>&6 | 9516 echo "$ac_t""yes" 1>&6 |
9578 libwnn=wnn6 | 9517 libwnn=wnn6 |
9579 else | 9518 else |
9580 echo "$ac_t""no" 1>&6 | 9519 echo "$ac_t""no" 1>&6 |
9581 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9520 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
9582 echo "configure:9583: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9521 echo "configure:9522: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
9583 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9522 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
9584 | 9523 |
9585 xe_check_libs=" -lwnn6_fromsrc " | 9524 xe_check_libs=" -lwnn6_fromsrc " |
9586 cat > conftest.$ac_ext <<EOF | 9525 cat > conftest.$ac_ext <<EOF |
9587 #line 9588 "configure" | 9526 #line 9527 "configure" |
9588 #include "confdefs.h" | 9527 #include "confdefs.h" |
9589 /* Override any gcc2 internal prototype to avoid an error. */ | 9528 /* Override any gcc2 internal prototype to avoid an error. */ |
9590 /* We use char because int might match the return type of a gcc2 | 9529 /* We use char because int might match the return type of a gcc2 |
9591 builtin and then its argument prototype would still apply. */ | 9530 builtin and then its argument prototype would still apply. */ |
9592 char dic_list_e(); | 9531 char dic_list_e(); |
9593 | 9532 |
9594 int main() { | 9533 int main() { |
9595 dic_list_e() | 9534 dic_list_e() |
9596 ; return 0; } | 9535 ; return 0; } |
9597 EOF | 9536 EOF |
9598 if { (eval echo configure:9599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9537 if { (eval echo configure:9538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9599 rm -rf conftest* | 9538 rm -rf conftest* |
9600 eval "ac_cv_lib_$ac_lib_var=yes" | 9539 eval "ac_cv_lib_$ac_lib_var=yes" |
9601 else | 9540 else |
9602 echo "configure: failed program was:" >&5 | 9541 echo "configure: failed program was:" >&5 |
9603 cat conftest.$ac_ext >&5 | 9542 cat conftest.$ac_ext >&5 |
9641 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9580 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
9642 fi | 9581 fi |
9643 if test "$with_wnn6" != "no"; then | 9582 if test "$with_wnn6" != "no"; then |
9644 | 9583 |
9645 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9584 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
9646 echo "configure:9647: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9585 echo "configure:9586: checking for jl_fi_dic_list in -l$libwnn" >&5 |
9647 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9586 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
9648 | 9587 |
9649 xe_check_libs=" -l$libwnn " | 9588 xe_check_libs=" -l$libwnn " |
9650 cat > conftest.$ac_ext <<EOF | 9589 cat > conftest.$ac_ext <<EOF |
9651 #line 9652 "configure" | 9590 #line 9591 "configure" |
9652 #include "confdefs.h" | 9591 #include "confdefs.h" |
9653 /* Override any gcc2 internal prototype to avoid an error. */ | 9592 /* Override any gcc2 internal prototype to avoid an error. */ |
9654 /* We use char because int might match the return type of a gcc2 | 9593 /* We use char because int might match the return type of a gcc2 |
9655 builtin and then its argument prototype would still apply. */ | 9594 builtin and then its argument prototype would still apply. */ |
9656 char jl_fi_dic_list(); | 9595 char jl_fi_dic_list(); |
9657 | 9596 |
9658 int main() { | 9597 int main() { |
9659 jl_fi_dic_list() | 9598 jl_fi_dic_list() |
9660 ; return 0; } | 9599 ; return 0; } |
9661 EOF | 9600 EOF |
9662 if { (eval echo configure:9663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9663 rm -rf conftest* | 9602 rm -rf conftest* |
9664 eval "ac_cv_lib_$ac_lib_var=yes" | 9603 eval "ac_cv_lib_$ac_lib_var=yes" |
9665 else | 9604 else |
9666 echo "configure: failed program was:" >&5 | 9605 echo "configure: failed program was:" >&5 |
9667 cat conftest.$ac_ext >&5 | 9606 cat conftest.$ac_ext >&5 |
9692 | 9631 |
9693 canna_includes_found=no | 9632 canna_includes_found=no |
9694 if test "$with_canna" != "no"; then | 9633 if test "$with_canna" != "no"; then |
9695 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9634 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9696 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9635 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9697 echo "configure:9698: checking for canna/jrkanji.h" >&5 | 9636 echo "configure:9637: checking for canna/jrkanji.h" >&5 |
9698 | 9637 |
9699 cat > conftest.$ac_ext <<EOF | 9638 cat > conftest.$ac_ext <<EOF |
9700 #line 9701 "configure" | 9639 #line 9640 "configure" |
9701 #include "confdefs.h" | 9640 #include "confdefs.h" |
9702 #include <canna/jrkanji.h> | 9641 #include <canna/jrkanji.h> |
9703 EOF | 9642 EOF |
9704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9705 { (eval echo configure:9706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9644 { (eval echo configure:9645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9707 if test -z "$ac_err"; then | 9646 if test -z "$ac_err"; then |
9708 rm -rf conftest* | 9647 rm -rf conftest* |
9709 eval "ac_cv_header_$ac_safe=yes" | 9648 eval "ac_cv_header_$ac_safe=yes" |
9710 else | 9649 else |
9727 -d "/usr/local/canna/include"; then | 9666 -d "/usr/local/canna/include"; then |
9728 save_c_switch_site="$c_switch_site" | 9667 save_c_switch_site="$c_switch_site" |
9729 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9668 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
9730 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9669 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9731 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9670 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9732 echo "configure:9733: checking for canna/jrkanji.h" >&5 | 9671 echo "configure:9672: checking for canna/jrkanji.h" >&5 |
9733 | 9672 |
9734 cat > conftest.$ac_ext <<EOF | 9673 cat > conftest.$ac_ext <<EOF |
9735 #line 9736 "configure" | 9674 #line 9675 "configure" |
9736 #include "confdefs.h" | 9675 #include "confdefs.h" |
9737 #include <canna/jrkanji.h> | 9676 #include <canna/jrkanji.h> |
9738 EOF | 9677 EOF |
9739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9740 { (eval echo configure:9741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9679 { (eval echo configure:9680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9742 if test -z "$ac_err"; then | 9681 if test -z "$ac_err"; then |
9743 rm -rf conftest* | 9682 rm -rf conftest* |
9744 eval "ac_cv_header_$ac_safe=yes" | 9683 eval "ac_cv_header_$ac_safe=yes" |
9745 else | 9684 else |
9763 fi | 9702 fi |
9764 fi | 9703 fi |
9765 | 9704 |
9766 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9705 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
9767 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9706 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
9768 echo "configure:9769: checking for canna/RK.h" >&5 | 9707 echo "configure:9708: checking for canna/RK.h" >&5 |
9769 | 9708 |
9770 cat > conftest.$ac_ext <<EOF | 9709 cat > conftest.$ac_ext <<EOF |
9771 #line 9772 "configure" | 9710 #line 9711 "configure" |
9772 #include "confdefs.h" | 9711 #include "confdefs.h" |
9773 #include <canna/RK.h> | 9712 #include <canna/RK.h> |
9774 EOF | 9713 EOF |
9775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9714 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9776 { (eval echo configure:9777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9715 { (eval echo configure:9716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9716 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9778 if test -z "$ac_err"; then | 9717 if test -z "$ac_err"; then |
9779 rm -rf conftest* | 9718 rm -rf conftest* |
9780 eval "ac_cv_header_$ac_safe=yes" | 9719 eval "ac_cv_header_$ac_safe=yes" |
9781 else | 9720 else |
9794 with_canna=no | 9733 with_canna=no |
9795 fi | 9734 fi |
9796 } | 9735 } |
9797 test -z "$with_canna" && { | 9736 test -z "$with_canna" && { |
9798 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9737 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
9799 echo "configure:9800: checking for RkBgnBun in -lRKC" >&5 | 9738 echo "configure:9739: checking for RkBgnBun in -lRKC" >&5 |
9800 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9739 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
9801 | 9740 |
9802 xe_check_libs=" -lRKC " | 9741 xe_check_libs=" -lRKC " |
9803 cat > conftest.$ac_ext <<EOF | 9742 cat > conftest.$ac_ext <<EOF |
9804 #line 9805 "configure" | 9743 #line 9744 "configure" |
9805 #include "confdefs.h" | 9744 #include "confdefs.h" |
9806 /* Override any gcc2 internal prototype to avoid an error. */ | 9745 /* Override any gcc2 internal prototype to avoid an error. */ |
9807 /* We use char because int might match the return type of a gcc2 | 9746 /* We use char because int might match the return type of a gcc2 |
9808 builtin and then its argument prototype would still apply. */ | 9747 builtin and then its argument prototype would still apply. */ |
9809 char RkBgnBun(); | 9748 char RkBgnBun(); |
9810 | 9749 |
9811 int main() { | 9750 int main() { |
9812 RkBgnBun() | 9751 RkBgnBun() |
9813 ; return 0; } | 9752 ; return 0; } |
9814 EOF | 9753 EOF |
9815 if { (eval echo configure:9816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9816 rm -rf conftest* | 9755 rm -rf conftest* |
9817 eval "ac_cv_lib_$ac_lib_var=yes" | 9756 eval "ac_cv_lib_$ac_lib_var=yes" |
9818 else | 9757 else |
9819 echo "configure: failed program was:" >&5 | 9758 echo "configure: failed program was:" >&5 |
9820 cat conftest.$ac_ext >&5 | 9759 cat conftest.$ac_ext >&5 |
9833 fi | 9772 fi |
9834 | 9773 |
9835 } | 9774 } |
9836 test -z "$with_canna" && { | 9775 test -z "$with_canna" && { |
9837 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9776 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
9838 echo "configure:9839: checking for jrKanjiControl in -lcanna" >&5 | 9777 echo "configure:9778: checking for jrKanjiControl in -lcanna" >&5 |
9839 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9778 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
9840 | 9779 |
9841 xe_check_libs=" -lcanna " | 9780 xe_check_libs=" -lcanna " |
9842 cat > conftest.$ac_ext <<EOF | 9781 cat > conftest.$ac_ext <<EOF |
9843 #line 9844 "configure" | 9782 #line 9783 "configure" |
9844 #include "confdefs.h" | 9783 #include "confdefs.h" |
9845 /* Override any gcc2 internal prototype to avoid an error. */ | 9784 /* Override any gcc2 internal prototype to avoid an error. */ |
9846 /* We use char because int might match the return type of a gcc2 | 9785 /* We use char because int might match the return type of a gcc2 |
9847 builtin and then its argument prototype would still apply. */ | 9786 builtin and then its argument prototype would still apply. */ |
9848 char jrKanjiControl(); | 9787 char jrKanjiControl(); |
9849 | 9788 |
9850 int main() { | 9789 int main() { |
9851 jrKanjiControl() | 9790 jrKanjiControl() |
9852 ; return 0; } | 9791 ; return 0; } |
9853 EOF | 9792 EOF |
9854 if { (eval echo configure:9855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9793 if { (eval echo configure:9794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9855 rm -rf conftest* | 9794 rm -rf conftest* |
9856 eval "ac_cv_lib_$ac_lib_var=yes" | 9795 eval "ac_cv_lib_$ac_lib_var=yes" |
9857 else | 9796 else |
9858 echo "configure: failed program was:" >&5 | 9797 echo "configure: failed program was:" >&5 |
9859 cat conftest.$ac_ext >&5 | 9798 cat conftest.$ac_ext >&5 |
9898 | 9837 |
9899 if test "$need_motif" = "yes" ; then | 9838 if test "$need_motif" = "yes" ; then |
9900 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 9839 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
9901 | 9840 |
9902 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 9841 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
9903 echo "configure:9904: checking for layout_object_getvalue in -li18n" >&5 | 9842 echo "configure:9843: checking for layout_object_getvalue in -li18n" >&5 |
9904 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 9843 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
9905 | 9844 |
9906 xe_check_libs=" -li18n " | 9845 xe_check_libs=" -li18n " |
9907 cat > conftest.$ac_ext <<EOF | 9846 cat > conftest.$ac_ext <<EOF |
9908 #line 9909 "configure" | 9847 #line 9848 "configure" |
9909 #include "confdefs.h" | 9848 #include "confdefs.h" |
9910 /* Override any gcc2 internal prototype to avoid an error. */ | 9849 /* Override any gcc2 internal prototype to avoid an error. */ |
9911 /* We use char because int might match the return type of a gcc2 | 9850 /* We use char because int might match the return type of a gcc2 |
9912 builtin and then its argument prototype would still apply. */ | 9851 builtin and then its argument prototype would still apply. */ |
9913 char layout_object_getvalue(); | 9852 char layout_object_getvalue(); |
9914 | 9853 |
9915 int main() { | 9854 int main() { |
9916 layout_object_getvalue() | 9855 layout_object_getvalue() |
9917 ; return 0; } | 9856 ; return 0; } |
9918 EOF | 9857 EOF |
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9920 rm -rf conftest* | 9859 rm -rf conftest* |
9921 eval "ac_cv_lib_$ac_lib_var=yes" | 9860 eval "ac_cv_lib_$ac_lib_var=yes" |
9922 else | 9861 else |
9923 echo "configure: failed program was:" >&5 | 9862 echo "configure: failed program was:" >&5 |
9924 cat conftest.$ac_ext >&5 | 9863 cat conftest.$ac_ext >&5 |
10000 fi | 9939 fi |
10001 | 9940 |
10002 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 9941 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask |
10003 do | 9942 do |
10004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10005 echo "configure:10006: checking for $ac_func" >&5 | 9944 echo "configure:9945: checking for $ac_func" >&5 |
10006 | 9945 |
10007 cat > conftest.$ac_ext <<EOF | 9946 cat > conftest.$ac_ext <<EOF |
10008 #line 10009 "configure" | 9947 #line 9948 "configure" |
10009 #include "confdefs.h" | 9948 #include "confdefs.h" |
10010 /* System header to define __stub macros and hopefully few prototypes, | 9949 /* System header to define __stub macros and hopefully few prototypes, |
10011 which can conflict with char $ac_func(); below. */ | 9950 which can conflict with char $ac_func(); below. */ |
10012 #include <assert.h> | 9951 #include <assert.h> |
10013 /* Override any gcc2 internal prototype to avoid an error. */ | 9952 /* Override any gcc2 internal prototype to avoid an error. */ |
10026 $ac_func(); | 9965 $ac_func(); |
10027 #endif | 9966 #endif |
10028 | 9967 |
10029 ; return 0; } | 9968 ; return 0; } |
10030 EOF | 9969 EOF |
10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9970 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10032 rm -rf conftest* | 9971 rm -rf conftest* |
10033 eval "ac_cv_func_$ac_func=yes" | 9972 eval "ac_cv_func_$ac_func=yes" |
10034 else | 9973 else |
10035 echo "configure: failed program was:" >&5 | 9974 echo "configure: failed program was:" >&5 |
10036 cat conftest.$ac_ext >&5 | 9975 cat conftest.$ac_ext >&5 |
10061 fi | 10000 fi |
10062 | 10001 |
10063 for ac_func in getloadavg | 10002 for ac_func in getloadavg |
10064 do | 10003 do |
10065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10066 echo "configure:10067: checking for $ac_func" >&5 | 10005 echo "configure:10006: checking for $ac_func" >&5 |
10067 | 10006 |
10068 cat > conftest.$ac_ext <<EOF | 10007 cat > conftest.$ac_ext <<EOF |
10069 #line 10070 "configure" | 10008 #line 10009 "configure" |
10070 #include "confdefs.h" | 10009 #include "confdefs.h" |
10071 /* System header to define __stub macros and hopefully few prototypes, | 10010 /* System header to define __stub macros and hopefully few prototypes, |
10072 which can conflict with char $ac_func(); below. */ | 10011 which can conflict with char $ac_func(); below. */ |
10073 #include <assert.h> | 10012 #include <assert.h> |
10074 /* Override any gcc2 internal prototype to avoid an error. */ | 10013 /* Override any gcc2 internal prototype to avoid an error. */ |
10087 $ac_func(); | 10026 $ac_func(); |
10088 #endif | 10027 #endif |
10089 | 10028 |
10090 ; return 0; } | 10029 ; return 0; } |
10091 EOF | 10030 EOF |
10092 if { (eval echo configure:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10093 rm -rf conftest* | 10032 rm -rf conftest* |
10094 eval "ac_cv_func_$ac_func=yes" | 10033 eval "ac_cv_func_$ac_func=yes" |
10095 else | 10034 else |
10096 echo "configure: failed program was:" >&5 | 10035 echo "configure: failed program was:" >&5 |
10097 cat conftest.$ac_ext >&5 | 10036 cat conftest.$ac_ext >&5 |
10123 echo " xemacs will be linked with \"getloadavg.o\"" | 10062 echo " xemacs will be linked with \"getloadavg.o\"" |
10124 fi | 10063 fi |
10125 | 10064 |
10126 | 10065 |
10127 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10066 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
10128 echo "configure:10129: checking for kstat_open in -lkstat" >&5 | 10067 echo "configure:10068: checking for kstat_open in -lkstat" >&5 |
10129 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10068 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
10130 | 10069 |
10131 xe_check_libs=" -lkstat " | 10070 xe_check_libs=" -lkstat " |
10132 cat > conftest.$ac_ext <<EOF | 10071 cat > conftest.$ac_ext <<EOF |
10133 #line 10134 "configure" | 10072 #line 10073 "configure" |
10134 #include "confdefs.h" | 10073 #include "confdefs.h" |
10135 /* Override any gcc2 internal prototype to avoid an error. */ | 10074 /* Override any gcc2 internal prototype to avoid an error. */ |
10136 /* We use char because int might match the return type of a gcc2 | 10075 /* We use char because int might match the return type of a gcc2 |
10137 builtin and then its argument prototype would still apply. */ | 10076 builtin and then its argument prototype would still apply. */ |
10138 char kstat_open(); | 10077 char kstat_open(); |
10139 | 10078 |
10140 int main() { | 10079 int main() { |
10141 kstat_open() | 10080 kstat_open() |
10142 ; return 0; } | 10081 ; return 0; } |
10143 EOF | 10082 EOF |
10144 if { (eval echo configure:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10145 rm -rf conftest* | 10084 rm -rf conftest* |
10146 eval "ac_cv_lib_$ac_lib_var=yes" | 10085 eval "ac_cv_lib_$ac_lib_var=yes" |
10147 else | 10086 else |
10148 echo "configure: failed program was:" >&5 | 10087 echo "configure: failed program was:" >&5 |
10149 cat conftest.$ac_ext >&5 | 10088 cat conftest.$ac_ext >&5 |
10173 | 10112 |
10174 | 10113 |
10175 | 10114 |
10176 | 10115 |
10177 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10116 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
10178 echo "configure:10179: checking for kvm_read in -lkvm" >&5 | 10117 echo "configure:10118: checking for kvm_read in -lkvm" >&5 |
10179 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10118 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
10180 | 10119 |
10181 xe_check_libs=" -lkvm " | 10120 xe_check_libs=" -lkvm " |
10182 cat > conftest.$ac_ext <<EOF | 10121 cat > conftest.$ac_ext <<EOF |
10183 #line 10184 "configure" | 10122 #line 10123 "configure" |
10184 #include "confdefs.h" | 10123 #include "confdefs.h" |
10185 /* Override any gcc2 internal prototype to avoid an error. */ | 10124 /* Override any gcc2 internal prototype to avoid an error. */ |
10186 /* We use char because int might match the return type of a gcc2 | 10125 /* We use char because int might match the return type of a gcc2 |
10187 builtin and then its argument prototype would still apply. */ | 10126 builtin and then its argument prototype would still apply. */ |
10188 char kvm_read(); | 10127 char kvm_read(); |
10189 | 10128 |
10190 int main() { | 10129 int main() { |
10191 kvm_read() | 10130 kvm_read() |
10192 ; return 0; } | 10131 ; return 0; } |
10193 EOF | 10132 EOF |
10194 if { (eval echo configure:10195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10133 if { (eval echo configure:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10195 rm -rf conftest* | 10134 rm -rf conftest* |
10196 eval "ac_cv_lib_$ac_lib_var=yes" | 10135 eval "ac_cv_lib_$ac_lib_var=yes" |
10197 else | 10136 else |
10198 echo "configure: failed program was:" >&5 | 10137 echo "configure: failed program was:" >&5 |
10199 cat conftest.$ac_ext >&5 | 10138 cat conftest.$ac_ext >&5 |
10223 | 10162 |
10224 | 10163 |
10225 fi | 10164 fi |
10226 | 10165 |
10227 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10166 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
10228 echo "configure:10229: checking whether netdb declares h_errno" >&5 | 10167 echo "configure:10168: checking whether netdb declares h_errno" >&5 |
10229 cat > conftest.$ac_ext <<EOF | 10168 cat > conftest.$ac_ext <<EOF |
10230 #line 10231 "configure" | 10169 #line 10170 "configure" |
10231 #include "confdefs.h" | 10170 #include "confdefs.h" |
10232 #include <netdb.h> | 10171 #include <netdb.h> |
10233 int main() { | 10172 int main() { |
10234 return h_errno; | 10173 return h_errno; |
10235 ; return 0; } | 10174 ; return 0; } |
10236 EOF | 10175 EOF |
10237 if { (eval echo configure:10238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10176 if { (eval echo configure:10177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10238 rm -rf conftest* | 10177 rm -rf conftest* |
10239 echo "$ac_t""yes" 1>&6 | 10178 echo "$ac_t""yes" 1>&6 |
10240 { test "$extra_verbose" = "yes" && cat << \EOF | 10179 { test "$extra_verbose" = "yes" && cat << \EOF |
10241 Defining HAVE_H_ERRNO | 10180 Defining HAVE_H_ERRNO |
10242 EOF | 10181 EOF |
10252 echo "$ac_t""no" 1>&6 | 10191 echo "$ac_t""no" 1>&6 |
10253 fi | 10192 fi |
10254 rm -f conftest* | 10193 rm -f conftest* |
10255 | 10194 |
10256 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10195 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
10257 echo "configure:10258: checking for sigsetjmp" >&5 | 10196 echo "configure:10197: checking for sigsetjmp" >&5 |
10258 cat > conftest.$ac_ext <<EOF | 10197 cat > conftest.$ac_ext <<EOF |
10259 #line 10260 "configure" | 10198 #line 10199 "configure" |
10260 #include "confdefs.h" | 10199 #include "confdefs.h" |
10261 #include <setjmp.h> | 10200 #include <setjmp.h> |
10262 int main() { | 10201 int main() { |
10263 sigjmp_buf bar; sigsetjmp (bar, 0); | 10202 sigjmp_buf bar; sigsetjmp (bar, 0); |
10264 ; return 0; } | 10203 ; return 0; } |
10265 EOF | 10204 EOF |
10266 if { (eval echo configure:10267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10205 if { (eval echo configure:10206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10267 rm -rf conftest* | 10206 rm -rf conftest* |
10268 echo "$ac_t""yes" 1>&6 | 10207 echo "$ac_t""yes" 1>&6 |
10269 { test "$extra_verbose" = "yes" && cat << \EOF | 10208 { test "$extra_verbose" = "yes" && cat << \EOF |
10270 Defining HAVE_SIGSETJMP | 10209 Defining HAVE_SIGSETJMP |
10271 EOF | 10210 EOF |
10281 echo "$ac_t""no" 1>&6 | 10220 echo "$ac_t""no" 1>&6 |
10282 fi | 10221 fi |
10283 rm -f conftest* | 10222 rm -f conftest* |
10284 | 10223 |
10285 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10224 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
10286 echo "configure:10287: checking whether localtime caches TZ" >&5 | 10225 echo "configure:10226: checking whether localtime caches TZ" >&5 |
10287 | 10226 |
10288 if test "$ac_cv_func_tzset" = "yes"; then | 10227 if test "$ac_cv_func_tzset" = "yes"; then |
10289 cat > conftest.$ac_ext <<EOF | 10228 cat > conftest.$ac_ext <<EOF |
10290 #line 10291 "configure" | 10229 #line 10230 "configure" |
10291 #include "confdefs.h" | 10230 #include "confdefs.h" |
10292 #include <time.h> | 10231 #include <time.h> |
10293 #if STDC_HEADERS | 10232 #if STDC_HEADERS |
10294 # include <stdlib.h> | 10233 # include <stdlib.h> |
10295 #endif | 10234 #endif |
10320 if (localtime (&now)->tm_hour != hour_unset) | 10259 if (localtime (&now)->tm_hour != hour_unset) |
10321 exit (1); | 10260 exit (1); |
10322 exit (0); | 10261 exit (0); |
10323 } | 10262 } |
10324 EOF | 10263 EOF |
10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10264 if { (eval echo configure:10265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10326 then | 10265 then |
10327 emacs_cv_localtime_cache=no | 10266 emacs_cv_localtime_cache=no |
10328 else | 10267 else |
10329 conftest_rc="$?" | 10268 conftest_rc="$?" |
10330 echo "configure: failed program was:" >&5 | 10269 echo "configure: failed program was:" >&5 |
10350 | 10289 |
10351 fi | 10290 fi |
10352 | 10291 |
10353 if test "$HAVE_TIMEVAL" = "yes"; then | 10292 if test "$HAVE_TIMEVAL" = "yes"; then |
10354 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 10293 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
10355 echo "configure:10356: checking whether gettimeofday accepts one or two arguments" >&5 | 10294 echo "configure:10295: checking whether gettimeofday accepts one or two arguments" >&5 |
10356 cat > conftest.$ac_ext <<EOF | 10295 cat > conftest.$ac_ext <<EOF |
10357 #line 10358 "configure" | 10296 #line 10297 "configure" |
10358 #include "confdefs.h" | 10297 #include "confdefs.h" |
10359 | 10298 |
10360 #ifdef TIME_WITH_SYS_TIME | 10299 #ifdef TIME_WITH_SYS_TIME |
10361 #include <sys/time.h> | 10300 #include <sys/time.h> |
10362 #include <time.h> | 10301 #include <time.h> |
10373 struct timeval time; | 10312 struct timeval time; |
10374 gettimeofday (&time, 0); | 10313 gettimeofday (&time, 0); |
10375 | 10314 |
10376 ; return 0; } | 10315 ; return 0; } |
10377 EOF | 10316 EOF |
10378 if { (eval echo configure:10379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10317 if { (eval echo configure:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10379 rm -rf conftest* | 10318 rm -rf conftest* |
10380 echo "$ac_t""two" 1>&6 | 10319 echo "$ac_t""two" 1>&6 |
10381 else | 10320 else |
10382 echo "configure: failed program was:" >&5 | 10321 echo "configure: failed program was:" >&5 |
10383 cat conftest.$ac_ext >&5 | 10322 cat conftest.$ac_ext >&5 |
10395 rm -f conftest* | 10334 rm -f conftest* |
10396 fi | 10335 fi |
10397 | 10336 |
10398 | 10337 |
10399 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 10338 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
10400 echo "configure:10401: checking for inline" >&5 | 10339 echo "configure:10340: checking for inline" >&5 |
10401 | 10340 |
10402 ac_cv_c_inline=no | 10341 ac_cv_c_inline=no |
10403 for ac_kw in inline __inline__ __inline; do | 10342 for ac_kw in inline __inline__ __inline; do |
10404 cat > conftest.$ac_ext <<EOF | 10343 cat > conftest.$ac_ext <<EOF |
10405 #line 10406 "configure" | 10344 #line 10345 "configure" |
10406 #include "confdefs.h" | 10345 #include "confdefs.h" |
10407 | 10346 |
10408 int main() { | 10347 int main() { |
10409 } $ac_kw foo() { | 10348 } $ac_kw foo() { |
10410 ; return 0; } | 10349 ; return 0; } |
10411 EOF | 10350 EOF |
10412 if { (eval echo configure:10413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10351 if { (eval echo configure:10352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10413 rm -rf conftest* | 10352 rm -rf conftest* |
10414 ac_cv_c_inline=$ac_kw; break | 10353 ac_cv_c_inline=$ac_kw; break |
10415 else | 10354 else |
10416 echo "configure: failed program was:" >&5 | 10355 echo "configure: failed program was:" >&5 |
10417 cat conftest.$ac_ext >&5 | 10356 cat conftest.$ac_ext >&5 |
10447 | 10386 |
10448 | 10387 |
10449 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10388 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10450 # for constant arguments. Useless! | 10389 # for constant arguments. Useless! |
10451 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 10390 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
10452 echo "configure:10453: checking for working alloca.h" >&5 | 10391 echo "configure:10392: checking for working alloca.h" >&5 |
10453 | 10392 |
10454 cat > conftest.$ac_ext <<EOF | 10393 cat > conftest.$ac_ext <<EOF |
10455 #line 10456 "configure" | 10394 #line 10395 "configure" |
10456 #include "confdefs.h" | 10395 #include "confdefs.h" |
10457 #include <alloca.h> | 10396 #include <alloca.h> |
10458 int main() { | 10397 int main() { |
10459 char *p = alloca(2 * sizeof(int)); | 10398 char *p = alloca(2 * sizeof(int)); |
10460 ; return 0; } | 10399 ; return 0; } |
10461 EOF | 10400 EOF |
10462 if { (eval echo configure:10463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10463 rm -rf conftest* | 10402 rm -rf conftest* |
10464 ac_cv_header_alloca_h=yes | 10403 ac_cv_header_alloca_h=yes |
10465 else | 10404 else |
10466 echo "configure: failed program was:" >&5 | 10405 echo "configure: failed program was:" >&5 |
10467 cat conftest.$ac_ext >&5 | 10406 cat conftest.$ac_ext >&5 |
10481 } | 10420 } |
10482 | 10421 |
10483 fi | 10422 fi |
10484 | 10423 |
10485 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 10424 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
10486 echo "configure:10487: checking for alloca" >&5 | 10425 echo "configure:10426: checking for alloca" >&5 |
10487 | 10426 |
10488 cat > conftest.$ac_ext <<EOF | 10427 cat > conftest.$ac_ext <<EOF |
10489 #line 10490 "configure" | 10428 #line 10429 "configure" |
10490 #include "confdefs.h" | 10429 #include "confdefs.h" |
10491 | 10430 |
10492 #ifdef __GNUC__ | 10431 #ifdef __GNUC__ |
10493 # define alloca __builtin_alloca | 10432 # define alloca __builtin_alloca |
10494 #else | 10433 #else |
10512 | 10451 |
10513 int main() { | 10452 int main() { |
10514 char *p = (char *) alloca(1); | 10453 char *p = (char *) alloca(1); |
10515 ; return 0; } | 10454 ; return 0; } |
10516 EOF | 10455 EOF |
10517 if { (eval echo configure:10518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10456 if { (eval echo configure:10457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10518 rm -rf conftest* | 10457 rm -rf conftest* |
10519 ac_cv_func_alloca_works=yes | 10458 ac_cv_func_alloca_works=yes |
10520 else | 10459 else |
10521 echo "configure: failed program was:" >&5 | 10460 echo "configure: failed program was:" >&5 |
10522 cat conftest.$ac_ext >&5 | 10461 cat conftest.$ac_ext >&5 |
10551 EOF | 10490 EOF |
10552 } | 10491 } |
10553 | 10492 |
10554 | 10493 |
10555 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 10494 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
10556 echo "configure:10557: checking whether alloca needs Cray hooks" >&5 | 10495 echo "configure:10496: checking whether alloca needs Cray hooks" >&5 |
10557 | 10496 |
10558 cat > conftest.$ac_ext <<EOF | 10497 cat > conftest.$ac_ext <<EOF |
10559 #line 10560 "configure" | 10498 #line 10499 "configure" |
10560 #include "confdefs.h" | 10499 #include "confdefs.h" |
10561 #if defined(CRAY) && ! defined(CRAY2) | 10500 #if defined(CRAY) && ! defined(CRAY2) |
10562 webecray | 10501 webecray |
10563 #else | 10502 #else |
10564 wenotbecray | 10503 wenotbecray |
10578 | 10517 |
10579 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 10518 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
10580 if test $ac_cv_os_cray = yes; then | 10519 if test $ac_cv_os_cray = yes; then |
10581 for ac_func in _getb67 GETB67 getb67; do | 10520 for ac_func in _getb67 GETB67 getb67; do |
10582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10583 echo "configure:10584: checking for $ac_func" >&5 | 10522 echo "configure:10523: checking for $ac_func" >&5 |
10584 | 10523 |
10585 cat > conftest.$ac_ext <<EOF | 10524 cat > conftest.$ac_ext <<EOF |
10586 #line 10587 "configure" | 10525 #line 10526 "configure" |
10587 #include "confdefs.h" | 10526 #include "confdefs.h" |
10588 /* System header to define __stub macros and hopefully few prototypes, | 10527 /* System header to define __stub macros and hopefully few prototypes, |
10589 which can conflict with char $ac_func(); below. */ | 10528 which can conflict with char $ac_func(); below. */ |
10590 #include <assert.h> | 10529 #include <assert.h> |
10591 /* Override any gcc2 internal prototype to avoid an error. */ | 10530 /* Override any gcc2 internal prototype to avoid an error. */ |
10604 $ac_func(); | 10543 $ac_func(); |
10605 #endif | 10544 #endif |
10606 | 10545 |
10607 ; return 0; } | 10546 ; return 0; } |
10608 EOF | 10547 EOF |
10609 if { (eval echo configure:10610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10548 if { (eval echo configure:10549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10610 rm -rf conftest* | 10549 rm -rf conftest* |
10611 eval "ac_cv_func_$ac_func=yes" | 10550 eval "ac_cv_func_$ac_func=yes" |
10612 else | 10551 else |
10613 echo "configure: failed program was:" >&5 | 10552 echo "configure: failed program was:" >&5 |
10614 cat conftest.$ac_ext >&5 | 10553 cat conftest.$ac_ext >&5 |
10634 | 10573 |
10635 done | 10574 done |
10636 fi | 10575 fi |
10637 | 10576 |
10638 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 10577 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
10639 echo "configure:10640: checking stack direction for C alloca" >&5 | 10578 echo "configure:10579: checking stack direction for C alloca" >&5 |
10640 | 10579 |
10641 cat > conftest.$ac_ext <<EOF | 10580 cat > conftest.$ac_ext <<EOF |
10642 #line 10643 "configure" | 10581 #line 10582 "configure" |
10643 #include "confdefs.h" | 10582 #include "confdefs.h" |
10644 find_stack_direction () | 10583 find_stack_direction () |
10645 { | 10584 { |
10646 static char *addr = 0; | 10585 static char *addr = 0; |
10647 auto char dummy; | 10586 auto char dummy; |
10656 main () | 10595 main () |
10657 { | 10596 { |
10658 exit (find_stack_direction() < 0); | 10597 exit (find_stack_direction() < 0); |
10659 } | 10598 } |
10660 EOF | 10599 EOF |
10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10600 if { (eval echo configure:10601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10662 then | 10601 then |
10663 ac_cv_c_stack_direction=1 | 10602 ac_cv_c_stack_direction=1 |
10664 else | 10603 else |
10665 conftest_rc="$?" | 10604 conftest_rc="$?" |
10666 echo "configure: failed program was:" >&5 | 10605 echo "configure: failed program was:" >&5 |
10685 echo " xemacs will be linked with \"$ALLOCA\"" | 10624 echo " xemacs will be linked with \"$ALLOCA\"" |
10686 fi | 10625 fi |
10687 | 10626 |
10688 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 10627 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
10689 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 10628 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
10690 echo "configure:10691: checking for vfork.h" >&5 | 10629 echo "configure:10630: checking for vfork.h" >&5 |
10691 | 10630 |
10692 cat > conftest.$ac_ext <<EOF | 10631 cat > conftest.$ac_ext <<EOF |
10693 #line 10694 "configure" | 10632 #line 10633 "configure" |
10694 #include "confdefs.h" | 10633 #include "confdefs.h" |
10695 #include <vfork.h> | 10634 #include <vfork.h> |
10696 EOF | 10635 EOF |
10697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10698 { (eval echo configure:10699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10637 { (eval echo configure:10638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10638 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10700 if test -z "$ac_err"; then | 10639 if test -z "$ac_err"; then |
10701 rm -rf conftest* | 10640 rm -rf conftest* |
10702 eval "ac_cv_header_$ac_safe=yes" | 10641 eval "ac_cv_header_$ac_safe=yes" |
10703 else | 10642 else |
10721 else | 10660 else |
10722 echo "$ac_t""no" 1>&6 | 10661 echo "$ac_t""no" 1>&6 |
10723 fi | 10662 fi |
10724 | 10663 |
10725 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 10664 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
10726 echo "configure:10727: checking for working vfork" >&5 | 10665 echo "configure:10666: checking for working vfork" >&5 |
10727 | 10666 |
10728 cat > conftest.$ac_ext <<EOF | 10667 cat > conftest.$ac_ext <<EOF |
10729 #line 10730 "configure" | 10668 #line 10669 "configure" |
10730 #include "confdefs.h" | 10669 #include "confdefs.h" |
10731 /* Thanks to Paul Eggert for this test. */ | 10670 /* Thanks to Paul Eggert for this test. */ |
10732 #include <stdio.h> | 10671 #include <stdio.h> |
10733 #include <sys/types.h> | 10672 #include <sys/types.h> |
10734 #include <sys/stat.h> | 10673 #include <sys/stat.h> |
10819 || fstat(fileno(stdout), &st) != 0 | 10758 || fstat(fileno(stdout), &st) != 0 |
10820 ); | 10759 ); |
10821 } | 10760 } |
10822 } | 10761 } |
10823 EOF | 10762 EOF |
10824 if { (eval echo configure:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10763 if { (eval echo configure:10764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10825 then | 10764 then |
10826 ac_cv_func_vfork_works=yes | 10765 ac_cv_func_vfork_works=yes |
10827 else | 10766 else |
10828 conftest_rc="$?" | 10767 conftest_rc="$?" |
10829 echo "configure: failed program was:" >&5 | 10768 echo "configure: failed program was:" >&5 |
10845 | 10784 |
10846 fi | 10785 fi |
10847 | 10786 |
10848 | 10787 |
10849 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 10788 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
10850 echo "configure:10851: checking for working strcoll" >&5 | 10789 echo "configure:10790: checking for working strcoll" >&5 |
10851 | 10790 |
10852 cat > conftest.$ac_ext <<EOF | 10791 cat > conftest.$ac_ext <<EOF |
10853 #line 10854 "configure" | 10792 #line 10793 "configure" |
10854 #include "confdefs.h" | 10793 #include "confdefs.h" |
10855 #include <string.h> | 10794 #include <string.h> |
10856 main () | 10795 main () |
10857 { | 10796 { |
10858 exit (strcoll ("abc", "def") >= 0 || | 10797 exit (strcoll ("abc", "def") >= 0 || |
10859 strcoll ("ABC", "DEF") >= 0 || | 10798 strcoll ("ABC", "DEF") >= 0 || |
10860 strcoll ("123", "456") >= 0); | 10799 strcoll ("123", "456") >= 0); |
10861 } | 10800 } |
10862 EOF | 10801 EOF |
10863 if { (eval echo configure:10864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10802 if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10864 then | 10803 then |
10865 ac_cv_func_strcoll_works=yes | 10804 ac_cv_func_strcoll_works=yes |
10866 else | 10805 else |
10867 conftest_rc="$?" | 10806 conftest_rc="$?" |
10868 echo "configure: failed program was:" >&5 | 10807 echo "configure: failed program was:" >&5 |
10886 | 10825 |
10887 | 10826 |
10888 for ac_func in getpgrp | 10827 for ac_func in getpgrp |
10889 do | 10828 do |
10890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10891 echo "configure:10892: checking for $ac_func" >&5 | 10830 echo "configure:10831: checking for $ac_func" >&5 |
10892 | 10831 |
10893 cat > conftest.$ac_ext <<EOF | 10832 cat > conftest.$ac_ext <<EOF |
10894 #line 10895 "configure" | 10833 #line 10834 "configure" |
10895 #include "confdefs.h" | 10834 #include "confdefs.h" |
10896 /* System header to define __stub macros and hopefully few prototypes, | 10835 /* System header to define __stub macros and hopefully few prototypes, |
10897 which can conflict with char $ac_func(); below. */ | 10836 which can conflict with char $ac_func(); below. */ |
10898 #include <assert.h> | 10837 #include <assert.h> |
10899 /* Override any gcc2 internal prototype to avoid an error. */ | 10838 /* Override any gcc2 internal prototype to avoid an error. */ |
10912 $ac_func(); | 10851 $ac_func(); |
10913 #endif | 10852 #endif |
10914 | 10853 |
10915 ; return 0; } | 10854 ; return 0; } |
10916 EOF | 10855 EOF |
10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10856 if { (eval echo configure:10857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10918 rm -rf conftest* | 10857 rm -rf conftest* |
10919 eval "ac_cv_func_$ac_func=yes" | 10858 eval "ac_cv_func_$ac_func=yes" |
10920 else | 10859 else |
10921 echo "configure: failed program was:" >&5 | 10860 echo "configure: failed program was:" >&5 |
10922 cat conftest.$ac_ext >&5 | 10861 cat conftest.$ac_ext >&5 |
10940 echo "$ac_t""no" 1>&6 | 10879 echo "$ac_t""no" 1>&6 |
10941 fi | 10880 fi |
10942 done | 10881 done |
10943 | 10882 |
10944 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 10883 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
10945 echo "configure:10946: checking whether getpgrp takes no argument" >&5 | 10884 echo "configure:10885: checking whether getpgrp takes no argument" >&5 |
10946 | 10885 |
10947 cat > conftest.$ac_ext <<EOF | 10886 cat > conftest.$ac_ext <<EOF |
10948 #line 10949 "configure" | 10887 #line 10888 "configure" |
10949 #include "confdefs.h" | 10888 #include "confdefs.h" |
10950 | 10889 |
10951 /* | 10890 /* |
10952 * If this system has a BSD-style getpgrp(), | 10891 * If this system has a BSD-style getpgrp(), |
10953 * which takes a pid argument, exit unsuccessfully. | 10892 * which takes a pid argument, exit unsuccessfully. |
10998 exit(s>>8); | 10937 exit(s>>8); |
10999 } | 10938 } |
11000 } | 10939 } |
11001 | 10940 |
11002 EOF | 10941 EOF |
11003 if { (eval echo configure:11004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10942 if { (eval echo configure:10943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11004 then | 10943 then |
11005 ac_cv_func_getpgrp_void=yes | 10944 ac_cv_func_getpgrp_void=yes |
11006 else | 10945 else |
11007 conftest_rc="$?" | 10946 conftest_rc="$?" |
11008 echo "configure: failed program was:" >&5 | 10947 echo "configure: failed program was:" >&5 |
11025 | 10964 |
11026 fi | 10965 fi |
11027 | 10966 |
11028 | 10967 |
11029 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10968 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
11030 echo "configure:11031: checking for working mmap" >&5 | 10969 echo "configure:10970: checking for working mmap" >&5 |
11031 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 10970 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
11032 cat > conftest.$ac_ext <<EOF | 10971 cat > conftest.$ac_ext <<EOF |
11033 #line 11034 "configure" | 10972 #line 10973 "configure" |
11034 #include "confdefs.h" | 10973 #include "confdefs.h" |
11035 #include <stdio.h> | 10974 #include <stdio.h> |
11036 #include <unistd.h> | 10975 #include <unistd.h> |
11037 #include <fcntl.h> | 10976 #include <fcntl.h> |
11038 #include <sys/mman.h> | 10977 #include <sys/mman.h> |
11061 return 0; | 11000 return 0; |
11062 perror ("conftest: mmap failed"); | 11001 perror ("conftest: mmap failed"); |
11063 return 1; | 11002 return 1; |
11064 } | 11003 } |
11065 EOF | 11004 EOF |
11066 if { (eval echo configure:11067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11005 if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11067 then | 11006 then |
11068 have_mmap=yes | 11007 have_mmap=yes |
11069 else | 11008 else |
11070 conftest_rc="$?" | 11009 conftest_rc="$?" |
11071 echo "configure: failed program was:" >&5 | 11010 echo "configure: failed program was:" >&5 |
11087 | 11026 |
11088 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 11027 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
11089 if test "$rel_alloc $have_mmap" = "default yes"; then | 11028 if test "$rel_alloc $have_mmap" = "default yes"; then |
11090 if test "$doug_lea_malloc" = "yes"; then | 11029 if test "$doug_lea_malloc" = "yes"; then |
11091 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 11030 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
11092 echo "configure:11093: checking for M_MMAP_THRESHOLD" >&5 | 11031 echo "configure:11032: checking for M_MMAP_THRESHOLD" >&5 |
11093 cat > conftest.$ac_ext <<EOF | 11032 cat > conftest.$ac_ext <<EOF |
11094 #line 11095 "configure" | 11033 #line 11034 "configure" |
11095 #include "confdefs.h" | 11034 #include "confdefs.h" |
11096 #include <malloc.h> | 11035 #include <malloc.h> |
11097 int main() { | 11036 int main() { |
11098 | 11037 |
11099 #ifndef M_MMAP_THRESHOLD | 11038 #ifndef M_MMAP_THRESHOLD |
11101 !@+$%^&*_)(_ - unlikely to compile... | 11040 !@+$%^&*_)(_ - unlikely to compile... |
11102 #endif | 11041 #endif |
11103 | 11042 |
11104 ; return 0; } | 11043 ; return 0; } |
11105 EOF | 11044 EOF |
11106 if { (eval echo configure:11107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11045 if { (eval echo configure:11046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11107 rm -rf conftest* | 11046 rm -rf conftest* |
11108 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 11047 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
11109 else | 11048 else |
11110 echo "configure: failed program was:" >&5 | 11049 echo "configure: failed program was:" >&5 |
11111 cat conftest.$ac_ext >&5 | 11050 cat conftest.$ac_ext >&5 |
11126 } | 11065 } |
11127 | 11066 |
11128 | 11067 |
11129 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11068 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
11130 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11069 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
11131 echo "configure:11132: checking for termios.h" >&5 | 11070 echo "configure:11071: checking for termios.h" >&5 |
11132 | 11071 |
11133 cat > conftest.$ac_ext <<EOF | 11072 cat > conftest.$ac_ext <<EOF |
11134 #line 11135 "configure" | 11073 #line 11074 "configure" |
11135 #include "confdefs.h" | 11074 #include "confdefs.h" |
11136 #include <termios.h> | 11075 #include <termios.h> |
11137 EOF | 11076 EOF |
11138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11139 { (eval echo configure:11140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11078 { (eval echo configure:11079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11141 if test -z "$ac_err"; then | 11080 if test -z "$ac_err"; then |
11142 rm -rf conftest* | 11081 rm -rf conftest* |
11143 eval "ac_cv_header_$ac_safe=yes" | 11082 eval "ac_cv_header_$ac_safe=yes" |
11144 else | 11083 else |
11177 | 11116 |
11178 else | 11117 else |
11179 echo "$ac_t""no" 1>&6 | 11118 echo "$ac_t""no" 1>&6 |
11180 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11119 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
11181 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11120 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
11182 echo "configure:11183: checking for termio.h" >&5 | 11121 echo "configure:11122: checking for termio.h" >&5 |
11183 | 11122 |
11184 cat > conftest.$ac_ext <<EOF | 11123 cat > conftest.$ac_ext <<EOF |
11185 #line 11186 "configure" | 11124 #line 11125 "configure" |
11186 #include "confdefs.h" | 11125 #include "confdefs.h" |
11187 #include <termio.h> | 11126 #include <termio.h> |
11188 EOF | 11127 EOF |
11189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11190 { (eval echo configure:11191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11129 { (eval echo configure:11130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11192 if test -z "$ac_err"; then | 11131 if test -z "$ac_err"; then |
11193 rm -rf conftest* | 11132 rm -rf conftest* |
11194 eval "ac_cv_header_$ac_safe=yes" | 11133 eval "ac_cv_header_$ac_safe=yes" |
11195 else | 11134 else |
11217 fi | 11156 fi |
11218 | 11157 |
11219 | 11158 |
11220 | 11159 |
11221 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11160 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
11222 echo "configure:11223: checking for socket" >&5 | 11161 echo "configure:11162: checking for socket" >&5 |
11223 | 11162 |
11224 cat > conftest.$ac_ext <<EOF | 11163 cat > conftest.$ac_ext <<EOF |
11225 #line 11226 "configure" | 11164 #line 11165 "configure" |
11226 #include "confdefs.h" | 11165 #include "confdefs.h" |
11227 /* System header to define __stub macros and hopefully few prototypes, | 11166 /* System header to define __stub macros and hopefully few prototypes, |
11228 which can conflict with char socket(); below. */ | 11167 which can conflict with char socket(); below. */ |
11229 #include <assert.h> | 11168 #include <assert.h> |
11230 /* Override any gcc2 internal prototype to avoid an error. */ | 11169 /* Override any gcc2 internal prototype to avoid an error. */ |
11243 socket(); | 11182 socket(); |
11244 #endif | 11183 #endif |
11245 | 11184 |
11246 ; return 0; } | 11185 ; return 0; } |
11247 EOF | 11186 EOF |
11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11187 if { (eval echo configure:11188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11249 rm -rf conftest* | 11188 rm -rf conftest* |
11250 eval "ac_cv_func_socket=yes" | 11189 eval "ac_cv_func_socket=yes" |
11251 else | 11190 else |
11252 echo "configure: failed program was:" >&5 | 11191 echo "configure: failed program was:" >&5 |
11253 cat conftest.$ac_ext >&5 | 11192 cat conftest.$ac_ext >&5 |
11258 | 11197 |
11259 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11198 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
11260 echo "$ac_t""yes" 1>&6 | 11199 echo "$ac_t""yes" 1>&6 |
11261 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11200 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
11262 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11201 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
11263 echo "configure:11264: checking for netinet/in.h" >&5 | 11202 echo "configure:11203: checking for netinet/in.h" >&5 |
11264 | 11203 |
11265 cat > conftest.$ac_ext <<EOF | 11204 cat > conftest.$ac_ext <<EOF |
11266 #line 11267 "configure" | 11205 #line 11206 "configure" |
11267 #include "confdefs.h" | 11206 #include "confdefs.h" |
11268 #include <netinet/in.h> | 11207 #include <netinet/in.h> |
11269 EOF | 11208 EOF |
11270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11271 { (eval echo configure:11272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11210 { (eval echo configure:11211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11273 if test -z "$ac_err"; then | 11212 if test -z "$ac_err"; then |
11274 rm -rf conftest* | 11213 rm -rf conftest* |
11275 eval "ac_cv_header_$ac_safe=yes" | 11214 eval "ac_cv_header_$ac_safe=yes" |
11276 else | 11215 else |
11283 rm -f conftest* | 11222 rm -f conftest* |
11284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11285 echo "$ac_t""yes" 1>&6 | 11224 echo "$ac_t""yes" 1>&6 |
11286 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11225 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
11287 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11226 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
11288 echo "configure:11289: checking for arpa/inet.h" >&5 | 11227 echo "configure:11228: checking for arpa/inet.h" >&5 |
11289 | 11228 |
11290 cat > conftest.$ac_ext <<EOF | 11229 cat > conftest.$ac_ext <<EOF |
11291 #line 11292 "configure" | 11230 #line 11231 "configure" |
11292 #include "confdefs.h" | 11231 #include "confdefs.h" |
11293 #include <arpa/inet.h> | 11232 #include <arpa/inet.h> |
11294 EOF | 11233 EOF |
11295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11296 { (eval echo configure:11297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11235 { (eval echo configure:11236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11298 if test -z "$ac_err"; then | 11237 if test -z "$ac_err"; then |
11299 rm -rf conftest* | 11238 rm -rf conftest* |
11300 eval "ac_cv_header_$ac_safe=yes" | 11239 eval "ac_cv_header_$ac_safe=yes" |
11301 else | 11240 else |
11316 #define HAVE_SOCKETS 1 | 11255 #define HAVE_SOCKETS 1 |
11317 EOF | 11256 EOF |
11318 } | 11257 } |
11319 | 11258 |
11320 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11259 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
11321 echo "configure:11322: checking "for sun_len member in struct sockaddr_un"" >&5 | 11260 echo "configure:11261: checking "for sun_len member in struct sockaddr_un"" >&5 |
11322 cat > conftest.$ac_ext <<EOF | 11261 cat > conftest.$ac_ext <<EOF |
11323 #line 11324 "configure" | 11262 #line 11263 "configure" |
11324 #include "confdefs.h" | 11263 #include "confdefs.h" |
11325 | 11264 |
11326 #include <sys/types.h> | 11265 #include <sys/types.h> |
11327 #include <sys/socket.h> | 11266 #include <sys/socket.h> |
11328 #include <sys/un.h> | 11267 #include <sys/un.h> |
11329 | 11268 |
11330 int main() { | 11269 int main() { |
11331 static struct sockaddr_un x; x.sun_len = 1; | 11270 static struct sockaddr_un x; x.sun_len = 1; |
11332 ; return 0; } | 11271 ; return 0; } |
11333 EOF | 11272 EOF |
11334 if { (eval echo configure:11335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11273 if { (eval echo configure:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11335 rm -rf conftest* | 11274 rm -rf conftest* |
11336 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11275 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11337 Defining HAVE_SOCKADDR_SUN_LEN | 11276 Defining HAVE_SOCKADDR_SUN_LEN |
11338 EOF | 11277 EOF |
11339 cat >> confdefs.h <<\EOF | 11278 cat >> confdefs.h <<\EOF |
11347 rm -rf conftest* | 11286 rm -rf conftest* |
11348 echo "$ac_t""no" 1>&6 | 11287 echo "$ac_t""no" 1>&6 |
11349 fi | 11288 fi |
11350 rm -f conftest* | 11289 rm -f conftest* |
11351 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 11290 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
11352 echo "configure:11353: checking "for ip_mreq struct in netinet/in.h"" >&5 | 11291 echo "configure:11292: checking "for ip_mreq struct in netinet/in.h"" >&5 |
11353 cat > conftest.$ac_ext <<EOF | 11292 cat > conftest.$ac_ext <<EOF |
11354 #line 11355 "configure" | 11293 #line 11294 "configure" |
11355 #include "confdefs.h" | 11294 #include "confdefs.h" |
11356 | 11295 |
11357 #include <sys/types.h> | 11296 #include <sys/types.h> |
11358 #include <netinet/in.h> | 11297 #include <netinet/in.h> |
11359 | 11298 |
11360 int main() { | 11299 int main() { |
11361 static struct ip_mreq x; | 11300 static struct ip_mreq x; |
11362 ; return 0; } | 11301 ; return 0; } |
11363 EOF | 11302 EOF |
11364 if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11365 rm -rf conftest* | 11304 rm -rf conftest* |
11366 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11305 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11367 Defining HAVE_MULTICAST | 11306 Defining HAVE_MULTICAST |
11368 EOF | 11307 EOF |
11369 cat >> confdefs.h <<\EOF | 11308 cat >> confdefs.h <<\EOF |
11390 echo "$ac_t""no" 1>&6 | 11329 echo "$ac_t""no" 1>&6 |
11391 fi | 11330 fi |
11392 | 11331 |
11393 | 11332 |
11394 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 11333 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
11395 echo "configure:11396: checking for msgget" >&5 | 11334 echo "configure:11335: checking for msgget" >&5 |
11396 | 11335 |
11397 cat > conftest.$ac_ext <<EOF | 11336 cat > conftest.$ac_ext <<EOF |
11398 #line 11399 "configure" | 11337 #line 11338 "configure" |
11399 #include "confdefs.h" | 11338 #include "confdefs.h" |
11400 /* System header to define __stub macros and hopefully few prototypes, | 11339 /* System header to define __stub macros and hopefully few prototypes, |
11401 which can conflict with char msgget(); below. */ | 11340 which can conflict with char msgget(); below. */ |
11402 #include <assert.h> | 11341 #include <assert.h> |
11403 /* Override any gcc2 internal prototype to avoid an error. */ | 11342 /* Override any gcc2 internal prototype to avoid an error. */ |
11416 msgget(); | 11355 msgget(); |
11417 #endif | 11356 #endif |
11418 | 11357 |
11419 ; return 0; } | 11358 ; return 0; } |
11420 EOF | 11359 EOF |
11421 if { (eval echo configure:11422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11360 if { (eval echo configure:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11422 rm -rf conftest* | 11361 rm -rf conftest* |
11423 eval "ac_cv_func_msgget=yes" | 11362 eval "ac_cv_func_msgget=yes" |
11424 else | 11363 else |
11425 echo "configure: failed program was:" >&5 | 11364 echo "configure: failed program was:" >&5 |
11426 cat conftest.$ac_ext >&5 | 11365 cat conftest.$ac_ext >&5 |
11431 | 11370 |
11432 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 11371 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
11433 echo "$ac_t""yes" 1>&6 | 11372 echo "$ac_t""yes" 1>&6 |
11434 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 11373 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
11435 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 11374 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
11436 echo "configure:11437: checking for sys/ipc.h" >&5 | 11375 echo "configure:11376: checking for sys/ipc.h" >&5 |
11437 | 11376 |
11438 cat > conftest.$ac_ext <<EOF | 11377 cat > conftest.$ac_ext <<EOF |
11439 #line 11440 "configure" | 11378 #line 11379 "configure" |
11440 #include "confdefs.h" | 11379 #include "confdefs.h" |
11441 #include <sys/ipc.h> | 11380 #include <sys/ipc.h> |
11442 EOF | 11381 EOF |
11443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11444 { (eval echo configure:11445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11383 { (eval echo configure:11384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11446 if test -z "$ac_err"; then | 11385 if test -z "$ac_err"; then |
11447 rm -rf conftest* | 11386 rm -rf conftest* |
11448 eval "ac_cv_header_$ac_safe=yes" | 11387 eval "ac_cv_header_$ac_safe=yes" |
11449 else | 11388 else |
11456 rm -f conftest* | 11395 rm -f conftest* |
11457 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11396 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11458 echo "$ac_t""yes" 1>&6 | 11397 echo "$ac_t""yes" 1>&6 |
11459 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 11398 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
11460 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 11399 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
11461 echo "configure:11462: checking for sys/msg.h" >&5 | 11400 echo "configure:11401: checking for sys/msg.h" >&5 |
11462 | 11401 |
11463 cat > conftest.$ac_ext <<EOF | 11402 cat > conftest.$ac_ext <<EOF |
11464 #line 11465 "configure" | 11403 #line 11404 "configure" |
11465 #include "confdefs.h" | 11404 #include "confdefs.h" |
11466 #include <sys/msg.h> | 11405 #include <sys/msg.h> |
11467 EOF | 11406 EOF |
11468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11469 { (eval echo configure:11470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11408 { (eval echo configure:11409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11471 if test -z "$ac_err"; then | 11410 if test -z "$ac_err"; then |
11472 rm -rf conftest* | 11411 rm -rf conftest* |
11473 eval "ac_cv_header_$ac_safe=yes" | 11412 eval "ac_cv_header_$ac_safe=yes" |
11474 else | 11413 else |
11502 fi | 11441 fi |
11503 | 11442 |
11504 | 11443 |
11505 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 11444 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
11506 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 11445 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
11507 echo "configure:11508: checking for dirent.h" >&5 | 11446 echo "configure:11447: checking for dirent.h" >&5 |
11508 | 11447 |
11509 cat > conftest.$ac_ext <<EOF | 11448 cat > conftest.$ac_ext <<EOF |
11510 #line 11511 "configure" | 11449 #line 11450 "configure" |
11511 #include "confdefs.h" | 11450 #include "confdefs.h" |
11512 #include <dirent.h> | 11451 #include <dirent.h> |
11513 EOF | 11452 EOF |
11514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11453 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11515 { (eval echo configure:11516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11454 { (eval echo configure:11455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11455 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11517 if test -z "$ac_err"; then | 11456 if test -z "$ac_err"; then |
11518 rm -rf conftest* | 11457 rm -rf conftest* |
11519 eval "ac_cv_header_$ac_safe=yes" | 11458 eval "ac_cv_header_$ac_safe=yes" |
11520 else | 11459 else |
11537 | 11476 |
11538 else | 11477 else |
11539 echo "$ac_t""no" 1>&6 | 11478 echo "$ac_t""no" 1>&6 |
11540 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 11479 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
11541 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 11480 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
11542 echo "configure:11543: checking for sys/dir.h" >&5 | 11481 echo "configure:11482: checking for sys/dir.h" >&5 |
11543 | 11482 |
11544 cat > conftest.$ac_ext <<EOF | 11483 cat > conftest.$ac_ext <<EOF |
11545 #line 11546 "configure" | 11484 #line 11485 "configure" |
11546 #include "confdefs.h" | 11485 #include "confdefs.h" |
11547 #include <sys/dir.h> | 11486 #include <sys/dir.h> |
11548 EOF | 11487 EOF |
11549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11550 { (eval echo configure:11551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11489 { (eval echo configure:11490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11552 if test -z "$ac_err"; then | 11491 if test -z "$ac_err"; then |
11553 rm -rf conftest* | 11492 rm -rf conftest* |
11554 eval "ac_cv_header_$ac_safe=yes" | 11493 eval "ac_cv_header_$ac_safe=yes" |
11555 else | 11494 else |
11578 fi | 11517 fi |
11579 | 11518 |
11580 | 11519 |
11581 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 11520 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
11582 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 11521 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
11583 echo "configure:11584: checking for nlist.h" >&5 | 11522 echo "configure:11523: checking for nlist.h" >&5 |
11584 | 11523 |
11585 cat > conftest.$ac_ext <<EOF | 11524 cat > conftest.$ac_ext <<EOF |
11586 #line 11587 "configure" | 11525 #line 11526 "configure" |
11587 #include "confdefs.h" | 11526 #include "confdefs.h" |
11588 #include <nlist.h> | 11527 #include <nlist.h> |
11589 EOF | 11528 EOF |
11590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11591 { (eval echo configure:11592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11530 { (eval echo configure:11531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11593 if test -z "$ac_err"; then | 11532 if test -z "$ac_err"; then |
11594 rm -rf conftest* | 11533 rm -rf conftest* |
11595 eval "ac_cv_header_$ac_safe=yes" | 11534 eval "ac_cv_header_$ac_safe=yes" |
11596 else | 11535 else |
11616 fi | 11555 fi |
11617 | 11556 |
11618 | 11557 |
11619 | 11558 |
11620 echo "checking "for sound support"" 1>&6 | 11559 echo "checking "for sound support"" 1>&6 |
11621 echo "configure:11622: checking "for sound support"" >&5 | 11560 echo "configure:11561: checking "for sound support"" >&5 |
11622 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 11561 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
11623 | 11562 |
11624 if test "$with_native_sound" != "no"; then | 11563 if test "$with_native_sound" != "no"; then |
11625 if test -n "$native_sound_lib"; then | 11564 if test -n "$native_sound_lib"; then |
11626 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 11565 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
11627 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 11566 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
11628 echo "configure:11629: checking for multimedia/audio_device.h" >&5 | 11567 echo "configure:11568: checking for multimedia/audio_device.h" >&5 |
11629 | 11568 |
11630 cat > conftest.$ac_ext <<EOF | 11569 cat > conftest.$ac_ext <<EOF |
11631 #line 11632 "configure" | 11570 #line 11571 "configure" |
11632 #include "confdefs.h" | 11571 #include "confdefs.h" |
11633 #include <multimedia/audio_device.h> | 11572 #include <multimedia/audio_device.h> |
11634 EOF | 11573 EOF |
11635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11636 { (eval echo configure:11637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11575 { (eval echo configure:11576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11638 if test -z "$ac_err"; then | 11577 if test -z "$ac_err"; then |
11639 rm -rf conftest* | 11578 rm -rf conftest* |
11640 eval "ac_cv_header_$ac_safe=yes" | 11579 eval "ac_cv_header_$ac_safe=yes" |
11641 else | 11580 else |
11679 case "$canonical" in | 11618 case "$canonical" in |
11680 *-sgi-* ) | 11619 *-sgi-* ) |
11681 if test -z "$native_sound_lib"; then | 11620 if test -z "$native_sound_lib"; then |
11682 | 11621 |
11683 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 11622 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
11684 echo "configure:11685: checking for ALopenport in -laudio" >&5 | 11623 echo "configure:11624: checking for ALopenport in -laudio" >&5 |
11685 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 11624 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
11686 | 11625 |
11687 xe_check_libs=" -laudio " | 11626 xe_check_libs=" -laudio " |
11688 cat > conftest.$ac_ext <<EOF | 11627 cat > conftest.$ac_ext <<EOF |
11689 #line 11690 "configure" | 11628 #line 11629 "configure" |
11690 #include "confdefs.h" | 11629 #include "confdefs.h" |
11691 /* Override any gcc2 internal prototype to avoid an error. */ | 11630 /* Override any gcc2 internal prototype to avoid an error. */ |
11692 /* We use char because int might match the return type of a gcc2 | 11631 /* We use char because int might match the return type of a gcc2 |
11693 builtin and then its argument prototype would still apply. */ | 11632 builtin and then its argument prototype would still apply. */ |
11694 char ALopenport(); | 11633 char ALopenport(); |
11695 | 11634 |
11696 int main() { | 11635 int main() { |
11697 ALopenport() | 11636 ALopenport() |
11698 ; return 0; } | 11637 ; return 0; } |
11699 EOF | 11638 EOF |
11700 if { (eval echo configure:11701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11639 if { (eval echo configure:11640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11701 rm -rf conftest* | 11640 rm -rf conftest* |
11702 eval "ac_cv_lib_$ac_lib_var=yes" | 11641 eval "ac_cv_lib_$ac_lib_var=yes" |
11703 else | 11642 else |
11704 echo "configure: failed program was:" >&5 | 11643 echo "configure: failed program was:" >&5 |
11705 cat conftest.$ac_ext >&5 | 11644 cat conftest.$ac_ext >&5 |
11726 fi ;; | 11665 fi ;; |
11727 hppa*-hp-hpux* ) | 11666 hppa*-hp-hpux* ) |
11728 if test -z "$native_sound_lib"; then | 11667 if test -z "$native_sound_lib"; then |
11729 | 11668 |
11730 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 11669 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
11731 echo "configure:11732: checking for AOpenAudio in -lAlib" >&5 | 11670 echo "configure:11671: checking for AOpenAudio in -lAlib" >&5 |
11732 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 11671 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
11733 | 11672 |
11734 xe_check_libs=" -lAlib " | 11673 xe_check_libs=" -lAlib " |
11735 cat > conftest.$ac_ext <<EOF | 11674 cat > conftest.$ac_ext <<EOF |
11736 #line 11737 "configure" | 11675 #line 11676 "configure" |
11737 #include "confdefs.h" | 11676 #include "confdefs.h" |
11738 /* Override any gcc2 internal prototype to avoid an error. */ | 11677 /* Override any gcc2 internal prototype to avoid an error. */ |
11739 /* We use char because int might match the return type of a gcc2 | 11678 /* We use char because int might match the return type of a gcc2 |
11740 builtin and then its argument prototype would still apply. */ | 11679 builtin and then its argument prototype would still apply. */ |
11741 char AOpenAudio(); | 11680 char AOpenAudio(); |
11742 | 11681 |
11743 int main() { | 11682 int main() { |
11744 AOpenAudio() | 11683 AOpenAudio() |
11745 ; return 0; } | 11684 ; return 0; } |
11746 EOF | 11685 EOF |
11747 if { (eval echo configure:11748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11748 rm -rf conftest* | 11687 rm -rf conftest* |
11749 eval "ac_cv_lib_$ac_lib_var=yes" | 11688 eval "ac_cv_lib_$ac_lib_var=yes" |
11750 else | 11689 else |
11751 echo "configure: failed program was:" >&5 | 11690 echo "configure: failed program was:" >&5 |
11752 cat conftest.$ac_ext >&5 | 11691 cat conftest.$ac_ext >&5 |
11780 | 11719 |
11781 if test -z "$sound_found"; then | 11720 if test -z "$sound_found"; then |
11782 for dir in "machine" "sys" "linux"; do | 11721 for dir in "machine" "sys" "linux"; do |
11783 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 11722 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
11784 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 11723 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
11785 echo "configure:11786: checking for ${dir}/soundcard.h" >&5 | 11724 echo "configure:11725: checking for ${dir}/soundcard.h" >&5 |
11786 | 11725 |
11787 cat > conftest.$ac_ext <<EOF | 11726 cat > conftest.$ac_ext <<EOF |
11788 #line 11789 "configure" | 11727 #line 11728 "configure" |
11789 #include "confdefs.h" | 11728 #include "confdefs.h" |
11790 #include <${dir}/soundcard.h> | 11729 #include <${dir}/soundcard.h> |
11791 EOF | 11730 EOF |
11792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11793 { (eval echo configure:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11732 { (eval echo configure:11733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11795 if test -z "$ac_err"; then | 11734 if test -z "$ac_err"; then |
11796 rm -rf conftest* | 11735 rm -rf conftest* |
11797 eval "ac_cv_header_$ac_safe=yes" | 11736 eval "ac_cv_header_$ac_safe=yes" |
11798 else | 11737 else |
11824 fi | 11763 fi |
11825 | 11764 |
11826 done | 11765 done |
11827 fi | 11766 fi |
11828 | 11767 |
11768 if test -z "$sound_found"; then | |
11769 if test "$with_msw" = "yes"; then | |
11770 sound_found=yes | |
11771 native_sound_lib= | |
11772 fi | |
11773 fi | |
11774 | |
11829 test "$sound_found" = "yes" && with_native_sound=yes | 11775 test "$sound_found" = "yes" && with_native_sound=yes |
11830 fi | 11776 fi |
11831 | 11777 |
11832 if test "$with_native_sound" = "yes"; then | 11778 if test "$with_native_sound" = "yes"; then |
11833 { test "$extra_verbose" = "yes" && cat << \EOF | 11779 { test "$extra_verbose" = "yes" && cat << \EOF |
11842 fi | 11788 fi |
11843 | 11789 |
11844 if test "$with_nas_sound" != "no"; then | 11790 if test "$with_nas_sound" != "no"; then |
11845 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 11791 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
11846 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 11792 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
11847 echo "configure:11848: checking for audio/audiolib.h" >&5 | 11793 echo "configure:11794: checking for audio/audiolib.h" >&5 |
11848 | 11794 |
11849 cat > conftest.$ac_ext <<EOF | 11795 cat > conftest.$ac_ext <<EOF |
11850 #line 11851 "configure" | 11796 #line 11797 "configure" |
11851 #include "confdefs.h" | 11797 #include "confdefs.h" |
11852 #include <audio/audiolib.h> | 11798 #include <audio/audiolib.h> |
11853 EOF | 11799 EOF |
11854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11855 { (eval echo configure:11856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11801 { (eval echo configure:11802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11857 if test -z "$ac_err"; then | 11803 if test -z "$ac_err"; then |
11858 rm -rf conftest* | 11804 rm -rf conftest* |
11859 eval "ac_cv_header_$ac_safe=yes" | 11805 eval "ac_cv_header_$ac_safe=yes" |
11860 else | 11806 else |
11868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11869 echo "$ac_t""yes" 1>&6 | 11815 echo "$ac_t""yes" 1>&6 |
11870 | 11816 |
11871 | 11817 |
11872 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 11818 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
11873 echo "configure:11874: checking for AuOpenServer in -laudio" >&5 | 11819 echo "configure:11820: checking for AuOpenServer in -laudio" >&5 |
11874 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 11820 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
11875 | 11821 |
11876 xe_check_libs=" -laudio " | 11822 xe_check_libs=" -laudio " |
11877 cat > conftest.$ac_ext <<EOF | 11823 cat > conftest.$ac_ext <<EOF |
11878 #line 11879 "configure" | 11824 #line 11825 "configure" |
11879 #include "confdefs.h" | 11825 #include "confdefs.h" |
11880 /* Override any gcc2 internal prototype to avoid an error. */ | 11826 /* Override any gcc2 internal prototype to avoid an error. */ |
11881 /* We use char because int might match the return type of a gcc2 | 11827 /* We use char because int might match the return type of a gcc2 |
11882 builtin and then its argument prototype would still apply. */ | 11828 builtin and then its argument prototype would still apply. */ |
11883 char AuOpenServer(); | 11829 char AuOpenServer(); |
11884 | 11830 |
11885 int main() { | 11831 int main() { |
11886 AuOpenServer() | 11832 AuOpenServer() |
11887 ; return 0; } | 11833 ; return 0; } |
11888 EOF | 11834 EOF |
11889 if { (eval echo configure:11890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11835 if { (eval echo configure:11836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11890 rm -rf conftest* | 11836 rm -rf conftest* |
11891 eval "ac_cv_lib_$ac_lib_var=yes" | 11837 eval "ac_cv_lib_$ac_lib_var=yes" |
11892 else | 11838 else |
11893 echo "configure: failed program was:" >&5 | 11839 echo "configure: failed program was:" >&5 |
11894 cat conftest.$ac_ext >&5 | 11840 cat conftest.$ac_ext >&5 |
11923 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 11869 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
11924 echo " xemacs will be linked with \"nas.o\"" | 11870 echo " xemacs will be linked with \"nas.o\"" |
11925 fi | 11871 fi |
11926 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 11872 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
11927 cat > conftest.$ac_ext <<EOF | 11873 cat > conftest.$ac_ext <<EOF |
11928 #line 11929 "configure" | 11874 #line 11875 "configure" |
11929 #include "confdefs.h" | 11875 #include "confdefs.h" |
11930 #include <audio/Xtutil.h> | 11876 #include <audio/Xtutil.h> |
11931 EOF | 11877 EOF |
11932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11933 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 11879 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
11954 | 11900 |
11955 if test "$with_esd_sound" != "no"; then | 11901 if test "$with_esd_sound" != "no"; then |
11956 # Extract the first word of "esd-config", so it can be a program name with args. | 11902 # Extract the first word of "esd-config", so it can be a program name with args. |
11957 set dummy esd-config; ac_word=$2 | 11903 set dummy esd-config; ac_word=$2 |
11958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 11904 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
11959 echo "configure:11960: checking for $ac_word" >&5 | 11905 echo "configure:11906: checking for $ac_word" >&5 |
11960 | 11906 |
11961 if test -n "$have_esd_config"; then | 11907 if test -n "$have_esd_config"; then |
11962 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 11908 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
11963 else | 11909 else |
11964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 11910 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
11983 if test "$have_esd_config" = "yes"; then | 11929 if test "$have_esd_config" = "yes"; then |
11984 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 11930 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
11985 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 | 11931 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 |
11986 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 11932 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
11987 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 11933 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
11988 echo "configure:11989: checking for esd_play_stream" >&5 | 11934 echo "configure:11935: checking for esd_play_stream" >&5 |
11989 | 11935 |
11990 cat > conftest.$ac_ext <<EOF | 11936 cat > conftest.$ac_ext <<EOF |
11991 #line 11992 "configure" | 11937 #line 11938 "configure" |
11992 #include "confdefs.h" | 11938 #include "confdefs.h" |
11993 /* System header to define __stub macros and hopefully few prototypes, | 11939 /* System header to define __stub macros and hopefully few prototypes, |
11994 which can conflict with char esd_play_stream(); below. */ | 11940 which can conflict with char esd_play_stream(); below. */ |
11995 #include <assert.h> | 11941 #include <assert.h> |
11996 /* Override any gcc2 internal prototype to avoid an error. */ | 11942 /* Override any gcc2 internal prototype to avoid an error. */ |
12009 esd_play_stream(); | 11955 esd_play_stream(); |
12010 #endif | 11956 #endif |
12011 | 11957 |
12012 ; return 0; } | 11958 ; return 0; } |
12013 EOF | 11959 EOF |
12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11960 if { (eval echo configure:11961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12015 rm -rf conftest* | 11961 rm -rf conftest* |
12016 eval "ac_cv_func_esd_play_stream=yes" | 11962 eval "ac_cv_func_esd_play_stream=yes" |
12017 else | 11963 else |
12018 echo "configure: failed program was:" >&5 | 11964 echo "configure: failed program was:" >&5 |
12019 cat conftest.$ac_ext >&5 | 11965 cat conftest.$ac_ext >&5 |
12060 | 12006 |
12061 test -z "$with_tty" && with_tty=yes | 12007 test -z "$with_tty" && with_tty=yes |
12062 | 12008 |
12063 if test "$with_tty" = "yes" ; then | 12009 if test "$with_tty" = "yes" ; then |
12064 echo "checking for TTY-related features" 1>&6 | 12010 echo "checking for TTY-related features" 1>&6 |
12065 echo "configure:12066: checking for TTY-related features" >&5 | 12011 echo "configure:12012: checking for TTY-related features" >&5 |
12066 { test "$extra_verbose" = "yes" && cat << \EOF | 12012 { test "$extra_verbose" = "yes" && cat << \EOF |
12067 Defining HAVE_TTY | 12013 Defining HAVE_TTY |
12068 EOF | 12014 EOF |
12069 cat >> confdefs.h <<\EOF | 12015 cat >> confdefs.h <<\EOF |
12070 #define HAVE_TTY 1 | 12016 #define HAVE_TTY 1 |
12076 fi | 12022 fi |
12077 | 12023 |
12078 if test -z "$with_ncurses"; then | 12024 if test -z "$with_ncurses"; then |
12079 | 12025 |
12080 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 12026 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
12081 echo "configure:12082: checking for tgetent in -lncurses" >&5 | 12027 echo "configure:12028: checking for tgetent in -lncurses" >&5 |
12082 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 12028 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
12083 | 12029 |
12084 xe_check_libs=" -lncurses " | 12030 xe_check_libs=" -lncurses " |
12085 cat > conftest.$ac_ext <<EOF | 12031 cat > conftest.$ac_ext <<EOF |
12086 #line 12087 "configure" | 12032 #line 12033 "configure" |
12087 #include "confdefs.h" | 12033 #include "confdefs.h" |
12088 /* Override any gcc2 internal prototype to avoid an error. */ | 12034 /* Override any gcc2 internal prototype to avoid an error. */ |
12089 /* We use char because int might match the return type of a gcc2 | 12035 /* We use char because int might match the return type of a gcc2 |
12090 builtin and then its argument prototype would still apply. */ | 12036 builtin and then its argument prototype would still apply. */ |
12091 char tgetent(); | 12037 char tgetent(); |
12092 | 12038 |
12093 int main() { | 12039 int main() { |
12094 tgetent() | 12040 tgetent() |
12095 ; return 0; } | 12041 ; return 0; } |
12096 EOF | 12042 EOF |
12097 if { (eval echo configure:12098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12043 if { (eval echo configure:12044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12098 rm -rf conftest* | 12044 rm -rf conftest* |
12099 eval "ac_cv_lib_$ac_lib_var=yes" | 12045 eval "ac_cv_lib_$ac_lib_var=yes" |
12100 else | 12046 else |
12101 echo "configure: failed program was:" >&5 | 12047 echo "configure: failed program was:" >&5 |
12102 cat conftest.$ac_ext >&5 | 12048 cat conftest.$ac_ext >&5 |
12125 EOF | 12071 EOF |
12126 } | 12072 } |
12127 | 12073 |
12128 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12074 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12129 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12075 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12130 echo "configure:12131: checking for ncurses/curses.h" >&5 | 12076 echo "configure:12077: checking for ncurses/curses.h" >&5 |
12131 | 12077 |
12132 cat > conftest.$ac_ext <<EOF | 12078 cat > conftest.$ac_ext <<EOF |
12133 #line 12134 "configure" | 12079 #line 12080 "configure" |
12134 #include "confdefs.h" | 12080 #include "confdefs.h" |
12135 #include <ncurses/curses.h> | 12081 #include <ncurses/curses.h> |
12136 EOF | 12082 EOF |
12137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12138 { (eval echo configure:12139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12084 { (eval echo configure:12085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12140 if test -z "$ac_err"; then | 12086 if test -z "$ac_err"; then |
12141 rm -rf conftest* | 12087 rm -rf conftest* |
12142 eval "ac_cv_header_$ac_safe=yes" | 12088 eval "ac_cv_header_$ac_safe=yes" |
12143 else | 12089 else |
12155 echo "$ac_t""no" 1>&6 | 12101 echo "$ac_t""no" 1>&6 |
12156 fi | 12102 fi |
12157 | 12103 |
12158 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12104 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
12159 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12105 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
12160 echo "configure:12161: checking for ncurses/term.h" >&5 | 12106 echo "configure:12107: checking for ncurses/term.h" >&5 |
12161 | 12107 |
12162 cat > conftest.$ac_ext <<EOF | 12108 cat > conftest.$ac_ext <<EOF |
12163 #line 12164 "configure" | 12109 #line 12110 "configure" |
12164 #include "confdefs.h" | 12110 #include "confdefs.h" |
12165 #include <ncurses/term.h> | 12111 #include <ncurses/term.h> |
12166 EOF | 12112 EOF |
12167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12168 { (eval echo configure:12169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12114 { (eval echo configure:12115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12170 if test -z "$ac_err"; then | 12116 if test -z "$ac_err"; then |
12171 rm -rf conftest* | 12117 rm -rf conftest* |
12172 eval "ac_cv_header_$ac_safe=yes" | 12118 eval "ac_cv_header_$ac_safe=yes" |
12173 else | 12119 else |
12193 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12139 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
12194 save_c_switch_site="$c_switch_site" | 12140 save_c_switch_site="$c_switch_site" |
12195 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12141 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
12196 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12142 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12197 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12143 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12198 echo "configure:12199: checking for ncurses/curses.h" >&5 | 12144 echo "configure:12145: checking for ncurses/curses.h" >&5 |
12199 | 12145 |
12200 cat > conftest.$ac_ext <<EOF | 12146 cat > conftest.$ac_ext <<EOF |
12201 #line 12202 "configure" | 12147 #line 12148 "configure" |
12202 #include "confdefs.h" | 12148 #include "confdefs.h" |
12203 #include <ncurses/curses.h> | 12149 #include <ncurses/curses.h> |
12204 EOF | 12150 EOF |
12205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12206 { (eval echo configure:12207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12152 { (eval echo configure:12153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12208 if test -z "$ac_err"; then | 12154 if test -z "$ac_err"; then |
12209 rm -rf conftest* | 12155 rm -rf conftest* |
12210 eval "ac_cv_header_$ac_safe=yes" | 12156 eval "ac_cv_header_$ac_safe=yes" |
12211 else | 12157 else |
12236 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12182 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12237 else | 12183 else |
12238 for lib in curses termlib termcap; do | 12184 for lib in curses termlib termcap; do |
12239 | 12185 |
12240 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12186 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
12241 echo "configure:12242: checking for tgetent in -l$lib" >&5 | 12187 echo "configure:12188: checking for tgetent in -l$lib" >&5 |
12242 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12188 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
12243 | 12189 |
12244 xe_check_libs=" -l$lib " | 12190 xe_check_libs=" -l$lib " |
12245 cat > conftest.$ac_ext <<EOF | 12191 cat > conftest.$ac_ext <<EOF |
12246 #line 12247 "configure" | 12192 #line 12193 "configure" |
12247 #include "confdefs.h" | 12193 #include "confdefs.h" |
12248 /* Override any gcc2 internal prototype to avoid an error. */ | 12194 /* Override any gcc2 internal prototype to avoid an error. */ |
12249 /* We use char because int might match the return type of a gcc2 | 12195 /* We use char because int might match the return type of a gcc2 |
12250 builtin and then its argument prototype would still apply. */ | 12196 builtin and then its argument prototype would still apply. */ |
12251 char tgetent(); | 12197 char tgetent(); |
12252 | 12198 |
12253 int main() { | 12199 int main() { |
12254 tgetent() | 12200 tgetent() |
12255 ; return 0; } | 12201 ; return 0; } |
12256 EOF | 12202 EOF |
12257 if { (eval echo configure:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12203 if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12258 rm -rf conftest* | 12204 rm -rf conftest* |
12259 eval "ac_cv_lib_$ac_lib_var=yes" | 12205 eval "ac_cv_lib_$ac_lib_var=yes" |
12260 else | 12206 else |
12261 echo "configure: failed program was:" >&5 | 12207 echo "configure: failed program was:" >&5 |
12262 cat conftest.$ac_ext >&5 | 12208 cat conftest.$ac_ext >&5 |
12283 if test -n "$libs_termcap"; then | 12229 if test -n "$libs_termcap"; then |
12284 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12230 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12285 else | 12231 else |
12286 | 12232 |
12287 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12233 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
12288 echo "configure:12289: checking for tgetent in -lcurses" >&5 | 12234 echo "configure:12235: checking for tgetent in -lcurses" >&5 |
12289 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12235 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
12290 | 12236 |
12291 xe_check_libs=" -lcurses " | 12237 xe_check_libs=" -lcurses " |
12292 cat > conftest.$ac_ext <<EOF | 12238 cat > conftest.$ac_ext <<EOF |
12293 #line 12294 "configure" | 12239 #line 12240 "configure" |
12294 #include "confdefs.h" | 12240 #include "confdefs.h" |
12295 /* Override any gcc2 internal prototype to avoid an error. */ | 12241 /* Override any gcc2 internal prototype to avoid an error. */ |
12296 /* We use char because int might match the return type of a gcc2 | 12242 /* We use char because int might match the return type of a gcc2 |
12297 builtin and then its argument prototype would still apply. */ | 12243 builtin and then its argument prototype would still apply. */ |
12298 char tgetent(); | 12244 char tgetent(); |
12299 | 12245 |
12300 int main() { | 12246 int main() { |
12301 tgetent() | 12247 tgetent() |
12302 ; return 0; } | 12248 ; return 0; } |
12303 EOF | 12249 EOF |
12304 if { (eval echo configure:12305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12250 if { (eval echo configure:12251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12305 rm -rf conftest* | 12251 rm -rf conftest* |
12306 eval "ac_cv_lib_$ac_lib_var=yes" | 12252 eval "ac_cv_lib_$ac_lib_var=yes" |
12307 else | 12253 else |
12308 echo "configure: failed program was:" >&5 | 12254 echo "configure: failed program was:" >&5 |
12309 cat conftest.$ac_ext >&5 | 12255 cat conftest.$ac_ext >&5 |
12317 echo "$ac_t""yes" 1>&6 | 12263 echo "$ac_t""yes" 1>&6 |
12318 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12264 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
12319 else | 12265 else |
12320 echo "$ac_t""no" 1>&6 | 12266 echo "$ac_t""no" 1>&6 |
12321 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12267 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
12322 echo "configure:12323: checking for tgetent in -ltermcap" >&5 | 12268 echo "configure:12269: checking for tgetent in -ltermcap" >&5 |
12323 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12269 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
12324 | 12270 |
12325 xe_check_libs=" -ltermcap " | 12271 xe_check_libs=" -ltermcap " |
12326 cat > conftest.$ac_ext <<EOF | 12272 cat > conftest.$ac_ext <<EOF |
12327 #line 12328 "configure" | 12273 #line 12274 "configure" |
12328 #include "confdefs.h" | 12274 #include "confdefs.h" |
12329 /* Override any gcc2 internal prototype to avoid an error. */ | 12275 /* Override any gcc2 internal prototype to avoid an error. */ |
12330 /* We use char because int might match the return type of a gcc2 | 12276 /* We use char because int might match the return type of a gcc2 |
12331 builtin and then its argument prototype would still apply. */ | 12277 builtin and then its argument prototype would still apply. */ |
12332 char tgetent(); | 12278 char tgetent(); |
12333 | 12279 |
12334 int main() { | 12280 int main() { |
12335 tgetent() | 12281 tgetent() |
12336 ; return 0; } | 12282 ; return 0; } |
12337 EOF | 12283 EOF |
12338 if { (eval echo configure:12339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12284 if { (eval echo configure:12285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12339 rm -rf conftest* | 12285 rm -rf conftest* |
12340 eval "ac_cv_lib_$ac_lib_var=yes" | 12286 eval "ac_cv_lib_$ac_lib_var=yes" |
12341 else | 12287 else |
12342 echo "configure: failed program was:" >&5 | 12288 echo "configure: failed program was:" >&5 |
12343 cat conftest.$ac_ext >&5 | 12289 cat conftest.$ac_ext >&5 |
12381 } | 12327 } |
12382 | 12328 |
12383 | 12329 |
12384 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 12330 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
12385 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 12331 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
12386 echo "configure:12387: checking for gpm.h" >&5 | 12332 echo "configure:12333: checking for gpm.h" >&5 |
12387 | 12333 |
12388 cat > conftest.$ac_ext <<EOF | 12334 cat > conftest.$ac_ext <<EOF |
12389 #line 12390 "configure" | 12335 #line 12336 "configure" |
12390 #include "confdefs.h" | 12336 #include "confdefs.h" |
12391 #include <gpm.h> | 12337 #include <gpm.h> |
12392 EOF | 12338 EOF |
12393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12394 { (eval echo configure:12395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12340 { (eval echo configure:12341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12396 if test -z "$ac_err"; then | 12342 if test -z "$ac_err"; then |
12397 rm -rf conftest* | 12343 rm -rf conftest* |
12398 eval "ac_cv_header_$ac_safe=yes" | 12344 eval "ac_cv_header_$ac_safe=yes" |
12399 else | 12345 else |
12412 with_gpm=no | 12358 with_gpm=no |
12413 fi | 12359 fi |
12414 } | 12360 } |
12415 test -z "$with_gpm" && { | 12361 test -z "$with_gpm" && { |
12416 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 12362 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
12417 echo "configure:12418: checking for Gpm_Open in -lgpm" >&5 | 12363 echo "configure:12364: checking for Gpm_Open in -lgpm" >&5 |
12418 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 12364 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
12419 | 12365 |
12420 xe_check_libs=" -lgpm " | 12366 xe_check_libs=" -lgpm " |
12421 cat > conftest.$ac_ext <<EOF | 12367 cat > conftest.$ac_ext <<EOF |
12422 #line 12423 "configure" | 12368 #line 12369 "configure" |
12423 #include "confdefs.h" | 12369 #include "confdefs.h" |
12424 /* Override any gcc2 internal prototype to avoid an error. */ | 12370 /* Override any gcc2 internal prototype to avoid an error. */ |
12425 /* We use char because int might match the return type of a gcc2 | 12371 /* We use char because int might match the return type of a gcc2 |
12426 builtin and then its argument prototype would still apply. */ | 12372 builtin and then its argument prototype would still apply. */ |
12427 char Gpm_Open(); | 12373 char Gpm_Open(); |
12428 | 12374 |
12429 int main() { | 12375 int main() { |
12430 Gpm_Open() | 12376 Gpm_Open() |
12431 ; return 0; } | 12377 ; return 0; } |
12432 EOF | 12378 EOF |
12433 if { (eval echo configure:12434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12379 if { (eval echo configure:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12434 rm -rf conftest* | 12380 rm -rf conftest* |
12435 eval "ac_cv_lib_$ac_lib_var=yes" | 12381 eval "ac_cv_lib_$ac_lib_var=yes" |
12436 else | 12382 else |
12437 echo "configure: failed program was:" >&5 | 12383 echo "configure: failed program was:" >&5 |
12438 cat conftest.$ac_ext >&5 | 12384 cat conftest.$ac_ext >&5 |
12478 fi | 12424 fi |
12479 | 12425 |
12480 | 12426 |
12481 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 12427 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
12482 != "no no no" && echo "checking for database support" 1>&6 | 12428 != "no no no" && echo "checking for database support" 1>&6 |
12483 echo "configure:12484: checking for database support" >&5 | 12429 echo "configure:12430: checking for database support" >&5 |
12484 | 12430 |
12485 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 12431 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
12486 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 12432 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
12487 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 12433 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
12488 echo "configure:12489: checking for ndbm.h" >&5 | 12434 echo "configure:12435: checking for ndbm.h" >&5 |
12489 | 12435 |
12490 cat > conftest.$ac_ext <<EOF | 12436 cat > conftest.$ac_ext <<EOF |
12491 #line 12492 "configure" | 12437 #line 12438 "configure" |
12492 #include "confdefs.h" | 12438 #include "confdefs.h" |
12493 #include <ndbm.h> | 12439 #include <ndbm.h> |
12494 EOF | 12440 EOF |
12495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12496 { (eval echo configure:12497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12442 { (eval echo configure:12443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12498 if test -z "$ac_err"; then | 12444 if test -z "$ac_err"; then |
12499 rm -rf conftest* | 12445 rm -rf conftest* |
12500 eval "ac_cv_header_$ac_safe=yes" | 12446 eval "ac_cv_header_$ac_safe=yes" |
12501 else | 12447 else |
12521 fi | 12467 fi |
12522 | 12468 |
12523 if test "$with_database_gdbm" != "no"; then | 12469 if test "$with_database_gdbm" != "no"; then |
12524 | 12470 |
12525 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 12471 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
12526 echo "configure:12527: checking for dbm_open in -lgdbm" >&5 | 12472 echo "configure:12473: checking for dbm_open in -lgdbm" >&5 |
12527 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12473 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12528 | 12474 |
12529 xe_check_libs=" -lgdbm " | 12475 xe_check_libs=" -lgdbm " |
12530 cat > conftest.$ac_ext <<EOF | 12476 cat > conftest.$ac_ext <<EOF |
12531 #line 12532 "configure" | 12477 #line 12478 "configure" |
12532 #include "confdefs.h" | 12478 #include "confdefs.h" |
12533 /* Override any gcc2 internal prototype to avoid an error. */ | 12479 /* Override any gcc2 internal prototype to avoid an error. */ |
12534 /* We use char because int might match the return type of a gcc2 | 12480 /* We use char because int might match the return type of a gcc2 |
12535 builtin and then its argument prototype would still apply. */ | 12481 builtin and then its argument prototype would still apply. */ |
12536 char dbm_open(); | 12482 char dbm_open(); |
12537 | 12483 |
12538 int main() { | 12484 int main() { |
12539 dbm_open() | 12485 dbm_open() |
12540 ; return 0; } | 12486 ; return 0; } |
12541 EOF | 12487 EOF |
12542 if { (eval echo configure:12543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12488 if { (eval echo configure:12489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12543 rm -rf conftest* | 12489 rm -rf conftest* |
12544 eval "ac_cv_lib_$ac_lib_var=yes" | 12490 eval "ac_cv_lib_$ac_lib_var=yes" |
12545 else | 12491 else |
12546 echo "configure: failed program was:" >&5 | 12492 echo "configure: failed program was:" >&5 |
12547 cat conftest.$ac_ext >&5 | 12493 cat conftest.$ac_ext >&5 |
12565 | 12511 |
12566 fi | 12512 fi |
12567 | 12513 |
12568 if test "$with_database_dbm" != "no"; then | 12514 if test "$with_database_dbm" != "no"; then |
12569 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 12515 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
12570 echo "configure:12571: checking for dbm_open" >&5 | 12516 echo "configure:12517: checking for dbm_open" >&5 |
12571 | 12517 |
12572 cat > conftest.$ac_ext <<EOF | 12518 cat > conftest.$ac_ext <<EOF |
12573 #line 12574 "configure" | 12519 #line 12520 "configure" |
12574 #include "confdefs.h" | 12520 #include "confdefs.h" |
12575 /* System header to define __stub macros and hopefully few prototypes, | 12521 /* System header to define __stub macros and hopefully few prototypes, |
12576 which can conflict with char dbm_open(); below. */ | 12522 which can conflict with char dbm_open(); below. */ |
12577 #include <assert.h> | 12523 #include <assert.h> |
12578 /* Override any gcc2 internal prototype to avoid an error. */ | 12524 /* Override any gcc2 internal prototype to avoid an error. */ |
12591 dbm_open(); | 12537 dbm_open(); |
12592 #endif | 12538 #endif |
12593 | 12539 |
12594 ; return 0; } | 12540 ; return 0; } |
12595 EOF | 12541 EOF |
12596 if { (eval echo configure:12597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12542 if { (eval echo configure:12543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12597 rm -rf conftest* | 12543 rm -rf conftest* |
12598 eval "ac_cv_func_dbm_open=yes" | 12544 eval "ac_cv_func_dbm_open=yes" |
12599 else | 12545 else |
12600 echo "configure: failed program was:" >&5 | 12546 echo "configure: failed program was:" >&5 |
12601 cat conftest.$ac_ext >&5 | 12547 cat conftest.$ac_ext >&5 |
12610 else | 12556 else |
12611 echo "$ac_t""no" 1>&6 | 12557 echo "$ac_t""no" 1>&6 |
12612 | 12558 |
12613 | 12559 |
12614 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 12560 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
12615 echo "configure:12616: checking for dbm_open in -ldbm" >&5 | 12561 echo "configure:12562: checking for dbm_open in -ldbm" >&5 |
12616 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12562 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12617 | 12563 |
12618 xe_check_libs=" -ldbm " | 12564 xe_check_libs=" -ldbm " |
12619 cat > conftest.$ac_ext <<EOF | 12565 cat > conftest.$ac_ext <<EOF |
12620 #line 12621 "configure" | 12566 #line 12567 "configure" |
12621 #include "confdefs.h" | 12567 #include "confdefs.h" |
12622 /* Override any gcc2 internal prototype to avoid an error. */ | 12568 /* Override any gcc2 internal prototype to avoid an error. */ |
12623 /* We use char because int might match the return type of a gcc2 | 12569 /* We use char because int might match the return type of a gcc2 |
12624 builtin and then its argument prototype would still apply. */ | 12570 builtin and then its argument prototype would still apply. */ |
12625 char dbm_open(); | 12571 char dbm_open(); |
12626 | 12572 |
12627 int main() { | 12573 int main() { |
12628 dbm_open() | 12574 dbm_open() |
12629 ; return 0; } | 12575 ; return 0; } |
12630 EOF | 12576 EOF |
12631 if { (eval echo configure:12632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12577 if { (eval echo configure:12578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12632 rm -rf conftest* | 12578 rm -rf conftest* |
12633 eval "ac_cv_lib_$ac_lib_var=yes" | 12579 eval "ac_cv_lib_$ac_lib_var=yes" |
12634 else | 12580 else |
12635 echo "configure: failed program was:" >&5 | 12581 echo "configure: failed program was:" >&5 |
12636 cat conftest.$ac_ext >&5 | 12582 cat conftest.$ac_ext >&5 |
12667 } | 12613 } |
12668 | 12614 |
12669 | 12615 |
12670 if test "$with_database_berkdb" != "no"; then | 12616 if test "$with_database_berkdb" != "no"; then |
12671 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 12617 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
12672 echo "configure:12673: checking for Berkeley db.h" >&5 | 12618 echo "configure:12619: checking for Berkeley db.h" >&5 |
12673 for header in "db/db.h" "db.h"; do | 12619 for header in "db/db.h" "db.h"; do |
12674 cat > conftest.$ac_ext <<EOF | 12620 cat > conftest.$ac_ext <<EOF |
12675 #line 12676 "configure" | 12621 #line 12622 "configure" |
12676 #include "confdefs.h" | 12622 #include "confdefs.h" |
12677 | 12623 |
12678 #include <stdlib.h> | 12624 #include <stdlib.h> |
12679 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 12625 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
12680 #ifdef HAVE_INTTYPES_H | 12626 #ifdef HAVE_INTTYPES_H |
12692 | 12638 |
12693 int main() { | 12639 int main() { |
12694 | 12640 |
12695 ; return 0; } | 12641 ; return 0; } |
12696 EOF | 12642 EOF |
12697 if { (eval echo configure:12698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12643 if { (eval echo configure:12644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12698 rm -rf conftest* | 12644 rm -rf conftest* |
12699 db_h_file="$header"; break | 12645 db_h_file="$header"; break |
12700 else | 12646 else |
12701 echo "configure: failed program was:" >&5 | 12647 echo "configure: failed program was:" >&5 |
12702 cat conftest.$ac_ext >&5 | 12648 cat conftest.$ac_ext >&5 |
12708 else echo "$ac_t""$db_h_file" 1>&6 | 12654 else echo "$ac_t""$db_h_file" 1>&6 |
12709 fi | 12655 fi |
12710 | 12656 |
12711 if test "$with_database_berkdb" != "no"; then | 12657 if test "$with_database_berkdb" != "no"; then |
12712 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 12658 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
12713 echo "configure:12714: checking for Berkeley DB version" >&5 | 12659 echo "configure:12660: checking for Berkeley DB version" >&5 |
12714 cat > conftest.$ac_ext <<EOF | 12660 cat > conftest.$ac_ext <<EOF |
12715 #line 12716 "configure" | 12661 #line 12662 "configure" |
12716 #include "confdefs.h" | 12662 #include "confdefs.h" |
12717 #include <$db_h_file> | 12663 #include <$db_h_file> |
12718 #if DB_VERSION_MAJOR > 1 | 12664 #if DB_VERSION_MAJOR > 1 |
12719 yes | 12665 yes |
12720 #endif | 12666 #endif |
12729 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 12675 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
12730 fi | 12676 fi |
12731 rm -f conftest* | 12677 rm -f conftest* |
12732 | 12678 |
12733 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 12679 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
12734 echo "configure:12735: checking for $dbfunc" >&5 | 12680 echo "configure:12681: checking for $dbfunc" >&5 |
12735 | 12681 |
12736 cat > conftest.$ac_ext <<EOF | 12682 cat > conftest.$ac_ext <<EOF |
12737 #line 12738 "configure" | 12683 #line 12684 "configure" |
12738 #include "confdefs.h" | 12684 #include "confdefs.h" |
12739 /* System header to define __stub macros and hopefully few prototypes, | 12685 /* System header to define __stub macros and hopefully few prototypes, |
12740 which can conflict with char $dbfunc(); below. */ | 12686 which can conflict with char $dbfunc(); below. */ |
12741 #include <assert.h> | 12687 #include <assert.h> |
12742 /* Override any gcc2 internal prototype to avoid an error. */ | 12688 /* Override any gcc2 internal prototype to avoid an error. */ |
12755 $dbfunc(); | 12701 $dbfunc(); |
12756 #endif | 12702 #endif |
12757 | 12703 |
12758 ; return 0; } | 12704 ; return 0; } |
12759 EOF | 12705 EOF |
12760 if { (eval echo configure:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12706 if { (eval echo configure:12707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12761 rm -rf conftest* | 12707 rm -rf conftest* |
12762 eval "ac_cv_func_$dbfunc=yes" | 12708 eval "ac_cv_func_$dbfunc=yes" |
12763 else | 12709 else |
12764 echo "configure: failed program was:" >&5 | 12710 echo "configure: failed program was:" >&5 |
12765 cat conftest.$ac_ext >&5 | 12711 cat conftest.$ac_ext >&5 |
12774 else | 12720 else |
12775 echo "$ac_t""no" 1>&6 | 12721 echo "$ac_t""no" 1>&6 |
12776 | 12722 |
12777 | 12723 |
12778 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 12724 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
12779 echo "configure:12780: checking for $dbfunc in -ldb" >&5 | 12725 echo "configure:12726: checking for $dbfunc in -ldb" >&5 |
12780 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 12726 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
12781 | 12727 |
12782 xe_check_libs=" -ldb " | 12728 xe_check_libs=" -ldb " |
12783 cat > conftest.$ac_ext <<EOF | 12729 cat > conftest.$ac_ext <<EOF |
12784 #line 12785 "configure" | 12730 #line 12731 "configure" |
12785 #include "confdefs.h" | 12731 #include "confdefs.h" |
12786 /* Override any gcc2 internal prototype to avoid an error. */ | 12732 /* Override any gcc2 internal prototype to avoid an error. */ |
12787 /* We use char because int might match the return type of a gcc2 | 12733 /* We use char because int might match the return type of a gcc2 |
12788 builtin and then its argument prototype would still apply. */ | 12734 builtin and then its argument prototype would still apply. */ |
12789 char $dbfunc(); | 12735 char $dbfunc(); |
12790 | 12736 |
12791 int main() { | 12737 int main() { |
12792 $dbfunc() | 12738 $dbfunc() |
12793 ; return 0; } | 12739 ; return 0; } |
12794 EOF | 12740 EOF |
12795 if { (eval echo configure:12796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12741 if { (eval echo configure:12742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12796 rm -rf conftest* | 12742 rm -rf conftest* |
12797 eval "ac_cv_lib_$ac_lib_var=yes" | 12743 eval "ac_cv_lib_$ac_lib_var=yes" |
12798 else | 12744 else |
12799 echo "configure: failed program was:" >&5 | 12745 echo "configure: failed program was:" >&5 |
12800 cat conftest.$ac_ext >&5 | 12746 cat conftest.$ac_ext >&5 |
12854 fi | 12800 fi |
12855 | 12801 |
12856 if test "$with_socks" = "yes"; then | 12802 if test "$with_socks" = "yes"; then |
12857 | 12803 |
12858 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 12804 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
12859 echo "configure:12860: checking for SOCKSinit in -lsocks" >&5 | 12805 echo "configure:12806: checking for SOCKSinit in -lsocks" >&5 |
12860 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 12806 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
12861 | 12807 |
12862 xe_check_libs=" -lsocks " | 12808 xe_check_libs=" -lsocks " |
12863 cat > conftest.$ac_ext <<EOF | 12809 cat > conftest.$ac_ext <<EOF |
12864 #line 12865 "configure" | 12810 #line 12811 "configure" |
12865 #include "confdefs.h" | 12811 #include "confdefs.h" |
12866 /* Override any gcc2 internal prototype to avoid an error. */ | 12812 /* Override any gcc2 internal prototype to avoid an error. */ |
12867 /* We use char because int might match the return type of a gcc2 | 12813 /* We use char because int might match the return type of a gcc2 |
12868 builtin and then its argument prototype would still apply. */ | 12814 builtin and then its argument prototype would still apply. */ |
12869 char SOCKSinit(); | 12815 char SOCKSinit(); |
12870 | 12816 |
12871 int main() { | 12817 int main() { |
12872 SOCKSinit() | 12818 SOCKSinit() |
12873 ; return 0; } | 12819 ; return 0; } |
12874 EOF | 12820 EOF |
12875 if { (eval echo configure:12876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12821 if { (eval echo configure:12822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12876 rm -rf conftest* | 12822 rm -rf conftest* |
12877 eval "ac_cv_lib_$ac_lib_var=yes" | 12823 eval "ac_cv_lib_$ac_lib_var=yes" |
12878 else | 12824 else |
12879 echo "configure: failed program was:" >&5 | 12825 echo "configure: failed program was:" >&5 |
12880 cat conftest.$ac_ext >&5 | 12826 cat conftest.$ac_ext >&5 |
12925 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 12871 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
12926 fi | 12872 fi |
12927 | 12873 |
12928 if test "$with_modules" != "no"; then | 12874 if test "$with_modules" != "no"; then |
12929 echo "checking for module support" 1>&6 | 12875 echo "checking for module support" 1>&6 |
12930 echo "configure:12931: checking for module support" >&5 | 12876 echo "configure:12877: checking for module support" >&5 |
12931 | 12877 |
12932 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 12878 if test "$with_msw" = "yes"; then |
12879 have_dl=yes; | |
12880 else | |
12881 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | |
12933 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 12882 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
12934 echo "configure:12935: checking for dlfcn.h" >&5 | 12883 echo "configure:12884: checking for dlfcn.h" >&5 |
12935 | 12884 |
12936 cat > conftest.$ac_ext <<EOF | 12885 cat > conftest.$ac_ext <<EOF |
12937 #line 12938 "configure" | 12886 #line 12887 "configure" |
12938 #include "confdefs.h" | 12887 #include "confdefs.h" |
12939 #include <dlfcn.h> | 12888 #include <dlfcn.h> |
12940 EOF | 12889 EOF |
12941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12942 { (eval echo configure:12943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12891 { (eval echo configure:12892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12944 if test -z "$ac_err"; then | 12893 if test -z "$ac_err"; then |
12945 rm -rf conftest* | 12894 rm -rf conftest* |
12946 eval "ac_cv_header_$ac_safe=yes" | 12895 eval "ac_cv_header_$ac_safe=yes" |
12947 else | 12896 else |
12953 fi | 12902 fi |
12954 rm -f conftest* | 12903 rm -f conftest* |
12955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12956 echo "$ac_t""yes" 1>&6 | 12905 echo "$ac_t""yes" 1>&6 |
12957 | 12906 |
12958 | 12907 |
12959 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 12908 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
12960 echo "configure:12961: checking for dlopen in -ldl" >&5 | 12909 echo "configure:12910: checking for dlopen in -ldl" >&5 |
12961 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 12910 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
12962 | 12911 |
12963 xe_check_libs=" -ldl " | 12912 xe_check_libs=" -ldl " |
12964 cat > conftest.$ac_ext <<EOF | 12913 cat > conftest.$ac_ext <<EOF |
12965 #line 12966 "configure" | 12914 #line 12915 "configure" |
12966 #include "confdefs.h" | 12915 #include "confdefs.h" |
12967 /* Override any gcc2 internal prototype to avoid an error. */ | 12916 /* Override any gcc2 internal prototype to avoid an error. */ |
12968 /* We use char because int might match the return type of a gcc2 | 12917 /* We use char because int might match the return type of a gcc2 |
12969 builtin and then its argument prototype would still apply. */ | 12918 builtin and then its argument prototype would still apply. */ |
12970 char dlopen(); | 12919 char dlopen(); |
12971 | 12920 |
12972 int main() { | 12921 int main() { |
12973 dlopen() | 12922 dlopen() |
12974 ; return 0; } | 12923 ; return 0; } |
12975 EOF | 12924 EOF |
12976 if { (eval echo configure:12977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12925 if { (eval echo configure:12926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12977 rm -rf conftest* | 12926 rm -rf conftest* |
12978 eval "ac_cv_lib_$ac_lib_var=yes" | 12927 eval "ac_cv_lib_$ac_lib_var=yes" |
12979 else | 12928 else |
12980 echo "configure: failed program was:" >&5 | 12929 echo "configure: failed program was:" >&5 |
12981 cat conftest.$ac_ext >&5 | 12930 cat conftest.$ac_ext >&5 |
12990 have_dl=yes libdl=dl | 12939 have_dl=yes libdl=dl |
12991 else | 12940 else |
12992 echo "$ac_t""no" 1>&6 | 12941 echo "$ac_t""no" 1>&6 |
12993 | 12942 |
12994 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 12943 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
12995 echo "configure:12996: checking for dlopen in -lc" >&5 | 12944 echo "configure:12945: checking for dlopen in -lc" >&5 |
12996 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 12945 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
12997 | 12946 |
12998 xe_check_libs=" -lc " | 12947 xe_check_libs=" -lc " |
12999 cat > conftest.$ac_ext <<EOF | 12948 cat > conftest.$ac_ext <<EOF |
13000 #line 13001 "configure" | 12949 #line 12950 "configure" |
13001 #include "confdefs.h" | 12950 #include "confdefs.h" |
13002 /* Override any gcc2 internal prototype to avoid an error. */ | 12951 /* Override any gcc2 internal prototype to avoid an error. */ |
13003 /* We use char because int might match the return type of a gcc2 | 12952 /* We use char because int might match the return type of a gcc2 |
13004 builtin and then its argument prototype would still apply. */ | 12953 builtin and then its argument prototype would still apply. */ |
13005 char dlopen(); | 12954 char dlopen(); |
13006 | 12955 |
13007 int main() { | 12956 int main() { |
13008 dlopen() | 12957 dlopen() |
13009 ; return 0; } | 12958 ; return 0; } |
13010 EOF | 12959 EOF |
13011 if { (eval echo configure:13012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12960 if { (eval echo configure:12961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13012 rm -rf conftest* | 12961 rm -rf conftest* |
13013 eval "ac_cv_lib_$ac_lib_var=yes" | 12962 eval "ac_cv_lib_$ac_lib_var=yes" |
13014 else | 12963 else |
13015 echo "configure: failed program was:" >&5 | 12964 echo "configure: failed program was:" >&5 |
13016 cat conftest.$ac_ext >&5 | 12965 cat conftest.$ac_ext >&5 |
13033 | 12982 |
13034 else | 12983 else |
13035 echo "$ac_t""no" 1>&6 | 12984 echo "$ac_t""no" 1>&6 |
13036 fi | 12985 fi |
13037 | 12986 |
13038 if test -n "$have_dl"; then | 12987 if test -n "$have_dl"; then |
13039 { test "$extra_verbose" = "yes" && cat << \EOF | 12988 { test "$extra_verbose" = "yes" && cat << \EOF |
13040 Defining HAVE_DLOPEN | 12989 Defining HAVE_DLOPEN |
13041 EOF | 12990 EOF |
13042 cat >> confdefs.h <<\EOF | 12991 cat >> confdefs.h <<\EOF |
13043 #define HAVE_DLOPEN 1 | 12992 #define HAVE_DLOPEN 1 |
13044 EOF | 12993 EOF |
13045 } | 12994 } |
13046 | 12995 |
13047 else | 12996 else |
13048 | 12997 |
13049 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 12998 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
13050 echo "configure:13051: checking for shl_load in -ldld" >&5 | 12999 echo "configure:13000: checking for shl_load in -ldld" >&5 |
13051 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 13000 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
13052 | 13001 |
13053 xe_check_libs=" -ldld " | 13002 xe_check_libs=" -ldld " |
13054 cat > conftest.$ac_ext <<EOF | 13003 cat > conftest.$ac_ext <<EOF |
13055 #line 13056 "configure" | 13004 #line 13005 "configure" |
13056 #include "confdefs.h" | 13005 #include "confdefs.h" |
13057 /* Override any gcc2 internal prototype to avoid an error. */ | 13006 /* Override any gcc2 internal prototype to avoid an error. */ |
13058 /* We use char because int might match the return type of a gcc2 | 13007 /* We use char because int might match the return type of a gcc2 |
13059 builtin and then its argument prototype would still apply. */ | 13008 builtin and then its argument prototype would still apply. */ |
13060 char shl_load(); | 13009 char shl_load(); |
13061 | 13010 |
13062 int main() { | 13011 int main() { |
13063 shl_load() | 13012 shl_load() |
13064 ; return 0; } | 13013 ; return 0; } |
13065 EOF | 13014 EOF |
13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13015 if { (eval echo configure:13016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13067 rm -rf conftest* | 13016 rm -rf conftest* |
13068 eval "ac_cv_lib_$ac_lib_var=yes" | 13017 eval "ac_cv_lib_$ac_lib_var=yes" |
13069 else | 13018 else |
13070 echo "configure: failed program was:" >&5 | 13019 echo "configure: failed program was:" >&5 |
13071 cat conftest.$ac_ext >&5 | 13020 cat conftest.$ac_ext >&5 |
13076 xe_check_libs="" | 13025 xe_check_libs="" |
13077 | 13026 |
13078 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 13027 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
13079 echo "$ac_t""yes" 1>&6 | 13028 echo "$ac_t""yes" 1>&6 |
13080 libdl=dld have_dl=yes; | 13029 libdl=dld have_dl=yes; |
13081 { test "$extra_verbose" = "yes" && cat << \EOF | 13030 { test "$extra_verbose" = "yes" && cat << \EOF |
13082 Defining HAVE_SHL_LOAD | 13031 Defining HAVE_SHL_LOAD |
13083 EOF | 13032 EOF |
13084 cat >> confdefs.h <<\EOF | 13033 cat >> confdefs.h <<\EOF |
13085 #define HAVE_SHL_LOAD 1 | 13034 #define HAVE_SHL_LOAD 1 |
13086 EOF | 13035 EOF |
13088 | 13037 |
13089 else | 13038 else |
13090 echo "$ac_t""no" 1>&6 | 13039 echo "$ac_t""no" 1>&6 |
13091 | 13040 |
13092 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 13041 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
13093 echo "configure:13094: checking for dld_init in -ldld" >&5 | 13042 echo "configure:13043: checking for dld_init in -ldld" >&5 |
13094 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 13043 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
13095 | 13044 |
13096 xe_check_libs=" -ldld " | 13045 xe_check_libs=" -ldld " |
13097 cat > conftest.$ac_ext <<EOF | 13046 cat > conftest.$ac_ext <<EOF |
13098 #line 13099 "configure" | 13047 #line 13048 "configure" |
13099 #include "confdefs.h" | 13048 #include "confdefs.h" |
13100 /* Override any gcc2 internal prototype to avoid an error. */ | 13049 /* Override any gcc2 internal prototype to avoid an error. */ |
13101 /* We use char because int might match the return type of a gcc2 | 13050 /* We use char because int might match the return type of a gcc2 |
13102 builtin and then its argument prototype would still apply. */ | 13051 builtin and then its argument prototype would still apply. */ |
13103 char dld_init(); | 13052 char dld_init(); |
13104 | 13053 |
13105 int main() { | 13054 int main() { |
13106 dld_init() | 13055 dld_init() |
13107 ; return 0; } | 13056 ; return 0; } |
13108 EOF | 13057 EOF |
13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13058 if { (eval echo configure:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13110 rm -rf conftest* | 13059 rm -rf conftest* |
13111 eval "ac_cv_lib_$ac_lib_var=yes" | 13060 eval "ac_cv_lib_$ac_lib_var=yes" |
13112 else | 13061 else |
13113 echo "configure: failed program was:" >&5 | 13062 echo "configure: failed program was:" >&5 |
13114 cat conftest.$ac_ext >&5 | 13063 cat conftest.$ac_ext >&5 |
13119 xe_check_libs="" | 13068 xe_check_libs="" |
13120 | 13069 |
13121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 13070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
13122 echo "$ac_t""yes" 1>&6 | 13071 echo "$ac_t""yes" 1>&6 |
13123 libdl=dld have_dl=yes; | 13072 libdl=dld have_dl=yes; |
13124 { test "$extra_verbose" = "yes" && cat << \EOF | 13073 { test "$extra_verbose" = "yes" && cat << \EOF |
13125 Defining HAVE_DLD_INIT | 13074 Defining HAVE_DLD_INIT |
13126 EOF | 13075 EOF |
13127 cat >> confdefs.h <<\EOF | 13076 cat >> confdefs.h <<\EOF |
13128 #define HAVE_DLD_INIT 1 | 13077 #define HAVE_DLD_INIT 1 |
13129 EOF | 13078 EOF |
13135 | 13084 |
13136 | 13085 |
13137 fi | 13086 fi |
13138 | 13087 |
13139 | 13088 |
13140 fi | 13089 fi |
13141 | 13090 fi |
13142 if test -n "$have_dl"; then | 13091 if test -n "$have_dl"; then |
13143 | 13092 |
13144 dll_ld= | 13093 dll_ld= |
13145 dll_ldflags= | 13094 dll_ldflags= |
13146 dll_cflags= | 13095 dll_cflags= |
13149 ld_dynamic_link_flags= | 13098 ld_dynamic_link_flags= |
13150 xehost=$canonical | 13099 xehost=$canonical |
13151 xealias=$internal_configuration | 13100 xealias=$internal_configuration |
13152 | 13101 |
13153 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13102 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
13154 echo "configure:13155: checking how to build dynamic libraries for ${xehost}" >&5 | 13103 echo "configure:13104: checking how to build dynamic libraries for ${xehost}" >&5 |
13155 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13104 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
13156 case "$xehost" in | 13105 case "$xehost" in |
13157 *-*-linux-gnu*) ;; | 13106 *-*-linux-gnu*) ;; |
13158 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13107 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
13159 esac | 13108 esac |
13177 # Now see if the compiler is really GCC. | 13126 # Now see if the compiler is really GCC. |
13178 if test "$GCC" = "yes"; then | 13127 if test "$GCC" = "yes"; then |
13179 XEGCC=yes | 13128 XEGCC=yes |
13180 else | 13129 else |
13181 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13130 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
13182 echo "configure:13183: checking checking whether we are using GNU C" >&5 | 13131 echo "configure:13132: checking checking whether we are using GNU C" >&5 |
13183 cat > conftest.$ac_ext <<EOF | 13132 cat > conftest.$ac_ext <<EOF |
13184 #line 13185 "configure" | 13133 #line 13134 "configure" |
13185 #include "confdefs.h" | 13134 #include "confdefs.h" |
13186 | 13135 |
13187 #ifdef __GNUC__ | 13136 #ifdef __GNUC__ |
13188 yes; | 13137 yes; |
13189 #endif | 13138 #endif |
13201 | 13150 |
13202 echo "$ac_t""${XEGCC}" 1>&6 | 13151 echo "$ac_t""${XEGCC}" 1>&6 |
13203 fi | 13152 fi |
13204 | 13153 |
13205 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13154 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
13206 echo "configure:13207: checking how to produce PIC code" >&5 | 13155 echo "configure:13156: checking how to produce PIC code" >&5 |
13207 wl= | 13156 wl= |
13208 | 13157 |
13209 can_build_shared=yes | 13158 can_build_shared=yes |
13210 if test "$XEGCC" = yes; then | 13159 if test "$XEGCC" = yes; then |
13211 wl='-Wl,' | 13160 wl='-Wl,' |
13222 # FIXME: we need at least 68020 code to build shared libraries, but | 13171 # FIXME: we need at least 68020 code to build shared libraries, but |
13223 # adding the `-m68020' flag to GCC prevents building anything better, | 13172 # adding the `-m68020' flag to GCC prevents building anything better, |
13224 # like `-m68040'. | 13173 # like `-m68040'. |
13225 dll_cflags='-m68020 -resident32 -malways-restore-a4' | 13174 dll_cflags='-m68020 -resident32 -malways-restore-a4' |
13226 ;; | 13175 ;; |
13176 *cygwin* | *mingw* ) | |
13177 # PIC is the default | |
13178 ;; | |
13227 *) | 13179 *) |
13228 dll_cflags='-fPIC' | 13180 dll_cflags='-fPIC' |
13229 ;; | 13181 ;; |
13230 esac | 13182 esac |
13231 else | 13183 else |
13294 if test -n "$dll_cflags"; then | 13246 if test -n "$dll_cflags"; then |
13295 echo "$ac_t""${dll_cflags}" 1>&6 | 13247 echo "$ac_t""${dll_cflags}" 1>&6 |
13296 | 13248 |
13297 # Check to make sure the dll_cflags actually works. | 13249 # Check to make sure the dll_cflags actually works. |
13298 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13250 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
13299 echo "configure:13300: checking if PIC flag ${dll_cflags} really works" >&5 | 13251 echo "configure:13252: checking if PIC flag ${dll_cflags} really works" >&5 |
13300 save_CFLAGS="$CFLAGS" | 13252 save_CFLAGS="$CFLAGS" |
13301 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13253 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
13302 cat > conftest.$ac_ext <<EOF | 13254 cat > conftest.$ac_ext <<EOF |
13303 #line 13304 "configure" | 13255 #line 13256 "configure" |
13304 #include "confdefs.h" | 13256 #include "confdefs.h" |
13305 | 13257 |
13306 int main() { | 13258 int main() { |
13307 int x=0; | 13259 int x=0; |
13308 ; return 0; } | 13260 ; return 0; } |
13309 EOF | 13261 EOF |
13310 if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13262 if { (eval echo configure:13263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13311 rm -rf conftest* | 13263 rm -rf conftest* |
13312 | 13264 |
13313 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13265 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
13314 # reports no error. So, we need to grep stderr for (Bundled). | 13266 # reports no error. So, we need to grep stderr for (Bundled). |
13315 if grep '(Bundled)' config.log >/dev/null; then | 13267 if grep '(Bundled)' config.log >/dev/null; then |
13336 if test "$can_build_shared" = "yes"; then | 13288 if test "$can_build_shared" = "yes"; then |
13337 cc_produces_so=no | 13289 cc_produces_so=no |
13338 xldf= | 13290 xldf= |
13339 xcldf= | 13291 xcldf= |
13340 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13292 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
13341 echo "configure:13342: checking if C compiler can produce shared libraries" >&5 | 13293 echo "configure:13294: checking if C compiler can produce shared libraries" >&5 |
13342 if test "$XEGCC" = yes; then | 13294 if test "$XEGCC" = yes; then |
13343 xcldf="-shared" | 13295 xcldf="-shared" |
13344 xldf="-shared" | 13296 xldf="-shared" |
13345 else # Not using GCC | 13297 else # Not using GCC |
13346 case "$xehost_os" in | 13298 case "$xehost_os" in |
13387 LDFLAGS="$xcldf $LDFLAGS" | 13339 LDFLAGS="$xcldf $LDFLAGS" |
13388 LIBS= | 13340 LIBS= |
13389 xe_libs= | 13341 xe_libs= |
13390 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 13342 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
13391 cat > conftest.$ac_ext <<EOF | 13343 cat > conftest.$ac_ext <<EOF |
13392 #line 13393 "configure" | 13344 #line 13345 "configure" |
13393 #include "confdefs.h" | 13345 #include "confdefs.h" |
13394 | 13346 |
13395 int main() { | 13347 int main() { |
13396 int x=0; | 13348 int x=0; |
13397 ; return 0; } | 13349 ; return 0; } |
13398 EOF | 13350 EOF |
13399 if { (eval echo configure:13400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13351 if { (eval echo configure:13352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13400 rm -rf conftest* | 13352 rm -rf conftest* |
13401 cc_produces_so=yes | 13353 cc_produces_so=yes |
13402 else | 13354 else |
13403 echo "configure: failed program was:" >&5 | 13355 echo "configure: failed program was:" >&5 |
13404 cat conftest.$ac_ext >&5 | 13356 cat conftest.$ac_ext >&5 |
13419 if test -z "$LTLD"; then | 13371 if test -z "$LTLD"; then |
13420 ac_prog=ld | 13372 ac_prog=ld |
13421 if test "$XEGCC" = yes; then | 13373 if test "$XEGCC" = yes; then |
13422 # Check if gcc -print-prog-name=ld gives a path. | 13374 # Check if gcc -print-prog-name=ld gives a path. |
13423 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 13375 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
13424 echo "configure:13425: checking for ld used by GCC" >&5 | 13376 echo "configure:13377: checking for ld used by GCC" >&5 |
13425 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 13377 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
13426 case "$ac_prog" in | 13378 case "$ac_prog" in |
13427 # Accept absolute paths. | 13379 # Accept absolute paths. |
13428 /*) | 13380 /*) |
13429 if test -z "$LTLD"; then | 13381 if test -z "$LTLD"; then |
13444 with_gnu_ld=unknown | 13396 with_gnu_ld=unknown |
13445 ;; | 13397 ;; |
13446 esac | 13398 esac |
13447 else | 13399 else |
13448 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 13400 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
13449 echo "configure:13450: checking for GNU ld" >&5 | 13401 echo "configure:13402: checking for GNU ld" >&5 |
13450 fi | 13402 fi |
13451 | 13403 |
13452 if test -z "$LTLD"; then | 13404 if test -z "$LTLD"; then |
13453 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 13405 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
13454 for ac_dir in $PATH; do | 13406 for ac_dir in $PATH; do |
13482 | 13434 |
13483 ld_dynamic_link_flags= | 13435 ld_dynamic_link_flags= |
13484 | 13436 |
13485 # Check to see if it really is or isn't GNU ld. | 13437 # Check to see if it really is or isn't GNU ld. |
13486 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 13438 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
13487 echo "configure:13488: checking if the linker is GNU ld" >&5 | 13439 echo "configure:13440: checking if the linker is GNU ld" >&5 |
13488 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 13440 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
13489 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 13441 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
13490 xe_gnu_ld=yes | 13442 xe_gnu_ld=yes |
13491 else | 13443 else |
13492 xe_gnu_ld=no | 13444 xe_gnu_ld=no |
13510 ld_shlibs=yes | 13462 ld_shlibs=yes |
13511 else | 13463 else |
13512 # OK - only NOW do we futz about with ld. | 13464 # OK - only NOW do we futz about with ld. |
13513 # See if the linker supports building shared libraries. | 13465 # See if the linker supports building shared libraries. |
13514 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 13466 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
13515 echo "configure:13516: checking whether the linker supports shared libraries" >&5 | 13467 echo "configure:13468: checking whether the linker supports shared libraries" >&5 |
13516 dll_ld=$CC | 13468 dll_ld=$CC |
13517 dll_ldflags=$LDFLAGS | 13469 dll_ldflags=$LDFLAGS |
13518 ld_shlibs=yes | 13470 ld_shlibs=yes |
13519 can_build_shared=yes | 13471 can_build_shared=yes |
13520 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 13472 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
13725 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 13677 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
13726 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 13678 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
13727 for ac_func in dlerror _dlerror | 13679 for ac_func in dlerror _dlerror |
13728 do | 13680 do |
13729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13730 echo "configure:13731: checking for $ac_func" >&5 | 13682 echo "configure:13683: checking for $ac_func" >&5 |
13731 | 13683 |
13732 cat > conftest.$ac_ext <<EOF | 13684 cat > conftest.$ac_ext <<EOF |
13733 #line 13734 "configure" | 13685 #line 13686 "configure" |
13734 #include "confdefs.h" | 13686 #include "confdefs.h" |
13735 /* System header to define __stub macros and hopefully few prototypes, | 13687 /* System header to define __stub macros and hopefully few prototypes, |
13736 which can conflict with char $ac_func(); below. */ | 13688 which can conflict with char $ac_func(); below. */ |
13737 #include <assert.h> | 13689 #include <assert.h> |
13738 /* Override any gcc2 internal prototype to avoid an error. */ | 13690 /* Override any gcc2 internal prototype to avoid an error. */ |
13751 $ac_func(); | 13703 $ac_func(); |
13752 #endif | 13704 #endif |
13753 | 13705 |
13754 ; return 0; } | 13706 ; return 0; } |
13755 EOF | 13707 EOF |
13756 if { (eval echo configure:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13757 rm -rf conftest* | 13709 rm -rf conftest* |
13758 eval "ac_cv_func_$ac_func=yes" | 13710 eval "ac_cv_func_$ac_func=yes" |
13759 else | 13711 else |
13760 echo "configure: failed program was:" >&5 | 13712 echo "configure: failed program was:" >&5 |
13761 cat conftest.$ac_ext >&5 | 13713 cat conftest.$ac_ext >&5 |
13790 with_modules=no | 13742 with_modules=no |
13791 fi | 13743 fi |
13792 fi | 13744 fi |
13793 | 13745 |
13794 cat > conftest.$ac_ext <<EOF | 13746 cat > conftest.$ac_ext <<EOF |
13795 #line 13796 "configure" | 13747 #line 13748 "configure" |
13796 #include "confdefs.h" | 13748 #include "confdefs.h" |
13797 int main(int c,char *v[]){return 0;} | 13749 int main(int c,char *v[]){return 0;} |
13798 EOF | 13750 EOF |
13799 if { (eval echo configure:13800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13800 then | 13752 then |
13801 : | 13753 : |
13802 else | 13754 else |
13803 conftest_rc="$?" | 13755 conftest_rc="$?" |
13804 echo "configure: failed program was:" >&5 | 13756 echo "configure: failed program was:" >&5 |
14441 fi | 14393 fi |
14442 if test "$with_wmcommand" != no; then | 14394 if test "$with_wmcommand" != no; then |
14443 echo " - Handling WM_COMMAND properly." | 14395 echo " - Handling WM_COMMAND properly." |
14444 fi | 14396 fi |
14445 fi | 14397 fi |
14446 if test "$have_xaw" = "yes"; then | 14398 if test "$need_athena" = "yes"; then |
14447 echo " Compiling in support for the Athena widget set:" | 14399 echo " Compiling in support for the Athena widget set:" |
14448 echo " - Athena headers location: $athena_h_path" | 14400 echo " - Athena headers location: $athena_h_path" |
14449 echo " - Athena library to link: $athena_lib" | 14401 echo " - Athena library to link: $athena_lib" |
14450 fi | 14402 fi |
14451 case "$with_menubars" in | 14403 case "$with_menubars" in |
14534 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 14486 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
14535 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | 14487 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." |
14536 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | 14488 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
14537 if test "$with_postgresql" = yes; then | 14489 if test "$with_postgresql" = yes; then |
14538 echo " Compiling in support for PostgreSQL." | 14490 echo " Compiling in support for PostgreSQL." |
14539 if test "$with_postgresqlv7" = yes; then | 14491 echo " - Using PostgreSQL header file: $libpq_fe_h_file" |
14540 echo " - Using PostgreSQL V7 bindings." | 14492 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings." |
14541 fi | |
14542 if test -n "$postgres_h_path"; then | |
14543 echo " - PostgreSQL headers location: $postgres_h_path" | |
14544 fi | |
14545 fi | 14493 fi |
14546 | 14494 |
14547 echo " | 14495 echo " |
14548 Internationalization:" | 14496 Internationalization:" |
14549 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." | 14497 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." |
14562 echo " | 14510 echo " |
14563 Mail:" | 14511 Mail:" |
14564 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." | 14512 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." |
14565 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." | 14513 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." |
14566 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." | 14514 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." |
14567 echo " Compiling in support for \"$mail_locking\" mail spool file locking method." | 14515 test -n "$mail_locking" && echo " Compiling in support for \"$mail_locking\" mail spool file locking method." |
14568 | 14516 |
14569 echo " | 14517 echo " |
14570 Other Features:" | 14518 Other Features:" |
14571 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 14519 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
14572 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 14520 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |