Mercurial > hg > xemacs-beta
comparison configure @ 460:223736d75acb r21-2-45
Import from CVS: tag r21-2-45
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:43:24 +0200 |
| parents | c33ae14dd6d0 |
| children | 0784d089fdc9 |
comparison
equal
deleted
inserted
replaced
| 459:9d4fd877b885 | 460:223736d75acb |
|---|---|
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 | 2 |
| 3 #### Configuration script for XEmacs. Largely divergent from FSF. | 3 #### Configuration script for XEmacs. Largely divergent from FSF. |
| 4 #### Guess values for system-dependent variables and create Makefiles. | 4 #### Guess values for system-dependent variables and create Makefiles. |
| 5 #### Generated automatically using autoconf version 2.13 | 5 #### Generated automatically using autoconf version 2.13 |
| 6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | 6 #### Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. |
| 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. | 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. |
| 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
| 9 #### Copyright (C) 1995, 1996 Ben Wing. | 9 #### Copyright (C) 1995, 1996 Ben Wing. |
| 10 #### Copyright (C) 2000, 2001 Martin Buchholz. | |
| 10 #### Copyright (C) 1998, 1999 J. Kean Johnston. | 11 #### Copyright (C) 1998, 1999 J. Kean Johnston. |
| 11 | 12 |
| 12 ### Don't edit this script! | 13 ### Don't edit this script! |
| 13 ### This script was automatically generated by the `autoconf' program | 14 ### This script was automatically generated by the `autoconf' program |
| 14 ### from the file `./configure.in'. | 15 ### from the file `./configure.in'. |
| 833 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 834 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 834 fi | 835 fi |
| 835 fi | 836 fi |
| 836 | 837 |
| 837 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 838 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 838 echo "configure:839: checking whether ln -s works" >&5 | 839 echo "configure:840: checking whether ln -s works" >&5 |
| 839 | 840 |
| 840 rm -f conftestdata | 841 rm -f conftestdata |
| 841 if ln -s X conftestdata 2>/dev/null | 842 if ln -s X conftestdata 2>/dev/null |
| 842 then | 843 then |
| 843 rm -f conftestdata | 844 rm -f conftestdata |
| 1098 } | 1099 } |
| 1099 | 1100 |
| 1100 | 1101 |
| 1101 | 1102 |
| 1102 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1103 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 1103 echo "configure:1104: checking "host system type"" >&5 | 1104 echo "configure:1105: checking "host system type"" >&5 |
| 1104 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1105 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 1105 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1106 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
| 1106 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1107 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 1107 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1108 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 1108 echo "$ac_t""$configuration" 1>&6 | 1109 echo "$ac_t""$configuration" 1>&6 |
| 1477 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; | 1478 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; |
| 1478 *-bsdi4* ) opsys=bsdos4 ;; | 1479 *-bsdi4* ) opsys=bsdos4 ;; |
| 1479 *-bsdi3* ) opsys=bsdos3 ;; | 1480 *-bsdi3* ) opsys=bsdos3 ;; |
| 1480 *-bsdi2.1* ) opsys=bsdos2-1 ;; | 1481 *-bsdi2.1* ) opsys=bsdos2-1 ;; |
| 1481 *-bsdi2* ) opsys=bsdos2 ;; | 1482 *-bsdi2* ) opsys=bsdos2 ;; |
| 1482 *-sco3.2v5* ) opsys=sco5 ; | 1483 *-sco3.2v5* ) opsys=sco5 ;; |
| 1483 if test "$dynamic" = "yes" ; then | |
| 1484 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE -D_SCO_ELF" ; | |
| 1485 else | |
| 1486 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ; | |
| 1487 fi ;; | |
| 1488 *-sysv5* ) opsys=sco7 ;; | 1484 *-sysv5* ) opsys=sco7 ;; |
| 1489 *-386bsd* ) opsys=386bsd ;; | 1485 *-386bsd* ) opsys=386bsd ;; |
| 1490 *-freebsd* ) opsys=freebsd ;; | 1486 *-freebsd* ) opsys=freebsd ;; |
| 1491 *-nextstep* ) opsys=nextstep ;; | 1487 *-nextstep* ) opsys=nextstep ;; |
| 1492 *-pc-cygwin* ) opsys=cygwin32 ;; | 1488 *-pc-cygwin* ) opsys=cygwin32 ;; |
| 1617 xe_save_CFLAGS="$CFLAGS" | 1613 xe_save_CFLAGS="$CFLAGS" |
| 1618 | 1614 |
| 1619 # Extract the first word of "gcc", so it can be a program name with args. | 1615 # Extract the first word of "gcc", so it can be a program name with args. |
| 1620 set dummy gcc; ac_word=$2 | 1616 set dummy gcc; ac_word=$2 |
| 1621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1617 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1622 echo "configure:1623: checking for $ac_word" >&5 | 1618 echo "configure:1619: checking for $ac_word" >&5 |
| 1623 | 1619 |
| 1624 if test -n "$CC"; then | 1620 if test -n "$CC"; then |
| 1625 ac_cv_prog_CC="$CC" # Let the user override the test. | 1621 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1626 else | 1622 else |
| 1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1623 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1644 | 1640 |
| 1645 if test -z "$CC"; then | 1641 if test -z "$CC"; then |
| 1646 # Extract the first word of "cc", so it can be a program name with args. | 1642 # Extract the first word of "cc", so it can be a program name with args. |
| 1647 set dummy cc; ac_word=$2 | 1643 set dummy cc; ac_word=$2 |
| 1648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1649 echo "configure:1650: checking for $ac_word" >&5 | 1645 echo "configure:1646: checking for $ac_word" >&5 |
| 1650 | 1646 |
| 1651 if test -n "$CC"; then | 1647 if test -n "$CC"; then |
| 1652 ac_cv_prog_CC="$CC" # Let the user override the test. | 1648 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1653 else | 1649 else |
| 1654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1692 case "`uname -s`" in | 1688 case "`uname -s`" in |
| 1693 *win32* | *WIN32*) | 1689 *win32* | *WIN32*) |
| 1694 # Extract the first word of "cl", so it can be a program name with args. | 1690 # Extract the first word of "cl", so it can be a program name with args. |
| 1695 set dummy cl; ac_word=$2 | 1691 set dummy cl; ac_word=$2 |
| 1696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1697 echo "configure:1698: checking for $ac_word" >&5 | 1693 echo "configure:1694: checking for $ac_word" >&5 |
| 1698 | 1694 |
| 1699 if test -n "$CC"; then | 1695 if test -n "$CC"; then |
| 1700 ac_cv_prog_CC="$CC" # Let the user override the test. | 1696 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1701 else | 1697 else |
| 1702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1721 fi | 1717 fi |
| 1722 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1718 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1723 fi | 1719 fi |
| 1724 | 1720 |
| 1725 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1721 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1726 echo "configure:1727: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1722 echo "configure:1723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1727 | 1723 |
| 1728 ac_ext=c | 1724 ac_ext=c |
| 1729 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1725 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1730 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1726 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1731 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1727 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1734 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1730 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1735 cross_compiling=no | 1731 cross_compiling=no |
| 1736 | 1732 |
| 1737 cat > conftest.$ac_ext << EOF | 1733 cat > conftest.$ac_ext << EOF |
| 1738 | 1734 |
| 1739 #line 1740 "configure" | 1735 #line 1736 "configure" |
| 1740 #include "confdefs.h" | 1736 #include "confdefs.h" |
| 1741 | 1737 |
| 1742 main(){return(0);} | 1738 main(){return(0);} |
| 1743 EOF | 1739 EOF |
| 1744 if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1740 if { (eval echo configure:1741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1745 ac_cv_prog_cc_works=yes | 1741 ac_cv_prog_cc_works=yes |
| 1746 # If we can't run a trivial program, we are probably using a cross compiler. | 1742 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1747 if (./conftest; exit) 2>/dev/null; then | 1743 if (./conftest; exit) 2>/dev/null; then |
| 1748 ac_cv_prog_cc_cross=no | 1744 ac_cv_prog_cc_cross=no |
| 1749 else | 1745 else |
| 1767 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1763 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1768 if test $ac_cv_prog_cc_works = no; then | 1764 if test $ac_cv_prog_cc_works = no; then |
| 1769 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1765 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1770 fi | 1766 fi |
| 1771 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1767 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1772 echo "configure:1773: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1768 echo "configure:1769: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1773 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1769 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1774 cross_compiling=$ac_cv_prog_cc_cross | 1770 cross_compiling=$ac_cv_prog_cc_cross |
| 1775 | 1771 |
| 1776 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1772 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1777 echo "configure:1778: checking whether we are using GNU C" >&5 | 1773 echo "configure:1774: checking whether we are using GNU C" >&5 |
| 1778 | 1774 |
| 1779 cat > conftest.c <<EOF | 1775 cat > conftest.c <<EOF |
| 1780 #ifdef __GNUC__ | 1776 #ifdef __GNUC__ |
| 1781 yes; | 1777 yes; |
| 1782 #endif | 1778 #endif |
| 1783 EOF | 1779 EOF |
| 1784 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1780 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1785 ac_cv_prog_gcc=yes | 1781 ac_cv_prog_gcc=yes |
| 1786 else | 1782 else |
| 1787 ac_cv_prog_gcc=no | 1783 ac_cv_prog_gcc=no |
| 1788 fi | 1784 fi |
| 1789 | 1785 |
| 1797 | 1793 |
| 1798 ac_test_CFLAGS="${CFLAGS+set}" | 1794 ac_test_CFLAGS="${CFLAGS+set}" |
| 1799 ac_save_CFLAGS="$CFLAGS" | 1795 ac_save_CFLAGS="$CFLAGS" |
| 1800 CFLAGS= | 1796 CFLAGS= |
| 1801 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1797 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1802 echo "configure:1803: checking whether ${CC-cc} accepts -g" >&5 | 1798 echo "configure:1799: checking whether ${CC-cc} accepts -g" >&5 |
| 1803 | 1799 |
| 1804 echo 'void f(){}' > conftest.c | 1800 echo 'void f(){}' > conftest.c |
| 1805 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1801 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1806 ac_cv_prog_cc_g=yes | 1802 ac_cv_prog_cc_g=yes |
| 1807 else | 1803 else |
| 1830 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1826 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1831 CC=${NON_GNU_CC-cc} | 1827 CC=${NON_GNU_CC-cc} |
| 1832 # Extract the first word of "gcc", so it can be a program name with args. | 1828 # Extract the first word of "gcc", so it can be a program name with args. |
| 1833 set dummy gcc; ac_word=$2 | 1829 set dummy gcc; ac_word=$2 |
| 1834 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1835 echo "configure:1836: checking for $ac_word" >&5 | 1831 echo "configure:1832: checking for $ac_word" >&5 |
| 1836 | 1832 |
| 1837 if test -n "$CC"; then | 1833 if test -n "$CC"; then |
| 1838 ac_cv_prog_CC="$CC" # Let the user override the test. | 1834 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1839 else | 1835 else |
| 1840 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1836 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1857 | 1853 |
| 1858 if test -z "$CC"; then | 1854 if test -z "$CC"; then |
| 1859 # Extract the first word of "cc", so it can be a program name with args. | 1855 # Extract the first word of "cc", so it can be a program name with args. |
| 1860 set dummy cc; ac_word=$2 | 1856 set dummy cc; ac_word=$2 |
| 1861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1862 echo "configure:1863: checking for $ac_word" >&5 | 1858 echo "configure:1859: checking for $ac_word" >&5 |
| 1863 | 1859 |
| 1864 if test -n "$CC"; then | 1860 if test -n "$CC"; then |
| 1865 ac_cv_prog_CC="$CC" # Let the user override the test. | 1861 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1866 else | 1862 else |
| 1867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1905 case "`uname -s`" in | 1901 case "`uname -s`" in |
| 1906 *win32* | *WIN32*) | 1902 *win32* | *WIN32*) |
| 1907 # Extract the first word of "cl", so it can be a program name with args. | 1903 # Extract the first word of "cl", so it can be a program name with args. |
| 1908 set dummy cl; ac_word=$2 | 1904 set dummy cl; ac_word=$2 |
| 1909 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1905 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1910 echo "configure:1911: checking for $ac_word" >&5 | 1906 echo "configure:1907: checking for $ac_word" >&5 |
| 1911 | 1907 |
| 1912 if test -n "$CC"; then | 1908 if test -n "$CC"; then |
| 1913 ac_cv_prog_CC="$CC" # Let the user override the test. | 1909 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1914 else | 1910 else |
| 1915 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1934 fi | 1930 fi |
| 1935 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1931 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1936 fi | 1932 fi |
| 1937 | 1933 |
| 1938 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1934 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1939 echo "configure:1940: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1935 echo "configure:1936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1940 | 1936 |
| 1941 ac_ext=c | 1937 ac_ext=c |
| 1942 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1938 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1943 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1939 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1944 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1940 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1947 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1943 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1948 cross_compiling=no | 1944 cross_compiling=no |
| 1949 | 1945 |
| 1950 cat > conftest.$ac_ext << EOF | 1946 cat > conftest.$ac_ext << EOF |
| 1951 | 1947 |
| 1952 #line 1953 "configure" | 1948 #line 1949 "configure" |
| 1953 #include "confdefs.h" | 1949 #include "confdefs.h" |
| 1954 | 1950 |
| 1955 main(){return(0);} | 1951 main(){return(0);} |
| 1956 EOF | 1952 EOF |
| 1957 if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1953 if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1958 ac_cv_prog_cc_works=yes | 1954 ac_cv_prog_cc_works=yes |
| 1959 # If we can't run a trivial program, we are probably using a cross compiler. | 1955 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1960 if (./conftest; exit) 2>/dev/null; then | 1956 if (./conftest; exit) 2>/dev/null; then |
| 1961 ac_cv_prog_cc_cross=no | 1957 ac_cv_prog_cc_cross=no |
| 1962 else | 1958 else |
| 1980 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1976 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1981 if test $ac_cv_prog_cc_works = no; then | 1977 if test $ac_cv_prog_cc_works = no; then |
| 1982 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1978 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1983 fi | 1979 fi |
| 1984 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1980 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1985 echo "configure:1986: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1981 echo "configure:1982: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1986 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1982 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1987 cross_compiling=$ac_cv_prog_cc_cross | 1983 cross_compiling=$ac_cv_prog_cc_cross |
| 1988 | 1984 |
| 1989 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1985 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1990 echo "configure:1991: checking whether we are using GNU C" >&5 | 1986 echo "configure:1987: checking whether we are using GNU C" >&5 |
| 1991 | 1987 |
| 1992 cat > conftest.c <<EOF | 1988 cat > conftest.c <<EOF |
| 1993 #ifdef __GNUC__ | 1989 #ifdef __GNUC__ |
| 1994 yes; | 1990 yes; |
| 1995 #endif | 1991 #endif |
| 1996 EOF | 1992 EOF |
| 1997 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1993 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1998 ac_cv_prog_gcc=yes | 1994 ac_cv_prog_gcc=yes |
| 1999 else | 1995 else |
| 2000 ac_cv_prog_gcc=no | 1996 ac_cv_prog_gcc=no |
| 2001 fi | 1997 fi |
| 2002 | 1998 |
| 2010 | 2006 |
| 2011 ac_test_CFLAGS="${CFLAGS+set}" | 2007 ac_test_CFLAGS="${CFLAGS+set}" |
| 2012 ac_save_CFLAGS="$CFLAGS" | 2008 ac_save_CFLAGS="$CFLAGS" |
| 2013 CFLAGS= | 2009 CFLAGS= |
| 2014 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2010 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 2015 echo "configure:2016: checking whether ${CC-cc} accepts -g" >&5 | 2011 echo "configure:2012: checking whether ${CC-cc} accepts -g" >&5 |
| 2016 | 2012 |
| 2017 echo 'void f(){}' > conftest.c | 2013 echo 'void f(){}' > conftest.c |
| 2018 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2014 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 2019 ac_cv_prog_cc_g=yes | 2015 ac_cv_prog_cc_g=yes |
| 2020 else | 2016 else |
| 2043 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2039 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 2044 CC=gcc | 2040 CC=gcc |
| 2045 # Extract the first word of "gcc", so it can be a program name with args. | 2041 # Extract the first word of "gcc", so it can be a program name with args. |
| 2046 set dummy gcc; ac_word=$2 | 2042 set dummy gcc; ac_word=$2 |
| 2047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2043 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2048 echo "configure:2049: checking for $ac_word" >&5 | 2044 echo "configure:2045: checking for $ac_word" >&5 |
| 2049 | 2045 |
| 2050 if test -n "$CC"; then | 2046 if test -n "$CC"; then |
| 2051 ac_cv_prog_CC="$CC" # Let the user override the test. | 2047 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2052 else | 2048 else |
| 2053 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2049 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2070 | 2066 |
| 2071 if test -z "$CC"; then | 2067 if test -z "$CC"; then |
| 2072 # Extract the first word of "cc", so it can be a program name with args. | 2068 # Extract the first word of "cc", so it can be a program name with args. |
| 2073 set dummy cc; ac_word=$2 | 2069 set dummy cc; ac_word=$2 |
| 2074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2070 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2075 echo "configure:2076: checking for $ac_word" >&5 | 2071 echo "configure:2072: checking for $ac_word" >&5 |
| 2076 | 2072 |
| 2077 if test -n "$CC"; then | 2073 if test -n "$CC"; then |
| 2078 ac_cv_prog_CC="$CC" # Let the user override the test. | 2074 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2079 else | 2075 else |
| 2080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2076 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2118 case "`uname -s`" in | 2114 case "`uname -s`" in |
| 2119 *win32* | *WIN32*) | 2115 *win32* | *WIN32*) |
| 2120 # Extract the first word of "cl", so it can be a program name with args. | 2116 # Extract the first word of "cl", so it can be a program name with args. |
| 2121 set dummy cl; ac_word=$2 | 2117 set dummy cl; ac_word=$2 |
| 2122 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2118 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2123 echo "configure:2124: checking for $ac_word" >&5 | 2119 echo "configure:2120: checking for $ac_word" >&5 |
| 2124 | 2120 |
| 2125 if test -n "$CC"; then | 2121 if test -n "$CC"; then |
| 2126 ac_cv_prog_CC="$CC" # Let the user override the test. | 2122 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2127 else | 2123 else |
| 2128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2147 fi | 2143 fi |
| 2148 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2144 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 2149 fi | 2145 fi |
| 2150 | 2146 |
| 2151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2147 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 2152 echo "configure:2153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2148 echo "configure:2149: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 2153 | 2149 |
| 2154 ac_ext=c | 2150 ac_ext=c |
| 2155 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2151 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 2156 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2152 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 2157 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2153 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 2160 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2156 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 2161 cross_compiling=no | 2157 cross_compiling=no |
| 2162 | 2158 |
| 2163 cat > conftest.$ac_ext << EOF | 2159 cat > conftest.$ac_ext << EOF |
| 2164 | 2160 |
| 2165 #line 2166 "configure" | 2161 #line 2162 "configure" |
| 2166 #include "confdefs.h" | 2162 #include "confdefs.h" |
| 2167 | 2163 |
| 2168 main(){return(0);} | 2164 main(){return(0);} |
| 2169 EOF | 2165 EOF |
| 2170 if { (eval echo configure:2171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2166 if { (eval echo configure:2167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2171 ac_cv_prog_cc_works=yes | 2167 ac_cv_prog_cc_works=yes |
| 2172 # If we can't run a trivial program, we are probably using a cross compiler. | 2168 # If we can't run a trivial program, we are probably using a cross compiler. |
| 2173 if (./conftest; exit) 2>/dev/null; then | 2169 if (./conftest; exit) 2>/dev/null; then |
| 2174 ac_cv_prog_cc_cross=no | 2170 ac_cv_prog_cc_cross=no |
| 2175 else | 2171 else |
| 2193 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2189 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 2194 if test $ac_cv_prog_cc_works = no; then | 2190 if test $ac_cv_prog_cc_works = no; then |
| 2195 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2191 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 2196 fi | 2192 fi |
| 2197 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 2198 echo "configure:2199: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2194 echo "configure:2195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 2199 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 2200 cross_compiling=$ac_cv_prog_cc_cross | 2196 cross_compiling=$ac_cv_prog_cc_cross |
| 2201 | 2197 |
| 2202 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 2203 echo "configure:2204: checking whether we are using GNU C" >&5 | 2199 echo "configure:2200: checking whether we are using GNU C" >&5 |
| 2204 | 2200 |
| 2205 cat > conftest.c <<EOF | 2201 cat > conftest.c <<EOF |
| 2206 #ifdef __GNUC__ | 2202 #ifdef __GNUC__ |
| 2207 yes; | 2203 yes; |
| 2208 #endif | 2204 #endif |
| 2209 EOF | 2205 EOF |
| 2210 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2206 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 2211 ac_cv_prog_gcc=yes | 2207 ac_cv_prog_gcc=yes |
| 2212 else | 2208 else |
| 2213 ac_cv_prog_gcc=no | 2209 ac_cv_prog_gcc=no |
| 2214 fi | 2210 fi |
| 2215 | 2211 |
| 2223 | 2219 |
| 2224 ac_test_CFLAGS="${CFLAGS+set}" | 2220 ac_test_CFLAGS="${CFLAGS+set}" |
| 2225 ac_save_CFLAGS="$CFLAGS" | 2221 ac_save_CFLAGS="$CFLAGS" |
| 2226 CFLAGS= | 2222 CFLAGS= |
| 2227 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2223 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 2228 echo "configure:2229: checking whether ${CC-cc} accepts -g" >&5 | 2224 echo "configure:2225: checking whether ${CC-cc} accepts -g" >&5 |
| 2229 | 2225 |
| 2230 echo 'void f(){}' > conftest.c | 2226 echo 'void f(){}' > conftest.c |
| 2231 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2227 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 2232 ac_cv_prog_cc_g=yes | 2228 ac_cv_prog_cc_g=yes |
| 2233 else | 2229 else |
| 2260 test -n "$CPP" -a -d "$CPP" && CPP= | 2256 test -n "$CPP" -a -d "$CPP" && CPP= |
| 2261 | 2257 |
| 2262 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2258 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 2263 | 2259 |
| 2264 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2260 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 2265 echo "configure:2266: checking how to run the C preprocessor" >&5 | 2261 echo "configure:2262: checking how to run the C preprocessor" >&5 |
| 2266 # On Suns, sometimes $CPP names a directory. | 2262 # On Suns, sometimes $CPP names a directory. |
| 2267 if test -n "$CPP" && test -d "$CPP"; then | 2263 if test -n "$CPP" && test -d "$CPP"; then |
| 2268 CPP= | 2264 CPP= |
| 2269 fi | 2265 fi |
| 2270 if test -z "$CPP"; then | 2266 if test -z "$CPP"; then |
| 2273 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2269 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2274 CPP="${CC-cc} -E" | 2270 CPP="${CC-cc} -E" |
| 2275 # On the NeXT, cc -E runs the code through the compiler's parser, | 2271 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2276 # not just through cpp. | 2272 # not just through cpp. |
| 2277 cat > conftest.$ac_ext <<EOF | 2273 cat > conftest.$ac_ext <<EOF |
| 2278 #line 2279 "configure" | 2274 #line 2275 "configure" |
| 2279 #include "confdefs.h" | 2275 #include "confdefs.h" |
| 2280 #include <assert.h> | 2276 #include <assert.h> |
| 2281 Syntax Error | 2277 Syntax Error |
| 2282 EOF | 2278 EOF |
| 2283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2284 { (eval echo configure:2285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2280 { (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2286 if test -z "$ac_err"; then | 2282 if test -z "$ac_err"; then |
| 2287 : | 2283 : |
| 2288 else | 2284 else |
| 2289 echo "$ac_err" >&5 | 2285 echo "$ac_err" >&5 |
| 2290 echo "configure: failed program was:" >&5 | 2286 echo "configure: failed program was:" >&5 |
| 2291 cat conftest.$ac_ext >&5 | 2287 cat conftest.$ac_ext >&5 |
| 2292 rm -rf conftest* | 2288 rm -rf conftest* |
| 2293 CPP="${CC-cc} -E -traditional-cpp" | 2289 CPP="${CC-cc} -E -traditional-cpp" |
| 2294 cat > conftest.$ac_ext <<EOF | 2290 cat > conftest.$ac_ext <<EOF |
| 2295 #line 2296 "configure" | 2291 #line 2292 "configure" |
| 2296 #include "confdefs.h" | 2292 #include "confdefs.h" |
| 2297 #include <assert.h> | 2293 #include <assert.h> |
| 2298 Syntax Error | 2294 Syntax Error |
| 2299 EOF | 2295 EOF |
| 2300 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2301 { (eval echo configure:2302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2297 { (eval echo configure:2298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2303 if test -z "$ac_err"; then | 2299 if test -z "$ac_err"; then |
| 2304 : | 2300 : |
| 2305 else | 2301 else |
| 2306 echo "$ac_err" >&5 | 2302 echo "$ac_err" >&5 |
| 2307 echo "configure: failed program was:" >&5 | 2303 echo "configure: failed program was:" >&5 |
| 2308 cat conftest.$ac_ext >&5 | 2304 cat conftest.$ac_ext >&5 |
| 2309 rm -rf conftest* | 2305 rm -rf conftest* |
| 2310 CPP="${CC-cc} -nologo -E" | 2306 CPP="${CC-cc} -nologo -E" |
| 2311 cat > conftest.$ac_ext <<EOF | 2307 cat > conftest.$ac_ext <<EOF |
| 2312 #line 2313 "configure" | 2308 #line 2309 "configure" |
| 2313 #include "confdefs.h" | 2309 #include "confdefs.h" |
| 2314 #include <assert.h> | 2310 #include <assert.h> |
| 2315 Syntax Error | 2311 Syntax Error |
| 2316 EOF | 2312 EOF |
| 2317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2318 { (eval echo configure:2319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2314 { (eval echo configure:2315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2320 if test -z "$ac_err"; then | 2316 if test -z "$ac_err"; then |
| 2321 : | 2317 : |
| 2322 else | 2318 else |
| 2323 echo "$ac_err" >&5 | 2319 echo "$ac_err" >&5 |
| 2339 echo "$ac_t""$CPP" 1>&6 | 2335 echo "$ac_t""$CPP" 1>&6 |
| 2340 | 2336 |
| 2341 | 2337 |
| 2342 | 2338 |
| 2343 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2339 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2344 echo "configure:2345: checking for AIX" >&5 | 2340 echo "configure:2341: checking for AIX" >&5 |
| 2345 cat > conftest.$ac_ext <<EOF | 2341 cat > conftest.$ac_ext <<EOF |
| 2346 #line 2347 "configure" | 2342 #line 2343 "configure" |
| 2347 #include "confdefs.h" | 2343 #include "confdefs.h" |
| 2348 #ifdef _AIX | 2344 #ifdef _AIX |
| 2349 yes | 2345 yes |
| 2350 #endif | 2346 #endif |
| 2351 | 2347 |
| 2368 rm -f conftest* | 2364 rm -f conftest* |
| 2369 | 2365 |
| 2370 | 2366 |
| 2371 | 2367 |
| 2372 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2368 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2373 echo "configure:2374: checking for GNU libc" >&5 | 2369 echo "configure:2370: checking for GNU libc" >&5 |
| 2374 cat > conftest.$ac_ext <<EOF | 2370 cat > conftest.$ac_ext <<EOF |
| 2375 #line 2376 "configure" | 2371 #line 2372 "configure" |
| 2376 #include "confdefs.h" | 2372 #include "confdefs.h" |
| 2377 #include <features.h> | 2373 #include <features.h> |
| 2378 int main() { | 2374 int main() { |
| 2379 | 2375 |
| 2380 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2376 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2382 ******* ======= ******** &&&&&&&& | 2378 ******* ======= ******** &&&&&&&& |
| 2383 #endif | 2379 #endif |
| 2384 | 2380 |
| 2385 ; return 0; } | 2381 ; return 0; } |
| 2386 EOF | 2382 EOF |
| 2387 if { (eval echo configure:2388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2383 if { (eval echo configure:2384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2388 rm -rf conftest* | 2384 rm -rf conftest* |
| 2389 have_glibc=yes | 2385 have_glibc=yes |
| 2390 else | 2386 else |
| 2391 echo "configure: failed program was:" >&5 | 2387 echo "configure: failed program was:" >&5 |
| 2392 cat conftest.$ac_ext >&5 | 2388 cat conftest.$ac_ext >&5 |
| 2459 | 2455 |
| 2460 ;; | 2456 ;; |
| 2461 esac | 2457 esac |
| 2462 | 2458 |
| 2463 cat > conftest.$ac_ext <<EOF | 2459 cat > conftest.$ac_ext <<EOF |
| 2464 #line 2465 "configure" | 2460 #line 2461 "configure" |
| 2465 #include "confdefs.h" | 2461 #include "confdefs.h" |
| 2466 int main () { | 2462 int main () { |
| 2467 #if defined __SUNPRO_C | 2463 #if defined __SUNPRO_C |
| 2468 return 11; | 2464 return 11; |
| 2469 #elif defined __DECC | 2465 #elif defined __DECC |
| 2473 #else | 2469 #else |
| 2474 return 0; | 2470 return 0; |
| 2475 #endif | 2471 #endif |
| 2476 } | 2472 } |
| 2477 EOF | 2473 EOF |
| 2478 if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2474 if { (eval echo configure:2475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2479 then | 2475 then |
| 2480 : | 2476 : |
| 2481 else | 2477 else |
| 2482 conftest_rc="$?" | 2478 conftest_rc="$?" |
| 2483 echo "configure: failed program was:" >&5 | 2479 echo "configure: failed program was:" >&5 |
| 2707 | 2703 |
| 2708 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2704 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
| 2709 | 2705 |
| 2710 if test "$__USLC__" = yes; then | 2706 if test "$__USLC__" = yes; then |
| 2711 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2707 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
| 2712 echo "configure:2713: checking for whether the -Kalloca compiler flag is needed" >&5 | 2708 echo "configure:2709: checking for whether the -Kalloca compiler flag is needed" >&5 |
| 2713 need_kalloca=no | 2709 need_kalloca=no |
| 2714 cat > conftest.$ac_ext <<EOF | 2710 cat > conftest.$ac_ext <<EOF |
| 2715 #line 2716 "configure" | 2711 #line 2712 "configure" |
| 2716 #include "confdefs.h" | 2712 #include "confdefs.h" |
| 2717 | 2713 |
| 2718 int main() { | 2714 int main() { |
| 2719 void *x = alloca(4); | 2715 void *x = alloca(4); |
| 2720 ; return 0; } | 2716 ; return 0; } |
| 2721 EOF | 2717 EOF |
| 2722 if { (eval echo configure:2723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2718 if { (eval echo configure:2719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2723 rm -rf conftest* | 2719 rm -rf conftest* |
| 2724 : | 2720 : |
| 2725 else | 2721 else |
| 2726 echo "configure: failed program was:" >&5 | 2722 echo "configure: failed program was:" >&5 |
| 2727 cat conftest.$ac_ext >&5 | 2723 cat conftest.$ac_ext >&5 |
| 2728 rm -rf conftest* | 2724 rm -rf conftest* |
| 2729 | 2725 |
| 2730 xe_save_c_switch_system="$c_switch_system" | 2726 xe_save_c_switch_system="$c_switch_system" |
| 2731 c_switch_system="$c_switch_system -Kalloca" | 2727 c_switch_system="$c_switch_system -Kalloca" |
| 2732 cat > conftest.$ac_ext <<EOF | 2728 cat > conftest.$ac_ext <<EOF |
| 2733 #line 2734 "configure" | 2729 #line 2730 "configure" |
| 2734 #include "confdefs.h" | 2730 #include "confdefs.h" |
| 2735 | 2731 |
| 2736 int main() { | 2732 int main() { |
| 2737 void *x = alloca(4); | 2733 void *x = alloca(4); |
| 2738 ; return 0; } | 2734 ; return 0; } |
| 2739 EOF | 2735 EOF |
| 2740 if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2736 if { (eval echo configure:2737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2741 rm -rf conftest* | 2737 rm -rf conftest* |
| 2742 need_kalloca=yes | 2738 need_kalloca=yes |
| 2743 else | 2739 else |
| 2744 echo "configure: failed program was:" >&5 | 2740 echo "configure: failed program was:" >&5 |
| 2745 cat conftest.$ac_ext >&5 | 2741 cat conftest.$ac_ext >&5 |
| 2769 CFLAGS="-O" ; fi | 2765 CFLAGS="-O" ; fi |
| 2770 fi | 2766 fi |
| 2771 | 2767 |
| 2772 if test "$GCC" = "yes"; then | 2768 if test "$GCC" = "yes"; then |
| 2773 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2769 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
| 2774 echo "configure:2775: checking for buggy gcc versions" >&5 | 2770 echo "configure:2771: checking for buggy gcc versions" >&5 |
| 2775 GCC_VERSION=`$CC --version` | 2771 GCC_VERSION=`$CC --version` |
| 2776 case `uname -s`:`uname -m`:$GCC_VERSION in | 2772 case `uname -s`:`uname -m`:$GCC_VERSION in |
| 2777 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2773 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
| 2778 case "$CFLAGS" in | 2774 case "$CFLAGS" in |
| 2779 *-O2*|*-O3*) | 2775 *-O2*|*-O3*) |
| 2892 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2888 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
| 2893 echo " xemacs will be linked with \"dumper.o\"" | 2889 echo " xemacs will be linked with \"dumper.o\"" |
| 2894 fi | 2890 fi |
| 2895 | 2891 |
| 2896 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2892 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 2897 echo "configure:2898: checking for dynodump" >&5 | 2893 echo "configure:2894: checking for dynodump" >&5 |
| 2898 if test "$unexec" != "unexsol2.o"; then | 2894 if test "$unexec" != "unexsol2.o"; then |
| 2899 echo "$ac_t""no" 1>&6 | 2895 echo "$ac_t""no" 1>&6 |
| 2900 else | 2896 else |
| 2901 echo "$ac_t""yes" 1>&6 | 2897 echo "$ac_t""yes" 1>&6 |
| 2902 { test "$extra_verbose" = "yes" && cat << \EOF | 2898 { test "$extra_verbose" = "yes" && cat << \EOF |
| 2930 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2926 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 2931 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2927 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 2932 done | 2928 done |
| 2933 | 2929 |
| 2934 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2930 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 2935 echo "configure:2936: checking for terminateAndUnload in -lC" >&5 | 2931 echo "configure:2932: checking for terminateAndUnload in -lC" >&5 |
| 2936 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2932 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 2937 | 2933 |
| 2938 xe_check_libs=" -lC " | 2934 xe_check_libs=" -lC " |
| 2939 cat > conftest.$ac_ext <<EOF | 2935 cat > conftest.$ac_ext <<EOF |
| 2940 #line 2941 "configure" | 2936 #line 2937 "configure" |
| 2941 #include "confdefs.h" | 2937 #include "confdefs.h" |
| 2942 /* Override any gcc2 internal prototype to avoid an error. */ | 2938 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2943 /* We use char because int might match the return type of a gcc2 | 2939 /* We use char because int might match the return type of a gcc2 |
| 2944 builtin and then its argument prototype would still apply. */ | 2940 builtin and then its argument prototype would still apply. */ |
| 2945 char terminateAndUnload(); | 2941 char terminateAndUnload(); |
| 2946 | 2942 |
| 2947 int main() { | 2943 int main() { |
| 2948 terminateAndUnload() | 2944 terminateAndUnload() |
| 2949 ; return 0; } | 2945 ; return 0; } |
| 2950 EOF | 2946 EOF |
| 2951 if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2947 if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2952 rm -rf conftest* | 2948 rm -rf conftest* |
| 2953 eval "ac_cv_lib_$ac_lib_var=yes" | 2949 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2954 else | 2950 else |
| 2955 echo "configure: failed program was:" >&5 | 2951 echo "configure: failed program was:" >&5 |
| 2956 cat conftest.$ac_ext >&5 | 2952 cat conftest.$ac_ext >&5 |
| 3054 esac | 3050 esac |
| 3055 fi | 3051 fi |
| 3056 | 3052 |
| 3057 if test "$add_runtime_path" = "yes"; then | 3053 if test "$add_runtime_path" = "yes"; then |
| 3058 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3054 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 3059 echo "configure:3060: checking "for runtime libraries flag"" >&5 | 3055 echo "configure:3056: checking "for runtime libraries flag"" >&5 |
| 3060 case "$opsys" in | 3056 case "$opsys" in |
| 3061 sol2 ) dash_r="-R" ;; | 3057 sol2 ) dash_r="-R" ;; |
| 3062 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3058 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 3063 *) | 3059 *) |
| 3064 dash_r="" | 3060 dash_r="" |
| 3076 esac | 3072 esac |
| 3077 shift | 3073 shift |
| 3078 done | 3074 done |
| 3079 fi | 3075 fi |
| 3080 cat > conftest.$ac_ext <<EOF | 3076 cat > conftest.$ac_ext <<EOF |
| 3081 #line 3082 "configure" | 3077 #line 3078 "configure" |
| 3082 #include "confdefs.h" | 3078 #include "confdefs.h" |
| 3083 | 3079 |
| 3084 int main() { | 3080 int main() { |
| 3085 | 3081 |
| 3086 ; return 0; } | 3082 ; return 0; } |
| 3087 EOF | 3083 EOF |
| 3088 if { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3084 if { (eval echo configure:3085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3089 rm -rf conftest* | 3085 rm -rf conftest* |
| 3090 dash_r="$try_dash_r" | 3086 dash_r="$try_dash_r" |
| 3091 else | 3087 else |
| 3092 echo "configure: failed program was:" >&5 | 3088 echo "configure: failed program was:" >&5 |
| 3093 cat conftest.$ac_ext >&5 | 3089 cat conftest.$ac_ext >&5 |
| 3176 fi | 3172 fi |
| 3177 fi | 3173 fi |
| 3178 | 3174 |
| 3179 | 3175 |
| 3180 | 3176 |
| 3181 | |
| 3182 GNU_MALLOC=yes | 3177 GNU_MALLOC=yes |
| 3183 if test "$with_dlmalloc" != "no"; then | 3178 if test "$with_dlmalloc" != "no"; then |
| 3184 doug_lea_malloc=yes | 3179 doug_lea_malloc=yes |
| 3185 else | 3180 else |
| 3186 doug_lea_malloc=no | 3181 doug_lea_malloc=no |
| 3187 fi | 3182 fi |
| 3188 after_morecore_hook_exists=yes | 3183 after_morecore_hook_exists=yes |
| 3189 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3184 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 3190 echo "configure:3191: checking for malloc_set_state" >&5 | 3185 echo "configure:3186: checking for malloc_set_state" >&5 |
| 3191 | 3186 |
| 3192 cat > conftest.$ac_ext <<EOF | 3187 cat > conftest.$ac_ext <<EOF |
| 3193 #line 3194 "configure" | 3188 #line 3189 "configure" |
| 3194 #include "confdefs.h" | 3189 #include "confdefs.h" |
| 3195 /* System header to define __stub macros and hopefully few prototypes, | 3190 /* System header to define __stub macros and hopefully few prototypes, |
| 3196 which can conflict with char malloc_set_state(); below. */ | 3191 which can conflict with char malloc_set_state(); below. */ |
| 3197 #include <assert.h> | 3192 #include <assert.h> |
| 3198 /* Override any gcc2 internal prototype to avoid an error. */ | 3193 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3211 malloc_set_state(); | 3206 malloc_set_state(); |
| 3212 #endif | 3207 #endif |
| 3213 | 3208 |
| 3214 ; return 0; } | 3209 ; return 0; } |
| 3215 EOF | 3210 EOF |
| 3216 if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3211 if { (eval echo configure:3212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3217 rm -rf conftest* | 3212 rm -rf conftest* |
| 3218 eval "ac_cv_func_malloc_set_state=yes" | 3213 eval "ac_cv_func_malloc_set_state=yes" |
| 3219 else | 3214 else |
| 3220 echo "configure: failed program was:" >&5 | 3215 echo "configure: failed program was:" >&5 |
| 3221 cat conftest.$ac_ext >&5 | 3216 cat conftest.$ac_ext >&5 |
| 3231 echo "$ac_t""no" 1>&6 | 3226 echo "$ac_t""no" 1>&6 |
| 3232 doug_lea_malloc=no | 3227 doug_lea_malloc=no |
| 3233 fi | 3228 fi |
| 3234 | 3229 |
| 3235 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3230 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 3236 echo "configure:3237: checking whether __after_morecore_hook exists" >&5 | 3231 echo "configure:3232: checking whether __after_morecore_hook exists" >&5 |
| 3237 cat > conftest.$ac_ext <<EOF | 3232 cat > conftest.$ac_ext <<EOF |
| 3238 #line 3239 "configure" | 3233 #line 3234 "configure" |
| 3239 #include "confdefs.h" | 3234 #include "confdefs.h" |
| 3240 extern void (* __after_morecore_hook)(); | 3235 extern void (* __after_morecore_hook)(); |
| 3241 int main() { | 3236 int main() { |
| 3242 __after_morecore_hook = 0 | 3237 __after_morecore_hook = 0 |
| 3243 ; return 0; } | 3238 ; return 0; } |
| 3244 EOF | 3239 EOF |
| 3245 if { (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3240 if { (eval echo configure:3241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3246 rm -rf conftest* | 3241 rm -rf conftest* |
| 3247 echo "$ac_t""yes" 1>&6 | 3242 echo "$ac_t""yes" 1>&6 |
| 3248 else | 3243 else |
| 3249 echo "configure: failed program was:" >&5 | 3244 echo "configure: failed program was:" >&5 |
| 3250 cat conftest.$ac_ext >&5 | 3245 cat conftest.$ac_ext >&5 |
| 3296 | 3291 |
| 3297 | 3292 |
| 3298 # Extract the first word of "ranlib", so it can be a program name with args. | 3293 # Extract the first word of "ranlib", so it can be a program name with args. |
| 3299 set dummy ranlib; ac_word=$2 | 3294 set dummy ranlib; ac_word=$2 |
| 3300 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3301 echo "configure:3302: checking for $ac_word" >&5 | 3296 echo "configure:3297: checking for $ac_word" >&5 |
| 3302 | 3297 |
| 3303 if test -n "$RANLIB"; then | 3298 if test -n "$RANLIB"; then |
| 3304 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3299 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3305 else | 3300 else |
| 3306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3301 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3346 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3347 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3348 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3354 # ./install, which can be erroneously created by make from ./install.sh. | 3349 # ./install, which can be erroneously created by make from ./install.sh. |
| 3355 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3350 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 3356 echo "configure:3357: checking for a BSD compatible install" >&5 | 3351 echo "configure:3352: checking for a BSD compatible install" >&5 |
| 3357 if test -z "$INSTALL"; then | 3352 if test -z "$INSTALL"; then |
| 3358 | 3353 |
| 3359 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3354 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 3360 for ac_dir in $PATH; do | 3355 for ac_dir in $PATH; do |
| 3361 # Account for people who put trailing slashes in PATH elements. | 3356 # Account for people who put trailing slashes in PATH elements. |
| 3405 for ac_prog in 'bison -y' byacc | 3400 for ac_prog in 'bison -y' byacc |
| 3406 do | 3401 do |
| 3407 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3402 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3408 set dummy $ac_prog; ac_word=$2 | 3403 set dummy $ac_prog; ac_word=$2 |
| 3409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3410 echo "configure:3411: checking for $ac_word" >&5 | 3405 echo "configure:3406: checking for $ac_word" >&5 |
| 3411 | 3406 |
| 3412 if test -n "$YACC"; then | 3407 if test -n "$YACC"; then |
| 3413 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3408 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 3414 else | 3409 else |
| 3415 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3433 test -n "$YACC" && break | 3428 test -n "$YACC" && break |
| 3434 done | 3429 done |
| 3435 test -n "$YACC" || YACC="yacc" | 3430 test -n "$YACC" || YACC="yacc" |
| 3436 | 3431 |
| 3437 | 3432 |
| 3438 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h utime.h | 3433 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
| 3439 do | 3434 do |
| 3440 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3435 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3436 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3442 echo "configure:3443: checking for $ac_hdr" >&5 | 3437 echo "configure:3438: checking for $ac_hdr" >&5 |
| 3443 | 3438 |
| 3444 cat > conftest.$ac_ext <<EOF | 3439 cat > conftest.$ac_ext <<EOF |
| 3445 #line 3446 "configure" | 3440 #line 3441 "configure" |
| 3446 #include "confdefs.h" | 3441 #include "confdefs.h" |
| 3447 #include <$ac_hdr> | 3442 #include <$ac_hdr> |
| 3448 EOF | 3443 EOF |
| 3449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3450 { (eval echo configure:3451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3445 { (eval echo configure:3446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3452 if test -z "$ac_err"; then | 3447 if test -z "$ac_err"; then |
| 3453 rm -rf conftest* | 3448 rm -rf conftest* |
| 3454 eval "ac_cv_header_$ac_safe=yes" | 3449 eval "ac_cv_header_$ac_safe=yes" |
| 3455 else | 3450 else |
| 3475 echo "$ac_t""no" 1>&6 | 3470 echo "$ac_t""no" 1>&6 |
| 3476 fi | 3471 fi |
| 3477 done | 3472 done |
| 3478 | 3473 |
| 3479 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3474 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3480 echo "configure:3481: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3475 echo "configure:3476: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3481 | 3476 |
| 3482 cat > conftest.$ac_ext <<EOF | 3477 cat > conftest.$ac_ext <<EOF |
| 3483 #line 3484 "configure" | 3478 #line 3479 "configure" |
| 3484 #include "confdefs.h" | 3479 #include "confdefs.h" |
| 3485 #include <sys/types.h> | 3480 #include <sys/types.h> |
| 3486 #include <sys/wait.h> | 3481 #include <sys/wait.h> |
| 3487 #ifndef WEXITSTATUS | 3482 #ifndef WEXITSTATUS |
| 3488 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3483 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3494 int s; | 3489 int s; |
| 3495 wait (&s); | 3490 wait (&s); |
| 3496 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3491 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3497 ; return 0; } | 3492 ; return 0; } |
| 3498 EOF | 3493 EOF |
| 3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3500 rm -rf conftest* | 3495 rm -rf conftest* |
| 3501 ac_cv_header_sys_wait_h=yes | 3496 ac_cv_header_sys_wait_h=yes |
| 3502 else | 3497 else |
| 3503 echo "configure: failed program was:" >&5 | 3498 echo "configure: failed program was:" >&5 |
| 3504 cat conftest.$ac_ext >&5 | 3499 cat conftest.$ac_ext >&5 |
| 3518 } | 3513 } |
| 3519 | 3514 |
| 3520 fi | 3515 fi |
| 3521 | 3516 |
| 3522 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3517 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3523 echo "configure:3524: checking for ANSI C header files" >&5 | 3518 echo "configure:3519: checking for ANSI C header files" >&5 |
| 3524 | 3519 |
| 3525 cat > conftest.$ac_ext <<EOF | 3520 cat > conftest.$ac_ext <<EOF |
| 3526 #line 3527 "configure" | 3521 #line 3522 "configure" |
| 3527 #include "confdefs.h" | 3522 #include "confdefs.h" |
| 3528 #include <stdlib.h> | 3523 #include <stdlib.h> |
| 3529 #include <stdarg.h> | 3524 #include <stdarg.h> |
| 3530 #include <string.h> | 3525 #include <string.h> |
| 3531 #include <float.h> | 3526 #include <float.h> |
| 3532 EOF | 3527 EOF |
| 3533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3534 { (eval echo configure:3535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3529 { (eval echo configure:3530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3536 if test -z "$ac_err"; then | 3531 if test -z "$ac_err"; then |
| 3537 rm -rf conftest* | 3532 rm -rf conftest* |
| 3538 ac_cv_header_stdc=yes | 3533 ac_cv_header_stdc=yes |
| 3539 else | 3534 else |
| 3546 rm -f conftest* | 3541 rm -f conftest* |
| 3547 | 3542 |
| 3548 if test $ac_cv_header_stdc = yes; then | 3543 if test $ac_cv_header_stdc = yes; then |
| 3549 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3550 cat > conftest.$ac_ext <<EOF | 3545 cat > conftest.$ac_ext <<EOF |
| 3551 #line 3552 "configure" | 3546 #line 3547 "configure" |
| 3552 #include "confdefs.h" | 3547 #include "confdefs.h" |
| 3553 #include <string.h> | 3548 #include <string.h> |
| 3554 EOF | 3549 EOF |
| 3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3556 egrep "memchr" >/dev/null 2>&1; then | 3551 egrep "memchr" >/dev/null 2>&1; then |
| 3564 fi | 3559 fi |
| 3565 | 3560 |
| 3566 if test $ac_cv_header_stdc = yes; then | 3561 if test $ac_cv_header_stdc = yes; then |
| 3567 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3562 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3568 cat > conftest.$ac_ext <<EOF | 3563 cat > conftest.$ac_ext <<EOF |
| 3569 #line 3570 "configure" | 3564 #line 3565 "configure" |
| 3570 #include "confdefs.h" | 3565 #include "confdefs.h" |
| 3571 #include <stdlib.h> | 3566 #include <stdlib.h> |
| 3572 EOF | 3567 EOF |
| 3573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3574 egrep "free" >/dev/null 2>&1; then | 3569 egrep "free" >/dev/null 2>&1; then |
| 3582 fi | 3577 fi |
| 3583 | 3578 |
| 3584 if test $ac_cv_header_stdc = yes; then | 3579 if test $ac_cv_header_stdc = yes; then |
| 3585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3580 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3586 cat > conftest.$ac_ext <<EOF | 3581 cat > conftest.$ac_ext <<EOF |
| 3587 #line 3588 "configure" | 3582 #line 3583 "configure" |
| 3588 #include "confdefs.h" | 3583 #include "confdefs.h" |
| 3589 #include <ctype.h> | 3584 #include <ctype.h> |
| 3590 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3585 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3591 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3586 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3593 int main () { int i; for (i = 0; i < 256; i++) | 3588 int main () { int i; for (i = 0; i < 256; i++) |
| 3594 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3589 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3595 exit (0); } | 3590 exit (0); } |
| 3596 | 3591 |
| 3597 EOF | 3592 EOF |
| 3598 if { (eval echo configure:3599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3593 if { (eval echo configure:3594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3599 then | 3594 then |
| 3600 : | 3595 : |
| 3601 else | 3596 else |
| 3602 conftest_rc="$?" | 3597 conftest_rc="$?" |
| 3603 echo "configure: failed program was:" >&5 | 3598 echo "configure: failed program was:" >&5 |
| 3619 } | 3614 } |
| 3620 | 3615 |
| 3621 fi | 3616 fi |
| 3622 | 3617 |
| 3623 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3618 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3624 echo "configure:3625: checking whether time.h and sys/time.h may both be included" >&5 | 3619 echo "configure:3620: checking whether time.h and sys/time.h may both be included" >&5 |
| 3625 | 3620 |
| 3626 cat > conftest.$ac_ext <<EOF | 3621 cat > conftest.$ac_ext <<EOF |
| 3627 #line 3628 "configure" | 3622 #line 3623 "configure" |
| 3628 #include "confdefs.h" | 3623 #include "confdefs.h" |
| 3629 #include <sys/types.h> | 3624 #include <sys/types.h> |
| 3630 #include <sys/time.h> | 3625 #include <sys/time.h> |
| 3631 #include <time.h> | 3626 #include <time.h> |
| 3632 int main() { | 3627 int main() { |
| 3633 struct tm *tp; | 3628 struct tm *tp; |
| 3634 ; return 0; } | 3629 ; return 0; } |
| 3635 EOF | 3630 EOF |
| 3636 if { (eval echo configure:3637: \"$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 |
| 3637 rm -rf conftest* | 3632 rm -rf conftest* |
| 3638 ac_cv_header_time=yes | 3633 ac_cv_header_time=yes |
| 3639 else | 3634 else |
| 3640 echo "configure: failed program was:" >&5 | 3635 echo "configure: failed program was:" >&5 |
| 3641 cat conftest.$ac_ext >&5 | 3636 cat conftest.$ac_ext >&5 |
| 3655 } | 3650 } |
| 3656 | 3651 |
| 3657 fi | 3652 fi |
| 3658 | 3653 |
| 3659 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3654 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3660 echo "configure:3661: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3655 echo "configure:3656: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3661 | 3656 |
| 3662 cat > conftest.$ac_ext <<EOF | 3657 cat > conftest.$ac_ext <<EOF |
| 3663 #line 3664 "configure" | 3658 #line 3659 "configure" |
| 3664 #include "confdefs.h" | 3659 #include "confdefs.h" |
| 3665 #include <sys/types.h> | 3660 #include <sys/types.h> |
| 3666 #include <signal.h> | 3661 #include <signal.h> |
| 3667 /* NetBSD declares sys_siglist in unistd.h. */ | 3662 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3668 #ifdef HAVE_UNISTD_H | 3663 #ifdef HAVE_UNISTD_H |
| 3670 #endif | 3665 #endif |
| 3671 int main() { | 3666 int main() { |
| 3672 char *msg = *(sys_siglist + 1); | 3667 char *msg = *(sys_siglist + 1); |
| 3673 ; return 0; } | 3668 ; return 0; } |
| 3674 EOF | 3669 EOF |
| 3675 if { (eval echo configure:3676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3670 if { (eval echo configure:3671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3676 rm -rf conftest* | 3671 rm -rf conftest* |
| 3677 ac_cv_decl_sys_siglist=yes | 3672 ac_cv_decl_sys_siglist=yes |
| 3678 else | 3673 else |
| 3679 echo "configure: failed program was:" >&5 | 3674 echo "configure: failed program was:" >&5 |
| 3680 cat conftest.$ac_ext >&5 | 3675 cat conftest.$ac_ext >&5 |
| 3694 } | 3689 } |
| 3695 | 3690 |
| 3696 fi | 3691 fi |
| 3697 | 3692 |
| 3698 | 3693 |
| 3699 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3694 |
| 3700 echo "configure:3701: checking for struct utimbuf" >&5 | 3695 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
| 3701 cat > conftest.$ac_ext <<EOF | 3696 echo "configure:3697: checking for utime" >&5 |
| 3702 #line 3703 "configure" | 3697 cat > conftest.$ac_ext <<EOF |
| 3703 #include "confdefs.h" | 3698 #line 3699 "configure" |
| 3704 #ifdef TIME_WITH_SYS_TIME | 3699 #include "confdefs.h" |
| 3705 #include <sys/time.h> | 3700 #include <sys/types.h> |
| 3706 #include <time.h> | 3701 #include <utime.h> |
| 3702 int main() { | |
| 3703 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | |
| 3704 ; return 0; } | |
| 3705 EOF | |
| 3706 if { (eval echo configure:3707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| 3707 rm -rf conftest* | |
| 3708 echo "$ac_t""yes" 1>&6 | |
| 3709 { test "$extra_verbose" = "yes" && cat << \EOF | |
| 3710 Defining HAVE_UTIME | |
| 3711 EOF | |
| 3712 cat >> confdefs.h <<\EOF | |
| 3713 #define HAVE_UTIME 1 | |
| 3714 EOF | |
| 3715 } | |
| 3716 | |
| 3717 else | |
| 3718 echo "configure: failed program was:" >&5 | |
| 3719 cat conftest.$ac_ext >&5 | |
| 3720 rm -rf conftest* | |
| 3721 echo "$ac_t""no" 1>&6 | |
| 3722 for ac_func in utimes | |
| 3723 do | |
| 3724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 3725 echo "configure:3726: checking for $ac_func" >&5 | |
| 3726 | |
| 3727 cat > conftest.$ac_ext <<EOF | |
| 3728 #line 3729 "configure" | |
| 3729 #include "confdefs.h" | |
| 3730 /* System header to define __stub macros and hopefully few prototypes, | |
| 3731 which can conflict with char $ac_func(); below. */ | |
| 3732 #include <assert.h> | |
| 3733 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 3734 /* We use char because int might match the return type of a gcc2 | |
| 3735 builtin and then its argument prototype would still apply. */ | |
| 3736 char $ac_func(); | |
| 3737 | |
| 3738 int main() { | |
| 3739 | |
| 3740 /* The GNU C library defines this for functions which it implements | |
| 3741 to always fail with ENOSYS. Some functions are actually named | |
| 3742 something starting with __ and the normal name is an alias. */ | |
| 3743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 3744 choke me | |
| 3707 #else | 3745 #else |
| 3708 #ifdef HAVE_SYS_TIME_H | 3746 $ac_func(); |
| 3709 #include <sys/time.h> | |
| 3710 #else | |
| 3711 #include <time.h> | |
| 3712 #endif | 3747 #endif |
| 3713 #endif | 3748 |
| 3714 #ifdef HAVE_UTIME_H | |
| 3715 #include <utime.h> | |
| 3716 #endif | |
| 3717 int main() { | |
| 3718 static struct utimbuf x; x.actime = x.modtime; | |
| 3719 ; return 0; } | 3749 ; return 0; } |
| 3720 EOF | 3750 EOF |
| 3721 if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3751 if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3722 rm -rf conftest* | 3752 rm -rf conftest* |
| 3723 echo "$ac_t""yes" 1>&6 | 3753 eval "ac_cv_func_$ac_func=yes" |
| 3724 { test "$extra_verbose" = "yes" && cat << \EOF | 3754 else |
| 3725 Defining HAVE_STRUCT_UTIMBUF | 3755 echo "configure: failed program was:" >&5 |
| 3726 EOF | 3756 cat conftest.$ac_ext >&5 |
| 3727 cat >> confdefs.h <<\EOF | 3757 rm -rf conftest* |
| 3728 #define HAVE_STRUCT_UTIMBUF 1 | 3758 eval "ac_cv_func_$ac_func=no" |
| 3729 EOF | 3759 fi |
| 3730 } | 3760 rm -f conftest* |
| 3731 | 3761 |
| 3732 else | 3762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
| 3733 echo "configure: failed program was:" >&5 | 3763 echo "$ac_t""yes" 1>&6 |
| 3734 cat conftest.$ac_ext >&5 | 3764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
| 3735 rm -rf conftest* | 3765 { test "$extra_verbose" = "yes" && cat << EOF |
| 3736 echo "$ac_t""no" 1>&6 | 3766 Defining $ac_tr_func |
| 3737 fi | 3767 EOF |
| 3738 rm -f conftest* | 3768 cat >> confdefs.h <<EOF |
| 3769 #define $ac_tr_func 1 | |
| 3770 EOF | |
| 3771 } | |
| 3772 | |
| 3773 else | |
| 3774 echo "$ac_t""no" 1>&6 | |
| 3775 fi | |
| 3776 done | |
| 3777 | |
| 3778 fi | |
| 3779 rm -f conftest* | |
| 3780 | |
| 3739 | 3781 |
| 3740 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3782 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3741 echo "configure:3742: checking return type of signal handlers" >&5 | 3783 echo "configure:3784: checking return type of signal handlers" >&5 |
| 3742 | 3784 |
| 3743 cat > conftest.$ac_ext <<EOF | 3785 cat > conftest.$ac_ext <<EOF |
| 3744 #line 3745 "configure" | 3786 #line 3787 "configure" |
| 3745 #include "confdefs.h" | 3787 #include "confdefs.h" |
| 3746 #include <sys/types.h> | 3788 #include <sys/types.h> |
| 3747 #include <signal.h> | 3789 #include <signal.h> |
| 3748 #ifdef signal | 3790 #ifdef signal |
| 3749 #undef signal | 3791 #undef signal |
| 3756 | 3798 |
| 3757 int main() { | 3799 int main() { |
| 3758 int i; | 3800 int i; |
| 3759 ; return 0; } | 3801 ; return 0; } |
| 3760 EOF | 3802 EOF |
| 3761 if { (eval echo configure:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3762 rm -rf conftest* | 3804 rm -rf conftest* |
| 3763 ac_cv_type_signal=void | 3805 ac_cv_type_signal=void |
| 3764 else | 3806 else |
| 3765 echo "configure: failed program was:" >&5 | 3807 echo "configure: failed program was:" >&5 |
| 3766 cat conftest.$ac_ext >&5 | 3808 cat conftest.$ac_ext >&5 |
| 3778 EOF | 3820 EOF |
| 3779 } | 3821 } |
| 3780 | 3822 |
| 3781 | 3823 |
| 3782 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3824 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3783 echo "configure:3784: checking for size_t" >&5 | 3825 echo "configure:3826: checking for size_t" >&5 |
| 3784 | 3826 |
| 3785 cat > conftest.$ac_ext <<EOF | 3827 cat > conftest.$ac_ext <<EOF |
| 3786 #line 3787 "configure" | 3828 #line 3829 "configure" |
| 3787 #include "confdefs.h" | 3829 #include "confdefs.h" |
| 3788 #include <sys/types.h> | 3830 #include <sys/types.h> |
| 3789 #if STDC_HEADERS | 3831 #if STDC_HEADERS |
| 3790 #include <stdlib.h> | 3832 #include <stdlib.h> |
| 3791 #include <stddef.h> | 3833 #include <stddef.h> |
| 3812 } | 3854 } |
| 3813 | 3855 |
| 3814 fi | 3856 fi |
| 3815 | 3857 |
| 3816 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3858 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 3817 echo "configure:3818: checking for pid_t" >&5 | 3859 echo "configure:3860: checking for pid_t" >&5 |
| 3818 | 3860 |
| 3819 cat > conftest.$ac_ext <<EOF | 3861 cat > conftest.$ac_ext <<EOF |
| 3820 #line 3821 "configure" | 3862 #line 3863 "configure" |
| 3821 #include "confdefs.h" | 3863 #include "confdefs.h" |
| 3822 #include <sys/types.h> | 3864 #include <sys/types.h> |
| 3823 #if STDC_HEADERS | 3865 #if STDC_HEADERS |
| 3824 #include <stdlib.h> | 3866 #include <stdlib.h> |
| 3825 #include <stddef.h> | 3867 #include <stddef.h> |
| 3846 } | 3888 } |
| 3847 | 3889 |
| 3848 fi | 3890 fi |
| 3849 | 3891 |
| 3850 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3892 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 3851 echo "configure:3852: checking for uid_t in sys/types.h" >&5 | 3893 echo "configure:3894: checking for uid_t in sys/types.h" >&5 |
| 3852 | 3894 |
| 3853 cat > conftest.$ac_ext <<EOF | 3895 cat > conftest.$ac_ext <<EOF |
| 3854 #line 3855 "configure" | 3896 #line 3897 "configure" |
| 3855 #include "confdefs.h" | 3897 #include "confdefs.h" |
| 3856 #include <sys/types.h> | 3898 #include <sys/types.h> |
| 3857 EOF | 3899 EOF |
| 3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3859 egrep "uid_t" >/dev/null 2>&1; then | 3901 egrep "uid_t" >/dev/null 2>&1; then |
| 3885 } | 3927 } |
| 3886 | 3928 |
| 3887 fi | 3929 fi |
| 3888 | 3930 |
| 3889 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3931 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 3890 echo "configure:3891: checking for mode_t" >&5 | 3932 echo "configure:3933: checking for mode_t" >&5 |
| 3891 | 3933 |
| 3892 cat > conftest.$ac_ext <<EOF | 3934 cat > conftest.$ac_ext <<EOF |
| 3893 #line 3894 "configure" | 3935 #line 3936 "configure" |
| 3894 #include "confdefs.h" | 3936 #include "confdefs.h" |
| 3895 #include <sys/types.h> | 3937 #include <sys/types.h> |
| 3896 #if STDC_HEADERS | 3938 #if STDC_HEADERS |
| 3897 #include <stdlib.h> | 3939 #include <stdlib.h> |
| 3898 #include <stddef.h> | 3940 #include <stddef.h> |
| 3919 } | 3961 } |
| 3920 | 3962 |
| 3921 fi | 3963 fi |
| 3922 | 3964 |
| 3923 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3965 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 3924 echo "configure:3925: checking for off_t" >&5 | 3966 echo "configure:3967: checking for off_t" >&5 |
| 3925 | 3967 |
| 3926 cat > conftest.$ac_ext <<EOF | 3968 cat > conftest.$ac_ext <<EOF |
| 3927 #line 3928 "configure" | 3969 #line 3970 "configure" |
| 3928 #include "confdefs.h" | 3970 #include "confdefs.h" |
| 3929 #include <sys/types.h> | 3971 #include <sys/types.h> |
| 3930 #if STDC_HEADERS | 3972 #if STDC_HEADERS |
| 3931 #include <stdlib.h> | 3973 #include <stdlib.h> |
| 3932 #include <stddef.h> | 3974 #include <stddef.h> |
| 3953 } | 3995 } |
| 3954 | 3996 |
| 3955 fi | 3997 fi |
| 3956 | 3998 |
| 3957 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 3999 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
| 3958 echo "configure:3959: checking for ssize_t" >&5 | 4000 echo "configure:4001: checking for ssize_t" >&5 |
| 3959 | 4001 |
| 3960 cat > conftest.$ac_ext <<EOF | 4002 cat > conftest.$ac_ext <<EOF |
| 3961 #line 3962 "configure" | 4003 #line 4004 "configure" |
| 3962 #include "confdefs.h" | 4004 #include "confdefs.h" |
| 3963 #include <sys/types.h> | 4005 #include <sys/types.h> |
| 3964 #if STDC_HEADERS | 4006 #if STDC_HEADERS |
| 3965 #include <stdlib.h> | 4007 #include <stdlib.h> |
| 3966 #include <stddef.h> | 4008 #include <stddef.h> |
| 3988 | 4030 |
| 3989 fi | 4031 fi |
| 3990 | 4032 |
| 3991 | 4033 |
| 3992 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4034 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
| 3993 echo "configure:3994: checking for socklen_t" >&5 | 4035 echo "configure:4036: checking for socklen_t" >&5 |
| 3994 cat > conftest.$ac_ext <<EOF | 4036 cat > conftest.$ac_ext <<EOF |
| 3995 #line 3996 "configure" | 4037 #line 4038 "configure" |
| 3996 #include "confdefs.h" | 4038 #include "confdefs.h" |
| 3997 #include <sys/socket.h> | 4039 #include <sys/socket.h> |
| 3998 socklen_t x; | 4040 socklen_t x; |
| 3999 | 4041 |
| 4000 int main() { | 4042 int main() { |
| 4001 | 4043 |
| 4002 ; return 0; } | 4044 ; return 0; } |
| 4003 EOF | 4045 EOF |
| 4004 if { (eval echo configure:4005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4046 if { (eval echo configure:4047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4005 rm -rf conftest* | 4047 rm -rf conftest* |
| 4006 echo "$ac_t""yes" 1>&6 | 4048 echo "$ac_t""yes" 1>&6 |
| 4007 else | 4049 else |
| 4008 echo "configure: failed program was:" >&5 | 4050 echo "configure: failed program was:" >&5 |
| 4009 cat conftest.$ac_ext >&5 | 4051 cat conftest.$ac_ext >&5 |
| 4010 rm -rf conftest* | 4052 rm -rf conftest* |
| 4011 | 4053 |
| 4012 cat > conftest.$ac_ext <<EOF | 4054 cat > conftest.$ac_ext <<EOF |
| 4013 #line 4014 "configure" | 4055 #line 4056 "configure" |
| 4014 #include "confdefs.h" | 4056 #include "confdefs.h" |
| 4015 #include <sys/socket.h> | 4057 #include <sys/socket.h> |
| 4016 int accept (int, struct sockaddr *, size_t *); | 4058 int accept (int, struct sockaddr *, size_t *); |
| 4017 | 4059 |
| 4018 int main() { | 4060 int main() { |
| 4019 | 4061 |
| 4020 ; return 0; } | 4062 ; return 0; } |
| 4021 EOF | 4063 EOF |
| 4022 if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4064 if { (eval echo configure:4065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4023 rm -rf conftest* | 4065 rm -rf conftest* |
| 4024 | 4066 |
| 4025 echo "$ac_t""size_t" 1>&6 | 4067 echo "$ac_t""size_t" 1>&6 |
| 4026 { test "$extra_verbose" = "yes" && cat << \EOF | 4068 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4027 Defining socklen_t = size_t | 4069 Defining socklen_t = size_t |
| 4049 rm -f conftest* | 4091 rm -f conftest* |
| 4050 fi | 4092 fi |
| 4051 rm -f conftest* | 4093 rm -f conftest* |
| 4052 | 4094 |
| 4053 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4095 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 4054 echo "configure:4055: checking for struct timeval" >&5 | 4096 echo "configure:4097: checking for struct timeval" >&5 |
| 4055 cat > conftest.$ac_ext <<EOF | 4097 cat > conftest.$ac_ext <<EOF |
| 4056 #line 4057 "configure" | 4098 #line 4099 "configure" |
| 4057 #include "confdefs.h" | 4099 #include "confdefs.h" |
| 4058 #ifdef TIME_WITH_SYS_TIME | 4100 #ifdef TIME_WITH_SYS_TIME |
| 4059 #include <sys/time.h> | 4101 #include <sys/time.h> |
| 4060 #include <time.h> | 4102 #include <time.h> |
| 4061 #else | 4103 #else |
| 4067 #endif | 4109 #endif |
| 4068 int main() { | 4110 int main() { |
| 4069 static struct timeval x; x.tv_sec = x.tv_usec; | 4111 static struct timeval x; x.tv_sec = x.tv_usec; |
| 4070 ; return 0; } | 4112 ; return 0; } |
| 4071 EOF | 4113 EOF |
| 4072 if { (eval echo configure:4073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4114 if { (eval echo configure:4115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4073 rm -rf conftest* | 4115 rm -rf conftest* |
| 4074 echo "$ac_t""yes" 1>&6 | 4116 echo "$ac_t""yes" 1>&6 |
| 4075 HAVE_TIMEVAL=yes | 4117 HAVE_TIMEVAL=yes |
| 4076 { test "$extra_verbose" = "yes" && cat << \EOF | 4118 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4077 Defining HAVE_TIMEVAL | 4119 Defining HAVE_TIMEVAL |
| 4089 HAVE_TIMEVAL=no | 4131 HAVE_TIMEVAL=no |
| 4090 fi | 4132 fi |
| 4091 rm -f conftest* | 4133 rm -f conftest* |
| 4092 | 4134 |
| 4093 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4135 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 4094 echo "configure:4095: checking whether struct tm is in sys/time.h or time.h" >&5 | 4136 echo "configure:4137: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 4095 | 4137 |
| 4096 cat > conftest.$ac_ext <<EOF | 4138 cat > conftest.$ac_ext <<EOF |
| 4097 #line 4098 "configure" | 4139 #line 4140 "configure" |
| 4098 #include "confdefs.h" | 4140 #include "confdefs.h" |
| 4099 #include <sys/types.h> | 4141 #include <sys/types.h> |
| 4100 #include <time.h> | 4142 #include <time.h> |
| 4101 int main() { | 4143 int main() { |
| 4102 struct tm *tp; tp->tm_sec; | 4144 struct tm *tp; tp->tm_sec; |
| 4103 ; return 0; } | 4145 ; return 0; } |
| 4104 EOF | 4146 EOF |
| 4105 if { (eval echo configure:4106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4147 if { (eval echo configure:4148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4106 rm -rf conftest* | 4148 rm -rf conftest* |
| 4107 ac_cv_struct_tm=time.h | 4149 ac_cv_struct_tm=time.h |
| 4108 else | 4150 else |
| 4109 echo "configure: failed program was:" >&5 | 4151 echo "configure: failed program was:" >&5 |
| 4110 cat conftest.$ac_ext >&5 | 4152 cat conftest.$ac_ext >&5 |
| 4124 } | 4166 } |
| 4125 | 4167 |
| 4126 fi | 4168 fi |
| 4127 | 4169 |
| 4128 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4170 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 4129 echo "configure:4130: checking for tm_zone in struct tm" >&5 | 4171 echo "configure:4172: checking for tm_zone in struct tm" >&5 |
| 4130 | 4172 |
| 4131 cat > conftest.$ac_ext <<EOF | 4173 cat > conftest.$ac_ext <<EOF |
| 4132 #line 4133 "configure" | 4174 #line 4175 "configure" |
| 4133 #include "confdefs.h" | 4175 #include "confdefs.h" |
| 4134 #include <sys/types.h> | 4176 #include <sys/types.h> |
| 4135 #include <$ac_cv_struct_tm> | 4177 #include <$ac_cv_struct_tm> |
| 4136 int main() { | 4178 int main() { |
| 4137 struct tm tm; tm.tm_zone; | 4179 struct tm tm; tm.tm_zone; |
| 4138 ; return 0; } | 4180 ; return 0; } |
| 4139 EOF | 4181 EOF |
| 4140 if { (eval echo configure:4141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4182 if { (eval echo configure:4183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4141 rm -rf conftest* | 4183 rm -rf conftest* |
| 4142 ac_cv_struct_tm_zone=yes | 4184 ac_cv_struct_tm_zone=yes |
| 4143 else | 4185 else |
| 4144 echo "configure: failed program was:" >&5 | 4186 echo "configure: failed program was:" >&5 |
| 4145 cat conftest.$ac_ext >&5 | 4187 cat conftest.$ac_ext >&5 |
| 4158 EOF | 4200 EOF |
| 4159 } | 4201 } |
| 4160 | 4202 |
| 4161 else | 4203 else |
| 4162 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4204 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 4163 echo "configure:4164: checking for tzname" >&5 | 4205 echo "configure:4206: checking for tzname" >&5 |
| 4164 | 4206 |
| 4165 cat > conftest.$ac_ext <<EOF | 4207 cat > conftest.$ac_ext <<EOF |
| 4166 #line 4167 "configure" | 4208 #line 4209 "configure" |
| 4167 #include "confdefs.h" | 4209 #include "confdefs.h" |
| 4168 #include <time.h> | 4210 #include <time.h> |
| 4169 #ifndef tzname /* For SGI. */ | 4211 #ifndef tzname /* For SGI. */ |
| 4170 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4212 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 4171 #endif | 4213 #endif |
| 4172 int main() { | 4214 int main() { |
| 4173 atoi(*tzname); | 4215 atoi(*tzname); |
| 4174 ; return 0; } | 4216 ; return 0; } |
| 4175 EOF | 4217 EOF |
| 4176 if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4218 if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4177 rm -rf conftest* | 4219 rm -rf conftest* |
| 4178 ac_cv_var_tzname=yes | 4220 ac_cv_var_tzname=yes |
| 4179 else | 4221 else |
| 4180 echo "configure: failed program was:" >&5 | 4222 echo "configure: failed program was:" >&5 |
| 4181 cat conftest.$ac_ext >&5 | 4223 cat conftest.$ac_ext >&5 |
| 4197 fi | 4239 fi |
| 4198 fi | 4240 fi |
| 4199 | 4241 |
| 4200 | 4242 |
| 4201 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4243 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 4202 echo "configure:4203: checking for working const" >&5 | 4244 echo "configure:4245: checking for working const" >&5 |
| 4203 | 4245 |
| 4204 cat > conftest.$ac_ext <<EOF | 4246 cat > conftest.$ac_ext <<EOF |
| 4205 #line 4206 "configure" | 4247 #line 4248 "configure" |
| 4206 #include "confdefs.h" | 4248 #include "confdefs.h" |
| 4207 | 4249 |
| 4208 int main() { | 4250 int main() { |
| 4209 | 4251 |
| 4210 /* Ultrix mips cc rejects this. */ | 4252 /* Ultrix mips cc rejects this. */ |
| 4249 const int foo = 10; | 4291 const int foo = 10; |
| 4250 } | 4292 } |
| 4251 | 4293 |
| 4252 ; return 0; } | 4294 ; return 0; } |
| 4253 EOF | 4295 EOF |
| 4254 if { (eval echo configure:4255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4296 if { (eval echo configure:4297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4255 rm -rf conftest* | 4297 rm -rf conftest* |
| 4256 ac_cv_c_const=yes | 4298 ac_cv_c_const=yes |
| 4257 else | 4299 else |
| 4258 echo "configure: failed program was:" >&5 | 4300 echo "configure: failed program was:" >&5 |
| 4259 cat conftest.$ac_ext >&5 | 4301 cat conftest.$ac_ext >&5 |
| 4274 | 4316 |
| 4275 fi | 4317 fi |
| 4276 | 4318 |
| 4277 | 4319 |
| 4278 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4320 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 4279 echo "configure:4280: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4321 echo "configure:4322: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 4280 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4322 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 4281 | 4323 |
| 4282 cat > conftestmake <<\EOF | 4324 cat > conftestmake <<\EOF |
| 4283 all: | 4325 all: |
| 4284 @echo 'ac_maketemp="${MAKE}"' | 4326 @echo 'ac_maketemp="${MAKE}"' |
| 4299 SET_MAKE="MAKE=${MAKE-make}" | 4341 SET_MAKE="MAKE=${MAKE-make}" |
| 4300 fi | 4342 fi |
| 4301 | 4343 |
| 4302 | 4344 |
| 4303 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4345 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 4304 echo "configure:4305: checking whether byte ordering is bigendian" >&5 | 4346 echo "configure:4347: checking whether byte ordering is bigendian" >&5 |
| 4305 | 4347 |
| 4306 ac_cv_c_bigendian=unknown | 4348 ac_cv_c_bigendian=unknown |
| 4307 # See if sys/param.h defines the BYTE_ORDER macro. | 4349 # See if sys/param.h defines the BYTE_ORDER macro. |
| 4308 cat > conftest.$ac_ext <<EOF | 4350 cat > conftest.$ac_ext <<EOF |
| 4309 #line 4310 "configure" | 4351 #line 4352 "configure" |
| 4310 #include "confdefs.h" | 4352 #include "confdefs.h" |
| 4311 #include <sys/types.h> | 4353 #include <sys/types.h> |
| 4312 #include <sys/param.h> | 4354 #include <sys/param.h> |
| 4313 int main() { | 4355 int main() { |
| 4314 | 4356 |
| 4315 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4357 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 4316 bogus endian macros | 4358 bogus endian macros |
| 4317 #endif | 4359 #endif |
| 4318 ; return 0; } | 4360 ; return 0; } |
| 4319 EOF | 4361 EOF |
| 4320 if { (eval echo configure:4321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4321 rm -rf conftest* | 4363 rm -rf conftest* |
| 4322 # It does; now see whether it defined to BIG_ENDIAN or not. | 4364 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 4323 cat > conftest.$ac_ext <<EOF | 4365 cat > conftest.$ac_ext <<EOF |
| 4324 #line 4325 "configure" | 4366 #line 4367 "configure" |
| 4325 #include "confdefs.h" | 4367 #include "confdefs.h" |
| 4326 #include <sys/types.h> | 4368 #include <sys/types.h> |
| 4327 #include <sys/param.h> | 4369 #include <sys/param.h> |
| 4328 int main() { | 4370 int main() { |
| 4329 | 4371 |
| 4330 #if BYTE_ORDER != BIG_ENDIAN | 4372 #if BYTE_ORDER != BIG_ENDIAN |
| 4331 not big endian | 4373 not big endian |
| 4332 #endif | 4374 #endif |
| 4333 ; return 0; } | 4375 ; return 0; } |
| 4334 EOF | 4376 EOF |
| 4335 if { (eval echo configure:4336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4377 if { (eval echo configure:4378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4336 rm -rf conftest* | 4378 rm -rf conftest* |
| 4337 ac_cv_c_bigendian=yes | 4379 ac_cv_c_bigendian=yes |
| 4338 else | 4380 else |
| 4339 echo "configure: failed program was:" >&5 | 4381 echo "configure: failed program was:" >&5 |
| 4340 cat conftest.$ac_ext >&5 | 4382 cat conftest.$ac_ext >&5 |
| 4347 cat conftest.$ac_ext >&5 | 4389 cat conftest.$ac_ext >&5 |
| 4348 fi | 4390 fi |
| 4349 rm -f conftest* | 4391 rm -f conftest* |
| 4350 if test $ac_cv_c_bigendian = unknown; then | 4392 if test $ac_cv_c_bigendian = unknown; then |
| 4351 cat > conftest.$ac_ext <<EOF | 4393 cat > conftest.$ac_ext <<EOF |
| 4352 #line 4353 "configure" | 4394 #line 4395 "configure" |
| 4353 #include "confdefs.h" | 4395 #include "confdefs.h" |
| 4354 main () { | 4396 main () { |
| 4355 /* Are we little or big endian? From Harbison&Steele. */ | 4397 /* Are we little or big endian? From Harbison&Steele. */ |
| 4356 union | 4398 union |
| 4357 { | 4399 { |
| 4360 } u; | 4402 } u; |
| 4361 u.l = 1; | 4403 u.l = 1; |
| 4362 exit (u.c[sizeof (long) - 1] == 1); | 4404 exit (u.c[sizeof (long) - 1] == 1); |
| 4363 } | 4405 } |
| 4364 EOF | 4406 EOF |
| 4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4407 if { (eval echo configure:4408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4366 then | 4408 then |
| 4367 ac_cv_c_bigendian=no | 4409 ac_cv_c_bigendian=no |
| 4368 else | 4410 else |
| 4369 conftest_rc="$?" | 4411 conftest_rc="$?" |
| 4370 echo "configure: failed program was:" >&5 | 4412 echo "configure: failed program was:" >&5 |
| 4387 | 4429 |
| 4388 fi | 4430 fi |
| 4389 | 4431 |
| 4390 | 4432 |
| 4391 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4433 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 4392 echo "configure:4393: checking size of short" >&5 | 4434 echo "configure:4435: checking size of short" >&5 |
| 4393 | 4435 |
| 4394 cat > conftest.$ac_ext <<EOF | 4436 cat > conftest.$ac_ext <<EOF |
| 4395 #line 4396 "configure" | 4437 #line 4438 "configure" |
| 4396 #include "confdefs.h" | 4438 #include "confdefs.h" |
| 4397 #include <stdio.h> | 4439 #include <stdio.h> |
| 4398 main() | 4440 main() |
| 4399 { | 4441 { |
| 4400 FILE *f=fopen("conftestval", "w"); | 4442 FILE *f=fopen("conftestval", "w"); |
| 4401 if (!f) exit(1); | 4443 if (!f) exit(1); |
| 4402 fprintf(f, "%d\n", sizeof(short)); | 4444 fprintf(f, "%d\n", sizeof(short)); |
| 4403 exit(0); | 4445 exit(0); |
| 4404 } | 4446 } |
| 4405 EOF | 4447 EOF |
| 4406 if { (eval echo configure:4407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4407 then | 4449 then |
| 4408 ac_cv_sizeof_short=`cat conftestval` | 4450 ac_cv_sizeof_short=`cat conftestval` |
| 4409 else | 4451 else |
| 4410 conftest_rc="$?" | 4452 conftest_rc="$?" |
| 4411 echo "configure: failed program was:" >&5 | 4453 echo "configure: failed program was:" >&5 |
| 4429 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4471 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 4430 echo "*** PANIC *** Please examine config.log for compilation errors." | 4472 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 4431 exit 1 | 4473 exit 1 |
| 4432 fi | 4474 fi |
| 4433 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4475 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 4434 echo "configure:4435: checking size of int" >&5 | 4476 echo "configure:4477: checking size of int" >&5 |
| 4435 | 4477 |
| 4436 cat > conftest.$ac_ext <<EOF | 4478 cat > conftest.$ac_ext <<EOF |
| 4437 #line 4438 "configure" | 4479 #line 4480 "configure" |
| 4438 #include "confdefs.h" | 4480 #include "confdefs.h" |
| 4439 #include <stdio.h> | 4481 #include <stdio.h> |
| 4440 main() | 4482 main() |
| 4441 { | 4483 { |
| 4442 FILE *f=fopen("conftestval", "w"); | 4484 FILE *f=fopen("conftestval", "w"); |
| 4443 if (!f) exit(1); | 4485 if (!f) exit(1); |
| 4444 fprintf(f, "%d\n", sizeof(int)); | 4486 fprintf(f, "%d\n", sizeof(int)); |
| 4445 exit(0); | 4487 exit(0); |
| 4446 } | 4488 } |
| 4447 EOF | 4489 EOF |
| 4448 if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4490 if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4449 then | 4491 then |
| 4450 ac_cv_sizeof_int=`cat conftestval` | 4492 ac_cv_sizeof_int=`cat conftestval` |
| 4451 else | 4493 else |
| 4452 conftest_rc="$?" | 4494 conftest_rc="$?" |
| 4453 echo "configure: failed program was:" >&5 | 4495 echo "configure: failed program was:" >&5 |
| 4465 EOF | 4507 EOF |
| 4466 } | 4508 } |
| 4467 | 4509 |
| 4468 | 4510 |
| 4469 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4511 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4470 echo "configure:4471: checking size of long" >&5 | 4512 echo "configure:4513: checking size of long" >&5 |
| 4471 | 4513 |
| 4472 cat > conftest.$ac_ext <<EOF | 4514 cat > conftest.$ac_ext <<EOF |
| 4473 #line 4474 "configure" | 4515 #line 4516 "configure" |
| 4474 #include "confdefs.h" | 4516 #include "confdefs.h" |
| 4475 #include <stdio.h> | 4517 #include <stdio.h> |
| 4476 main() | 4518 main() |
| 4477 { | 4519 { |
| 4478 FILE *f=fopen("conftestval", "w"); | 4520 FILE *f=fopen("conftestval", "w"); |
| 4479 if (!f) exit(1); | 4521 if (!f) exit(1); |
| 4480 fprintf(f, "%d\n", sizeof(long)); | 4522 fprintf(f, "%d\n", sizeof(long)); |
| 4481 exit(0); | 4523 exit(0); |
| 4482 } | 4524 } |
| 4483 EOF | 4525 EOF |
| 4484 if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4526 if { (eval echo configure:4527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4485 then | 4527 then |
| 4486 ac_cv_sizeof_long=`cat conftestval` | 4528 ac_cv_sizeof_long=`cat conftestval` |
| 4487 else | 4529 else |
| 4488 conftest_rc="$?" | 4530 conftest_rc="$?" |
| 4489 echo "configure: failed program was:" >&5 | 4531 echo "configure: failed program was:" >&5 |
| 4501 EOF | 4543 EOF |
| 4502 } | 4544 } |
| 4503 | 4545 |
| 4504 | 4546 |
| 4505 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4547 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4506 echo "configure:4507: checking size of long long" >&5 | 4548 echo "configure:4549: checking size of long long" >&5 |
| 4507 | 4549 |
| 4508 cat > conftest.$ac_ext <<EOF | 4550 cat > conftest.$ac_ext <<EOF |
| 4509 #line 4510 "configure" | 4551 #line 4552 "configure" |
| 4510 #include "confdefs.h" | 4552 #include "confdefs.h" |
| 4511 #include <stdio.h> | 4553 #include <stdio.h> |
| 4512 main() | 4554 main() |
| 4513 { | 4555 { |
| 4514 FILE *f=fopen("conftestval", "w"); | 4556 FILE *f=fopen("conftestval", "w"); |
| 4515 if (!f) exit(1); | 4557 if (!f) exit(1); |
| 4516 fprintf(f, "%d\n", sizeof(long long)); | 4558 fprintf(f, "%d\n", sizeof(long long)); |
| 4517 exit(0); | 4559 exit(0); |
| 4518 } | 4560 } |
| 4519 EOF | 4561 EOF |
| 4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4521 then | 4563 then |
| 4522 ac_cv_sizeof_long_long=`cat conftestval` | 4564 ac_cv_sizeof_long_long=`cat conftestval` |
| 4523 else | 4565 else |
| 4524 conftest_rc="$?" | 4566 conftest_rc="$?" |
| 4525 echo "configure: failed program was:" >&5 | 4567 echo "configure: failed program was:" >&5 |
| 4537 EOF | 4579 EOF |
| 4538 } | 4580 } |
| 4539 | 4581 |
| 4540 | 4582 |
| 4541 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4583 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4542 echo "configure:4543: checking size of void *" >&5 | 4584 echo "configure:4585: checking size of void *" >&5 |
| 4543 | 4585 |
| 4544 cat > conftest.$ac_ext <<EOF | 4586 cat > conftest.$ac_ext <<EOF |
| 4545 #line 4546 "configure" | 4587 #line 4588 "configure" |
| 4546 #include "confdefs.h" | 4588 #include "confdefs.h" |
| 4547 #include <stdio.h> | 4589 #include <stdio.h> |
| 4548 main() | 4590 main() |
| 4549 { | 4591 { |
| 4550 FILE *f=fopen("conftestval", "w"); | 4592 FILE *f=fopen("conftestval", "w"); |
| 4551 if (!f) exit(1); | 4593 if (!f) exit(1); |
| 4552 fprintf(f, "%d\n", sizeof(void *)); | 4594 fprintf(f, "%d\n", sizeof(void *)); |
| 4553 exit(0); | 4595 exit(0); |
| 4554 } | 4596 } |
| 4555 EOF | 4597 EOF |
| 4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4557 then | 4599 then |
| 4558 ac_cv_sizeof_void_p=`cat conftestval` | 4600 ac_cv_sizeof_void_p=`cat conftestval` |
| 4559 else | 4601 else |
| 4560 conftest_rc="$?" | 4602 conftest_rc="$?" |
| 4561 echo "configure: failed program was:" >&5 | 4603 echo "configure: failed program was:" >&5 |
| 4574 } | 4616 } |
| 4575 | 4617 |
| 4576 | 4618 |
| 4577 | 4619 |
| 4578 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4620 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4579 echo "configure:4580: checking for long file names" >&5 | 4621 echo "configure:4622: checking for long file names" >&5 |
| 4580 | 4622 |
| 4581 ac_cv_sys_long_file_names=yes | 4623 ac_cv_sys_long_file_names=yes |
| 4582 # Test for long file names in all the places we know might matter: | 4624 # Test for long file names in all the places we know might matter: |
| 4583 # . the current directory, where building will happen | 4625 # . the current directory, where building will happen |
| 4584 # $prefix/lib where we will be installing things | 4626 # $prefix/lib where we will be installing things |
| 4620 | 4662 |
| 4621 fi | 4663 fi |
| 4622 | 4664 |
| 4623 | 4665 |
| 4624 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4666 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
| 4625 echo "configure:4626: checking for sin" >&5 | 4667 echo "configure:4668: checking for sin" >&5 |
| 4626 | 4668 |
| 4627 cat > conftest.$ac_ext <<EOF | 4669 cat > conftest.$ac_ext <<EOF |
| 4628 #line 4629 "configure" | 4670 #line 4671 "configure" |
| 4629 #include "confdefs.h" | 4671 #include "confdefs.h" |
| 4630 /* System header to define __stub macros and hopefully few prototypes, | 4672 /* System header to define __stub macros and hopefully few prototypes, |
| 4631 which can conflict with char sin(); below. */ | 4673 which can conflict with char sin(); below. */ |
| 4632 #include <assert.h> | 4674 #include <assert.h> |
| 4633 /* Override any gcc2 internal prototype to avoid an error. */ | 4675 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4646 sin(); | 4688 sin(); |
| 4647 #endif | 4689 #endif |
| 4648 | 4690 |
| 4649 ; return 0; } | 4691 ; return 0; } |
| 4650 EOF | 4692 EOF |
| 4651 if { (eval echo configure:4652: \"$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 |
| 4652 rm -rf conftest* | 4694 rm -rf conftest* |
| 4653 eval "ac_cv_func_sin=yes" | 4695 eval "ac_cv_func_sin=yes" |
| 4654 else | 4696 else |
| 4655 echo "configure: failed program was:" >&5 | 4697 echo "configure: failed program was:" >&5 |
| 4656 cat conftest.$ac_ext >&5 | 4698 cat conftest.$ac_ext >&5 |
| 4664 : | 4706 : |
| 4665 else | 4707 else |
| 4666 echo "$ac_t""no" 1>&6 | 4708 echo "$ac_t""no" 1>&6 |
| 4667 | 4709 |
| 4668 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4710 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4669 echo "configure:4670: checking for sin in -lm" >&5 | 4711 echo "configure:4712: checking for sin in -lm" >&5 |
| 4670 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4712 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4671 | 4713 |
| 4672 xe_check_libs=" -lm " | 4714 xe_check_libs=" -lm " |
| 4673 cat > conftest.$ac_ext <<EOF | 4715 cat > conftest.$ac_ext <<EOF |
| 4674 #line 4675 "configure" | 4716 #line 4717 "configure" |
| 4675 #include "confdefs.h" | 4717 #include "confdefs.h" |
| 4676 /* Override any gcc2 internal prototype to avoid an error. */ | 4718 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4677 /* We use char because int might match the return type of a gcc2 | 4719 /* We use char because int might match the return type of a gcc2 |
| 4678 builtin and then its argument prototype would still apply. */ | 4720 builtin and then its argument prototype would still apply. */ |
| 4679 char sin(); | 4721 char sin(); |
| 4680 | 4722 |
| 4681 int main() { | 4723 int main() { |
| 4682 sin() | 4724 sin() |
| 4683 ; return 0; } | 4725 ; return 0; } |
| 4684 EOF | 4726 EOF |
| 4685 if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4686 rm -rf conftest* | 4728 rm -rf conftest* |
| 4687 eval "ac_cv_lib_$ac_lib_var=yes" | 4729 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4688 else | 4730 else |
| 4689 echo "configure: failed program was:" >&5 | 4731 echo "configure: failed program was:" >&5 |
| 4690 cat conftest.$ac_ext >&5 | 4732 cat conftest.$ac_ext >&5 |
| 4724 EOF | 4766 EOF |
| 4725 } | 4767 } |
| 4726 | 4768 |
| 4727 | 4769 |
| 4728 cat > conftest.$ac_ext <<EOF | 4770 cat > conftest.$ac_ext <<EOF |
| 4729 #line 4730 "configure" | 4771 #line 4772 "configure" |
| 4730 #include "confdefs.h" | 4772 #include "confdefs.h" |
| 4731 #include <math.h> | 4773 #include <math.h> |
| 4732 int main() { | 4774 int main() { |
| 4733 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4775 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4734 ; return 0; } | 4776 ; return 0; } |
| 4735 EOF | 4777 EOF |
| 4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4778 if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4737 rm -rf conftest* | 4779 rm -rf conftest* |
| 4738 { test "$extra_verbose" = "yes" && cat << \EOF | 4780 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4739 Defining HAVE_INVERSE_HYPERBOLIC | 4781 Defining HAVE_INVERSE_HYPERBOLIC |
| 4740 EOF | 4782 EOF |
| 4741 cat >> confdefs.h <<\EOF | 4783 cat >> confdefs.h <<\EOF |
| 4748 cat conftest.$ac_ext >&5 | 4790 cat conftest.$ac_ext >&5 |
| 4749 fi | 4791 fi |
| 4750 rm -f conftest* | 4792 rm -f conftest* |
| 4751 | 4793 |
| 4752 echo "checking type of mail spool file locking" 1>&6 | 4794 echo "checking type of mail spool file locking" 1>&6 |
| 4753 echo "configure:4754: checking type of mail spool file locking" >&5 | 4795 echo "configure:4796: checking type of mail spool file locking" >&5 |
| 4754 for ac_func in lockf flock | 4796 for ac_func in lockf flock |
| 4755 do | 4797 do |
| 4756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4757 echo "configure:4758: checking for $ac_func" >&5 | 4799 echo "configure:4800: checking for $ac_func" >&5 |
| 4758 | 4800 |
| 4759 cat > conftest.$ac_ext <<EOF | 4801 cat > conftest.$ac_ext <<EOF |
| 4760 #line 4761 "configure" | 4802 #line 4803 "configure" |
| 4761 #include "confdefs.h" | 4803 #include "confdefs.h" |
| 4762 /* System header to define __stub macros and hopefully few prototypes, | 4804 /* System header to define __stub macros and hopefully few prototypes, |
| 4763 which can conflict with char $ac_func(); below. */ | 4805 which can conflict with char $ac_func(); below. */ |
| 4764 #include <assert.h> | 4806 #include <assert.h> |
| 4765 /* Override any gcc2 internal prototype to avoid an error. */ | 4807 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4778 $ac_func(); | 4820 $ac_func(); |
| 4779 #endif | 4821 #endif |
| 4780 | 4822 |
| 4781 ; return 0; } | 4823 ; return 0; } |
| 4782 EOF | 4824 EOF |
| 4783 if { (eval echo configure:4784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4825 if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4784 rm -rf conftest* | 4826 rm -rf conftest* |
| 4785 eval "ac_cv_func_$ac_func=yes" | 4827 eval "ac_cv_func_$ac_func=yes" |
| 4786 else | 4828 else |
| 4787 echo "configure: failed program was:" >&5 | 4829 echo "configure: failed program was:" >&5 |
| 4788 cat conftest.$ac_ext >&5 | 4830 cat conftest.$ac_ext >&5 |
| 4860 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4902 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
| 4861 | 4903 |
| 4862 case "$opsys" in decosf*) | 4904 case "$opsys" in decosf*) |
| 4863 | 4905 |
| 4864 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4906 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 4865 echo "configure:4866: checking for cma_open in -lpthreads" >&5 | 4907 echo "configure:4908: checking for cma_open in -lpthreads" >&5 |
| 4866 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4908 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 4867 | 4909 |
| 4868 xe_check_libs=" -lpthreads " | 4910 xe_check_libs=" -lpthreads " |
| 4869 cat > conftest.$ac_ext <<EOF | 4911 cat > conftest.$ac_ext <<EOF |
| 4870 #line 4871 "configure" | 4912 #line 4913 "configure" |
| 4871 #include "confdefs.h" | 4913 #include "confdefs.h" |
| 4872 /* Override any gcc2 internal prototype to avoid an error. */ | 4914 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4873 /* We use char because int might match the return type of a gcc2 | 4915 /* We use char because int might match the return type of a gcc2 |
| 4874 builtin and then its argument prototype would still apply. */ | 4916 builtin and then its argument prototype would still apply. */ |
| 4875 char cma_open(); | 4917 char cma_open(); |
| 4876 | 4918 |
| 4877 int main() { | 4919 int main() { |
| 4878 cma_open() | 4920 cma_open() |
| 4879 ; return 0; } | 4921 ; return 0; } |
| 4880 EOF | 4922 EOF |
| 4881 if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4923 if { (eval echo configure:4924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4882 rm -rf conftest* | 4924 rm -rf conftest* |
| 4883 eval "ac_cv_lib_$ac_lib_var=yes" | 4925 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4884 else | 4926 else |
| 4885 echo "configure: failed program was:" >&5 | 4927 echo "configure: failed program was:" >&5 |
| 4886 cat conftest.$ac_ext >&5 | 4928 cat conftest.$ac_ext >&5 |
| 4912 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4954 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
| 4913 c_switch_site="$c_switch_site -threads" ;; | 4955 c_switch_site="$c_switch_site -threads" ;; |
| 4914 esac | 4956 esac |
| 4915 | 4957 |
| 4916 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4958 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 4917 echo "configure:4918: checking whether the -xildoff compiler flag is required" >&5 | 4959 echo "configure:4960: checking whether the -xildoff compiler flag is required" >&5 |
| 4918 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4960 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 4919 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4961 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 4920 then echo "$ac_t""no" 1>&6; | 4962 then echo "$ac_t""no" 1>&6; |
| 4921 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 | 4963 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 |
| 4922 fi | 4964 fi |
| 4924 fi | 4966 fi |
| 4925 | 4967 |
| 4926 if test "$opsys" = "sol2"; then | 4968 if test "$opsys" = "sol2"; then |
| 4927 if test "$os_release" -ge 56; then | 4969 if test "$os_release" -ge 56; then |
| 4928 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4970 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 4929 echo "configure:4930: checking for \"-z ignore\" linker flag" >&5 | 4971 echo "configure:4972: checking for \"-z ignore\" linker flag" >&5 |
| 4930 case "`ld -h 2>&1`" in | 4972 case "`ld -h 2>&1`" in |
| 4931 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4973 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 4932 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4974 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 4933 *) echo "$ac_t""no" 1>&6 ;; | 4975 *) echo "$ac_t""no" 1>&6 ;; |
| 4934 esac | 4976 esac |
| 4935 fi | 4977 fi |
| 4936 fi | 4978 fi |
| 4937 | 4979 |
| 4938 | 4980 |
| 4939 echo "checking "for specified window system"" 1>&6 | 4981 echo "checking "for specified window system"" 1>&6 |
| 4940 echo "configure:4941: checking "for specified window system"" >&5 | 4982 echo "configure:4983: checking "for specified window system"" >&5 |
| 4941 | 4983 |
| 4942 if test "$with_x11" != "no"; then | 4984 if test "$with_x11" != "no"; then |
| 4943 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4985 test "$x_includes $x_libraries" != "NONE NONE" && \ |
| 4944 window_system=x11 with_x11=yes | 4986 window_system=x11 with_x11=yes |
| 4945 | 4987 |
| 4968 # If we find X, set shell vars x_includes and x_libraries to the | 5010 # If we find X, set shell vars x_includes and x_libraries to the |
| 4969 # paths, otherwise set no_x=yes. | 5011 # paths, otherwise set no_x=yes. |
| 4970 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5012 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 4971 # --without-x overrides everything else, but does not touch the cache. | 5013 # --without-x overrides everything else, but does not touch the cache. |
| 4972 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5014 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 4973 echo "configure:4974: checking for X" >&5 | 5015 echo "configure:5016: checking for X" >&5 |
| 4974 | 5016 |
| 4975 # Check whether --with-x or --without-x was given. | 5017 # Check whether --with-x or --without-x was given. |
| 4976 if test "${with_x+set}" = set; then | 5018 if test "${with_x+set}" = set; then |
| 4977 withval="$with_x" | 5019 withval="$with_x" |
| 4978 : | 5020 : |
| 5028 # Guess where to find include files, by looking for this one X11 .h file. | 5070 # Guess where to find include files, by looking for this one X11 .h file. |
| 5029 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5071 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 5030 | 5072 |
| 5031 # First, try using that file with no special directory specified. | 5073 # First, try using that file with no special directory specified. |
| 5032 cat > conftest.$ac_ext <<EOF | 5074 cat > conftest.$ac_ext <<EOF |
| 5033 #line 5034 "configure" | 5075 #line 5076 "configure" |
| 5034 #include "confdefs.h" | 5076 #include "confdefs.h" |
| 5035 #include <$x_direct_test_include> | 5077 #include <$x_direct_test_include> |
| 5036 EOF | 5078 EOF |
| 5037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5038 { (eval echo configure:5039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5080 { (eval echo configure:5081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5040 if test -z "$ac_err"; then | 5082 if test -z "$ac_err"; then |
| 5041 rm -rf conftest* | 5083 rm -rf conftest* |
| 5042 # We can compile using X headers with no special include directory. | 5084 # We can compile using X headers with no special include directory. |
| 5043 ac_x_includes= | 5085 ac_x_includes= |
| 5102 # See if we find them without any special options. | 5144 # See if we find them without any special options. |
| 5103 # Don't add to $LIBS permanently. | 5145 # Don't add to $LIBS permanently. |
| 5104 ac_save_LIBS="$LIBS" | 5146 ac_save_LIBS="$LIBS" |
| 5105 LIBS="-l$x_direct_test_library $LIBS" | 5147 LIBS="-l$x_direct_test_library $LIBS" |
| 5106 cat > conftest.$ac_ext <<EOF | 5148 cat > conftest.$ac_ext <<EOF |
| 5107 #line 5108 "configure" | 5149 #line 5150 "configure" |
| 5108 #include "confdefs.h" | 5150 #include "confdefs.h" |
| 5109 | 5151 |
| 5110 int main() { | 5152 int main() { |
| 5111 ${x_direct_test_function}() | 5153 ${x_direct_test_function}() |
| 5112 ; return 0; } | 5154 ; return 0; } |
| 5113 EOF | 5155 EOF |
| 5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5156 if { (eval echo configure:5157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5115 rm -rf conftest* | 5157 rm -rf conftest* |
| 5116 LIBS="$ac_save_LIBS" | 5158 LIBS="$ac_save_LIBS" |
| 5117 # We can link X programs with no special library path. | 5159 # We can link X programs with no special library path. |
| 5118 ac_x_libraries= | 5160 ac_x_libraries= |
| 5119 else | 5161 else |
| 5218 # For Solaris; some versions of Sun CC require a space after -R and | 5260 # For Solaris; some versions of Sun CC require a space after -R and |
| 5219 # others require no space. Words are not sufficient . . . . | 5261 # others require no space. Words are not sufficient . . . . |
| 5220 case "`(uname -sr) 2>/dev/null`" in | 5262 case "`(uname -sr) 2>/dev/null`" in |
| 5221 "SunOS 5"*) | 5263 "SunOS 5"*) |
| 5222 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5264 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 5223 echo "configure:5224: checking whether -R must be followed by a space" >&5 | 5265 echo "configure:5266: checking whether -R must be followed by a space" >&5 |
| 5224 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5266 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 5225 cat > conftest.$ac_ext <<EOF | 5267 cat > conftest.$ac_ext <<EOF |
| 5226 #line 5227 "configure" | 5268 #line 5269 "configure" |
| 5227 #include "confdefs.h" | 5269 #include "confdefs.h" |
| 5228 | 5270 |
| 5229 int main() { | 5271 int main() { |
| 5230 | 5272 |
| 5231 ; return 0; } | 5273 ; return 0; } |
| 5232 EOF | 5274 EOF |
| 5233 if { (eval echo configure:5234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5234 rm -rf conftest* | 5276 rm -rf conftest* |
| 5235 ac_R_nospace=yes | 5277 ac_R_nospace=yes |
| 5236 else | 5278 else |
| 5237 echo "configure: failed program was:" >&5 | 5279 echo "configure: failed program was:" >&5 |
| 5238 cat conftest.$ac_ext >&5 | 5280 cat conftest.$ac_ext >&5 |
| 5244 echo "$ac_t""no" 1>&6 | 5286 echo "$ac_t""no" 1>&6 |
| 5245 X_LIBS="$X_LIBS -R$x_libraries" | 5287 X_LIBS="$X_LIBS -R$x_libraries" |
| 5246 else | 5288 else |
| 5247 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5289 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 5248 cat > conftest.$ac_ext <<EOF | 5290 cat > conftest.$ac_ext <<EOF |
| 5249 #line 5250 "configure" | 5291 #line 5292 "configure" |
| 5250 #include "confdefs.h" | 5292 #include "confdefs.h" |
| 5251 | 5293 |
| 5252 int main() { | 5294 int main() { |
| 5253 | 5295 |
| 5254 ; return 0; } | 5296 ; return 0; } |
| 5255 EOF | 5297 EOF |
| 5256 if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5298 if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5257 rm -rf conftest* | 5299 rm -rf conftest* |
| 5258 ac_R_space=yes | 5300 ac_R_space=yes |
| 5259 else | 5301 else |
| 5260 echo "configure: failed program was:" >&5 | 5302 echo "configure: failed program was:" >&5 |
| 5261 cat conftest.$ac_ext >&5 | 5303 cat conftest.$ac_ext >&5 |
| 5287 if test "$with_dnet" = "no" ; then | 5329 if test "$with_dnet" = "no" ; then |
| 5288 ac_cv_lib_dnet_dnet_ntoa=no | 5330 ac_cv_lib_dnet_dnet_ntoa=no |
| 5289 else | 5331 else |
| 5290 | 5332 |
| 5291 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5333 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 5292 echo "configure:5293: checking for dnet_ntoa in -ldnet" >&5 | 5334 echo "configure:5335: checking for dnet_ntoa in -ldnet" >&5 |
| 5293 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5335 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5294 | 5336 |
| 5295 xe_check_libs=" -ldnet " | 5337 xe_check_libs=" -ldnet " |
| 5296 cat > conftest.$ac_ext <<EOF | 5338 cat > conftest.$ac_ext <<EOF |
| 5297 #line 5298 "configure" | 5339 #line 5340 "configure" |
| 5298 #include "confdefs.h" | 5340 #include "confdefs.h" |
| 5299 /* Override any gcc2 internal prototype to avoid an error. */ | 5341 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5300 /* 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 |
| 5301 builtin and then its argument prototype would still apply. */ | 5343 builtin and then its argument prototype would still apply. */ |
| 5302 char dnet_ntoa(); | 5344 char dnet_ntoa(); |
| 5303 | 5345 |
| 5304 int main() { | 5346 int main() { |
| 5305 dnet_ntoa() | 5347 dnet_ntoa() |
| 5306 ; return 0; } | 5348 ; return 0; } |
| 5307 EOF | 5349 EOF |
| 5308 if { (eval echo configure:5309: \"$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 |
| 5309 rm -rf conftest* | 5351 rm -rf conftest* |
| 5310 eval "ac_cv_lib_$ac_lib_var=yes" | 5352 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5311 else | 5353 else |
| 5312 echo "configure: failed program was:" >&5 | 5354 echo "configure: failed program was:" >&5 |
| 5313 cat conftest.$ac_ext >&5 | 5355 cat conftest.$ac_ext >&5 |
| 5327 fi | 5369 fi |
| 5328 | 5370 |
| 5329 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5371 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 5330 | 5372 |
| 5331 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5373 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 5332 echo "configure:5333: checking for dnet_ntoa in -ldnet_stub" >&5 | 5374 echo "configure:5375: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 5333 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5375 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5334 | 5376 |
| 5335 xe_check_libs=" -ldnet_stub " | 5377 xe_check_libs=" -ldnet_stub " |
| 5336 cat > conftest.$ac_ext <<EOF | 5378 cat > conftest.$ac_ext <<EOF |
| 5337 #line 5338 "configure" | 5379 #line 5380 "configure" |
| 5338 #include "confdefs.h" | 5380 #include "confdefs.h" |
| 5339 /* Override any gcc2 internal prototype to avoid an error. */ | 5381 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5340 /* We use char because int might match the return type of a gcc2 | 5382 /* We use char because int might match the return type of a gcc2 |
| 5341 builtin and then its argument prototype would still apply. */ | 5383 builtin and then its argument prototype would still apply. */ |
| 5342 char dnet_ntoa(); | 5384 char dnet_ntoa(); |
| 5343 | 5385 |
| 5344 int main() { | 5386 int main() { |
| 5345 dnet_ntoa() | 5387 dnet_ntoa() |
| 5346 ; return 0; } | 5388 ; return 0; } |
| 5347 EOF | 5389 EOF |
| 5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5390 if { (eval echo configure:5391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5349 rm -rf conftest* | 5391 rm -rf conftest* |
| 5350 eval "ac_cv_lib_$ac_lib_var=yes" | 5392 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5351 else | 5393 else |
| 5352 echo "configure: failed program was:" >&5 | 5394 echo "configure: failed program was:" >&5 |
| 5353 cat conftest.$ac_ext >&5 | 5395 cat conftest.$ac_ext >&5 |
| 5372 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5414 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 5373 # needs -lnsl. | 5415 # needs -lnsl. |
| 5374 # The nsl library prevents programs from opening the X display | 5416 # The nsl library prevents programs from opening the X display |
| 5375 # on Irix 5.2, according to dickey@clark.net. | 5417 # on Irix 5.2, according to dickey@clark.net. |
| 5376 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5418 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 5377 echo "configure:5378: checking for gethostbyname" >&5 | 5419 echo "configure:5420: checking for gethostbyname" >&5 |
| 5378 | 5420 |
| 5379 cat > conftest.$ac_ext <<EOF | 5421 cat > conftest.$ac_ext <<EOF |
| 5380 #line 5381 "configure" | 5422 #line 5423 "configure" |
| 5381 #include "confdefs.h" | 5423 #include "confdefs.h" |
| 5382 /* System header to define __stub macros and hopefully few prototypes, | 5424 /* System header to define __stub macros and hopefully few prototypes, |
| 5383 which can conflict with char gethostbyname(); below. */ | 5425 which can conflict with char gethostbyname(); below. */ |
| 5384 #include <assert.h> | 5426 #include <assert.h> |
| 5385 /* Override any gcc2 internal prototype to avoid an error. */ | 5427 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5398 gethostbyname(); | 5440 gethostbyname(); |
| 5399 #endif | 5441 #endif |
| 5400 | 5442 |
| 5401 ; return 0; } | 5443 ; return 0; } |
| 5402 EOF | 5444 EOF |
| 5403 if { (eval echo configure:5404: \"$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 |
| 5404 rm -rf conftest* | 5446 rm -rf conftest* |
| 5405 eval "ac_cv_func_gethostbyname=yes" | 5447 eval "ac_cv_func_gethostbyname=yes" |
| 5406 else | 5448 else |
| 5407 echo "configure: failed program was:" >&5 | 5449 echo "configure: failed program was:" >&5 |
| 5408 cat conftest.$ac_ext >&5 | 5450 cat conftest.$ac_ext >&5 |
| 5419 fi | 5461 fi |
| 5420 | 5462 |
| 5421 if test $ac_cv_func_gethostbyname = no; then | 5463 if test $ac_cv_func_gethostbyname = no; then |
| 5422 | 5464 |
| 5423 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5465 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 5424 echo "configure:5425: checking for gethostbyname in -lnsl" >&5 | 5466 echo "configure:5467: checking for gethostbyname in -lnsl" >&5 |
| 5425 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5467 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 5426 | 5468 |
| 5427 xe_check_libs=" -lnsl " | 5469 xe_check_libs=" -lnsl " |
| 5428 cat > conftest.$ac_ext <<EOF | 5470 cat > conftest.$ac_ext <<EOF |
| 5429 #line 5430 "configure" | 5471 #line 5472 "configure" |
| 5430 #include "confdefs.h" | 5472 #include "confdefs.h" |
| 5431 /* Override any gcc2 internal prototype to avoid an error. */ | 5473 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5432 /* We use char because int might match the return type of a gcc2 | 5474 /* We use char because int might match the return type of a gcc2 |
| 5433 builtin and then its argument prototype would still apply. */ | 5475 builtin and then its argument prototype would still apply. */ |
| 5434 char gethostbyname(); | 5476 char gethostbyname(); |
| 5435 | 5477 |
| 5436 int main() { | 5478 int main() { |
| 5437 gethostbyname() | 5479 gethostbyname() |
| 5438 ; return 0; } | 5480 ; return 0; } |
| 5439 EOF | 5481 EOF |
| 5440 if { (eval echo configure:5441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5441 rm -rf conftest* | 5483 rm -rf conftest* |
| 5442 eval "ac_cv_lib_$ac_lib_var=yes" | 5484 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5443 else | 5485 else |
| 5444 echo "configure: failed program was:" >&5 | 5486 echo "configure: failed program was:" >&5 |
| 5445 cat conftest.$ac_ext >&5 | 5487 cat conftest.$ac_ext >&5 |
| 5465 # on later versions), says simon@lia.di.epfl.ch: it contains | 5507 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 5466 # gethostby* variants that don't use the nameserver (or something). | 5508 # gethostby* variants that don't use the nameserver (or something). |
| 5467 # -lsocket must be given before -lnsl if both are needed. | 5509 # -lsocket must be given before -lnsl if both are needed. |
| 5468 # We assume that if connect needs -lnsl, so does gethostbyname. | 5510 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 5469 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5511 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 5470 echo "configure:5471: checking for connect" >&5 | 5512 echo "configure:5513: checking for connect" >&5 |
| 5471 | 5513 |
| 5472 cat > conftest.$ac_ext <<EOF | 5514 cat > conftest.$ac_ext <<EOF |
| 5473 #line 5474 "configure" | 5515 #line 5516 "configure" |
| 5474 #include "confdefs.h" | 5516 #include "confdefs.h" |
| 5475 /* System header to define __stub macros and hopefully few prototypes, | 5517 /* System header to define __stub macros and hopefully few prototypes, |
| 5476 which can conflict with char connect(); below. */ | 5518 which can conflict with char connect(); below. */ |
| 5477 #include <assert.h> | 5519 #include <assert.h> |
| 5478 /* Override any gcc2 internal prototype to avoid an error. */ | 5520 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5491 connect(); | 5533 connect(); |
| 5492 #endif | 5534 #endif |
| 5493 | 5535 |
| 5494 ; return 0; } | 5536 ; return 0; } |
| 5495 EOF | 5537 EOF |
| 5496 if { (eval echo configure:5497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5538 if { (eval echo configure:5539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5497 rm -rf conftest* | 5539 rm -rf conftest* |
| 5498 eval "ac_cv_func_connect=yes" | 5540 eval "ac_cv_func_connect=yes" |
| 5499 else | 5541 else |
| 5500 echo "configure: failed program was:" >&5 | 5542 echo "configure: failed program was:" >&5 |
| 5501 cat conftest.$ac_ext >&5 | 5543 cat conftest.$ac_ext >&5 |
| 5514 if test $ac_cv_func_connect = no; then | 5556 if test $ac_cv_func_connect = no; then |
| 5515 | 5557 |
| 5516 xe_msg_checking="for connect in -lsocket" | 5558 xe_msg_checking="for connect in -lsocket" |
| 5517 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5559 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5518 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5560 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5519 echo "configure:5520: checking "$xe_msg_checking"" >&5 | 5561 echo "configure:5562: checking "$xe_msg_checking"" >&5 |
| 5520 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5562 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 5521 | 5563 |
| 5522 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5564 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 5523 cat > conftest.$ac_ext <<EOF | 5565 cat > conftest.$ac_ext <<EOF |
| 5524 #line 5525 "configure" | 5566 #line 5567 "configure" |
| 5525 #include "confdefs.h" | 5567 #include "confdefs.h" |
| 5526 /* Override any gcc2 internal prototype to avoid an error. */ | 5568 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5527 /* We use char because int might match the return type of a gcc2 | 5569 /* We use char because int might match the return type of a gcc2 |
| 5528 builtin and then its argument prototype would still apply. */ | 5570 builtin and then its argument prototype would still apply. */ |
| 5529 char connect(); | 5571 char connect(); |
| 5530 | 5572 |
| 5531 int main() { | 5573 int main() { |
| 5532 connect() | 5574 connect() |
| 5533 ; return 0; } | 5575 ; return 0; } |
| 5534 EOF | 5576 EOF |
| 5535 if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5577 if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5536 rm -rf conftest* | 5578 rm -rf conftest* |
| 5537 eval "ac_cv_lib_$ac_lib_var=yes" | 5579 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5538 else | 5580 else |
| 5539 echo "configure: failed program was:" >&5 | 5581 echo "configure: failed program was:" >&5 |
| 5540 cat conftest.$ac_ext >&5 | 5582 cat conftest.$ac_ext >&5 |
| 5554 | 5596 |
| 5555 fi | 5597 fi |
| 5556 | 5598 |
| 5557 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5599 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 5558 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5600 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 5559 echo "configure:5560: checking for remove" >&5 | 5601 echo "configure:5602: checking for remove" >&5 |
| 5560 | 5602 |
| 5561 cat > conftest.$ac_ext <<EOF | 5603 cat > conftest.$ac_ext <<EOF |
| 5562 #line 5563 "configure" | 5604 #line 5605 "configure" |
| 5563 #include "confdefs.h" | 5605 #include "confdefs.h" |
| 5564 /* System header to define __stub macros and hopefully few prototypes, | 5606 /* System header to define __stub macros and hopefully few prototypes, |
| 5565 which can conflict with char remove(); below. */ | 5607 which can conflict with char remove(); below. */ |
| 5566 #include <assert.h> | 5608 #include <assert.h> |
| 5567 /* Override any gcc2 internal prototype to avoid an error. */ | 5609 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5580 remove(); | 5622 remove(); |
| 5581 #endif | 5623 #endif |
| 5582 | 5624 |
| 5583 ; return 0; } | 5625 ; return 0; } |
| 5584 EOF | 5626 EOF |
| 5585 if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5627 if { (eval echo configure:5628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5586 rm -rf conftest* | 5628 rm -rf conftest* |
| 5587 eval "ac_cv_func_remove=yes" | 5629 eval "ac_cv_func_remove=yes" |
| 5588 else | 5630 else |
| 5589 echo "configure: failed program was:" >&5 | 5631 echo "configure: failed program was:" >&5 |
| 5590 cat conftest.$ac_ext >&5 | 5632 cat conftest.$ac_ext >&5 |
| 5601 fi | 5643 fi |
| 5602 | 5644 |
| 5603 if test $ac_cv_func_remove = no; then | 5645 if test $ac_cv_func_remove = no; then |
| 5604 | 5646 |
| 5605 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5647 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 5606 echo "configure:5607: checking for remove in -lposix" >&5 | 5648 echo "configure:5649: checking for remove in -lposix" >&5 |
| 5607 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5649 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 5608 | 5650 |
| 5609 xe_check_libs=" -lposix " | 5651 xe_check_libs=" -lposix " |
| 5610 cat > conftest.$ac_ext <<EOF | 5652 cat > conftest.$ac_ext <<EOF |
| 5611 #line 5612 "configure" | 5653 #line 5654 "configure" |
| 5612 #include "confdefs.h" | 5654 #include "confdefs.h" |
| 5613 /* Override any gcc2 internal prototype to avoid an error. */ | 5655 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5614 /* We use char because int might match the return type of a gcc2 | 5656 /* We use char because int might match the return type of a gcc2 |
| 5615 builtin and then its argument prototype would still apply. */ | 5657 builtin and then its argument prototype would still apply. */ |
| 5616 char remove(); | 5658 char remove(); |
| 5617 | 5659 |
| 5618 int main() { | 5660 int main() { |
| 5619 remove() | 5661 remove() |
| 5620 ; return 0; } | 5662 ; return 0; } |
| 5621 EOF | 5663 EOF |
| 5622 if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5664 if { (eval echo configure:5665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5623 rm -rf conftest* | 5665 rm -rf conftest* |
| 5624 eval "ac_cv_lib_$ac_lib_var=yes" | 5666 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5625 else | 5667 else |
| 5626 echo "configure: failed program was:" >&5 | 5668 echo "configure: failed program was:" >&5 |
| 5627 cat conftest.$ac_ext >&5 | 5669 cat conftest.$ac_ext >&5 |
| 5641 | 5683 |
| 5642 fi | 5684 fi |
| 5643 | 5685 |
| 5644 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5686 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 5645 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5687 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 5646 echo "configure:5647: checking for shmat" >&5 | 5688 echo "configure:5689: checking for shmat" >&5 |
| 5647 | 5689 |
| 5648 cat > conftest.$ac_ext <<EOF | 5690 cat > conftest.$ac_ext <<EOF |
| 5649 #line 5650 "configure" | 5691 #line 5692 "configure" |
| 5650 #include "confdefs.h" | 5692 #include "confdefs.h" |
| 5651 /* System header to define __stub macros and hopefully few prototypes, | 5693 /* System header to define __stub macros and hopefully few prototypes, |
| 5652 which can conflict with char shmat(); below. */ | 5694 which can conflict with char shmat(); below. */ |
| 5653 #include <assert.h> | 5695 #include <assert.h> |
| 5654 /* Override any gcc2 internal prototype to avoid an error. */ | 5696 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5667 shmat(); | 5709 shmat(); |
| 5668 #endif | 5710 #endif |
| 5669 | 5711 |
| 5670 ; return 0; } | 5712 ; return 0; } |
| 5671 EOF | 5713 EOF |
| 5672 if { (eval echo configure:5673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5714 if { (eval echo configure:5715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5673 rm -rf conftest* | 5715 rm -rf conftest* |
| 5674 eval "ac_cv_func_shmat=yes" | 5716 eval "ac_cv_func_shmat=yes" |
| 5675 else | 5717 else |
| 5676 echo "configure: failed program was:" >&5 | 5718 echo "configure: failed program was:" >&5 |
| 5677 cat conftest.$ac_ext >&5 | 5719 cat conftest.$ac_ext >&5 |
| 5688 fi | 5730 fi |
| 5689 | 5731 |
| 5690 if test $ac_cv_func_shmat = no; then | 5732 if test $ac_cv_func_shmat = no; then |
| 5691 | 5733 |
| 5692 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5734 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 5693 echo "configure:5694: checking for shmat in -lipc" >&5 | 5735 echo "configure:5736: checking for shmat in -lipc" >&5 |
| 5694 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5736 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 5695 | 5737 |
| 5696 xe_check_libs=" -lipc " | 5738 xe_check_libs=" -lipc " |
| 5697 cat > conftest.$ac_ext <<EOF | 5739 cat > conftest.$ac_ext <<EOF |
| 5698 #line 5699 "configure" | 5740 #line 5741 "configure" |
| 5699 #include "confdefs.h" | 5741 #include "confdefs.h" |
| 5700 /* Override any gcc2 internal prototype to avoid an error. */ | 5742 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5701 /* We use char because int might match the return type of a gcc2 | 5743 /* We use char because int might match the return type of a gcc2 |
| 5702 builtin and then its argument prototype would still apply. */ | 5744 builtin and then its argument prototype would still apply. */ |
| 5703 char shmat(); | 5745 char shmat(); |
| 5704 | 5746 |
| 5705 int main() { | 5747 int main() { |
| 5706 shmat() | 5748 shmat() |
| 5707 ; return 0; } | 5749 ; return 0; } |
| 5708 EOF | 5750 EOF |
| 5709 if { (eval echo configure:5710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5751 if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5710 rm -rf conftest* | 5752 rm -rf conftest* |
| 5711 eval "ac_cv_lib_$ac_lib_var=yes" | 5753 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5712 else | 5754 else |
| 5713 echo "configure: failed program was:" >&5 | 5755 echo "configure: failed program was:" >&5 |
| 5714 cat conftest.$ac_ext >&5 | 5756 cat conftest.$ac_ext >&5 |
| 5740 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5782 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 5741 | 5783 |
| 5742 xe_msg_checking="for IceConnectionNumber in -lICE" | 5784 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 5743 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5785 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 5744 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5786 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 5745 echo "configure:5746: checking "$xe_msg_checking"" >&5 | 5787 echo "configure:5788: checking "$xe_msg_checking"" >&5 |
| 5746 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5788 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 5747 | 5789 |
| 5748 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5790 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 5749 cat > conftest.$ac_ext <<EOF | 5791 cat > conftest.$ac_ext <<EOF |
| 5750 #line 5751 "configure" | 5792 #line 5793 "configure" |
| 5751 #include "confdefs.h" | 5793 #include "confdefs.h" |
| 5752 /* Override any gcc2 internal prototype to avoid an error. */ | 5794 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5753 /* We use char because int might match the return type of a gcc2 | 5795 /* We use char because int might match the return type of a gcc2 |
| 5754 builtin and then its argument prototype would still apply. */ | 5796 builtin and then its argument prototype would still apply. */ |
| 5755 char IceConnectionNumber(); | 5797 char IceConnectionNumber(); |
| 5756 | 5798 |
| 5757 int main() { | 5799 int main() { |
| 5758 IceConnectionNumber() | 5800 IceConnectionNumber() |
| 5759 ; return 0; } | 5801 ; return 0; } |
| 5760 EOF | 5802 EOF |
| 5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5803 if { (eval echo configure:5804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5762 rm -rf conftest* | 5804 rm -rf conftest* |
| 5763 eval "ac_cv_lib_$ac_lib_var=yes" | 5805 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5764 else | 5806 else |
| 5765 echo "configure: failed program was:" >&5 | 5807 echo "configure: failed program was:" >&5 |
| 5766 cat conftest.$ac_ext >&5 | 5808 cat conftest.$ac_ext >&5 |
| 5927 EOF | 5969 EOF |
| 5928 } | 5970 } |
| 5929 | 5971 |
| 5930 | 5972 |
| 5931 echo "checking for X defines extracted by xmkmf" 1>&6 | 5973 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 5932 echo "configure:5933: checking for X defines extracted by xmkmf" >&5 | 5974 echo "configure:5975: checking for X defines extracted by xmkmf" >&5 |
| 5933 rm -fr conftestdir | 5975 rm -fr conftestdir |
| 5934 if mkdir conftestdir; then | 5976 if mkdir conftestdir; then |
| 5935 cd conftestdir | 5977 cd conftestdir |
| 5936 cat > Imakefile <<'EOF' | 5978 cat > Imakefile <<'EOF' |
| 5937 xetest: | 5979 xetest: |
| 5974 done | 6016 done |
| 5975 fi | 6017 fi |
| 5976 | 6018 |
| 5977 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6019 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 5978 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6020 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 5979 echo "configure:5980: checking for X11/Intrinsic.h" >&5 | 6021 echo "configure:6022: checking for X11/Intrinsic.h" >&5 |
| 5980 | 6022 |
| 5981 cat > conftest.$ac_ext <<EOF | 6023 cat > conftest.$ac_ext <<EOF |
| 5982 #line 5983 "configure" | 6024 #line 6025 "configure" |
| 5983 #include "confdefs.h" | 6025 #include "confdefs.h" |
| 5984 #include <X11/Intrinsic.h> | 6026 #include <X11/Intrinsic.h> |
| 5985 EOF | 6027 EOF |
| 5986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5987 { (eval echo configure:5988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6029 { (eval echo configure:6030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5989 if test -z "$ac_err"; then | 6031 if test -z "$ac_err"; then |
| 5990 rm -rf conftest* | 6032 rm -rf conftest* |
| 5991 eval "ac_cv_header_$ac_safe=yes" | 6033 eval "ac_cv_header_$ac_safe=yes" |
| 5992 else | 6034 else |
| 6006 fi | 6048 fi |
| 6007 | 6049 |
| 6008 | 6050 |
| 6009 | 6051 |
| 6010 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6052 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 6011 echo "configure:6012: checking for XOpenDisplay in -lX11" >&5 | 6053 echo "configure:6054: checking for XOpenDisplay in -lX11" >&5 |
| 6012 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6054 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 6013 | 6055 |
| 6014 xe_check_libs=" -lX11 " | 6056 xe_check_libs=" -lX11 " |
| 6015 cat > conftest.$ac_ext <<EOF | 6057 cat > conftest.$ac_ext <<EOF |
| 6016 #line 6017 "configure" | 6058 #line 6059 "configure" |
| 6017 #include "confdefs.h" | 6059 #include "confdefs.h" |
| 6018 /* Override any gcc2 internal prototype to avoid an error. */ | 6060 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6019 /* We use char because int might match the return type of a gcc2 | 6061 /* We use char because int might match the return type of a gcc2 |
| 6020 builtin and then its argument prototype would still apply. */ | 6062 builtin and then its argument prototype would still apply. */ |
| 6021 char XOpenDisplay(); | 6063 char XOpenDisplay(); |
| 6022 | 6064 |
| 6023 int main() { | 6065 int main() { |
| 6024 XOpenDisplay() | 6066 XOpenDisplay() |
| 6025 ; return 0; } | 6067 ; return 0; } |
| 6026 EOF | 6068 EOF |
| 6027 if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6069 if { (eval echo configure:6070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6028 rm -rf conftest* | 6070 rm -rf conftest* |
| 6029 eval "ac_cv_lib_$ac_lib_var=yes" | 6071 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6030 else | 6072 else |
| 6031 echo "configure: failed program was:" >&5 | 6073 echo "configure: failed program was:" >&5 |
| 6032 cat conftest.$ac_ext >&5 | 6074 cat conftest.$ac_ext >&5 |
| 6047 if test "$have_lib_x11" != "yes"; then | 6089 if test "$have_lib_x11" != "yes"; then |
| 6048 | 6090 |
| 6049 xe_msg_checking="for XGetFontProperty in -lX11" | 6091 xe_msg_checking="for XGetFontProperty in -lX11" |
| 6050 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6092 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 6051 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6093 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6052 echo "configure:6053: checking "$xe_msg_checking"" >&5 | 6094 echo "configure:6095: checking "$xe_msg_checking"" >&5 |
| 6053 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6095 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 6054 | 6096 |
| 6055 xe_check_libs=" -lX11 -b i486-linuxaout" | 6097 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 6056 cat > conftest.$ac_ext <<EOF | 6098 cat > conftest.$ac_ext <<EOF |
| 6057 #line 6058 "configure" | 6099 #line 6100 "configure" |
| 6058 #include "confdefs.h" | 6100 #include "confdefs.h" |
| 6059 /* Override any gcc2 internal prototype to avoid an error. */ | 6101 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6060 /* We use char because int might match the return type of a gcc2 | 6102 /* We use char because int might match the return type of a gcc2 |
| 6061 builtin and then its argument prototype would still apply. */ | 6103 builtin and then its argument prototype would still apply. */ |
| 6062 char XGetFontProperty(); | 6104 char XGetFontProperty(); |
| 6063 | 6105 |
| 6064 int main() { | 6106 int main() { |
| 6065 XGetFontProperty() | 6107 XGetFontProperty() |
| 6066 ; return 0; } | 6108 ; return 0; } |
| 6067 EOF | 6109 EOF |
| 6068 if { (eval echo configure:6069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6069 rm -rf conftest* | 6111 rm -rf conftest* |
| 6070 eval "ac_cv_lib_$ac_lib_var=yes" | 6112 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6071 else | 6113 else |
| 6072 echo "configure: failed program was:" >&5 | 6114 echo "configure: failed program was:" >&5 |
| 6073 cat conftest.$ac_ext >&5 | 6115 cat conftest.$ac_ext >&5 |
| 6090 libs_x="-lX11" | 6132 libs_x="-lX11" |
| 6091 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6133 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 6092 | 6134 |
| 6093 | 6135 |
| 6094 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6136 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 6095 echo "configure:6096: checking for XShapeSelectInput in -lXext" >&5 | 6137 echo "configure:6138: checking for XShapeSelectInput in -lXext" >&5 |
| 6096 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6138 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 6097 | 6139 |
| 6098 xe_check_libs=" -lXext " | 6140 xe_check_libs=" -lXext " |
| 6099 cat > conftest.$ac_ext <<EOF | 6141 cat > conftest.$ac_ext <<EOF |
| 6100 #line 6101 "configure" | 6142 #line 6143 "configure" |
| 6101 #include "confdefs.h" | 6143 #include "confdefs.h" |
| 6102 /* Override any gcc2 internal prototype to avoid an error. */ | 6144 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6103 /* We use char because int might match the return type of a gcc2 | 6145 /* We use char because int might match the return type of a gcc2 |
| 6104 builtin and then its argument prototype would still apply. */ | 6146 builtin and then its argument prototype would still apply. */ |
| 6105 char XShapeSelectInput(); | 6147 char XShapeSelectInput(); |
| 6106 | 6148 |
| 6107 int main() { | 6149 int main() { |
| 6108 XShapeSelectInput() | 6150 XShapeSelectInput() |
| 6109 ; return 0; } | 6151 ; return 0; } |
| 6110 EOF | 6152 EOF |
| 6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6153 if { (eval echo configure:6154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6112 rm -rf conftest* | 6154 rm -rf conftest* |
| 6113 eval "ac_cv_lib_$ac_lib_var=yes" | 6155 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6114 else | 6156 else |
| 6115 echo "configure: failed program was:" >&5 | 6157 echo "configure: failed program was:" >&5 |
| 6116 cat conftest.$ac_ext >&5 | 6158 cat conftest.$ac_ext >&5 |
| 6129 | 6171 |
| 6130 | 6172 |
| 6131 | 6173 |
| 6132 | 6174 |
| 6133 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6175 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 6134 echo "configure:6135: checking for XtOpenDisplay in -lXt" >&5 | 6176 echo "configure:6177: checking for XtOpenDisplay in -lXt" >&5 |
| 6135 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6177 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 6136 | 6178 |
| 6137 xe_check_libs=" -lXt " | 6179 xe_check_libs=" -lXt " |
| 6138 cat > conftest.$ac_ext <<EOF | 6180 cat > conftest.$ac_ext <<EOF |
| 6139 #line 6140 "configure" | 6181 #line 6182 "configure" |
| 6140 #include "confdefs.h" | 6182 #include "confdefs.h" |
| 6141 /* Override any gcc2 internal prototype to avoid an error. */ | 6183 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6142 /* We use char because int might match the return type of a gcc2 | 6184 /* We use char because int might match the return type of a gcc2 |
| 6143 builtin and then its argument prototype would still apply. */ | 6185 builtin and then its argument prototype would still apply. */ |
| 6144 char XtOpenDisplay(); | 6186 char XtOpenDisplay(); |
| 6145 | 6187 |
| 6146 int main() { | 6188 int main() { |
| 6147 XtOpenDisplay() | 6189 XtOpenDisplay() |
| 6148 ; return 0; } | 6190 ; return 0; } |
| 6149 EOF | 6191 EOF |
| 6150 if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6192 if { (eval echo configure:6193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6151 rm -rf conftest* | 6193 rm -rf conftest* |
| 6152 eval "ac_cv_lib_$ac_lib_var=yes" | 6194 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6153 else | 6195 else |
| 6154 echo "configure: failed program was:" >&5 | 6196 echo "configure: failed program was:" >&5 |
| 6155 cat conftest.$ac_ext >&5 | 6197 cat conftest.$ac_ext >&5 |
| 6168 fi | 6210 fi |
| 6169 | 6211 |
| 6170 | 6212 |
| 6171 | 6213 |
| 6172 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6214 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 6173 echo "configure:6174: checking the version of X11 being used" >&5 | 6215 echo "configure:6216: checking the version of X11 being used" >&5 |
| 6174 cat > conftest.$ac_ext <<EOF | 6216 cat > conftest.$ac_ext <<EOF |
| 6175 #line 6176 "configure" | 6217 #line 6218 "configure" |
| 6176 #include "confdefs.h" | 6218 #include "confdefs.h" |
| 6177 #include <X11/Intrinsic.h> | 6219 #include <X11/Intrinsic.h> |
| 6178 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6220 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 6179 EOF | 6221 EOF |
| 6180 if { (eval echo configure:6181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6222 if { (eval echo configure:6223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6181 then | 6223 then |
| 6182 ./conftest foobar; x11_release=$? | 6224 ./conftest foobar; x11_release=$? |
| 6183 else | 6225 else |
| 6184 conftest_rc="$?" | 6226 conftest_rc="$?" |
| 6185 echo "configure: failed program was:" >&5 | 6227 echo "configure: failed program was:" >&5 |
| 6206 fi | 6248 fi |
| 6207 | 6249 |
| 6208 for ac_func in XConvertCase | 6250 for ac_func in XConvertCase |
| 6209 do | 6251 do |
| 6210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6211 echo "configure:6212: checking for $ac_func" >&5 | 6253 echo "configure:6254: checking for $ac_func" >&5 |
| 6212 | 6254 |
| 6213 cat > conftest.$ac_ext <<EOF | 6255 cat > conftest.$ac_ext <<EOF |
| 6214 #line 6215 "configure" | 6256 #line 6257 "configure" |
| 6215 #include "confdefs.h" | 6257 #include "confdefs.h" |
| 6216 /* System header to define __stub macros and hopefully few prototypes, | 6258 /* System header to define __stub macros and hopefully few prototypes, |
| 6217 which can conflict with char $ac_func(); below. */ | 6259 which can conflict with char $ac_func(); below. */ |
| 6218 #include <assert.h> | 6260 #include <assert.h> |
| 6219 /* Override any gcc2 internal prototype to avoid an error. */ | 6261 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6232 $ac_func(); | 6274 $ac_func(); |
| 6233 #endif | 6275 #endif |
| 6234 | 6276 |
| 6235 ; return 0; } | 6277 ; return 0; } |
| 6236 EOF | 6278 EOF |
| 6237 if { (eval echo configure:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6279 if { (eval echo configure:6280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6238 rm -rf conftest* | 6280 rm -rf conftest* |
| 6239 eval "ac_cv_func_$ac_func=yes" | 6281 eval "ac_cv_func_$ac_func=yes" |
| 6240 else | 6282 else |
| 6241 echo "configure: failed program was:" >&5 | 6283 echo "configure: failed program was:" >&5 |
| 6242 cat conftest.$ac_ext >&5 | 6284 cat conftest.$ac_ext >&5 |
| 6264 | 6306 |
| 6265 for ac_hdr in X11/Xlocale.h | 6307 for ac_hdr in X11/Xlocale.h |
| 6266 do | 6308 do |
| 6267 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6309 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6268 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6310 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6269 echo "configure:6270: checking for $ac_hdr" >&5 | 6311 echo "configure:6312: checking for $ac_hdr" >&5 |
| 6270 | 6312 |
| 6271 cat > conftest.$ac_ext <<EOF | 6313 cat > conftest.$ac_ext <<EOF |
| 6272 #line 6273 "configure" | 6314 #line 6315 "configure" |
| 6273 #include "confdefs.h" | 6315 #include "confdefs.h" |
| 6274 #include <$ac_hdr> | 6316 #include <$ac_hdr> |
| 6275 EOF | 6317 EOF |
| 6276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6277 { (eval echo configure:6278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6319 { (eval echo configure:6320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6279 if test -z "$ac_err"; then | 6321 if test -z "$ac_err"; then |
| 6280 rm -rf conftest* | 6322 rm -rf conftest* |
| 6281 eval "ac_cv_header_$ac_safe=yes" | 6323 eval "ac_cv_header_$ac_safe=yes" |
| 6282 else | 6324 else |
| 6305 | 6347 |
| 6306 | 6348 |
| 6307 for ac_func in XRegisterIMInstantiateCallback | 6349 for ac_func in XRegisterIMInstantiateCallback |
| 6308 do | 6350 do |
| 6309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6310 echo "configure:6311: checking for $ac_func" >&5 | 6352 echo "configure:6353: checking for $ac_func" >&5 |
| 6311 | 6353 |
| 6312 cat > conftest.$ac_ext <<EOF | 6354 cat > conftest.$ac_ext <<EOF |
| 6313 #line 6314 "configure" | 6355 #line 6356 "configure" |
| 6314 #include "confdefs.h" | 6356 #include "confdefs.h" |
| 6315 /* System header to define __stub macros and hopefully few prototypes, | 6357 /* System header to define __stub macros and hopefully few prototypes, |
| 6316 which can conflict with char $ac_func(); below. */ | 6358 which can conflict with char $ac_func(); below. */ |
| 6317 #include <assert.h> | 6359 #include <assert.h> |
| 6318 /* Override any gcc2 internal prototype to avoid an error. */ | 6360 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6331 $ac_func(); | 6373 $ac_func(); |
| 6332 #endif | 6374 #endif |
| 6333 | 6375 |
| 6334 ; return 0; } | 6376 ; return 0; } |
| 6335 EOF | 6377 EOF |
| 6336 if { (eval echo configure:6337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6337 rm -rf conftest* | 6379 rm -rf conftest* |
| 6338 eval "ac_cv_func_$ac_func=yes" | 6380 eval "ac_cv_func_$ac_func=yes" |
| 6339 else | 6381 else |
| 6340 echo "configure: failed program was:" >&5 | 6382 echo "configure: failed program was:" >&5 |
| 6341 cat conftest.$ac_ext >&5 | 6383 cat conftest.$ac_ext >&5 |
| 6359 echo "$ac_t""no" 1>&6 | 6401 echo "$ac_t""no" 1>&6 |
| 6360 fi | 6402 fi |
| 6361 done | 6403 done |
| 6362 | 6404 |
| 6363 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6405 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
| 6364 echo "configure:6365: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6406 echo "configure:6407: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
| 6365 cat > conftest.$ac_ext <<EOF | 6407 cat > conftest.$ac_ext <<EOF |
| 6366 #line 6367 "configure" | 6408 #line 6409 "configure" |
| 6367 #include "confdefs.h" | 6409 #include "confdefs.h" |
| 6368 | 6410 |
| 6369 #define NeedFunctionPrototypes 1 | 6411 #define NeedFunctionPrototypes 1 |
| 6370 #include <X11/Xlib.h> | 6412 #include <X11/Xlib.h> |
| 6371 extern Bool XRegisterIMInstantiateCallback( | 6413 extern Bool XRegisterIMInstantiateCallback( |
| 6373 | 6415 |
| 6374 int main() { | 6416 int main() { |
| 6375 | 6417 |
| 6376 ; return 0; } | 6418 ; return 0; } |
| 6377 EOF | 6419 EOF |
| 6378 if { (eval echo configure:6379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6420 if { (eval echo configure:6421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 6379 rm -rf conftest* | 6421 rm -rf conftest* |
| 6380 echo "$ac_t""yes" 1>&6 | 6422 echo "$ac_t""yes" 1>&6 |
| 6381 else | 6423 else |
| 6382 echo "configure: failed program was:" >&5 | 6424 echo "configure: failed program was:" >&5 |
| 6383 cat conftest.$ac_ext >&5 | 6425 cat conftest.$ac_ext >&5 |
| 6394 fi | 6436 fi |
| 6395 rm -f conftest* | 6437 rm -f conftest* |
| 6396 | 6438 |
| 6397 test -z "$with_xmu" && { | 6439 test -z "$with_xmu" && { |
| 6398 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6440 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 6399 echo "configure:6400: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6441 echo "configure:6442: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 6400 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6442 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 6401 | 6443 |
| 6402 xe_check_libs=" -lXmu " | 6444 xe_check_libs=" -lXmu " |
| 6403 cat > conftest.$ac_ext <<EOF | 6445 cat > conftest.$ac_ext <<EOF |
| 6404 #line 6405 "configure" | 6446 #line 6447 "configure" |
| 6405 #include "confdefs.h" | 6447 #include "confdefs.h" |
| 6406 /* Override any gcc2 internal prototype to avoid an error. */ | 6448 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6407 /* We use char because int might match the return type of a gcc2 | 6449 /* We use char because int might match the return type of a gcc2 |
| 6408 builtin and then its argument prototype would still apply. */ | 6450 builtin and then its argument prototype would still apply. */ |
| 6409 char XmuReadBitmapDataFromFile(); | 6451 char XmuReadBitmapDataFromFile(); |
| 6410 | 6452 |
| 6411 int main() { | 6453 int main() { |
| 6412 XmuReadBitmapDataFromFile() | 6454 XmuReadBitmapDataFromFile() |
| 6413 ; return 0; } | 6455 ; return 0; } |
| 6414 EOF | 6456 EOF |
| 6415 if { (eval echo configure:6416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6457 if { (eval echo configure:6458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6416 rm -rf conftest* | 6458 rm -rf conftest* |
| 6417 eval "ac_cv_lib_$ac_lib_var=yes" | 6459 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6418 else | 6460 else |
| 6419 echo "configure: failed program was:" >&5 | 6461 echo "configure: failed program was:" >&5 |
| 6420 cat conftest.$ac_ext >&5 | 6462 cat conftest.$ac_ext >&5 |
| 6449 | 6491 |
| 6450 fi | 6492 fi |
| 6451 | 6493 |
| 6452 | 6494 |
| 6453 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6495 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 6454 echo "configure:6455: checking for main in -lXbsd" >&5 | 6496 echo "configure:6497: checking for main in -lXbsd" >&5 |
| 6455 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6497 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 6456 | 6498 |
| 6457 xe_check_libs=" -lXbsd " | 6499 xe_check_libs=" -lXbsd " |
| 6458 cat > conftest.$ac_ext <<EOF | 6500 cat > conftest.$ac_ext <<EOF |
| 6459 #line 6460 "configure" | 6501 #line 6502 "configure" |
| 6460 #include "confdefs.h" | 6502 #include "confdefs.h" |
| 6461 | 6503 |
| 6462 int main() { | 6504 int main() { |
| 6463 main() | 6505 main() |
| 6464 ; return 0; } | 6506 ; return 0; } |
| 6465 EOF | 6507 EOF |
| 6466 if { (eval echo configure:6467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6508 if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6467 rm -rf conftest* | 6509 rm -rf conftest* |
| 6468 eval "ac_cv_lib_$ac_lib_var=yes" | 6510 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6469 else | 6511 else |
| 6470 echo "configure: failed program was:" >&5 | 6512 echo "configure: failed program was:" >&5 |
| 6471 cat conftest.$ac_ext >&5 | 6513 cat conftest.$ac_ext >&5 |
| 6498 fi | 6540 fi |
| 6499 | 6541 |
| 6500 fi | 6542 fi |
| 6501 if test "$with_msw" != "no"; then | 6543 if test "$with_msw" != "no"; then |
| 6502 echo "checking for MS-Windows" 1>&6 | 6544 echo "checking for MS-Windows" 1>&6 |
| 6503 echo "configure:6504: checking for MS-Windows" >&5 | 6545 echo "configure:6546: checking for MS-Windows" >&5 |
| 6504 | 6546 |
| 6505 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6547 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 6506 echo "configure:6507: checking for main in -lgdi32" >&5 | 6548 echo "configure:6549: checking for main in -lgdi32" >&5 |
| 6507 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6549 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 6508 | 6550 |
| 6509 xe_check_libs=" -lgdi32 " | 6551 xe_check_libs=" -lgdi32 " |
| 6510 cat > conftest.$ac_ext <<EOF | 6552 cat > conftest.$ac_ext <<EOF |
| 6511 #line 6512 "configure" | 6553 #line 6554 "configure" |
| 6512 #include "confdefs.h" | 6554 #include "confdefs.h" |
| 6513 | 6555 |
| 6514 int main() { | 6556 int main() { |
| 6515 main() | 6557 main() |
| 6516 ; return 0; } | 6558 ; return 0; } |
| 6517 EOF | 6559 EOF |
| 6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6560 if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6519 rm -rf conftest* | 6561 rm -rf conftest* |
| 6520 eval "ac_cv_lib_$ac_lib_var=yes" | 6562 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6521 else | 6563 else |
| 6522 echo "configure: failed program was:" >&5 | 6564 echo "configure: failed program was:" >&5 |
| 6523 cat conftest.$ac_ext >&5 | 6565 cat conftest.$ac_ext >&5 |
| 6584 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6626 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
| 6585 echo " xemacs will be linked with \"dialog-msw.o\"" | 6627 echo " xemacs will be linked with \"dialog-msw.o\"" |
| 6586 fi | 6628 fi |
| 6587 fi | 6629 fi |
| 6588 cat > conftest.$ac_ext <<EOF | 6630 cat > conftest.$ac_ext <<EOF |
| 6589 #line 6590 "configure" | 6631 #line 6632 "configure" |
| 6590 #include "confdefs.h" | 6632 #include "confdefs.h" |
| 6591 #include <fcntl.h> | 6633 #include <fcntl.h> |
| 6592 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6634 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 6593 EOF | 6635 EOF |
| 6594 if { (eval echo configure:6595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6636 if { (eval echo configure:6637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6595 then | 6637 then |
| 6596 { test "$extra_verbose" = "yes" && cat << \EOF | 6638 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6597 Defining HAVE_MSG_SELECT | 6639 Defining HAVE_MSG_SELECT |
| 6598 EOF | 6640 EOF |
| 6599 cat >> confdefs.h <<\EOF | 6641 cat >> confdefs.h <<\EOF |
| 6653 fi | 6695 fi |
| 6654 | 6696 |
| 6655 if test "$with_x11" = "yes"; then | 6697 if test "$with_x11" = "yes"; then |
| 6656 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 6698 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
| 6657 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 6699 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
| 6658 echo "configure:6659: checking for X11/extensions/shape.h" >&5 | 6700 echo "configure:6701: checking for X11/extensions/shape.h" >&5 |
| 6659 | 6701 |
| 6660 cat > conftest.$ac_ext <<EOF | 6702 cat > conftest.$ac_ext <<EOF |
| 6661 #line 6662 "configure" | 6703 #line 6704 "configure" |
| 6662 #include "confdefs.h" | 6704 #include "confdefs.h" |
| 6663 #include <X11/extensions/shape.h> | 6705 #include <X11/extensions/shape.h> |
| 6664 EOF | 6706 EOF |
| 6665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6666 { (eval echo configure:6667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6708 { (eval echo configure:6709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6668 if test -z "$ac_err"; then | 6710 if test -z "$ac_err"; then |
| 6669 rm -rf conftest* | 6711 rm -rf conftest* |
| 6670 eval "ac_cv_header_$ac_safe=yes" | 6712 eval "ac_cv_header_$ac_safe=yes" |
| 6671 else | 6713 else |
| 6708 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6750 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 6709 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6751 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 6710 esac | 6752 esac |
| 6711 | 6753 |
| 6712 echo "checking for WM_COMMAND option" 1>&6 | 6754 echo "checking for WM_COMMAND option" 1>&6 |
| 6713 echo "configure:6714: checking for WM_COMMAND option" >&5; | 6755 echo "configure:6756: checking for WM_COMMAND option" >&5; |
| 6714 if test "$with_wmcommand" != "no"; then | 6756 if test "$with_wmcommand" != "no"; then |
| 6715 { test "$extra_verbose" = "yes" && cat << \EOF | 6757 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6716 Defining HAVE_WMCOMMAND | 6758 Defining HAVE_WMCOMMAND |
| 6717 EOF | 6759 EOF |
| 6718 cat >> confdefs.h <<\EOF | 6760 cat >> confdefs.h <<\EOF |
| 6723 fi | 6765 fi |
| 6724 | 6766 |
| 6725 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6767 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 6726 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6768 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 6727 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6769 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 6728 echo "configure:6729: checking for X11/Xauth.h" >&5 | 6770 echo "configure:6771: checking for X11/Xauth.h" >&5 |
| 6729 | 6771 |
| 6730 cat > conftest.$ac_ext <<EOF | 6772 cat > conftest.$ac_ext <<EOF |
| 6731 #line 6732 "configure" | 6773 #line 6774 "configure" |
| 6732 #include "confdefs.h" | 6774 #include "confdefs.h" |
| 6733 #include <X11/Xauth.h> | 6775 #include <X11/Xauth.h> |
| 6734 EOF | 6776 EOF |
| 6735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6736 { (eval echo configure:6737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6778 { (eval echo configure:6779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6738 if test -z "$ac_err"; then | 6780 if test -z "$ac_err"; then |
| 6739 rm -rf conftest* | 6781 rm -rf conftest* |
| 6740 eval "ac_cv_header_$ac_safe=yes" | 6782 eval "ac_cv_header_$ac_safe=yes" |
| 6741 else | 6783 else |
| 6754 with_xauth=no | 6796 with_xauth=no |
| 6755 fi | 6797 fi |
| 6756 } | 6798 } |
| 6757 test -z "$with_xauth" && { | 6799 test -z "$with_xauth" && { |
| 6758 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6800 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 6759 echo "configure:6760: checking for XauGetAuthByAddr in -lXau" >&5 | 6801 echo "configure:6802: checking for XauGetAuthByAddr in -lXau" >&5 |
| 6760 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6802 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 6761 | 6803 |
| 6762 xe_check_libs=" -lXau " | 6804 xe_check_libs=" -lXau " |
| 6763 cat > conftest.$ac_ext <<EOF | 6805 cat > conftest.$ac_ext <<EOF |
| 6764 #line 6765 "configure" | 6806 #line 6807 "configure" |
| 6765 #include "confdefs.h" | 6807 #include "confdefs.h" |
| 6766 /* Override any gcc2 internal prototype to avoid an error. */ | 6808 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6767 /* We use char because int might match the return type of a gcc2 | 6809 /* We use char because int might match the return type of a gcc2 |
| 6768 builtin and then its argument prototype would still apply. */ | 6810 builtin and then its argument prototype would still apply. */ |
| 6769 char XauGetAuthByAddr(); | 6811 char XauGetAuthByAddr(); |
| 6770 | 6812 |
| 6771 int main() { | 6813 int main() { |
| 6772 XauGetAuthByAddr() | 6814 XauGetAuthByAddr() |
| 6773 ; return 0; } | 6815 ; return 0; } |
| 6774 EOF | 6816 EOF |
| 6775 if { (eval echo configure:6776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6776 rm -rf conftest* | 6818 rm -rf conftest* |
| 6777 eval "ac_cv_lib_$ac_lib_var=yes" | 6819 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6778 else | 6820 else |
| 6779 echo "configure: failed program was:" >&5 | 6821 echo "configure: failed program was:" >&5 |
| 6780 cat conftest.$ac_ext >&5 | 6822 cat conftest.$ac_ext >&5 |
| 6815 | 6857 |
| 6816 if test "$with_tooltalk" != "no" ; then | 6858 if test "$with_tooltalk" != "no" ; then |
| 6817 for dir in "" "Tt/" "desktop/" ; do | 6859 for dir in "" "Tt/" "desktop/" ; do |
| 6818 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6860 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 6819 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6861 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 6820 echo "configure:6821: checking for ${dir}tt_c.h" >&5 | 6862 echo "configure:6863: checking for ${dir}tt_c.h" >&5 |
| 6821 | 6863 |
| 6822 cat > conftest.$ac_ext <<EOF | 6864 cat > conftest.$ac_ext <<EOF |
| 6823 #line 6824 "configure" | 6865 #line 6866 "configure" |
| 6824 #include "confdefs.h" | 6866 #include "confdefs.h" |
| 6825 #include <${dir}tt_c.h> | 6867 #include <${dir}tt_c.h> |
| 6826 EOF | 6868 EOF |
| 6827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6828 { (eval echo configure:6829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6870 { (eval echo configure:6871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6830 if test -z "$ac_err"; then | 6872 if test -z "$ac_err"; then |
| 6831 rm -rf conftest* | 6873 rm -rf conftest* |
| 6832 eval "ac_cv_header_$ac_safe=yes" | 6874 eval "ac_cv_header_$ac_safe=yes" |
| 6833 else | 6875 else |
| 6859 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6901 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 6860 | 6902 |
| 6861 xe_msg_checking="for tt_message_create in -ltt" | 6903 xe_msg_checking="for tt_message_create in -ltt" |
| 6862 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6904 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 6863 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6905 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6864 echo "configure:6865: checking "$xe_msg_checking"" >&5 | 6906 echo "configure:6907: checking "$xe_msg_checking"" >&5 |
| 6865 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6907 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 6866 | 6908 |
| 6867 xe_check_libs=" -ltt $extra_libs" | 6909 xe_check_libs=" -ltt $extra_libs" |
| 6868 cat > conftest.$ac_ext <<EOF | 6910 cat > conftest.$ac_ext <<EOF |
| 6869 #line 6870 "configure" | 6911 #line 6912 "configure" |
| 6870 #include "confdefs.h" | 6912 #include "confdefs.h" |
| 6871 /* Override any gcc2 internal prototype to avoid an error. */ | 6913 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6872 /* We use char because int might match the return type of a gcc2 | 6914 /* We use char because int might match the return type of a gcc2 |
| 6873 builtin and then its argument prototype would still apply. */ | 6915 builtin and then its argument prototype would still apply. */ |
| 6874 char tt_message_create(); | 6916 char tt_message_create(); |
| 6875 | 6917 |
| 6876 int main() { | 6918 int main() { |
| 6877 tt_message_create() | 6919 tt_message_create() |
| 6878 ; return 0; } | 6920 ; return 0; } |
| 6879 EOF | 6921 EOF |
| 6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6922 if { (eval echo configure:6923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6881 rm -rf conftest* | 6923 rm -rf conftest* |
| 6882 eval "ac_cv_lib_$ac_lib_var=yes" | 6924 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6883 else | 6925 else |
| 6884 echo "configure: failed program was:" >&5 | 6926 echo "configure: failed program was:" >&5 |
| 6885 cat conftest.$ac_ext >&5 | 6927 cat conftest.$ac_ext >&5 |
| 6932 fi | 6974 fi |
| 6933 fi | 6975 fi |
| 6934 | 6976 |
| 6935 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6977 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 6936 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6978 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 6937 echo "configure:6938: checking for Dt/Dt.h" >&5 | 6979 echo "configure:6980: checking for Dt/Dt.h" >&5 |
| 6938 | 6980 |
| 6939 cat > conftest.$ac_ext <<EOF | 6981 cat > conftest.$ac_ext <<EOF |
| 6940 #line 6941 "configure" | 6982 #line 6983 "configure" |
| 6941 #include "confdefs.h" | 6983 #include "confdefs.h" |
| 6942 #include <Dt/Dt.h> | 6984 #include <Dt/Dt.h> |
| 6943 EOF | 6985 EOF |
| 6944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6945 { (eval echo configure:6946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6987 { (eval echo configure:6988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6947 if test -z "$ac_err"; then | 6989 if test -z "$ac_err"; then |
| 6948 rm -rf conftest* | 6990 rm -rf conftest* |
| 6949 eval "ac_cv_header_$ac_safe=yes" | 6991 eval "ac_cv_header_$ac_safe=yes" |
| 6950 else | 6992 else |
| 6963 with_cde=no | 7005 with_cde=no |
| 6964 fi | 7006 fi |
| 6965 } | 7007 } |
| 6966 test -z "$with_cde" && { | 7008 test -z "$with_cde" && { |
| 6967 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7009 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 6968 echo "configure:6969: checking for DtDndDragStart in -lDtSvc" >&5 | 7010 echo "configure:7011: checking for DtDndDragStart in -lDtSvc" >&5 |
| 6969 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7011 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 6970 | 7012 |
| 6971 xe_check_libs=" -lDtSvc " | 7013 xe_check_libs=" -lDtSvc " |
| 6972 cat > conftest.$ac_ext <<EOF | 7014 cat > conftest.$ac_ext <<EOF |
| 6973 #line 6974 "configure" | 7015 #line 7016 "configure" |
| 6974 #include "confdefs.h" | 7016 #include "confdefs.h" |
| 6975 /* Override any gcc2 internal prototype to avoid an error. */ | 7017 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6976 /* We use char because int might match the return type of a gcc2 | 7018 /* We use char because int might match the return type of a gcc2 |
| 6977 builtin and then its argument prototype would still apply. */ | 7019 builtin and then its argument prototype would still apply. */ |
| 6978 char DtDndDragStart(); | 7020 char DtDndDragStart(); |
| 6979 | 7021 |
| 6980 int main() { | 7022 int main() { |
| 6981 DtDndDragStart() | 7023 DtDndDragStart() |
| 6982 ; return 0; } | 7024 ; return 0; } |
| 6983 EOF | 7025 EOF |
| 6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6985 rm -rf conftest* | 7027 rm -rf conftest* |
| 6986 eval "ac_cv_lib_$ac_lib_var=yes" | 7028 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6987 else | 7029 else |
| 6988 echo "configure: failed program was:" >&5 | 7030 echo "configure: failed program was:" >&5 |
| 6989 cat conftest.$ac_ext >&5 | 7031 cat conftest.$ac_ext >&5 |
| 7049 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 7091 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
| 7050 fi | 7092 fi |
| 7051 | 7093 |
| 7052 if test "$with_dragndrop" != "no" ; then | 7094 if test "$with_dragndrop" != "no" ; then |
| 7053 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7095 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 7054 echo "configure:7055: checking if drag and drop API is needed" >&5 | 7096 echo "configure:7097: checking if drag and drop API is needed" >&5 |
| 7055 if test -n "$dragndrop_proto" ; then | 7097 if test -n "$dragndrop_proto" ; then |
| 7056 with_dragndrop=yes | 7098 with_dragndrop=yes |
| 7057 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7099 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 7058 { test "$extra_verbose" = "yes" && cat << \EOF | 7100 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7059 Defining HAVE_DRAGNDROP | 7101 Defining HAVE_DRAGNDROP |
| 7069 echo "$ac_t""no" 1>&6 | 7111 echo "$ac_t""no" 1>&6 |
| 7070 fi | 7112 fi |
| 7071 fi | 7113 fi |
| 7072 | 7114 |
| 7073 echo "checking for LDAP" 1>&6 | 7115 echo "checking for LDAP" 1>&6 |
| 7074 echo "configure:7075: checking for LDAP" >&5 | 7116 echo "configure:7117: checking for LDAP" >&5 |
| 7075 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7117 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 7076 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7118 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 7077 echo "configure:7078: checking for ldap.h" >&5 | 7119 echo "configure:7120: checking for ldap.h" >&5 |
| 7078 | 7120 |
| 7079 cat > conftest.$ac_ext <<EOF | 7121 cat > conftest.$ac_ext <<EOF |
| 7080 #line 7081 "configure" | 7122 #line 7123 "configure" |
| 7081 #include "confdefs.h" | 7123 #include "confdefs.h" |
| 7082 #include <ldap.h> | 7124 #include <ldap.h> |
| 7083 EOF | 7125 EOF |
| 7084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7085 { (eval echo configure:7086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7127 { (eval echo configure:7128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7087 if test -z "$ac_err"; then | 7129 if test -z "$ac_err"; then |
| 7088 rm -rf conftest* | 7130 rm -rf conftest* |
| 7089 eval "ac_cv_header_$ac_safe=yes" | 7131 eval "ac_cv_header_$ac_safe=yes" |
| 7090 else | 7132 else |
| 7103 with_ldap=no | 7145 with_ldap=no |
| 7104 fi | 7146 fi |
| 7105 } | 7147 } |
| 7106 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7148 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 7107 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7149 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 7108 echo "configure:7109: checking for lber.h" >&5 | 7150 echo "configure:7151: checking for lber.h" >&5 |
| 7109 | 7151 |
| 7110 cat > conftest.$ac_ext <<EOF | 7152 cat > conftest.$ac_ext <<EOF |
| 7111 #line 7112 "configure" | 7153 #line 7154 "configure" |
| 7112 #include "confdefs.h" | 7154 #include "confdefs.h" |
| 7113 #include <lber.h> | 7155 #include <lber.h> |
| 7114 EOF | 7156 EOF |
| 7115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7116 { (eval echo configure:7117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7158 { (eval echo configure:7159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7118 if test -z "$ac_err"; then | 7160 if test -z "$ac_err"; then |
| 7119 rm -rf conftest* | 7161 rm -rf conftest* |
| 7120 eval "ac_cv_header_$ac_safe=yes" | 7162 eval "ac_cv_header_$ac_safe=yes" |
| 7121 else | 7163 else |
| 7135 fi | 7177 fi |
| 7136 } | 7178 } |
| 7137 if test "$with_ldap" != "no"; then | 7179 if test "$with_ldap" != "no"; then |
| 7138 | 7180 |
| 7139 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7181 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 7140 echo "configure:7141: checking for ldap_search in -lldap" >&5 | 7182 echo "configure:7183: checking for ldap_search in -lldap" >&5 |
| 7141 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7183 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 7142 | 7184 |
| 7143 xe_check_libs=" -lldap " | 7185 xe_check_libs=" -lldap " |
| 7144 cat > conftest.$ac_ext <<EOF | 7186 cat > conftest.$ac_ext <<EOF |
| 7145 #line 7146 "configure" | 7187 #line 7188 "configure" |
| 7146 #include "confdefs.h" | 7188 #include "confdefs.h" |
| 7147 /* Override any gcc2 internal prototype to avoid an error. */ | 7189 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7148 /* We use char because int might match the return type of a gcc2 | 7190 /* We use char because int might match the return type of a gcc2 |
| 7149 builtin and then its argument prototype would still apply. */ | 7191 builtin and then its argument prototype would still apply. */ |
| 7150 char ldap_search(); | 7192 char ldap_search(); |
| 7151 | 7193 |
| 7152 int main() { | 7194 int main() { |
| 7153 ldap_search() | 7195 ldap_search() |
| 7154 ; return 0; } | 7196 ; return 0; } |
| 7155 EOF | 7197 EOF |
| 7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7198 if { (eval echo configure:7199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7157 rm -rf conftest* | 7199 rm -rf conftest* |
| 7158 eval "ac_cv_lib_$ac_lib_var=yes" | 7200 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7159 else | 7201 else |
| 7160 echo "configure: failed program was:" >&5 | 7202 echo "configure: failed program was:" >&5 |
| 7161 cat conftest.$ac_ext >&5 | 7203 cat conftest.$ac_ext >&5 |
| 7176 | 7218 |
| 7177 test "$with_ldap_nolber" = "no" && { | 7219 test "$with_ldap_nolber" = "no" && { |
| 7178 xe_msg_checking="for ldap_open in -lldap" | 7220 xe_msg_checking="for ldap_open in -lldap" |
| 7179 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7221 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 7180 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7222 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7181 echo "configure:7182: checking "$xe_msg_checking"" >&5 | 7223 echo "configure:7224: checking "$xe_msg_checking"" >&5 |
| 7182 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7224 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7183 | 7225 |
| 7184 xe_check_libs=" -lldap -llber" | 7226 xe_check_libs=" -lldap -llber" |
| 7185 cat > conftest.$ac_ext <<EOF | 7227 cat > conftest.$ac_ext <<EOF |
| 7186 #line 7187 "configure" | 7228 #line 7229 "configure" |
| 7187 #include "confdefs.h" | 7229 #include "confdefs.h" |
| 7188 /* Override any gcc2 internal prototype to avoid an error. */ | 7230 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7189 /* We use char because int might match the return type of a gcc2 | 7231 /* We use char because int might match the return type of a gcc2 |
| 7190 builtin and then its argument prototype would still apply. */ | 7232 builtin and then its argument prototype would still apply. */ |
| 7191 char ldap_open(); | 7233 char ldap_open(); |
| 7192 | 7234 |
| 7193 int main() { | 7235 int main() { |
| 7194 ldap_open() | 7236 ldap_open() |
| 7195 ; return 0; } | 7237 ; return 0; } |
| 7196 EOF | 7238 EOF |
| 7197 if { (eval echo configure:7198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7198 rm -rf conftest* | 7240 rm -rf conftest* |
| 7199 eval "ac_cv_lib_$ac_lib_var=yes" | 7241 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7200 else | 7242 else |
| 7201 echo "configure: failed program was:" >&5 | 7243 echo "configure: failed program was:" >&5 |
| 7202 cat conftest.$ac_ext >&5 | 7244 cat conftest.$ac_ext >&5 |
| 7217 } | 7259 } |
| 7218 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7260 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
| 7219 xe_msg_checking="for ldap_open in -lldap" | 7261 xe_msg_checking="for ldap_open in -lldap" |
| 7220 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7262 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
| 7221 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7263 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7222 echo "configure:7223: checking "$xe_msg_checking"" >&5 | 7264 echo "configure:7265: checking "$xe_msg_checking"" >&5 |
| 7223 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7265 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7224 | 7266 |
| 7225 xe_check_libs=" -lldap -llber -lkrb" | 7267 xe_check_libs=" -lldap -llber -lkrb" |
| 7226 cat > conftest.$ac_ext <<EOF | 7268 cat > conftest.$ac_ext <<EOF |
| 7227 #line 7228 "configure" | 7269 #line 7270 "configure" |
| 7228 #include "confdefs.h" | 7270 #include "confdefs.h" |
| 7229 /* Override any gcc2 internal prototype to avoid an error. */ | 7271 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7230 /* We use char because int might match the return type of a gcc2 | 7272 /* We use char because int might match the return type of a gcc2 |
| 7231 builtin and then its argument prototype would still apply. */ | 7273 builtin and then its argument prototype would still apply. */ |
| 7232 char ldap_open(); | 7274 char ldap_open(); |
| 7233 | 7275 |
| 7234 int main() { | 7276 int main() { |
| 7235 ldap_open() | 7277 ldap_open() |
| 7236 ; return 0; } | 7278 ; return 0; } |
| 7237 EOF | 7279 EOF |
| 7238 if { (eval echo configure:7239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7280 if { (eval echo configure:7281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7239 rm -rf conftest* | 7281 rm -rf conftest* |
| 7240 eval "ac_cv_lib_$ac_lib_var=yes" | 7282 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7241 else | 7283 else |
| 7242 echo "configure: failed program was:" >&5 | 7284 echo "configure: failed program was:" >&5 |
| 7243 cat conftest.$ac_ext >&5 | 7285 cat conftest.$ac_ext >&5 |
| 7258 } | 7300 } |
| 7259 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7301 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
| 7260 xe_msg_checking="for ldap_open in -lldap" | 7302 xe_msg_checking="for ldap_open in -lldap" |
| 7261 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7303 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
| 7262 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7304 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 7263 echo "configure:7264: checking "$xe_msg_checking"" >&5 | 7305 echo "configure:7306: checking "$xe_msg_checking"" >&5 |
| 7264 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7306 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 7265 | 7307 |
| 7266 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7308 xe_check_libs=" -lldap -llber -lkrb -ldes" |
| 7267 cat > conftest.$ac_ext <<EOF | 7309 cat > conftest.$ac_ext <<EOF |
| 7268 #line 7269 "configure" | 7310 #line 7311 "configure" |
| 7269 #include "confdefs.h" | 7311 #include "confdefs.h" |
| 7270 /* Override any gcc2 internal prototype to avoid an error. */ | 7312 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7271 /* We use char because int might match the return type of a gcc2 | 7313 /* We use char because int might match the return type of a gcc2 |
| 7272 builtin and then its argument prototype would still apply. */ | 7314 builtin and then its argument prototype would still apply. */ |
| 7273 char ldap_open(); | 7315 char ldap_open(); |
| 7274 | 7316 |
| 7275 int main() { | 7317 int main() { |
| 7276 ldap_open() | 7318 ldap_open() |
| 7277 ; return 0; } | 7319 ; return 0; } |
| 7278 EOF | 7320 EOF |
| 7279 if { (eval echo configure:7280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7321 if { (eval echo configure:7322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7280 rm -rf conftest* | 7322 rm -rf conftest* |
| 7281 eval "ac_cv_lib_$ac_lib_var=yes" | 7323 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7282 else | 7324 else |
| 7283 echo "configure: failed program was:" >&5 | 7325 echo "configure: failed program was:" >&5 |
| 7284 cat conftest.$ac_ext >&5 | 7326 cat conftest.$ac_ext >&5 |
| 7325 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7367 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
| 7326 fi | 7368 fi |
| 7327 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7369 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 7328 do | 7370 do |
| 7329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7330 echo "configure:7331: checking for $ac_func" >&5 | 7372 echo "configure:7373: checking for $ac_func" >&5 |
| 7331 | 7373 |
| 7332 cat > conftest.$ac_ext <<EOF | 7374 cat > conftest.$ac_ext <<EOF |
| 7333 #line 7334 "configure" | 7375 #line 7376 "configure" |
| 7334 #include "confdefs.h" | 7376 #include "confdefs.h" |
| 7335 /* System header to define __stub macros and hopefully few prototypes, | 7377 /* System header to define __stub macros and hopefully few prototypes, |
| 7336 which can conflict with char $ac_func(); below. */ | 7378 which can conflict with char $ac_func(); below. */ |
| 7337 #include <assert.h> | 7379 #include <assert.h> |
| 7338 /* Override any gcc2 internal prototype to avoid an error. */ | 7380 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7351 $ac_func(); | 7393 $ac_func(); |
| 7352 #endif | 7394 #endif |
| 7353 | 7395 |
| 7354 ; return 0; } | 7396 ; return 0; } |
| 7355 EOF | 7397 EOF |
| 7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7398 if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7357 rm -rf conftest* | 7399 rm -rf conftest* |
| 7358 eval "ac_cv_func_$ac_func=yes" | 7400 eval "ac_cv_func_$ac_func=yes" |
| 7359 else | 7401 else |
| 7360 echo "configure: failed program was:" >&5 | 7402 echo "configure: failed program was:" >&5 |
| 7361 cat conftest.$ac_ext >&5 | 7403 cat conftest.$ac_ext >&5 |
| 7382 | 7424 |
| 7383 fi | 7425 fi |
| 7384 | 7426 |
| 7385 if test "$with_postgresql" != "no"; then | 7427 if test "$with_postgresql" != "no"; then |
| 7386 echo "checking for PostgreSQL" 1>&6 | 7428 echo "checking for PostgreSQL" 1>&6 |
| 7387 echo "configure:7388: checking for PostgreSQL" >&5 | 7429 echo "configure:7430: checking for PostgreSQL" >&5 |
| 7388 | 7430 |
| 7389 for header_dir in "" "pgsql/" "postgresql/"; do | 7431 for header_dir in "" "pgsql/" "postgresql/"; do |
| 7390 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7432 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
| 7391 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7433 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
| 7392 echo "configure:7393: checking for ${header_dir}libpq-fe.h" >&5 | 7434 echo "configure:7435: checking for ${header_dir}libpq-fe.h" >&5 |
| 7393 | 7435 |
| 7394 cat > conftest.$ac_ext <<EOF | 7436 cat > conftest.$ac_ext <<EOF |
| 7395 #line 7396 "configure" | 7437 #line 7438 "configure" |
| 7396 #include "confdefs.h" | 7438 #include "confdefs.h" |
| 7397 #include <${header_dir}libpq-fe.h> | 7439 #include <${header_dir}libpq-fe.h> |
| 7398 EOF | 7440 EOF |
| 7399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7400 { (eval echo configure:7401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7442 { (eval echo configure:7443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7402 if test -z "$ac_err"; then | 7444 if test -z "$ac_err"; then |
| 7403 rm -rf conftest* | 7445 rm -rf conftest* |
| 7404 eval "ac_cv_header_$ac_safe=yes" | 7446 eval "ac_cv_header_$ac_safe=yes" |
| 7405 else | 7447 else |
| 7419 | 7461 |
| 7420 done | 7462 done |
| 7421 | 7463 |
| 7422 test -n "$libpq_fe_h_file" && { | 7464 test -n "$libpq_fe_h_file" && { |
| 7423 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7465 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
| 7424 echo "configure:7425: checking for PQconnectdb in -lpq" >&5 | 7466 echo "configure:7467: checking for PQconnectdb in -lpq" >&5 |
| 7425 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7467 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
| 7426 | 7468 |
| 7427 xe_check_libs=" -lpq " | 7469 xe_check_libs=" -lpq " |
| 7428 cat > conftest.$ac_ext <<EOF | 7470 cat > conftest.$ac_ext <<EOF |
| 7429 #line 7430 "configure" | 7471 #line 7472 "configure" |
| 7430 #include "confdefs.h" | 7472 #include "confdefs.h" |
| 7431 /* Override any gcc2 internal prototype to avoid an error. */ | 7473 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7432 /* We use char because int might match the return type of a gcc2 | 7474 /* We use char because int might match the return type of a gcc2 |
| 7433 builtin and then its argument prototype would still apply. */ | 7475 builtin and then its argument prototype would still apply. */ |
| 7434 char PQconnectdb(); | 7476 char PQconnectdb(); |
| 7435 | 7477 |
| 7436 int main() { | 7478 int main() { |
| 7437 PQconnectdb() | 7479 PQconnectdb() |
| 7438 ; return 0; } | 7480 ; return 0; } |
| 7439 EOF | 7481 EOF |
| 7440 if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7482 if { (eval echo configure:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7441 rm -rf conftest* | 7483 rm -rf conftest* |
| 7442 eval "ac_cv_lib_$ac_lib_var=yes" | 7484 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7443 else | 7485 else |
| 7444 echo "configure: failed program was:" >&5 | 7486 echo "configure: failed program was:" >&5 |
| 7445 cat conftest.$ac_ext >&5 | 7487 cat conftest.$ac_ext >&5 |
| 7468 EOF | 7510 EOF |
| 7469 } | 7511 } |
| 7470 | 7512 |
| 7471 | 7513 |
| 7472 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7514 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
| 7473 echo "configure:7474: checking for PQconnectStart in -lpq" >&5 | 7515 echo "configure:7516: checking for PQconnectStart in -lpq" >&5 |
| 7474 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7516 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
| 7475 | 7517 |
| 7476 xe_check_libs=" -lpq " | 7518 xe_check_libs=" -lpq " |
| 7477 cat > conftest.$ac_ext <<EOF | 7519 cat > conftest.$ac_ext <<EOF |
| 7478 #line 7479 "configure" | 7520 #line 7521 "configure" |
| 7479 #include "confdefs.h" | 7521 #include "confdefs.h" |
| 7480 /* Override any gcc2 internal prototype to avoid an error. */ | 7522 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7481 /* We use char because int might match the return type of a gcc2 | 7523 /* We use char because int might match the return type of a gcc2 |
| 7482 builtin and then its argument prototype would still apply. */ | 7524 builtin and then its argument prototype would still apply. */ |
| 7483 char PQconnectStart(); | 7525 char PQconnectStart(); |
| 7484 | 7526 |
| 7485 int main() { | 7527 int main() { |
| 7486 PQconnectStart() | 7528 PQconnectStart() |
| 7487 ; return 0; } | 7529 ; return 0; } |
| 7488 EOF | 7530 EOF |
| 7489 if { (eval echo configure:7490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7531 if { (eval echo configure:7532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7490 rm -rf conftest* | 7532 rm -rf conftest* |
| 7491 eval "ac_cv_lib_$ac_lib_var=yes" | 7533 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7492 else | 7534 else |
| 7493 echo "configure: failed program was:" >&5 | 7535 echo "configure: failed program was:" >&5 |
| 7494 cat conftest.$ac_ext >&5 | 7536 cat conftest.$ac_ext >&5 |
| 7532 fi | 7574 fi |
| 7533 | 7575 |
| 7534 | 7576 |
| 7535 if test "$window_system" != "none"; then | 7577 if test "$window_system" != "none"; then |
| 7536 echo "checking for graphics libraries" 1>&6 | 7578 echo "checking for graphics libraries" 1>&6 |
| 7537 echo "configure:7538: checking for graphics libraries" >&5 | 7579 echo "configure:7580: checking for graphics libraries" >&5 |
| 7538 | 7580 |
| 7539 xpm_problem="" | 7581 xpm_problem="" |
| 7540 if test -z "$with_xpm"; then | 7582 if test -z "$with_xpm"; then |
| 7541 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7583 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 7542 echo "configure:7543: checking for Xpm - no older than 3.4f" >&5 | 7584 echo "configure:7585: checking for Xpm - no older than 3.4f" >&5 |
| 7543 xe_check_libs=-lXpm | 7585 xe_check_libs=-lXpm |
| 7544 cat > conftest.$ac_ext <<EOF | 7586 cat > conftest.$ac_ext <<EOF |
| 7545 #line 7546 "configure" | 7587 #line 7588 "configure" |
| 7546 #include "confdefs.h" | 7588 #include "confdefs.h" |
| 7547 #define XPM_NUMBERS | 7589 #define XPM_NUMBERS |
| 7548 #include <X11/xpm.h> | 7590 #include <X11/xpm.h> |
| 7549 int main(int c, char **v) { | 7591 int main(int c, char **v) { |
| 7550 return c == 1 ? 0 : | 7592 return c == 1 ? 0 : |
| 7551 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7593 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 7552 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7594 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 7553 EOF | 7595 EOF |
| 7554 if { (eval echo configure:7555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7596 if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7555 then | 7597 then |
| 7556 ./conftest dummy_arg; xpm_status=$?; | 7598 ./conftest dummy_arg; xpm_status=$?; |
| 7557 if test "$xpm_status" = "0"; then | 7599 if test "$xpm_status" = "0"; then |
| 7558 with_xpm=yes; | 7600 with_xpm=yes; |
| 7559 else | 7601 else |
| 7591 EOF | 7633 EOF |
| 7592 } | 7634 } |
| 7593 | 7635 |
| 7594 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7636 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 7595 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7637 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 7596 echo "configure:7597: checking for \"FOR_MSW\" xpm" >&5 | 7638 echo "configure:7639: checking for \"FOR_MSW\" xpm" >&5 |
| 7597 xe_check_libs=-lXpm | 7639 xe_check_libs=-lXpm |
| 7598 cat > conftest.$ac_ext <<EOF | 7640 cat > conftest.$ac_ext <<EOF |
| 7599 #line 7600 "configure" | 7641 #line 7642 "configure" |
| 7600 #include "confdefs.h" | 7642 #include "confdefs.h" |
| 7601 | 7643 |
| 7602 int main() { | 7644 int main() { |
| 7603 XpmCreatePixmapFromData() | 7645 XpmCreatePixmapFromData() |
| 7604 ; return 0; } | 7646 ; return 0; } |
| 7605 EOF | 7647 EOF |
| 7606 if { (eval echo configure:7607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7648 if { (eval echo configure:7649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7607 rm -rf conftest* | 7649 rm -rf conftest* |
| 7608 xpm_for_msw=no | 7650 xpm_for_msw=no |
| 7609 else | 7651 else |
| 7610 echo "configure: failed program was:" >&5 | 7652 echo "configure: failed program was:" >&5 |
| 7611 cat conftest.$ac_ext >&5 | 7653 cat conftest.$ac_ext >&5 |
| 7627 fi | 7669 fi |
| 7628 fi | 7670 fi |
| 7629 | 7671 |
| 7630 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7672 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 7631 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7673 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 7632 echo "configure:7633: checking for compface.h" >&5 | 7674 echo "configure:7675: checking for compface.h" >&5 |
| 7633 | 7675 |
| 7634 cat > conftest.$ac_ext <<EOF | 7676 cat > conftest.$ac_ext <<EOF |
| 7635 #line 7636 "configure" | 7677 #line 7678 "configure" |
| 7636 #include "confdefs.h" | 7678 #include "confdefs.h" |
| 7637 #include <compface.h> | 7679 #include <compface.h> |
| 7638 EOF | 7680 EOF |
| 7639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7640 { (eval echo configure:7641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7682 { (eval echo configure:7683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7642 if test -z "$ac_err"; then | 7684 if test -z "$ac_err"; then |
| 7643 rm -rf conftest* | 7685 rm -rf conftest* |
| 7644 eval "ac_cv_header_$ac_safe=yes" | 7686 eval "ac_cv_header_$ac_safe=yes" |
| 7645 else | 7687 else |
| 7658 with_xface=no | 7700 with_xface=no |
| 7659 fi | 7701 fi |
| 7660 } | 7702 } |
| 7661 test -z "$with_xface" && { | 7703 test -z "$with_xface" && { |
| 7662 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7704 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 7663 echo "configure:7664: checking for UnGenFace in -lcompface" >&5 | 7705 echo "configure:7706: checking for UnGenFace in -lcompface" >&5 |
| 7664 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7706 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 7665 | 7707 |
| 7666 xe_check_libs=" -lcompface " | 7708 xe_check_libs=" -lcompface " |
| 7667 cat > conftest.$ac_ext <<EOF | 7709 cat > conftest.$ac_ext <<EOF |
| 7668 #line 7669 "configure" | 7710 #line 7711 "configure" |
| 7669 #include "confdefs.h" | 7711 #include "confdefs.h" |
| 7670 /* Override any gcc2 internal prototype to avoid an error. */ | 7712 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7671 /* We use char because int might match the return type of a gcc2 | 7713 /* We use char because int might match the return type of a gcc2 |
| 7672 builtin and then its argument prototype would still apply. */ | 7714 builtin and then its argument prototype would still apply. */ |
| 7673 char UnGenFace(); | 7715 char UnGenFace(); |
| 7674 | 7716 |
| 7675 int main() { | 7717 int main() { |
| 7676 UnGenFace() | 7718 UnGenFace() |
| 7677 ; return 0; } | 7719 ; return 0; } |
| 7678 EOF | 7720 EOF |
| 7679 if { (eval echo configure:7680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7721 if { (eval echo configure:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7680 rm -rf conftest* | 7722 rm -rf conftest* |
| 7681 eval "ac_cv_lib_$ac_lib_var=yes" | 7723 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7682 else | 7724 else |
| 7683 echo "configure: failed program was:" >&5 | 7725 echo "configure: failed program was:" >&5 |
| 7684 cat conftest.$ac_ext >&5 | 7726 cat conftest.$ac_ext >&5 |
| 7726 fi | 7768 fi |
| 7727 | 7769 |
| 7728 if test "$with_png $with_tiff" != "no no"; then | 7770 if test "$with_png $with_tiff" != "no no"; then |
| 7729 | 7771 |
| 7730 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7772 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 7731 echo "configure:7732: checking for inflate in -lc" >&5 | 7773 echo "configure:7774: checking for inflate in -lc" >&5 |
| 7732 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7774 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 7733 | 7775 |
| 7734 xe_check_libs=" -lc " | 7776 xe_check_libs=" -lc " |
| 7735 cat > conftest.$ac_ext <<EOF | 7777 cat > conftest.$ac_ext <<EOF |
| 7736 #line 7737 "configure" | 7778 #line 7779 "configure" |
| 7737 #include "confdefs.h" | 7779 #include "confdefs.h" |
| 7738 /* Override any gcc2 internal prototype to avoid an error. */ | 7780 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7739 /* We use char because int might match the return type of a gcc2 | 7781 /* We use char because int might match the return type of a gcc2 |
| 7740 builtin and then its argument prototype would still apply. */ | 7782 builtin and then its argument prototype would still apply. */ |
| 7741 char inflate(); | 7783 char inflate(); |
| 7742 | 7784 |
| 7743 int main() { | 7785 int main() { |
| 7744 inflate() | 7786 inflate() |
| 7745 ; return 0; } | 7787 ; return 0; } |
| 7746 EOF | 7788 EOF |
| 7747 if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7789 if { (eval echo configure:7790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7748 rm -rf conftest* | 7790 rm -rf conftest* |
| 7749 eval "ac_cv_lib_$ac_lib_var=yes" | 7791 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7750 else | 7792 else |
| 7751 echo "configure: failed program was:" >&5 | 7793 echo "configure: failed program was:" >&5 |
| 7752 cat conftest.$ac_ext >&5 | 7794 cat conftest.$ac_ext >&5 |
| 7761 : | 7803 : |
| 7762 else | 7804 else |
| 7763 echo "$ac_t""no" 1>&6 | 7805 echo "$ac_t""no" 1>&6 |
| 7764 | 7806 |
| 7765 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7807 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 7766 echo "configure:7767: checking for inflate in -lz" >&5 | 7808 echo "configure:7809: checking for inflate in -lz" >&5 |
| 7767 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7809 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 7768 | 7810 |
| 7769 xe_check_libs=" -lz " | 7811 xe_check_libs=" -lz " |
| 7770 cat > conftest.$ac_ext <<EOF | 7812 cat > conftest.$ac_ext <<EOF |
| 7771 #line 7772 "configure" | 7813 #line 7814 "configure" |
| 7772 #include "confdefs.h" | 7814 #include "confdefs.h" |
| 7773 /* Override any gcc2 internal prototype to avoid an error. */ | 7815 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7774 /* We use char because int might match the return type of a gcc2 | 7816 /* We use char because int might match the return type of a gcc2 |
| 7775 builtin and then its argument prototype would still apply. */ | 7817 builtin and then its argument prototype would still apply. */ |
| 7776 char inflate(); | 7818 char inflate(); |
| 7777 | 7819 |
| 7778 int main() { | 7820 int main() { |
| 7779 inflate() | 7821 inflate() |
| 7780 ; return 0; } | 7822 ; return 0; } |
| 7781 EOF | 7823 EOF |
| 7782 if { (eval echo configure:7783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7824 if { (eval echo configure:7825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7783 rm -rf conftest* | 7825 rm -rf conftest* |
| 7784 eval "ac_cv_lib_$ac_lib_var=yes" | 7826 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7785 else | 7827 else |
| 7786 echo "configure: failed program was:" >&5 | 7828 echo "configure: failed program was:" >&5 |
| 7787 cat conftest.$ac_ext >&5 | 7829 cat conftest.$ac_ext >&5 |
| 7796 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7838 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 7797 else | 7839 else |
| 7798 echo "$ac_t""no" 1>&6 | 7840 echo "$ac_t""no" 1>&6 |
| 7799 | 7841 |
| 7800 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7842 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 7801 echo "configure:7802: checking for inflate in -lgz" >&5 | 7843 echo "configure:7844: checking for inflate in -lgz" >&5 |
| 7802 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7844 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 7803 | 7845 |
| 7804 xe_check_libs=" -lgz " | 7846 xe_check_libs=" -lgz " |
| 7805 cat > conftest.$ac_ext <<EOF | 7847 cat > conftest.$ac_ext <<EOF |
| 7806 #line 7807 "configure" | 7848 #line 7849 "configure" |
| 7807 #include "confdefs.h" | 7849 #include "confdefs.h" |
| 7808 /* Override any gcc2 internal prototype to avoid an error. */ | 7850 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7809 /* We use char because int might match the return type of a gcc2 | 7851 /* We use char because int might match the return type of a gcc2 |
| 7810 builtin and then its argument prototype would still apply. */ | 7852 builtin and then its argument prototype would still apply. */ |
| 7811 char inflate(); | 7853 char inflate(); |
| 7812 | 7854 |
| 7813 int main() { | 7855 int main() { |
| 7814 inflate() | 7856 inflate() |
| 7815 ; return 0; } | 7857 ; return 0; } |
| 7816 EOF | 7858 EOF |
| 7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7859 if { (eval echo configure:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7818 rm -rf conftest* | 7860 rm -rf conftest* |
| 7819 eval "ac_cv_lib_$ac_lib_var=yes" | 7861 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7820 else | 7862 else |
| 7821 echo "configure: failed program was:" >&5 | 7863 echo "configure: failed program was:" >&5 |
| 7822 cat conftest.$ac_ext >&5 | 7864 cat conftest.$ac_ext >&5 |
| 7842 | 7884 |
| 7843 fi | 7885 fi |
| 7844 | 7886 |
| 7845 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7887 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 7846 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7888 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 7847 echo "configure:7848: checking for jpeglib.h" >&5 | 7889 echo "configure:7890: checking for jpeglib.h" >&5 |
| 7848 | 7890 |
| 7849 cat > conftest.$ac_ext <<EOF | 7891 cat > conftest.$ac_ext <<EOF |
| 7850 #line 7851 "configure" | 7892 #line 7893 "configure" |
| 7851 #include "confdefs.h" | 7893 #include "confdefs.h" |
| 7852 #include <jpeglib.h> | 7894 #include <jpeglib.h> |
| 7853 EOF | 7895 EOF |
| 7854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7855 { (eval echo configure:7856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7897 { (eval echo configure:7898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7857 if test -z "$ac_err"; then | 7899 if test -z "$ac_err"; then |
| 7858 rm -rf conftest* | 7900 rm -rf conftest* |
| 7859 eval "ac_cv_header_$ac_safe=yes" | 7901 eval "ac_cv_header_$ac_safe=yes" |
| 7860 else | 7902 else |
| 7873 with_jpeg=no | 7915 with_jpeg=no |
| 7874 fi | 7916 fi |
| 7875 } | 7917 } |
| 7876 test -z "$with_jpeg" && { | 7918 test -z "$with_jpeg" && { |
| 7877 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7919 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 7878 echo "configure:7879: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7920 echo "configure:7921: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 7879 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7921 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 7880 | 7922 |
| 7881 xe_check_libs=" -ljpeg " | 7923 xe_check_libs=" -ljpeg " |
| 7882 cat > conftest.$ac_ext <<EOF | 7924 cat > conftest.$ac_ext <<EOF |
| 7883 #line 7884 "configure" | 7925 #line 7926 "configure" |
| 7884 #include "confdefs.h" | 7926 #include "confdefs.h" |
| 7885 /* Override any gcc2 internal prototype to avoid an error. */ | 7927 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7886 /* We use char because int might match the return type of a gcc2 | 7928 /* We use char because int might match the return type of a gcc2 |
| 7887 builtin and then its argument prototype would still apply. */ | 7929 builtin and then its argument prototype would still apply. */ |
| 7888 char jpeg_destroy_decompress(); | 7930 char jpeg_destroy_decompress(); |
| 7889 | 7931 |
| 7890 int main() { | 7932 int main() { |
| 7891 jpeg_destroy_decompress() | 7933 jpeg_destroy_decompress() |
| 7892 ; return 0; } | 7934 ; return 0; } |
| 7893 EOF | 7935 EOF |
| 7894 if { (eval echo configure:7895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7936 if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7895 rm -rf conftest* | 7937 rm -rf conftest* |
| 7896 eval "ac_cv_lib_$ac_lib_var=yes" | 7938 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7897 else | 7939 else |
| 7898 echo "configure: failed program was:" >&5 | 7940 echo "configure: failed program was:" >&5 |
| 7899 cat conftest.$ac_ext >&5 | 7941 cat conftest.$ac_ext >&5 |
| 7925 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7967 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 7926 fi | 7968 fi |
| 7927 | 7969 |
| 7928 png_problem="" | 7970 png_problem="" |
| 7929 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7971 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 7930 echo "configure:7931: checking for pow" >&5 | 7972 echo "configure:7973: checking for pow" >&5 |
| 7931 | 7973 |
| 7932 cat > conftest.$ac_ext <<EOF | 7974 cat > conftest.$ac_ext <<EOF |
| 7933 #line 7934 "configure" | 7975 #line 7976 "configure" |
| 7934 #include "confdefs.h" | 7976 #include "confdefs.h" |
| 7935 /* System header to define __stub macros and hopefully few prototypes, | 7977 /* System header to define __stub macros and hopefully few prototypes, |
| 7936 which can conflict with char pow(); below. */ | 7978 which can conflict with char pow(); below. */ |
| 7937 #include <assert.h> | 7979 #include <assert.h> |
| 7938 /* Override any gcc2 internal prototype to avoid an error. */ | 7980 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7951 pow(); | 7993 pow(); |
| 7952 #endif | 7994 #endif |
| 7953 | 7995 |
| 7954 ; return 0; } | 7996 ; return 0; } |
| 7955 EOF | 7997 EOF |
| 7956 if { (eval echo configure:7957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7998 if { (eval echo configure:7999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7957 rm -rf conftest* | 7999 rm -rf conftest* |
| 7958 eval "ac_cv_func_pow=yes" | 8000 eval "ac_cv_func_pow=yes" |
| 7959 else | 8001 else |
| 7960 echo "configure: failed program was:" >&5 | 8002 echo "configure: failed program was:" >&5 |
| 7961 cat conftest.$ac_ext >&5 | 8003 cat conftest.$ac_ext >&5 |
| 7972 with_png=no | 8014 with_png=no |
| 7973 fi | 8015 fi |
| 7974 } | 8016 } |
| 7975 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8017 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 7976 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8018 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 7977 echo "configure:7978: checking for png.h" >&5 | 8019 echo "configure:8020: checking for png.h" >&5 |
| 7978 | 8020 |
| 7979 cat > conftest.$ac_ext <<EOF | 8021 cat > conftest.$ac_ext <<EOF |
| 7980 #line 7981 "configure" | 8022 #line 8023 "configure" |
| 7981 #include "confdefs.h" | 8023 #include "confdefs.h" |
| 7982 #include <png.h> | 8024 #include <png.h> |
| 7983 EOF | 8025 EOF |
| 7984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7985 { (eval echo configure:7986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8027 { (eval echo configure:8028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7987 if test -z "$ac_err"; then | 8029 if test -z "$ac_err"; then |
| 7988 rm -rf conftest* | 8030 rm -rf conftest* |
| 7989 eval "ac_cv_header_$ac_safe=yes" | 8031 eval "ac_cv_header_$ac_safe=yes" |
| 7990 else | 8032 else |
| 8003 with_png=no | 8045 with_png=no |
| 8004 fi | 8046 fi |
| 8005 } | 8047 } |
| 8006 test -z "$with_png" && { | 8048 test -z "$with_png" && { |
| 8007 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8049 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 8008 echo "configure:8009: checking for png_read_image in -lpng" >&5 | 8050 echo "configure:8051: checking for png_read_image in -lpng" >&5 |
| 8009 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8051 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 8010 | 8052 |
| 8011 xe_check_libs=" -lpng " | 8053 xe_check_libs=" -lpng " |
| 8012 cat > conftest.$ac_ext <<EOF | 8054 cat > conftest.$ac_ext <<EOF |
| 8013 #line 8014 "configure" | 8055 #line 8056 "configure" |
| 8014 #include "confdefs.h" | 8056 #include "confdefs.h" |
| 8015 /* Override any gcc2 internal prototype to avoid an error. */ | 8057 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8016 /* We use char because int might match the return type of a gcc2 | 8058 /* We use char because int might match the return type of a gcc2 |
| 8017 builtin and then its argument prototype would still apply. */ | 8059 builtin and then its argument prototype would still apply. */ |
| 8018 char png_read_image(); | 8060 char png_read_image(); |
| 8019 | 8061 |
| 8020 int main() { | 8062 int main() { |
| 8021 png_read_image() | 8063 png_read_image() |
| 8022 ; return 0; } | 8064 ; return 0; } |
| 8023 EOF | 8065 EOF |
| 8024 if { (eval echo configure:8025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8066 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8025 rm -rf conftest* | 8067 rm -rf conftest* |
| 8026 eval "ac_cv_lib_$ac_lib_var=yes" | 8068 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8027 else | 8069 else |
| 8028 echo "configure: failed program was:" >&5 | 8070 echo "configure: failed program was:" >&5 |
| 8029 cat conftest.$ac_ext >&5 | 8071 cat conftest.$ac_ext >&5 |
| 8042 fi | 8084 fi |
| 8043 | 8085 |
| 8044 } | 8086 } |
| 8045 if test -z "$with_png"; then | 8087 if test -z "$with_png"; then |
| 8046 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8088 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 8047 echo "configure:8048: checking for workable png version information" >&5 | 8089 echo "configure:8090: checking for workable png version information" >&5 |
| 8048 xe_check_libs="-lpng -lz" | 8090 xe_check_libs="-lpng -lz" |
| 8049 cat > conftest.$ac_ext <<EOF | 8091 cat > conftest.$ac_ext <<EOF |
| 8050 #line 8051 "configure" | 8092 #line 8093 "configure" |
| 8051 #include "confdefs.h" | 8093 #include "confdefs.h" |
| 8052 #include <png.h> | 8094 #include <png.h> |
| 8053 int main(int c, char **v) { | 8095 int main(int c, char **v) { |
| 8054 if (c == 1) return 0; | 8096 if (c == 1) return 0; |
| 8055 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8097 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 8056 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8098 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 8057 EOF | 8099 EOF |
| 8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8100 if { (eval echo configure:8101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 8059 then | 8101 then |
| 8060 ./conftest dummy_arg; png_status=$?; | 8102 ./conftest dummy_arg; png_status=$?; |
| 8061 if test "$png_status" = "0"; then | 8103 if test "$png_status" = "0"; then |
| 8062 with_png=yes; | 8104 with_png=yes; |
| 8063 else | 8105 else |
| 8096 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8138 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 8097 fi | 8139 fi |
| 8098 | 8140 |
| 8099 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8141 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 8100 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8142 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 8101 echo "configure:8102: checking for tiffio.h" >&5 | 8143 echo "configure:8144: checking for tiffio.h" >&5 |
| 8102 | 8144 |
| 8103 cat > conftest.$ac_ext <<EOF | 8145 cat > conftest.$ac_ext <<EOF |
| 8104 #line 8105 "configure" | 8146 #line 8147 "configure" |
| 8105 #include "confdefs.h" | 8147 #include "confdefs.h" |
| 8106 #include <tiffio.h> | 8148 #include <tiffio.h> |
| 8107 EOF | 8149 EOF |
| 8108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8109 { (eval echo configure:8110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8151 { (eval echo configure:8152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8111 if test -z "$ac_err"; then | 8153 if test -z "$ac_err"; then |
| 8112 rm -rf conftest* | 8154 rm -rf conftest* |
| 8113 eval "ac_cv_header_$ac_safe=yes" | 8155 eval "ac_cv_header_$ac_safe=yes" |
| 8114 else | 8156 else |
| 8127 with_tiff=no | 8169 with_tiff=no |
| 8128 fi | 8170 fi |
| 8129 } | 8171 } |
| 8130 test -z "$with_tiff" && { | 8172 test -z "$with_tiff" && { |
| 8131 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8173 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 8132 echo "configure:8133: checking for TIFFClientOpen in -ltiff" >&5 | 8174 echo "configure:8175: checking for TIFFClientOpen in -ltiff" >&5 |
| 8133 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8175 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 8134 | 8176 |
| 8135 xe_check_libs=" -ltiff " | 8177 xe_check_libs=" -ltiff " |
| 8136 cat > conftest.$ac_ext <<EOF | 8178 cat > conftest.$ac_ext <<EOF |
| 8137 #line 8138 "configure" | 8179 #line 8180 "configure" |
| 8138 #include "confdefs.h" | 8180 #include "confdefs.h" |
| 8139 /* Override any gcc2 internal prototype to avoid an error. */ | 8181 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8140 /* We use char because int might match the return type of a gcc2 | 8182 /* We use char because int might match the return type of a gcc2 |
| 8141 builtin and then its argument prototype would still apply. */ | 8183 builtin and then its argument prototype would still apply. */ |
| 8142 char TIFFClientOpen(); | 8184 char TIFFClientOpen(); |
| 8143 | 8185 |
| 8144 int main() { | 8186 int main() { |
| 8145 TIFFClientOpen() | 8187 TIFFClientOpen() |
| 8146 ; return 0; } | 8188 ; return 0; } |
| 8147 EOF | 8189 EOF |
| 8148 if { (eval echo configure:8149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8190 if { (eval echo configure:8191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8149 rm -rf conftest* | 8191 rm -rf conftest* |
| 8150 eval "ac_cv_lib_$ac_lib_var=yes" | 8192 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8151 else | 8193 else |
| 8152 echo "configure: failed program was:" >&5 | 8194 echo "configure: failed program was:" >&5 |
| 8153 cat conftest.$ac_ext >&5 | 8195 cat conftest.$ac_ext >&5 |
| 8182 | 8224 |
| 8183 | 8225 |
| 8184 if test "$with_x11" = "yes"; then | 8226 if test "$with_x11" = "yes"; then |
| 8185 | 8227 |
| 8186 echo "checking for X11 graphics libraries" 1>&6 | 8228 echo "checking for X11 graphics libraries" 1>&6 |
| 8187 echo "configure:8188: checking for X11 graphics libraries" >&5 | 8229 echo "configure:8230: checking for X11 graphics libraries" >&5 |
| 8188 | 8230 |
| 8189 echo "checking for the Athena widgets" 1>&6 | 8231 echo "checking for the Athena widgets" 1>&6 |
| 8190 echo "configure:8191: checking for the Athena widgets" >&5 | 8232 echo "configure:8233: checking for the Athena widgets" >&5 |
| 8191 | 8233 |
| 8192 case "$with_athena" in | 8234 case "$with_athena" in |
| 8193 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8235 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
| 8194 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8236 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
| 8195 "next") athena_variant=neXtaw athena_3d=yes ;; | 8237 "next") athena_variant=neXtaw athena_3d=yes ;; |
| 8199 esac | 8241 esac |
| 8200 | 8242 |
| 8201 if test "$athena_3d" = "no"; then | 8243 if test "$athena_3d" = "no"; then |
| 8202 | 8244 |
| 8203 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8245 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
| 8204 echo "configure:8205: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8246 echo "configure:8247: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
| 8205 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8247 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 8206 | 8248 |
| 8207 xe_check_libs=" -l$athena_variant " | 8249 xe_check_libs=" -l$athena_variant " |
| 8208 cat > conftest.$ac_ext <<EOF | 8250 cat > conftest.$ac_ext <<EOF |
| 8209 #line 8210 "configure" | 8251 #line 8252 "configure" |
| 8210 #include "confdefs.h" | 8252 #include "confdefs.h" |
| 8211 /* Override any gcc2 internal prototype to avoid an error. */ | 8253 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8212 /* We use char because int might match the return type of a gcc2 | 8254 /* We use char because int might match the return type of a gcc2 |
| 8213 builtin and then its argument prototype would still apply. */ | 8255 builtin and then its argument prototype would still apply. */ |
| 8214 char XawScrollbarSetThumb(); | 8256 char XawScrollbarSetThumb(); |
| 8215 | 8257 |
| 8216 int main() { | 8258 int main() { |
| 8217 XawScrollbarSetThumb() | 8259 XawScrollbarSetThumb() |
| 8218 ; return 0; } | 8260 ; return 0; } |
| 8219 EOF | 8261 EOF |
| 8220 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8262 if { (eval echo configure:8263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8221 rm -rf conftest* | 8263 rm -rf conftest* |
| 8222 eval "ac_cv_lib_$ac_lib_var=yes" | 8264 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8223 else | 8265 else |
| 8224 echo "configure: failed program was:" >&5 | 8266 echo "configure: failed program was:" >&5 |
| 8225 cat conftest.$ac_ext >&5 | 8267 cat conftest.$ac_ext >&5 |
| 8231 | 8273 |
| 8232 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 8233 echo "$ac_t""yes" 1>&6 | 8275 echo "$ac_t""yes" 1>&6 |
| 8234 | 8276 |
| 8235 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8277 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 8236 echo "configure:8237: checking for threeDClassRec in -l$athena_variant" >&5 | 8278 echo "configure:8279: checking for threeDClassRec in -l$athena_variant" >&5 |
| 8237 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8279 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8238 | 8280 |
| 8239 xe_check_libs=" -l$athena_variant " | 8281 xe_check_libs=" -l$athena_variant " |
| 8240 cat > conftest.$ac_ext <<EOF | 8282 cat > conftest.$ac_ext <<EOF |
| 8241 #line 8242 "configure" | 8283 #line 8284 "configure" |
| 8242 #include "confdefs.h" | 8284 #include "confdefs.h" |
| 8243 /* Override any gcc2 internal prototype to avoid an error. */ | 8285 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8244 /* We use char because int might match the return type of a gcc2 | 8286 /* We use char because int might match the return type of a gcc2 |
| 8245 builtin and then its argument prototype would still apply. */ | 8287 builtin and then its argument prototype would still apply. */ |
| 8246 char threeDClassRec(); | 8288 char threeDClassRec(); |
| 8247 | 8289 |
| 8248 int main() { | 8290 int main() { |
| 8249 threeDClassRec() | 8291 threeDClassRec() |
| 8250 ; return 0; } | 8292 ; return 0; } |
| 8251 EOF | 8293 EOF |
| 8252 if { (eval echo configure:8253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8253 rm -rf conftest* | 8295 rm -rf conftest* |
| 8254 eval "ac_cv_lib_$ac_lib_var=yes" | 8296 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8255 else | 8297 else |
| 8256 echo "configure: failed program was:" >&5 | 8298 echo "configure: failed program was:" >&5 |
| 8257 cat conftest.$ac_ext >&5 | 8299 cat conftest.$ac_ext >&5 |
| 8278 | 8320 |
| 8279 | 8321 |
| 8280 else | 8322 else |
| 8281 | 8323 |
| 8282 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8324 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 8283 echo "configure:8284: checking for threeDClassRec in -l$athena_variant" >&5 | 8325 echo "configure:8326: checking for threeDClassRec in -l$athena_variant" >&5 |
| 8284 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8326 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8285 | 8327 |
| 8286 xe_check_libs=" -l$athena_variant " | 8328 xe_check_libs=" -l$athena_variant " |
| 8287 cat > conftest.$ac_ext <<EOF | 8329 cat > conftest.$ac_ext <<EOF |
| 8288 #line 8289 "configure" | 8330 #line 8331 "configure" |
| 8289 #include "confdefs.h" | 8331 #include "confdefs.h" |
| 8290 /* Override any gcc2 internal prototype to avoid an error. */ | 8332 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8291 /* We use char because int might match the return type of a gcc2 | 8333 /* We use char because int might match the return type of a gcc2 |
| 8292 builtin and then its argument prototype would still apply. */ | 8334 builtin and then its argument prototype would still apply. */ |
| 8293 char threeDClassRec(); | 8335 char threeDClassRec(); |
| 8294 | 8336 |
| 8295 int main() { | 8337 int main() { |
| 8296 threeDClassRec() | 8338 threeDClassRec() |
| 8297 ; return 0; } | 8339 ; return 0; } |
| 8298 EOF | 8340 EOF |
| 8299 if { (eval echo configure:8300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8341 if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8300 rm -rf conftest* | 8342 rm -rf conftest* |
| 8301 eval "ac_cv_lib_$ac_lib_var=yes" | 8343 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8302 else | 8344 else |
| 8303 echo "configure: failed program was:" >&5 | 8345 echo "configure: failed program was:" >&5 |
| 8304 cat conftest.$ac_ext >&5 | 8346 cat conftest.$ac_ext >&5 |
| 8312 echo "$ac_t""yes" 1>&6 | 8354 echo "$ac_t""yes" 1>&6 |
| 8313 athena_lib=$athena_variant | 8355 athena_lib=$athena_variant |
| 8314 else | 8356 else |
| 8315 echo "$ac_t""no" 1>&6 | 8357 echo "$ac_t""no" 1>&6 |
| 8316 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8358 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
| 8317 echo "configure:8318: checking for threeDClassRec in -lXaw" >&5 | 8359 echo "configure:8360: checking for threeDClassRec in -lXaw" >&5 |
| 8318 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8360 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 8319 | 8361 |
| 8320 xe_check_libs=" -lXaw " | 8362 xe_check_libs=" -lXaw " |
| 8321 cat > conftest.$ac_ext <<EOF | 8363 cat > conftest.$ac_ext <<EOF |
| 8322 #line 8323 "configure" | 8364 #line 8365 "configure" |
| 8323 #include "confdefs.h" | 8365 #include "confdefs.h" |
| 8324 /* Override any gcc2 internal prototype to avoid an error. */ | 8366 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8325 /* We use char because int might match the return type of a gcc2 | 8367 /* We use char because int might match the return type of a gcc2 |
| 8326 builtin and then its argument prototype would still apply. */ | 8368 builtin and then its argument prototype would still apply. */ |
| 8327 char threeDClassRec(); | 8369 char threeDClassRec(); |
| 8328 | 8370 |
| 8329 int main() { | 8371 int main() { |
| 8330 threeDClassRec() | 8372 threeDClassRec() |
| 8331 ; return 0; } | 8373 ; return 0; } |
| 8332 EOF | 8374 EOF |
| 8333 if { (eval echo configure:8334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8375 if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8334 rm -rf conftest* | 8376 rm -rf conftest* |
| 8335 eval "ac_cv_lib_$ac_lib_var=yes" | 8377 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8336 else | 8378 else |
| 8337 echo "configure: failed program was:" >&5 | 8379 echo "configure: failed program was:" >&5 |
| 8338 cat conftest.$ac_ext >&5 | 8380 cat conftest.$ac_ext >&5 |
| 8359 fi | 8401 fi |
| 8360 | 8402 |
| 8361 if test "$athena_3d" = "no"; then | 8403 if test "$athena_3d" = "no"; then |
| 8362 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8404 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8363 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8405 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 8364 echo "configure:8365: checking for X11/Xaw/ThreeD.h" >&5 | 8406 echo "configure:8407: checking for X11/Xaw/ThreeD.h" >&5 |
| 8365 | 8407 |
| 8366 cat > conftest.$ac_ext <<EOF | 8408 cat > conftest.$ac_ext <<EOF |
| 8367 #line 8368 "configure" | 8409 #line 8410 "configure" |
| 8368 #include "confdefs.h" | 8410 #include "confdefs.h" |
| 8369 #include <X11/Xaw/ThreeD.h> | 8411 #include <X11/Xaw/ThreeD.h> |
| 8370 EOF | 8412 EOF |
| 8371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8372 { (eval echo configure:8373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8414 { (eval echo configure:8415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8374 if test -z "$ac_err"; then | 8416 if test -z "$ac_err"; then |
| 8375 rm -rf conftest* | 8417 rm -rf conftest* |
| 8376 eval "ac_cv_header_$ac_safe=yes" | 8418 eval "ac_cv_header_$ac_safe=yes" |
| 8377 else | 8419 else |
| 8387 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8429 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
| 8388 else | 8430 else |
| 8389 echo "$ac_t""no" 1>&6 | 8431 echo "$ac_t""no" 1>&6 |
| 8390 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8432 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
| 8391 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8433 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
| 8392 echo "configure:8393: checking for X11/Xaw/XawInit.h" >&5 | 8434 echo "configure:8435: checking for X11/Xaw/XawInit.h" >&5 |
| 8393 | 8435 |
| 8394 cat > conftest.$ac_ext <<EOF | 8436 cat > conftest.$ac_ext <<EOF |
| 8395 #line 8396 "configure" | 8437 #line 8438 "configure" |
| 8396 #include "confdefs.h" | 8438 #include "confdefs.h" |
| 8397 #include <X11/Xaw/XawInit.h> | 8439 #include <X11/Xaw/XawInit.h> |
| 8398 EOF | 8440 EOF |
| 8399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8400 { (eval echo configure:8401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8442 { (eval echo configure:8443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8402 if test -z "$ac_err"; then | 8444 if test -z "$ac_err"; then |
| 8403 rm -rf conftest* | 8445 rm -rf conftest* |
| 8404 eval "ac_cv_header_$ac_safe=yes" | 8446 eval "ac_cv_header_$ac_safe=yes" |
| 8405 else | 8447 else |
| 8421 fi | 8463 fi |
| 8422 | 8464 |
| 8423 else | 8465 else |
| 8424 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8466 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 8425 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8467 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 8426 echo "configure:8427: checking for X11/$athena_variant/XawInit.h" >&5 | 8468 echo "configure:8469: checking for X11/$athena_variant/XawInit.h" >&5 |
| 8427 | 8469 |
| 8428 cat > conftest.$ac_ext <<EOF | 8470 cat > conftest.$ac_ext <<EOF |
| 8429 #line 8430 "configure" | 8471 #line 8472 "configure" |
| 8430 #include "confdefs.h" | 8472 #include "confdefs.h" |
| 8431 #include <X11/$athena_variant/XawInit.h> | 8473 #include <X11/$athena_variant/XawInit.h> |
| 8432 EOF | 8474 EOF |
| 8433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8434 { (eval echo configure:8435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8476 { (eval echo configure:8477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8436 if test -z "$ac_err"; then | 8478 if test -z "$ac_err"; then |
| 8437 rm -rf conftest* | 8479 rm -rf conftest* |
| 8438 eval "ac_cv_header_$ac_safe=yes" | 8480 eval "ac_cv_header_$ac_safe=yes" |
| 8439 else | 8481 else |
| 8446 rm -f conftest* | 8488 rm -f conftest* |
| 8447 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8448 echo "$ac_t""yes" 1>&6 | 8490 echo "$ac_t""yes" 1>&6 |
| 8449 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8491 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8450 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8492 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 8451 echo "configure:8452: checking for X11/$athena_variant/ThreeD.h" >&5 | 8493 echo "configure:8494: checking for X11/$athena_variant/ThreeD.h" >&5 |
| 8452 | 8494 |
| 8453 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
| 8454 #line 8455 "configure" | 8496 #line 8497 "configure" |
| 8455 #include "confdefs.h" | 8497 #include "confdefs.h" |
| 8456 #include <X11/$athena_variant/ThreeD.h> | 8498 #include <X11/$athena_variant/ThreeD.h> |
| 8457 EOF | 8499 EOF |
| 8458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8459 { (eval echo configure:8460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8501 { (eval echo configure:8502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8461 if test -z "$ac_err"; then | 8503 if test -z "$ac_err"; then |
| 8462 rm -rf conftest* | 8504 rm -rf conftest* |
| 8463 eval "ac_cv_header_$ac_safe=yes" | 8505 eval "ac_cv_header_$ac_safe=yes" |
| 8464 else | 8506 else |
| 8482 | 8524 |
| 8483 | 8525 |
| 8484 if test -z "$athena_h_path"; then | 8526 if test -z "$athena_h_path"; then |
| 8485 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8527 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 8486 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8528 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 8487 echo "configure:8488: checking for $athena_variant/XawInit.h" >&5 | 8529 echo "configure:8530: checking for $athena_variant/XawInit.h" >&5 |
| 8488 | 8530 |
| 8489 cat > conftest.$ac_ext <<EOF | 8531 cat > conftest.$ac_ext <<EOF |
| 8490 #line 8491 "configure" | 8532 #line 8533 "configure" |
| 8491 #include "confdefs.h" | 8533 #include "confdefs.h" |
| 8492 #include <$athena_variant/XawInit.h> | 8534 #include <$athena_variant/XawInit.h> |
| 8493 EOF | 8535 EOF |
| 8494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8495 { (eval echo configure:8496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8537 { (eval echo configure:8538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8497 if test -z "$ac_err"; then | 8539 if test -z "$ac_err"; then |
| 8498 rm -rf conftest* | 8540 rm -rf conftest* |
| 8499 eval "ac_cv_header_$ac_safe=yes" | 8541 eval "ac_cv_header_$ac_safe=yes" |
| 8500 else | 8542 else |
| 8507 rm -f conftest* | 8549 rm -f conftest* |
| 8508 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8509 echo "$ac_t""yes" 1>&6 | 8551 echo "$ac_t""yes" 1>&6 |
| 8510 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8552 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8511 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8553 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 8512 echo "configure:8513: checking for $athena_variant/ThreeD.h" >&5 | 8554 echo "configure:8555: checking for $athena_variant/ThreeD.h" >&5 |
| 8513 | 8555 |
| 8514 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
| 8515 #line 8516 "configure" | 8557 #line 8558 "configure" |
| 8516 #include "confdefs.h" | 8558 #include "confdefs.h" |
| 8517 #include <$athena_variant/ThreeD.h> | 8559 #include <$athena_variant/ThreeD.h> |
| 8518 EOF | 8560 EOF |
| 8519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8520 { (eval echo configure:8521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8522 if test -z "$ac_err"; then | 8564 if test -z "$ac_err"; then |
| 8523 rm -rf conftest* | 8565 rm -rf conftest* |
| 8524 eval "ac_cv_header_$ac_safe=yes" | 8566 eval "ac_cv_header_$ac_safe=yes" |
| 8525 else | 8567 else |
| 8544 fi | 8586 fi |
| 8545 | 8587 |
| 8546 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8588 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 8547 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8589 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 8548 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8590 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 8549 echo "configure:8550: checking for X11/Xaw3d/XawInit.h" >&5 | 8591 echo "configure:8592: checking for X11/Xaw3d/XawInit.h" >&5 |
| 8550 | 8592 |
| 8551 cat > conftest.$ac_ext <<EOF | 8593 cat > conftest.$ac_ext <<EOF |
| 8552 #line 8553 "configure" | 8594 #line 8595 "configure" |
| 8553 #include "confdefs.h" | 8595 #include "confdefs.h" |
| 8554 #include <X11/Xaw3d/XawInit.h> | 8596 #include <X11/Xaw3d/XawInit.h> |
| 8555 EOF | 8597 EOF |
| 8556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8557 { (eval echo configure:8558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8599 { (eval echo configure:8600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8559 if test -z "$ac_err"; then | 8601 if test -z "$ac_err"; then |
| 8560 rm -rf conftest* | 8602 rm -rf conftest* |
| 8561 eval "ac_cv_header_$ac_safe=yes" | 8603 eval "ac_cv_header_$ac_safe=yes" |
| 8562 else | 8604 else |
| 8569 rm -f conftest* | 8611 rm -f conftest* |
| 8570 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8571 echo "$ac_t""yes" 1>&6 | 8613 echo "$ac_t""yes" 1>&6 |
| 8572 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8614 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8573 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8615 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 8574 echo "configure:8575: checking for X11/Xaw3d/ThreeD.h" >&5 | 8616 echo "configure:8617: checking for X11/Xaw3d/ThreeD.h" >&5 |
| 8575 | 8617 |
| 8576 cat > conftest.$ac_ext <<EOF | 8618 cat > conftest.$ac_ext <<EOF |
| 8577 #line 8578 "configure" | 8619 #line 8620 "configure" |
| 8578 #include "confdefs.h" | 8620 #include "confdefs.h" |
| 8579 #include <X11/Xaw3d/ThreeD.h> | 8621 #include <X11/Xaw3d/ThreeD.h> |
| 8580 EOF | 8622 EOF |
| 8581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8582 { (eval echo configure:8583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8624 { (eval echo configure:8625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8584 if test -z "$ac_err"; then | 8626 if test -z "$ac_err"; then |
| 8585 rm -rf conftest* | 8627 rm -rf conftest* |
| 8586 eval "ac_cv_header_$ac_safe=yes" | 8628 eval "ac_cv_header_$ac_safe=yes" |
| 8587 else | 8629 else |
| 8609 fi | 8651 fi |
| 8610 | 8652 |
| 8611 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8653 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 8612 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8654 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 8613 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8655 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 8614 echo "configure:8615: checking for Xaw3d/XawInit.h" >&5 | 8656 echo "configure:8657: checking for Xaw3d/XawInit.h" >&5 |
| 8615 | 8657 |
| 8616 cat > conftest.$ac_ext <<EOF | 8658 cat > conftest.$ac_ext <<EOF |
| 8617 #line 8618 "configure" | 8659 #line 8660 "configure" |
| 8618 #include "confdefs.h" | 8660 #include "confdefs.h" |
| 8619 #include <Xaw3d/XawInit.h> | 8661 #include <Xaw3d/XawInit.h> |
| 8620 EOF | 8662 EOF |
| 8621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8664 { (eval echo configure:8665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8624 if test -z "$ac_err"; then | 8666 if test -z "$ac_err"; then |
| 8625 rm -rf conftest* | 8667 rm -rf conftest* |
| 8626 eval "ac_cv_header_$ac_safe=yes" | 8668 eval "ac_cv_header_$ac_safe=yes" |
| 8627 else | 8669 else |
| 8634 rm -f conftest* | 8676 rm -f conftest* |
| 8635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8677 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8636 echo "$ac_t""yes" 1>&6 | 8678 echo "$ac_t""yes" 1>&6 |
| 8637 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8679 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8638 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8680 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 8639 echo "configure:8640: checking for Xaw3d/ThreeD.h" >&5 | 8681 echo "configure:8682: checking for Xaw3d/ThreeD.h" >&5 |
| 8640 | 8682 |
| 8641 cat > conftest.$ac_ext <<EOF | 8683 cat > conftest.$ac_ext <<EOF |
| 8642 #line 8643 "configure" | 8684 #line 8685 "configure" |
| 8643 #include "confdefs.h" | 8685 #include "confdefs.h" |
| 8644 #include <Xaw3d/ThreeD.h> | 8686 #include <Xaw3d/ThreeD.h> |
| 8645 EOF | 8687 EOF |
| 8646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8647 { (eval echo configure:8648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8689 { (eval echo configure:8690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8649 if test -z "$ac_err"; then | 8691 if test -z "$ac_err"; then |
| 8650 rm -rf conftest* | 8692 rm -rf conftest* |
| 8651 eval "ac_cv_header_$ac_safe=yes" | 8693 eval "ac_cv_header_$ac_safe=yes" |
| 8652 else | 8694 else |
| 8674 fi | 8716 fi |
| 8675 | 8717 |
| 8676 if test -z "$athena_h_path"; then | 8718 if test -z "$athena_h_path"; then |
| 8677 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8719 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 8678 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8720 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 8679 echo "configure:8680: checking for X11/Xaw/ThreeD.h" >&5 | 8721 echo "configure:8722: checking for X11/Xaw/ThreeD.h" >&5 |
| 8680 | 8722 |
| 8681 cat > conftest.$ac_ext <<EOF | 8723 cat > conftest.$ac_ext <<EOF |
| 8682 #line 8683 "configure" | 8724 #line 8725 "configure" |
| 8683 #include "confdefs.h" | 8725 #include "confdefs.h" |
| 8684 #include <X11/Xaw/ThreeD.h> | 8726 #include <X11/Xaw/ThreeD.h> |
| 8685 EOF | 8727 EOF |
| 8686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8728 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8687 { (eval echo configure:8688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8729 { (eval echo configure:8730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8730 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8689 if test -z "$ac_err"; then | 8731 if test -z "$ac_err"; then |
| 8690 rm -rf conftest* | 8732 rm -rf conftest* |
| 8691 eval "ac_cv_header_$ac_safe=yes" | 8733 eval "ac_cv_header_$ac_safe=yes" |
| 8692 else | 8734 else |
| 8717 have_xaw=no | 8759 have_xaw=no |
| 8718 fi | 8760 fi |
| 8719 | 8761 |
| 8720 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8762 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 8721 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8763 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 8722 echo "configure:8723: checking for Xm/Xm.h" >&5 | 8764 echo "configure:8765: checking for Xm/Xm.h" >&5 |
| 8723 | 8765 |
| 8724 cat > conftest.$ac_ext <<EOF | 8766 cat > conftest.$ac_ext <<EOF |
| 8725 #line 8726 "configure" | 8767 #line 8768 "configure" |
| 8726 #include "confdefs.h" | 8768 #include "confdefs.h" |
| 8727 #include <Xm/Xm.h> | 8769 #include <Xm/Xm.h> |
| 8728 EOF | 8770 EOF |
| 8729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8730 { (eval echo configure:8731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8772 { (eval echo configure:8773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8732 if test -z "$ac_err"; then | 8774 if test -z "$ac_err"; then |
| 8733 rm -rf conftest* | 8775 rm -rf conftest* |
| 8734 eval "ac_cv_header_$ac_safe=yes" | 8776 eval "ac_cv_header_$ac_safe=yes" |
| 8735 else | 8777 else |
| 8742 rm -f conftest* | 8784 rm -f conftest* |
| 8743 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8744 echo "$ac_t""yes" 1>&6 | 8786 echo "$ac_t""yes" 1>&6 |
| 8745 | 8787 |
| 8746 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8788 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 8747 echo "configure:8748: checking for XmStringFree in -lXm" >&5 | 8789 echo "configure:8790: checking for XmStringFree in -lXm" >&5 |
| 8748 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8790 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 8749 | 8791 |
| 8750 xe_check_libs=" -lXm " | 8792 xe_check_libs=" -lXm " |
| 8751 cat > conftest.$ac_ext <<EOF | 8793 cat > conftest.$ac_ext <<EOF |
| 8752 #line 8753 "configure" | 8794 #line 8795 "configure" |
| 8753 #include "confdefs.h" | 8795 #include "confdefs.h" |
| 8754 /* Override any gcc2 internal prototype to avoid an error. */ | 8796 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8755 /* We use char because int might match the return type of a gcc2 | 8797 /* We use char because int might match the return type of a gcc2 |
| 8756 builtin and then its argument prototype would still apply. */ | 8798 builtin and then its argument prototype would still apply. */ |
| 8757 char XmStringFree(); | 8799 char XmStringFree(); |
| 8758 | 8800 |
| 8759 int main() { | 8801 int main() { |
| 8760 XmStringFree() | 8802 XmStringFree() |
| 8761 ; return 0; } | 8803 ; return 0; } |
| 8762 EOF | 8804 EOF |
| 8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8764 rm -rf conftest* | 8806 rm -rf conftest* |
| 8765 eval "ac_cv_lib_$ac_lib_var=yes" | 8807 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8766 else | 8808 else |
| 8767 echo "configure: failed program was:" >&5 | 8809 echo "configure: failed program was:" >&5 |
| 8768 cat conftest.$ac_ext >&5 | 8810 cat conftest.$ac_ext >&5 |
| 8787 fi | 8829 fi |
| 8788 | 8830 |
| 8789 | 8831 |
| 8790 if test "$have_motif" = "yes"; then | 8832 if test "$have_motif" = "yes"; then |
| 8791 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8833 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 8792 echo "configure:8793: checking for Lesstif" >&5 | 8834 echo "configure:8835: checking for Lesstif" >&5 |
| 8793 cat > conftest.$ac_ext <<EOF | 8835 cat > conftest.$ac_ext <<EOF |
| 8794 #line 8795 "configure" | 8836 #line 8837 "configure" |
| 8795 #include "confdefs.h" | 8837 #include "confdefs.h" |
| 8796 #include <Xm/Xm.h> | 8838 #include <Xm/Xm.h> |
| 8797 #ifdef LESSTIF_VERSION | 8839 #ifdef LESSTIF_VERSION |
| 8798 yes | 8840 yes |
| 8799 #endif | 8841 #endif |
| 9195 fi | 9237 fi |
| 9196 fi | 9238 fi |
| 9197 | 9239 |
| 9198 if test "$with_mule" = "yes" ; then | 9240 if test "$with_mule" = "yes" ; then |
| 9199 echo "checking for Mule-related features" 1>&6 | 9241 echo "checking for Mule-related features" 1>&6 |
| 9200 echo "configure:9201: checking for Mule-related features" >&5 | 9242 echo "configure:9243: checking for Mule-related features" >&5 |
| 9201 { test "$extra_verbose" = "yes" && cat << \EOF | 9243 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9202 Defining MULE | 9244 Defining MULE |
| 9203 EOF | 9245 EOF |
| 9204 cat >> confdefs.h <<\EOF | 9246 cat >> confdefs.h <<\EOF |
| 9205 #define MULE 1 | 9247 #define MULE 1 |
| 9220 | 9262 |
| 9221 for ac_hdr in libintl.h | 9263 for ac_hdr in libintl.h |
| 9222 do | 9264 do |
| 9223 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9265 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 9224 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9266 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 9225 echo "configure:9226: checking for $ac_hdr" >&5 | 9267 echo "configure:9268: checking for $ac_hdr" >&5 |
| 9226 | 9268 |
| 9227 cat > conftest.$ac_ext <<EOF | 9269 cat > conftest.$ac_ext <<EOF |
| 9228 #line 9229 "configure" | 9270 #line 9271 "configure" |
| 9229 #include "confdefs.h" | 9271 #include "confdefs.h" |
| 9230 #include <$ac_hdr> | 9272 #include <$ac_hdr> |
| 9231 EOF | 9273 EOF |
| 9232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9233 { (eval echo configure:9234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9275 { (eval echo configure:9276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9235 if test -z "$ac_err"; then | 9277 if test -z "$ac_err"; then |
| 9236 rm -rf conftest* | 9278 rm -rf conftest* |
| 9237 eval "ac_cv_header_$ac_safe=yes" | 9279 eval "ac_cv_header_$ac_safe=yes" |
| 9238 else | 9280 else |
| 9259 fi | 9301 fi |
| 9260 done | 9302 done |
| 9261 | 9303 |
| 9262 | 9304 |
| 9263 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9305 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 9264 echo "configure:9265: checking for strerror in -lintl" >&5 | 9306 echo "configure:9307: checking for strerror in -lintl" >&5 |
| 9265 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9307 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 9266 | 9308 |
| 9267 xe_check_libs=" -lintl " | 9309 xe_check_libs=" -lintl " |
| 9268 cat > conftest.$ac_ext <<EOF | 9310 cat > conftest.$ac_ext <<EOF |
| 9269 #line 9270 "configure" | 9311 #line 9312 "configure" |
| 9270 #include "confdefs.h" | 9312 #include "confdefs.h" |
| 9271 /* Override any gcc2 internal prototype to avoid an error. */ | 9313 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9272 /* We use char because int might match the return type of a gcc2 | 9314 /* We use char because int might match the return type of a gcc2 |
| 9273 builtin and then its argument prototype would still apply. */ | 9315 builtin and then its argument prototype would still apply. */ |
| 9274 char strerror(); | 9316 char strerror(); |
| 9275 | 9317 |
| 9276 int main() { | 9318 int main() { |
| 9277 strerror() | 9319 strerror() |
| 9278 ; return 0; } | 9320 ; return 0; } |
| 9279 EOF | 9321 EOF |
| 9280 if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9281 rm -rf conftest* | 9323 rm -rf conftest* |
| 9282 eval "ac_cv_lib_$ac_lib_var=yes" | 9324 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9283 else | 9325 else |
| 9284 echo "configure: failed program was:" >&5 | 9326 echo "configure: failed program was:" >&5 |
| 9285 cat conftest.$ac_ext >&5 | 9327 cat conftest.$ac_ext >&5 |
| 9308 fi | 9350 fi |
| 9309 | 9351 |
| 9310 | 9352 |
| 9311 | 9353 |
| 9312 echo "checking for Mule input methods" 1>&6 | 9354 echo "checking for Mule input methods" 1>&6 |
| 9313 echo "configure:9314: checking for Mule input methods" >&5 | 9355 echo "configure:9356: checking for Mule input methods" >&5 |
| 9314 case "$with_xim" in "" | "yes" ) | 9356 case "$with_xim" in "" | "yes" ) |
| 9315 echo "checking for XIM" 1>&6 | 9357 echo "checking for XIM" 1>&6 |
| 9316 echo "configure:9317: checking for XIM" >&5 | 9358 echo "configure:9359: checking for XIM" >&5 |
| 9317 | 9359 |
| 9318 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9360 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 9319 echo "configure:9320: checking for XOpenIM in -lX11" >&5 | 9361 echo "configure:9362: checking for XOpenIM in -lX11" >&5 |
| 9320 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9362 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 9321 | 9363 |
| 9322 xe_check_libs=" -lX11 " | 9364 xe_check_libs=" -lX11 " |
| 9323 cat > conftest.$ac_ext <<EOF | 9365 cat > conftest.$ac_ext <<EOF |
| 9324 #line 9325 "configure" | 9366 #line 9367 "configure" |
| 9325 #include "confdefs.h" | 9367 #include "confdefs.h" |
| 9326 /* Override any gcc2 internal prototype to avoid an error. */ | 9368 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9327 /* We use char because int might match the return type of a gcc2 | 9369 /* We use char because int might match the return type of a gcc2 |
| 9328 builtin and then its argument prototype would still apply. */ | 9370 builtin and then its argument prototype would still apply. */ |
| 9329 char XOpenIM(); | 9371 char XOpenIM(); |
| 9330 | 9372 |
| 9331 int main() { | 9373 int main() { |
| 9332 XOpenIM() | 9374 XOpenIM() |
| 9333 ; return 0; } | 9375 ; return 0; } |
| 9334 EOF | 9376 EOF |
| 9335 if { (eval echo configure:9336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9377 if { (eval echo configure:9378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9336 rm -rf conftest* | 9378 rm -rf conftest* |
| 9337 eval "ac_cv_lib_$ac_lib_var=yes" | 9379 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9338 else | 9380 else |
| 9339 echo "configure: failed program was:" >&5 | 9381 echo "configure: failed program was:" >&5 |
| 9340 cat conftest.$ac_ext >&5 | 9382 cat conftest.$ac_ext >&5 |
| 9354 | 9396 |
| 9355 | 9397 |
| 9356 if test "$have_motif $have_lesstif" = "yes no"; then | 9398 if test "$have_motif $have_lesstif" = "yes no"; then |
| 9357 | 9399 |
| 9358 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9400 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 9359 echo "configure:9360: checking for XmImMbLookupString in -lXm" >&5 | 9401 echo "configure:9402: checking for XmImMbLookupString in -lXm" >&5 |
| 9360 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9402 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 9361 | 9403 |
| 9362 xe_check_libs=" -lXm " | 9404 xe_check_libs=" -lXm " |
| 9363 cat > conftest.$ac_ext <<EOF | 9405 cat > conftest.$ac_ext <<EOF |
| 9364 #line 9365 "configure" | 9406 #line 9407 "configure" |
| 9365 #include "confdefs.h" | 9407 #include "confdefs.h" |
| 9366 /* Override any gcc2 internal prototype to avoid an error. */ | 9408 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9367 /* We use char because int might match the return type of a gcc2 | 9409 /* We use char because int might match the return type of a gcc2 |
| 9368 builtin and then its argument prototype would still apply. */ | 9410 builtin and then its argument prototype would still apply. */ |
| 9369 char XmImMbLookupString(); | 9411 char XmImMbLookupString(); |
| 9370 | 9412 |
| 9371 int main() { | 9413 int main() { |
| 9372 XmImMbLookupString() | 9414 XmImMbLookupString() |
| 9373 ; return 0; } | 9415 ; return 0; } |
| 9374 EOF | 9416 EOF |
| 9375 if { (eval echo configure:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9417 if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9376 rm -rf conftest* | 9418 rm -rf conftest* |
| 9377 eval "ac_cv_lib_$ac_lib_var=yes" | 9419 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9378 else | 9420 else |
| 9379 echo "configure: failed program was:" >&5 | 9421 echo "configure: failed program was:" >&5 |
| 9380 cat conftest.$ac_ext >&5 | 9422 cat conftest.$ac_ext >&5 |
| 9435 fi | 9477 fi |
| 9436 fi | 9478 fi |
| 9437 | 9479 |
| 9438 if test "$with_xfs" = "yes" ; then | 9480 if test "$with_xfs" = "yes" ; then |
| 9439 echo "checking for XFontSet" 1>&6 | 9481 echo "checking for XFontSet" 1>&6 |
| 9440 echo "configure:9441: checking for XFontSet" >&5 | 9482 echo "configure:9483: checking for XFontSet" >&5 |
| 9441 | 9483 |
| 9442 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9484 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 9443 echo "configure:9444: checking for XmbDrawString in -lX11" >&5 | 9485 echo "configure:9486: checking for XmbDrawString in -lX11" >&5 |
| 9444 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9486 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 9445 | 9487 |
| 9446 xe_check_libs=" -lX11 " | 9488 xe_check_libs=" -lX11 " |
| 9447 cat > conftest.$ac_ext <<EOF | 9489 cat > conftest.$ac_ext <<EOF |
| 9448 #line 9449 "configure" | 9490 #line 9491 "configure" |
| 9449 #include "confdefs.h" | 9491 #include "confdefs.h" |
| 9450 /* Override any gcc2 internal prototype to avoid an error. */ | 9492 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9451 /* We use char because int might match the return type of a gcc2 | 9493 /* We use char because int might match the return type of a gcc2 |
| 9452 builtin and then its argument prototype would still apply. */ | 9494 builtin and then its argument prototype would still apply. */ |
| 9453 char XmbDrawString(); | 9495 char XmbDrawString(); |
| 9454 | 9496 |
| 9455 int main() { | 9497 int main() { |
| 9456 XmbDrawString() | 9498 XmbDrawString() |
| 9457 ; return 0; } | 9499 ; return 0; } |
| 9458 EOF | 9500 EOF |
| 9459 if { (eval echo configure:9460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9501 if { (eval echo configure:9502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9460 rm -rf conftest* | 9502 rm -rf conftest* |
| 9461 eval "ac_cv_lib_$ac_lib_var=yes" | 9503 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9462 else | 9504 else |
| 9463 echo "configure: failed program was:" >&5 | 9505 echo "configure: failed program was:" >&5 |
| 9464 cat conftest.$ac_ext >&5 | 9506 cat conftest.$ac_ext >&5 |
| 9494 fi | 9536 fi |
| 9495 fi | 9537 fi |
| 9496 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9538 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 9497 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9539 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 9498 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9540 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 9499 echo "configure:9500: checking for wnn/jllib.h" >&5 | 9541 echo "configure:9542: checking for wnn/jllib.h" >&5 |
| 9500 | 9542 |
| 9501 cat > conftest.$ac_ext <<EOF | 9543 cat > conftest.$ac_ext <<EOF |
| 9502 #line 9503 "configure" | 9544 #line 9545 "configure" |
| 9503 #include "confdefs.h" | 9545 #include "confdefs.h" |
| 9504 #include <wnn/jllib.h> | 9546 #include <wnn/jllib.h> |
| 9505 EOF | 9547 EOF |
| 9506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9507 { (eval echo configure:9508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9549 { (eval echo configure:9550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9509 if test -z "$ac_err"; then | 9551 if test -z "$ac_err"; then |
| 9510 rm -rf conftest* | 9552 rm -rf conftest* |
| 9511 eval "ac_cv_header_$ac_safe=yes" | 9553 eval "ac_cv_header_$ac_safe=yes" |
| 9512 else | 9554 else |
| 9525 with_wnn=no | 9567 with_wnn=no |
| 9526 fi | 9568 fi |
| 9527 } | 9569 } |
| 9528 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 9570 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
| 9529 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 9571 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
| 9530 echo "configure:9531: checking for wnn/commonhd.h" >&5 | 9572 echo "configure:9573: checking for wnn/commonhd.h" >&5 |
| 9531 | 9573 |
| 9532 cat > conftest.$ac_ext <<EOF | 9574 cat > conftest.$ac_ext <<EOF |
| 9533 #line 9534 "configure" | 9575 #line 9576 "configure" |
| 9534 #include "confdefs.h" | 9576 #include "confdefs.h" |
| 9535 #include <wnn/commonhd.h> | 9577 #include <wnn/commonhd.h> |
| 9536 EOF | 9578 EOF |
| 9537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9538 { (eval echo configure:9539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9580 { (eval echo configure:9581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9540 if test -z "$ac_err"; then | 9582 if test -z "$ac_err"; then |
| 9541 rm -rf conftest* | 9583 rm -rf conftest* |
| 9542 eval "ac_cv_header_$ac_safe=yes" | 9584 eval "ac_cv_header_$ac_safe=yes" |
| 9543 else | 9585 else |
| 9558 } | 9600 } |
| 9559 if test "$with_wnn" != "no"; then | 9601 if test "$with_wnn" != "no"; then |
| 9560 for ac_func in crypt | 9602 for ac_func in crypt |
| 9561 do | 9603 do |
| 9562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 9563 echo "configure:9564: checking for $ac_func" >&5 | 9605 echo "configure:9606: checking for $ac_func" >&5 |
| 9564 | 9606 |
| 9565 cat > conftest.$ac_ext <<EOF | 9607 cat > conftest.$ac_ext <<EOF |
| 9566 #line 9567 "configure" | 9608 #line 9609 "configure" |
| 9567 #include "confdefs.h" | 9609 #include "confdefs.h" |
| 9568 /* System header to define __stub macros and hopefully few prototypes, | 9610 /* System header to define __stub macros and hopefully few prototypes, |
| 9569 which can conflict with char $ac_func(); below. */ | 9611 which can conflict with char $ac_func(); below. */ |
| 9570 #include <assert.h> | 9612 #include <assert.h> |
| 9571 /* Override any gcc2 internal prototype to avoid an error. */ | 9613 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9584 $ac_func(); | 9626 $ac_func(); |
| 9585 #endif | 9627 #endif |
| 9586 | 9628 |
| 9587 ; return 0; } | 9629 ; return 0; } |
| 9588 EOF | 9630 EOF |
| 9589 if { (eval echo configure:9590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9631 if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9590 rm -rf conftest* | 9632 rm -rf conftest* |
| 9591 eval "ac_cv_func_$ac_func=yes" | 9633 eval "ac_cv_func_$ac_func=yes" |
| 9592 else | 9634 else |
| 9593 echo "configure: failed program was:" >&5 | 9635 echo "configure: failed program was:" >&5 |
| 9594 cat conftest.$ac_ext >&5 | 9636 cat conftest.$ac_ext >&5 |
| 9613 fi | 9655 fi |
| 9614 done | 9656 done |
| 9615 | 9657 |
| 9616 test "$ac_cv_func_crypt" != "yes" && { | 9658 test "$ac_cv_func_crypt" != "yes" && { |
| 9617 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9659 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 9618 echo "configure:9619: checking for crypt in -lcrypt" >&5 | 9660 echo "configure:9661: checking for crypt in -lcrypt" >&5 |
| 9619 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9661 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 9620 | 9662 |
| 9621 xe_check_libs=" -lcrypt " | 9663 xe_check_libs=" -lcrypt " |
| 9622 cat > conftest.$ac_ext <<EOF | 9664 cat > conftest.$ac_ext <<EOF |
| 9623 #line 9624 "configure" | 9665 #line 9666 "configure" |
| 9624 #include "confdefs.h" | 9666 #include "confdefs.h" |
| 9625 /* Override any gcc2 internal prototype to avoid an error. */ | 9667 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9626 /* We use char because int might match the return type of a gcc2 | 9668 /* We use char because int might match the return type of a gcc2 |
| 9627 builtin and then its argument prototype would still apply. */ | 9669 builtin and then its argument prototype would still apply. */ |
| 9628 char crypt(); | 9670 char crypt(); |
| 9629 | 9671 |
| 9630 int main() { | 9672 int main() { |
| 9631 crypt() | 9673 crypt() |
| 9632 ; return 0; } | 9674 ; return 0; } |
| 9633 EOF | 9675 EOF |
| 9634 if { (eval echo configure:9635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9676 if { (eval echo configure:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9635 rm -rf conftest* | 9677 rm -rf conftest* |
| 9636 eval "ac_cv_lib_$ac_lib_var=yes" | 9678 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9637 else | 9679 else |
| 9638 echo "configure: failed program was:" >&5 | 9680 echo "configure: failed program was:" >&5 |
| 9639 cat conftest.$ac_ext >&5 | 9681 cat conftest.$ac_ext >&5 |
| 9664 } | 9706 } |
| 9665 fi | 9707 fi |
| 9666 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9708 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 9667 | 9709 |
| 9668 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9710 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 9669 echo "configure:9670: checking for jl_dic_list_e in -lwnn" >&5 | 9711 echo "configure:9712: checking for jl_dic_list_e in -lwnn" >&5 |
| 9670 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9712 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 9671 | 9713 |
| 9672 xe_check_libs=" -lwnn " | 9714 xe_check_libs=" -lwnn " |
| 9673 cat > conftest.$ac_ext <<EOF | 9715 cat > conftest.$ac_ext <<EOF |
| 9674 #line 9675 "configure" | 9716 #line 9717 "configure" |
| 9675 #include "confdefs.h" | 9717 #include "confdefs.h" |
| 9676 /* Override any gcc2 internal prototype to avoid an error. */ | 9718 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9677 /* We use char because int might match the return type of a gcc2 | 9719 /* We use char because int might match the return type of a gcc2 |
| 9678 builtin and then its argument prototype would still apply. */ | 9720 builtin and then its argument prototype would still apply. */ |
| 9679 char jl_dic_list_e(); | 9721 char jl_dic_list_e(); |
| 9680 | 9722 |
| 9681 int main() { | 9723 int main() { |
| 9682 jl_dic_list_e() | 9724 jl_dic_list_e() |
| 9683 ; return 0; } | 9725 ; return 0; } |
| 9684 EOF | 9726 EOF |
| 9685 if { (eval echo configure:9686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9727 if { (eval echo configure:9728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9686 rm -rf conftest* | 9728 rm -rf conftest* |
| 9687 eval "ac_cv_lib_$ac_lib_var=yes" | 9729 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9688 else | 9730 else |
| 9689 echo "configure: failed program was:" >&5 | 9731 echo "configure: failed program was:" >&5 |
| 9690 cat conftest.$ac_ext >&5 | 9732 cat conftest.$ac_ext >&5 |
| 9698 echo "$ac_t""yes" 1>&6 | 9740 echo "$ac_t""yes" 1>&6 |
| 9699 libwnn=wnn | 9741 libwnn=wnn |
| 9700 else | 9742 else |
| 9701 echo "$ac_t""no" 1>&6 | 9743 echo "$ac_t""no" 1>&6 |
| 9702 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9744 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 9703 echo "configure:9704: checking for jl_dic_list_e in -lwnn4" >&5 | 9745 echo "configure:9746: checking for jl_dic_list_e in -lwnn4" >&5 |
| 9704 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9746 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 9705 | 9747 |
| 9706 xe_check_libs=" -lwnn4 " | 9748 xe_check_libs=" -lwnn4 " |
| 9707 cat > conftest.$ac_ext <<EOF | 9749 cat > conftest.$ac_ext <<EOF |
| 9708 #line 9709 "configure" | 9750 #line 9751 "configure" |
| 9709 #include "confdefs.h" | 9751 #include "confdefs.h" |
| 9710 /* Override any gcc2 internal prototype to avoid an error. */ | 9752 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9711 /* We use char because int might match the return type of a gcc2 | 9753 /* We use char because int might match the return type of a gcc2 |
| 9712 builtin and then its argument prototype would still apply. */ | 9754 builtin and then its argument prototype would still apply. */ |
| 9713 char jl_dic_list_e(); | 9755 char jl_dic_list_e(); |
| 9714 | 9756 |
| 9715 int main() { | 9757 int main() { |
| 9716 jl_dic_list_e() | 9758 jl_dic_list_e() |
| 9717 ; return 0; } | 9759 ; return 0; } |
| 9718 EOF | 9760 EOF |
| 9719 if { (eval echo configure:9720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9720 rm -rf conftest* | 9762 rm -rf conftest* |
| 9721 eval "ac_cv_lib_$ac_lib_var=yes" | 9763 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9722 else | 9764 else |
| 9723 echo "configure: failed program was:" >&5 | 9765 echo "configure: failed program was:" >&5 |
| 9724 cat conftest.$ac_ext >&5 | 9766 cat conftest.$ac_ext >&5 |
| 9732 echo "$ac_t""yes" 1>&6 | 9774 echo "$ac_t""yes" 1>&6 |
| 9733 libwnn=wnn4 | 9775 libwnn=wnn4 |
| 9734 else | 9776 else |
| 9735 echo "$ac_t""no" 1>&6 | 9777 echo "$ac_t""no" 1>&6 |
| 9736 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9778 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 9737 echo "configure:9738: checking for jl_dic_list_e in -lwnn6" >&5 | 9779 echo "configure:9780: checking for jl_dic_list_e in -lwnn6" >&5 |
| 9738 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9780 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 9739 | 9781 |
| 9740 xe_check_libs=" -lwnn6 " | 9782 xe_check_libs=" -lwnn6 " |
| 9741 cat > conftest.$ac_ext <<EOF | 9783 cat > conftest.$ac_ext <<EOF |
| 9742 #line 9743 "configure" | 9784 #line 9785 "configure" |
| 9743 #include "confdefs.h" | 9785 #include "confdefs.h" |
| 9744 /* Override any gcc2 internal prototype to avoid an error. */ | 9786 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9745 /* We use char because int might match the return type of a gcc2 | 9787 /* We use char because int might match the return type of a gcc2 |
| 9746 builtin and then its argument prototype would still apply. */ | 9788 builtin and then its argument prototype would still apply. */ |
| 9747 char jl_dic_list_e(); | 9789 char jl_dic_list_e(); |
| 9748 | 9790 |
| 9749 int main() { | 9791 int main() { |
| 9750 jl_dic_list_e() | 9792 jl_dic_list_e() |
| 9751 ; return 0; } | 9793 ; return 0; } |
| 9752 EOF | 9794 EOF |
| 9753 if { (eval echo configure:9754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9795 if { (eval echo configure:9796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9754 rm -rf conftest* | 9796 rm -rf conftest* |
| 9755 eval "ac_cv_lib_$ac_lib_var=yes" | 9797 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9756 else | 9798 else |
| 9757 echo "configure: failed program was:" >&5 | 9799 echo "configure: failed program was:" >&5 |
| 9758 cat conftest.$ac_ext >&5 | 9800 cat conftest.$ac_ext >&5 |
| 9766 echo "$ac_t""yes" 1>&6 | 9808 echo "$ac_t""yes" 1>&6 |
| 9767 libwnn=wnn6 | 9809 libwnn=wnn6 |
| 9768 else | 9810 else |
| 9769 echo "$ac_t""no" 1>&6 | 9811 echo "$ac_t""no" 1>&6 |
| 9770 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9812 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 9771 echo "configure:9772: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9813 echo "configure:9814: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 9772 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9814 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 9773 | 9815 |
| 9774 xe_check_libs=" -lwnn6_fromsrc " | 9816 xe_check_libs=" -lwnn6_fromsrc " |
| 9775 cat > conftest.$ac_ext <<EOF | 9817 cat > conftest.$ac_ext <<EOF |
| 9776 #line 9777 "configure" | 9818 #line 9819 "configure" |
| 9777 #include "confdefs.h" | 9819 #include "confdefs.h" |
| 9778 /* Override any gcc2 internal prototype to avoid an error. */ | 9820 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9779 /* We use char because int might match the return type of a gcc2 | 9821 /* We use char because int might match the return type of a gcc2 |
| 9780 builtin and then its argument prototype would still apply. */ | 9822 builtin and then its argument prototype would still apply. */ |
| 9781 char dic_list_e(); | 9823 char dic_list_e(); |
| 9782 | 9824 |
| 9783 int main() { | 9825 int main() { |
| 9784 dic_list_e() | 9826 dic_list_e() |
| 9785 ; return 0; } | 9827 ; return 0; } |
| 9786 EOF | 9828 EOF |
| 9787 if { (eval echo configure:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9829 if { (eval echo configure:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9788 rm -rf conftest* | 9830 rm -rf conftest* |
| 9789 eval "ac_cv_lib_$ac_lib_var=yes" | 9831 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9790 else | 9832 else |
| 9791 echo "configure: failed program was:" >&5 | 9833 echo "configure: failed program was:" >&5 |
| 9792 cat conftest.$ac_ext >&5 | 9834 cat conftest.$ac_ext >&5 |
| 9830 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9872 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 9831 fi | 9873 fi |
| 9832 if test "$with_wnn6" != "no"; then | 9874 if test "$with_wnn6" != "no"; then |
| 9833 | 9875 |
| 9834 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9876 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 9835 echo "configure:9836: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9877 echo "configure:9878: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 9836 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9878 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 9837 | 9879 |
| 9838 xe_check_libs=" -l$libwnn " | 9880 xe_check_libs=" -l$libwnn " |
| 9839 cat > conftest.$ac_ext <<EOF | 9881 cat > conftest.$ac_ext <<EOF |
| 9840 #line 9841 "configure" | 9882 #line 9883 "configure" |
| 9841 #include "confdefs.h" | 9883 #include "confdefs.h" |
| 9842 /* Override any gcc2 internal prototype to avoid an error. */ | 9884 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9843 /* We use char because int might match the return type of a gcc2 | 9885 /* We use char because int might match the return type of a gcc2 |
| 9844 builtin and then its argument prototype would still apply. */ | 9886 builtin and then its argument prototype would still apply. */ |
| 9845 char jl_fi_dic_list(); | 9887 char jl_fi_dic_list(); |
| 9846 | 9888 |
| 9847 int main() { | 9889 int main() { |
| 9848 jl_fi_dic_list() | 9890 jl_fi_dic_list() |
| 9849 ; return 0; } | 9891 ; return 0; } |
| 9850 EOF | 9892 EOF |
| 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9893 if { (eval echo configure:9894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9852 rm -rf conftest* | 9894 rm -rf conftest* |
| 9853 eval "ac_cv_lib_$ac_lib_var=yes" | 9895 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9854 else | 9896 else |
| 9855 echo "configure: failed program was:" >&5 | 9897 echo "configure: failed program was:" >&5 |
| 9856 cat conftest.$ac_ext >&5 | 9898 cat conftest.$ac_ext >&5 |
| 9881 | 9923 |
| 9882 canna_includes_found=no | 9924 canna_includes_found=no |
| 9883 if test "$with_canna" != "no"; then | 9925 if test "$with_canna" != "no"; then |
| 9884 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9926 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 9885 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9927 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 9886 echo "configure:9887: checking for canna/jrkanji.h" >&5 | 9928 echo "configure:9929: checking for canna/jrkanji.h" >&5 |
| 9887 | 9929 |
| 9888 cat > conftest.$ac_ext <<EOF | 9930 cat > conftest.$ac_ext <<EOF |
| 9889 #line 9890 "configure" | 9931 #line 9932 "configure" |
| 9890 #include "confdefs.h" | 9932 #include "confdefs.h" |
| 9891 #include <canna/jrkanji.h> | 9933 #include <canna/jrkanji.h> |
| 9892 EOF | 9934 EOF |
| 9893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9894 { (eval echo configure:9895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9936 { (eval echo configure:9937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9937 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9896 if test -z "$ac_err"; then | 9938 if test -z "$ac_err"; then |
| 9897 rm -rf conftest* | 9939 rm -rf conftest* |
| 9898 eval "ac_cv_header_$ac_safe=yes" | 9940 eval "ac_cv_header_$ac_safe=yes" |
| 9899 else | 9941 else |
| 9916 -d "/usr/local/canna/include"; then | 9958 -d "/usr/local/canna/include"; then |
| 9917 save_c_switch_site="$c_switch_site" | 9959 save_c_switch_site="$c_switch_site" |
| 9918 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9960 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 9919 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9961 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 9920 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9962 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 9921 echo "configure:9922: checking for canna/jrkanji.h" >&5 | 9963 echo "configure:9964: checking for canna/jrkanji.h" >&5 |
| 9922 | 9964 |
| 9923 cat > conftest.$ac_ext <<EOF | 9965 cat > conftest.$ac_ext <<EOF |
| 9924 #line 9925 "configure" | 9966 #line 9967 "configure" |
| 9925 #include "confdefs.h" | 9967 #include "confdefs.h" |
| 9926 #include <canna/jrkanji.h> | 9968 #include <canna/jrkanji.h> |
| 9927 EOF | 9969 EOF |
| 9928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9970 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9929 { (eval echo configure:9930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9971 { (eval echo configure:9972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9972 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9931 if test -z "$ac_err"; then | 9973 if test -z "$ac_err"; then |
| 9932 rm -rf conftest* | 9974 rm -rf conftest* |
| 9933 eval "ac_cv_header_$ac_safe=yes" | 9975 eval "ac_cv_header_$ac_safe=yes" |
| 9934 else | 9976 else |
| 9952 fi | 9994 fi |
| 9953 fi | 9995 fi |
| 9954 | 9996 |
| 9955 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9997 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 9956 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9998 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 9957 echo "configure:9958: checking for canna/RK.h" >&5 | 9999 echo "configure:10000: checking for canna/RK.h" >&5 |
| 9958 | 10000 |
| 9959 cat > conftest.$ac_ext <<EOF | 10001 cat > conftest.$ac_ext <<EOF |
| 9960 #line 9961 "configure" | 10002 #line 10003 "configure" |
| 9961 #include "confdefs.h" | 10003 #include "confdefs.h" |
| 9962 #include <canna/RK.h> | 10004 #include <canna/RK.h> |
| 9963 EOF | 10005 EOF |
| 9964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9965 { (eval echo configure:9966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10007 { (eval echo configure:10008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9967 if test -z "$ac_err"; then | 10009 if test -z "$ac_err"; then |
| 9968 rm -rf conftest* | 10010 rm -rf conftest* |
| 9969 eval "ac_cv_header_$ac_safe=yes" | 10011 eval "ac_cv_header_$ac_safe=yes" |
| 9970 else | 10012 else |
| 9983 with_canna=no | 10025 with_canna=no |
| 9984 fi | 10026 fi |
| 9985 } | 10027 } |
| 9986 test -z "$with_canna" && { | 10028 test -z "$with_canna" && { |
| 9987 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10029 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 9988 echo "configure:9989: checking for RkBgnBun in -lRKC" >&5 | 10030 echo "configure:10031: checking for RkBgnBun in -lRKC" >&5 |
| 9989 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10031 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 9990 | 10032 |
| 9991 xe_check_libs=" -lRKC " | 10033 xe_check_libs=" -lRKC " |
| 9992 cat > conftest.$ac_ext <<EOF | 10034 cat > conftest.$ac_ext <<EOF |
| 9993 #line 9994 "configure" | 10035 #line 10036 "configure" |
| 9994 #include "confdefs.h" | 10036 #include "confdefs.h" |
| 9995 /* Override any gcc2 internal prototype to avoid an error. */ | 10037 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9996 /* We use char because int might match the return type of a gcc2 | 10038 /* We use char because int might match the return type of a gcc2 |
| 9997 builtin and then its argument prototype would still apply. */ | 10039 builtin and then its argument prototype would still apply. */ |
| 9998 char RkBgnBun(); | 10040 char RkBgnBun(); |
| 9999 | 10041 |
| 10000 int main() { | 10042 int main() { |
| 10001 RkBgnBun() | 10043 RkBgnBun() |
| 10002 ; return 0; } | 10044 ; return 0; } |
| 10003 EOF | 10045 EOF |
| 10004 if { (eval echo configure:10005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10005 rm -rf conftest* | 10047 rm -rf conftest* |
| 10006 eval "ac_cv_lib_$ac_lib_var=yes" | 10048 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10007 else | 10049 else |
| 10008 echo "configure: failed program was:" >&5 | 10050 echo "configure: failed program was:" >&5 |
| 10009 cat conftest.$ac_ext >&5 | 10051 cat conftest.$ac_ext >&5 |
| 10022 fi | 10064 fi |
| 10023 | 10065 |
| 10024 } | 10066 } |
| 10025 test -z "$with_canna" && { | 10067 test -z "$with_canna" && { |
| 10026 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10068 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 10027 echo "configure:10028: checking for jrKanjiControl in -lcanna" >&5 | 10069 echo "configure:10070: checking for jrKanjiControl in -lcanna" >&5 |
| 10028 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10070 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 10029 | 10071 |
| 10030 xe_check_libs=" -lcanna " | 10072 xe_check_libs=" -lcanna " |
| 10031 cat > conftest.$ac_ext <<EOF | 10073 cat > conftest.$ac_ext <<EOF |
| 10032 #line 10033 "configure" | 10074 #line 10075 "configure" |
| 10033 #include "confdefs.h" | 10075 #include "confdefs.h" |
| 10034 /* Override any gcc2 internal prototype to avoid an error. */ | 10076 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10035 /* We use char because int might match the return type of a gcc2 | 10077 /* We use char because int might match the return type of a gcc2 |
| 10036 builtin and then its argument prototype would still apply. */ | 10078 builtin and then its argument prototype would still apply. */ |
| 10037 char jrKanjiControl(); | 10079 char jrKanjiControl(); |
| 10038 | 10080 |
| 10039 int main() { | 10081 int main() { |
| 10040 jrKanjiControl() | 10082 jrKanjiControl() |
| 10041 ; return 0; } | 10083 ; return 0; } |
| 10042 EOF | 10084 EOF |
| 10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10085 if { (eval echo configure:10086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10044 rm -rf conftest* | 10086 rm -rf conftest* |
| 10045 eval "ac_cv_lib_$ac_lib_var=yes" | 10087 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10046 else | 10088 else |
| 10047 echo "configure: failed program was:" >&5 | 10089 echo "configure: failed program was:" >&5 |
| 10048 cat conftest.$ac_ext >&5 | 10090 cat conftest.$ac_ext >&5 |
| 10087 | 10129 |
| 10088 if test "$need_motif" = "yes" ; then | 10130 if test "$need_motif" = "yes" ; then |
| 10089 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10131 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 10090 | 10132 |
| 10091 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10133 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 10092 echo "configure:10093: checking for layout_object_getvalue in -li18n" >&5 | 10134 echo "configure:10135: checking for layout_object_getvalue in -li18n" >&5 |
| 10093 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10135 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 10094 | 10136 |
| 10095 xe_check_libs=" -li18n " | 10137 xe_check_libs=" -li18n " |
| 10096 cat > conftest.$ac_ext <<EOF | 10138 cat > conftest.$ac_ext <<EOF |
| 10097 #line 10098 "configure" | 10139 #line 10140 "configure" |
| 10098 #include "confdefs.h" | 10140 #include "confdefs.h" |
| 10099 /* Override any gcc2 internal prototype to avoid an error. */ | 10141 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10100 /* We use char because int might match the return type of a gcc2 | 10142 /* We use char because int might match the return type of a gcc2 |
| 10101 builtin and then its argument prototype would still apply. */ | 10143 builtin and then its argument prototype would still apply. */ |
| 10102 char layout_object_getvalue(); | 10144 char layout_object_getvalue(); |
| 10103 | 10145 |
| 10104 int main() { | 10146 int main() { |
| 10105 layout_object_getvalue() | 10147 layout_object_getvalue() |
| 10106 ; return 0; } | 10148 ; return 0; } |
| 10107 EOF | 10149 EOF |
| 10108 if { (eval echo configure:10109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10150 if { (eval echo configure:10151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10109 rm -rf conftest* | 10151 rm -rf conftest* |
| 10110 eval "ac_cv_lib_$ac_lib_var=yes" | 10152 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10111 else | 10153 else |
| 10112 echo "configure: failed program was:" >&5 | 10154 echo "configure: failed program was:" >&5 |
| 10113 cat conftest.$ac_ext >&5 | 10155 cat conftest.$ac_ext >&5 |
| 10186 fi | 10228 fi |
| 10187 fi | 10229 fi |
| 10188 | 10230 |
| 10189 fi | 10231 fi |
| 10190 | 10232 |
| 10191 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 10233 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
| 10192 do | 10234 do |
| 10193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10194 echo "configure:10195: checking for $ac_func" >&5 | 10236 echo "configure:10237: checking for $ac_func" >&5 |
| 10195 | 10237 |
| 10196 cat > conftest.$ac_ext <<EOF | 10238 cat > conftest.$ac_ext <<EOF |
| 10197 #line 10198 "configure" | 10239 #line 10240 "configure" |
| 10198 #include "confdefs.h" | 10240 #include "confdefs.h" |
| 10199 /* System header to define __stub macros and hopefully few prototypes, | 10241 /* System header to define __stub macros and hopefully few prototypes, |
| 10200 which can conflict with char $ac_func(); below. */ | 10242 which can conflict with char $ac_func(); below. */ |
| 10201 #include <assert.h> | 10243 #include <assert.h> |
| 10202 /* Override any gcc2 internal prototype to avoid an error. */ | 10244 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10215 $ac_func(); | 10257 $ac_func(); |
| 10216 #endif | 10258 #endif |
| 10217 | 10259 |
| 10218 ; return 0; } | 10260 ; return 0; } |
| 10219 EOF | 10261 EOF |
| 10220 if { (eval echo configure:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10262 if { (eval echo configure:10263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10221 rm -rf conftest* | 10263 rm -rf conftest* |
| 10222 eval "ac_cv_func_$ac_func=yes" | 10264 eval "ac_cv_func_$ac_func=yes" |
| 10223 else | 10265 else |
| 10224 echo "configure: failed program was:" >&5 | 10266 echo "configure: failed program was:" >&5 |
| 10225 cat conftest.$ac_ext >&5 | 10267 cat conftest.$ac_ext >&5 |
| 10247 | 10289 |
| 10248 | 10290 |
| 10249 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10291 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
| 10250 do | 10292 do |
| 10251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10252 echo "configure:10253: checking for $ac_func" >&5 | 10294 echo "configure:10295: checking for $ac_func" >&5 |
| 10253 | 10295 |
| 10254 cat > conftest.$ac_ext <<EOF | 10296 cat > conftest.$ac_ext <<EOF |
| 10255 #line 10256 "configure" | 10297 #line 10298 "configure" |
| 10256 #include "confdefs.h" | 10298 #include "confdefs.h" |
| 10257 /* System header to define __stub macros and hopefully few prototypes, | 10299 /* System header to define __stub macros and hopefully few prototypes, |
| 10258 which can conflict with char $ac_func(); below. */ | 10300 which can conflict with char $ac_func(); below. */ |
| 10259 #include <assert.h> | 10301 #include <assert.h> |
| 10260 /* Override any gcc2 internal prototype to avoid an error. */ | 10302 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10273 $ac_func(); | 10315 $ac_func(); |
| 10274 #endif | 10316 #endif |
| 10275 | 10317 |
| 10276 ; return 0; } | 10318 ; return 0; } |
| 10277 EOF | 10319 EOF |
| 10278 if { (eval echo configure:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10279 rm -rf conftest* | 10321 rm -rf conftest* |
| 10280 eval "ac_cv_func_$ac_func=yes" | 10322 eval "ac_cv_func_$ac_func=yes" |
| 10281 else | 10323 else |
| 10282 echo "configure: failed program was:" >&5 | 10324 echo "configure: failed program was:" >&5 |
| 10283 cat conftest.$ac_ext >&5 | 10325 cat conftest.$ac_ext >&5 |
| 10302 fi | 10344 fi |
| 10303 done | 10345 done |
| 10304 | 10346 |
| 10305 | 10347 |
| 10306 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10348 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
| 10307 echo "configure:10308: checking for openpty" >&5 | 10349 echo "configure:10350: checking for openpty" >&5 |
| 10308 | 10350 |
| 10309 cat > conftest.$ac_ext <<EOF | 10351 cat > conftest.$ac_ext <<EOF |
| 10310 #line 10311 "configure" | 10352 #line 10353 "configure" |
| 10311 #include "confdefs.h" | 10353 #include "confdefs.h" |
| 10312 /* System header to define __stub macros and hopefully few prototypes, | 10354 /* System header to define __stub macros and hopefully few prototypes, |
| 10313 which can conflict with char openpty(); below. */ | 10355 which can conflict with char openpty(); below. */ |
| 10314 #include <assert.h> | 10356 #include <assert.h> |
| 10315 /* Override any gcc2 internal prototype to avoid an error. */ | 10357 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10328 openpty(); | 10370 openpty(); |
| 10329 #endif | 10371 #endif |
| 10330 | 10372 |
| 10331 ; return 0; } | 10373 ; return 0; } |
| 10332 EOF | 10374 EOF |
| 10333 if { (eval echo configure:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10375 if { (eval echo configure:10376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10334 rm -rf conftest* | 10376 rm -rf conftest* |
| 10335 eval "ac_cv_func_openpty=yes" | 10377 eval "ac_cv_func_openpty=yes" |
| 10336 else | 10378 else |
| 10337 echo "configure: failed program was:" >&5 | 10379 echo "configure: failed program was:" >&5 |
| 10338 cat conftest.$ac_ext >&5 | 10380 cat conftest.$ac_ext >&5 |
| 10347 else | 10389 else |
| 10348 echo "$ac_t""no" 1>&6 | 10390 echo "$ac_t""no" 1>&6 |
| 10349 | 10391 |
| 10350 | 10392 |
| 10351 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10393 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
| 10352 echo "configure:10353: checking for openpty in -lutil" >&5 | 10394 echo "configure:10395: checking for openpty in -lutil" >&5 |
| 10353 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10395 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
| 10354 | 10396 |
| 10355 xe_check_libs=" -lutil " | 10397 xe_check_libs=" -lutil " |
| 10356 cat > conftest.$ac_ext <<EOF | 10398 cat > conftest.$ac_ext <<EOF |
| 10357 #line 10358 "configure" | 10399 #line 10400 "configure" |
| 10358 #include "confdefs.h" | 10400 #include "confdefs.h" |
| 10359 /* Override any gcc2 internal prototype to avoid an error. */ | 10401 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10360 /* We use char because int might match the return type of a gcc2 | 10402 /* We use char because int might match the return type of a gcc2 |
| 10361 builtin and then its argument prototype would still apply. */ | 10403 builtin and then its argument prototype would still apply. */ |
| 10362 char openpty(); | 10404 char openpty(); |
| 10363 | 10405 |
| 10364 int main() { | 10406 int main() { |
| 10365 openpty() | 10407 openpty() |
| 10366 ; return 0; } | 10408 ; return 0; } |
| 10367 EOF | 10409 EOF |
| 10368 if { (eval echo configure:10369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10410 if { (eval echo configure:10411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10369 rm -rf conftest* | 10411 rm -rf conftest* |
| 10370 eval "ac_cv_lib_$ac_lib_var=yes" | 10412 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10371 else | 10413 else |
| 10372 echo "configure: failed program was:" >&5 | 10414 echo "configure: failed program was:" >&5 |
| 10373 cat conftest.$ac_ext >&5 | 10415 cat conftest.$ac_ext >&5 |
| 10398 | 10440 |
| 10399 for ac_hdr in pty.h libutil.h util.h | 10441 for ac_hdr in pty.h libutil.h util.h |
| 10400 do | 10442 do |
| 10401 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10443 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10402 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10444 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10403 echo "configure:10404: checking for $ac_hdr" >&5 | 10445 echo "configure:10446: checking for $ac_hdr" >&5 |
| 10404 | 10446 |
| 10405 cat > conftest.$ac_ext <<EOF | 10447 cat > conftest.$ac_ext <<EOF |
| 10406 #line 10407 "configure" | 10448 #line 10449 "configure" |
| 10407 #include "confdefs.h" | 10449 #include "confdefs.h" |
| 10408 #include <$ac_hdr> | 10450 #include <$ac_hdr> |
| 10409 EOF | 10451 EOF |
| 10410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10411 { (eval echo configure:10412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10453 { (eval echo configure:10454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10413 if test -z "$ac_err"; then | 10455 if test -z "$ac_err"; then |
| 10414 rm -rf conftest* | 10456 rm -rf conftest* |
| 10415 eval "ac_cv_header_$ac_safe=yes" | 10457 eval "ac_cv_header_$ac_safe=yes" |
| 10416 else | 10458 else |
| 10442 | 10484 |
| 10443 for ac_hdr in stropts.h | 10485 for ac_hdr in stropts.h |
| 10444 do | 10486 do |
| 10445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10487 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10488 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10447 echo "configure:10448: checking for $ac_hdr" >&5 | 10489 echo "configure:10490: checking for $ac_hdr" >&5 |
| 10448 | 10490 |
| 10449 cat > conftest.$ac_ext <<EOF | 10491 cat > conftest.$ac_ext <<EOF |
| 10450 #line 10451 "configure" | 10492 #line 10493 "configure" |
| 10451 #include "confdefs.h" | 10493 #include "confdefs.h" |
| 10452 #include <$ac_hdr> | 10494 #include <$ac_hdr> |
| 10453 EOF | 10495 EOF |
| 10454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10455 { (eval echo configure:10456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10497 { (eval echo configure:10498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10457 if test -z "$ac_err"; then | 10499 if test -z "$ac_err"; then |
| 10458 rm -rf conftest* | 10500 rm -rf conftest* |
| 10459 eval "ac_cv_header_$ac_safe=yes" | 10501 eval "ac_cv_header_$ac_safe=yes" |
| 10460 else | 10502 else |
| 10483 | 10525 |
| 10484 if test "$ac_cv_header_stropts_h" = "yes"; then | 10526 if test "$ac_cv_header_stropts_h" = "yes"; then |
| 10485 for ac_func in isastream | 10527 for ac_func in isastream |
| 10486 do | 10528 do |
| 10487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10488 echo "configure:10489: checking for $ac_func" >&5 | 10530 echo "configure:10531: checking for $ac_func" >&5 |
| 10489 | 10531 |
| 10490 cat > conftest.$ac_ext <<EOF | 10532 cat > conftest.$ac_ext <<EOF |
| 10491 #line 10492 "configure" | 10533 #line 10534 "configure" |
| 10492 #include "confdefs.h" | 10534 #include "confdefs.h" |
| 10493 /* System header to define __stub macros and hopefully few prototypes, | 10535 /* System header to define __stub macros and hopefully few prototypes, |
| 10494 which can conflict with char $ac_func(); below. */ | 10536 which can conflict with char $ac_func(); below. */ |
| 10495 #include <assert.h> | 10537 #include <assert.h> |
| 10496 /* Override any gcc2 internal prototype to avoid an error. */ | 10538 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10509 $ac_func(); | 10551 $ac_func(); |
| 10510 #endif | 10552 #endif |
| 10511 | 10553 |
| 10512 ; return 0; } | 10554 ; return 0; } |
| 10513 EOF | 10555 EOF |
| 10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10556 if { (eval echo configure:10557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10515 rm -rf conftest* | 10557 rm -rf conftest* |
| 10516 eval "ac_cv_func_$ac_func=yes" | 10558 eval "ac_cv_func_$ac_func=yes" |
| 10517 else | 10559 else |
| 10518 echo "configure: failed program was:" >&5 | 10560 echo "configure: failed program was:" >&5 |
| 10519 cat conftest.$ac_ext >&5 | 10561 cat conftest.$ac_ext >&5 |
| 10540 | 10582 |
| 10541 for ac_hdr in strtio.h | 10583 for ac_hdr in strtio.h |
| 10542 do | 10584 do |
| 10543 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10585 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10544 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10586 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10545 echo "configure:10546: checking for $ac_hdr" >&5 | 10587 echo "configure:10588: checking for $ac_hdr" >&5 |
| 10546 | 10588 |
| 10547 cat > conftest.$ac_ext <<EOF | 10589 cat > conftest.$ac_ext <<EOF |
| 10548 #line 10549 "configure" | 10590 #line 10591 "configure" |
| 10549 #include "confdefs.h" | 10591 #include "confdefs.h" |
| 10550 #include <$ac_hdr> | 10592 #include <$ac_hdr> |
| 10551 EOF | 10593 EOF |
| 10552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10553 { (eval echo configure:10554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10595 { (eval echo configure:10596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10555 if test -z "$ac_err"; then | 10597 if test -z "$ac_err"; then |
| 10556 rm -rf conftest* | 10598 rm -rf conftest* |
| 10557 eval "ac_cv_header_$ac_safe=yes" | 10599 eval "ac_cv_header_$ac_safe=yes" |
| 10558 else | 10600 else |
| 10585 fi | 10627 fi |
| 10586 | 10628 |
| 10587 for ac_func in getloadavg | 10629 for ac_func in getloadavg |
| 10588 do | 10630 do |
| 10589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 10590 echo "configure:10591: checking for $ac_func" >&5 | 10632 echo "configure:10633: checking for $ac_func" >&5 |
| 10591 | 10633 |
| 10592 cat > conftest.$ac_ext <<EOF | 10634 cat > conftest.$ac_ext <<EOF |
| 10593 #line 10594 "configure" | 10635 #line 10636 "configure" |
| 10594 #include "confdefs.h" | 10636 #include "confdefs.h" |
| 10595 /* System header to define __stub macros and hopefully few prototypes, | 10637 /* System header to define __stub macros and hopefully few prototypes, |
| 10596 which can conflict with char $ac_func(); below. */ | 10638 which can conflict with char $ac_func(); below. */ |
| 10597 #include <assert.h> | 10639 #include <assert.h> |
| 10598 /* Override any gcc2 internal prototype to avoid an error. */ | 10640 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10611 $ac_func(); | 10653 $ac_func(); |
| 10612 #endif | 10654 #endif |
| 10613 | 10655 |
| 10614 ; return 0; } | 10656 ; return 0; } |
| 10615 EOF | 10657 EOF |
| 10616 if { (eval echo configure:10617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10658 if { (eval echo configure:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10617 rm -rf conftest* | 10659 rm -rf conftest* |
| 10618 eval "ac_cv_func_$ac_func=yes" | 10660 eval "ac_cv_func_$ac_func=yes" |
| 10619 else | 10661 else |
| 10620 echo "configure: failed program was:" >&5 | 10662 echo "configure: failed program was:" >&5 |
| 10621 cat conftest.$ac_ext >&5 | 10663 cat conftest.$ac_ext >&5 |
| 10644 if test "$ac_cv_func_getloadavg" = "yes"; then | 10686 if test "$ac_cv_func_getloadavg" = "yes"; then |
| 10645 for ac_hdr in sys/loadavg.h | 10687 for ac_hdr in sys/loadavg.h |
| 10646 do | 10688 do |
| 10647 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10649 echo "configure:10650: checking for $ac_hdr" >&5 | 10691 echo "configure:10692: checking for $ac_hdr" >&5 |
| 10650 | 10692 |
| 10651 cat > conftest.$ac_ext <<EOF | 10693 cat > conftest.$ac_ext <<EOF |
| 10652 #line 10653 "configure" | 10694 #line 10695 "configure" |
| 10653 #include "confdefs.h" | 10695 #include "confdefs.h" |
| 10654 #include <$ac_hdr> | 10696 #include <$ac_hdr> |
| 10655 EOF | 10697 EOF |
| 10656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10657 { (eval echo configure:10658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10699 { (eval echo configure:10700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10659 if test -z "$ac_err"; then | 10701 if test -z "$ac_err"; then |
| 10660 rm -rf conftest* | 10702 rm -rf conftest* |
| 10661 eval "ac_cv_header_$ac_safe=yes" | 10703 eval "ac_cv_header_$ac_safe=yes" |
| 10662 else | 10704 else |
| 10688 echo " xemacs will be linked with \"getloadavg.o\"" | 10730 echo " xemacs will be linked with \"getloadavg.o\"" |
| 10689 fi | 10731 fi |
| 10690 | 10732 |
| 10691 | 10733 |
| 10692 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10734 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 10693 echo "configure:10694: checking for kstat_open in -lkstat" >&5 | 10735 echo "configure:10736: checking for kstat_open in -lkstat" >&5 |
| 10694 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10736 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 10695 | 10737 |
| 10696 xe_check_libs=" -lkstat " | 10738 xe_check_libs=" -lkstat " |
| 10697 cat > conftest.$ac_ext <<EOF | 10739 cat > conftest.$ac_ext <<EOF |
| 10698 #line 10699 "configure" | 10740 #line 10741 "configure" |
| 10699 #include "confdefs.h" | 10741 #include "confdefs.h" |
| 10700 /* Override any gcc2 internal prototype to avoid an error. */ | 10742 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10701 /* We use char because int might match the return type of a gcc2 | 10743 /* We use char because int might match the return type of a gcc2 |
| 10702 builtin and then its argument prototype would still apply. */ | 10744 builtin and then its argument prototype would still apply. */ |
| 10703 char kstat_open(); | 10745 char kstat_open(); |
| 10704 | 10746 |
| 10705 int main() { | 10747 int main() { |
| 10706 kstat_open() | 10748 kstat_open() |
| 10707 ; return 0; } | 10749 ; return 0; } |
| 10708 EOF | 10750 EOF |
| 10709 if { (eval echo configure:10710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10751 if { (eval echo configure:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10710 rm -rf conftest* | 10752 rm -rf conftest* |
| 10711 eval "ac_cv_lib_$ac_lib_var=yes" | 10753 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10712 else | 10754 else |
| 10713 echo "configure: failed program was:" >&5 | 10755 echo "configure: failed program was:" >&5 |
| 10714 cat conftest.$ac_ext >&5 | 10756 cat conftest.$ac_ext >&5 |
| 10739 | 10781 |
| 10740 for ac_hdr in kstat.h | 10782 for ac_hdr in kstat.h |
| 10741 do | 10783 do |
| 10742 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10784 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10744 echo "configure:10745: checking for $ac_hdr" >&5 | 10786 echo "configure:10787: checking for $ac_hdr" >&5 |
| 10745 | 10787 |
| 10746 cat > conftest.$ac_ext <<EOF | 10788 cat > conftest.$ac_ext <<EOF |
| 10747 #line 10748 "configure" | 10789 #line 10790 "configure" |
| 10748 #include "confdefs.h" | 10790 #include "confdefs.h" |
| 10749 #include <$ac_hdr> | 10791 #include <$ac_hdr> |
| 10750 EOF | 10792 EOF |
| 10751 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10752 { (eval echo configure:10753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10794 { (eval echo configure:10795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10753 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10754 if test -z "$ac_err"; then | 10796 if test -z "$ac_err"; then |
| 10755 rm -rf conftest* | 10797 rm -rf conftest* |
| 10756 eval "ac_cv_header_$ac_safe=yes" | 10798 eval "ac_cv_header_$ac_safe=yes" |
| 10757 else | 10799 else |
| 10779 done | 10821 done |
| 10780 | 10822 |
| 10781 | 10823 |
| 10782 | 10824 |
| 10783 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10825 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 10784 echo "configure:10785: checking for kvm_read in -lkvm" >&5 | 10826 echo "configure:10827: checking for kvm_read in -lkvm" >&5 |
| 10785 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10827 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 10786 | 10828 |
| 10787 xe_check_libs=" -lkvm " | 10829 xe_check_libs=" -lkvm " |
| 10788 cat > conftest.$ac_ext <<EOF | 10830 cat > conftest.$ac_ext <<EOF |
| 10789 #line 10790 "configure" | 10831 #line 10832 "configure" |
| 10790 #include "confdefs.h" | 10832 #include "confdefs.h" |
| 10791 /* Override any gcc2 internal prototype to avoid an error. */ | 10833 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10792 /* We use char because int might match the return type of a gcc2 | 10834 /* We use char because int might match the return type of a gcc2 |
| 10793 builtin and then its argument prototype would still apply. */ | 10835 builtin and then its argument prototype would still apply. */ |
| 10794 char kvm_read(); | 10836 char kvm_read(); |
| 10795 | 10837 |
| 10796 int main() { | 10838 int main() { |
| 10797 kvm_read() | 10839 kvm_read() |
| 10798 ; return 0; } | 10840 ; return 0; } |
| 10799 EOF | 10841 EOF |
| 10800 if { (eval echo configure:10801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10842 if { (eval echo configure:10843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10801 rm -rf conftest* | 10843 rm -rf conftest* |
| 10802 eval "ac_cv_lib_$ac_lib_var=yes" | 10844 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10803 else | 10845 else |
| 10804 echo "configure: failed program was:" >&5 | 10846 echo "configure: failed program was:" >&5 |
| 10805 cat conftest.$ac_ext >&5 | 10847 cat conftest.$ac_ext >&5 |
| 10829 | 10871 |
| 10830 | 10872 |
| 10831 fi | 10873 fi |
| 10832 | 10874 |
| 10833 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10875 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 10834 echo "configure:10835: checking whether netdb declares h_errno" >&5 | 10876 echo "configure:10877: checking whether netdb declares h_errno" >&5 |
| 10835 cat > conftest.$ac_ext <<EOF | 10877 cat > conftest.$ac_ext <<EOF |
| 10836 #line 10837 "configure" | 10878 #line 10879 "configure" |
| 10837 #include "confdefs.h" | 10879 #include "confdefs.h" |
| 10838 #include <netdb.h> | 10880 #include <netdb.h> |
| 10839 int main() { | 10881 int main() { |
| 10840 return h_errno; | 10882 return h_errno; |
| 10841 ; return 0; } | 10883 ; return 0; } |
| 10842 EOF | 10884 EOF |
| 10843 if { (eval echo configure:10844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10885 if { (eval echo configure:10886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10844 rm -rf conftest* | 10886 rm -rf conftest* |
| 10845 echo "$ac_t""yes" 1>&6 | 10887 echo "$ac_t""yes" 1>&6 |
| 10846 { test "$extra_verbose" = "yes" && cat << \EOF | 10888 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10847 Defining HAVE_H_ERRNO | 10889 Defining HAVE_H_ERRNO |
| 10848 EOF | 10890 EOF |
| 10858 echo "$ac_t""no" 1>&6 | 10900 echo "$ac_t""no" 1>&6 |
| 10859 fi | 10901 fi |
| 10860 rm -f conftest* | 10902 rm -f conftest* |
| 10861 | 10903 |
| 10862 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10904 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 10863 echo "configure:10864: checking for sigsetjmp" >&5 | 10905 echo "configure:10906: checking for sigsetjmp" >&5 |
| 10864 cat > conftest.$ac_ext <<EOF | 10906 cat > conftest.$ac_ext <<EOF |
| 10865 #line 10866 "configure" | 10907 #line 10908 "configure" |
| 10866 #include "confdefs.h" | 10908 #include "confdefs.h" |
| 10867 #include <setjmp.h> | 10909 #include <setjmp.h> |
| 10868 int main() { | 10910 int main() { |
| 10869 sigjmp_buf bar; sigsetjmp (bar, 0); | 10911 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 10870 ; return 0; } | 10912 ; return 0; } |
| 10871 EOF | 10913 EOF |
| 10872 if { (eval echo configure:10873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10914 if { (eval echo configure:10915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 10873 rm -rf conftest* | 10915 rm -rf conftest* |
| 10874 echo "$ac_t""yes" 1>&6 | 10916 echo "$ac_t""yes" 1>&6 |
| 10875 { test "$extra_verbose" = "yes" && cat << \EOF | 10917 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10876 Defining HAVE_SIGSETJMP | 10918 Defining HAVE_SIGSETJMP |
| 10877 EOF | 10919 EOF |
| 10887 echo "$ac_t""no" 1>&6 | 10929 echo "$ac_t""no" 1>&6 |
| 10888 fi | 10930 fi |
| 10889 rm -f conftest* | 10931 rm -f conftest* |
| 10890 | 10932 |
| 10891 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10933 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 10892 echo "configure:10893: checking whether localtime caches TZ" >&5 | 10934 echo "configure:10935: checking whether localtime caches TZ" >&5 |
| 10893 | 10935 |
| 10894 if test "$ac_cv_func_tzset" = "yes"; then | 10936 if test "$ac_cv_func_tzset" = "yes"; then |
| 10895 cat > conftest.$ac_ext <<EOF | 10937 cat > conftest.$ac_ext <<EOF |
| 10896 #line 10897 "configure" | 10938 #line 10939 "configure" |
| 10897 #include "confdefs.h" | 10939 #include "confdefs.h" |
| 10898 #include <time.h> | 10940 #include <time.h> |
| 10899 #if STDC_HEADERS | 10941 #if STDC_HEADERS |
| 10900 # include <stdlib.h> | 10942 # include <stdlib.h> |
| 10901 #endif | 10943 #endif |
| 10926 if (localtime (&now)->tm_hour != hour_unset) | 10968 if (localtime (&now)->tm_hour != hour_unset) |
| 10927 exit (1); | 10969 exit (1); |
| 10928 exit (0); | 10970 exit (0); |
| 10929 } | 10971 } |
| 10930 EOF | 10972 EOF |
| 10931 if { (eval echo configure:10932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10973 if { (eval echo configure:10974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 10932 then | 10974 then |
| 10933 emacs_cv_localtime_cache=no | 10975 emacs_cv_localtime_cache=no |
| 10934 else | 10976 else |
| 10935 conftest_rc="$?" | 10977 conftest_rc="$?" |
| 10936 echo "configure: failed program was:" >&5 | 10978 echo "configure: failed program was:" >&5 |
| 10956 | 10998 |
| 10957 fi | 10999 fi |
| 10958 | 11000 |
| 10959 if test "$HAVE_TIMEVAL" = "yes"; then | 11001 if test "$HAVE_TIMEVAL" = "yes"; then |
| 10960 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11002 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 10961 echo "configure:10962: checking whether gettimeofday accepts one or two arguments" >&5 | 11003 echo "configure:11004: checking whether gettimeofday accepts one or two arguments" >&5 |
| 10962 cat > conftest.$ac_ext <<EOF | 11004 cat > conftest.$ac_ext <<EOF |
| 10963 #line 10964 "configure" | 11005 #line 11006 "configure" |
| 10964 #include "confdefs.h" | 11006 #include "confdefs.h" |
| 10965 | 11007 |
| 10966 #ifdef TIME_WITH_SYS_TIME | 11008 #ifdef TIME_WITH_SYS_TIME |
| 10967 #include <sys/time.h> | 11009 #include <sys/time.h> |
| 10968 #include <time.h> | 11010 #include <time.h> |
| 10979 struct timeval time; | 11021 struct timeval time; |
| 10980 gettimeofday (&time, 0); | 11022 gettimeofday (&time, 0); |
| 10981 | 11023 |
| 10982 ; return 0; } | 11024 ; return 0; } |
| 10983 EOF | 11025 EOF |
| 10984 if { (eval echo configure:10985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11026 if { (eval echo configure:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10985 rm -rf conftest* | 11027 rm -rf conftest* |
| 10986 echo "$ac_t""two" 1>&6 | 11028 echo "$ac_t""two" 1>&6 |
| 10987 else | 11029 else |
| 10988 echo "configure: failed program was:" >&5 | 11030 echo "configure: failed program was:" >&5 |
| 10989 cat conftest.$ac_ext >&5 | 11031 cat conftest.$ac_ext >&5 |
| 11001 rm -f conftest* | 11043 rm -f conftest* |
| 11002 fi | 11044 fi |
| 11003 | 11045 |
| 11004 | 11046 |
| 11005 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11047 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 11006 echo "configure:11007: checking for inline" >&5 | 11048 echo "configure:11049: checking for inline" >&5 |
| 11007 | 11049 |
| 11008 ac_cv_c_inline=no | 11050 ac_cv_c_inline=no |
| 11009 for ac_kw in inline __inline__ __inline; do | 11051 for ac_kw in inline __inline__ __inline; do |
| 11010 cat > conftest.$ac_ext <<EOF | 11052 cat > conftest.$ac_ext <<EOF |
| 11011 #line 11012 "configure" | 11053 #line 11054 "configure" |
| 11012 #include "confdefs.h" | 11054 #include "confdefs.h" |
| 11013 | 11055 |
| 11014 int main() { | 11056 int main() { |
| 11015 } $ac_kw foo() { | 11057 } $ac_kw foo() { |
| 11016 ; return 0; } | 11058 ; return 0; } |
| 11017 EOF | 11059 EOF |
| 11018 if { (eval echo configure:11019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11060 if { (eval echo configure:11061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11019 rm -rf conftest* | 11061 rm -rf conftest* |
| 11020 ac_cv_c_inline=$ac_kw; break | 11062 ac_cv_c_inline=$ac_kw; break |
| 11021 else | 11063 else |
| 11022 echo "configure: failed program was:" >&5 | 11064 echo "configure: failed program was:" >&5 |
| 11023 cat conftest.$ac_ext >&5 | 11065 cat conftest.$ac_ext >&5 |
| 11054 | 11096 |
| 11055 if test "$__DECC" != "yes"; then | 11097 if test "$__DECC" != "yes"; then |
| 11056 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11098 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 11057 # for constant arguments. Useless! | 11099 # for constant arguments. Useless! |
| 11058 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11100 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 11059 echo "configure:11060: checking for working alloca.h" >&5 | 11101 echo "configure:11102: checking for working alloca.h" >&5 |
| 11060 | 11102 |
| 11061 cat > conftest.$ac_ext <<EOF | 11103 cat > conftest.$ac_ext <<EOF |
| 11062 #line 11063 "configure" | 11104 #line 11105 "configure" |
| 11063 #include "confdefs.h" | 11105 #include "confdefs.h" |
| 11064 #include <alloca.h> | 11106 #include <alloca.h> |
| 11065 int main() { | 11107 int main() { |
| 11066 char *p = alloca(2 * sizeof(int)); | 11108 char *p = alloca(2 * sizeof(int)); |
| 11067 ; return 0; } | 11109 ; return 0; } |
| 11068 EOF | 11110 EOF |
| 11069 if { (eval echo configure:11070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11111 if { (eval echo configure:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11070 rm -rf conftest* | 11112 rm -rf conftest* |
| 11071 ac_cv_header_alloca_h=yes | 11113 ac_cv_header_alloca_h=yes |
| 11072 else | 11114 else |
| 11073 echo "configure: failed program was:" >&5 | 11115 echo "configure: failed program was:" >&5 |
| 11074 cat conftest.$ac_ext >&5 | 11116 cat conftest.$ac_ext >&5 |
| 11088 } | 11130 } |
| 11089 | 11131 |
| 11090 fi | 11132 fi |
| 11091 | 11133 |
| 11092 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11134 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 11093 echo "configure:11094: checking for alloca" >&5 | 11135 echo "configure:11136: checking for alloca" >&5 |
| 11094 | 11136 |
| 11095 cat > conftest.$ac_ext <<EOF | 11137 cat > conftest.$ac_ext <<EOF |
| 11096 #line 11097 "configure" | 11138 #line 11139 "configure" |
| 11097 #include "confdefs.h" | 11139 #include "confdefs.h" |
| 11098 | 11140 |
| 11099 #ifdef __GNUC__ | 11141 #ifdef __GNUC__ |
| 11100 # define alloca __builtin_alloca | 11142 # define alloca __builtin_alloca |
| 11101 #else | 11143 #else |
| 11119 | 11161 |
| 11120 int main() { | 11162 int main() { |
| 11121 char *p = (char *) alloca(1); | 11163 char *p = (char *) alloca(1); |
| 11122 ; return 0; } | 11164 ; return 0; } |
| 11123 EOF | 11165 EOF |
| 11124 if { (eval echo configure:11125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11166 if { (eval echo configure:11167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11125 rm -rf conftest* | 11167 rm -rf conftest* |
| 11126 ac_cv_func_alloca_works=yes | 11168 ac_cv_func_alloca_works=yes |
| 11127 else | 11169 else |
| 11128 echo "configure: failed program was:" >&5 | 11170 echo "configure: failed program was:" >&5 |
| 11129 cat conftest.$ac_ext >&5 | 11171 cat conftest.$ac_ext >&5 |
| 11158 EOF | 11200 EOF |
| 11159 } | 11201 } |
| 11160 | 11202 |
| 11161 | 11203 |
| 11162 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11204 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 11163 echo "configure:11164: checking whether alloca needs Cray hooks" >&5 | 11205 echo "configure:11206: checking whether alloca needs Cray hooks" >&5 |
| 11164 | 11206 |
| 11165 cat > conftest.$ac_ext <<EOF | 11207 cat > conftest.$ac_ext <<EOF |
| 11166 #line 11167 "configure" | 11208 #line 11209 "configure" |
| 11167 #include "confdefs.h" | 11209 #include "confdefs.h" |
| 11168 #if defined(CRAY) && ! defined(CRAY2) | 11210 #if defined(CRAY) && ! defined(CRAY2) |
| 11169 webecray | 11211 webecray |
| 11170 #else | 11212 #else |
| 11171 wenotbecray | 11213 wenotbecray |
| 11185 | 11227 |
| 11186 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11228 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 11187 if test $ac_cv_os_cray = yes; then | 11229 if test $ac_cv_os_cray = yes; then |
| 11188 for ac_func in _getb67 GETB67 getb67; do | 11230 for ac_func in _getb67 GETB67 getb67; do |
| 11189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11190 echo "configure:11191: checking for $ac_func" >&5 | 11232 echo "configure:11233: checking for $ac_func" >&5 |
| 11191 | 11233 |
| 11192 cat > conftest.$ac_ext <<EOF | 11234 cat > conftest.$ac_ext <<EOF |
| 11193 #line 11194 "configure" | 11235 #line 11236 "configure" |
| 11194 #include "confdefs.h" | 11236 #include "confdefs.h" |
| 11195 /* System header to define __stub macros and hopefully few prototypes, | 11237 /* System header to define __stub macros and hopefully few prototypes, |
| 11196 which can conflict with char $ac_func(); below. */ | 11238 which can conflict with char $ac_func(); below. */ |
| 11197 #include <assert.h> | 11239 #include <assert.h> |
| 11198 /* Override any gcc2 internal prototype to avoid an error. */ | 11240 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11211 $ac_func(); | 11253 $ac_func(); |
| 11212 #endif | 11254 #endif |
| 11213 | 11255 |
| 11214 ; return 0; } | 11256 ; return 0; } |
| 11215 EOF | 11257 EOF |
| 11216 if { (eval echo configure:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11258 if { (eval echo configure:11259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11217 rm -rf conftest* | 11259 rm -rf conftest* |
| 11218 eval "ac_cv_func_$ac_func=yes" | 11260 eval "ac_cv_func_$ac_func=yes" |
| 11219 else | 11261 else |
| 11220 echo "configure: failed program was:" >&5 | 11262 echo "configure: failed program was:" >&5 |
| 11221 cat conftest.$ac_ext >&5 | 11263 cat conftest.$ac_ext >&5 |
| 11241 | 11283 |
| 11242 done | 11284 done |
| 11243 fi | 11285 fi |
| 11244 | 11286 |
| 11245 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11287 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 11246 echo "configure:11247: checking stack direction for C alloca" >&5 | 11288 echo "configure:11289: checking stack direction for C alloca" >&5 |
| 11247 | 11289 |
| 11248 cat > conftest.$ac_ext <<EOF | 11290 cat > conftest.$ac_ext <<EOF |
| 11249 #line 11250 "configure" | 11291 #line 11292 "configure" |
| 11250 #include "confdefs.h" | 11292 #include "confdefs.h" |
| 11251 find_stack_direction () | 11293 find_stack_direction () |
| 11252 { | 11294 { |
| 11253 static char *addr = 0; | 11295 static char *addr = 0; |
| 11254 auto char dummy; | 11296 auto char dummy; |
| 11263 main () | 11305 main () |
| 11264 { | 11306 { |
| 11265 exit (find_stack_direction() < 0); | 11307 exit (find_stack_direction() < 0); |
| 11266 } | 11308 } |
| 11267 EOF | 11309 EOF |
| 11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11310 if { (eval echo configure:11311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11269 then | 11311 then |
| 11270 ac_cv_c_stack_direction=1 | 11312 ac_cv_c_stack_direction=1 |
| 11271 else | 11313 else |
| 11272 conftest_rc="$?" | 11314 conftest_rc="$?" |
| 11273 echo "configure: failed program was:" >&5 | 11315 echo "configure: failed program was:" >&5 |
| 11293 fi | 11335 fi |
| 11294 fi | 11336 fi |
| 11295 | 11337 |
| 11296 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 11338 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 11297 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 11339 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 11298 echo "configure:11299: checking for vfork.h" >&5 | 11340 echo "configure:11341: checking for vfork.h" >&5 |
| 11299 | 11341 |
| 11300 cat > conftest.$ac_ext <<EOF | 11342 cat > conftest.$ac_ext <<EOF |
| 11301 #line 11302 "configure" | 11343 #line 11344 "configure" |
| 11302 #include "confdefs.h" | 11344 #include "confdefs.h" |
| 11303 #include <vfork.h> | 11345 #include <vfork.h> |
| 11304 EOF | 11346 EOF |
| 11305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11306 { (eval echo configure:11307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11348 { (eval echo configure:11349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11308 if test -z "$ac_err"; then | 11350 if test -z "$ac_err"; then |
| 11309 rm -rf conftest* | 11351 rm -rf conftest* |
| 11310 eval "ac_cv_header_$ac_safe=yes" | 11352 eval "ac_cv_header_$ac_safe=yes" |
| 11311 else | 11353 else |
| 11329 else | 11371 else |
| 11330 echo "$ac_t""no" 1>&6 | 11372 echo "$ac_t""no" 1>&6 |
| 11331 fi | 11373 fi |
| 11332 | 11374 |
| 11333 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 11375 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 11334 echo "configure:11335: checking for working vfork" >&5 | 11376 echo "configure:11377: checking for working vfork" >&5 |
| 11335 | 11377 |
| 11336 cat > conftest.$ac_ext <<EOF | 11378 cat > conftest.$ac_ext <<EOF |
| 11337 #line 11338 "configure" | 11379 #line 11380 "configure" |
| 11338 #include "confdefs.h" | 11380 #include "confdefs.h" |
| 11339 /* Thanks to Paul Eggert for this test. */ | 11381 /* Thanks to Paul Eggert for this test. */ |
| 11340 #include <stdio.h> | 11382 #include <stdio.h> |
| 11341 #include <sys/types.h> | 11383 #include <sys/types.h> |
| 11342 #include <sys/stat.h> | 11384 #include <sys/stat.h> |
| 11427 || fstat(fileno(stdout), &st) != 0 | 11469 || fstat(fileno(stdout), &st) != 0 |
| 11428 ); | 11470 ); |
| 11429 } | 11471 } |
| 11430 } | 11472 } |
| 11431 EOF | 11473 EOF |
| 11432 if { (eval echo configure:11433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11474 if { (eval echo configure:11475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11433 then | 11475 then |
| 11434 ac_cv_func_vfork_works=yes | 11476 ac_cv_func_vfork_works=yes |
| 11435 else | 11477 else |
| 11436 conftest_rc="$?" | 11478 conftest_rc="$?" |
| 11437 echo "configure: failed program was:" >&5 | 11479 echo "configure: failed program was:" >&5 |
| 11453 | 11495 |
| 11454 fi | 11496 fi |
| 11455 | 11497 |
| 11456 | 11498 |
| 11457 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 11499 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 11458 echo "configure:11459: checking for working strcoll" >&5 | 11500 echo "configure:11501: checking for working strcoll" >&5 |
| 11459 | 11501 |
| 11460 cat > conftest.$ac_ext <<EOF | 11502 cat > conftest.$ac_ext <<EOF |
| 11461 #line 11462 "configure" | 11503 #line 11504 "configure" |
| 11462 #include "confdefs.h" | 11504 #include "confdefs.h" |
| 11463 #include <string.h> | 11505 #include <string.h> |
| 11464 main () | 11506 main () |
| 11465 { | 11507 { |
| 11466 exit (strcoll ("abc", "def") >= 0 || | 11508 exit (strcoll ("abc", "def") >= 0 || |
| 11467 strcoll ("ABC", "DEF") >= 0 || | 11509 strcoll ("ABC", "DEF") >= 0 || |
| 11468 strcoll ("123", "456") >= 0); | 11510 strcoll ("123", "456") >= 0); |
| 11469 } | 11511 } |
| 11470 EOF | 11512 EOF |
| 11471 if { (eval echo configure:11472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11513 if { (eval echo configure:11514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11472 then | 11514 then |
| 11473 ac_cv_func_strcoll_works=yes | 11515 ac_cv_func_strcoll_works=yes |
| 11474 else | 11516 else |
| 11475 conftest_rc="$?" | 11517 conftest_rc="$?" |
| 11476 echo "configure: failed program was:" >&5 | 11518 echo "configure: failed program was:" >&5 |
| 11494 | 11536 |
| 11495 | 11537 |
| 11496 for ac_func in getpgrp | 11538 for ac_func in getpgrp |
| 11497 do | 11539 do |
| 11498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11540 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11499 echo "configure:11500: checking for $ac_func" >&5 | 11541 echo "configure:11542: checking for $ac_func" >&5 |
| 11500 | 11542 |
| 11501 cat > conftest.$ac_ext <<EOF | 11543 cat > conftest.$ac_ext <<EOF |
| 11502 #line 11503 "configure" | 11544 #line 11545 "configure" |
| 11503 #include "confdefs.h" | 11545 #include "confdefs.h" |
| 11504 /* System header to define __stub macros and hopefully few prototypes, | 11546 /* System header to define __stub macros and hopefully few prototypes, |
| 11505 which can conflict with char $ac_func(); below. */ | 11547 which can conflict with char $ac_func(); below. */ |
| 11506 #include <assert.h> | 11548 #include <assert.h> |
| 11507 /* Override any gcc2 internal prototype to avoid an error. */ | 11549 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11520 $ac_func(); | 11562 $ac_func(); |
| 11521 #endif | 11563 #endif |
| 11522 | 11564 |
| 11523 ; return 0; } | 11565 ; return 0; } |
| 11524 EOF | 11566 EOF |
| 11525 if { (eval echo configure:11526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11567 if { (eval echo configure:11568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11526 rm -rf conftest* | 11568 rm -rf conftest* |
| 11527 eval "ac_cv_func_$ac_func=yes" | 11569 eval "ac_cv_func_$ac_func=yes" |
| 11528 else | 11570 else |
| 11529 echo "configure: failed program was:" >&5 | 11571 echo "configure: failed program was:" >&5 |
| 11530 cat conftest.$ac_ext >&5 | 11572 cat conftest.$ac_ext >&5 |
| 11548 echo "$ac_t""no" 1>&6 | 11590 echo "$ac_t""no" 1>&6 |
| 11549 fi | 11591 fi |
| 11550 done | 11592 done |
| 11551 | 11593 |
| 11552 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 11594 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 11553 echo "configure:11554: checking whether getpgrp takes no argument" >&5 | 11595 echo "configure:11596: checking whether getpgrp takes no argument" >&5 |
| 11554 | 11596 |
| 11555 cat > conftest.$ac_ext <<EOF | 11597 cat > conftest.$ac_ext <<EOF |
| 11556 #line 11557 "configure" | 11598 #line 11599 "configure" |
| 11557 #include "confdefs.h" | 11599 #include "confdefs.h" |
| 11558 | 11600 |
| 11559 /* | 11601 /* |
| 11560 * If this system has a BSD-style getpgrp(), | 11602 * If this system has a BSD-style getpgrp(), |
| 11561 * which takes a pid argument, exit unsuccessfully. | 11603 * which takes a pid argument, exit unsuccessfully. |
| 11606 exit(s>>8); | 11648 exit(s>>8); |
| 11607 } | 11649 } |
| 11608 } | 11650 } |
| 11609 | 11651 |
| 11610 EOF | 11652 EOF |
| 11611 if { (eval echo configure:11612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11612 then | 11654 then |
| 11613 ac_cv_func_getpgrp_void=yes | 11655 ac_cv_func_getpgrp_void=yes |
| 11614 else | 11656 else |
| 11615 conftest_rc="$?" | 11657 conftest_rc="$?" |
| 11616 echo "configure: failed program was:" >&5 | 11658 echo "configure: failed program was:" >&5 |
| 11633 | 11675 |
| 11634 fi | 11676 fi |
| 11635 | 11677 |
| 11636 | 11678 |
| 11637 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 11679 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 11638 echo "configure:11639: checking for working mmap" >&5 | 11680 echo "configure:11681: checking for working mmap" >&5 |
| 11639 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 11681 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 11640 cat > conftest.$ac_ext <<EOF | 11682 cat > conftest.$ac_ext <<EOF |
| 11641 #line 11642 "configure" | 11683 #line 11684 "configure" |
| 11642 #include "confdefs.h" | 11684 #include "confdefs.h" |
| 11643 #include <stdio.h> | 11685 #include <stdio.h> |
| 11644 #include <unistd.h> | 11686 #include <unistd.h> |
| 11645 #include <fcntl.h> | 11687 #include <fcntl.h> |
| 11646 #include <sys/mman.h> | 11688 #include <sys/mman.h> |
| 11669 return 0; | 11711 return 0; |
| 11670 perror ("conftest: mmap failed"); | 11712 perror ("conftest: mmap failed"); |
| 11671 return 1; | 11713 return 1; |
| 11672 } | 11714 } |
| 11673 EOF | 11715 EOF |
| 11674 if { (eval echo configure:11675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11716 if { (eval echo configure:11717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 11675 then | 11717 then |
| 11676 have_mmap=yes | 11718 have_mmap=yes |
| 11677 else | 11719 else |
| 11678 conftest_rc="$?" | 11720 conftest_rc="$?" |
| 11679 echo "configure: failed program was:" >&5 | 11721 echo "configure: failed program was:" >&5 |
| 11695 | 11737 |
| 11696 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 11738 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
| 11697 if test "$rel_alloc $have_mmap" = "default yes"; then | 11739 if test "$rel_alloc $have_mmap" = "default yes"; then |
| 11698 if test "$doug_lea_malloc" = "yes"; then | 11740 if test "$doug_lea_malloc" = "yes"; then |
| 11699 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 11741 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
| 11700 echo "configure:11701: checking for M_MMAP_THRESHOLD" >&5 | 11742 echo "configure:11743: checking for M_MMAP_THRESHOLD" >&5 |
| 11701 cat > conftest.$ac_ext <<EOF | 11743 cat > conftest.$ac_ext <<EOF |
| 11702 #line 11703 "configure" | 11744 #line 11745 "configure" |
| 11703 #include "confdefs.h" | 11745 #include "confdefs.h" |
| 11704 #include <malloc.h> | 11746 #include <malloc.h> |
| 11705 int main() { | 11747 int main() { |
| 11706 | 11748 |
| 11707 #ifndef M_MMAP_THRESHOLD | 11749 #ifndef M_MMAP_THRESHOLD |
| 11709 !@+$%^&*_)(_ - unlikely to compile... | 11751 !@+$%^&*_)(_ - unlikely to compile... |
| 11710 #endif | 11752 #endif |
| 11711 | 11753 |
| 11712 ; return 0; } | 11754 ; return 0; } |
| 11713 EOF | 11755 EOF |
| 11714 if { (eval echo configure:11715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11756 if { (eval echo configure:11757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 11715 rm -rf conftest* | 11757 rm -rf conftest* |
| 11716 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 11758 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
| 11717 else | 11759 else |
| 11718 echo "configure: failed program was:" >&5 | 11760 echo "configure: failed program was:" >&5 |
| 11719 cat conftest.$ac_ext >&5 | 11761 cat conftest.$ac_ext >&5 |
| 11734 } | 11776 } |
| 11735 | 11777 |
| 11736 | 11778 |
| 11737 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11779 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 11738 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11780 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 11739 echo "configure:11740: checking for termios.h" >&5 | 11781 echo "configure:11782: checking for termios.h" >&5 |
| 11740 | 11782 |
| 11741 cat > conftest.$ac_ext <<EOF | 11783 cat > conftest.$ac_ext <<EOF |
| 11742 #line 11743 "configure" | 11784 #line 11785 "configure" |
| 11743 #include "confdefs.h" | 11785 #include "confdefs.h" |
| 11744 #include <termios.h> | 11786 #include <termios.h> |
| 11745 EOF | 11787 EOF |
| 11746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11747 { (eval echo configure:11748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11789 { (eval echo configure:11790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11749 if test -z "$ac_err"; then | 11791 if test -z "$ac_err"; then |
| 11750 rm -rf conftest* | 11792 rm -rf conftest* |
| 11751 eval "ac_cv_header_$ac_safe=yes" | 11793 eval "ac_cv_header_$ac_safe=yes" |
| 11752 else | 11794 else |
| 11785 | 11827 |
| 11786 else | 11828 else |
| 11787 echo "$ac_t""no" 1>&6 | 11829 echo "$ac_t""no" 1>&6 |
| 11788 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11830 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 11789 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11831 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 11790 echo "configure:11791: checking for termio.h" >&5 | 11832 echo "configure:11833: checking for termio.h" >&5 |
| 11791 | 11833 |
| 11792 cat > conftest.$ac_ext <<EOF | 11834 cat > conftest.$ac_ext <<EOF |
| 11793 #line 11794 "configure" | 11835 #line 11836 "configure" |
| 11794 #include "confdefs.h" | 11836 #include "confdefs.h" |
| 11795 #include <termio.h> | 11837 #include <termio.h> |
| 11796 EOF | 11838 EOF |
| 11797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11798 { (eval echo configure:11799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11840 { (eval echo configure:11841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11800 if test -z "$ac_err"; then | 11842 if test -z "$ac_err"; then |
| 11801 rm -rf conftest* | 11843 rm -rf conftest* |
| 11802 eval "ac_cv_header_$ac_safe=yes" | 11844 eval "ac_cv_header_$ac_safe=yes" |
| 11803 else | 11845 else |
| 11825 fi | 11867 fi |
| 11826 | 11868 |
| 11827 | 11869 |
| 11828 | 11870 |
| 11829 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11871 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 11830 echo "configure:11831: checking for socket" >&5 | 11872 echo "configure:11873: checking for socket" >&5 |
| 11831 | 11873 |
| 11832 cat > conftest.$ac_ext <<EOF | 11874 cat > conftest.$ac_ext <<EOF |
| 11833 #line 11834 "configure" | 11875 #line 11876 "configure" |
| 11834 #include "confdefs.h" | 11876 #include "confdefs.h" |
| 11835 /* System header to define __stub macros and hopefully few prototypes, | 11877 /* System header to define __stub macros and hopefully few prototypes, |
| 11836 which can conflict with char socket(); below. */ | 11878 which can conflict with char socket(); below. */ |
| 11837 #include <assert.h> | 11879 #include <assert.h> |
| 11838 /* Override any gcc2 internal prototype to avoid an error. */ | 11880 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11851 socket(); | 11893 socket(); |
| 11852 #endif | 11894 #endif |
| 11853 | 11895 |
| 11854 ; return 0; } | 11896 ; return 0; } |
| 11855 EOF | 11897 EOF |
| 11856 if { (eval echo configure:11857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11898 if { (eval echo configure:11899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11857 rm -rf conftest* | 11899 rm -rf conftest* |
| 11858 eval "ac_cv_func_socket=yes" | 11900 eval "ac_cv_func_socket=yes" |
| 11859 else | 11901 else |
| 11860 echo "configure: failed program was:" >&5 | 11902 echo "configure: failed program was:" >&5 |
| 11861 cat conftest.$ac_ext >&5 | 11903 cat conftest.$ac_ext >&5 |
| 11866 | 11908 |
| 11867 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11909 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 11868 echo "$ac_t""yes" 1>&6 | 11910 echo "$ac_t""yes" 1>&6 |
| 11869 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11911 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 11870 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11912 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 11871 echo "configure:11872: checking for netinet/in.h" >&5 | 11913 echo "configure:11914: checking for netinet/in.h" >&5 |
| 11872 | 11914 |
| 11873 cat > conftest.$ac_ext <<EOF | 11915 cat > conftest.$ac_ext <<EOF |
| 11874 #line 11875 "configure" | 11916 #line 11917 "configure" |
| 11875 #include "confdefs.h" | 11917 #include "confdefs.h" |
| 11876 #include <netinet/in.h> | 11918 #include <netinet/in.h> |
| 11877 EOF | 11919 EOF |
| 11878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11879 { (eval echo configure:11880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11921 { (eval echo configure:11922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11881 if test -z "$ac_err"; then | 11923 if test -z "$ac_err"; then |
| 11882 rm -rf conftest* | 11924 rm -rf conftest* |
| 11883 eval "ac_cv_header_$ac_safe=yes" | 11925 eval "ac_cv_header_$ac_safe=yes" |
| 11884 else | 11926 else |
| 11891 rm -f conftest* | 11933 rm -f conftest* |
| 11892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 11893 echo "$ac_t""yes" 1>&6 | 11935 echo "$ac_t""yes" 1>&6 |
| 11894 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11936 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 11895 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11937 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 11896 echo "configure:11897: checking for arpa/inet.h" >&5 | 11938 echo "configure:11939: checking for arpa/inet.h" >&5 |
| 11897 | 11939 |
| 11898 cat > conftest.$ac_ext <<EOF | 11940 cat > conftest.$ac_ext <<EOF |
| 11899 #line 11900 "configure" | 11941 #line 11942 "configure" |
| 11900 #include "confdefs.h" | 11942 #include "confdefs.h" |
| 11901 #include <arpa/inet.h> | 11943 #include <arpa/inet.h> |
| 11902 EOF | 11944 EOF |
| 11903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11904 { (eval echo configure:11905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11946 { (eval echo configure:11947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11906 if test -z "$ac_err"; then | 11948 if test -z "$ac_err"; then |
| 11907 rm -rf conftest* | 11949 rm -rf conftest* |
| 11908 eval "ac_cv_header_$ac_safe=yes" | 11950 eval "ac_cv_header_$ac_safe=yes" |
| 11909 else | 11951 else |
| 11924 #define HAVE_SOCKETS 1 | 11966 #define HAVE_SOCKETS 1 |
| 11925 EOF | 11967 EOF |
| 11926 } | 11968 } |
| 11927 | 11969 |
| 11928 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11970 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 11929 echo "configure:11930: checking "for sun_len member in struct sockaddr_un"" >&5 | 11971 echo "configure:11972: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 11930 cat > conftest.$ac_ext <<EOF | 11972 cat > conftest.$ac_ext <<EOF |
| 11931 #line 11932 "configure" | 11973 #line 11974 "configure" |
| 11932 #include "confdefs.h" | 11974 #include "confdefs.h" |
| 11933 | 11975 |
| 11934 #include <sys/types.h> | 11976 #include <sys/types.h> |
| 11935 #include <sys/socket.h> | 11977 #include <sys/socket.h> |
| 11936 #include <sys/un.h> | 11978 #include <sys/un.h> |
| 11937 | 11979 |
| 11938 int main() { | 11980 int main() { |
| 11939 static struct sockaddr_un x; x.sun_len = 1; | 11981 static struct sockaddr_un x; x.sun_len = 1; |
| 11940 ; return 0; } | 11982 ; return 0; } |
| 11941 EOF | 11983 EOF |
| 11942 if { (eval echo configure:11943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11984 if { (eval echo configure:11985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11943 rm -rf conftest* | 11985 rm -rf conftest* |
| 11944 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11986 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 11945 Defining HAVE_SOCKADDR_SUN_LEN | 11987 Defining HAVE_SOCKADDR_SUN_LEN |
| 11946 EOF | 11988 EOF |
| 11947 cat >> confdefs.h <<\EOF | 11989 cat >> confdefs.h <<\EOF |
| 11955 rm -rf conftest* | 11997 rm -rf conftest* |
| 11956 echo "$ac_t""no" 1>&6 | 11998 echo "$ac_t""no" 1>&6 |
| 11957 fi | 11999 fi |
| 11958 rm -f conftest* | 12000 rm -f conftest* |
| 11959 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12001 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 11960 echo "configure:11961: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12002 echo "configure:12003: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 11961 cat > conftest.$ac_ext <<EOF | 12003 cat > conftest.$ac_ext <<EOF |
| 11962 #line 11963 "configure" | 12004 #line 12005 "configure" |
| 11963 #include "confdefs.h" | 12005 #include "confdefs.h" |
| 11964 | 12006 |
| 11965 #include <sys/types.h> | 12007 #include <sys/types.h> |
| 11966 #include <netinet/in.h> | 12008 #include <netinet/in.h> |
| 11967 | 12009 |
| 11968 int main() { | 12010 int main() { |
| 11969 static struct ip_mreq x; | 12011 static struct ip_mreq x; |
| 11970 ; return 0; } | 12012 ; return 0; } |
| 11971 EOF | 12013 EOF |
| 11972 if { (eval echo configure:11973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11973 rm -rf conftest* | 12015 rm -rf conftest* |
| 11974 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12016 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 11975 Defining HAVE_MULTICAST | 12017 Defining HAVE_MULTICAST |
| 11976 EOF | 12018 EOF |
| 11977 cat >> confdefs.h <<\EOF | 12019 cat >> confdefs.h <<\EOF |
| 11998 echo "$ac_t""no" 1>&6 | 12040 echo "$ac_t""no" 1>&6 |
| 11999 fi | 12041 fi |
| 12000 | 12042 |
| 12001 | 12043 |
| 12002 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12044 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 12003 echo "configure:12004: checking for msgget" >&5 | 12045 echo "configure:12046: checking for msgget" >&5 |
| 12004 | 12046 |
| 12005 cat > conftest.$ac_ext <<EOF | 12047 cat > conftest.$ac_ext <<EOF |
| 12006 #line 12007 "configure" | 12048 #line 12049 "configure" |
| 12007 #include "confdefs.h" | 12049 #include "confdefs.h" |
| 12008 /* System header to define __stub macros and hopefully few prototypes, | 12050 /* System header to define __stub macros and hopefully few prototypes, |
| 12009 which can conflict with char msgget(); below. */ | 12051 which can conflict with char msgget(); below. */ |
| 12010 #include <assert.h> | 12052 #include <assert.h> |
| 12011 /* Override any gcc2 internal prototype to avoid an error. */ | 12053 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12024 msgget(); | 12066 msgget(); |
| 12025 #endif | 12067 #endif |
| 12026 | 12068 |
| 12027 ; return 0; } | 12069 ; return 0; } |
| 12028 EOF | 12070 EOF |
| 12029 if { (eval echo configure:12030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12071 if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12030 rm -rf conftest* | 12072 rm -rf conftest* |
| 12031 eval "ac_cv_func_msgget=yes" | 12073 eval "ac_cv_func_msgget=yes" |
| 12032 else | 12074 else |
| 12033 echo "configure: failed program was:" >&5 | 12075 echo "configure: failed program was:" >&5 |
| 12034 cat conftest.$ac_ext >&5 | 12076 cat conftest.$ac_ext >&5 |
| 12039 | 12081 |
| 12040 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12082 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 12041 echo "$ac_t""yes" 1>&6 | 12083 echo "$ac_t""yes" 1>&6 |
| 12042 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12084 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 12043 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12085 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 12044 echo "configure:12045: checking for sys/ipc.h" >&5 | 12086 echo "configure:12087: checking for sys/ipc.h" >&5 |
| 12045 | 12087 |
| 12046 cat > conftest.$ac_ext <<EOF | 12088 cat > conftest.$ac_ext <<EOF |
| 12047 #line 12048 "configure" | 12089 #line 12090 "configure" |
| 12048 #include "confdefs.h" | 12090 #include "confdefs.h" |
| 12049 #include <sys/ipc.h> | 12091 #include <sys/ipc.h> |
| 12050 EOF | 12092 EOF |
| 12051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12052 { (eval echo configure:12053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12094 { (eval echo configure:12095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12054 if test -z "$ac_err"; then | 12096 if test -z "$ac_err"; then |
| 12055 rm -rf conftest* | 12097 rm -rf conftest* |
| 12056 eval "ac_cv_header_$ac_safe=yes" | 12098 eval "ac_cv_header_$ac_safe=yes" |
| 12057 else | 12099 else |
| 12064 rm -f conftest* | 12106 rm -f conftest* |
| 12065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 12066 echo "$ac_t""yes" 1>&6 | 12108 echo "$ac_t""yes" 1>&6 |
| 12067 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12109 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 12068 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12110 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 12069 echo "configure:12070: checking for sys/msg.h" >&5 | 12111 echo "configure:12112: checking for sys/msg.h" >&5 |
| 12070 | 12112 |
| 12071 cat > conftest.$ac_ext <<EOF | 12113 cat > conftest.$ac_ext <<EOF |
| 12072 #line 12073 "configure" | 12114 #line 12115 "configure" |
| 12073 #include "confdefs.h" | 12115 #include "confdefs.h" |
| 12074 #include <sys/msg.h> | 12116 #include <sys/msg.h> |
| 12075 EOF | 12117 EOF |
| 12076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12077 { (eval echo configure:12078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12119 { (eval echo configure:12120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12079 if test -z "$ac_err"; then | 12121 if test -z "$ac_err"; then |
| 12080 rm -rf conftest* | 12122 rm -rf conftest* |
| 12081 eval "ac_cv_header_$ac_safe=yes" | 12123 eval "ac_cv_header_$ac_safe=yes" |
| 12082 else | 12124 else |
| 12110 fi | 12152 fi |
| 12111 | 12153 |
| 12112 | 12154 |
| 12113 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12155 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 12114 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12156 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 12115 echo "configure:12116: checking for dirent.h" >&5 | 12157 echo "configure:12158: checking for dirent.h" >&5 |
| 12116 | 12158 |
| 12117 cat > conftest.$ac_ext <<EOF | 12159 cat > conftest.$ac_ext <<EOF |
| 12118 #line 12119 "configure" | 12160 #line 12161 "configure" |
| 12119 #include "confdefs.h" | 12161 #include "confdefs.h" |
| 12120 #include <dirent.h> | 12162 #include <dirent.h> |
| 12121 EOF | 12163 EOF |
| 12122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12123 { (eval echo configure:12124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12165 { (eval echo configure:12166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12125 if test -z "$ac_err"; then | 12167 if test -z "$ac_err"; then |
| 12126 rm -rf conftest* | 12168 rm -rf conftest* |
| 12127 eval "ac_cv_header_$ac_safe=yes" | 12169 eval "ac_cv_header_$ac_safe=yes" |
| 12128 else | 12170 else |
| 12145 | 12187 |
| 12146 else | 12188 else |
| 12147 echo "$ac_t""no" 1>&6 | 12189 echo "$ac_t""no" 1>&6 |
| 12148 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12190 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 12149 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12191 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 12150 echo "configure:12151: checking for sys/dir.h" >&5 | 12192 echo "configure:12193: checking for sys/dir.h" >&5 |
| 12151 | 12193 |
| 12152 cat > conftest.$ac_ext <<EOF | 12194 cat > conftest.$ac_ext <<EOF |
| 12153 #line 12154 "configure" | 12195 #line 12196 "configure" |
| 12154 #include "confdefs.h" | 12196 #include "confdefs.h" |
| 12155 #include <sys/dir.h> | 12197 #include <sys/dir.h> |
| 12156 EOF | 12198 EOF |
| 12157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12158 { (eval echo configure:12159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12200 { (eval echo configure:12201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12160 if test -z "$ac_err"; then | 12202 if test -z "$ac_err"; then |
| 12161 rm -rf conftest* | 12203 rm -rf conftest* |
| 12162 eval "ac_cv_header_$ac_safe=yes" | 12204 eval "ac_cv_header_$ac_safe=yes" |
| 12163 else | 12205 else |
| 12186 fi | 12228 fi |
| 12187 | 12229 |
| 12188 | 12230 |
| 12189 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12231 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 12190 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12232 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 12191 echo "configure:12192: checking for nlist.h" >&5 | 12233 echo "configure:12234: checking for nlist.h" >&5 |
| 12192 | 12234 |
| 12193 cat > conftest.$ac_ext <<EOF | 12235 cat > conftest.$ac_ext <<EOF |
| 12194 #line 12195 "configure" | 12236 #line 12237 "configure" |
| 12195 #include "confdefs.h" | 12237 #include "confdefs.h" |
| 12196 #include <nlist.h> | 12238 #include <nlist.h> |
| 12197 EOF | 12239 EOF |
| 12198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12199 { (eval echo configure:12200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12241 { (eval echo configure:12242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12201 if test -z "$ac_err"; then | 12243 if test -z "$ac_err"; then |
| 12202 rm -rf conftest* | 12244 rm -rf conftest* |
| 12203 eval "ac_cv_header_$ac_safe=yes" | 12245 eval "ac_cv_header_$ac_safe=yes" |
| 12204 else | 12246 else |
| 12224 fi | 12266 fi |
| 12225 | 12267 |
| 12226 | 12268 |
| 12227 | 12269 |
| 12228 echo "checking "for sound support"" 1>&6 | 12270 echo "checking "for sound support"" 1>&6 |
| 12229 echo "configure:12230: checking "for sound support"" >&5 | 12271 echo "configure:12272: checking "for sound support"" >&5 |
| 12230 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12272 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 12231 | 12273 |
| 12232 if test "$with_native_sound" != "no"; then | 12274 if test "$with_native_sound" != "no"; then |
| 12233 if test -n "$native_sound_lib"; then | 12275 if test -n "$native_sound_lib"; then |
| 12234 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12276 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 12235 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12277 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 12236 echo "configure:12237: checking for multimedia/audio_device.h" >&5 | 12278 echo "configure:12279: checking for multimedia/audio_device.h" >&5 |
| 12237 | 12279 |
| 12238 cat > conftest.$ac_ext <<EOF | 12280 cat > conftest.$ac_ext <<EOF |
| 12239 #line 12240 "configure" | 12281 #line 12282 "configure" |
| 12240 #include "confdefs.h" | 12282 #include "confdefs.h" |
| 12241 #include <multimedia/audio_device.h> | 12283 #include <multimedia/audio_device.h> |
| 12242 EOF | 12284 EOF |
| 12243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12244 { (eval echo configure:12245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12286 { (eval echo configure:12287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12246 if test -z "$ac_err"; then | 12288 if test -z "$ac_err"; then |
| 12247 rm -rf conftest* | 12289 rm -rf conftest* |
| 12248 eval "ac_cv_header_$ac_safe=yes" | 12290 eval "ac_cv_header_$ac_safe=yes" |
| 12249 else | 12291 else |
| 12287 case "$canonical" in | 12329 case "$canonical" in |
| 12288 *-sgi-* ) | 12330 *-sgi-* ) |
| 12289 if test -z "$native_sound_lib"; then | 12331 if test -z "$native_sound_lib"; then |
| 12290 | 12332 |
| 12291 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12333 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 12292 echo "configure:12293: checking for ALopenport in -laudio" >&5 | 12334 echo "configure:12335: checking for ALopenport in -laudio" >&5 |
| 12293 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12335 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 12294 | 12336 |
| 12295 xe_check_libs=" -laudio " | 12337 xe_check_libs=" -laudio " |
| 12296 cat > conftest.$ac_ext <<EOF | 12338 cat > conftest.$ac_ext <<EOF |
| 12297 #line 12298 "configure" | 12339 #line 12340 "configure" |
| 12298 #include "confdefs.h" | 12340 #include "confdefs.h" |
| 12299 /* Override any gcc2 internal prototype to avoid an error. */ | 12341 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12300 /* We use char because int might match the return type of a gcc2 | 12342 /* We use char because int might match the return type of a gcc2 |
| 12301 builtin and then its argument prototype would still apply. */ | 12343 builtin and then its argument prototype would still apply. */ |
| 12302 char ALopenport(); | 12344 char ALopenport(); |
| 12303 | 12345 |
| 12304 int main() { | 12346 int main() { |
| 12305 ALopenport() | 12347 ALopenport() |
| 12306 ; return 0; } | 12348 ; return 0; } |
| 12307 EOF | 12349 EOF |
| 12308 if { (eval echo configure:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12350 if { (eval echo configure:12351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12309 rm -rf conftest* | 12351 rm -rf conftest* |
| 12310 eval "ac_cv_lib_$ac_lib_var=yes" | 12352 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12311 else | 12353 else |
| 12312 echo "configure: failed program was:" >&5 | 12354 echo "configure: failed program was:" >&5 |
| 12313 cat conftest.$ac_ext >&5 | 12355 cat conftest.$ac_ext >&5 |
| 12334 fi ;; | 12376 fi ;; |
| 12335 hppa*-hp-hpux* ) | 12377 hppa*-hp-hpux* ) |
| 12336 if test -z "$native_sound_lib"; then | 12378 if test -z "$native_sound_lib"; then |
| 12337 | 12379 |
| 12338 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12380 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 12339 echo "configure:12340: checking for AOpenAudio in -lAlib" >&5 | 12381 echo "configure:12382: checking for AOpenAudio in -lAlib" >&5 |
| 12340 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12382 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 12341 | 12383 |
| 12342 xe_check_libs=" -lAlib " | 12384 xe_check_libs=" -lAlib " |
| 12343 cat > conftest.$ac_ext <<EOF | 12385 cat > conftest.$ac_ext <<EOF |
| 12344 #line 12345 "configure" | 12386 #line 12387 "configure" |
| 12345 #include "confdefs.h" | 12387 #include "confdefs.h" |
| 12346 /* Override any gcc2 internal prototype to avoid an error. */ | 12388 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12347 /* We use char because int might match the return type of a gcc2 | 12389 /* We use char because int might match the return type of a gcc2 |
| 12348 builtin and then its argument prototype would still apply. */ | 12390 builtin and then its argument prototype would still apply. */ |
| 12349 char AOpenAudio(); | 12391 char AOpenAudio(); |
| 12350 | 12392 |
| 12351 int main() { | 12393 int main() { |
| 12352 AOpenAudio() | 12394 AOpenAudio() |
| 12353 ; return 0; } | 12395 ; return 0; } |
| 12354 EOF | 12396 EOF |
| 12355 if { (eval echo configure:12356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12397 if { (eval echo configure:12398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12356 rm -rf conftest* | 12398 rm -rf conftest* |
| 12357 eval "ac_cv_lib_$ac_lib_var=yes" | 12399 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12358 else | 12400 else |
| 12359 echo "configure: failed program was:" >&5 | 12401 echo "configure: failed program was:" >&5 |
| 12360 cat conftest.$ac_ext >&5 | 12402 cat conftest.$ac_ext >&5 |
| 12388 | 12430 |
| 12389 if test -z "$sound_found"; then | 12431 if test -z "$sound_found"; then |
| 12390 for dir in "machine" "sys" "linux"; do | 12432 for dir in "machine" "sys" "linux"; do |
| 12391 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12433 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 12392 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12434 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 12393 echo "configure:12394: checking for ${dir}/soundcard.h" >&5 | 12435 echo "configure:12436: checking for ${dir}/soundcard.h" >&5 |
| 12394 | 12436 |
| 12395 cat > conftest.$ac_ext <<EOF | 12437 cat > conftest.$ac_ext <<EOF |
| 12396 #line 12397 "configure" | 12438 #line 12439 "configure" |
| 12397 #include "confdefs.h" | 12439 #include "confdefs.h" |
| 12398 #include <${dir}/soundcard.h> | 12440 #include <${dir}/soundcard.h> |
| 12399 EOF | 12441 EOF |
| 12400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12401 { (eval echo configure:12402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12443 { (eval echo configure:12444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12403 if test -z "$ac_err"; then | 12445 if test -z "$ac_err"; then |
| 12404 rm -rf conftest* | 12446 rm -rf conftest* |
| 12405 eval "ac_cv_header_$ac_safe=yes" | 12447 eval "ac_cv_header_$ac_safe=yes" |
| 12406 else | 12448 else |
| 12457 fi | 12499 fi |
| 12458 | 12500 |
| 12459 if test "$with_nas_sound" != "no"; then | 12501 if test "$with_nas_sound" != "no"; then |
| 12460 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 12502 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
| 12461 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 12503 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
| 12462 echo "configure:12463: checking for audio/audiolib.h" >&5 | 12504 echo "configure:12505: checking for audio/audiolib.h" >&5 |
| 12463 | 12505 |
| 12464 cat > conftest.$ac_ext <<EOF | 12506 cat > conftest.$ac_ext <<EOF |
| 12465 #line 12466 "configure" | 12507 #line 12508 "configure" |
| 12466 #include "confdefs.h" | 12508 #include "confdefs.h" |
| 12467 #include <audio/audiolib.h> | 12509 #include <audio/audiolib.h> |
| 12468 EOF | 12510 EOF |
| 12469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12470 { (eval echo configure:12471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12472 if test -z "$ac_err"; then | 12514 if test -z "$ac_err"; then |
| 12473 rm -rf conftest* | 12515 rm -rf conftest* |
| 12474 eval "ac_cv_header_$ac_safe=yes" | 12516 eval "ac_cv_header_$ac_safe=yes" |
| 12475 else | 12517 else |
| 12483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 12484 echo "$ac_t""yes" 1>&6 | 12526 echo "$ac_t""yes" 1>&6 |
| 12485 | 12527 |
| 12486 | 12528 |
| 12487 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 12529 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
| 12488 echo "configure:12489: checking for AuOpenServer in -laudio" >&5 | 12530 echo "configure:12531: checking for AuOpenServer in -laudio" >&5 |
| 12489 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 12531 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
| 12490 | 12532 |
| 12491 xe_check_libs=" -laudio " | 12533 xe_check_libs=" -laudio " |
| 12492 cat > conftest.$ac_ext <<EOF | 12534 cat > conftest.$ac_ext <<EOF |
| 12493 #line 12494 "configure" | 12535 #line 12536 "configure" |
| 12494 #include "confdefs.h" | 12536 #include "confdefs.h" |
| 12495 /* Override any gcc2 internal prototype to avoid an error. */ | 12537 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12496 /* We use char because int might match the return type of a gcc2 | 12538 /* We use char because int might match the return type of a gcc2 |
| 12497 builtin and then its argument prototype would still apply. */ | 12539 builtin and then its argument prototype would still apply. */ |
| 12498 char AuOpenServer(); | 12540 char AuOpenServer(); |
| 12499 | 12541 |
| 12500 int main() { | 12542 int main() { |
| 12501 AuOpenServer() | 12543 AuOpenServer() |
| 12502 ; return 0; } | 12544 ; return 0; } |
| 12503 EOF | 12545 EOF |
| 12504 if { (eval echo configure:12505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12546 if { (eval echo configure:12547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12505 rm -rf conftest* | 12547 rm -rf conftest* |
| 12506 eval "ac_cv_lib_$ac_lib_var=yes" | 12548 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12507 else | 12549 else |
| 12508 echo "configure: failed program was:" >&5 | 12550 echo "configure: failed program was:" >&5 |
| 12509 cat conftest.$ac_ext >&5 | 12551 cat conftest.$ac_ext >&5 |
| 12538 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 12580 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 12539 echo " xemacs will be linked with \"nas.o\"" | 12581 echo " xemacs will be linked with \"nas.o\"" |
| 12540 fi | 12582 fi |
| 12541 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 12583 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 12542 cat > conftest.$ac_ext <<EOF | 12584 cat > conftest.$ac_ext <<EOF |
| 12543 #line 12544 "configure" | 12585 #line 12586 "configure" |
| 12544 #include "confdefs.h" | 12586 #include "confdefs.h" |
| 12545 #include <audio/Xtutil.h> | 12587 #include <audio/Xtutil.h> |
| 12546 EOF | 12588 EOF |
| 12547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 12548 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 12590 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 12569 | 12611 |
| 12570 if test "$with_esd_sound" != "no"; then | 12612 if test "$with_esd_sound" != "no"; then |
| 12571 # Extract the first word of "esd-config", so it can be a program name with args. | 12613 # Extract the first word of "esd-config", so it can be a program name with args. |
| 12572 set dummy esd-config; ac_word=$2 | 12614 set dummy esd-config; ac_word=$2 |
| 12573 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 12615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 12574 echo "configure:12575: checking for $ac_word" >&5 | 12616 echo "configure:12617: checking for $ac_word" >&5 |
| 12575 | 12617 |
| 12576 if test -n "$have_esd_config"; then | 12618 if test -n "$have_esd_config"; then |
| 12577 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 12619 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
| 12578 else | 12620 else |
| 12579 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 12621 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 12598 if test "$have_esd_config" = "yes"; then | 12640 if test "$have_esd_config" = "yes"; then |
| 12599 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 12641 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
| 12600 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 | 12642 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 |
| 12601 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 12643 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
| 12602 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 12644 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
| 12603 echo "configure:12604: checking for esd_play_stream" >&5 | 12645 echo "configure:12646: checking for esd_play_stream" >&5 |
| 12604 | 12646 |
| 12605 cat > conftest.$ac_ext <<EOF | 12647 cat > conftest.$ac_ext <<EOF |
| 12606 #line 12607 "configure" | 12648 #line 12649 "configure" |
| 12607 #include "confdefs.h" | 12649 #include "confdefs.h" |
| 12608 /* System header to define __stub macros and hopefully few prototypes, | 12650 /* System header to define __stub macros and hopefully few prototypes, |
| 12609 which can conflict with char esd_play_stream(); below. */ | 12651 which can conflict with char esd_play_stream(); below. */ |
| 12610 #include <assert.h> | 12652 #include <assert.h> |
| 12611 /* Override any gcc2 internal prototype to avoid an error. */ | 12653 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12624 esd_play_stream(); | 12666 esd_play_stream(); |
| 12625 #endif | 12667 #endif |
| 12626 | 12668 |
| 12627 ; return 0; } | 12669 ; return 0; } |
| 12628 EOF | 12670 EOF |
| 12629 if { (eval echo configure:12630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12671 if { (eval echo configure:12672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12630 rm -rf conftest* | 12672 rm -rf conftest* |
| 12631 eval "ac_cv_func_esd_play_stream=yes" | 12673 eval "ac_cv_func_esd_play_stream=yes" |
| 12632 else | 12674 else |
| 12633 echo "configure: failed program was:" >&5 | 12675 echo "configure: failed program was:" >&5 |
| 12634 cat conftest.$ac_ext >&5 | 12676 cat conftest.$ac_ext >&5 |
| 12675 | 12717 |
| 12676 test -z "$with_tty" && with_tty=yes | 12718 test -z "$with_tty" && with_tty=yes |
| 12677 | 12719 |
| 12678 if test "$with_tty" = "yes" ; then | 12720 if test "$with_tty" = "yes" ; then |
| 12679 echo "checking for TTY-related features" 1>&6 | 12721 echo "checking for TTY-related features" 1>&6 |
| 12680 echo "configure:12681: checking for TTY-related features" >&5 | 12722 echo "configure:12723: checking for TTY-related features" >&5 |
| 12681 { test "$extra_verbose" = "yes" && cat << \EOF | 12723 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12682 Defining HAVE_TTY | 12724 Defining HAVE_TTY |
| 12683 EOF | 12725 EOF |
| 12684 cat >> confdefs.h <<\EOF | 12726 cat >> confdefs.h <<\EOF |
| 12685 #define HAVE_TTY 1 | 12727 #define HAVE_TTY 1 |
| 12691 fi | 12733 fi |
| 12692 | 12734 |
| 12693 if test -z "$with_ncurses"; then | 12735 if test -z "$with_ncurses"; then |
| 12694 | 12736 |
| 12695 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 12737 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 12696 echo "configure:12697: checking for tgetent in -lncurses" >&5 | 12738 echo "configure:12739: checking for tgetent in -lncurses" >&5 |
| 12697 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 12739 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 12698 | 12740 |
| 12699 xe_check_libs=" -lncurses " | 12741 xe_check_libs=" -lncurses " |
| 12700 cat > conftest.$ac_ext <<EOF | 12742 cat > conftest.$ac_ext <<EOF |
| 12701 #line 12702 "configure" | 12743 #line 12744 "configure" |
| 12702 #include "confdefs.h" | 12744 #include "confdefs.h" |
| 12703 /* Override any gcc2 internal prototype to avoid an error. */ | 12745 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12704 /* We use char because int might match the return type of a gcc2 | 12746 /* We use char because int might match the return type of a gcc2 |
| 12705 builtin and then its argument prototype would still apply. */ | 12747 builtin and then its argument prototype would still apply. */ |
| 12706 char tgetent(); | 12748 char tgetent(); |
| 12707 | 12749 |
| 12708 int main() { | 12750 int main() { |
| 12709 tgetent() | 12751 tgetent() |
| 12710 ; return 0; } | 12752 ; return 0; } |
| 12711 EOF | 12753 EOF |
| 12712 if { (eval echo configure:12713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12754 if { (eval echo configure:12755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12713 rm -rf conftest* | 12755 rm -rf conftest* |
| 12714 eval "ac_cv_lib_$ac_lib_var=yes" | 12756 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12715 else | 12757 else |
| 12716 echo "configure: failed program was:" >&5 | 12758 echo "configure: failed program was:" >&5 |
| 12717 cat conftest.$ac_ext >&5 | 12759 cat conftest.$ac_ext >&5 |
| 12740 EOF | 12782 EOF |
| 12741 } | 12783 } |
| 12742 | 12784 |
| 12743 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12785 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 12744 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12786 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 12745 echo "configure:12746: checking for ncurses/curses.h" >&5 | 12787 echo "configure:12788: checking for ncurses/curses.h" >&5 |
| 12746 | 12788 |
| 12747 cat > conftest.$ac_ext <<EOF | 12789 cat > conftest.$ac_ext <<EOF |
| 12748 #line 12749 "configure" | 12790 #line 12791 "configure" |
| 12749 #include "confdefs.h" | 12791 #include "confdefs.h" |
| 12750 #include <ncurses/curses.h> | 12792 #include <ncurses/curses.h> |
| 12751 EOF | 12793 EOF |
| 12752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12753 { (eval echo configure:12754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12795 { (eval echo configure:12796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12755 if test -z "$ac_err"; then | 12797 if test -z "$ac_err"; then |
| 12756 rm -rf conftest* | 12798 rm -rf conftest* |
| 12757 eval "ac_cv_header_$ac_safe=yes" | 12799 eval "ac_cv_header_$ac_safe=yes" |
| 12758 else | 12800 else |
| 12770 echo "$ac_t""no" 1>&6 | 12812 echo "$ac_t""no" 1>&6 |
| 12771 fi | 12813 fi |
| 12772 | 12814 |
| 12773 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12815 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 12774 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12816 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 12775 echo "configure:12776: checking for ncurses/term.h" >&5 | 12817 echo "configure:12818: checking for ncurses/term.h" >&5 |
| 12776 | 12818 |
| 12777 cat > conftest.$ac_ext <<EOF | 12819 cat > conftest.$ac_ext <<EOF |
| 12778 #line 12779 "configure" | 12820 #line 12821 "configure" |
| 12779 #include "confdefs.h" | 12821 #include "confdefs.h" |
| 12780 #include <ncurses/term.h> | 12822 #include <ncurses/term.h> |
| 12781 EOF | 12823 EOF |
| 12782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12783 { (eval echo configure:12784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12825 { (eval echo configure:12826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12785 if test -z "$ac_err"; then | 12827 if test -z "$ac_err"; then |
| 12786 rm -rf conftest* | 12828 rm -rf conftest* |
| 12787 eval "ac_cv_header_$ac_safe=yes" | 12829 eval "ac_cv_header_$ac_safe=yes" |
| 12788 else | 12830 else |
| 12808 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12850 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 12809 save_c_switch_site="$c_switch_site" | 12851 save_c_switch_site="$c_switch_site" |
| 12810 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12852 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 12811 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12853 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 12812 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12854 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 12813 echo "configure:12814: checking for ncurses/curses.h" >&5 | 12855 echo "configure:12856: checking for ncurses/curses.h" >&5 |
| 12814 | 12856 |
| 12815 cat > conftest.$ac_ext <<EOF | 12857 cat > conftest.$ac_ext <<EOF |
| 12816 #line 12817 "configure" | 12858 #line 12859 "configure" |
| 12817 #include "confdefs.h" | 12859 #include "confdefs.h" |
| 12818 #include <ncurses/curses.h> | 12860 #include <ncurses/curses.h> |
| 12819 EOF | 12861 EOF |
| 12820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12821 { (eval echo configure:12822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12863 { (eval echo configure:12864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12823 if test -z "$ac_err"; then | 12865 if test -z "$ac_err"; then |
| 12824 rm -rf conftest* | 12866 rm -rf conftest* |
| 12825 eval "ac_cv_header_$ac_safe=yes" | 12867 eval "ac_cv_header_$ac_safe=yes" |
| 12826 else | 12868 else |
| 12851 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12893 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 12852 else | 12894 else |
| 12853 for lib in curses termlib termcap; do | 12895 for lib in curses termlib termcap; do |
| 12854 | 12896 |
| 12855 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12897 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 12856 echo "configure:12857: checking for tgetent in -l$lib" >&5 | 12898 echo "configure:12899: checking for tgetent in -l$lib" >&5 |
| 12857 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12899 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 12858 | 12900 |
| 12859 xe_check_libs=" -l$lib " | 12901 xe_check_libs=" -l$lib " |
| 12860 cat > conftest.$ac_ext <<EOF | 12902 cat > conftest.$ac_ext <<EOF |
| 12861 #line 12862 "configure" | 12903 #line 12904 "configure" |
| 12862 #include "confdefs.h" | 12904 #include "confdefs.h" |
| 12863 /* Override any gcc2 internal prototype to avoid an error. */ | 12905 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12864 /* We use char because int might match the return type of a gcc2 | 12906 /* We use char because int might match the return type of a gcc2 |
| 12865 builtin and then its argument prototype would still apply. */ | 12907 builtin and then its argument prototype would still apply. */ |
| 12866 char tgetent(); | 12908 char tgetent(); |
| 12867 | 12909 |
| 12868 int main() { | 12910 int main() { |
| 12869 tgetent() | 12911 tgetent() |
| 12870 ; return 0; } | 12912 ; return 0; } |
| 12871 EOF | 12913 EOF |
| 12872 if { (eval echo configure:12873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12873 rm -rf conftest* | 12915 rm -rf conftest* |
| 12874 eval "ac_cv_lib_$ac_lib_var=yes" | 12916 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12875 else | 12917 else |
| 12876 echo "configure: failed program was:" >&5 | 12918 echo "configure: failed program was:" >&5 |
| 12877 cat conftest.$ac_ext >&5 | 12919 cat conftest.$ac_ext >&5 |
| 12898 if test -n "$libs_termcap"; then | 12940 if test -n "$libs_termcap"; then |
| 12899 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12941 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 12900 else | 12942 else |
| 12901 | 12943 |
| 12902 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12944 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 12903 echo "configure:12904: checking for tgetent in -lcurses" >&5 | 12945 echo "configure:12946: checking for tgetent in -lcurses" >&5 |
| 12904 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12946 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 12905 | 12947 |
| 12906 xe_check_libs=" -lcurses " | 12948 xe_check_libs=" -lcurses " |
| 12907 cat > conftest.$ac_ext <<EOF | 12949 cat > conftest.$ac_ext <<EOF |
| 12908 #line 12909 "configure" | 12950 #line 12951 "configure" |
| 12909 #include "confdefs.h" | 12951 #include "confdefs.h" |
| 12910 /* Override any gcc2 internal prototype to avoid an error. */ | 12952 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12911 /* We use char because int might match the return type of a gcc2 | 12953 /* We use char because int might match the return type of a gcc2 |
| 12912 builtin and then its argument prototype would still apply. */ | 12954 builtin and then its argument prototype would still apply. */ |
| 12913 char tgetent(); | 12955 char tgetent(); |
| 12914 | 12956 |
| 12915 int main() { | 12957 int main() { |
| 12916 tgetent() | 12958 tgetent() |
| 12917 ; return 0; } | 12959 ; return 0; } |
| 12918 EOF | 12960 EOF |
| 12919 if { (eval echo configure:12920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12961 if { (eval echo configure:12962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12920 rm -rf conftest* | 12962 rm -rf conftest* |
| 12921 eval "ac_cv_lib_$ac_lib_var=yes" | 12963 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12922 else | 12964 else |
| 12923 echo "configure: failed program was:" >&5 | 12965 echo "configure: failed program was:" >&5 |
| 12924 cat conftest.$ac_ext >&5 | 12966 cat conftest.$ac_ext >&5 |
| 12932 echo "$ac_t""yes" 1>&6 | 12974 echo "$ac_t""yes" 1>&6 |
| 12933 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12975 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 12934 else | 12976 else |
| 12935 echo "$ac_t""no" 1>&6 | 12977 echo "$ac_t""no" 1>&6 |
| 12936 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12978 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 12937 echo "configure:12938: checking for tgetent in -ltermcap" >&5 | 12979 echo "configure:12980: checking for tgetent in -ltermcap" >&5 |
| 12938 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12980 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 12939 | 12981 |
| 12940 xe_check_libs=" -ltermcap " | 12982 xe_check_libs=" -ltermcap " |
| 12941 cat > conftest.$ac_ext <<EOF | 12983 cat > conftest.$ac_ext <<EOF |
| 12942 #line 12943 "configure" | 12984 #line 12985 "configure" |
| 12943 #include "confdefs.h" | 12985 #include "confdefs.h" |
| 12944 /* Override any gcc2 internal prototype to avoid an error. */ | 12986 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12945 /* We use char because int might match the return type of a gcc2 | 12987 /* We use char because int might match the return type of a gcc2 |
| 12946 builtin and then its argument prototype would still apply. */ | 12988 builtin and then its argument prototype would still apply. */ |
| 12947 char tgetent(); | 12989 char tgetent(); |
| 12948 | 12990 |
| 12949 int main() { | 12991 int main() { |
| 12950 tgetent() | 12992 tgetent() |
| 12951 ; return 0; } | 12993 ; return 0; } |
| 12952 EOF | 12994 EOF |
| 12953 if { (eval echo configure:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12995 if { (eval echo configure:12996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12954 rm -rf conftest* | 12996 rm -rf conftest* |
| 12955 eval "ac_cv_lib_$ac_lib_var=yes" | 12997 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12956 else | 12998 else |
| 12957 echo "configure: failed program was:" >&5 | 12999 echo "configure: failed program was:" >&5 |
| 12958 cat conftest.$ac_ext >&5 | 13000 cat conftest.$ac_ext >&5 |
| 12996 } | 13038 } |
| 12997 | 13039 |
| 12998 | 13040 |
| 12999 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13041 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 13000 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13042 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 13001 echo "configure:13002: checking for gpm.h" >&5 | 13043 echo "configure:13044: checking for gpm.h" >&5 |
| 13002 | 13044 |
| 13003 cat > conftest.$ac_ext <<EOF | 13045 cat > conftest.$ac_ext <<EOF |
| 13004 #line 13005 "configure" | 13046 #line 13047 "configure" |
| 13005 #include "confdefs.h" | 13047 #include "confdefs.h" |
| 13006 #include <gpm.h> | 13048 #include <gpm.h> |
| 13007 EOF | 13049 EOF |
| 13008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13009 { (eval echo configure:13010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13051 { (eval echo configure:13052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13010 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13011 if test -z "$ac_err"; then | 13053 if test -z "$ac_err"; then |
| 13012 rm -rf conftest* | 13054 rm -rf conftest* |
| 13013 eval "ac_cv_header_$ac_safe=yes" | 13055 eval "ac_cv_header_$ac_safe=yes" |
| 13014 else | 13056 else |
| 13027 with_gpm=no | 13069 with_gpm=no |
| 13028 fi | 13070 fi |
| 13029 } | 13071 } |
| 13030 test -z "$with_gpm" && { | 13072 test -z "$with_gpm" && { |
| 13031 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13073 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 13032 echo "configure:13033: checking for Gpm_Open in -lgpm" >&5 | 13074 echo "configure:13075: checking for Gpm_Open in -lgpm" >&5 |
| 13033 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13075 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 13034 | 13076 |
| 13035 xe_check_libs=" -lgpm " | 13077 xe_check_libs=" -lgpm " |
| 13036 cat > conftest.$ac_ext <<EOF | 13078 cat > conftest.$ac_ext <<EOF |
| 13037 #line 13038 "configure" | 13079 #line 13080 "configure" |
| 13038 #include "confdefs.h" | 13080 #include "confdefs.h" |
| 13039 /* Override any gcc2 internal prototype to avoid an error. */ | 13081 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13040 /* We use char because int might match the return type of a gcc2 | 13082 /* We use char because int might match the return type of a gcc2 |
| 13041 builtin and then its argument prototype would still apply. */ | 13083 builtin and then its argument prototype would still apply. */ |
| 13042 char Gpm_Open(); | 13084 char Gpm_Open(); |
| 13043 | 13085 |
| 13044 int main() { | 13086 int main() { |
| 13045 Gpm_Open() | 13087 Gpm_Open() |
| 13046 ; return 0; } | 13088 ; return 0; } |
| 13047 EOF | 13089 EOF |
| 13048 if { (eval echo configure:13049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13049 rm -rf conftest* | 13091 rm -rf conftest* |
| 13050 eval "ac_cv_lib_$ac_lib_var=yes" | 13092 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13051 else | 13093 else |
| 13052 echo "configure: failed program was:" >&5 | 13094 echo "configure: failed program was:" >&5 |
| 13053 cat conftest.$ac_ext >&5 | 13095 cat conftest.$ac_ext >&5 |
| 13093 fi | 13135 fi |
| 13094 | 13136 |
| 13095 | 13137 |
| 13096 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13138 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
| 13097 != "no no no" && echo "checking for database support" 1>&6 | 13139 != "no no no" && echo "checking for database support" 1>&6 |
| 13098 echo "configure:13099: checking for database support" >&5 | 13140 echo "configure:13141: checking for database support" >&5 |
| 13099 | 13141 |
| 13100 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13142 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
| 13101 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13143 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 13102 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13144 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 13103 echo "configure:13104: checking for ndbm.h" >&5 | 13145 echo "configure:13146: checking for ndbm.h" >&5 |
| 13104 | 13146 |
| 13105 cat > conftest.$ac_ext <<EOF | 13147 cat > conftest.$ac_ext <<EOF |
| 13106 #line 13107 "configure" | 13148 #line 13149 "configure" |
| 13107 #include "confdefs.h" | 13149 #include "confdefs.h" |
| 13108 #include <ndbm.h> | 13150 #include <ndbm.h> |
| 13109 EOF | 13151 EOF |
| 13110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13111 { (eval echo configure:13112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13153 { (eval echo configure:13154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13113 if test -z "$ac_err"; then | 13155 if test -z "$ac_err"; then |
| 13114 rm -rf conftest* | 13156 rm -rf conftest* |
| 13115 eval "ac_cv_header_$ac_safe=yes" | 13157 eval "ac_cv_header_$ac_safe=yes" |
| 13116 else | 13158 else |
| 13136 fi | 13178 fi |
| 13137 | 13179 |
| 13138 if test "$with_database_gdbm" != "no"; then | 13180 if test "$with_database_gdbm" != "no"; then |
| 13139 | 13181 |
| 13140 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13182 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 13141 echo "configure:13142: checking for dbm_open in -lgdbm" >&5 | 13183 echo "configure:13184: checking for dbm_open in -lgdbm" >&5 |
| 13142 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13184 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 13143 | 13185 |
| 13144 xe_check_libs=" -lgdbm " | 13186 xe_check_libs=" -lgdbm " |
| 13145 cat > conftest.$ac_ext <<EOF | 13187 cat > conftest.$ac_ext <<EOF |
| 13146 #line 13147 "configure" | 13188 #line 13189 "configure" |
| 13147 #include "confdefs.h" | 13189 #include "confdefs.h" |
| 13148 /* Override any gcc2 internal prototype to avoid an error. */ | 13190 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13149 /* We use char because int might match the return type of a gcc2 | 13191 /* We use char because int might match the return type of a gcc2 |
| 13150 builtin and then its argument prototype would still apply. */ | 13192 builtin and then its argument prototype would still apply. */ |
| 13151 char dbm_open(); | 13193 char dbm_open(); |
| 13152 | 13194 |
| 13153 int main() { | 13195 int main() { |
| 13154 dbm_open() | 13196 dbm_open() |
| 13155 ; return 0; } | 13197 ; return 0; } |
| 13156 EOF | 13198 EOF |
| 13157 if { (eval echo configure:13158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13199 if { (eval echo configure:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13158 rm -rf conftest* | 13200 rm -rf conftest* |
| 13159 eval "ac_cv_lib_$ac_lib_var=yes" | 13201 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13160 else | 13202 else |
| 13161 echo "configure: failed program was:" >&5 | 13203 echo "configure: failed program was:" >&5 |
| 13162 cat conftest.$ac_ext >&5 | 13204 cat conftest.$ac_ext >&5 |
| 13180 | 13222 |
| 13181 fi | 13223 fi |
| 13182 | 13224 |
| 13183 if test "$with_database_dbm" != "no"; then | 13225 if test "$with_database_dbm" != "no"; then |
| 13184 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13226 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 13185 echo "configure:13186: checking for dbm_open" >&5 | 13227 echo "configure:13228: checking for dbm_open" >&5 |
| 13186 | 13228 |
| 13187 cat > conftest.$ac_ext <<EOF | 13229 cat > conftest.$ac_ext <<EOF |
| 13188 #line 13189 "configure" | 13230 #line 13231 "configure" |
| 13189 #include "confdefs.h" | 13231 #include "confdefs.h" |
| 13190 /* System header to define __stub macros and hopefully few prototypes, | 13232 /* System header to define __stub macros and hopefully few prototypes, |
| 13191 which can conflict with char dbm_open(); below. */ | 13233 which can conflict with char dbm_open(); below. */ |
| 13192 #include <assert.h> | 13234 #include <assert.h> |
| 13193 /* Override any gcc2 internal prototype to avoid an error. */ | 13235 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13206 dbm_open(); | 13248 dbm_open(); |
| 13207 #endif | 13249 #endif |
| 13208 | 13250 |
| 13209 ; return 0; } | 13251 ; return 0; } |
| 13210 EOF | 13252 EOF |
| 13211 if { (eval echo configure:13212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13253 if { (eval echo configure:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13212 rm -rf conftest* | 13254 rm -rf conftest* |
| 13213 eval "ac_cv_func_dbm_open=yes" | 13255 eval "ac_cv_func_dbm_open=yes" |
| 13214 else | 13256 else |
| 13215 echo "configure: failed program was:" >&5 | 13257 echo "configure: failed program was:" >&5 |
| 13216 cat conftest.$ac_ext >&5 | 13258 cat conftest.$ac_ext >&5 |
| 13225 else | 13267 else |
| 13226 echo "$ac_t""no" 1>&6 | 13268 echo "$ac_t""no" 1>&6 |
| 13227 | 13269 |
| 13228 | 13270 |
| 13229 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13271 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 13230 echo "configure:13231: checking for dbm_open in -ldbm" >&5 | 13272 echo "configure:13273: checking for dbm_open in -ldbm" >&5 |
| 13231 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13273 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 13232 | 13274 |
| 13233 xe_check_libs=" -ldbm " | 13275 xe_check_libs=" -ldbm " |
| 13234 cat > conftest.$ac_ext <<EOF | 13276 cat > conftest.$ac_ext <<EOF |
| 13235 #line 13236 "configure" | 13277 #line 13278 "configure" |
| 13236 #include "confdefs.h" | 13278 #include "confdefs.h" |
| 13237 /* Override any gcc2 internal prototype to avoid an error. */ | 13279 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13238 /* We use char because int might match the return type of a gcc2 | 13280 /* We use char because int might match the return type of a gcc2 |
| 13239 builtin and then its argument prototype would still apply. */ | 13281 builtin and then its argument prototype would still apply. */ |
| 13240 char dbm_open(); | 13282 char dbm_open(); |
| 13241 | 13283 |
| 13242 int main() { | 13284 int main() { |
| 13243 dbm_open() | 13285 dbm_open() |
| 13244 ; return 0; } | 13286 ; return 0; } |
| 13245 EOF | 13287 EOF |
| 13246 if { (eval echo configure:13247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13288 if { (eval echo configure:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13247 rm -rf conftest* | 13289 rm -rf conftest* |
| 13248 eval "ac_cv_lib_$ac_lib_var=yes" | 13290 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13249 else | 13291 else |
| 13250 echo "configure: failed program was:" >&5 | 13292 echo "configure: failed program was:" >&5 |
| 13251 cat conftest.$ac_ext >&5 | 13293 cat conftest.$ac_ext >&5 |
| 13282 } | 13324 } |
| 13283 | 13325 |
| 13284 | 13326 |
| 13285 if test "$with_database_berkdb" != "no"; then | 13327 if test "$with_database_berkdb" != "no"; then |
| 13286 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13328 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 13287 echo "configure:13288: checking for Berkeley db.h" >&5 | 13329 echo "configure:13330: checking for Berkeley db.h" >&5 |
| 13288 for header in "db/db.h" "db.h"; do | 13330 for header in "db/db.h" "db.h"; do |
| 13289 cat > conftest.$ac_ext <<EOF | 13331 cat > conftest.$ac_ext <<EOF |
| 13290 #line 13291 "configure" | 13332 #line 13333 "configure" |
| 13291 #include "confdefs.h" | 13333 #include "confdefs.h" |
| 13292 | 13334 |
| 13293 #include <stdlib.h> | 13335 #include <stdlib.h> |
| 13294 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13336 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
| 13295 #ifdef HAVE_INTTYPES_H | 13337 #ifdef HAVE_INTTYPES_H |
| 13307 | 13349 |
| 13308 int main() { | 13350 int main() { |
| 13309 | 13351 |
| 13310 ; return 0; } | 13352 ; return 0; } |
| 13311 EOF | 13353 EOF |
| 13312 if { (eval echo configure:13313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13354 if { (eval echo configure:13355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 13313 rm -rf conftest* | 13355 rm -rf conftest* |
| 13314 db_h_file="$header"; break | 13356 db_h_file="$header"; break |
| 13315 else | 13357 else |
| 13316 echo "configure: failed program was:" >&5 | 13358 echo "configure: failed program was:" >&5 |
| 13317 cat conftest.$ac_ext >&5 | 13359 cat conftest.$ac_ext >&5 |
| 13323 else echo "$ac_t""$db_h_file" 1>&6 | 13365 else echo "$ac_t""$db_h_file" 1>&6 |
| 13324 fi | 13366 fi |
| 13325 | 13367 |
| 13326 if test "$with_database_berkdb" != "no"; then | 13368 if test "$with_database_berkdb" != "no"; then |
| 13327 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13369 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 13328 echo "configure:13329: checking for Berkeley DB version" >&5 | 13370 echo "configure:13371: checking for Berkeley DB version" >&5 |
| 13329 cat > conftest.$ac_ext <<EOF | 13371 cat > conftest.$ac_ext <<EOF |
| 13330 #line 13331 "configure" | 13372 #line 13373 "configure" |
| 13331 #include "confdefs.h" | 13373 #include "confdefs.h" |
| 13332 #include <$db_h_file> | 13374 #include <$db_h_file> |
| 13333 #if DB_VERSION_MAJOR > 1 | 13375 #if DB_VERSION_MAJOR > 1 |
| 13334 yes | 13376 yes |
| 13335 #endif | 13377 #endif |
| 13337 EOF | 13379 EOF |
| 13338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13339 egrep "yes" >/dev/null 2>&1; then | 13381 egrep "yes" >/dev/null 2>&1; then |
| 13340 rm -rf conftest* | 13382 rm -rf conftest* |
| 13341 cat > conftest.$ac_ext <<EOF | 13383 cat > conftest.$ac_ext <<EOF |
| 13342 #line 13343 "configure" | 13384 #line 13385 "configure" |
| 13343 #include "confdefs.h" | 13385 #include "confdefs.h" |
| 13344 #include <$db_h_file> | 13386 #include <$db_h_file> |
| 13345 #if DB_VERSION_MAJOR > 2 | 13387 #if DB_VERSION_MAJOR > 2 |
| 13346 yes | 13388 yes |
| 13347 #endif | 13389 #endif |
| 13364 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13406 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 13365 fi | 13407 fi |
| 13366 rm -f conftest* | 13408 rm -f conftest* |
| 13367 | 13409 |
| 13368 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13410 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 13369 echo "configure:13370: checking for $dbfunc" >&5 | 13411 echo "configure:13412: checking for $dbfunc" >&5 |
| 13370 | 13412 |
| 13371 cat > conftest.$ac_ext <<EOF | 13413 cat > conftest.$ac_ext <<EOF |
| 13372 #line 13373 "configure" | 13414 #line 13415 "configure" |
| 13373 #include "confdefs.h" | 13415 #include "confdefs.h" |
| 13374 /* System header to define __stub macros and hopefully few prototypes, | 13416 /* System header to define __stub macros and hopefully few prototypes, |
| 13375 which can conflict with char $dbfunc(); below. */ | 13417 which can conflict with char $dbfunc(); below. */ |
| 13376 #include <assert.h> | 13418 #include <assert.h> |
| 13377 /* Override any gcc2 internal prototype to avoid an error. */ | 13419 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13390 $dbfunc(); | 13432 $dbfunc(); |
| 13391 #endif | 13433 #endif |
| 13392 | 13434 |
| 13393 ; return 0; } | 13435 ; return 0; } |
| 13394 EOF | 13436 EOF |
| 13395 if { (eval echo configure:13396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13437 if { (eval echo configure:13438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13396 rm -rf conftest* | 13438 rm -rf conftest* |
| 13397 eval "ac_cv_func_$dbfunc=yes" | 13439 eval "ac_cv_func_$dbfunc=yes" |
| 13398 else | 13440 else |
| 13399 echo "configure: failed program was:" >&5 | 13441 echo "configure: failed program was:" >&5 |
| 13400 cat conftest.$ac_ext >&5 | 13442 cat conftest.$ac_ext >&5 |
| 13409 else | 13451 else |
| 13410 echo "$ac_t""no" 1>&6 | 13452 echo "$ac_t""no" 1>&6 |
| 13411 | 13453 |
| 13412 | 13454 |
| 13413 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13455 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 13414 echo "configure:13415: checking for $dbfunc in -ldb" >&5 | 13456 echo "configure:13457: checking for $dbfunc in -ldb" >&5 |
| 13415 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13457 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 13416 | 13458 |
| 13417 xe_check_libs=" -ldb " | 13459 xe_check_libs=" -ldb " |
| 13418 cat > conftest.$ac_ext <<EOF | 13460 cat > conftest.$ac_ext <<EOF |
| 13419 #line 13420 "configure" | 13461 #line 13462 "configure" |
| 13420 #include "confdefs.h" | 13462 #include "confdefs.h" |
| 13421 /* Override any gcc2 internal prototype to avoid an error. */ | 13463 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13422 /* We use char because int might match the return type of a gcc2 | 13464 /* We use char because int might match the return type of a gcc2 |
| 13423 builtin and then its argument prototype would still apply. */ | 13465 builtin and then its argument prototype would still apply. */ |
| 13424 char $dbfunc(); | 13466 char $dbfunc(); |
| 13425 | 13467 |
| 13426 int main() { | 13468 int main() { |
| 13427 $dbfunc() | 13469 $dbfunc() |
| 13428 ; return 0; } | 13470 ; return 0; } |
| 13429 EOF | 13471 EOF |
| 13430 if { (eval echo configure:13431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13472 if { (eval echo configure:13473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13431 rm -rf conftest* | 13473 rm -rf conftest* |
| 13432 eval "ac_cv_lib_$ac_lib_var=yes" | 13474 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13433 else | 13475 else |
| 13434 echo "configure: failed program was:" >&5 | 13476 echo "configure: failed program was:" >&5 |
| 13435 cat conftest.$ac_ext >&5 | 13477 cat conftest.$ac_ext >&5 |
| 13489 fi | 13531 fi |
| 13490 | 13532 |
| 13491 if test "$with_socks" = "yes"; then | 13533 if test "$with_socks" = "yes"; then |
| 13492 | 13534 |
| 13493 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 13535 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 13494 echo "configure:13495: checking for SOCKSinit in -lsocks" >&5 | 13536 echo "configure:13537: checking for SOCKSinit in -lsocks" >&5 |
| 13495 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 13537 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 13496 | 13538 |
| 13497 xe_check_libs=" -lsocks " | 13539 xe_check_libs=" -lsocks " |
| 13498 cat > conftest.$ac_ext <<EOF | 13540 cat > conftest.$ac_ext <<EOF |
| 13499 #line 13500 "configure" | 13541 #line 13542 "configure" |
| 13500 #include "confdefs.h" | 13542 #include "confdefs.h" |
| 13501 /* Override any gcc2 internal prototype to avoid an error. */ | 13543 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13502 /* We use char because int might match the return type of a gcc2 | 13544 /* We use char because int might match the return type of a gcc2 |
| 13503 builtin and then its argument prototype would still apply. */ | 13545 builtin and then its argument prototype would still apply. */ |
| 13504 char SOCKSinit(); | 13546 char SOCKSinit(); |
| 13505 | 13547 |
| 13506 int main() { | 13548 int main() { |
| 13507 SOCKSinit() | 13549 SOCKSinit() |
| 13508 ; return 0; } | 13550 ; return 0; } |
| 13509 EOF | 13551 EOF |
| 13510 if { (eval echo configure:13511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13552 if { (eval echo configure:13553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13511 rm -rf conftest* | 13553 rm -rf conftest* |
| 13512 eval "ac_cv_lib_$ac_lib_var=yes" | 13554 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13513 else | 13555 else |
| 13514 echo "configure: failed program was:" >&5 | 13556 echo "configure: failed program was:" >&5 |
| 13515 cat conftest.$ac_ext >&5 | 13557 cat conftest.$ac_ext >&5 |
| 13560 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 13602 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
| 13561 fi | 13603 fi |
| 13562 | 13604 |
| 13563 if test "$with_modules" != "no"; then | 13605 if test "$with_modules" != "no"; then |
| 13564 echo "checking for module support" 1>&6 | 13606 echo "checking for module support" 1>&6 |
| 13565 echo "configure:13566: checking for module support" >&5 | 13607 echo "configure:13608: checking for module support" >&5 |
| 13566 | 13608 |
| 13567 if test "$with_msw" = "yes"; then | 13609 if test "$with_msw" = "yes"; then |
| 13568 have_dl=yes; | 13610 have_dl=yes; |
| 13569 else | 13611 else |
| 13570 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 13612 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
| 13571 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 13613 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
| 13572 echo "configure:13573: checking for dlfcn.h" >&5 | 13614 echo "configure:13615: checking for dlfcn.h" >&5 |
| 13573 | 13615 |
| 13574 cat > conftest.$ac_ext <<EOF | 13616 cat > conftest.$ac_ext <<EOF |
| 13575 #line 13576 "configure" | 13617 #line 13618 "configure" |
| 13576 #include "confdefs.h" | 13618 #include "confdefs.h" |
| 13577 #include <dlfcn.h> | 13619 #include <dlfcn.h> |
| 13578 EOF | 13620 EOF |
| 13579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13580 { (eval echo configure:13581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13622 { (eval echo configure:13623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13582 if test -z "$ac_err"; then | 13624 if test -z "$ac_err"; then |
| 13583 rm -rf conftest* | 13625 rm -rf conftest* |
| 13584 eval "ac_cv_header_$ac_safe=yes" | 13626 eval "ac_cv_header_$ac_safe=yes" |
| 13585 else | 13627 else |
| 13592 rm -f conftest* | 13634 rm -f conftest* |
| 13593 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13594 echo "$ac_t""yes" 1>&6 | 13636 echo "$ac_t""yes" 1>&6 |
| 13595 | 13637 |
| 13596 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 13638 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 13597 echo "configure:13598: checking for dlopen in -lc" >&5 | 13639 echo "configure:13640: checking for dlopen in -lc" >&5 |
| 13598 cat > conftest.$ac_ext <<EOF | 13640 cat > conftest.$ac_ext <<EOF |
| 13599 #line 13600 "configure" | 13641 #line 13642 "configure" |
| 13600 #include "confdefs.h" | 13642 #include "confdefs.h" |
| 13601 #include <dlfcn.h> | 13643 #include <dlfcn.h> |
| 13602 int main() { | 13644 int main() { |
| 13603 dlopen ("", 0); | 13645 dlopen ("", 0); |
| 13604 ; return 0; } | 13646 ; return 0; } |
| 13605 EOF | 13647 EOF |
| 13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13648 if { (eval echo configure:13649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13607 rm -rf conftest* | 13649 rm -rf conftest* |
| 13608 have_dl=yes | 13650 have_dl=yes |
| 13609 else | 13651 else |
| 13610 echo "configure: failed program was:" >&5 | 13652 echo "configure: failed program was:" >&5 |
| 13611 cat conftest.$ac_ext >&5 | 13653 cat conftest.$ac_ext >&5 |
| 13612 rm -rf conftest* | 13654 rm -rf conftest* |
| 13613 | 13655 |
| 13614 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 13656 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 13615 echo "configure:13616: checking for dlopen in -ldl" >&5 | 13657 echo "configure:13658: checking for dlopen in -ldl" >&5 |
| 13616 ac_save_LIBS="$LIBS" | 13658 ac_save_LIBS="$LIBS" |
| 13617 LIBS="-ldl $LIBS" | 13659 LIBS="-ldl $LIBS" |
| 13618 cat > conftest.$ac_ext <<EOF | 13660 cat > conftest.$ac_ext <<EOF |
| 13619 #line 13620 "configure" | 13661 #line 13662 "configure" |
| 13620 #include "confdefs.h" | 13662 #include "confdefs.h" |
| 13621 #include <dlfcn.h> | 13663 #include <dlfcn.h> |
| 13622 int main() { | 13664 int main() { |
| 13623 dlopen ("", 0); | 13665 dlopen ("", 0); |
| 13624 ; return 0; } | 13666 ; return 0; } |
| 13625 EOF | 13667 EOF |
| 13626 if { (eval echo configure:13627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13668 if { (eval echo configure:13669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13627 rm -rf conftest* | 13669 rm -rf conftest* |
| 13628 have_dl=yes | 13670 have_dl=yes |
| 13629 else | 13671 else |
| 13630 echo "configure: failed program was:" >&5 | 13672 echo "configure: failed program was:" >&5 |
| 13631 cat conftest.$ac_ext >&5 | 13673 cat conftest.$ac_ext >&5 |
| 13650 } | 13692 } |
| 13651 | 13693 |
| 13652 else | 13694 else |
| 13653 | 13695 |
| 13654 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 13696 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 13655 echo "configure:13656: checking for shl_load in -ldld" >&5 | 13697 echo "configure:13698: checking for shl_load in -ldld" >&5 |
| 13656 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 13698 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 13657 | 13699 |
| 13658 xe_check_libs=" -ldld " | 13700 xe_check_libs=" -ldld " |
| 13659 cat > conftest.$ac_ext <<EOF | 13701 cat > conftest.$ac_ext <<EOF |
| 13660 #line 13661 "configure" | 13702 #line 13703 "configure" |
| 13661 #include "confdefs.h" | 13703 #include "confdefs.h" |
| 13662 /* Override any gcc2 internal prototype to avoid an error. */ | 13704 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13663 /* We use char because int might match the return type of a gcc2 | 13705 /* We use char because int might match the return type of a gcc2 |
| 13664 builtin and then its argument prototype would still apply. */ | 13706 builtin and then its argument prototype would still apply. */ |
| 13665 char shl_load(); | 13707 char shl_load(); |
| 13666 | 13708 |
| 13667 int main() { | 13709 int main() { |
| 13668 shl_load() | 13710 shl_load() |
| 13669 ; return 0; } | 13711 ; return 0; } |
| 13670 EOF | 13712 EOF |
| 13671 if { (eval echo configure:13672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13713 if { (eval echo configure:13714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13672 rm -rf conftest* | 13714 rm -rf conftest* |
| 13673 eval "ac_cv_lib_$ac_lib_var=yes" | 13715 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13674 else | 13716 else |
| 13675 echo "configure: failed program was:" >&5 | 13717 echo "configure: failed program was:" >&5 |
| 13676 cat conftest.$ac_ext >&5 | 13718 cat conftest.$ac_ext >&5 |
| 13693 | 13735 |
| 13694 else | 13736 else |
| 13695 echo "$ac_t""no" 1>&6 | 13737 echo "$ac_t""no" 1>&6 |
| 13696 | 13738 |
| 13697 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 13739 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 13698 echo "configure:13699: checking for dld_init in -ldld" >&5 | 13740 echo "configure:13741: checking for dld_init in -ldld" >&5 |
| 13699 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 13741 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 13700 | 13742 |
| 13701 xe_check_libs=" -ldld " | 13743 xe_check_libs=" -ldld " |
| 13702 cat > conftest.$ac_ext <<EOF | 13744 cat > conftest.$ac_ext <<EOF |
| 13703 #line 13704 "configure" | 13745 #line 13746 "configure" |
| 13704 #include "confdefs.h" | 13746 #include "confdefs.h" |
| 13705 /* Override any gcc2 internal prototype to avoid an error. */ | 13747 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13706 /* We use char because int might match the return type of a gcc2 | 13748 /* We use char because int might match the return type of a gcc2 |
| 13707 builtin and then its argument prototype would still apply. */ | 13749 builtin and then its argument prototype would still apply. */ |
| 13708 char dld_init(); | 13750 char dld_init(); |
| 13709 | 13751 |
| 13710 int main() { | 13752 int main() { |
| 13711 dld_init() | 13753 dld_init() |
| 13712 ; return 0; } | 13754 ; return 0; } |
| 13713 EOF | 13755 EOF |
| 13714 if { (eval echo configure:13715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13756 if { (eval echo configure:13757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13715 rm -rf conftest* | 13757 rm -rf conftest* |
| 13716 eval "ac_cv_lib_$ac_lib_var=yes" | 13758 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13717 else | 13759 else |
| 13718 echo "configure: failed program was:" >&5 | 13760 echo "configure: failed program was:" >&5 |
| 13719 cat conftest.$ac_ext >&5 | 13761 cat conftest.$ac_ext >&5 |
| 13754 ld_dynamic_link_flags= | 13796 ld_dynamic_link_flags= |
| 13755 xehost=$canonical | 13797 xehost=$canonical |
| 13756 xealias=$internal_configuration | 13798 xealias=$internal_configuration |
| 13757 | 13799 |
| 13758 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13800 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
| 13759 echo "configure:13760: checking how to build dynamic libraries for ${xehost}" >&5 | 13801 echo "configure:13802: checking how to build dynamic libraries for ${xehost}" >&5 |
| 13760 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13802 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
| 13761 case "$xehost" in | 13803 case "$xehost" in |
| 13762 *-*-linux-gnu*) ;; | 13804 *-*-linux-gnu*) ;; |
| 13763 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13805 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
| 13764 esac | 13806 esac |
| 13782 # Now see if the compiler is really GCC. | 13824 # Now see if the compiler is really GCC. |
| 13783 if test "$GCC" = "yes"; then | 13825 if test "$GCC" = "yes"; then |
| 13784 XEGCC=yes | 13826 XEGCC=yes |
| 13785 else | 13827 else |
| 13786 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13828 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
| 13787 echo "configure:13788: checking checking whether we are using GNU C" >&5 | 13829 echo "configure:13830: checking checking whether we are using GNU C" >&5 |
| 13788 cat > conftest.$ac_ext <<EOF | 13830 cat > conftest.$ac_ext <<EOF |
| 13789 #line 13790 "configure" | 13831 #line 13832 "configure" |
| 13790 #include "confdefs.h" | 13832 #include "confdefs.h" |
| 13791 | 13833 |
| 13792 #ifdef __GNUC__ | 13834 #ifdef __GNUC__ |
| 13793 yes; | 13835 yes; |
| 13794 #endif | 13836 #endif |
| 13806 | 13848 |
| 13807 echo "$ac_t""${XEGCC}" 1>&6 | 13849 echo "$ac_t""${XEGCC}" 1>&6 |
| 13808 fi | 13850 fi |
| 13809 | 13851 |
| 13810 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13852 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
| 13811 echo "configure:13812: checking how to produce PIC code" >&5 | 13853 echo "configure:13854: checking how to produce PIC code" >&5 |
| 13812 wl= | 13854 wl= |
| 13813 | 13855 |
| 13814 can_build_shared=yes | 13856 can_build_shared=yes |
| 13815 if test "$XEGCC" = yes; then | 13857 if test "$XEGCC" = yes; then |
| 13816 wl='-Wl,' | 13858 wl='-Wl,' |
| 13817 | 13859 |
| 13818 case "$xehost_os" in | 13860 case "$xehost_os" in |
| 13819 aix3* | aix4* | irix5* | irix6* | osf3* | osf4*) | 13861 aix[3-9]* | irix[5-9]* | osf[3-9]) |
| 13820 # PIC is the default for these OSes. | 13862 # PIC is the default for these OSes. |
| 13821 ;; | 13863 ;; |
| 13822 | 13864 |
| 13823 aix3* | aix4* | os2*) | 13865 os2*) |
| 13824 # We can build DLLs from non-PIC. | 13866 # We can build DLLs from non-PIC. |
| 13825 ;; | 13867 ;; |
| 13826 amigaos*) | 13868 amigaos*) |
| 13827 # FIXME: we need at least 68020 code to build shared libraries, but | 13869 # FIXME: we need at least 68020 code to build shared libraries, but |
| 13828 # adding the `-m68020' flag to GCC prevents building anything better, | 13870 # adding the `-m68020' flag to GCC prevents building anything better, |
| 13843 # Is there a better link_static_flag that works with the bundled CC? | 13885 # Is there a better link_static_flag that works with the bundled CC? |
| 13844 wl='-Wl,' | 13886 wl='-Wl,' |
| 13845 dll_cflags='+Z' | 13887 dll_cflags='+Z' |
| 13846 ;; | 13888 ;; |
| 13847 | 13889 |
| 13848 irix5* | irix6*) | 13890 irix[5-9]*) |
| 13849 wl='-Wl,' | 13891 wl='-Wl,' |
| 13850 # PIC (with -KPIC) is the default. | 13892 # PIC (with -KPIC) is the default. |
| 13851 ;; | 13893 ;; |
| 13852 | 13894 |
| 13853 os2*) | 13895 os2*) |
| 13854 # We can build DLLs from non-PIC. | 13896 # We can build DLLs from non-PIC. |
| 13855 ;; | 13897 ;; |
| 13856 | 13898 |
| 13857 osf3* | osf4*) | 13899 osf[3-9]*) |
| 13858 # All OSF/1 code is PIC. | 13900 # All OSF/1 code is PIC. |
| 13901 wl='-Wl,' | |
| 13902 ;; | |
| 13903 | |
| 13904 aix[3-9]*) | |
| 13905 # All AIX code is PIC. | |
| 13859 wl='-Wl,' | 13906 wl='-Wl,' |
| 13860 ;; | 13907 ;; |
| 13861 | 13908 |
| 13862 sco3.2v5*) | 13909 sco3.2v5*) |
| 13863 dll_cflags='-belf -Kpic' | 13910 dll_cflags='-belf -Kpic' |
| 13902 if test -n "$dll_cflags"; then | 13949 if test -n "$dll_cflags"; then |
| 13903 echo "$ac_t""${dll_cflags}" 1>&6 | 13950 echo "$ac_t""${dll_cflags}" 1>&6 |
| 13904 | 13951 |
| 13905 # Check to make sure the dll_cflags actually works. | 13952 # Check to make sure the dll_cflags actually works. |
| 13906 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13953 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
| 13907 echo "configure:13908: checking if PIC flag ${dll_cflags} really works" >&5 | 13954 echo "configure:13955: checking if PIC flag ${dll_cflags} really works" >&5 |
| 13908 save_CFLAGS="$CFLAGS" | 13955 save_CFLAGS="$CFLAGS" |
| 13909 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13956 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
| 13910 cat > conftest.$ac_ext <<EOF | 13957 cat > conftest.$ac_ext <<EOF |
| 13911 #line 13912 "configure" | 13958 #line 13959 "configure" |
| 13912 #include "confdefs.h" | 13959 #include "confdefs.h" |
| 13913 | 13960 |
| 13914 int main() { | 13961 int main() { |
| 13915 int x=0; | 13962 int x=0; |
| 13916 ; return 0; } | 13963 ; return 0; } |
| 13917 EOF | 13964 EOF |
| 13918 if { (eval echo configure:13919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13965 if { (eval echo configure:13966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 13919 rm -rf conftest* | 13966 rm -rf conftest* |
| 13920 | 13967 |
| 13921 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13968 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
| 13922 # reports no error. So, we need to grep stderr for (Bundled). | 13969 # reports no error. So, we need to grep stderr for (Bundled). |
| 13923 if grep '(Bundled)' config.log >/dev/null; then | 13970 if grep '(Bundled)' config.log >/dev/null; then |
| 13944 if test "$can_build_shared" = "yes"; then | 13991 if test "$can_build_shared" = "yes"; then |
| 13945 cc_produces_so=no | 13992 cc_produces_so=no |
| 13946 xldf= | 13993 xldf= |
| 13947 xcldf= | 13994 xcldf= |
| 13948 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13995 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
| 13949 echo "configure:13950: checking if C compiler can produce shared libraries" >&5 | 13996 echo "configure:13997: checking if C compiler can produce shared libraries" >&5 |
| 13950 if test "$XEGCC" = yes; then | 13997 if test "$XEGCC" = yes; then |
| 13951 xcldf="-shared" | 13998 xcldf="-shared" |
| 13952 xldf="-shared" | 13999 xldf="-shared" |
| 13953 else # Not using GCC | 14000 else # Not using GCC |
| 13954 case "$xehost_os" in | 14001 case "$xehost_os" in |
| 13955 aix3* | aix4*) | 14002 aix[3-9]*) |
| 13956 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | 14003 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" |
| 13957 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | 14004 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" |
| 13958 ;; | 14005 ;; |
| 13959 | 14006 |
| 13960 freebsd2* | netbsd* | openbsd*) | 14007 freebsd2* | netbsd* | openbsd*) |
| 13969 hpux*) | 14016 hpux*) |
| 13970 xldf="-b +s" | 14017 xldf="-b +s" |
| 13971 xcldf="${wl}-b ${wl}+s" | 14018 xcldf="${wl}-b ${wl}+s" |
| 13972 ;; | 14019 ;; |
| 13973 | 14020 |
| 13974 irix5* | irix6* | osf3* | osf4*) | 14021 irix[5-9]* | osf[3-9]*) |
| 13975 xcldf="${wl}-shared" | 14022 xcldf="${wl}-shared" |
| 13976 xldf="-shared" | 14023 xldf="-shared" |
| 13977 ;; | 14024 ;; |
| 13978 | 14025 |
| 13979 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7* | uts4*) | 14026 sco3.2v5* | unixware* | sysv5* | sysv4* | solaris2* | solaris7* | uts4*) |
| 13995 LDFLAGS="$xcldf $LDFLAGS" | 14042 LDFLAGS="$xcldf $LDFLAGS" |
| 13996 LIBS= | 14043 LIBS= |
| 13997 xe_libs= | 14044 xe_libs= |
| 13998 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14045 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 13999 cat > conftest.$ac_ext <<EOF | 14046 cat > conftest.$ac_ext <<EOF |
| 14000 #line 14001 "configure" | 14047 #line 14048 "configure" |
| 14001 #include "confdefs.h" | 14048 #include "confdefs.h" |
| 14002 | 14049 |
| 14003 int main() { | 14050 int main() { |
| 14004 int x=0; | 14051 int x=0; |
| 14005 ; return 0; } | 14052 ; return 0; } |
| 14006 EOF | 14053 EOF |
| 14007 if { (eval echo configure:14008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14054 if { (eval echo configure:14055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14008 rm -rf conftest* | 14055 rm -rf conftest* |
| 14009 cc_produces_so=yes | 14056 cc_produces_so=yes |
| 14010 else | 14057 else |
| 14011 echo "configure: failed program was:" >&5 | 14058 echo "configure: failed program was:" >&5 |
| 14012 cat conftest.$ac_ext >&5 | 14059 cat conftest.$ac_ext >&5 |
| 14027 if test -z "$LTLD"; then | 14074 if test -z "$LTLD"; then |
| 14028 ac_prog=ld | 14075 ac_prog=ld |
| 14029 if test "$XEGCC" = yes; then | 14076 if test "$XEGCC" = yes; then |
| 14030 # Check if gcc -print-prog-name=ld gives a path. | 14077 # Check if gcc -print-prog-name=ld gives a path. |
| 14031 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14078 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 14032 echo "configure:14033: checking for ld used by GCC" >&5 | 14079 echo "configure:14080: checking for ld used by GCC" >&5 |
| 14033 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14080 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 14034 case "$ac_prog" in | 14081 case "$ac_prog" in |
| 14035 # Accept absolute paths. | 14082 # Accept absolute paths. |
| 14036 /*) | 14083 /*) |
| 14037 if test -z "$LTLD"; then | 14084 if test -z "$LTLD"; then |
| 14052 with_gnu_ld=unknown | 14099 with_gnu_ld=unknown |
| 14053 ;; | 14100 ;; |
| 14054 esac | 14101 esac |
| 14055 else | 14102 else |
| 14056 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14103 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 14057 echo "configure:14058: checking for GNU ld" >&5 | 14104 echo "configure:14105: checking for GNU ld" >&5 |
| 14058 fi | 14105 fi |
| 14059 | 14106 |
| 14060 if test -z "$LTLD"; then | 14107 if test -z "$LTLD"; then |
| 14061 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 14062 for ac_dir in $PATH; do | 14109 for ac_dir in $PATH; do |
| 14090 | 14137 |
| 14091 ld_dynamic_link_flags= | 14138 ld_dynamic_link_flags= |
| 14092 | 14139 |
| 14093 # Check to see if it really is or isn't GNU ld. | 14140 # Check to see if it really is or isn't GNU ld. |
| 14094 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14141 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
| 14095 echo "configure:14096: checking if the linker is GNU ld" >&5 | 14142 echo "configure:14143: checking if the linker is GNU ld" >&5 |
| 14096 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14143 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 14097 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14144 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 14098 xe_gnu_ld=yes | 14145 xe_gnu_ld=yes |
| 14099 else | 14146 else |
| 14100 xe_gnu_ld=no | 14147 xe_gnu_ld=no |
| 14118 ld_shlibs=yes | 14165 ld_shlibs=yes |
| 14119 else | 14166 else |
| 14120 # OK - only NOW do we futz about with ld. | 14167 # OK - only NOW do we futz about with ld. |
| 14121 # See if the linker supports building shared libraries. | 14168 # See if the linker supports building shared libraries. |
| 14122 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14169 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
| 14123 echo "configure:14124: checking whether the linker supports shared libraries" >&5 | 14170 echo "configure:14171: checking whether the linker supports shared libraries" >&5 |
| 14124 dll_ld=$CC | 14171 dll_ld=$CC |
| 14125 dll_ldflags=$LDFLAGS | 14172 dll_ldflags=$LDFLAGS |
| 14126 ld_shlibs=yes | 14173 ld_shlibs=yes |
| 14127 can_build_shared=yes | 14174 can_build_shared=yes |
| 14128 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14175 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
| 14140 aix3*) | 14187 aix3*) |
| 14141 dll_ld=$LTLD | 14188 dll_ld=$LTLD |
| 14142 dll_ldflags=$xldf | 14189 dll_ldflags=$xldf |
| 14143 ;; | 14190 ;; |
| 14144 | 14191 |
| 14145 aix4*) | 14192 aix[4-9]*) |
| 14146 dll_ldflags=$xcldf | 14193 dll_ldflags=$xcldf |
| 14147 ;; | 14194 ;; |
| 14148 | 14195 |
| 14149 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 14196 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 14150 # support. Future versions do this automatically, but an explicit c++rt0.o | 14197 # support. Future versions do this automatically, but an explicit c++rt0.o |
| 14170 hpux*) | 14217 hpux*) |
| 14171 dll_ld=$LTLD | 14218 dll_ld=$LTLD |
| 14172 dll_ldflags=$xldf | 14219 dll_ldflags=$xldf |
| 14173 ;; | 14220 ;; |
| 14174 | 14221 |
| 14175 irix5* | irix6*) | 14222 irix[5-9]*) |
| 14176 dll_ld=$LTLD | 14223 dll_ld=$LTLD |
| 14177 dll_ldflags=$xldf | 14224 dll_ldflags=$xldf |
| 14178 ;; | 14225 ;; |
| 14179 | 14226 |
| 14180 netbsd*) | 14227 netbsd*) |
| 14243 fi | 14290 fi |
| 14244 fi | 14291 fi |
| 14245 | 14292 |
| 14246 if test -z "$ld_dynamic_link_flags"; then | 14293 if test -z "$ld_dynamic_link_flags"; then |
| 14247 case "$xehost_os" in | 14294 case "$xehost_os" in |
| 14248 aix3*) | 14295 aix[3-9]*) |
| 14249 ld_dynamic_link_flags= | |
| 14250 ;; | |
| 14251 | |
| 14252 aix4*) | |
| 14253 ld_dynamic_link_flags= | 14296 ld_dynamic_link_flags= |
| 14254 ;; | 14297 ;; |
| 14255 | 14298 |
| 14256 freebsd2.2*) | 14299 freebsd2.2*) |
| 14257 ld_dynamic_link_flags= | 14300 ld_dynamic_link_flags= |
| 14267 | 14310 |
| 14268 hpux*) | 14311 hpux*) |
| 14269 ld_dynamic_link_flags="${wl}-E" | 14312 ld_dynamic_link_flags="${wl}-E" |
| 14270 ;; | 14313 ;; |
| 14271 | 14314 |
| 14272 irix5* | irix6*) | 14315 irix[5-9]*) |
| 14273 ld_dynamic_link_flags= | 14316 ld_dynamic_link_flags= |
| 14274 ;; | 14317 ;; |
| 14275 | 14318 |
| 14276 netbsd*) | 14319 netbsd*) |
| 14277 ld_dynamic_link_flags= | 14320 ld_dynamic_link_flags= |
| 14333 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14376 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
| 14334 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14377 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
| 14335 for ac_func in dlerror _dlerror | 14378 for ac_func in dlerror _dlerror |
| 14336 do | 14379 do |
| 14337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 14338 echo "configure:14339: checking for $ac_func" >&5 | 14381 echo "configure:14382: checking for $ac_func" >&5 |
| 14339 | 14382 |
| 14340 cat > conftest.$ac_ext <<EOF | 14383 cat > conftest.$ac_ext <<EOF |
| 14341 #line 14342 "configure" | 14384 #line 14385 "configure" |
| 14342 #include "confdefs.h" | 14385 #include "confdefs.h" |
| 14343 /* System header to define __stub macros and hopefully few prototypes, | 14386 /* System header to define __stub macros and hopefully few prototypes, |
| 14344 which can conflict with char $ac_func(); below. */ | 14387 which can conflict with char $ac_func(); below. */ |
| 14345 #include <assert.h> | 14388 #include <assert.h> |
| 14346 /* Override any gcc2 internal prototype to avoid an error. */ | 14389 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14359 $ac_func(); | 14402 $ac_func(); |
| 14360 #endif | 14403 #endif |
| 14361 | 14404 |
| 14362 ; return 0; } | 14405 ; return 0; } |
| 14363 EOF | 14406 EOF |
| 14364 if { (eval echo configure:14365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14365 rm -rf conftest* | 14408 rm -rf conftest* |
| 14366 eval "ac_cv_func_$ac_func=yes" | 14409 eval "ac_cv_func_$ac_func=yes" |
| 14367 else | 14410 else |
| 14368 echo "configure: failed program was:" >&5 | 14411 echo "configure: failed program was:" >&5 |
| 14369 cat conftest.$ac_ext >&5 | 14412 cat conftest.$ac_ext >&5 |
| 14398 with_modules=no | 14441 with_modules=no |
| 14399 fi | 14442 fi |
| 14400 fi | 14443 fi |
| 14401 | 14444 |
| 14402 cat > conftest.$ac_ext <<EOF | 14445 cat > conftest.$ac_ext <<EOF |
| 14403 #line 14404 "configure" | 14446 #line 14447 "configure" |
| 14404 #include "confdefs.h" | 14447 #include "confdefs.h" |
| 14405 int main(int c,char *v[]){return 0;} | 14448 int main(int c,char *v[]){return 0;} |
| 14406 EOF | 14449 EOF |
| 14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14450 if { (eval echo configure:14451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 14408 then | 14451 then |
| 14409 : | 14452 : |
| 14410 else | 14453 else |
| 14411 conftest_rc="$?" | 14454 conftest_rc="$?" |
| 14412 echo "configure: failed program was:" >&5 | 14455 echo "configure: failed program was:" >&5 |
