Mercurial > hg > xemacs-beta
comparison configure @ 708:512e4a478e9d
[xemacs-hg @ 2001-12-20 06:08:09 by andyp]
sync with 21-4-6-windows
author | andyp |
---|---|
date | Thu, 20 Dec 2001 06:10:13 +0000 |
parents | 12095b04a9b6 |
children | 128e95ac472f |
comparison
equal
deleted
inserted
replaced
707:a307f9a2021d | 708:512e4a478e9d |
---|---|
254 with_tty="" | 254 with_tty="" |
255 use_union_type="no" | 255 use_union_type="no" |
256 with_dnet="" | 256 with_dnet="" |
257 pdump="no" | 257 pdump="no" |
258 with_dragndrop="no" | 258 with_dragndrop="no" |
259 with_ipv6_cname="no" | |
259 | 260 |
260 | 261 |
261 | 262 |
262 | 263 |
263 arguments="$@" | 264 arguments="$@" |
841 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 842 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
842 fi | 843 fi |
843 fi | 844 fi |
844 | 845 |
845 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 846 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
846 echo "configure:847: checking whether ln -s works" >&5 | 847 echo "configure:848: checking whether ln -s works" >&5 |
847 | 848 |
848 rm -f conftestdata | 849 rm -f conftestdata |
849 if ln -s X conftestdata 2>/dev/null | 850 if ln -s X conftestdata 2>/dev/null |
850 then | 851 then |
851 rm -f conftestdata | 852 rm -f conftestdata |
1106 } | 1107 } |
1107 | 1108 |
1108 | 1109 |
1109 | 1110 |
1110 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1111 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1111 echo "configure:1112: checking "host system type"" >&5 | 1112 echo "configure:1113: checking "host system type"" >&5 |
1112 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1113 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1113 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1114 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1114 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1115 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1115 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1116 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1116 echo "$ac_t""$configuration" 1>&6 | 1117 echo "$ac_t""$configuration" 1>&6 |
1621 xe_save_CFLAGS="$CFLAGS" | 1622 xe_save_CFLAGS="$CFLAGS" |
1622 | 1623 |
1623 # Extract the first word of "gcc", so it can be a program name with args. | 1624 # Extract the first word of "gcc", so it can be a program name with args. |
1624 set dummy gcc; ac_word=$2 | 1625 set dummy gcc; ac_word=$2 |
1625 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1626 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1626 echo "configure:1627: checking for $ac_word" >&5 | 1627 echo "configure:1628: checking for $ac_word" >&5 |
1627 | 1628 |
1628 if test -n "$CC"; then | 1629 if test -n "$CC"; then |
1629 ac_cv_prog_CC="$CC" # Let the user override the test. | 1630 ac_cv_prog_CC="$CC" # Let the user override the test. |
1630 else | 1631 else |
1631 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1632 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1648 | 1649 |
1649 if test -z "$CC"; then | 1650 if test -z "$CC"; then |
1650 # Extract the first word of "cc", so it can be a program name with args. | 1651 # Extract the first word of "cc", so it can be a program name with args. |
1651 set dummy cc; ac_word=$2 | 1652 set dummy cc; ac_word=$2 |
1652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1653 echo "configure:1654: checking for $ac_word" >&5 | 1654 echo "configure:1655: checking for $ac_word" >&5 |
1654 | 1655 |
1655 if test -n "$CC"; then | 1656 if test -n "$CC"; then |
1656 ac_cv_prog_CC="$CC" # Let the user override the test. | 1657 ac_cv_prog_CC="$CC" # Let the user override the test. |
1657 else | 1658 else |
1658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1696 case "`uname -s`" in | 1697 case "`uname -s`" in |
1697 *win32* | *WIN32*) | 1698 *win32* | *WIN32*) |
1698 # Extract the first word of "cl", so it can be a program name with args. | 1699 # Extract the first word of "cl", so it can be a program name with args. |
1699 set dummy cl; ac_word=$2 | 1700 set dummy cl; ac_word=$2 |
1700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1701 echo "configure:1702: checking for $ac_word" >&5 | 1702 echo "configure:1703: checking for $ac_word" >&5 |
1702 | 1703 |
1703 if test -n "$CC"; then | 1704 if test -n "$CC"; then |
1704 ac_cv_prog_CC="$CC" # Let the user override the test. | 1705 ac_cv_prog_CC="$CC" # Let the user override the test. |
1705 else | 1706 else |
1706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1725 fi | 1726 fi |
1726 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1727 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1727 fi | 1728 fi |
1728 | 1729 |
1729 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1730 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1730 echo "configure:1731: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1731 echo "configure:1732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1731 | 1732 |
1732 ac_ext=c | 1733 ac_ext=c |
1733 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1734 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1734 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1735 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1735 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1736 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1738 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1739 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1739 cross_compiling=no | 1740 cross_compiling=no |
1740 | 1741 |
1741 cat > conftest.$ac_ext << EOF | 1742 cat > conftest.$ac_ext << EOF |
1742 | 1743 |
1743 #line 1744 "configure" | 1744 #line 1745 "configure" |
1744 #include "confdefs.h" | 1745 #include "confdefs.h" |
1745 | 1746 |
1746 main(){return(0);} | 1747 main(){return(0);} |
1747 EOF | 1748 EOF |
1748 if { (eval echo configure:1749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1749 if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1749 ac_cv_prog_cc_works=yes | 1750 ac_cv_prog_cc_works=yes |
1750 # If we can't run a trivial program, we are probably using a cross compiler. | 1751 # If we can't run a trivial program, we are probably using a cross compiler. |
1751 if (./conftest; exit) 2>/dev/null; then | 1752 if (./conftest; exit) 2>/dev/null; then |
1752 ac_cv_prog_cc_cross=no | 1753 ac_cv_prog_cc_cross=no |
1753 else | 1754 else |
1771 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1772 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1772 if test $ac_cv_prog_cc_works = no; then | 1773 if test $ac_cv_prog_cc_works = no; then |
1773 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1774 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1774 fi | 1775 fi |
1775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1776 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1776 echo "configure:1777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1777 echo "configure:1778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1777 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1778 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1778 cross_compiling=$ac_cv_prog_cc_cross | 1779 cross_compiling=$ac_cv_prog_cc_cross |
1779 | 1780 |
1780 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1781 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1781 echo "configure:1782: checking whether we are using GNU C" >&5 | 1782 echo "configure:1783: checking whether we are using GNU C" >&5 |
1782 | 1783 |
1783 cat > conftest.c <<EOF | 1784 cat > conftest.c <<EOF |
1784 #ifdef __GNUC__ | 1785 #ifdef __GNUC__ |
1785 yes; | 1786 yes; |
1786 #endif | 1787 #endif |
1787 EOF | 1788 EOF |
1788 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1789 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1789 ac_cv_prog_gcc=yes | 1790 ac_cv_prog_gcc=yes |
1790 else | 1791 else |
1791 ac_cv_prog_gcc=no | 1792 ac_cv_prog_gcc=no |
1792 fi | 1793 fi |
1793 | 1794 |
1801 | 1802 |
1802 ac_test_CFLAGS="${CFLAGS+set}" | 1803 ac_test_CFLAGS="${CFLAGS+set}" |
1803 ac_save_CFLAGS="$CFLAGS" | 1804 ac_save_CFLAGS="$CFLAGS" |
1804 CFLAGS= | 1805 CFLAGS= |
1805 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1806 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1806 echo "configure:1807: checking whether ${CC-cc} accepts -g" >&5 | 1807 echo "configure:1808: checking whether ${CC-cc} accepts -g" >&5 |
1807 | 1808 |
1808 echo 'void f(){}' > conftest.c | 1809 echo 'void f(){}' > conftest.c |
1809 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1810 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1810 ac_cv_prog_cc_g=yes | 1811 ac_cv_prog_cc_g=yes |
1811 else | 1812 else |
1834 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1835 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1835 CC=${NON_GNU_CC-cc} | 1836 CC=${NON_GNU_CC-cc} |
1836 # Extract the first word of "gcc", so it can be a program name with args. | 1837 # Extract the first word of "gcc", so it can be a program name with args. |
1837 set dummy gcc; ac_word=$2 | 1838 set dummy gcc; ac_word=$2 |
1838 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1839 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1839 echo "configure:1840: checking for $ac_word" >&5 | 1840 echo "configure:1841: checking for $ac_word" >&5 |
1840 | 1841 |
1841 if test -n "$CC"; then | 1842 if test -n "$CC"; then |
1842 ac_cv_prog_CC="$CC" # Let the user override the test. | 1843 ac_cv_prog_CC="$CC" # Let the user override the test. |
1843 else | 1844 else |
1844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1861 | 1862 |
1862 if test -z "$CC"; then | 1863 if test -z "$CC"; then |
1863 # Extract the first word of "cc", so it can be a program name with args. | 1864 # Extract the first word of "cc", so it can be a program name with args. |
1864 set dummy cc; ac_word=$2 | 1865 set dummy cc; ac_word=$2 |
1865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1866 echo "configure:1867: checking for $ac_word" >&5 | 1867 echo "configure:1868: checking for $ac_word" >&5 |
1867 | 1868 |
1868 if test -n "$CC"; then | 1869 if test -n "$CC"; then |
1869 ac_cv_prog_CC="$CC" # Let the user override the test. | 1870 ac_cv_prog_CC="$CC" # Let the user override the test. |
1870 else | 1871 else |
1871 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1909 case "`uname -s`" in | 1910 case "`uname -s`" in |
1910 *win32* | *WIN32*) | 1911 *win32* | *WIN32*) |
1911 # Extract the first word of "cl", so it can be a program name with args. | 1912 # Extract the first word of "cl", so it can be a program name with args. |
1912 set dummy cl; ac_word=$2 | 1913 set dummy cl; ac_word=$2 |
1913 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1914 echo "configure:1915: checking for $ac_word" >&5 | 1915 echo "configure:1916: checking for $ac_word" >&5 |
1915 | 1916 |
1916 if test -n "$CC"; then | 1917 if test -n "$CC"; then |
1917 ac_cv_prog_CC="$CC" # Let the user override the test. | 1918 ac_cv_prog_CC="$CC" # Let the user override the test. |
1918 else | 1919 else |
1919 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1938 fi | 1939 fi |
1939 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1940 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1940 fi | 1941 fi |
1941 | 1942 |
1942 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1943 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1943 echo "configure:1944: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1944 echo "configure:1945: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1944 | 1945 |
1945 ac_ext=c | 1946 ac_ext=c |
1946 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1947 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1947 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1948 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1948 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1949 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1951 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1952 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1952 cross_compiling=no | 1953 cross_compiling=no |
1953 | 1954 |
1954 cat > conftest.$ac_ext << EOF | 1955 cat > conftest.$ac_ext << EOF |
1955 | 1956 |
1956 #line 1957 "configure" | 1957 #line 1958 "configure" |
1957 #include "confdefs.h" | 1958 #include "confdefs.h" |
1958 | 1959 |
1959 main(){return(0);} | 1960 main(){return(0);} |
1960 EOF | 1961 EOF |
1961 if { (eval echo configure:1962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1962 if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1962 ac_cv_prog_cc_works=yes | 1963 ac_cv_prog_cc_works=yes |
1963 # If we can't run a trivial program, we are probably using a cross compiler. | 1964 # If we can't run a trivial program, we are probably using a cross compiler. |
1964 if (./conftest; exit) 2>/dev/null; then | 1965 if (./conftest; exit) 2>/dev/null; then |
1965 ac_cv_prog_cc_cross=no | 1966 ac_cv_prog_cc_cross=no |
1966 else | 1967 else |
1984 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1985 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1985 if test $ac_cv_prog_cc_works = no; then | 1986 if test $ac_cv_prog_cc_works = no; then |
1986 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1987 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1987 fi | 1988 fi |
1988 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1989 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1989 echo "configure:1990: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1990 echo "configure:1991: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1990 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1991 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1991 cross_compiling=$ac_cv_prog_cc_cross | 1992 cross_compiling=$ac_cv_prog_cc_cross |
1992 | 1993 |
1993 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1994 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1994 echo "configure:1995: checking whether we are using GNU C" >&5 | 1995 echo "configure:1996: checking whether we are using GNU C" >&5 |
1995 | 1996 |
1996 cat > conftest.c <<EOF | 1997 cat > conftest.c <<EOF |
1997 #ifdef __GNUC__ | 1998 #ifdef __GNUC__ |
1998 yes; | 1999 yes; |
1999 #endif | 2000 #endif |
2000 EOF | 2001 EOF |
2001 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2002 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2002 ac_cv_prog_gcc=yes | 2003 ac_cv_prog_gcc=yes |
2003 else | 2004 else |
2004 ac_cv_prog_gcc=no | 2005 ac_cv_prog_gcc=no |
2005 fi | 2006 fi |
2006 | 2007 |
2014 | 2015 |
2015 ac_test_CFLAGS="${CFLAGS+set}" | 2016 ac_test_CFLAGS="${CFLAGS+set}" |
2016 ac_save_CFLAGS="$CFLAGS" | 2017 ac_save_CFLAGS="$CFLAGS" |
2017 CFLAGS= | 2018 CFLAGS= |
2018 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2019 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2019 echo "configure:2020: checking whether ${CC-cc} accepts -g" >&5 | 2020 echo "configure:2021: checking whether ${CC-cc} accepts -g" >&5 |
2020 | 2021 |
2021 echo 'void f(){}' > conftest.c | 2022 echo 'void f(){}' > conftest.c |
2022 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2023 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2023 ac_cv_prog_cc_g=yes | 2024 ac_cv_prog_cc_g=yes |
2024 else | 2025 else |
2047 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2048 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2048 CC=gcc | 2049 CC=gcc |
2049 # Extract the first word of "gcc", so it can be a program name with args. | 2050 # Extract the first word of "gcc", so it can be a program name with args. |
2050 set dummy gcc; ac_word=$2 | 2051 set dummy gcc; ac_word=$2 |
2051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2052 echo "configure:2053: checking for $ac_word" >&5 | 2053 echo "configure:2054: checking for $ac_word" >&5 |
2053 | 2054 |
2054 if test -n "$CC"; then | 2055 if test -n "$CC"; then |
2055 ac_cv_prog_CC="$CC" # Let the user override the test. | 2056 ac_cv_prog_CC="$CC" # Let the user override the test. |
2056 else | 2057 else |
2057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2058 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2074 | 2075 |
2075 if test -z "$CC"; then | 2076 if test -z "$CC"; then |
2076 # Extract the first word of "cc", so it can be a program name with args. | 2077 # Extract the first word of "cc", so it can be a program name with args. |
2077 set dummy cc; ac_word=$2 | 2078 set dummy cc; ac_word=$2 |
2078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2079 echo "configure:2080: checking for $ac_word" >&5 | 2080 echo "configure:2081: checking for $ac_word" >&5 |
2080 | 2081 |
2081 if test -n "$CC"; then | 2082 if test -n "$CC"; then |
2082 ac_cv_prog_CC="$CC" # Let the user override the test. | 2083 ac_cv_prog_CC="$CC" # Let the user override the test. |
2083 else | 2084 else |
2084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2122 case "`uname -s`" in | 2123 case "`uname -s`" in |
2123 *win32* | *WIN32*) | 2124 *win32* | *WIN32*) |
2124 # Extract the first word of "cl", so it can be a program name with args. | 2125 # Extract the first word of "cl", so it can be a program name with args. |
2125 set dummy cl; ac_word=$2 | 2126 set dummy cl; ac_word=$2 |
2126 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2127 echo "configure:2128: checking for $ac_word" >&5 | 2128 echo "configure:2129: checking for $ac_word" >&5 |
2128 | 2129 |
2129 if test -n "$CC"; then | 2130 if test -n "$CC"; then |
2130 ac_cv_prog_CC="$CC" # Let the user override the test. | 2131 ac_cv_prog_CC="$CC" # Let the user override the test. |
2131 else | 2132 else |
2132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2133 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2151 fi | 2152 fi |
2152 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2153 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2153 fi | 2154 fi |
2154 | 2155 |
2155 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2156 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2156 echo "configure:2157: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2157 echo "configure:2158: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2157 | 2158 |
2158 ac_ext=c | 2159 ac_ext=c |
2159 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2160 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2160 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2161 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2161 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2162 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2164 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2165 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2165 cross_compiling=no | 2166 cross_compiling=no |
2166 | 2167 |
2167 cat > conftest.$ac_ext << EOF | 2168 cat > conftest.$ac_ext << EOF |
2168 | 2169 |
2169 #line 2170 "configure" | 2170 #line 2171 "configure" |
2170 #include "confdefs.h" | 2171 #include "confdefs.h" |
2171 | 2172 |
2172 main(){return(0);} | 2173 main(){return(0);} |
2173 EOF | 2174 EOF |
2174 if { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2175 if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2175 ac_cv_prog_cc_works=yes | 2176 ac_cv_prog_cc_works=yes |
2176 # If we can't run a trivial program, we are probably using a cross compiler. | 2177 # If we can't run a trivial program, we are probably using a cross compiler. |
2177 if (./conftest; exit) 2>/dev/null; then | 2178 if (./conftest; exit) 2>/dev/null; then |
2178 ac_cv_prog_cc_cross=no | 2179 ac_cv_prog_cc_cross=no |
2179 else | 2180 else |
2197 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2198 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2198 if test $ac_cv_prog_cc_works = no; then | 2199 if test $ac_cv_prog_cc_works = no; then |
2199 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2200 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2200 fi | 2201 fi |
2201 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2202 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2202 echo "configure:2203: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2203 echo "configure:2204: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2203 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2204 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2204 cross_compiling=$ac_cv_prog_cc_cross | 2205 cross_compiling=$ac_cv_prog_cc_cross |
2205 | 2206 |
2206 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2207 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2207 echo "configure:2208: checking whether we are using GNU C" >&5 | 2208 echo "configure:2209: checking whether we are using GNU C" >&5 |
2208 | 2209 |
2209 cat > conftest.c <<EOF | 2210 cat > conftest.c <<EOF |
2210 #ifdef __GNUC__ | 2211 #ifdef __GNUC__ |
2211 yes; | 2212 yes; |
2212 #endif | 2213 #endif |
2213 EOF | 2214 EOF |
2214 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2215 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2215 ac_cv_prog_gcc=yes | 2216 ac_cv_prog_gcc=yes |
2216 else | 2217 else |
2217 ac_cv_prog_gcc=no | 2218 ac_cv_prog_gcc=no |
2218 fi | 2219 fi |
2219 | 2220 |
2227 | 2228 |
2228 ac_test_CFLAGS="${CFLAGS+set}" | 2229 ac_test_CFLAGS="${CFLAGS+set}" |
2229 ac_save_CFLAGS="$CFLAGS" | 2230 ac_save_CFLAGS="$CFLAGS" |
2230 CFLAGS= | 2231 CFLAGS= |
2231 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2232 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2232 echo "configure:2233: checking whether ${CC-cc} accepts -g" >&5 | 2233 echo "configure:2234: checking whether ${CC-cc} accepts -g" >&5 |
2233 | 2234 |
2234 echo 'void f(){}' > conftest.c | 2235 echo 'void f(){}' > conftest.c |
2235 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2236 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2236 ac_cv_prog_cc_g=yes | 2237 ac_cv_prog_cc_g=yes |
2237 else | 2238 else |
2264 test -n "$CPP" -a -d "$CPP" && CPP= | 2265 test -n "$CPP" -a -d "$CPP" && CPP= |
2265 | 2266 |
2266 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2267 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2267 | 2268 |
2268 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2269 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2269 echo "configure:2270: checking how to run the C preprocessor" >&5 | 2270 echo "configure:2271: checking how to run the C preprocessor" >&5 |
2270 # On Suns, sometimes $CPP names a directory. | 2271 # On Suns, sometimes $CPP names a directory. |
2271 if test -n "$CPP" && test -d "$CPP"; then | 2272 if test -n "$CPP" && test -d "$CPP"; then |
2272 CPP= | 2273 CPP= |
2273 fi | 2274 fi |
2274 if test -z "$CPP"; then | 2275 if test -z "$CPP"; then |
2277 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2278 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2278 CPP="${CC-cc} -E" | 2279 CPP="${CC-cc} -E" |
2279 # On the NeXT, cc -E runs the code through the compiler's parser, | 2280 # On the NeXT, cc -E runs the code through the compiler's parser, |
2280 # not just through cpp. | 2281 # not just through cpp. |
2281 cat > conftest.$ac_ext <<EOF | 2282 cat > conftest.$ac_ext <<EOF |
2282 #line 2283 "configure" | 2283 #line 2284 "configure" |
2283 #include "confdefs.h" | 2284 #include "confdefs.h" |
2284 #include <assert.h> | 2285 #include <assert.h> |
2285 Syntax Error | 2286 Syntax Error |
2286 EOF | 2287 EOF |
2287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2288 { (eval echo configure:2289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2289 { (eval echo configure:2290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2290 if test -z "$ac_err"; then | 2291 if test -z "$ac_err"; then |
2291 : | 2292 : |
2292 else | 2293 else |
2293 echo "$ac_err" >&5 | 2294 echo "$ac_err" >&5 |
2294 echo "configure: failed program was:" >&5 | 2295 echo "configure: failed program was:" >&5 |
2295 cat conftest.$ac_ext >&5 | 2296 cat conftest.$ac_ext >&5 |
2296 rm -rf conftest* | 2297 rm -rf conftest* |
2297 CPP="${CC-cc} -E -traditional-cpp" | 2298 CPP="${CC-cc} -E -traditional-cpp" |
2298 cat > conftest.$ac_ext <<EOF | 2299 cat > conftest.$ac_ext <<EOF |
2299 #line 2300 "configure" | 2300 #line 2301 "configure" |
2300 #include "confdefs.h" | 2301 #include "confdefs.h" |
2301 #include <assert.h> | 2302 #include <assert.h> |
2302 Syntax Error | 2303 Syntax Error |
2303 EOF | 2304 EOF |
2304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2305 { (eval echo configure:2306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2306 { (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2307 if test -z "$ac_err"; then | 2308 if test -z "$ac_err"; then |
2308 : | 2309 : |
2309 else | 2310 else |
2310 echo "$ac_err" >&5 | 2311 echo "$ac_err" >&5 |
2311 echo "configure: failed program was:" >&5 | 2312 echo "configure: failed program was:" >&5 |
2312 cat conftest.$ac_ext >&5 | 2313 cat conftest.$ac_ext >&5 |
2313 rm -rf conftest* | 2314 rm -rf conftest* |
2314 CPP="${CC-cc} -nologo -E" | 2315 CPP="${CC-cc} -nologo -E" |
2315 cat > conftest.$ac_ext <<EOF | 2316 cat > conftest.$ac_ext <<EOF |
2316 #line 2317 "configure" | 2317 #line 2318 "configure" |
2317 #include "confdefs.h" | 2318 #include "confdefs.h" |
2318 #include <assert.h> | 2319 #include <assert.h> |
2319 Syntax Error | 2320 Syntax Error |
2320 EOF | 2321 EOF |
2321 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2322 { (eval echo configure:2323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2323 { (eval echo configure:2324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2323 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2324 if test -z "$ac_err"; then | 2325 if test -z "$ac_err"; then |
2325 : | 2326 : |
2326 else | 2327 else |
2327 echo "$ac_err" >&5 | 2328 echo "$ac_err" >&5 |
2343 echo "$ac_t""$CPP" 1>&6 | 2344 echo "$ac_t""$CPP" 1>&6 |
2344 | 2345 |
2345 | 2346 |
2346 | 2347 |
2347 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2348 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2348 echo "configure:2349: checking for AIX" >&5 | 2349 echo "configure:2350: checking for AIX" >&5 |
2349 cat > conftest.$ac_ext <<EOF | 2350 cat > conftest.$ac_ext <<EOF |
2350 #line 2351 "configure" | 2351 #line 2352 "configure" |
2351 #include "confdefs.h" | 2352 #include "confdefs.h" |
2352 #ifdef _AIX | 2353 #ifdef _AIX |
2353 yes | 2354 yes |
2354 #endif | 2355 #endif |
2355 | 2356 |
2372 rm -f conftest* | 2373 rm -f conftest* |
2373 | 2374 |
2374 | 2375 |
2375 | 2376 |
2376 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2377 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2377 echo "configure:2378: checking for GNU libc" >&5 | 2378 echo "configure:2379: checking for GNU libc" >&5 |
2378 cat > conftest.$ac_ext <<EOF | 2379 cat > conftest.$ac_ext <<EOF |
2379 #line 2380 "configure" | 2380 #line 2381 "configure" |
2380 #include "confdefs.h" | 2381 #include "confdefs.h" |
2381 #include <features.h> | 2382 #include <features.h> |
2382 int main() { | 2383 int main() { |
2383 | 2384 |
2384 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2385 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2386 ******* ======= ******** &&&&&&&& | 2387 ******* ======= ******** &&&&&&&& |
2387 #endif | 2388 #endif |
2388 | 2389 |
2389 ; return 0; } | 2390 ; return 0; } |
2390 EOF | 2391 EOF |
2391 if { (eval echo configure:2392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2392 if { (eval echo configure:2393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2392 rm -rf conftest* | 2393 rm -rf conftest* |
2393 have_glibc=yes | 2394 have_glibc=yes |
2394 else | 2395 else |
2395 echo "configure: failed program was:" >&5 | 2396 echo "configure: failed program was:" >&5 |
2396 cat conftest.$ac_ext >&5 | 2397 cat conftest.$ac_ext >&5 |
2463 | 2464 |
2464 ;; | 2465 ;; |
2465 esac | 2466 esac |
2466 | 2467 |
2467 cat > conftest.$ac_ext <<EOF | 2468 cat > conftest.$ac_ext <<EOF |
2468 #line 2469 "configure" | 2469 #line 2470 "configure" |
2469 #include "confdefs.h" | 2470 #include "confdefs.h" |
2470 int main () { | 2471 int main () { |
2471 #if defined __SUNPRO_C | 2472 #if defined __SUNPRO_C |
2472 return 11; | 2473 return 11; |
2473 #elif defined __DECC | 2474 #elif defined __DECC |
2477 #else | 2478 #else |
2478 return 0; | 2479 return 0; |
2479 #endif | 2480 #endif |
2480 } | 2481 } |
2481 EOF | 2482 EOF |
2482 if { (eval echo configure:2483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2483 if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2483 then | 2484 then |
2484 : | 2485 : |
2485 else | 2486 else |
2486 conftest_rc="$?" | 2487 conftest_rc="$?" |
2487 echo "configure: failed program was:" >&5 | 2488 echo "configure: failed program was:" >&5 |
2729 | 2730 |
2730 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2731 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2731 | 2732 |
2732 if test "$__USLC__" = yes; then | 2733 if test "$__USLC__" = yes; then |
2733 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2734 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2734 echo "configure:2735: checking for whether the -Kalloca compiler flag is needed" >&5 | 2735 echo "configure:2736: checking for whether the -Kalloca compiler flag is needed" >&5 |
2735 need_kalloca=no | 2736 need_kalloca=no |
2736 cat > conftest.$ac_ext <<EOF | 2737 cat > conftest.$ac_ext <<EOF |
2737 #line 2738 "configure" | 2738 #line 2739 "configure" |
2738 #include "confdefs.h" | 2739 #include "confdefs.h" |
2739 | 2740 |
2740 int main() { | 2741 int main() { |
2741 void *x = alloca(4); | 2742 void *x = alloca(4); |
2742 ; return 0; } | 2743 ; return 0; } |
2743 EOF | 2744 EOF |
2744 if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2745 if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2745 rm -rf conftest* | 2746 rm -rf conftest* |
2746 : | 2747 : |
2747 else | 2748 else |
2748 echo "configure: failed program was:" >&5 | 2749 echo "configure: failed program was:" >&5 |
2749 cat conftest.$ac_ext >&5 | 2750 cat conftest.$ac_ext >&5 |
2750 rm -rf conftest* | 2751 rm -rf conftest* |
2751 | 2752 |
2752 xe_save_c_switch_system="$c_switch_system" | 2753 xe_save_c_switch_system="$c_switch_system" |
2753 c_switch_system="$c_switch_system -Kalloca" | 2754 c_switch_system="$c_switch_system -Kalloca" |
2754 cat > conftest.$ac_ext <<EOF | 2755 cat > conftest.$ac_ext <<EOF |
2755 #line 2756 "configure" | 2756 #line 2757 "configure" |
2756 #include "confdefs.h" | 2757 #include "confdefs.h" |
2757 | 2758 |
2758 int main() { | 2759 int main() { |
2759 void *x = alloca(4); | 2760 void *x = alloca(4); |
2760 ; return 0; } | 2761 ; return 0; } |
2761 EOF | 2762 EOF |
2762 if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2763 if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2763 rm -rf conftest* | 2764 rm -rf conftest* |
2764 need_kalloca=yes | 2765 need_kalloca=yes |
2765 else | 2766 else |
2766 echo "configure: failed program was:" >&5 | 2767 echo "configure: failed program was:" >&5 |
2767 cat conftest.$ac_ext >&5 | 2768 cat conftest.$ac_ext >&5 |
2795 CFLAGS="-O" ; fi | 2796 CFLAGS="-O" ; fi |
2796 fi | 2797 fi |
2797 | 2798 |
2798 if test "$GCC" = "yes"; then | 2799 if test "$GCC" = "yes"; then |
2799 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2800 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2800 echo "configure:2801: checking for buggy gcc versions" >&5 | 2801 echo "configure:2802: checking for buggy gcc versions" >&5 |
2801 GCC_VERSION=`$CC --version` | 2802 GCC_VERSION=`$CC --version` |
2802 case `uname -s`:`uname -m`:$GCC_VERSION in | 2803 case `uname -s`:`uname -m`:$GCC_VERSION in |
2803 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2804 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2804 case "$CFLAGS" in | 2805 case "$CFLAGS" in |
2805 *-O2*|*-O3*) | 2806 *-O2*|*-O3*) |
2918 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2919 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2919 echo " xemacs will be linked with \"dumper.o\"" | 2920 echo " xemacs will be linked with \"dumper.o\"" |
2920 fi | 2921 fi |
2921 | 2922 |
2922 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2923 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2923 echo "configure:2924: checking for dynodump" >&5 | 2924 echo "configure:2925: checking for dynodump" >&5 |
2924 if test "$unexec" != "unexsol2.o"; then | 2925 if test "$unexec" != "unexsol2.o"; then |
2925 echo "$ac_t""no" 1>&6 | 2926 echo "$ac_t""no" 1>&6 |
2926 else | 2927 else |
2927 echo "$ac_t""yes" 1>&6 | 2928 echo "$ac_t""yes" 1>&6 |
2928 { test "$extra_verbose" = "yes" && cat << \EOF | 2929 { test "$extra_verbose" = "yes" && cat << \EOF |
2956 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2957 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2957 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2958 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2958 done | 2959 done |
2959 | 2960 |
2960 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2961 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2961 echo "configure:2962: checking for terminateAndUnload in -lC" >&5 | 2962 echo "configure:2963: checking for terminateAndUnload in -lC" >&5 |
2962 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2963 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2963 | 2964 |
2964 xe_check_libs=" -lC " | 2965 xe_check_libs=" -lC " |
2965 cat > conftest.$ac_ext <<EOF | 2966 cat > conftest.$ac_ext <<EOF |
2966 #line 2967 "configure" | 2967 #line 2968 "configure" |
2967 #include "confdefs.h" | 2968 #include "confdefs.h" |
2968 /* Override any gcc2 internal prototype to avoid an error. */ | 2969 /* Override any gcc2 internal prototype to avoid an error. */ |
2969 /* We use char because int might match the return type of a gcc2 | 2970 /* We use char because int might match the return type of a gcc2 |
2970 builtin and then its argument prototype would still apply. */ | 2971 builtin and then its argument prototype would still apply. */ |
2971 char terminateAndUnload(); | 2972 char terminateAndUnload(); |
2972 | 2973 |
2973 int main() { | 2974 int main() { |
2974 terminateAndUnload() | 2975 terminateAndUnload() |
2975 ; return 0; } | 2976 ; return 0; } |
2976 EOF | 2977 EOF |
2977 if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2978 if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2978 rm -rf conftest* | 2979 rm -rf conftest* |
2979 eval "ac_cv_lib_$ac_lib_var=yes" | 2980 eval "ac_cv_lib_$ac_lib_var=yes" |
2980 else | 2981 else |
2981 echo "configure: failed program was:" >&5 | 2982 echo "configure: failed program was:" >&5 |
2982 cat conftest.$ac_ext >&5 | 2983 cat conftest.$ac_ext >&5 |
3080 esac | 3081 esac |
3081 fi | 3082 fi |
3082 | 3083 |
3083 if test "$add_runtime_path" = "yes"; then | 3084 if test "$add_runtime_path" = "yes"; then |
3084 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3085 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3085 echo "configure:3086: checking "for runtime libraries flag"" >&5 | 3086 echo "configure:3087: checking "for runtime libraries flag"" >&5 |
3086 case "$opsys" in | 3087 case "$opsys" in |
3087 sol2 ) dash_r="-R" ;; | 3088 sol2 ) dash_r="-R" ;; |
3088 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3089 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3089 *) | 3090 *) |
3090 dash_r="" | 3091 dash_r="" |
3102 esac | 3103 esac |
3103 shift | 3104 shift |
3104 done | 3105 done |
3105 fi | 3106 fi |
3106 cat > conftest.$ac_ext <<EOF | 3107 cat > conftest.$ac_ext <<EOF |
3107 #line 3108 "configure" | 3108 #line 3109 "configure" |
3108 #include "confdefs.h" | 3109 #include "confdefs.h" |
3109 | 3110 |
3110 int main() { | 3111 int main() { |
3111 | 3112 |
3112 ; return 0; } | 3113 ; return 0; } |
3113 EOF | 3114 EOF |
3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3115 if { (eval echo configure:3116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3115 rm -rf conftest* | 3116 rm -rf conftest* |
3116 dash_r="$try_dash_r" | 3117 dash_r="$try_dash_r" |
3117 else | 3118 else |
3118 echo "configure: failed program was:" >&5 | 3119 echo "configure: failed program was:" >&5 |
3119 cat conftest.$ac_ext >&5 | 3120 cat conftest.$ac_ext >&5 |
3210 else | 3211 else |
3211 doug_lea_malloc=no | 3212 doug_lea_malloc=no |
3212 fi | 3213 fi |
3213 after_morecore_hook_exists=yes | 3214 after_morecore_hook_exists=yes |
3214 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3215 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3215 echo "configure:3216: checking for malloc_set_state" >&5 | 3216 echo "configure:3217: checking for malloc_set_state" >&5 |
3216 | 3217 |
3217 cat > conftest.$ac_ext <<EOF | 3218 cat > conftest.$ac_ext <<EOF |
3218 #line 3219 "configure" | 3219 #line 3220 "configure" |
3219 #include "confdefs.h" | 3220 #include "confdefs.h" |
3220 /* System header to define __stub macros and hopefully few prototypes, | 3221 /* System header to define __stub macros and hopefully few prototypes, |
3221 which can conflict with char malloc_set_state(); below. */ | 3222 which can conflict with char malloc_set_state(); below. */ |
3222 #include <assert.h> | 3223 #include <assert.h> |
3223 /* Override any gcc2 internal prototype to avoid an error. */ | 3224 /* Override any gcc2 internal prototype to avoid an error. */ |
3236 malloc_set_state(); | 3237 malloc_set_state(); |
3237 #endif | 3238 #endif |
3238 | 3239 |
3239 ; return 0; } | 3240 ; return 0; } |
3240 EOF | 3241 EOF |
3241 if { (eval echo configure:3242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3242 if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3242 rm -rf conftest* | 3243 rm -rf conftest* |
3243 eval "ac_cv_func_malloc_set_state=yes" | 3244 eval "ac_cv_func_malloc_set_state=yes" |
3244 else | 3245 else |
3245 echo "configure: failed program was:" >&5 | 3246 echo "configure: failed program was:" >&5 |
3246 cat conftest.$ac_ext >&5 | 3247 cat conftest.$ac_ext >&5 |
3256 echo "$ac_t""no" 1>&6 | 3257 echo "$ac_t""no" 1>&6 |
3257 doug_lea_malloc=no | 3258 doug_lea_malloc=no |
3258 fi | 3259 fi |
3259 | 3260 |
3260 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3261 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3261 echo "configure:3262: checking whether __after_morecore_hook exists" >&5 | 3262 echo "configure:3263: checking whether __after_morecore_hook exists" >&5 |
3262 cat > conftest.$ac_ext <<EOF | 3263 cat > conftest.$ac_ext <<EOF |
3263 #line 3264 "configure" | 3264 #line 3265 "configure" |
3264 #include "confdefs.h" | 3265 #include "confdefs.h" |
3265 extern void (* __after_morecore_hook)(); | 3266 extern void (* __after_morecore_hook)(); |
3266 int main() { | 3267 int main() { |
3267 __after_morecore_hook = 0 | 3268 __after_morecore_hook = 0 |
3268 ; return 0; } | 3269 ; return 0; } |
3269 EOF | 3270 EOF |
3270 if { (eval echo configure:3271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3271 if { (eval echo configure:3272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3271 rm -rf conftest* | 3272 rm -rf conftest* |
3272 echo "$ac_t""yes" 1>&6 | 3273 echo "$ac_t""yes" 1>&6 |
3273 else | 3274 else |
3274 echo "configure: failed program was:" >&5 | 3275 echo "configure: failed program was:" >&5 |
3275 cat conftest.$ac_ext >&5 | 3276 cat conftest.$ac_ext >&5 |
3321 | 3322 |
3322 | 3323 |
3323 # Extract the first word of "ranlib", so it can be a program name with args. | 3324 # Extract the first word of "ranlib", so it can be a program name with args. |
3324 set dummy ranlib; ac_word=$2 | 3325 set dummy ranlib; ac_word=$2 |
3325 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3326 echo "configure:3327: checking for $ac_word" >&5 | 3327 echo "configure:3328: checking for $ac_word" >&5 |
3327 | 3328 |
3328 if test -n "$RANLIB"; then | 3329 if test -n "$RANLIB"; then |
3329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3330 else | 3331 else |
3331 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3376 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3377 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3378 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3379 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3379 # ./install, which can be erroneously created by make from ./install.sh. | 3380 # ./install, which can be erroneously created by make from ./install.sh. |
3380 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3381 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3381 echo "configure:3382: checking for a BSD compatible install" >&5 | 3382 echo "configure:3383: checking for a BSD compatible install" >&5 |
3382 if test -z "$INSTALL"; then | 3383 if test -z "$INSTALL"; then |
3383 | 3384 |
3384 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3385 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3385 for ac_dir in $PATH; do | 3386 for ac_dir in $PATH; do |
3386 # Account for people who put trailing slashes in PATH elements. | 3387 # Account for people who put trailing slashes in PATH elements. |
3430 for ac_prog in 'bison -y' byacc | 3431 for ac_prog in 'bison -y' byacc |
3431 do | 3432 do |
3432 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3433 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3433 set dummy $ac_prog; ac_word=$2 | 3434 set dummy $ac_prog; ac_word=$2 |
3434 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3435 echo "configure:3436: checking for $ac_word" >&5 | 3436 echo "configure:3437: checking for $ac_word" >&5 |
3436 | 3437 |
3437 if test -n "$YACC"; then | 3438 if test -n "$YACC"; then |
3438 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3439 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3439 else | 3440 else |
3440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3441 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3462 | 3463 |
3463 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 | 3464 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/un.h ulimit.h unistd.h |
3464 do | 3465 do |
3465 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3466 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3466 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3467 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3467 echo "configure:3468: checking for $ac_hdr" >&5 | 3468 echo "configure:3469: checking for $ac_hdr" >&5 |
3468 | 3469 |
3469 cat > conftest.$ac_ext <<EOF | 3470 cat > conftest.$ac_ext <<EOF |
3470 #line 3471 "configure" | 3471 #line 3472 "configure" |
3471 #include "confdefs.h" | 3472 #include "confdefs.h" |
3472 #include <$ac_hdr> | 3473 #include <$ac_hdr> |
3473 EOF | 3474 EOF |
3474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3475 { (eval echo configure:3476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3476 { (eval echo configure:3477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3477 if test -z "$ac_err"; then | 3478 if test -z "$ac_err"; then |
3478 rm -rf conftest* | 3479 rm -rf conftest* |
3479 eval "ac_cv_header_$ac_safe=yes" | 3480 eval "ac_cv_header_$ac_safe=yes" |
3480 else | 3481 else |
3500 echo "$ac_t""no" 1>&6 | 3501 echo "$ac_t""no" 1>&6 |
3501 fi | 3502 fi |
3502 done | 3503 done |
3503 | 3504 |
3504 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3505 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3505 echo "configure:3506: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3506 echo "configure:3507: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3506 | 3507 |
3507 cat > conftest.$ac_ext <<EOF | 3508 cat > conftest.$ac_ext <<EOF |
3508 #line 3509 "configure" | 3509 #line 3510 "configure" |
3509 #include "confdefs.h" | 3510 #include "confdefs.h" |
3510 #include <sys/types.h> | 3511 #include <sys/types.h> |
3511 #include <sys/wait.h> | 3512 #include <sys/wait.h> |
3512 #ifndef WEXITSTATUS | 3513 #ifndef WEXITSTATUS |
3513 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3514 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3519 int s; | 3520 int s; |
3520 wait (&s); | 3521 wait (&s); |
3521 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3522 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3522 ; return 0; } | 3523 ; return 0; } |
3523 EOF | 3524 EOF |
3524 if { (eval echo configure:3525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3525 if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3525 rm -rf conftest* | 3526 rm -rf conftest* |
3526 ac_cv_header_sys_wait_h=yes | 3527 ac_cv_header_sys_wait_h=yes |
3527 else | 3528 else |
3528 echo "configure: failed program was:" >&5 | 3529 echo "configure: failed program was:" >&5 |
3529 cat conftest.$ac_ext >&5 | 3530 cat conftest.$ac_ext >&5 |
3543 } | 3544 } |
3544 | 3545 |
3545 fi | 3546 fi |
3546 | 3547 |
3547 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3548 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3548 echo "configure:3549: checking for ANSI C header files" >&5 | 3549 echo "configure:3550: checking for ANSI C header files" >&5 |
3549 | 3550 |
3550 cat > conftest.$ac_ext <<EOF | 3551 cat > conftest.$ac_ext <<EOF |
3551 #line 3552 "configure" | 3552 #line 3553 "configure" |
3552 #include "confdefs.h" | 3553 #include "confdefs.h" |
3553 #include <stdlib.h> | 3554 #include <stdlib.h> |
3554 #include <stdarg.h> | 3555 #include <stdarg.h> |
3555 #include <string.h> | 3556 #include <string.h> |
3556 #include <float.h> | 3557 #include <float.h> |
3557 EOF | 3558 EOF |
3558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3559 { (eval echo configure:3560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3560 { (eval echo configure:3561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3561 if test -z "$ac_err"; then | 3562 if test -z "$ac_err"; then |
3562 rm -rf conftest* | 3563 rm -rf conftest* |
3563 ac_cv_header_stdc=yes | 3564 ac_cv_header_stdc=yes |
3564 else | 3565 else |
3571 rm -f conftest* | 3572 rm -f conftest* |
3572 | 3573 |
3573 if test $ac_cv_header_stdc = yes; then | 3574 if test $ac_cv_header_stdc = yes; then |
3574 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3575 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3575 cat > conftest.$ac_ext <<EOF | 3576 cat > conftest.$ac_ext <<EOF |
3576 #line 3577 "configure" | 3577 #line 3578 "configure" |
3577 #include "confdefs.h" | 3578 #include "confdefs.h" |
3578 #include <string.h> | 3579 #include <string.h> |
3579 EOF | 3580 EOF |
3580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3581 egrep "memchr" >/dev/null 2>&1; then | 3582 egrep "memchr" >/dev/null 2>&1; then |
3589 fi | 3590 fi |
3590 | 3591 |
3591 if test $ac_cv_header_stdc = yes; then | 3592 if test $ac_cv_header_stdc = yes; then |
3592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3593 cat > conftest.$ac_ext <<EOF | 3594 cat > conftest.$ac_ext <<EOF |
3594 #line 3595 "configure" | 3595 #line 3596 "configure" |
3595 #include "confdefs.h" | 3596 #include "confdefs.h" |
3596 #include <stdlib.h> | 3597 #include <stdlib.h> |
3597 EOF | 3598 EOF |
3598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3599 egrep "free" >/dev/null 2>&1; then | 3600 egrep "free" >/dev/null 2>&1; then |
3607 fi | 3608 fi |
3608 | 3609 |
3609 if test $ac_cv_header_stdc = yes; then | 3610 if test $ac_cv_header_stdc = yes; then |
3610 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3611 cat > conftest.$ac_ext <<EOF | 3612 cat > conftest.$ac_ext <<EOF |
3612 #line 3613 "configure" | 3613 #line 3614 "configure" |
3613 #include "confdefs.h" | 3614 #include "confdefs.h" |
3614 #include <ctype.h> | 3615 #include <ctype.h> |
3615 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3616 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3616 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3617 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3618 int main () { int i; for (i = 0; i < 256; i++) | 3619 int main () { int i; for (i = 0; i < 256; i++) |
3619 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3620 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3620 exit (0); } | 3621 exit (0); } |
3621 | 3622 |
3622 EOF | 3623 EOF |
3623 if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3624 if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3624 then | 3625 then |
3625 : | 3626 : |
3626 else | 3627 else |
3627 conftest_rc="$?" | 3628 conftest_rc="$?" |
3628 echo "configure: failed program was:" >&5 | 3629 echo "configure: failed program was:" >&5 |
3644 } | 3645 } |
3645 | 3646 |
3646 fi | 3647 fi |
3647 | 3648 |
3648 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3649 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3649 echo "configure:3650: checking whether time.h and sys/time.h may both be included" >&5 | 3650 echo "configure:3651: checking whether time.h and sys/time.h may both be included" >&5 |
3650 | 3651 |
3651 cat > conftest.$ac_ext <<EOF | 3652 cat > conftest.$ac_ext <<EOF |
3652 #line 3653 "configure" | 3653 #line 3654 "configure" |
3653 #include "confdefs.h" | 3654 #include "confdefs.h" |
3654 #include <sys/types.h> | 3655 #include <sys/types.h> |
3655 #include <sys/time.h> | 3656 #include <sys/time.h> |
3656 #include <time.h> | 3657 #include <time.h> |
3657 int main() { | 3658 int main() { |
3658 struct tm *tp; | 3659 struct tm *tp; |
3659 ; return 0; } | 3660 ; return 0; } |
3660 EOF | 3661 EOF |
3661 if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3662 rm -rf conftest* | 3663 rm -rf conftest* |
3663 ac_cv_header_time=yes | 3664 ac_cv_header_time=yes |
3664 else | 3665 else |
3665 echo "configure: failed program was:" >&5 | 3666 echo "configure: failed program was:" >&5 |
3666 cat conftest.$ac_ext >&5 | 3667 cat conftest.$ac_ext >&5 |
3680 } | 3681 } |
3681 | 3682 |
3682 fi | 3683 fi |
3683 | 3684 |
3684 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3685 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3685 echo "configure:3686: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3686 echo "configure:3687: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3686 | 3687 |
3687 cat > conftest.$ac_ext <<EOF | 3688 cat > conftest.$ac_ext <<EOF |
3688 #line 3689 "configure" | 3689 #line 3690 "configure" |
3689 #include "confdefs.h" | 3690 #include "confdefs.h" |
3690 #include <sys/types.h> | 3691 #include <sys/types.h> |
3691 #include <signal.h> | 3692 #include <signal.h> |
3692 /* NetBSD declares sys_siglist in unistd.h. */ | 3693 /* NetBSD declares sys_siglist in unistd.h. */ |
3693 #ifdef HAVE_UNISTD_H | 3694 #ifdef HAVE_UNISTD_H |
3695 #endif | 3696 #endif |
3696 int main() { | 3697 int main() { |
3697 char *msg = *(sys_siglist + 1); | 3698 char *msg = *(sys_siglist + 1); |
3698 ; return 0; } | 3699 ; return 0; } |
3699 EOF | 3700 EOF |
3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3701 if { (eval echo configure:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3701 rm -rf conftest* | 3702 rm -rf conftest* |
3702 ac_cv_decl_sys_siglist=yes | 3703 ac_cv_decl_sys_siglist=yes |
3703 else | 3704 else |
3704 echo "configure: failed program was:" >&5 | 3705 echo "configure: failed program was:" >&5 |
3705 cat conftest.$ac_ext >&5 | 3706 cat conftest.$ac_ext >&5 |
3721 fi | 3722 fi |
3722 | 3723 |
3723 | 3724 |
3724 | 3725 |
3725 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3726 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3726 echo "configure:3727: checking for utime" >&5 | 3727 echo "configure:3728: checking for utime" >&5 |
3727 cat > conftest.$ac_ext <<EOF | 3728 cat > conftest.$ac_ext <<EOF |
3728 #line 3729 "configure" | 3729 #line 3730 "configure" |
3729 #include "confdefs.h" | 3730 #include "confdefs.h" |
3730 #include <sys/types.h> | 3731 #include <sys/types.h> |
3731 #include <utime.h> | 3732 #include <utime.h> |
3732 int main() { | 3733 int main() { |
3733 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3734 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3734 ; return 0; } | 3735 ; return 0; } |
3735 EOF | 3736 EOF |
3736 if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3737 if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3737 rm -rf conftest* | 3738 rm -rf conftest* |
3738 echo "$ac_t""yes" 1>&6 | 3739 echo "$ac_t""yes" 1>&6 |
3739 { test "$extra_verbose" = "yes" && cat << \EOF | 3740 { test "$extra_verbose" = "yes" && cat << \EOF |
3740 Defining HAVE_UTIME | 3741 Defining HAVE_UTIME |
3741 EOF | 3742 EOF |
3750 rm -rf conftest* | 3751 rm -rf conftest* |
3751 echo "$ac_t""no" 1>&6 | 3752 echo "$ac_t""no" 1>&6 |
3752 for ac_func in utimes | 3753 for ac_func in utimes |
3753 do | 3754 do |
3754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3755 echo "configure:3756: checking for $ac_func" >&5 | 3756 echo "configure:3757: checking for $ac_func" >&5 |
3756 | 3757 |
3757 cat > conftest.$ac_ext <<EOF | 3758 cat > conftest.$ac_ext <<EOF |
3758 #line 3759 "configure" | 3759 #line 3760 "configure" |
3759 #include "confdefs.h" | 3760 #include "confdefs.h" |
3760 /* System header to define __stub macros and hopefully few prototypes, | 3761 /* System header to define __stub macros and hopefully few prototypes, |
3761 which can conflict with char $ac_func(); below. */ | 3762 which can conflict with char $ac_func(); below. */ |
3762 #include <assert.h> | 3763 #include <assert.h> |
3763 /* Override any gcc2 internal prototype to avoid an error. */ | 3764 /* Override any gcc2 internal prototype to avoid an error. */ |
3776 $ac_func(); | 3777 $ac_func(); |
3777 #endif | 3778 #endif |
3778 | 3779 |
3779 ; return 0; } | 3780 ; return 0; } |
3780 EOF | 3781 EOF |
3781 if { (eval echo configure:3782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3782 if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3782 rm -rf conftest* | 3783 rm -rf conftest* |
3783 eval "ac_cv_func_$ac_func=yes" | 3784 eval "ac_cv_func_$ac_func=yes" |
3784 else | 3785 else |
3785 echo "configure: failed program was:" >&5 | 3786 echo "configure: failed program was:" >&5 |
3786 cat conftest.$ac_ext >&5 | 3787 cat conftest.$ac_ext >&5 |
3808 fi | 3809 fi |
3809 rm -f conftest* | 3810 rm -f conftest* |
3810 | 3811 |
3811 | 3812 |
3812 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3813 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3813 echo "configure:3814: checking return type of signal handlers" >&5 | 3814 echo "configure:3815: checking return type of signal handlers" >&5 |
3814 | 3815 |
3815 cat > conftest.$ac_ext <<EOF | 3816 cat > conftest.$ac_ext <<EOF |
3816 #line 3817 "configure" | 3817 #line 3818 "configure" |
3817 #include "confdefs.h" | 3818 #include "confdefs.h" |
3818 #include <sys/types.h> | 3819 #include <sys/types.h> |
3819 #include <signal.h> | 3820 #include <signal.h> |
3820 #ifdef signal | 3821 #ifdef signal |
3821 #undef signal | 3822 #undef signal |
3828 | 3829 |
3829 int main() { | 3830 int main() { |
3830 int i; | 3831 int i; |
3831 ; return 0; } | 3832 ; return 0; } |
3832 EOF | 3833 EOF |
3833 if { (eval echo configure:3834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3834 if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3834 rm -rf conftest* | 3835 rm -rf conftest* |
3835 ac_cv_type_signal=void | 3836 ac_cv_type_signal=void |
3836 else | 3837 else |
3837 echo "configure: failed program was:" >&5 | 3838 echo "configure: failed program was:" >&5 |
3838 cat conftest.$ac_ext >&5 | 3839 cat conftest.$ac_ext >&5 |
3850 EOF | 3851 EOF |
3851 } | 3852 } |
3852 | 3853 |
3853 | 3854 |
3854 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3855 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3855 echo "configure:3856: checking for size_t" >&5 | 3856 echo "configure:3857: checking for size_t" >&5 |
3856 | 3857 |
3857 cat > conftest.$ac_ext <<EOF | 3858 cat > conftest.$ac_ext <<EOF |
3858 #line 3859 "configure" | 3859 #line 3860 "configure" |
3859 #include "confdefs.h" | 3860 #include "confdefs.h" |
3860 #include <sys/types.h> | 3861 #include <sys/types.h> |
3861 #if STDC_HEADERS | 3862 #if STDC_HEADERS |
3862 #include <stdlib.h> | 3863 #include <stdlib.h> |
3863 #include <stddef.h> | 3864 #include <stddef.h> |
3884 } | 3885 } |
3885 | 3886 |
3886 fi | 3887 fi |
3887 | 3888 |
3888 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3889 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3889 echo "configure:3890: checking for pid_t" >&5 | 3890 echo "configure:3891: checking for pid_t" >&5 |
3890 | 3891 |
3891 cat > conftest.$ac_ext <<EOF | 3892 cat > conftest.$ac_ext <<EOF |
3892 #line 3893 "configure" | 3893 #line 3894 "configure" |
3893 #include "confdefs.h" | 3894 #include "confdefs.h" |
3894 #include <sys/types.h> | 3895 #include <sys/types.h> |
3895 #if STDC_HEADERS | 3896 #if STDC_HEADERS |
3896 #include <stdlib.h> | 3897 #include <stdlib.h> |
3897 #include <stddef.h> | 3898 #include <stddef.h> |
3918 } | 3919 } |
3919 | 3920 |
3920 fi | 3921 fi |
3921 | 3922 |
3922 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3923 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3923 echo "configure:3924: checking for uid_t in sys/types.h" >&5 | 3924 echo "configure:3925: checking for uid_t in sys/types.h" >&5 |
3924 | 3925 |
3925 cat > conftest.$ac_ext <<EOF | 3926 cat > conftest.$ac_ext <<EOF |
3926 #line 3927 "configure" | 3927 #line 3928 "configure" |
3927 #include "confdefs.h" | 3928 #include "confdefs.h" |
3928 #include <sys/types.h> | 3929 #include <sys/types.h> |
3929 EOF | 3930 EOF |
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3931 egrep "uid_t" >/dev/null 2>&1; then | 3932 egrep "uid_t" >/dev/null 2>&1; then |
3957 } | 3958 } |
3958 | 3959 |
3959 fi | 3960 fi |
3960 | 3961 |
3961 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3962 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3962 echo "configure:3963: checking for mode_t" >&5 | 3963 echo "configure:3964: checking for mode_t" >&5 |
3963 | 3964 |
3964 cat > conftest.$ac_ext <<EOF | 3965 cat > conftest.$ac_ext <<EOF |
3965 #line 3966 "configure" | 3966 #line 3967 "configure" |
3966 #include "confdefs.h" | 3967 #include "confdefs.h" |
3967 #include <sys/types.h> | 3968 #include <sys/types.h> |
3968 #if STDC_HEADERS | 3969 #if STDC_HEADERS |
3969 #include <stdlib.h> | 3970 #include <stdlib.h> |
3970 #include <stddef.h> | 3971 #include <stddef.h> |
3991 } | 3992 } |
3992 | 3993 |
3993 fi | 3994 fi |
3994 | 3995 |
3995 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3996 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3996 echo "configure:3997: checking for off_t" >&5 | 3997 echo "configure:3998: checking for off_t" >&5 |
3997 | 3998 |
3998 cat > conftest.$ac_ext <<EOF | 3999 cat > conftest.$ac_ext <<EOF |
3999 #line 4000 "configure" | 4000 #line 4001 "configure" |
4000 #include "confdefs.h" | 4001 #include "confdefs.h" |
4001 #include <sys/types.h> | 4002 #include <sys/types.h> |
4002 #if STDC_HEADERS | 4003 #if STDC_HEADERS |
4003 #include <stdlib.h> | 4004 #include <stdlib.h> |
4004 #include <stddef.h> | 4005 #include <stddef.h> |
4025 } | 4026 } |
4026 | 4027 |
4027 fi | 4028 fi |
4028 | 4029 |
4029 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4030 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4030 echo "configure:4031: checking for ssize_t" >&5 | 4031 echo "configure:4032: checking for ssize_t" >&5 |
4031 | 4032 |
4032 cat > conftest.$ac_ext <<EOF | 4033 cat > conftest.$ac_ext <<EOF |
4033 #line 4034 "configure" | 4034 #line 4035 "configure" |
4034 #include "confdefs.h" | 4035 #include "confdefs.h" |
4035 #include <sys/types.h> | 4036 #include <sys/types.h> |
4036 #if STDC_HEADERS | 4037 #if STDC_HEADERS |
4037 #include <stdlib.h> | 4038 #include <stdlib.h> |
4038 #include <stddef.h> | 4039 #include <stddef.h> |
4060 | 4061 |
4061 fi | 4062 fi |
4062 | 4063 |
4063 | 4064 |
4064 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4065 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4065 echo "configure:4066: checking for socklen_t" >&5 | 4066 echo "configure:4067: checking for socklen_t" >&5 |
4066 cat > conftest.$ac_ext <<EOF | 4067 cat > conftest.$ac_ext <<EOF |
4067 #line 4068 "configure" | 4068 #line 4069 "configure" |
4068 #include "confdefs.h" | 4069 #include "confdefs.h" |
4069 #include <sys/socket.h> | 4070 #include <sys/socket.h> |
4070 socklen_t x; | 4071 socklen_t x; |
4071 | 4072 |
4072 int main() { | 4073 int main() { |
4073 | 4074 |
4074 ; return 0; } | 4075 ; return 0; } |
4075 EOF | 4076 EOF |
4076 if { (eval echo configure:4077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4077 if { (eval echo configure:4078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4077 rm -rf conftest* | 4078 rm -rf conftest* |
4078 echo "$ac_t""yes" 1>&6 | 4079 echo "$ac_t""yes" 1>&6 |
4079 else | 4080 else |
4080 echo "configure: failed program was:" >&5 | 4081 echo "configure: failed program was:" >&5 |
4081 cat conftest.$ac_ext >&5 | 4082 cat conftest.$ac_ext >&5 |
4082 rm -rf conftest* | 4083 rm -rf conftest* |
4083 | 4084 |
4084 cat > conftest.$ac_ext <<EOF | 4085 cat > conftest.$ac_ext <<EOF |
4085 #line 4086 "configure" | 4086 #line 4087 "configure" |
4086 #include "confdefs.h" | 4087 #include "confdefs.h" |
4087 #include <sys/socket.h> | 4088 #include <sys/socket.h> |
4088 int accept (int, struct sockaddr *, size_t *); | 4089 int accept (int, struct sockaddr *, size_t *); |
4089 | 4090 |
4090 int main() { | 4091 int main() { |
4091 | 4092 |
4092 ; return 0; } | 4093 ; return 0; } |
4093 EOF | 4094 EOF |
4094 if { (eval echo configure:4095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4095 if { (eval echo configure:4096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4095 rm -rf conftest* | 4096 rm -rf conftest* |
4096 | 4097 |
4097 echo "$ac_t""size_t" 1>&6 | 4098 echo "$ac_t""size_t" 1>&6 |
4098 { test "$extra_verbose" = "yes" && cat << \EOF | 4099 { test "$extra_verbose" = "yes" && cat << \EOF |
4099 Defining socklen_t = size_t | 4100 Defining socklen_t = size_t |
4121 rm -f conftest* | 4122 rm -f conftest* |
4122 fi | 4123 fi |
4123 rm -f conftest* | 4124 rm -f conftest* |
4124 | 4125 |
4125 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4126 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4126 echo "configure:4127: checking for struct timeval" >&5 | 4127 echo "configure:4128: checking for struct timeval" >&5 |
4127 cat > conftest.$ac_ext <<EOF | 4128 cat > conftest.$ac_ext <<EOF |
4128 #line 4129 "configure" | 4129 #line 4130 "configure" |
4129 #include "confdefs.h" | 4130 #include "confdefs.h" |
4130 #ifdef TIME_WITH_SYS_TIME | 4131 #ifdef TIME_WITH_SYS_TIME |
4131 #include <sys/time.h> | 4132 #include <sys/time.h> |
4132 #include <time.h> | 4133 #include <time.h> |
4133 #else | 4134 #else |
4139 #endif | 4140 #endif |
4140 int main() { | 4141 int main() { |
4141 static struct timeval x; x.tv_sec = x.tv_usec; | 4142 static struct timeval x; x.tv_sec = x.tv_usec; |
4142 ; return 0; } | 4143 ; return 0; } |
4143 EOF | 4144 EOF |
4144 if { (eval echo configure:4145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4145 if { (eval echo configure:4146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4145 rm -rf conftest* | 4146 rm -rf conftest* |
4146 echo "$ac_t""yes" 1>&6 | 4147 echo "$ac_t""yes" 1>&6 |
4147 HAVE_TIMEVAL=yes | 4148 HAVE_TIMEVAL=yes |
4148 { test "$extra_verbose" = "yes" && cat << \EOF | 4149 { test "$extra_verbose" = "yes" && cat << \EOF |
4149 Defining HAVE_TIMEVAL | 4150 Defining HAVE_TIMEVAL |
4161 HAVE_TIMEVAL=no | 4162 HAVE_TIMEVAL=no |
4162 fi | 4163 fi |
4163 rm -f conftest* | 4164 rm -f conftest* |
4164 | 4165 |
4165 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4166 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4166 echo "configure:4167: checking whether struct tm is in sys/time.h or time.h" >&5 | 4167 echo "configure:4168: checking whether struct tm is in sys/time.h or time.h" >&5 |
4167 | 4168 |
4168 cat > conftest.$ac_ext <<EOF | 4169 cat > conftest.$ac_ext <<EOF |
4169 #line 4170 "configure" | 4170 #line 4171 "configure" |
4170 #include "confdefs.h" | 4171 #include "confdefs.h" |
4171 #include <sys/types.h> | 4172 #include <sys/types.h> |
4172 #include <time.h> | 4173 #include <time.h> |
4173 int main() { | 4174 int main() { |
4174 struct tm *tp; tp->tm_sec; | 4175 struct tm *tp; tp->tm_sec; |
4175 ; return 0; } | 4176 ; return 0; } |
4176 EOF | 4177 EOF |
4177 if { (eval echo configure:4178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4178 if { (eval echo configure:4179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4178 rm -rf conftest* | 4179 rm -rf conftest* |
4179 ac_cv_struct_tm=time.h | 4180 ac_cv_struct_tm=time.h |
4180 else | 4181 else |
4181 echo "configure: failed program was:" >&5 | 4182 echo "configure: failed program was:" >&5 |
4182 cat conftest.$ac_ext >&5 | 4183 cat conftest.$ac_ext >&5 |
4196 } | 4197 } |
4197 | 4198 |
4198 fi | 4199 fi |
4199 | 4200 |
4200 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4201 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4201 echo "configure:4202: checking for tm_zone in struct tm" >&5 | 4202 echo "configure:4203: checking for tm_zone in struct tm" >&5 |
4202 | 4203 |
4203 cat > conftest.$ac_ext <<EOF | 4204 cat > conftest.$ac_ext <<EOF |
4204 #line 4205 "configure" | 4205 #line 4206 "configure" |
4205 #include "confdefs.h" | 4206 #include "confdefs.h" |
4206 #include <sys/types.h> | 4207 #include <sys/types.h> |
4207 #include <$ac_cv_struct_tm> | 4208 #include <$ac_cv_struct_tm> |
4208 int main() { | 4209 int main() { |
4209 struct tm tm; tm.tm_zone; | 4210 struct tm tm; tm.tm_zone; |
4210 ; return 0; } | 4211 ; return 0; } |
4211 EOF | 4212 EOF |
4212 if { (eval echo configure:4213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4213 if { (eval echo configure:4214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4213 rm -rf conftest* | 4214 rm -rf conftest* |
4214 ac_cv_struct_tm_zone=yes | 4215 ac_cv_struct_tm_zone=yes |
4215 else | 4216 else |
4216 echo "configure: failed program was:" >&5 | 4217 echo "configure: failed program was:" >&5 |
4217 cat conftest.$ac_ext >&5 | 4218 cat conftest.$ac_ext >&5 |
4230 EOF | 4231 EOF |
4231 } | 4232 } |
4232 | 4233 |
4233 else | 4234 else |
4234 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4235 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4235 echo "configure:4236: checking for tzname" >&5 | 4236 echo "configure:4237: checking for tzname" >&5 |
4236 | 4237 |
4237 cat > conftest.$ac_ext <<EOF | 4238 cat > conftest.$ac_ext <<EOF |
4238 #line 4239 "configure" | 4239 #line 4240 "configure" |
4239 #include "confdefs.h" | 4240 #include "confdefs.h" |
4240 #include <time.h> | 4241 #include <time.h> |
4241 #ifndef tzname /* For SGI. */ | 4242 #ifndef tzname /* For SGI. */ |
4242 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4243 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4243 #endif | 4244 #endif |
4244 int main() { | 4245 int main() { |
4245 atoi(*tzname); | 4246 atoi(*tzname); |
4246 ; return 0; } | 4247 ; return 0; } |
4247 EOF | 4248 EOF |
4248 if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4249 if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4249 rm -rf conftest* | 4250 rm -rf conftest* |
4250 ac_cv_var_tzname=yes | 4251 ac_cv_var_tzname=yes |
4251 else | 4252 else |
4252 echo "configure: failed program was:" >&5 | 4253 echo "configure: failed program was:" >&5 |
4253 cat conftest.$ac_ext >&5 | 4254 cat conftest.$ac_ext >&5 |
4269 fi | 4270 fi |
4270 fi | 4271 fi |
4271 | 4272 |
4272 | 4273 |
4273 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4274 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4274 echo "configure:4275: checking for working const" >&5 | 4275 echo "configure:4276: checking for working const" >&5 |
4275 | 4276 |
4276 cat > conftest.$ac_ext <<EOF | 4277 cat > conftest.$ac_ext <<EOF |
4277 #line 4278 "configure" | 4278 #line 4279 "configure" |
4278 #include "confdefs.h" | 4279 #include "confdefs.h" |
4279 | 4280 |
4280 int main() { | 4281 int main() { |
4281 | 4282 |
4282 /* Ultrix mips cc rejects this. */ | 4283 /* Ultrix mips cc rejects this. */ |
4321 const int foo = 10; | 4322 const int foo = 10; |
4322 } | 4323 } |
4323 | 4324 |
4324 ; return 0; } | 4325 ; return 0; } |
4325 EOF | 4326 EOF |
4326 if { (eval echo configure:4327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4327 if { (eval echo configure:4328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4327 rm -rf conftest* | 4328 rm -rf conftest* |
4328 ac_cv_c_const=yes | 4329 ac_cv_c_const=yes |
4329 else | 4330 else |
4330 echo "configure: failed program was:" >&5 | 4331 echo "configure: failed program was:" >&5 |
4331 cat conftest.$ac_ext >&5 | 4332 cat conftest.$ac_ext >&5 |
4346 | 4347 |
4347 fi | 4348 fi |
4348 | 4349 |
4349 | 4350 |
4350 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4351 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4351 echo "configure:4352: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4352 echo "configure:4353: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4352 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4353 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4353 | 4354 |
4354 cat > conftestmake <<\EOF | 4355 cat > conftestmake <<\EOF |
4355 all: | 4356 all: |
4356 @echo 'ac_maketemp="${MAKE}"' | 4357 @echo 'ac_maketemp="${MAKE}"' |
4371 SET_MAKE="MAKE=${MAKE-make}" | 4372 SET_MAKE="MAKE=${MAKE-make}" |
4372 fi | 4373 fi |
4373 | 4374 |
4374 | 4375 |
4375 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4376 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4376 echo "configure:4377: checking whether byte ordering is bigendian" >&5 | 4377 echo "configure:4378: checking whether byte ordering is bigendian" >&5 |
4377 | 4378 |
4378 ac_cv_c_bigendian=unknown | 4379 ac_cv_c_bigendian=unknown |
4379 # See if sys/param.h defines the BYTE_ORDER macro. | 4380 # See if sys/param.h defines the BYTE_ORDER macro. |
4380 cat > conftest.$ac_ext <<EOF | 4381 cat > conftest.$ac_ext <<EOF |
4381 #line 4382 "configure" | 4382 #line 4383 "configure" |
4382 #include "confdefs.h" | 4383 #include "confdefs.h" |
4383 #include <sys/types.h> | 4384 #include <sys/types.h> |
4384 #include <sys/param.h> | 4385 #include <sys/param.h> |
4385 int main() { | 4386 int main() { |
4386 | 4387 |
4387 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4388 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4388 bogus endian macros | 4389 bogus endian macros |
4389 #endif | 4390 #endif |
4390 ; return 0; } | 4391 ; return 0; } |
4391 EOF | 4392 EOF |
4392 if { (eval echo configure:4393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4393 if { (eval echo configure:4394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4393 rm -rf conftest* | 4394 rm -rf conftest* |
4394 # It does; now see whether it defined to BIG_ENDIAN or not. | 4395 # It does; now see whether it defined to BIG_ENDIAN or not. |
4395 cat > conftest.$ac_ext <<EOF | 4396 cat > conftest.$ac_ext <<EOF |
4396 #line 4397 "configure" | 4397 #line 4398 "configure" |
4397 #include "confdefs.h" | 4398 #include "confdefs.h" |
4398 #include <sys/types.h> | 4399 #include <sys/types.h> |
4399 #include <sys/param.h> | 4400 #include <sys/param.h> |
4400 int main() { | 4401 int main() { |
4401 | 4402 |
4402 #if BYTE_ORDER != BIG_ENDIAN | 4403 #if BYTE_ORDER != BIG_ENDIAN |
4403 not big endian | 4404 not big endian |
4404 #endif | 4405 #endif |
4405 ; return 0; } | 4406 ; return 0; } |
4406 EOF | 4407 EOF |
4407 if { (eval echo configure:4408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4408 if { (eval echo configure:4409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4408 rm -rf conftest* | 4409 rm -rf conftest* |
4409 ac_cv_c_bigendian=yes | 4410 ac_cv_c_bigendian=yes |
4410 else | 4411 else |
4411 echo "configure: failed program was:" >&5 | 4412 echo "configure: failed program was:" >&5 |
4412 cat conftest.$ac_ext >&5 | 4413 cat conftest.$ac_ext >&5 |
4419 cat conftest.$ac_ext >&5 | 4420 cat conftest.$ac_ext >&5 |
4420 fi | 4421 fi |
4421 rm -f conftest* | 4422 rm -f conftest* |
4422 if test $ac_cv_c_bigendian = unknown; then | 4423 if test $ac_cv_c_bigendian = unknown; then |
4423 cat > conftest.$ac_ext <<EOF | 4424 cat > conftest.$ac_ext <<EOF |
4424 #line 4425 "configure" | 4425 #line 4426 "configure" |
4425 #include "confdefs.h" | 4426 #include "confdefs.h" |
4426 main () { | 4427 main () { |
4427 /* Are we little or big endian? From Harbison&Steele. */ | 4428 /* Are we little or big endian? From Harbison&Steele. */ |
4428 union | 4429 union |
4429 { | 4430 { |
4432 } u; | 4433 } u; |
4433 u.l = 1; | 4434 u.l = 1; |
4434 exit (u.c[sizeof (long) - 1] == 1); | 4435 exit (u.c[sizeof (long) - 1] == 1); |
4435 } | 4436 } |
4436 EOF | 4437 EOF |
4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4438 if { (eval echo configure:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4438 then | 4439 then |
4439 ac_cv_c_bigendian=no | 4440 ac_cv_c_bigendian=no |
4440 else | 4441 else |
4441 conftest_rc="$?" | 4442 conftest_rc="$?" |
4442 echo "configure: failed program was:" >&5 | 4443 echo "configure: failed program was:" >&5 |
4459 | 4460 |
4460 fi | 4461 fi |
4461 | 4462 |
4462 | 4463 |
4463 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4464 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4464 echo "configure:4465: checking size of short" >&5 | 4465 echo "configure:4466: checking size of short" >&5 |
4465 | 4466 |
4466 cat > conftest.$ac_ext <<EOF | 4467 cat > conftest.$ac_ext <<EOF |
4467 #line 4468 "configure" | 4468 #line 4469 "configure" |
4468 #include "confdefs.h" | 4469 #include "confdefs.h" |
4469 #include <stdio.h> | 4470 #include <stdio.h> |
4470 main() | 4471 main() |
4471 { | 4472 { |
4472 FILE *f=fopen("conftestval", "w"); | 4473 FILE *f=fopen("conftestval", "w"); |
4473 if (!f) exit(1); | 4474 if (!f) exit(1); |
4474 fprintf(f, "%d\n", sizeof(short)); | 4475 fprintf(f, "%d\n", sizeof(short)); |
4475 exit(0); | 4476 exit(0); |
4476 } | 4477 } |
4477 EOF | 4478 EOF |
4478 if { (eval echo configure:4479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4479 if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4479 then | 4480 then |
4480 ac_cv_sizeof_short=`cat conftestval` | 4481 ac_cv_sizeof_short=`cat conftestval` |
4481 else | 4482 else |
4482 conftest_rc="$?" | 4483 conftest_rc="$?" |
4483 echo "configure: failed program was:" >&5 | 4484 echo "configure: failed program was:" >&5 |
4501 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4502 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4502 echo "*** PANIC *** Please examine config.log for compilation errors." | 4503 echo "*** PANIC *** Please examine config.log for compilation errors." |
4503 exit 1 | 4504 exit 1 |
4504 fi | 4505 fi |
4505 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4506 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4506 echo "configure:4507: checking size of int" >&5 | 4507 echo "configure:4508: checking size of int" >&5 |
4507 | 4508 |
4508 cat > conftest.$ac_ext <<EOF | 4509 cat > conftest.$ac_ext <<EOF |
4509 #line 4510 "configure" | 4510 #line 4511 "configure" |
4510 #include "confdefs.h" | 4511 #include "confdefs.h" |
4511 #include <stdio.h> | 4512 #include <stdio.h> |
4512 main() | 4513 main() |
4513 { | 4514 { |
4514 FILE *f=fopen("conftestval", "w"); | 4515 FILE *f=fopen("conftestval", "w"); |
4515 if (!f) exit(1); | 4516 if (!f) exit(1); |
4516 fprintf(f, "%d\n", sizeof(int)); | 4517 fprintf(f, "%d\n", sizeof(int)); |
4517 exit(0); | 4518 exit(0); |
4518 } | 4519 } |
4519 EOF | 4520 EOF |
4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4521 then | 4522 then |
4522 ac_cv_sizeof_int=`cat conftestval` | 4523 ac_cv_sizeof_int=`cat conftestval` |
4523 else | 4524 else |
4524 conftest_rc="$?" | 4525 conftest_rc="$?" |
4525 echo "configure: failed program was:" >&5 | 4526 echo "configure: failed program was:" >&5 |
4537 EOF | 4538 EOF |
4538 } | 4539 } |
4539 | 4540 |
4540 | 4541 |
4541 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4542 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4542 echo "configure:4543: checking size of long" >&5 | 4543 echo "configure:4544: checking size of long" >&5 |
4543 | 4544 |
4544 cat > conftest.$ac_ext <<EOF | 4545 cat > conftest.$ac_ext <<EOF |
4545 #line 4546 "configure" | 4546 #line 4547 "configure" |
4546 #include "confdefs.h" | 4547 #include "confdefs.h" |
4547 #include <stdio.h> | 4548 #include <stdio.h> |
4548 main() | 4549 main() |
4549 { | 4550 { |
4550 FILE *f=fopen("conftestval", "w"); | 4551 FILE *f=fopen("conftestval", "w"); |
4551 if (!f) exit(1); | 4552 if (!f) exit(1); |
4552 fprintf(f, "%d\n", sizeof(long)); | 4553 fprintf(f, "%d\n", sizeof(long)); |
4553 exit(0); | 4554 exit(0); |
4554 } | 4555 } |
4555 EOF | 4556 EOF |
4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4557 if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4557 then | 4558 then |
4558 ac_cv_sizeof_long=`cat conftestval` | 4559 ac_cv_sizeof_long=`cat conftestval` |
4559 else | 4560 else |
4560 conftest_rc="$?" | 4561 conftest_rc="$?" |
4561 echo "configure: failed program was:" >&5 | 4562 echo "configure: failed program was:" >&5 |
4573 EOF | 4574 EOF |
4574 } | 4575 } |
4575 | 4576 |
4576 | 4577 |
4577 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4578 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4578 echo "configure:4579: checking size of long long" >&5 | 4579 echo "configure:4580: checking size of long long" >&5 |
4579 | 4580 |
4580 cat > conftest.$ac_ext <<EOF | 4581 cat > conftest.$ac_ext <<EOF |
4581 #line 4582 "configure" | 4582 #line 4583 "configure" |
4582 #include "confdefs.h" | 4583 #include "confdefs.h" |
4583 #include <stdio.h> | 4584 #include <stdio.h> |
4584 main() | 4585 main() |
4585 { | 4586 { |
4586 FILE *f=fopen("conftestval", "w"); | 4587 FILE *f=fopen("conftestval", "w"); |
4587 if (!f) exit(1); | 4588 if (!f) exit(1); |
4588 fprintf(f, "%d\n", sizeof(long long)); | 4589 fprintf(f, "%d\n", sizeof(long long)); |
4589 exit(0); | 4590 exit(0); |
4590 } | 4591 } |
4591 EOF | 4592 EOF |
4592 if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4593 if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4593 then | 4594 then |
4594 ac_cv_sizeof_long_long=`cat conftestval` | 4595 ac_cv_sizeof_long_long=`cat conftestval` |
4595 else | 4596 else |
4596 conftest_rc="$?" | 4597 conftest_rc="$?" |
4597 echo "configure: failed program was:" >&5 | 4598 echo "configure: failed program was:" >&5 |
4609 EOF | 4610 EOF |
4610 } | 4611 } |
4611 | 4612 |
4612 | 4613 |
4613 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4614 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4614 echo "configure:4615: checking size of void *" >&5 | 4615 echo "configure:4616: checking size of void *" >&5 |
4615 | 4616 |
4616 cat > conftest.$ac_ext <<EOF | 4617 cat > conftest.$ac_ext <<EOF |
4617 #line 4618 "configure" | 4618 #line 4619 "configure" |
4618 #include "confdefs.h" | 4619 #include "confdefs.h" |
4619 #include <stdio.h> | 4620 #include <stdio.h> |
4620 main() | 4621 main() |
4621 { | 4622 { |
4622 FILE *f=fopen("conftestval", "w"); | 4623 FILE *f=fopen("conftestval", "w"); |
4623 if (!f) exit(1); | 4624 if (!f) exit(1); |
4624 fprintf(f, "%d\n", sizeof(void *)); | 4625 fprintf(f, "%d\n", sizeof(void *)); |
4625 exit(0); | 4626 exit(0); |
4626 } | 4627 } |
4627 EOF | 4628 EOF |
4628 if { (eval echo configure:4629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4629 if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4629 then | 4630 then |
4630 ac_cv_sizeof_void_p=`cat conftestval` | 4631 ac_cv_sizeof_void_p=`cat conftestval` |
4631 else | 4632 else |
4632 conftest_rc="$?" | 4633 conftest_rc="$?" |
4633 echo "configure: failed program was:" >&5 | 4634 echo "configure: failed program was:" >&5 |
4646 } | 4647 } |
4647 | 4648 |
4648 | 4649 |
4649 | 4650 |
4650 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4651 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4651 echo "configure:4652: checking for long file names" >&5 | 4652 echo "configure:4653: checking for long file names" >&5 |
4652 | 4653 |
4653 ac_cv_sys_long_file_names=yes | 4654 ac_cv_sys_long_file_names=yes |
4654 # Test for long file names in all the places we know might matter: | 4655 # Test for long file names in all the places we know might matter: |
4655 # . the current directory, where building will happen | 4656 # . the current directory, where building will happen |
4656 # $prefix/lib where we will be installing things | 4657 # $prefix/lib where we will be installing things |
4692 | 4693 |
4693 fi | 4694 fi |
4694 | 4695 |
4695 | 4696 |
4696 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4697 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4697 echo "configure:4698: checking for sin" >&5 | 4698 echo "configure:4699: checking for sin" >&5 |
4698 | 4699 |
4699 cat > conftest.$ac_ext <<EOF | 4700 cat > conftest.$ac_ext <<EOF |
4700 #line 4701 "configure" | 4701 #line 4702 "configure" |
4701 #include "confdefs.h" | 4702 #include "confdefs.h" |
4702 /* System header to define __stub macros and hopefully few prototypes, | 4703 /* System header to define __stub macros and hopefully few prototypes, |
4703 which can conflict with char sin(); below. */ | 4704 which can conflict with char sin(); below. */ |
4704 #include <assert.h> | 4705 #include <assert.h> |
4705 /* Override any gcc2 internal prototype to avoid an error. */ | 4706 /* Override any gcc2 internal prototype to avoid an error. */ |
4718 sin(); | 4719 sin(); |
4719 #endif | 4720 #endif |
4720 | 4721 |
4721 ; return 0; } | 4722 ; return 0; } |
4722 EOF | 4723 EOF |
4723 if { (eval echo configure:4724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4724 if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4724 rm -rf conftest* | 4725 rm -rf conftest* |
4725 eval "ac_cv_func_sin=yes" | 4726 eval "ac_cv_func_sin=yes" |
4726 else | 4727 else |
4727 echo "configure: failed program was:" >&5 | 4728 echo "configure: failed program was:" >&5 |
4728 cat conftest.$ac_ext >&5 | 4729 cat conftest.$ac_ext >&5 |
4736 : | 4737 : |
4737 else | 4738 else |
4738 echo "$ac_t""no" 1>&6 | 4739 echo "$ac_t""no" 1>&6 |
4739 | 4740 |
4740 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4741 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4741 echo "configure:4742: checking for sin in -lm" >&5 | 4742 echo "configure:4743: checking for sin in -lm" >&5 |
4742 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4743 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4743 | 4744 |
4744 xe_check_libs=" -lm " | 4745 xe_check_libs=" -lm " |
4745 cat > conftest.$ac_ext <<EOF | 4746 cat > conftest.$ac_ext <<EOF |
4746 #line 4747 "configure" | 4747 #line 4748 "configure" |
4747 #include "confdefs.h" | 4748 #include "confdefs.h" |
4748 /* Override any gcc2 internal prototype to avoid an error. */ | 4749 /* Override any gcc2 internal prototype to avoid an error. */ |
4749 /* We use char because int might match the return type of a gcc2 | 4750 /* We use char because int might match the return type of a gcc2 |
4750 builtin and then its argument prototype would still apply. */ | 4751 builtin and then its argument prototype would still apply. */ |
4751 char sin(); | 4752 char sin(); |
4752 | 4753 |
4753 int main() { | 4754 int main() { |
4754 sin() | 4755 sin() |
4755 ; return 0; } | 4756 ; return 0; } |
4756 EOF | 4757 EOF |
4757 if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4758 rm -rf conftest* | 4759 rm -rf conftest* |
4759 eval "ac_cv_lib_$ac_lib_var=yes" | 4760 eval "ac_cv_lib_$ac_lib_var=yes" |
4760 else | 4761 else |
4761 echo "configure: failed program was:" >&5 | 4762 echo "configure: failed program was:" >&5 |
4762 cat conftest.$ac_ext >&5 | 4763 cat conftest.$ac_ext >&5 |
4796 EOF | 4797 EOF |
4797 } | 4798 } |
4798 | 4799 |
4799 | 4800 |
4800 cat > conftest.$ac_ext <<EOF | 4801 cat > conftest.$ac_ext <<EOF |
4801 #line 4802 "configure" | 4802 #line 4803 "configure" |
4802 #include "confdefs.h" | 4803 #include "confdefs.h" |
4803 #include <math.h> | 4804 #include <math.h> |
4804 int main() { | 4805 int main() { |
4805 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4806 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4806 ; return 0; } | 4807 ; return 0; } |
4807 EOF | 4808 EOF |
4808 if { (eval echo configure:4809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4809 if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4809 rm -rf conftest* | 4810 rm -rf conftest* |
4810 { test "$extra_verbose" = "yes" && cat << \EOF | 4811 { test "$extra_verbose" = "yes" && cat << \EOF |
4811 Defining HAVE_INVERSE_HYPERBOLIC | 4812 Defining HAVE_INVERSE_HYPERBOLIC |
4812 EOF | 4813 EOF |
4813 cat >> confdefs.h <<\EOF | 4814 cat >> confdefs.h <<\EOF |
4822 rm -f conftest* | 4823 rm -f conftest* |
4823 | 4824 |
4824 for ac_func in mkstemp | 4825 for ac_func in mkstemp |
4825 do | 4826 do |
4826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4827 echo "configure:4828: checking for $ac_func" >&5 | 4828 echo "configure:4829: checking for $ac_func" >&5 |
4828 | 4829 |
4829 cat > conftest.$ac_ext <<EOF | 4830 cat > conftest.$ac_ext <<EOF |
4830 #line 4831 "configure" | 4831 #line 4832 "configure" |
4831 #include "confdefs.h" | 4832 #include "confdefs.h" |
4832 /* System header to define __stub macros and hopefully few prototypes, | 4833 /* System header to define __stub macros and hopefully few prototypes, |
4833 which can conflict with char $ac_func(); below. */ | 4834 which can conflict with char $ac_func(); below. */ |
4834 #include <assert.h> | 4835 #include <assert.h> |
4835 /* Override any gcc2 internal prototype to avoid an error. */ | 4836 /* Override any gcc2 internal prototype to avoid an error. */ |
4848 $ac_func(); | 4849 $ac_func(); |
4849 #endif | 4850 #endif |
4850 | 4851 |
4851 ; return 0; } | 4852 ; return 0; } |
4852 EOF | 4853 EOF |
4853 if { (eval echo configure:4854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4854 rm -rf conftest* | 4855 rm -rf conftest* |
4855 eval "ac_cv_func_$ac_func=yes" | 4856 eval "ac_cv_func_$ac_func=yes" |
4856 else | 4857 else |
4857 echo "configure: failed program was:" >&5 | 4858 echo "configure: failed program was:" >&5 |
4858 cat conftest.$ac_ext >&5 | 4859 cat conftest.$ac_ext >&5 |
4877 fi | 4878 fi |
4878 done | 4879 done |
4879 | 4880 |
4880 | 4881 |
4881 echo "checking type of mail spool file locking" 1>&6 | 4882 echo "checking type of mail spool file locking" 1>&6 |
4882 echo "configure:4883: checking type of mail spool file locking" >&5 | 4883 echo "configure:4884: checking type of mail spool file locking" >&5 |
4883 for ac_func in lockf flock | 4884 for ac_func in lockf flock |
4884 do | 4885 do |
4885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4886 echo "configure:4887: checking for $ac_func" >&5 | 4887 echo "configure:4888: checking for $ac_func" >&5 |
4887 | 4888 |
4888 cat > conftest.$ac_ext <<EOF | 4889 cat > conftest.$ac_ext <<EOF |
4889 #line 4890 "configure" | 4890 #line 4891 "configure" |
4890 #include "confdefs.h" | 4891 #include "confdefs.h" |
4891 /* System header to define __stub macros and hopefully few prototypes, | 4892 /* System header to define __stub macros and hopefully few prototypes, |
4892 which can conflict with char $ac_func(); below. */ | 4893 which can conflict with char $ac_func(); below. */ |
4893 #include <assert.h> | 4894 #include <assert.h> |
4894 /* Override any gcc2 internal prototype to avoid an error. */ | 4895 /* Override any gcc2 internal prototype to avoid an error. */ |
4907 $ac_func(); | 4908 $ac_func(); |
4908 #endif | 4909 #endif |
4909 | 4910 |
4910 ; return 0; } | 4911 ; return 0; } |
4911 EOF | 4912 EOF |
4912 if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4913 if { (eval echo configure:4914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4913 rm -rf conftest* | 4914 rm -rf conftest* |
4914 eval "ac_cv_func_$ac_func=yes" | 4915 eval "ac_cv_func_$ac_func=yes" |
4915 else | 4916 else |
4916 echo "configure: failed program was:" >&5 | 4917 echo "configure: failed program was:" >&5 |
4917 cat conftest.$ac_ext >&5 | 4918 cat conftest.$ac_ext >&5 |
4989 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4990 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4990 | 4991 |
4991 case "$opsys" in decosf*) | 4992 case "$opsys" in decosf*) |
4992 | 4993 |
4993 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4994 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4994 echo "configure:4995: checking for cma_open in -lpthreads" >&5 | 4995 echo "configure:4996: checking for cma_open in -lpthreads" >&5 |
4995 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4996 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4996 | 4997 |
4997 xe_check_libs=" -lpthreads " | 4998 xe_check_libs=" -lpthreads " |
4998 cat > conftest.$ac_ext <<EOF | 4999 cat > conftest.$ac_ext <<EOF |
4999 #line 5000 "configure" | 5000 #line 5001 "configure" |
5000 #include "confdefs.h" | 5001 #include "confdefs.h" |
5001 /* Override any gcc2 internal prototype to avoid an error. */ | 5002 /* Override any gcc2 internal prototype to avoid an error. */ |
5002 /* We use char because int might match the return type of a gcc2 | 5003 /* We use char because int might match the return type of a gcc2 |
5003 builtin and then its argument prototype would still apply. */ | 5004 builtin and then its argument prototype would still apply. */ |
5004 char cma_open(); | 5005 char cma_open(); |
5005 | 5006 |
5006 int main() { | 5007 int main() { |
5007 cma_open() | 5008 cma_open() |
5008 ; return 0; } | 5009 ; return 0; } |
5009 EOF | 5010 EOF |
5010 if { (eval echo configure:5011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5011 if { (eval echo configure:5012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5011 rm -rf conftest* | 5012 rm -rf conftest* |
5012 eval "ac_cv_lib_$ac_lib_var=yes" | 5013 eval "ac_cv_lib_$ac_lib_var=yes" |
5013 else | 5014 else |
5014 echo "configure: failed program was:" >&5 | 5015 echo "configure: failed program was:" >&5 |
5015 cat conftest.$ac_ext >&5 | 5016 cat conftest.$ac_ext >&5 |
5040 | 5041 |
5041 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 5042 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
5042 c_switch_site="$c_switch_site -threads" ;; | 5043 c_switch_site="$c_switch_site -threads" ;; |
5043 esac | 5044 esac |
5044 | 5045 |
5046 | |
5045 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5047 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5046 echo "configure:5047: checking whether the -xildoff compiler flag is required" >&5 | 5048 echo "configure:5049: checking whether the -xildoff compiler flag is required" >&5 |
5047 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5049 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5048 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5050 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5049 then echo "$ac_t""no" 1>&6; | 5051 then echo "$ac_t""no" 1>&6; |
5050 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 | 5052 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 |
5051 fi | 5053 fi |
5053 fi | 5055 fi |
5054 | 5056 |
5055 if test "$opsys" = "sol2"; then | 5057 if test "$opsys" = "sol2"; then |
5056 if test "$os_release" -ge 56; then | 5058 if test "$os_release" -ge 56; then |
5057 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5059 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5058 echo "configure:5059: checking for \"-z ignore\" linker flag" >&5 | 5060 echo "configure:5061: checking for \"-z ignore\" linker flag" >&5 |
5059 case "`ld -h 2>&1`" in | 5061 case "`ld -h 2>&1`" in |
5060 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5062 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5061 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5063 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5062 *) echo "$ac_t""no" 1>&6 ;; | 5064 *) echo "$ac_t""no" 1>&6 ;; |
5063 esac | 5065 esac |
5064 fi | 5066 fi |
5065 fi | 5067 fi |
5066 | 5068 |
5069 if test "$pdump" != "yes"; then | |
5070 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | |
5071 echo "configure:5072: checking for \"-z nocombreloc\" linker flag" >&5 | |
5072 case "`ld --help 2>&1`" in | |
5073 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | |
5074 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | |
5075 *) echo "$ac_t""no" 1>&6 ;; | |
5076 esac | |
5077 fi | |
5078 | |
5067 | 5079 |
5068 echo "checking "for specified window system"" 1>&6 | 5080 echo "checking "for specified window system"" 1>&6 |
5069 echo "configure:5070: checking "for specified window system"" >&5 | 5081 echo "configure:5082: checking "for specified window system"" >&5 |
5070 | 5082 |
5071 | 5083 |
5072 GNOME_CONFIG=no | 5084 GNOME_CONFIG=no |
5073 GTK_CONFIG=no | 5085 GTK_CONFIG=no |
5074 | 5086 |
5075 if test "$with_gnome" != "no"; then | 5087 if test "$with_gnome" != "no"; then |
5076 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5088 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5077 echo "configure:5078: checking for GNOME configuration script" >&5 | 5089 echo "configure:5090: checking for GNOME configuration script" >&5 |
5078 for possible in gnome-config | 5090 for possible in gnome-config |
5079 do | 5091 do |
5080 possible_version=`${possible} --version 2> /dev/null` | 5092 possible_version=`${possible} --version 2> /dev/null` |
5081 if test "x${possible_version}" != "x"; then | 5093 if test "x${possible_version}" != "x"; then |
5082 GNOME_CONFIG="${possible}" | 5094 GNOME_CONFIG="${possible}" |
5103 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5115 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5104 fi | 5116 fi |
5105 | 5117 |
5106 if test "$with_gtk" != "no";then | 5118 if test "$with_gtk" != "no";then |
5107 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5119 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5108 echo "configure:5109: checking for GTK configuration script" >&5 | 5120 echo "configure:5121: checking for GTK configuration script" >&5 |
5109 for possible in gtk12-config gtk14-config gtk-config | 5121 for possible in gtk12-config gtk14-config gtk-config |
5110 do | 5122 do |
5111 possible_version=`${possible} --version 2> /dev/null` | 5123 possible_version=`${possible} --version 2> /dev/null` |
5112 if test "x${possible_version}" != "x"; then | 5124 if test "x${possible_version}" != "x"; then |
5113 GTK_CONFIG="${possible}" | 5125 GTK_CONFIG="${possible}" |
5125 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5137 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5126 fi | 5138 fi |
5127 | 5139 |
5128 if test "${GTK_CONFIG}" != "no"; then | 5140 if test "${GTK_CONFIG}" != "no"; then |
5129 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5141 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5130 echo "configure:5131: checking gtk version" >&5 | 5142 echo "configure:5143: checking gtk version" >&5 |
5131 GTK_VERSION=`${GTK_CONFIG} --version` | 5143 GTK_VERSION=`${GTK_CONFIG} --version` |
5132 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5144 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5133 | 5145 |
5134 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5146 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5135 echo "configure:5136: checking gtk libs" >&5 | 5147 echo "configure:5148: checking gtk libs" >&5 |
5136 GTK_LIBS=`${GTK_CONFIG} --libs` | 5148 GTK_LIBS=`${GTK_CONFIG} --libs` |
5137 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5149 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5138 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5150 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5139 | 5151 |
5140 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5152 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5141 echo "configure:5142: checking gtk cflags" >&5 | 5153 echo "configure:5154: checking gtk cflags" >&5 |
5142 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5154 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5143 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5155 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5144 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5156 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5145 | 5157 |
5146 | 5158 |
5147 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5159 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5148 echo "configure:5149: checking for main in -lgdk_imlib" >&5 | 5160 echo "configure:5161: checking for main in -lgdk_imlib" >&5 |
5149 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5161 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5150 | 5162 |
5151 xe_check_libs=" -lgdk_imlib " | 5163 xe_check_libs=" -lgdk_imlib " |
5152 cat > conftest.$ac_ext <<EOF | 5164 cat > conftest.$ac_ext <<EOF |
5153 #line 5154 "configure" | 5165 #line 5166 "configure" |
5154 #include "confdefs.h" | 5166 #include "confdefs.h" |
5155 | 5167 |
5156 int main() { | 5168 int main() { |
5157 main() | 5169 main() |
5158 ; return 0; } | 5170 ; return 0; } |
5159 EOF | 5171 EOF |
5160 if { (eval echo configure:5161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5172 if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5161 rm -rf conftest* | 5173 rm -rf conftest* |
5162 eval "ac_cv_lib_$ac_lib_var=yes" | 5174 eval "ac_cv_lib_$ac_lib_var=yes" |
5163 else | 5175 else |
5164 echo "configure: failed program was:" >&5 | 5176 echo "configure: failed program was:" >&5 |
5165 cat conftest.$ac_ext >&5 | 5177 cat conftest.$ac_ext >&5 |
5177 fi | 5189 fi |
5178 | 5190 |
5179 | 5191 |
5180 | 5192 |
5181 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5193 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5182 echo "configure:5183: checking for Imlib_init in -lImlib" >&5 | 5194 echo "configure:5195: checking for Imlib_init in -lImlib" >&5 |
5183 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5195 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5184 | 5196 |
5185 xe_check_libs=" -lImlib " | 5197 xe_check_libs=" -lImlib " |
5186 cat > conftest.$ac_ext <<EOF | 5198 cat > conftest.$ac_ext <<EOF |
5187 #line 5188 "configure" | 5199 #line 5200 "configure" |
5188 #include "confdefs.h" | 5200 #include "confdefs.h" |
5189 /* Override any gcc2 internal prototype to avoid an error. */ | 5201 /* Override any gcc2 internal prototype to avoid an error. */ |
5190 /* We use char because int might match the return type of a gcc2 | 5202 /* We use char because int might match the return type of a gcc2 |
5191 builtin and then its argument prototype would still apply. */ | 5203 builtin and then its argument prototype would still apply. */ |
5192 char Imlib_init(); | 5204 char Imlib_init(); |
5193 | 5205 |
5194 int main() { | 5206 int main() { |
5195 Imlib_init() | 5207 Imlib_init() |
5196 ; return 0; } | 5208 ; return 0; } |
5197 EOF | 5209 EOF |
5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5199 rm -rf conftest* | 5211 rm -rf conftest* |
5200 eval "ac_cv_lib_$ac_lib_var=yes" | 5212 eval "ac_cv_lib_$ac_lib_var=yes" |
5201 else | 5213 else |
5202 echo "configure: failed program was:" >&5 | 5214 echo "configure: failed program was:" >&5 |
5203 cat conftest.$ac_ext >&5 | 5215 cat conftest.$ac_ext >&5 |
5216 | 5228 |
5217 | 5229 |
5218 for ac_func in gdk_imlib_init | 5230 for ac_func in gdk_imlib_init |
5219 do | 5231 do |
5220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5221 echo "configure:5222: checking for $ac_func" >&5 | 5233 echo "configure:5234: checking for $ac_func" >&5 |
5222 | 5234 |
5223 cat > conftest.$ac_ext <<EOF | 5235 cat > conftest.$ac_ext <<EOF |
5224 #line 5225 "configure" | 5236 #line 5237 "configure" |
5225 #include "confdefs.h" | 5237 #include "confdefs.h" |
5226 /* System header to define __stub macros and hopefully few prototypes, | 5238 /* System header to define __stub macros and hopefully few prototypes, |
5227 which can conflict with char $ac_func(); below. */ | 5239 which can conflict with char $ac_func(); below. */ |
5228 #include <assert.h> | 5240 #include <assert.h> |
5229 /* Override any gcc2 internal prototype to avoid an error. */ | 5241 /* Override any gcc2 internal prototype to avoid an error. */ |
5242 $ac_func(); | 5254 $ac_func(); |
5243 #endif | 5255 #endif |
5244 | 5256 |
5245 ; return 0; } | 5257 ; return 0; } |
5246 EOF | 5258 EOF |
5247 if { (eval echo configure:5248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5248 rm -rf conftest* | 5260 rm -rf conftest* |
5249 eval "ac_cv_func_$ac_func=yes" | 5261 eval "ac_cv_func_$ac_func=yes" |
5250 else | 5262 else |
5251 echo "configure: failed program was:" >&5 | 5263 echo "configure: failed program was:" >&5 |
5252 cat conftest.$ac_ext >&5 | 5264 cat conftest.$ac_ext >&5 |
5319 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5331 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5320 for ac_hdr in glade/glade.h glade.h | 5332 for ac_hdr in glade/glade.h glade.h |
5321 do | 5333 do |
5322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5334 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5335 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5324 echo "configure:5325: checking for $ac_hdr" >&5 | 5336 echo "configure:5337: checking for $ac_hdr" >&5 |
5325 | 5337 |
5326 cat > conftest.$ac_ext <<EOF | 5338 cat > conftest.$ac_ext <<EOF |
5327 #line 5328 "configure" | 5339 #line 5340 "configure" |
5328 #include "confdefs.h" | 5340 #include "confdefs.h" |
5329 #include <$ac_hdr> | 5341 #include <$ac_hdr> |
5330 EOF | 5342 EOF |
5331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5332 { (eval echo configure:5333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5344 { (eval echo configure:5345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5334 if test -z "$ac_err"; then | 5346 if test -z "$ac_err"; then |
5335 rm -rf conftest* | 5347 rm -rf conftest* |
5336 eval "ac_cv_header_$ac_safe=yes" | 5348 eval "ac_cv_header_$ac_safe=yes" |
5337 else | 5349 else |
5358 fi | 5370 fi |
5359 done | 5371 done |
5360 | 5372 |
5361 | 5373 |
5362 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5374 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5363 echo "configure:5364: checking for main in -lxml" >&5 | 5375 echo "configure:5376: checking for main in -lxml" >&5 |
5364 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5376 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5365 | 5377 |
5366 xe_check_libs=" -lxml " | 5378 xe_check_libs=" -lxml " |
5367 cat > conftest.$ac_ext <<EOF | 5379 cat > conftest.$ac_ext <<EOF |
5368 #line 5369 "configure" | 5380 #line 5381 "configure" |
5369 #include "confdefs.h" | 5381 #include "confdefs.h" |
5370 | 5382 |
5371 int main() { | 5383 int main() { |
5372 main() | 5384 main() |
5373 ; return 0; } | 5385 ; return 0; } |
5374 EOF | 5386 EOF |
5375 if { (eval echo configure:5376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5376 rm -rf conftest* | 5388 rm -rf conftest* |
5377 eval "ac_cv_lib_$ac_lib_var=yes" | 5389 eval "ac_cv_lib_$ac_lib_var=yes" |
5378 else | 5390 else |
5379 echo "configure: failed program was:" >&5 | 5391 echo "configure: failed program was:" >&5 |
5380 cat conftest.$ac_ext >&5 | 5392 cat conftest.$ac_ext >&5 |
5392 fi | 5404 fi |
5393 | 5405 |
5394 | 5406 |
5395 | 5407 |
5396 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5408 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5397 echo "configure:5398: checking for main in -lglade" >&5 | 5409 echo "configure:5410: checking for main in -lglade" >&5 |
5398 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5410 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5399 | 5411 |
5400 xe_check_libs=" -lglade " | 5412 xe_check_libs=" -lglade " |
5401 cat > conftest.$ac_ext <<EOF | 5413 cat > conftest.$ac_ext <<EOF |
5402 #line 5403 "configure" | 5414 #line 5415 "configure" |
5403 #include "confdefs.h" | 5415 #include "confdefs.h" |
5404 | 5416 |
5405 int main() { | 5417 int main() { |
5406 main() | 5418 main() |
5407 ; return 0; } | 5419 ; return 0; } |
5408 EOF | 5420 EOF |
5409 if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5410 rm -rf conftest* | 5422 rm -rf conftest* |
5411 eval "ac_cv_lib_$ac_lib_var=yes" | 5423 eval "ac_cv_lib_$ac_lib_var=yes" |
5412 else | 5424 else |
5413 echo "configure: failed program was:" >&5 | 5425 echo "configure: failed program was:" >&5 |
5414 cat conftest.$ac_ext >&5 | 5426 cat conftest.$ac_ext >&5 |
5426 fi | 5438 fi |
5427 | 5439 |
5428 | 5440 |
5429 | 5441 |
5430 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5442 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5431 echo "configure:5432: checking for main in -lglade-gnome" >&5 | 5443 echo "configure:5444: checking for main in -lglade-gnome" >&5 |
5432 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5444 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5433 | 5445 |
5434 xe_check_libs=" -lglade-gnome " | 5446 xe_check_libs=" -lglade-gnome " |
5435 cat > conftest.$ac_ext <<EOF | 5447 cat > conftest.$ac_ext <<EOF |
5436 #line 5437 "configure" | 5448 #line 5449 "configure" |
5437 #include "confdefs.h" | 5449 #include "confdefs.h" |
5438 | 5450 |
5439 int main() { | 5451 int main() { |
5440 main() | 5452 main() |
5441 ; return 0; } | 5453 ; return 0; } |
5442 EOF | 5454 EOF |
5443 if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5455 if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5444 rm -rf conftest* | 5456 rm -rf conftest* |
5445 eval "ac_cv_lib_$ac_lib_var=yes" | 5457 eval "ac_cv_lib_$ac_lib_var=yes" |
5446 else | 5458 else |
5447 echo "configure: failed program was:" >&5 | 5459 echo "configure: failed program was:" >&5 |
5448 cat conftest.$ac_ext >&5 | 5460 cat conftest.$ac_ext >&5 |
5459 echo "$ac_t""no" 1>&6 | 5471 echo "$ac_t""no" 1>&6 |
5460 fi | 5472 fi |
5461 | 5473 |
5462 | 5474 |
5463 cat > conftest.$ac_ext <<EOF | 5475 cat > conftest.$ac_ext <<EOF |
5464 #line 5465 "configure" | 5476 #line 5477 "configure" |
5465 #include "confdefs.h" | 5477 #include "confdefs.h" |
5466 #include <glade/glade-xml.h> | 5478 #include <glade/glade-xml.h> |
5467 EOF | 5479 EOF |
5468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5469 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5481 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5517 # If we find X, set shell vars x_includes and x_libraries to the | 5529 # If we find X, set shell vars x_includes and x_libraries to the |
5518 # paths, otherwise set no_x=yes. | 5530 # paths, otherwise set no_x=yes. |
5519 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5531 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5520 # --without-x overrides everything else, but does not touch the cache. | 5532 # --without-x overrides everything else, but does not touch the cache. |
5521 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5533 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5522 echo "configure:5523: checking for X" >&5 | 5534 echo "configure:5535: checking for X" >&5 |
5523 | 5535 |
5524 # Check whether --with-x or --without-x was given. | 5536 # Check whether --with-x or --without-x was given. |
5525 if test "${with_x+set}" = set; then | 5537 if test "${with_x+set}" = set; then |
5526 withval="$with_x" | 5538 withval="$with_x" |
5527 : | 5539 : |
5577 # Guess where to find include files, by looking for this one X11 .h file. | 5589 # Guess where to find include files, by looking for this one X11 .h file. |
5578 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5590 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5579 | 5591 |
5580 # First, try using that file with no special directory specified. | 5592 # First, try using that file with no special directory specified. |
5581 cat > conftest.$ac_ext <<EOF | 5593 cat > conftest.$ac_ext <<EOF |
5582 #line 5583 "configure" | 5594 #line 5595 "configure" |
5583 #include "confdefs.h" | 5595 #include "confdefs.h" |
5584 #include <$x_direct_test_include> | 5596 #include <$x_direct_test_include> |
5585 EOF | 5597 EOF |
5586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5587 { (eval echo configure:5588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5599 { (eval echo configure:5600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5589 if test -z "$ac_err"; then | 5601 if test -z "$ac_err"; then |
5590 rm -rf conftest* | 5602 rm -rf conftest* |
5591 # We can compile using X headers with no special include directory. | 5603 # We can compile using X headers with no special include directory. |
5592 ac_x_includes= | 5604 ac_x_includes= |
5651 # See if we find them without any special options. | 5663 # See if we find them without any special options. |
5652 # Don't add to $LIBS permanently. | 5664 # Don't add to $LIBS permanently. |
5653 ac_save_LIBS="$LIBS" | 5665 ac_save_LIBS="$LIBS" |
5654 LIBS="-l$x_direct_test_library $LIBS" | 5666 LIBS="-l$x_direct_test_library $LIBS" |
5655 cat > conftest.$ac_ext <<EOF | 5667 cat > conftest.$ac_ext <<EOF |
5656 #line 5657 "configure" | 5668 #line 5669 "configure" |
5657 #include "confdefs.h" | 5669 #include "confdefs.h" |
5658 | 5670 |
5659 int main() { | 5671 int main() { |
5660 ${x_direct_test_function}() | 5672 ${x_direct_test_function}() |
5661 ; return 0; } | 5673 ; return 0; } |
5662 EOF | 5674 EOF |
5663 if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5675 if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5664 rm -rf conftest* | 5676 rm -rf conftest* |
5665 LIBS="$ac_save_LIBS" | 5677 LIBS="$ac_save_LIBS" |
5666 # We can link X programs with no special library path. | 5678 # We can link X programs with no special library path. |
5667 ac_x_libraries= | 5679 ac_x_libraries= |
5668 else | 5680 else |
5767 # For Solaris; some versions of Sun CC require a space after -R and | 5779 # For Solaris; some versions of Sun CC require a space after -R and |
5768 # others require no space. Words are not sufficient . . . . | 5780 # others require no space. Words are not sufficient . . . . |
5769 case "`(uname -sr) 2>/dev/null`" in | 5781 case "`(uname -sr) 2>/dev/null`" in |
5770 "SunOS 5"*) | 5782 "SunOS 5"*) |
5771 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5783 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5772 echo "configure:5773: checking whether -R must be followed by a space" >&5 | 5784 echo "configure:5785: checking whether -R must be followed by a space" >&5 |
5773 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5785 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5774 cat > conftest.$ac_ext <<EOF | 5786 cat > conftest.$ac_ext <<EOF |
5775 #line 5776 "configure" | 5787 #line 5788 "configure" |
5776 #include "confdefs.h" | 5788 #include "confdefs.h" |
5777 | 5789 |
5778 int main() { | 5790 int main() { |
5779 | 5791 |
5780 ; return 0; } | 5792 ; return 0; } |
5781 EOF | 5793 EOF |
5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5794 if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5783 rm -rf conftest* | 5795 rm -rf conftest* |
5784 ac_R_nospace=yes | 5796 ac_R_nospace=yes |
5785 else | 5797 else |
5786 echo "configure: failed program was:" >&5 | 5798 echo "configure: failed program was:" >&5 |
5787 cat conftest.$ac_ext >&5 | 5799 cat conftest.$ac_ext >&5 |
5793 echo "$ac_t""no" 1>&6 | 5805 echo "$ac_t""no" 1>&6 |
5794 X_LIBS="$X_LIBS -R$x_libraries" | 5806 X_LIBS="$X_LIBS -R$x_libraries" |
5795 else | 5807 else |
5796 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5808 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5797 cat > conftest.$ac_ext <<EOF | 5809 cat > conftest.$ac_ext <<EOF |
5798 #line 5799 "configure" | 5810 #line 5811 "configure" |
5799 #include "confdefs.h" | 5811 #include "confdefs.h" |
5800 | 5812 |
5801 int main() { | 5813 int main() { |
5802 | 5814 |
5803 ; return 0; } | 5815 ; return 0; } |
5804 EOF | 5816 EOF |
5805 if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5817 if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5806 rm -rf conftest* | 5818 rm -rf conftest* |
5807 ac_R_space=yes | 5819 ac_R_space=yes |
5808 else | 5820 else |
5809 echo "configure: failed program was:" >&5 | 5821 echo "configure: failed program was:" >&5 |
5810 cat conftest.$ac_ext >&5 | 5822 cat conftest.$ac_ext >&5 |
5836 if test "$with_dnet" = "no" ; then | 5848 if test "$with_dnet" = "no" ; then |
5837 ac_cv_lib_dnet_dnet_ntoa=no | 5849 ac_cv_lib_dnet_dnet_ntoa=no |
5838 else | 5850 else |
5839 | 5851 |
5840 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5852 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5841 echo "configure:5842: checking for dnet_ntoa in -ldnet" >&5 | 5853 echo "configure:5854: checking for dnet_ntoa in -ldnet" >&5 |
5842 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5854 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5843 | 5855 |
5844 xe_check_libs=" -ldnet " | 5856 xe_check_libs=" -ldnet " |
5845 cat > conftest.$ac_ext <<EOF | 5857 cat > conftest.$ac_ext <<EOF |
5846 #line 5847 "configure" | 5858 #line 5859 "configure" |
5847 #include "confdefs.h" | 5859 #include "confdefs.h" |
5848 /* Override any gcc2 internal prototype to avoid an error. */ | 5860 /* Override any gcc2 internal prototype to avoid an error. */ |
5849 /* We use char because int might match the return type of a gcc2 | 5861 /* We use char because int might match the return type of a gcc2 |
5850 builtin and then its argument prototype would still apply. */ | 5862 builtin and then its argument prototype would still apply. */ |
5851 char dnet_ntoa(); | 5863 char dnet_ntoa(); |
5852 | 5864 |
5853 int main() { | 5865 int main() { |
5854 dnet_ntoa() | 5866 dnet_ntoa() |
5855 ; return 0; } | 5867 ; return 0; } |
5856 EOF | 5868 EOF |
5857 if { (eval echo configure:5858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5869 if { (eval echo configure:5870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5858 rm -rf conftest* | 5870 rm -rf conftest* |
5859 eval "ac_cv_lib_$ac_lib_var=yes" | 5871 eval "ac_cv_lib_$ac_lib_var=yes" |
5860 else | 5872 else |
5861 echo "configure: failed program was:" >&5 | 5873 echo "configure: failed program was:" >&5 |
5862 cat conftest.$ac_ext >&5 | 5874 cat conftest.$ac_ext >&5 |
5876 fi | 5888 fi |
5877 | 5889 |
5878 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5890 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5879 | 5891 |
5880 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5892 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5881 echo "configure:5882: checking for dnet_ntoa in -ldnet_stub" >&5 | 5893 echo "configure:5894: checking for dnet_ntoa in -ldnet_stub" >&5 |
5882 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5894 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5883 | 5895 |
5884 xe_check_libs=" -ldnet_stub " | 5896 xe_check_libs=" -ldnet_stub " |
5885 cat > conftest.$ac_ext <<EOF | 5897 cat > conftest.$ac_ext <<EOF |
5886 #line 5887 "configure" | 5898 #line 5899 "configure" |
5887 #include "confdefs.h" | 5899 #include "confdefs.h" |
5888 /* Override any gcc2 internal prototype to avoid an error. */ | 5900 /* Override any gcc2 internal prototype to avoid an error. */ |
5889 /* We use char because int might match the return type of a gcc2 | 5901 /* We use char because int might match the return type of a gcc2 |
5890 builtin and then its argument prototype would still apply. */ | 5902 builtin and then its argument prototype would still apply. */ |
5891 char dnet_ntoa(); | 5903 char dnet_ntoa(); |
5892 | 5904 |
5893 int main() { | 5905 int main() { |
5894 dnet_ntoa() | 5906 dnet_ntoa() |
5895 ; return 0; } | 5907 ; return 0; } |
5896 EOF | 5908 EOF |
5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5898 rm -rf conftest* | 5910 rm -rf conftest* |
5899 eval "ac_cv_lib_$ac_lib_var=yes" | 5911 eval "ac_cv_lib_$ac_lib_var=yes" |
5900 else | 5912 else |
5901 echo "configure: failed program was:" >&5 | 5913 echo "configure: failed program was:" >&5 |
5902 cat conftest.$ac_ext >&5 | 5914 cat conftest.$ac_ext >&5 |
5921 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5933 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5922 # needs -lnsl. | 5934 # needs -lnsl. |
5923 # The nsl library prevents programs from opening the X display | 5935 # The nsl library prevents programs from opening the X display |
5924 # on Irix 5.2, according to dickey@clark.net. | 5936 # on Irix 5.2, according to dickey@clark.net. |
5925 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5937 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5926 echo "configure:5927: checking for gethostbyname" >&5 | 5938 echo "configure:5939: checking for gethostbyname" >&5 |
5927 | 5939 |
5928 cat > conftest.$ac_ext <<EOF | 5940 cat > conftest.$ac_ext <<EOF |
5929 #line 5930 "configure" | 5941 #line 5942 "configure" |
5930 #include "confdefs.h" | 5942 #include "confdefs.h" |
5931 /* System header to define __stub macros and hopefully few prototypes, | 5943 /* System header to define __stub macros and hopefully few prototypes, |
5932 which can conflict with char gethostbyname(); below. */ | 5944 which can conflict with char gethostbyname(); below. */ |
5933 #include <assert.h> | 5945 #include <assert.h> |
5934 /* Override any gcc2 internal prototype to avoid an error. */ | 5946 /* Override any gcc2 internal prototype to avoid an error. */ |
5947 gethostbyname(); | 5959 gethostbyname(); |
5948 #endif | 5960 #endif |
5949 | 5961 |
5950 ; return 0; } | 5962 ; return 0; } |
5951 EOF | 5963 EOF |
5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5964 if { (eval echo configure:5965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5953 rm -rf conftest* | 5965 rm -rf conftest* |
5954 eval "ac_cv_func_gethostbyname=yes" | 5966 eval "ac_cv_func_gethostbyname=yes" |
5955 else | 5967 else |
5956 echo "configure: failed program was:" >&5 | 5968 echo "configure: failed program was:" >&5 |
5957 cat conftest.$ac_ext >&5 | 5969 cat conftest.$ac_ext >&5 |
5968 fi | 5980 fi |
5969 | 5981 |
5970 if test $ac_cv_func_gethostbyname = no; then | 5982 if test $ac_cv_func_gethostbyname = no; then |
5971 | 5983 |
5972 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5984 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5973 echo "configure:5974: checking for gethostbyname in -lnsl" >&5 | 5985 echo "configure:5986: checking for gethostbyname in -lnsl" >&5 |
5974 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5986 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5975 | 5987 |
5976 xe_check_libs=" -lnsl " | 5988 xe_check_libs=" -lnsl " |
5977 cat > conftest.$ac_ext <<EOF | 5989 cat > conftest.$ac_ext <<EOF |
5978 #line 5979 "configure" | 5990 #line 5991 "configure" |
5979 #include "confdefs.h" | 5991 #include "confdefs.h" |
5980 /* Override any gcc2 internal prototype to avoid an error. */ | 5992 /* Override any gcc2 internal prototype to avoid an error. */ |
5981 /* We use char because int might match the return type of a gcc2 | 5993 /* We use char because int might match the return type of a gcc2 |
5982 builtin and then its argument prototype would still apply. */ | 5994 builtin and then its argument prototype would still apply. */ |
5983 char gethostbyname(); | 5995 char gethostbyname(); |
5984 | 5996 |
5985 int main() { | 5997 int main() { |
5986 gethostbyname() | 5998 gethostbyname() |
5987 ; return 0; } | 5999 ; return 0; } |
5988 EOF | 6000 EOF |
5989 if { (eval echo configure:5990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5990 rm -rf conftest* | 6002 rm -rf conftest* |
5991 eval "ac_cv_lib_$ac_lib_var=yes" | 6003 eval "ac_cv_lib_$ac_lib_var=yes" |
5992 else | 6004 else |
5993 echo "configure: failed program was:" >&5 | 6005 echo "configure: failed program was:" >&5 |
5994 cat conftest.$ac_ext >&5 | 6006 cat conftest.$ac_ext >&5 |
6014 # on later versions), says simon@lia.di.epfl.ch: it contains | 6026 # on later versions), says simon@lia.di.epfl.ch: it contains |
6015 # gethostby* variants that don't use the nameserver (or something). | 6027 # gethostby* variants that don't use the nameserver (or something). |
6016 # -lsocket must be given before -lnsl if both are needed. | 6028 # -lsocket must be given before -lnsl if both are needed. |
6017 # We assume that if connect needs -lnsl, so does gethostbyname. | 6029 # We assume that if connect needs -lnsl, so does gethostbyname. |
6018 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6030 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6019 echo "configure:6020: checking for connect" >&5 | 6031 echo "configure:6032: checking for connect" >&5 |
6020 | 6032 |
6021 cat > conftest.$ac_ext <<EOF | 6033 cat > conftest.$ac_ext <<EOF |
6022 #line 6023 "configure" | 6034 #line 6035 "configure" |
6023 #include "confdefs.h" | 6035 #include "confdefs.h" |
6024 /* System header to define __stub macros and hopefully few prototypes, | 6036 /* System header to define __stub macros and hopefully few prototypes, |
6025 which can conflict with char connect(); below. */ | 6037 which can conflict with char connect(); below. */ |
6026 #include <assert.h> | 6038 #include <assert.h> |
6027 /* Override any gcc2 internal prototype to avoid an error. */ | 6039 /* Override any gcc2 internal prototype to avoid an error. */ |
6040 connect(); | 6052 connect(); |
6041 #endif | 6053 #endif |
6042 | 6054 |
6043 ; return 0; } | 6055 ; return 0; } |
6044 EOF | 6056 EOF |
6045 if { (eval echo configure:6046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6057 if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6046 rm -rf conftest* | 6058 rm -rf conftest* |
6047 eval "ac_cv_func_connect=yes" | 6059 eval "ac_cv_func_connect=yes" |
6048 else | 6060 else |
6049 echo "configure: failed program was:" >&5 | 6061 echo "configure: failed program was:" >&5 |
6050 cat conftest.$ac_ext >&5 | 6062 cat conftest.$ac_ext >&5 |
6063 if test $ac_cv_func_connect = no; then | 6075 if test $ac_cv_func_connect = no; then |
6064 | 6076 |
6065 xe_msg_checking="for connect in -lsocket" | 6077 xe_msg_checking="for connect in -lsocket" |
6066 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6078 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6067 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6079 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6068 echo "configure:6069: checking "$xe_msg_checking"" >&5 | 6080 echo "configure:6081: checking "$xe_msg_checking"" >&5 |
6069 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6081 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6070 | 6082 |
6071 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6083 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6072 cat > conftest.$ac_ext <<EOF | 6084 cat > conftest.$ac_ext <<EOF |
6073 #line 6074 "configure" | 6085 #line 6086 "configure" |
6074 #include "confdefs.h" | 6086 #include "confdefs.h" |
6075 /* Override any gcc2 internal prototype to avoid an error. */ | 6087 /* Override any gcc2 internal prototype to avoid an error. */ |
6076 /* We use char because int might match the return type of a gcc2 | 6088 /* We use char because int might match the return type of a gcc2 |
6077 builtin and then its argument prototype would still apply. */ | 6089 builtin and then its argument prototype would still apply. */ |
6078 char connect(); | 6090 char connect(); |
6079 | 6091 |
6080 int main() { | 6092 int main() { |
6081 connect() | 6093 connect() |
6082 ; return 0; } | 6094 ; return 0; } |
6083 EOF | 6095 EOF |
6084 if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6096 if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6085 rm -rf conftest* | 6097 rm -rf conftest* |
6086 eval "ac_cv_lib_$ac_lib_var=yes" | 6098 eval "ac_cv_lib_$ac_lib_var=yes" |
6087 else | 6099 else |
6088 echo "configure: failed program was:" >&5 | 6100 echo "configure: failed program was:" >&5 |
6089 cat conftest.$ac_ext >&5 | 6101 cat conftest.$ac_ext >&5 |
6103 | 6115 |
6104 fi | 6116 fi |
6105 | 6117 |
6106 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6118 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6107 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6119 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6108 echo "configure:6109: checking for remove" >&5 | 6120 echo "configure:6121: checking for remove" >&5 |
6109 | 6121 |
6110 cat > conftest.$ac_ext <<EOF | 6122 cat > conftest.$ac_ext <<EOF |
6111 #line 6112 "configure" | 6123 #line 6124 "configure" |
6112 #include "confdefs.h" | 6124 #include "confdefs.h" |
6113 /* System header to define __stub macros and hopefully few prototypes, | 6125 /* System header to define __stub macros and hopefully few prototypes, |
6114 which can conflict with char remove(); below. */ | 6126 which can conflict with char remove(); below. */ |
6115 #include <assert.h> | 6127 #include <assert.h> |
6116 /* Override any gcc2 internal prototype to avoid an error. */ | 6128 /* Override any gcc2 internal prototype to avoid an error. */ |
6129 remove(); | 6141 remove(); |
6130 #endif | 6142 #endif |
6131 | 6143 |
6132 ; return 0; } | 6144 ; return 0; } |
6133 EOF | 6145 EOF |
6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6146 if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6135 rm -rf conftest* | 6147 rm -rf conftest* |
6136 eval "ac_cv_func_remove=yes" | 6148 eval "ac_cv_func_remove=yes" |
6137 else | 6149 else |
6138 echo "configure: failed program was:" >&5 | 6150 echo "configure: failed program was:" >&5 |
6139 cat conftest.$ac_ext >&5 | 6151 cat conftest.$ac_ext >&5 |
6150 fi | 6162 fi |
6151 | 6163 |
6152 if test $ac_cv_func_remove = no; then | 6164 if test $ac_cv_func_remove = no; then |
6153 | 6165 |
6154 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6166 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6155 echo "configure:6156: checking for remove in -lposix" >&5 | 6167 echo "configure:6168: checking for remove in -lposix" >&5 |
6156 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6168 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6157 | 6169 |
6158 xe_check_libs=" -lposix " | 6170 xe_check_libs=" -lposix " |
6159 cat > conftest.$ac_ext <<EOF | 6171 cat > conftest.$ac_ext <<EOF |
6160 #line 6161 "configure" | 6172 #line 6173 "configure" |
6161 #include "confdefs.h" | 6173 #include "confdefs.h" |
6162 /* Override any gcc2 internal prototype to avoid an error. */ | 6174 /* Override any gcc2 internal prototype to avoid an error. */ |
6163 /* We use char because int might match the return type of a gcc2 | 6175 /* We use char because int might match the return type of a gcc2 |
6164 builtin and then its argument prototype would still apply. */ | 6176 builtin and then its argument prototype would still apply. */ |
6165 char remove(); | 6177 char remove(); |
6166 | 6178 |
6167 int main() { | 6179 int main() { |
6168 remove() | 6180 remove() |
6169 ; return 0; } | 6181 ; return 0; } |
6170 EOF | 6182 EOF |
6171 if { (eval echo configure:6172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6183 if { (eval echo configure:6184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6172 rm -rf conftest* | 6184 rm -rf conftest* |
6173 eval "ac_cv_lib_$ac_lib_var=yes" | 6185 eval "ac_cv_lib_$ac_lib_var=yes" |
6174 else | 6186 else |
6175 echo "configure: failed program was:" >&5 | 6187 echo "configure: failed program was:" >&5 |
6176 cat conftest.$ac_ext >&5 | 6188 cat conftest.$ac_ext >&5 |
6190 | 6202 |
6191 fi | 6203 fi |
6192 | 6204 |
6193 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6205 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6194 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6206 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6195 echo "configure:6196: checking for shmat" >&5 | 6207 echo "configure:6208: checking for shmat" >&5 |
6196 | 6208 |
6197 cat > conftest.$ac_ext <<EOF | 6209 cat > conftest.$ac_ext <<EOF |
6198 #line 6199 "configure" | 6210 #line 6211 "configure" |
6199 #include "confdefs.h" | 6211 #include "confdefs.h" |
6200 /* System header to define __stub macros and hopefully few prototypes, | 6212 /* System header to define __stub macros and hopefully few prototypes, |
6201 which can conflict with char shmat(); below. */ | 6213 which can conflict with char shmat(); below. */ |
6202 #include <assert.h> | 6214 #include <assert.h> |
6203 /* Override any gcc2 internal prototype to avoid an error. */ | 6215 /* Override any gcc2 internal prototype to avoid an error. */ |
6216 shmat(); | 6228 shmat(); |
6217 #endif | 6229 #endif |
6218 | 6230 |
6219 ; return 0; } | 6231 ; return 0; } |
6220 EOF | 6232 EOF |
6221 if { (eval echo configure:6222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6233 if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6222 rm -rf conftest* | 6234 rm -rf conftest* |
6223 eval "ac_cv_func_shmat=yes" | 6235 eval "ac_cv_func_shmat=yes" |
6224 else | 6236 else |
6225 echo "configure: failed program was:" >&5 | 6237 echo "configure: failed program was:" >&5 |
6226 cat conftest.$ac_ext >&5 | 6238 cat conftest.$ac_ext >&5 |
6237 fi | 6249 fi |
6238 | 6250 |
6239 if test $ac_cv_func_shmat = no; then | 6251 if test $ac_cv_func_shmat = no; then |
6240 | 6252 |
6241 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6253 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6242 echo "configure:6243: checking for shmat in -lipc" >&5 | 6254 echo "configure:6255: checking for shmat in -lipc" >&5 |
6243 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6255 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6244 | 6256 |
6245 xe_check_libs=" -lipc " | 6257 xe_check_libs=" -lipc " |
6246 cat > conftest.$ac_ext <<EOF | 6258 cat > conftest.$ac_ext <<EOF |
6247 #line 6248 "configure" | 6259 #line 6260 "configure" |
6248 #include "confdefs.h" | 6260 #include "confdefs.h" |
6249 /* Override any gcc2 internal prototype to avoid an error. */ | 6261 /* Override any gcc2 internal prototype to avoid an error. */ |
6250 /* We use char because int might match the return type of a gcc2 | 6262 /* We use char because int might match the return type of a gcc2 |
6251 builtin and then its argument prototype would still apply. */ | 6263 builtin and then its argument prototype would still apply. */ |
6252 char shmat(); | 6264 char shmat(); |
6253 | 6265 |
6254 int main() { | 6266 int main() { |
6255 shmat() | 6267 shmat() |
6256 ; return 0; } | 6268 ; return 0; } |
6257 EOF | 6269 EOF |
6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6270 if { (eval echo configure:6271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6259 rm -rf conftest* | 6271 rm -rf conftest* |
6260 eval "ac_cv_lib_$ac_lib_var=yes" | 6272 eval "ac_cv_lib_$ac_lib_var=yes" |
6261 else | 6273 else |
6262 echo "configure: failed program was:" >&5 | 6274 echo "configure: failed program was:" >&5 |
6263 cat conftest.$ac_ext >&5 | 6275 cat conftest.$ac_ext >&5 |
6289 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6301 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6290 | 6302 |
6291 xe_msg_checking="for IceConnectionNumber in -lICE" | 6303 xe_msg_checking="for IceConnectionNumber in -lICE" |
6292 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6304 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6293 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6305 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6294 echo "configure:6295: checking "$xe_msg_checking"" >&5 | 6306 echo "configure:6307: checking "$xe_msg_checking"" >&5 |
6295 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6307 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6296 | 6308 |
6297 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6309 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6298 cat > conftest.$ac_ext <<EOF | 6310 cat > conftest.$ac_ext <<EOF |
6299 #line 6300 "configure" | 6311 #line 6312 "configure" |
6300 #include "confdefs.h" | 6312 #include "confdefs.h" |
6301 /* Override any gcc2 internal prototype to avoid an error. */ | 6313 /* Override any gcc2 internal prototype to avoid an error. */ |
6302 /* We use char because int might match the return type of a gcc2 | 6314 /* We use char because int might match the return type of a gcc2 |
6303 builtin and then its argument prototype would still apply. */ | 6315 builtin and then its argument prototype would still apply. */ |
6304 char IceConnectionNumber(); | 6316 char IceConnectionNumber(); |
6305 | 6317 |
6306 int main() { | 6318 int main() { |
6307 IceConnectionNumber() | 6319 IceConnectionNumber() |
6308 ; return 0; } | 6320 ; return 0; } |
6309 EOF | 6321 EOF |
6310 if { (eval echo configure:6311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6311 rm -rf conftest* | 6323 rm -rf conftest* |
6312 eval "ac_cv_lib_$ac_lib_var=yes" | 6324 eval "ac_cv_lib_$ac_lib_var=yes" |
6313 else | 6325 else |
6314 echo "configure: failed program was:" >&5 | 6326 echo "configure: failed program was:" >&5 |
6315 cat conftest.$ac_ext >&5 | 6327 cat conftest.$ac_ext >&5 |
6472 EOF | 6484 EOF |
6473 } | 6485 } |
6474 | 6486 |
6475 | 6487 |
6476 echo "checking for X defines extracted by xmkmf" 1>&6 | 6488 echo "checking for X defines extracted by xmkmf" 1>&6 |
6477 echo "configure:6478: checking for X defines extracted by xmkmf" >&5 | 6489 echo "configure:6490: checking for X defines extracted by xmkmf" >&5 |
6478 rm -fr conftestdir | 6490 rm -fr conftestdir |
6479 if mkdir conftestdir; then | 6491 if mkdir conftestdir; then |
6480 cd conftestdir | 6492 cd conftestdir |
6481 cat > Imakefile <<'EOF' | 6493 cat > Imakefile <<'EOF' |
6482 xetest: | 6494 xetest: |
6521 done | 6533 done |
6522 fi | 6534 fi |
6523 | 6535 |
6524 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6536 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6525 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6537 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6526 echo "configure:6527: checking for X11/Intrinsic.h" >&5 | 6538 echo "configure:6539: checking for X11/Intrinsic.h" >&5 |
6527 | 6539 |
6528 cat > conftest.$ac_ext <<EOF | 6540 cat > conftest.$ac_ext <<EOF |
6529 #line 6530 "configure" | 6541 #line 6542 "configure" |
6530 #include "confdefs.h" | 6542 #include "confdefs.h" |
6531 #include <X11/Intrinsic.h> | 6543 #include <X11/Intrinsic.h> |
6532 EOF | 6544 EOF |
6533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6534 { (eval echo configure:6535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6546 { (eval echo configure:6547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6536 if test -z "$ac_err"; then | 6548 if test -z "$ac_err"; then |
6537 rm -rf conftest* | 6549 rm -rf conftest* |
6538 eval "ac_cv_header_$ac_safe=yes" | 6550 eval "ac_cv_header_$ac_safe=yes" |
6539 else | 6551 else |
6553 fi | 6565 fi |
6554 | 6566 |
6555 | 6567 |
6556 | 6568 |
6557 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6569 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6558 echo "configure:6559: checking for XOpenDisplay in -lX11" >&5 | 6570 echo "configure:6571: checking for XOpenDisplay in -lX11" >&5 |
6559 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6571 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6560 | 6572 |
6561 xe_check_libs=" -lX11 " | 6573 xe_check_libs=" -lX11 " |
6562 cat > conftest.$ac_ext <<EOF | 6574 cat > conftest.$ac_ext <<EOF |
6563 #line 6564 "configure" | 6575 #line 6576 "configure" |
6564 #include "confdefs.h" | 6576 #include "confdefs.h" |
6565 /* Override any gcc2 internal prototype to avoid an error. */ | 6577 /* Override any gcc2 internal prototype to avoid an error. */ |
6566 /* We use char because int might match the return type of a gcc2 | 6578 /* We use char because int might match the return type of a gcc2 |
6567 builtin and then its argument prototype would still apply. */ | 6579 builtin and then its argument prototype would still apply. */ |
6568 char XOpenDisplay(); | 6580 char XOpenDisplay(); |
6569 | 6581 |
6570 int main() { | 6582 int main() { |
6571 XOpenDisplay() | 6583 XOpenDisplay() |
6572 ; return 0; } | 6584 ; return 0; } |
6573 EOF | 6585 EOF |
6574 if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6586 if { (eval echo configure:6587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6575 rm -rf conftest* | 6587 rm -rf conftest* |
6576 eval "ac_cv_lib_$ac_lib_var=yes" | 6588 eval "ac_cv_lib_$ac_lib_var=yes" |
6577 else | 6589 else |
6578 echo "configure: failed program was:" >&5 | 6590 echo "configure: failed program was:" >&5 |
6579 cat conftest.$ac_ext >&5 | 6591 cat conftest.$ac_ext >&5 |
6594 if test "$have_lib_x11" != "yes"; then | 6606 if test "$have_lib_x11" != "yes"; then |
6595 | 6607 |
6596 xe_msg_checking="for XGetFontProperty in -lX11" | 6608 xe_msg_checking="for XGetFontProperty in -lX11" |
6597 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6609 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6598 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6610 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6599 echo "configure:6600: checking "$xe_msg_checking"" >&5 | 6611 echo "configure:6612: checking "$xe_msg_checking"" >&5 |
6600 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6612 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6601 | 6613 |
6602 xe_check_libs=" -lX11 -b i486-linuxaout" | 6614 xe_check_libs=" -lX11 -b i486-linuxaout" |
6603 cat > conftest.$ac_ext <<EOF | 6615 cat > conftest.$ac_ext <<EOF |
6604 #line 6605 "configure" | 6616 #line 6617 "configure" |
6605 #include "confdefs.h" | 6617 #include "confdefs.h" |
6606 /* Override any gcc2 internal prototype to avoid an error. */ | 6618 /* Override any gcc2 internal prototype to avoid an error. */ |
6607 /* We use char because int might match the return type of a gcc2 | 6619 /* We use char because int might match the return type of a gcc2 |
6608 builtin and then its argument prototype would still apply. */ | 6620 builtin and then its argument prototype would still apply. */ |
6609 char XGetFontProperty(); | 6621 char XGetFontProperty(); |
6610 | 6622 |
6611 int main() { | 6623 int main() { |
6612 XGetFontProperty() | 6624 XGetFontProperty() |
6613 ; return 0; } | 6625 ; return 0; } |
6614 EOF | 6626 EOF |
6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6616 rm -rf conftest* | 6628 rm -rf conftest* |
6617 eval "ac_cv_lib_$ac_lib_var=yes" | 6629 eval "ac_cv_lib_$ac_lib_var=yes" |
6618 else | 6630 else |
6619 echo "configure: failed program was:" >&5 | 6631 echo "configure: failed program was:" >&5 |
6620 cat conftest.$ac_ext >&5 | 6632 cat conftest.$ac_ext >&5 |
6637 libs_x="-lX11" | 6649 libs_x="-lX11" |
6638 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6650 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6639 | 6651 |
6640 | 6652 |
6641 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6653 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6642 echo "configure:6643: checking for XShapeSelectInput in -lXext" >&5 | 6654 echo "configure:6655: checking for XShapeSelectInput in -lXext" >&5 |
6643 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6655 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6644 | 6656 |
6645 xe_check_libs=" -lXext " | 6657 xe_check_libs=" -lXext " |
6646 cat > conftest.$ac_ext <<EOF | 6658 cat > conftest.$ac_ext <<EOF |
6647 #line 6648 "configure" | 6659 #line 6660 "configure" |
6648 #include "confdefs.h" | 6660 #include "confdefs.h" |
6649 /* Override any gcc2 internal prototype to avoid an error. */ | 6661 /* Override any gcc2 internal prototype to avoid an error. */ |
6650 /* We use char because int might match the return type of a gcc2 | 6662 /* We use char because int might match the return type of a gcc2 |
6651 builtin and then its argument prototype would still apply. */ | 6663 builtin and then its argument prototype would still apply. */ |
6652 char XShapeSelectInput(); | 6664 char XShapeSelectInput(); |
6653 | 6665 |
6654 int main() { | 6666 int main() { |
6655 XShapeSelectInput() | 6667 XShapeSelectInput() |
6656 ; return 0; } | 6668 ; return 0; } |
6657 EOF | 6669 EOF |
6658 if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6670 if { (eval echo configure:6671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6659 rm -rf conftest* | 6671 rm -rf conftest* |
6660 eval "ac_cv_lib_$ac_lib_var=yes" | 6672 eval "ac_cv_lib_$ac_lib_var=yes" |
6661 else | 6673 else |
6662 echo "configure: failed program was:" >&5 | 6674 echo "configure: failed program was:" >&5 |
6663 cat conftest.$ac_ext >&5 | 6675 cat conftest.$ac_ext >&5 |
6676 | 6688 |
6677 | 6689 |
6678 | 6690 |
6679 | 6691 |
6680 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6692 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6681 echo "configure:6682: checking for XtOpenDisplay in -lXt" >&5 | 6693 echo "configure:6694: checking for XtOpenDisplay in -lXt" >&5 |
6682 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6694 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6683 | 6695 |
6684 xe_check_libs=" -lXt " | 6696 xe_check_libs=" -lXt " |
6685 cat > conftest.$ac_ext <<EOF | 6697 cat > conftest.$ac_ext <<EOF |
6686 #line 6687 "configure" | 6698 #line 6699 "configure" |
6687 #include "confdefs.h" | 6699 #include "confdefs.h" |
6688 /* Override any gcc2 internal prototype to avoid an error. */ | 6700 /* Override any gcc2 internal prototype to avoid an error. */ |
6689 /* We use char because int might match the return type of a gcc2 | 6701 /* We use char because int might match the return type of a gcc2 |
6690 builtin and then its argument prototype would still apply. */ | 6702 builtin and then its argument prototype would still apply. */ |
6691 char XtOpenDisplay(); | 6703 char XtOpenDisplay(); |
6692 | 6704 |
6693 int main() { | 6705 int main() { |
6694 XtOpenDisplay() | 6706 XtOpenDisplay() |
6695 ; return 0; } | 6707 ; return 0; } |
6696 EOF | 6708 EOF |
6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6709 if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6698 rm -rf conftest* | 6710 rm -rf conftest* |
6699 eval "ac_cv_lib_$ac_lib_var=yes" | 6711 eval "ac_cv_lib_$ac_lib_var=yes" |
6700 else | 6712 else |
6701 echo "configure: failed program was:" >&5 | 6713 echo "configure: failed program was:" >&5 |
6702 cat conftest.$ac_ext >&5 | 6714 cat conftest.$ac_ext >&5 |
6715 fi | 6727 fi |
6716 | 6728 |
6717 | 6729 |
6718 | 6730 |
6719 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6731 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6720 echo "configure:6721: checking the version of X11 being used" >&5 | 6732 echo "configure:6733: checking the version of X11 being used" >&5 |
6721 cat > conftest.$ac_ext <<EOF | 6733 cat > conftest.$ac_ext <<EOF |
6722 #line 6723 "configure" | 6734 #line 6735 "configure" |
6723 #include "confdefs.h" | 6735 #include "confdefs.h" |
6724 #include <X11/Intrinsic.h> | 6736 #include <X11/Intrinsic.h> |
6725 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6737 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6726 EOF | 6738 EOF |
6727 if { (eval echo configure:6728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6739 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6728 then | 6740 then |
6729 ./conftest foobar; x11_release=$? | 6741 ./conftest foobar; x11_release=$? |
6730 else | 6742 else |
6731 conftest_rc="$?" | 6743 conftest_rc="$?" |
6732 echo "configure: failed program was:" >&5 | 6744 echo "configure: failed program was:" >&5 |
6753 fi | 6765 fi |
6754 | 6766 |
6755 for ac_func in XConvertCase | 6767 for ac_func in XConvertCase |
6756 do | 6768 do |
6757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6758 echo "configure:6759: checking for $ac_func" >&5 | 6770 echo "configure:6771: checking for $ac_func" >&5 |
6759 | 6771 |
6760 cat > conftest.$ac_ext <<EOF | 6772 cat > conftest.$ac_ext <<EOF |
6761 #line 6762 "configure" | 6773 #line 6774 "configure" |
6762 #include "confdefs.h" | 6774 #include "confdefs.h" |
6763 /* System header to define __stub macros and hopefully few prototypes, | 6775 /* System header to define __stub macros and hopefully few prototypes, |
6764 which can conflict with char $ac_func(); below. */ | 6776 which can conflict with char $ac_func(); below. */ |
6765 #include <assert.h> | 6777 #include <assert.h> |
6766 /* Override any gcc2 internal prototype to avoid an error. */ | 6778 /* Override any gcc2 internal prototype to avoid an error. */ |
6779 $ac_func(); | 6791 $ac_func(); |
6780 #endif | 6792 #endif |
6781 | 6793 |
6782 ; return 0; } | 6794 ; return 0; } |
6783 EOF | 6795 EOF |
6784 if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6796 if { (eval echo configure:6797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6785 rm -rf conftest* | 6797 rm -rf conftest* |
6786 eval "ac_cv_func_$ac_func=yes" | 6798 eval "ac_cv_func_$ac_func=yes" |
6787 else | 6799 else |
6788 echo "configure: failed program was:" >&5 | 6800 echo "configure: failed program was:" >&5 |
6789 cat conftest.$ac_ext >&5 | 6801 cat conftest.$ac_ext >&5 |
6811 | 6823 |
6812 for ac_hdr in X11/Xlocale.h | 6824 for ac_hdr in X11/Xlocale.h |
6813 do | 6825 do |
6814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6815 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6816 echo "configure:6817: checking for $ac_hdr" >&5 | 6828 echo "configure:6829: checking for $ac_hdr" >&5 |
6817 | 6829 |
6818 cat > conftest.$ac_ext <<EOF | 6830 cat > conftest.$ac_ext <<EOF |
6819 #line 6820 "configure" | 6831 #line 6832 "configure" |
6820 #include "confdefs.h" | 6832 #include "confdefs.h" |
6821 #include <$ac_hdr> | 6833 #include <$ac_hdr> |
6822 EOF | 6834 EOF |
6823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6824 { (eval echo configure:6825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6836 { (eval echo configure:6837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6826 if test -z "$ac_err"; then | 6838 if test -z "$ac_err"; then |
6827 rm -rf conftest* | 6839 rm -rf conftest* |
6828 eval "ac_cv_header_$ac_safe=yes" | 6840 eval "ac_cv_header_$ac_safe=yes" |
6829 else | 6841 else |
6852 | 6864 |
6853 | 6865 |
6854 for ac_func in XRegisterIMInstantiateCallback | 6866 for ac_func in XRegisterIMInstantiateCallback |
6855 do | 6867 do |
6856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6857 echo "configure:6858: checking for $ac_func" >&5 | 6869 echo "configure:6870: checking for $ac_func" >&5 |
6858 | 6870 |
6859 cat > conftest.$ac_ext <<EOF | 6871 cat > conftest.$ac_ext <<EOF |
6860 #line 6861 "configure" | 6872 #line 6873 "configure" |
6861 #include "confdefs.h" | 6873 #include "confdefs.h" |
6862 /* System header to define __stub macros and hopefully few prototypes, | 6874 /* System header to define __stub macros and hopefully few prototypes, |
6863 which can conflict with char $ac_func(); below. */ | 6875 which can conflict with char $ac_func(); below. */ |
6864 #include <assert.h> | 6876 #include <assert.h> |
6865 /* Override any gcc2 internal prototype to avoid an error. */ | 6877 /* Override any gcc2 internal prototype to avoid an error. */ |
6878 $ac_func(); | 6890 $ac_func(); |
6879 #endif | 6891 #endif |
6880 | 6892 |
6881 ; return 0; } | 6893 ; return 0; } |
6882 EOF | 6894 EOF |
6883 if { (eval echo configure:6884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6884 rm -rf conftest* | 6896 rm -rf conftest* |
6885 eval "ac_cv_func_$ac_func=yes" | 6897 eval "ac_cv_func_$ac_func=yes" |
6886 else | 6898 else |
6887 echo "configure: failed program was:" >&5 | 6899 echo "configure: failed program was:" >&5 |
6888 cat conftest.$ac_ext >&5 | 6900 cat conftest.$ac_ext >&5 |
6906 echo "$ac_t""no" 1>&6 | 6918 echo "$ac_t""no" 1>&6 |
6907 fi | 6919 fi |
6908 done | 6920 done |
6909 | 6921 |
6910 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6922 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6911 echo "configure:6912: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6923 echo "configure:6924: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6912 cat > conftest.$ac_ext <<EOF | 6924 cat > conftest.$ac_ext <<EOF |
6913 #line 6914 "configure" | 6925 #line 6926 "configure" |
6914 #include "confdefs.h" | 6926 #include "confdefs.h" |
6915 | 6927 |
6916 #define NeedFunctionPrototypes 1 | 6928 #define NeedFunctionPrototypes 1 |
6917 #include <X11/Xlib.h> | 6929 #include <X11/Xlib.h> |
6918 extern Bool XRegisterIMInstantiateCallback( | 6930 extern Bool XRegisterIMInstantiateCallback( |
6920 | 6932 |
6921 int main() { | 6933 int main() { |
6922 | 6934 |
6923 ; return 0; } | 6935 ; return 0; } |
6924 EOF | 6936 EOF |
6925 if { (eval echo configure:6926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6937 if { (eval echo configure:6938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6926 rm -rf conftest* | 6938 rm -rf conftest* |
6927 echo "$ac_t""yes" 1>&6 | 6939 echo "$ac_t""yes" 1>&6 |
6928 else | 6940 else |
6929 echo "configure: failed program was:" >&5 | 6941 echo "configure: failed program was:" >&5 |
6930 cat conftest.$ac_ext >&5 | 6942 cat conftest.$ac_ext >&5 |
6941 fi | 6953 fi |
6942 rm -f conftest* | 6954 rm -f conftest* |
6943 | 6955 |
6944 test -z "$with_xmu" && { | 6956 test -z "$with_xmu" && { |
6945 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6957 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6946 echo "configure:6947: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6958 echo "configure:6959: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6947 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6959 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6948 | 6960 |
6949 xe_check_libs=" -lXmu " | 6961 xe_check_libs=" -lXmu " |
6950 cat > conftest.$ac_ext <<EOF | 6962 cat > conftest.$ac_ext <<EOF |
6951 #line 6952 "configure" | 6963 #line 6964 "configure" |
6952 #include "confdefs.h" | 6964 #include "confdefs.h" |
6953 /* Override any gcc2 internal prototype to avoid an error. */ | 6965 /* Override any gcc2 internal prototype to avoid an error. */ |
6954 /* We use char because int might match the return type of a gcc2 | 6966 /* We use char because int might match the return type of a gcc2 |
6955 builtin and then its argument prototype would still apply. */ | 6967 builtin and then its argument prototype would still apply. */ |
6956 char XmuReadBitmapDataFromFile(); | 6968 char XmuReadBitmapDataFromFile(); |
6957 | 6969 |
6958 int main() { | 6970 int main() { |
6959 XmuReadBitmapDataFromFile() | 6971 XmuReadBitmapDataFromFile() |
6960 ; return 0; } | 6972 ; return 0; } |
6961 EOF | 6973 EOF |
6962 if { (eval echo configure:6963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6974 if { (eval echo configure:6975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6963 rm -rf conftest* | 6975 rm -rf conftest* |
6964 eval "ac_cv_lib_$ac_lib_var=yes" | 6976 eval "ac_cv_lib_$ac_lib_var=yes" |
6965 else | 6977 else |
6966 echo "configure: failed program was:" >&5 | 6978 echo "configure: failed program was:" >&5 |
6967 cat conftest.$ac_ext >&5 | 6979 cat conftest.$ac_ext >&5 |
6996 | 7008 |
6997 fi | 7009 fi |
6998 | 7010 |
6999 | 7011 |
7000 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7012 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7001 echo "configure:7002: checking for main in -lXbsd" >&5 | 7013 echo "configure:7014: checking for main in -lXbsd" >&5 |
7002 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7014 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7003 | 7015 |
7004 xe_check_libs=" -lXbsd " | 7016 xe_check_libs=" -lXbsd " |
7005 cat > conftest.$ac_ext <<EOF | 7017 cat > conftest.$ac_ext <<EOF |
7006 #line 7007 "configure" | 7018 #line 7019 "configure" |
7007 #include "confdefs.h" | 7019 #include "confdefs.h" |
7008 | 7020 |
7009 int main() { | 7021 int main() { |
7010 main() | 7022 main() |
7011 ; return 0; } | 7023 ; return 0; } |
7012 EOF | 7024 EOF |
7013 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7014 rm -rf conftest* | 7026 rm -rf conftest* |
7015 eval "ac_cv_lib_$ac_lib_var=yes" | 7027 eval "ac_cv_lib_$ac_lib_var=yes" |
7016 else | 7028 else |
7017 echo "configure: failed program was:" >&5 | 7029 echo "configure: failed program was:" >&5 |
7018 cat conftest.$ac_ext >&5 | 7030 cat conftest.$ac_ext >&5 |
7045 fi | 7057 fi |
7046 | 7058 |
7047 fi | 7059 fi |
7048 if test "$with_msw" != "no"; then | 7060 if test "$with_msw" != "no"; then |
7049 echo "checking for MS-Windows" 1>&6 | 7061 echo "checking for MS-Windows" 1>&6 |
7050 echo "configure:7051: checking for MS-Windows" >&5 | 7062 echo "configure:7063: checking for MS-Windows" >&5 |
7051 | 7063 |
7052 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7064 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7053 echo "configure:7054: checking for main in -lgdi32" >&5 | 7065 echo "configure:7066: checking for main in -lgdi32" >&5 |
7054 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7066 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7055 | 7067 |
7056 xe_check_libs=" -lgdi32 " | 7068 xe_check_libs=" -lgdi32 " |
7057 cat > conftest.$ac_ext <<EOF | 7069 cat > conftest.$ac_ext <<EOF |
7058 #line 7059 "configure" | 7070 #line 7071 "configure" |
7059 #include "confdefs.h" | 7071 #include "confdefs.h" |
7060 | 7072 |
7061 int main() { | 7073 int main() { |
7062 main() | 7074 main() |
7063 ; return 0; } | 7075 ; return 0; } |
7064 EOF | 7076 EOF |
7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7066 rm -rf conftest* | 7078 rm -rf conftest* |
7067 eval "ac_cv_lib_$ac_lib_var=yes" | 7079 eval "ac_cv_lib_$ac_lib_var=yes" |
7068 else | 7080 else |
7069 echo "configure: failed program was:" >&5 | 7081 echo "configure: failed program was:" >&5 |
7070 cat conftest.$ac_ext >&5 | 7082 cat conftest.$ac_ext >&5 |
7133 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7145 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7134 echo " xemacs will be linked with \"dialog-msw.o\"" | 7146 echo " xemacs will be linked with \"dialog-msw.o\"" |
7135 fi | 7147 fi |
7136 fi | 7148 fi |
7137 cat > conftest.$ac_ext <<EOF | 7149 cat > conftest.$ac_ext <<EOF |
7138 #line 7139 "configure" | 7150 #line 7151 "configure" |
7139 #include "confdefs.h" | 7151 #include "confdefs.h" |
7140 #include <fcntl.h> | 7152 #include <fcntl.h> |
7141 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7153 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7142 EOF | 7154 EOF |
7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7155 if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7144 then | 7156 then |
7145 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF | 7157 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF |
7146 Defining HAVE_MSG_SELECT | 7158 Defining HAVE_MSG_SELECT |
7147 EOF | 7159 EOF |
7148 cat >> confdefs.h <<\EOF | 7160 cat >> confdefs.h <<\EOF |
7202 fi | 7214 fi |
7203 | 7215 |
7204 if test "$with_x11" = "yes"; then | 7216 if test "$with_x11" = "yes"; then |
7205 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7217 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7206 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7218 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7207 echo "configure:7208: checking for X11/extensions/shape.h" >&5 | 7219 echo "configure:7220: checking for X11/extensions/shape.h" >&5 |
7208 | 7220 |
7209 cat > conftest.$ac_ext <<EOF | 7221 cat > conftest.$ac_ext <<EOF |
7210 #line 7211 "configure" | 7222 #line 7223 "configure" |
7211 #include "confdefs.h" | 7223 #include "confdefs.h" |
7212 #include <X11/extensions/shape.h> | 7224 #include <X11/extensions/shape.h> |
7213 EOF | 7225 EOF |
7214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7215 { (eval echo configure:7216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7227 { (eval echo configure:7228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7217 if test -z "$ac_err"; then | 7229 if test -z "$ac_err"; then |
7218 rm -rf conftest* | 7230 rm -rf conftest* |
7219 eval "ac_cv_header_$ac_safe=yes" | 7231 eval "ac_cv_header_$ac_safe=yes" |
7220 else | 7232 else |
7262 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7274 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7263 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7275 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7264 esac | 7276 esac |
7265 | 7277 |
7266 echo "checking for WM_COMMAND option" 1>&6 | 7278 echo "checking for WM_COMMAND option" 1>&6 |
7267 echo "configure:7268: checking for WM_COMMAND option" >&5; | 7279 echo "configure:7280: checking for WM_COMMAND option" >&5; |
7268 if test "$with_wmcommand" != "no"; then | 7280 if test "$with_wmcommand" != "no"; then |
7269 { test "$extra_verbose" = "yes" && cat << \EOF | 7281 { test "$extra_verbose" = "yes" && cat << \EOF |
7270 Defining HAVE_WMCOMMAND | 7282 Defining HAVE_WMCOMMAND |
7271 EOF | 7283 EOF |
7272 cat >> confdefs.h <<\EOF | 7284 cat >> confdefs.h <<\EOF |
7277 fi | 7289 fi |
7278 | 7290 |
7279 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7291 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7280 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7292 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7281 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7293 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7282 echo "configure:7283: checking for X11/Xauth.h" >&5 | 7294 echo "configure:7295: checking for X11/Xauth.h" >&5 |
7283 | 7295 |
7284 cat > conftest.$ac_ext <<EOF | 7296 cat > conftest.$ac_ext <<EOF |
7285 #line 7286 "configure" | 7297 #line 7298 "configure" |
7286 #include "confdefs.h" | 7298 #include "confdefs.h" |
7287 #include <X11/Xauth.h> | 7299 #include <X11/Xauth.h> |
7288 EOF | 7300 EOF |
7289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7290 { (eval echo configure:7291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7302 { (eval echo configure:7303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7303 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7292 if test -z "$ac_err"; then | 7304 if test -z "$ac_err"; then |
7293 rm -rf conftest* | 7305 rm -rf conftest* |
7294 eval "ac_cv_header_$ac_safe=yes" | 7306 eval "ac_cv_header_$ac_safe=yes" |
7295 else | 7307 else |
7308 with_xauth=no | 7320 with_xauth=no |
7309 fi | 7321 fi |
7310 } | 7322 } |
7311 test -z "$with_xauth" && { | 7323 test -z "$with_xauth" && { |
7312 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7324 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7313 echo "configure:7314: checking for XauGetAuthByAddr in -lXau" >&5 | 7325 echo "configure:7326: checking for XauGetAuthByAddr in -lXau" >&5 |
7314 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7326 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7315 | 7327 |
7316 xe_check_libs=" -lXau " | 7328 xe_check_libs=" -lXau " |
7317 cat > conftest.$ac_ext <<EOF | 7329 cat > conftest.$ac_ext <<EOF |
7318 #line 7319 "configure" | 7330 #line 7331 "configure" |
7319 #include "confdefs.h" | 7331 #include "confdefs.h" |
7320 /* Override any gcc2 internal prototype to avoid an error. */ | 7332 /* Override any gcc2 internal prototype to avoid an error. */ |
7321 /* We use char because int might match the return type of a gcc2 | 7333 /* We use char because int might match the return type of a gcc2 |
7322 builtin and then its argument prototype would still apply. */ | 7334 builtin and then its argument prototype would still apply. */ |
7323 char XauGetAuthByAddr(); | 7335 char XauGetAuthByAddr(); |
7324 | 7336 |
7325 int main() { | 7337 int main() { |
7326 XauGetAuthByAddr() | 7338 XauGetAuthByAddr() |
7327 ; return 0; } | 7339 ; return 0; } |
7328 EOF | 7340 EOF |
7329 if { (eval echo configure:7330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7341 if { (eval echo configure:7342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7330 rm -rf conftest* | 7342 rm -rf conftest* |
7331 eval "ac_cv_lib_$ac_lib_var=yes" | 7343 eval "ac_cv_lib_$ac_lib_var=yes" |
7332 else | 7344 else |
7333 echo "configure: failed program was:" >&5 | 7345 echo "configure: failed program was:" >&5 |
7334 cat conftest.$ac_ext >&5 | 7346 cat conftest.$ac_ext >&5 |
7369 | 7381 |
7370 if test "$with_tooltalk" != "no" ; then | 7382 if test "$with_tooltalk" != "no" ; then |
7371 for dir in "" "Tt/" "desktop/" ; do | 7383 for dir in "" "Tt/" "desktop/" ; do |
7372 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7384 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7373 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7385 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7374 echo "configure:7375: checking for ${dir}tt_c.h" >&5 | 7386 echo "configure:7387: checking for ${dir}tt_c.h" >&5 |
7375 | 7387 |
7376 cat > conftest.$ac_ext <<EOF | 7388 cat > conftest.$ac_ext <<EOF |
7377 #line 7378 "configure" | 7389 #line 7390 "configure" |
7378 #include "confdefs.h" | 7390 #include "confdefs.h" |
7379 #include <${dir}tt_c.h> | 7391 #include <${dir}tt_c.h> |
7380 EOF | 7392 EOF |
7381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7382 { (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7394 { (eval echo configure:7395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7384 if test -z "$ac_err"; then | 7396 if test -z "$ac_err"; then |
7385 rm -rf conftest* | 7397 rm -rf conftest* |
7386 eval "ac_cv_header_$ac_safe=yes" | 7398 eval "ac_cv_header_$ac_safe=yes" |
7387 else | 7399 else |
7413 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7425 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7414 | 7426 |
7415 xe_msg_checking="for tt_message_create in -ltt" | 7427 xe_msg_checking="for tt_message_create in -ltt" |
7416 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7428 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7417 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7429 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7418 echo "configure:7419: checking "$xe_msg_checking"" >&5 | 7430 echo "configure:7431: checking "$xe_msg_checking"" >&5 |
7419 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7431 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7420 | 7432 |
7421 xe_check_libs=" -ltt $extra_libs" | 7433 xe_check_libs=" -ltt $extra_libs" |
7422 cat > conftest.$ac_ext <<EOF | 7434 cat > conftest.$ac_ext <<EOF |
7423 #line 7424 "configure" | 7435 #line 7436 "configure" |
7424 #include "confdefs.h" | 7436 #include "confdefs.h" |
7425 /* Override any gcc2 internal prototype to avoid an error. */ | 7437 /* Override any gcc2 internal prototype to avoid an error. */ |
7426 /* We use char because int might match the return type of a gcc2 | 7438 /* We use char because int might match the return type of a gcc2 |
7427 builtin and then its argument prototype would still apply. */ | 7439 builtin and then its argument prototype would still apply. */ |
7428 char tt_message_create(); | 7440 char tt_message_create(); |
7429 | 7441 |
7430 int main() { | 7442 int main() { |
7431 tt_message_create() | 7443 tt_message_create() |
7432 ; return 0; } | 7444 ; return 0; } |
7433 EOF | 7445 EOF |
7434 if { (eval echo configure:7435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7446 if { (eval echo configure:7447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7435 rm -rf conftest* | 7447 rm -rf conftest* |
7436 eval "ac_cv_lib_$ac_lib_var=yes" | 7448 eval "ac_cv_lib_$ac_lib_var=yes" |
7437 else | 7449 else |
7438 echo "configure: failed program was:" >&5 | 7450 echo "configure: failed program was:" >&5 |
7439 cat conftest.$ac_ext >&5 | 7451 cat conftest.$ac_ext >&5 |
7486 fi | 7498 fi |
7487 fi | 7499 fi |
7488 | 7500 |
7489 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7501 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7490 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7502 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7491 echo "configure:7492: checking for Dt/Dt.h" >&5 | 7503 echo "configure:7504: checking for Dt/Dt.h" >&5 |
7492 | 7504 |
7493 cat > conftest.$ac_ext <<EOF | 7505 cat > conftest.$ac_ext <<EOF |
7494 #line 7495 "configure" | 7506 #line 7507 "configure" |
7495 #include "confdefs.h" | 7507 #include "confdefs.h" |
7496 #include <Dt/Dt.h> | 7508 #include <Dt/Dt.h> |
7497 EOF | 7509 EOF |
7498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7499 { (eval echo configure:7500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7511 { (eval echo configure:7512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7501 if test -z "$ac_err"; then | 7513 if test -z "$ac_err"; then |
7502 rm -rf conftest* | 7514 rm -rf conftest* |
7503 eval "ac_cv_header_$ac_safe=yes" | 7515 eval "ac_cv_header_$ac_safe=yes" |
7504 else | 7516 else |
7517 with_cde=no | 7529 with_cde=no |
7518 fi | 7530 fi |
7519 } | 7531 } |
7520 test -z "$with_cde" && { | 7532 test -z "$with_cde" && { |
7521 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7533 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7522 echo "configure:7523: checking for DtDndDragStart in -lDtSvc" >&5 | 7534 echo "configure:7535: checking for DtDndDragStart in -lDtSvc" >&5 |
7523 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7535 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7524 | 7536 |
7525 xe_check_libs=" -lDtSvc " | 7537 xe_check_libs=" -lDtSvc " |
7526 cat > conftest.$ac_ext <<EOF | 7538 cat > conftest.$ac_ext <<EOF |
7527 #line 7528 "configure" | 7539 #line 7540 "configure" |
7528 #include "confdefs.h" | 7540 #include "confdefs.h" |
7529 /* Override any gcc2 internal prototype to avoid an error. */ | 7541 /* Override any gcc2 internal prototype to avoid an error. */ |
7530 /* We use char because int might match the return type of a gcc2 | 7542 /* We use char because int might match the return type of a gcc2 |
7531 builtin and then its argument prototype would still apply. */ | 7543 builtin and then its argument prototype would still apply. */ |
7532 char DtDndDragStart(); | 7544 char DtDndDragStart(); |
7533 | 7545 |
7534 int main() { | 7546 int main() { |
7535 DtDndDragStart() | 7547 DtDndDragStart() |
7536 ; return 0; } | 7548 ; return 0; } |
7537 EOF | 7549 EOF |
7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7550 if { (eval echo configure:7551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7539 rm -rf conftest* | 7551 rm -rf conftest* |
7540 eval "ac_cv_lib_$ac_lib_var=yes" | 7552 eval "ac_cv_lib_$ac_lib_var=yes" |
7541 else | 7553 else |
7542 echo "configure: failed program was:" >&5 | 7554 echo "configure: failed program was:" >&5 |
7543 cat conftest.$ac_ext >&5 | 7555 cat conftest.$ac_ext >&5 |
7614 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7626 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7615 fi | 7627 fi |
7616 | 7628 |
7617 if test "$with_dragndrop" != "no" ; then | 7629 if test "$with_dragndrop" != "no" ; then |
7618 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7630 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7619 echo "configure:7620: checking if drag and drop API is needed" >&5 | 7631 echo "configure:7632: checking if drag and drop API is needed" >&5 |
7620 if test -n "$dragndrop_proto" ; then | 7632 if test -n "$dragndrop_proto" ; then |
7621 with_dragndrop=yes | 7633 with_dragndrop=yes |
7622 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7634 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7623 { test "$extra_verbose" = "yes" && cat << \EOF | 7635 { test "$extra_verbose" = "yes" && cat << \EOF |
7624 Defining HAVE_DRAGNDROP | 7636 Defining HAVE_DRAGNDROP |
7634 echo "$ac_t""no" 1>&6 | 7646 echo "$ac_t""no" 1>&6 |
7635 fi | 7647 fi |
7636 fi | 7648 fi |
7637 | 7649 |
7638 echo "checking for LDAP" 1>&6 | 7650 echo "checking for LDAP" 1>&6 |
7639 echo "configure:7640: checking for LDAP" >&5 | 7651 echo "configure:7652: checking for LDAP" >&5 |
7640 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7652 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7641 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7653 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7642 echo "configure:7643: checking for ldap.h" >&5 | 7654 echo "configure:7655: checking for ldap.h" >&5 |
7643 | 7655 |
7644 cat > conftest.$ac_ext <<EOF | 7656 cat > conftest.$ac_ext <<EOF |
7645 #line 7646 "configure" | 7657 #line 7658 "configure" |
7646 #include "confdefs.h" | 7658 #include "confdefs.h" |
7647 #include <ldap.h> | 7659 #include <ldap.h> |
7648 EOF | 7660 EOF |
7649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7650 { (eval echo configure:7651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7662 { (eval echo configure:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7652 if test -z "$ac_err"; then | 7664 if test -z "$ac_err"; then |
7653 rm -rf conftest* | 7665 rm -rf conftest* |
7654 eval "ac_cv_header_$ac_safe=yes" | 7666 eval "ac_cv_header_$ac_safe=yes" |
7655 else | 7667 else |
7668 with_ldap=no | 7680 with_ldap=no |
7669 fi | 7681 fi |
7670 } | 7682 } |
7671 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7683 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7672 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7684 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7673 echo "configure:7674: checking for lber.h" >&5 | 7685 echo "configure:7686: checking for lber.h" >&5 |
7674 | 7686 |
7675 cat > conftest.$ac_ext <<EOF | 7687 cat > conftest.$ac_ext <<EOF |
7676 #line 7677 "configure" | 7688 #line 7689 "configure" |
7677 #include "confdefs.h" | 7689 #include "confdefs.h" |
7678 #include <lber.h> | 7690 #include <lber.h> |
7679 EOF | 7691 EOF |
7680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7681 { (eval echo configure:7682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7693 { (eval echo configure:7694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7683 if test -z "$ac_err"; then | 7695 if test -z "$ac_err"; then |
7684 rm -rf conftest* | 7696 rm -rf conftest* |
7685 eval "ac_cv_header_$ac_safe=yes" | 7697 eval "ac_cv_header_$ac_safe=yes" |
7686 else | 7698 else |
7700 fi | 7712 fi |
7701 } | 7713 } |
7702 if test "$with_ldap" != "no"; then | 7714 if test "$with_ldap" != "no"; then |
7703 | 7715 |
7704 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7716 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7705 echo "configure:7706: checking for ldap_search in -lldap" >&5 | 7717 echo "configure:7718: checking for ldap_search in -lldap" >&5 |
7706 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7718 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7707 | 7719 |
7708 xe_check_libs=" -lldap " | 7720 xe_check_libs=" -lldap " |
7709 cat > conftest.$ac_ext <<EOF | 7721 cat > conftest.$ac_ext <<EOF |
7710 #line 7711 "configure" | 7722 #line 7723 "configure" |
7711 #include "confdefs.h" | 7723 #include "confdefs.h" |
7712 /* Override any gcc2 internal prototype to avoid an error. */ | 7724 /* Override any gcc2 internal prototype to avoid an error. */ |
7713 /* We use char because int might match the return type of a gcc2 | 7725 /* We use char because int might match the return type of a gcc2 |
7714 builtin and then its argument prototype would still apply. */ | 7726 builtin and then its argument prototype would still apply. */ |
7715 char ldap_search(); | 7727 char ldap_search(); |
7716 | 7728 |
7717 int main() { | 7729 int main() { |
7718 ldap_search() | 7730 ldap_search() |
7719 ; return 0; } | 7731 ; return 0; } |
7720 EOF | 7732 EOF |
7721 if { (eval echo configure:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7722 rm -rf conftest* | 7734 rm -rf conftest* |
7723 eval "ac_cv_lib_$ac_lib_var=yes" | 7735 eval "ac_cv_lib_$ac_lib_var=yes" |
7724 else | 7736 else |
7725 echo "configure: failed program was:" >&5 | 7737 echo "configure: failed program was:" >&5 |
7726 cat conftest.$ac_ext >&5 | 7738 cat conftest.$ac_ext >&5 |
7741 | 7753 |
7742 test "$with_ldap_nolber" = "no" && { | 7754 test "$with_ldap_nolber" = "no" && { |
7743 xe_msg_checking="for ldap_open in -lldap" | 7755 xe_msg_checking="for ldap_open in -lldap" |
7744 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7756 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7745 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7757 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7746 echo "configure:7747: checking "$xe_msg_checking"" >&5 | 7758 echo "configure:7759: checking "$xe_msg_checking"" >&5 |
7747 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7759 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7748 | 7760 |
7749 xe_check_libs=" -lldap -llber" | 7761 xe_check_libs=" -lldap -llber" |
7750 cat > conftest.$ac_ext <<EOF | 7762 cat > conftest.$ac_ext <<EOF |
7751 #line 7752 "configure" | 7763 #line 7764 "configure" |
7752 #include "confdefs.h" | 7764 #include "confdefs.h" |
7753 /* Override any gcc2 internal prototype to avoid an error. */ | 7765 /* Override any gcc2 internal prototype to avoid an error. */ |
7754 /* We use char because int might match the return type of a gcc2 | 7766 /* We use char because int might match the return type of a gcc2 |
7755 builtin and then its argument prototype would still apply. */ | 7767 builtin and then its argument prototype would still apply. */ |
7756 char ldap_open(); | 7768 char ldap_open(); |
7757 | 7769 |
7758 int main() { | 7770 int main() { |
7759 ldap_open() | 7771 ldap_open() |
7760 ; return 0; } | 7772 ; return 0; } |
7761 EOF | 7773 EOF |
7762 if { (eval echo configure:7763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7774 if { (eval echo configure:7775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7763 rm -rf conftest* | 7775 rm -rf conftest* |
7764 eval "ac_cv_lib_$ac_lib_var=yes" | 7776 eval "ac_cv_lib_$ac_lib_var=yes" |
7765 else | 7777 else |
7766 echo "configure: failed program was:" >&5 | 7778 echo "configure: failed program was:" >&5 |
7767 cat conftest.$ac_ext >&5 | 7779 cat conftest.$ac_ext >&5 |
7782 } | 7794 } |
7783 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7795 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7784 xe_msg_checking="for ldap_open in -lldap" | 7796 xe_msg_checking="for ldap_open in -lldap" |
7785 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7797 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7786 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7798 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7787 echo "configure:7788: checking "$xe_msg_checking"" >&5 | 7799 echo "configure:7800: checking "$xe_msg_checking"" >&5 |
7788 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7800 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7789 | 7801 |
7790 xe_check_libs=" -lldap -llber -lkrb" | 7802 xe_check_libs=" -lldap -llber -lkrb" |
7791 cat > conftest.$ac_ext <<EOF | 7803 cat > conftest.$ac_ext <<EOF |
7792 #line 7793 "configure" | 7804 #line 7805 "configure" |
7793 #include "confdefs.h" | 7805 #include "confdefs.h" |
7794 /* Override any gcc2 internal prototype to avoid an error. */ | 7806 /* Override any gcc2 internal prototype to avoid an error. */ |
7795 /* We use char because int might match the return type of a gcc2 | 7807 /* We use char because int might match the return type of a gcc2 |
7796 builtin and then its argument prototype would still apply. */ | 7808 builtin and then its argument prototype would still apply. */ |
7797 char ldap_open(); | 7809 char ldap_open(); |
7798 | 7810 |
7799 int main() { | 7811 int main() { |
7800 ldap_open() | 7812 ldap_open() |
7801 ; return 0; } | 7813 ; return 0; } |
7802 EOF | 7814 EOF |
7803 if { (eval echo configure:7804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7804 rm -rf conftest* | 7816 rm -rf conftest* |
7805 eval "ac_cv_lib_$ac_lib_var=yes" | 7817 eval "ac_cv_lib_$ac_lib_var=yes" |
7806 else | 7818 else |
7807 echo "configure: failed program was:" >&5 | 7819 echo "configure: failed program was:" >&5 |
7808 cat conftest.$ac_ext >&5 | 7820 cat conftest.$ac_ext >&5 |
7823 } | 7835 } |
7824 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7836 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7825 xe_msg_checking="for ldap_open in -lldap" | 7837 xe_msg_checking="for ldap_open in -lldap" |
7826 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7838 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7827 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7839 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7828 echo "configure:7829: checking "$xe_msg_checking"" >&5 | 7840 echo "configure:7841: checking "$xe_msg_checking"" >&5 |
7829 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7841 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7830 | 7842 |
7831 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7843 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7832 cat > conftest.$ac_ext <<EOF | 7844 cat > conftest.$ac_ext <<EOF |
7833 #line 7834 "configure" | 7845 #line 7846 "configure" |
7834 #include "confdefs.h" | 7846 #include "confdefs.h" |
7835 /* Override any gcc2 internal prototype to avoid an error. */ | 7847 /* Override any gcc2 internal prototype to avoid an error. */ |
7836 /* We use char because int might match the return type of a gcc2 | 7848 /* We use char because int might match the return type of a gcc2 |
7837 builtin and then its argument prototype would still apply. */ | 7849 builtin and then its argument prototype would still apply. */ |
7838 char ldap_open(); | 7850 char ldap_open(); |
7839 | 7851 |
7840 int main() { | 7852 int main() { |
7841 ldap_open() | 7853 ldap_open() |
7842 ; return 0; } | 7854 ; return 0; } |
7843 EOF | 7855 EOF |
7844 if { (eval echo configure:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7856 if { (eval echo configure:7857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7845 rm -rf conftest* | 7857 rm -rf conftest* |
7846 eval "ac_cv_lib_$ac_lib_var=yes" | 7858 eval "ac_cv_lib_$ac_lib_var=yes" |
7847 else | 7859 else |
7848 echo "configure: failed program was:" >&5 | 7860 echo "configure: failed program was:" >&5 |
7849 cat conftest.$ac_ext >&5 | 7861 cat conftest.$ac_ext >&5 |
7890 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7902 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7891 fi | 7903 fi |
7892 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7904 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7893 do | 7905 do |
7894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7895 echo "configure:7896: checking for $ac_func" >&5 | 7907 echo "configure:7908: checking for $ac_func" >&5 |
7896 | 7908 |
7897 cat > conftest.$ac_ext <<EOF | 7909 cat > conftest.$ac_ext <<EOF |
7898 #line 7899 "configure" | 7910 #line 7911 "configure" |
7899 #include "confdefs.h" | 7911 #include "confdefs.h" |
7900 /* System header to define __stub macros and hopefully few prototypes, | 7912 /* System header to define __stub macros and hopefully few prototypes, |
7901 which can conflict with char $ac_func(); below. */ | 7913 which can conflict with char $ac_func(); below. */ |
7902 #include <assert.h> | 7914 #include <assert.h> |
7903 /* Override any gcc2 internal prototype to avoid an error. */ | 7915 /* Override any gcc2 internal prototype to avoid an error. */ |
7916 $ac_func(); | 7928 $ac_func(); |
7917 #endif | 7929 #endif |
7918 | 7930 |
7919 ; return 0; } | 7931 ; return 0; } |
7920 EOF | 7932 EOF |
7921 if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7922 rm -rf conftest* | 7934 rm -rf conftest* |
7923 eval "ac_cv_func_$ac_func=yes" | 7935 eval "ac_cv_func_$ac_func=yes" |
7924 else | 7936 else |
7925 echo "configure: failed program was:" >&5 | 7937 echo "configure: failed program was:" >&5 |
7926 cat conftest.$ac_ext >&5 | 7938 cat conftest.$ac_ext >&5 |
7947 | 7959 |
7948 fi | 7960 fi |
7949 | 7961 |
7950 if test "$with_postgresql" != "no"; then | 7962 if test "$with_postgresql" != "no"; then |
7951 echo "checking for PostgreSQL" 1>&6 | 7963 echo "checking for PostgreSQL" 1>&6 |
7952 echo "configure:7953: checking for PostgreSQL" >&5 | 7964 echo "configure:7965: checking for PostgreSQL" >&5 |
7953 | 7965 |
7954 for header_dir in "" "pgsql/" "postgresql/"; do | 7966 for header_dir in "" "pgsql/" "postgresql/"; do |
7955 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7967 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7956 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7968 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7957 echo "configure:7958: checking for ${header_dir}libpq-fe.h" >&5 | 7969 echo "configure:7970: checking for ${header_dir}libpq-fe.h" >&5 |
7958 | 7970 |
7959 cat > conftest.$ac_ext <<EOF | 7971 cat > conftest.$ac_ext <<EOF |
7960 #line 7961 "configure" | 7972 #line 7973 "configure" |
7961 #include "confdefs.h" | 7973 #include "confdefs.h" |
7962 #include <${header_dir}libpq-fe.h> | 7974 #include <${header_dir}libpq-fe.h> |
7963 EOF | 7975 EOF |
7964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7965 { (eval echo configure:7966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7977 { (eval echo configure:7978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7967 if test -z "$ac_err"; then | 7979 if test -z "$ac_err"; then |
7968 rm -rf conftest* | 7980 rm -rf conftest* |
7969 eval "ac_cv_header_$ac_safe=yes" | 7981 eval "ac_cv_header_$ac_safe=yes" |
7970 else | 7982 else |
7984 | 7996 |
7985 done | 7997 done |
7986 | 7998 |
7987 test -n "$libpq_fe_h_file" && { | 7999 test -n "$libpq_fe_h_file" && { |
7988 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8000 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7989 echo "configure:7990: checking for PQconnectdb in -lpq" >&5 | 8001 echo "configure:8002: checking for PQconnectdb in -lpq" >&5 |
7990 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8002 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7991 | 8003 |
7992 xe_check_libs=" -lpq " | 8004 xe_check_libs=" -lpq " |
7993 cat > conftest.$ac_ext <<EOF | 8005 cat > conftest.$ac_ext <<EOF |
7994 #line 7995 "configure" | 8006 #line 8007 "configure" |
7995 #include "confdefs.h" | 8007 #include "confdefs.h" |
7996 /* Override any gcc2 internal prototype to avoid an error. */ | 8008 /* Override any gcc2 internal prototype to avoid an error. */ |
7997 /* We use char because int might match the return type of a gcc2 | 8009 /* We use char because int might match the return type of a gcc2 |
7998 builtin and then its argument prototype would still apply. */ | 8010 builtin and then its argument prototype would still apply. */ |
7999 char PQconnectdb(); | 8011 char PQconnectdb(); |
8000 | 8012 |
8001 int main() { | 8013 int main() { |
8002 PQconnectdb() | 8014 PQconnectdb() |
8003 ; return 0; } | 8015 ; return 0; } |
8004 EOF | 8016 EOF |
8005 if { (eval echo configure:8006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8017 if { (eval echo configure:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8006 rm -rf conftest* | 8018 rm -rf conftest* |
8007 eval "ac_cv_lib_$ac_lib_var=yes" | 8019 eval "ac_cv_lib_$ac_lib_var=yes" |
8008 else | 8020 else |
8009 echo "configure: failed program was:" >&5 | 8021 echo "configure: failed program was:" >&5 |
8010 cat conftest.$ac_ext >&5 | 8022 cat conftest.$ac_ext >&5 |
8033 EOF | 8045 EOF |
8034 } | 8046 } |
8035 | 8047 |
8036 | 8048 |
8037 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8049 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8038 echo "configure:8039: checking for PQconnectStart in -lpq" >&5 | 8050 echo "configure:8051: checking for PQconnectStart in -lpq" >&5 |
8039 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8051 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8040 | 8052 |
8041 xe_check_libs=" -lpq " | 8053 xe_check_libs=" -lpq " |
8042 cat > conftest.$ac_ext <<EOF | 8054 cat > conftest.$ac_ext <<EOF |
8043 #line 8044 "configure" | 8055 #line 8056 "configure" |
8044 #include "confdefs.h" | 8056 #include "confdefs.h" |
8045 /* Override any gcc2 internal prototype to avoid an error. */ | 8057 /* Override any gcc2 internal prototype to avoid an error. */ |
8046 /* 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 |
8047 builtin and then its argument prototype would still apply. */ | 8059 builtin and then its argument prototype would still apply. */ |
8048 char PQconnectStart(); | 8060 char PQconnectStart(); |
8049 | 8061 |
8050 int main() { | 8062 int main() { |
8051 PQconnectStart() | 8063 PQconnectStart() |
8052 ; return 0; } | 8064 ; return 0; } |
8053 EOF | 8065 EOF |
8054 if { (eval echo configure:8055: \"$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 |
8055 rm -rf conftest* | 8067 rm -rf conftest* |
8056 eval "ac_cv_lib_$ac_lib_var=yes" | 8068 eval "ac_cv_lib_$ac_lib_var=yes" |
8057 else | 8069 else |
8058 echo "configure: failed program was:" >&5 | 8070 echo "configure: failed program was:" >&5 |
8059 cat conftest.$ac_ext >&5 | 8071 cat conftest.$ac_ext >&5 |
8097 fi | 8109 fi |
8098 | 8110 |
8099 | 8111 |
8100 if test "$window_system" != "none"; then | 8112 if test "$window_system" != "none"; then |
8101 echo "checking for graphics libraries" 1>&6 | 8113 echo "checking for graphics libraries" 1>&6 |
8102 echo "configure:8103: checking for graphics libraries" >&5 | 8114 echo "configure:8115: checking for graphics libraries" >&5 |
8103 | 8115 |
8104 xpm_problem="" | 8116 xpm_problem="" |
8105 if test -z "$with_xpm"; then | 8117 if test -z "$with_xpm"; then |
8106 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8118 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8107 echo "configure:8108: checking for Xpm - no older than 3.4f" >&5 | 8119 echo "configure:8120: checking for Xpm - no older than 3.4f" >&5 |
8108 xe_check_libs=-lXpm | 8120 xe_check_libs=-lXpm |
8109 cat > conftest.$ac_ext <<EOF | 8121 cat > conftest.$ac_ext <<EOF |
8110 #line 8111 "configure" | 8122 #line 8123 "configure" |
8111 #include "confdefs.h" | 8123 #include "confdefs.h" |
8112 #define XPM_NUMBERS | 8124 #define XPM_NUMBERS |
8113 #include <X11/xpm.h> | 8125 #include <X11/xpm.h> |
8114 int main(int c, char **v) { | 8126 int main(int c, char **v) { |
8115 return c == 1 ? 0 : | 8127 return c == 1 ? 0 : |
8116 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8128 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8117 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8129 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8118 EOF | 8130 EOF |
8119 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8120 then | 8132 then |
8121 ./conftest dummy_arg; xpm_status=$?; | 8133 ./conftest dummy_arg; xpm_status=$?; |
8122 if test "$xpm_status" = "0"; then | 8134 if test "$xpm_status" = "0"; then |
8123 with_xpm=yes; | 8135 with_xpm=yes; |
8124 else | 8136 else |
8156 EOF | 8168 EOF |
8157 } | 8169 } |
8158 | 8170 |
8159 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8171 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8160 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8172 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8161 echo "configure:8162: checking for \"FOR_MSW\" xpm" >&5 | 8173 echo "configure:8174: checking for \"FOR_MSW\" xpm" >&5 |
8162 xe_check_libs=-lXpm | 8174 xe_check_libs=-lXpm |
8163 cat > conftest.$ac_ext <<EOF | 8175 cat > conftest.$ac_ext <<EOF |
8164 #line 8165 "configure" | 8176 #line 8177 "configure" |
8165 #include "confdefs.h" | 8177 #include "confdefs.h" |
8166 | 8178 |
8167 int main() { | 8179 int main() { |
8168 XpmCreatePixmapFromData() | 8180 XpmCreatePixmapFromData() |
8169 ; return 0; } | 8181 ; return 0; } |
8170 EOF | 8182 EOF |
8171 if { (eval echo configure:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8183 if { (eval echo configure:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8172 rm -rf conftest* | 8184 rm -rf conftest* |
8173 xpm_for_msw=no | 8185 xpm_for_msw=no |
8174 else | 8186 else |
8175 echo "configure: failed program was:" >&5 | 8187 echo "configure: failed program was:" >&5 |
8176 cat conftest.$ac_ext >&5 | 8188 cat conftest.$ac_ext >&5 |
8192 fi | 8204 fi |
8193 fi | 8205 fi |
8194 | 8206 |
8195 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8207 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8196 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8208 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8197 echo "configure:8198: checking for compface.h" >&5 | 8209 echo "configure:8210: checking for compface.h" >&5 |
8198 | 8210 |
8199 cat > conftest.$ac_ext <<EOF | 8211 cat > conftest.$ac_ext <<EOF |
8200 #line 8201 "configure" | 8212 #line 8213 "configure" |
8201 #include "confdefs.h" | 8213 #include "confdefs.h" |
8202 #include <compface.h> | 8214 #include <compface.h> |
8203 EOF | 8215 EOF |
8204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8205 { (eval echo configure:8206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8217 { (eval echo configure:8218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8207 if test -z "$ac_err"; then | 8219 if test -z "$ac_err"; then |
8208 rm -rf conftest* | 8220 rm -rf conftest* |
8209 eval "ac_cv_header_$ac_safe=yes" | 8221 eval "ac_cv_header_$ac_safe=yes" |
8210 else | 8222 else |
8223 with_xface=no | 8235 with_xface=no |
8224 fi | 8236 fi |
8225 } | 8237 } |
8226 test -z "$with_xface" && { | 8238 test -z "$with_xface" && { |
8227 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8239 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8228 echo "configure:8229: checking for UnGenFace in -lcompface" >&5 | 8240 echo "configure:8241: checking for UnGenFace in -lcompface" >&5 |
8229 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8241 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8230 | 8242 |
8231 xe_check_libs=" -lcompface " | 8243 xe_check_libs=" -lcompface " |
8232 cat > conftest.$ac_ext <<EOF | 8244 cat > conftest.$ac_ext <<EOF |
8233 #line 8234 "configure" | 8245 #line 8246 "configure" |
8234 #include "confdefs.h" | 8246 #include "confdefs.h" |
8235 /* Override any gcc2 internal prototype to avoid an error. */ | 8247 /* Override any gcc2 internal prototype to avoid an error. */ |
8236 /* We use char because int might match the return type of a gcc2 | 8248 /* We use char because int might match the return type of a gcc2 |
8237 builtin and then its argument prototype would still apply. */ | 8249 builtin and then its argument prototype would still apply. */ |
8238 char UnGenFace(); | 8250 char UnGenFace(); |
8239 | 8251 |
8240 int main() { | 8252 int main() { |
8241 UnGenFace() | 8253 UnGenFace() |
8242 ; return 0; } | 8254 ; return 0; } |
8243 EOF | 8255 EOF |
8244 if { (eval echo configure:8245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8256 if { (eval echo configure:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8245 rm -rf conftest* | 8257 rm -rf conftest* |
8246 eval "ac_cv_lib_$ac_lib_var=yes" | 8258 eval "ac_cv_lib_$ac_lib_var=yes" |
8247 else | 8259 else |
8248 echo "configure: failed program was:" >&5 | 8260 echo "configure: failed program was:" >&5 |
8249 cat conftest.$ac_ext >&5 | 8261 cat conftest.$ac_ext >&5 |
8291 fi | 8303 fi |
8292 | 8304 |
8293 if test "$with_png $with_tiff" != "no no"; then | 8305 if test "$with_png $with_tiff" != "no no"; then |
8294 | 8306 |
8295 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8307 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8296 echo "configure:8297: checking for inflate in -lc" >&5 | 8308 echo "configure:8309: checking for inflate in -lc" >&5 |
8297 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8309 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8298 | 8310 |
8299 xe_check_libs=" -lc " | 8311 xe_check_libs=" -lc " |
8300 cat > conftest.$ac_ext <<EOF | 8312 cat > conftest.$ac_ext <<EOF |
8301 #line 8302 "configure" | 8313 #line 8314 "configure" |
8302 #include "confdefs.h" | 8314 #include "confdefs.h" |
8303 /* Override any gcc2 internal prototype to avoid an error. */ | 8315 /* Override any gcc2 internal prototype to avoid an error. */ |
8304 /* We use char because int might match the return type of a gcc2 | 8316 /* We use char because int might match the return type of a gcc2 |
8305 builtin and then its argument prototype would still apply. */ | 8317 builtin and then its argument prototype would still apply. */ |
8306 char inflate(); | 8318 char inflate(); |
8307 | 8319 |
8308 int main() { | 8320 int main() { |
8309 inflate() | 8321 inflate() |
8310 ; return 0; } | 8322 ; return 0; } |
8311 EOF | 8323 EOF |
8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8324 if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8313 rm -rf conftest* | 8325 rm -rf conftest* |
8314 eval "ac_cv_lib_$ac_lib_var=yes" | 8326 eval "ac_cv_lib_$ac_lib_var=yes" |
8315 else | 8327 else |
8316 echo "configure: failed program was:" >&5 | 8328 echo "configure: failed program was:" >&5 |
8317 cat conftest.$ac_ext >&5 | 8329 cat conftest.$ac_ext >&5 |
8326 : | 8338 : |
8327 else | 8339 else |
8328 echo "$ac_t""no" 1>&6 | 8340 echo "$ac_t""no" 1>&6 |
8329 | 8341 |
8330 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8342 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8331 echo "configure:8332: checking for inflate in -lz" >&5 | 8343 echo "configure:8344: checking for inflate in -lz" >&5 |
8332 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8344 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8333 | 8345 |
8334 xe_check_libs=" -lz " | 8346 xe_check_libs=" -lz " |
8335 cat > conftest.$ac_ext <<EOF | 8347 cat > conftest.$ac_ext <<EOF |
8336 #line 8337 "configure" | 8348 #line 8349 "configure" |
8337 #include "confdefs.h" | 8349 #include "confdefs.h" |
8338 /* Override any gcc2 internal prototype to avoid an error. */ | 8350 /* Override any gcc2 internal prototype to avoid an error. */ |
8339 /* We use char because int might match the return type of a gcc2 | 8351 /* We use char because int might match the return type of a gcc2 |
8340 builtin and then its argument prototype would still apply. */ | 8352 builtin and then its argument prototype would still apply. */ |
8341 char inflate(); | 8353 char inflate(); |
8342 | 8354 |
8343 int main() { | 8355 int main() { |
8344 inflate() | 8356 inflate() |
8345 ; return 0; } | 8357 ; return 0; } |
8346 EOF | 8358 EOF |
8347 if { (eval echo configure:8348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8359 if { (eval echo configure:8360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8348 rm -rf conftest* | 8360 rm -rf conftest* |
8349 eval "ac_cv_lib_$ac_lib_var=yes" | 8361 eval "ac_cv_lib_$ac_lib_var=yes" |
8350 else | 8362 else |
8351 echo "configure: failed program was:" >&5 | 8363 echo "configure: failed program was:" >&5 |
8352 cat conftest.$ac_ext >&5 | 8364 cat conftest.$ac_ext >&5 |
8361 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8373 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8362 else | 8374 else |
8363 echo "$ac_t""no" 1>&6 | 8375 echo "$ac_t""no" 1>&6 |
8364 | 8376 |
8365 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8377 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8366 echo "configure:8367: checking for inflate in -lgz" >&5 | 8378 echo "configure:8379: checking for inflate in -lgz" >&5 |
8367 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8379 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8368 | 8380 |
8369 xe_check_libs=" -lgz " | 8381 xe_check_libs=" -lgz " |
8370 cat > conftest.$ac_ext <<EOF | 8382 cat > conftest.$ac_ext <<EOF |
8371 #line 8372 "configure" | 8383 #line 8384 "configure" |
8372 #include "confdefs.h" | 8384 #include "confdefs.h" |
8373 /* Override any gcc2 internal prototype to avoid an error. */ | 8385 /* Override any gcc2 internal prototype to avoid an error. */ |
8374 /* We use char because int might match the return type of a gcc2 | 8386 /* We use char because int might match the return type of a gcc2 |
8375 builtin and then its argument prototype would still apply. */ | 8387 builtin and then its argument prototype would still apply. */ |
8376 char inflate(); | 8388 char inflate(); |
8377 | 8389 |
8378 int main() { | 8390 int main() { |
8379 inflate() | 8391 inflate() |
8380 ; return 0; } | 8392 ; return 0; } |
8381 EOF | 8393 EOF |
8382 if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8383 rm -rf conftest* | 8395 rm -rf conftest* |
8384 eval "ac_cv_lib_$ac_lib_var=yes" | 8396 eval "ac_cv_lib_$ac_lib_var=yes" |
8385 else | 8397 else |
8386 echo "configure: failed program was:" >&5 | 8398 echo "configure: failed program was:" >&5 |
8387 cat conftest.$ac_ext >&5 | 8399 cat conftest.$ac_ext >&5 |
8407 | 8419 |
8408 fi | 8420 fi |
8409 | 8421 |
8410 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8422 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8411 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8423 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8412 echo "configure:8413: checking for jpeglib.h" >&5 | 8424 echo "configure:8425: checking for jpeglib.h" >&5 |
8413 | 8425 |
8414 cat > conftest.$ac_ext <<EOF | 8426 cat > conftest.$ac_ext <<EOF |
8415 #line 8416 "configure" | 8427 #line 8428 "configure" |
8416 #include "confdefs.h" | 8428 #include "confdefs.h" |
8417 #include <jpeglib.h> | 8429 #include <jpeglib.h> |
8418 EOF | 8430 EOF |
8419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8420 { (eval echo configure:8421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8432 { (eval echo configure:8433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8422 if test -z "$ac_err"; then | 8434 if test -z "$ac_err"; then |
8423 rm -rf conftest* | 8435 rm -rf conftest* |
8424 eval "ac_cv_header_$ac_safe=yes" | 8436 eval "ac_cv_header_$ac_safe=yes" |
8425 else | 8437 else |
8438 with_jpeg=no | 8450 with_jpeg=no |
8439 fi | 8451 fi |
8440 } | 8452 } |
8441 test -z "$with_jpeg" && { | 8453 test -z "$with_jpeg" && { |
8442 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8454 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8443 echo "configure:8444: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8455 echo "configure:8456: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8444 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8456 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8445 | 8457 |
8446 xe_check_libs=" -ljpeg " | 8458 xe_check_libs=" -ljpeg " |
8447 cat > conftest.$ac_ext <<EOF | 8459 cat > conftest.$ac_ext <<EOF |
8448 #line 8449 "configure" | 8460 #line 8461 "configure" |
8449 #include "confdefs.h" | 8461 #include "confdefs.h" |
8450 /* Override any gcc2 internal prototype to avoid an error. */ | 8462 /* Override any gcc2 internal prototype to avoid an error. */ |
8451 /* We use char because int might match the return type of a gcc2 | 8463 /* We use char because int might match the return type of a gcc2 |
8452 builtin and then its argument prototype would still apply. */ | 8464 builtin and then its argument prototype would still apply. */ |
8453 char jpeg_destroy_decompress(); | 8465 char jpeg_destroy_decompress(); |
8454 | 8466 |
8455 int main() { | 8467 int main() { |
8456 jpeg_destroy_decompress() | 8468 jpeg_destroy_decompress() |
8457 ; return 0; } | 8469 ; return 0; } |
8458 EOF | 8470 EOF |
8459 if { (eval echo configure:8460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8471 if { (eval echo configure:8472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8460 rm -rf conftest* | 8472 rm -rf conftest* |
8461 eval "ac_cv_lib_$ac_lib_var=yes" | 8473 eval "ac_cv_lib_$ac_lib_var=yes" |
8462 else | 8474 else |
8463 echo "configure: failed program was:" >&5 | 8475 echo "configure: failed program was:" >&5 |
8464 cat conftest.$ac_ext >&5 | 8476 cat conftest.$ac_ext >&5 |
8490 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8502 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8491 fi | 8503 fi |
8492 | 8504 |
8493 png_problem="" | 8505 png_problem="" |
8494 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8506 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8495 echo "configure:8496: checking for pow" >&5 | 8507 echo "configure:8508: checking for pow" >&5 |
8496 | 8508 |
8497 cat > conftest.$ac_ext <<EOF | 8509 cat > conftest.$ac_ext <<EOF |
8498 #line 8499 "configure" | 8510 #line 8511 "configure" |
8499 #include "confdefs.h" | 8511 #include "confdefs.h" |
8500 /* System header to define __stub macros and hopefully few prototypes, | 8512 /* System header to define __stub macros and hopefully few prototypes, |
8501 which can conflict with char pow(); below. */ | 8513 which can conflict with char pow(); below. */ |
8502 #include <assert.h> | 8514 #include <assert.h> |
8503 /* Override any gcc2 internal prototype to avoid an error. */ | 8515 /* Override any gcc2 internal prototype to avoid an error. */ |
8516 pow(); | 8528 pow(); |
8517 #endif | 8529 #endif |
8518 | 8530 |
8519 ; return 0; } | 8531 ; return 0; } |
8520 EOF | 8532 EOF |
8521 if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8533 if { (eval echo configure:8534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8522 rm -rf conftest* | 8534 rm -rf conftest* |
8523 eval "ac_cv_func_pow=yes" | 8535 eval "ac_cv_func_pow=yes" |
8524 else | 8536 else |
8525 echo "configure: failed program was:" >&5 | 8537 echo "configure: failed program was:" >&5 |
8526 cat conftest.$ac_ext >&5 | 8538 cat conftest.$ac_ext >&5 |
8537 with_png=no | 8549 with_png=no |
8538 fi | 8550 fi |
8539 } | 8551 } |
8540 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8552 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8541 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8553 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8542 echo "configure:8543: checking for png.h" >&5 | 8554 echo "configure:8555: checking for png.h" >&5 |
8543 | 8555 |
8544 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
8545 #line 8546 "configure" | 8557 #line 8558 "configure" |
8546 #include "confdefs.h" | 8558 #include "confdefs.h" |
8547 #include <png.h> | 8559 #include <png.h> |
8548 EOF | 8560 EOF |
8549 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" |
8550 { (eval echo configure:8551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8552 if test -z "$ac_err"; then | 8564 if test -z "$ac_err"; then |
8553 rm -rf conftest* | 8565 rm -rf conftest* |
8554 eval "ac_cv_header_$ac_safe=yes" | 8566 eval "ac_cv_header_$ac_safe=yes" |
8555 else | 8567 else |
8568 with_png=no | 8580 with_png=no |
8569 fi | 8581 fi |
8570 } | 8582 } |
8571 test -z "$with_png" && { | 8583 test -z "$with_png" && { |
8572 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8584 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8573 echo "configure:8574: checking for png_read_image in -lpng" >&5 | 8585 echo "configure:8586: checking for png_read_image in -lpng" >&5 |
8574 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8586 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8575 | 8587 |
8576 xe_check_libs=" -lpng " | 8588 xe_check_libs=" -lpng " |
8577 cat > conftest.$ac_ext <<EOF | 8589 cat > conftest.$ac_ext <<EOF |
8578 #line 8579 "configure" | 8590 #line 8591 "configure" |
8579 #include "confdefs.h" | 8591 #include "confdefs.h" |
8580 /* Override any gcc2 internal prototype to avoid an error. */ | 8592 /* Override any gcc2 internal prototype to avoid an error. */ |
8581 /* We use char because int might match the return type of a gcc2 | 8593 /* We use char because int might match the return type of a gcc2 |
8582 builtin and then its argument prototype would still apply. */ | 8594 builtin and then its argument prototype would still apply. */ |
8583 char png_read_image(); | 8595 char png_read_image(); |
8584 | 8596 |
8585 int main() { | 8597 int main() { |
8586 png_read_image() | 8598 png_read_image() |
8587 ; return 0; } | 8599 ; return 0; } |
8588 EOF | 8600 EOF |
8589 if { (eval echo configure:8590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8590 rm -rf conftest* | 8602 rm -rf conftest* |
8591 eval "ac_cv_lib_$ac_lib_var=yes" | 8603 eval "ac_cv_lib_$ac_lib_var=yes" |
8592 else | 8604 else |
8593 echo "configure: failed program was:" >&5 | 8605 echo "configure: failed program was:" >&5 |
8594 cat conftest.$ac_ext >&5 | 8606 cat conftest.$ac_ext >&5 |
8607 fi | 8619 fi |
8608 | 8620 |
8609 } | 8621 } |
8610 if test -z "$with_png"; then | 8622 if test -z "$with_png"; then |
8611 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8623 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8612 echo "configure:8613: checking for workable png version information" >&5 | 8624 echo "configure:8625: checking for workable png version information" >&5 |
8613 xe_check_libs="-lpng -lz" | 8625 xe_check_libs="-lpng -lz" |
8614 cat > conftest.$ac_ext <<EOF | 8626 cat > conftest.$ac_ext <<EOF |
8615 #line 8616 "configure" | 8627 #line 8628 "configure" |
8616 #include "confdefs.h" | 8628 #include "confdefs.h" |
8617 #include <png.h> | 8629 #include <png.h> |
8618 int main(int c, char **v) { | 8630 int main(int c, char **v) { |
8619 if (c == 1) return 0; | 8631 if (c == 1) return 0; |
8620 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8632 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8621 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8633 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8622 EOF | 8634 EOF |
8623 if { (eval echo configure:8624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8635 if { (eval echo configure:8636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8624 then | 8636 then |
8625 ./conftest dummy_arg; png_status=$?; | 8637 ./conftest dummy_arg; png_status=$?; |
8626 if test "$png_status" = "0"; then | 8638 if test "$png_status" = "0"; then |
8627 with_png=yes; | 8639 with_png=yes; |
8628 else | 8640 else |
8661 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8673 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8662 fi | 8674 fi |
8663 | 8675 |
8664 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8676 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8665 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8677 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8666 echo "configure:8667: checking for tiffio.h" >&5 | 8678 echo "configure:8679: checking for tiffio.h" >&5 |
8667 | 8679 |
8668 cat > conftest.$ac_ext <<EOF | 8680 cat > conftest.$ac_ext <<EOF |
8669 #line 8670 "configure" | 8681 #line 8682 "configure" |
8670 #include "confdefs.h" | 8682 #include "confdefs.h" |
8671 #include <tiffio.h> | 8683 #include <tiffio.h> |
8672 EOF | 8684 EOF |
8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8686 { (eval echo configure:8687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8676 if test -z "$ac_err"; then | 8688 if test -z "$ac_err"; then |
8677 rm -rf conftest* | 8689 rm -rf conftest* |
8678 eval "ac_cv_header_$ac_safe=yes" | 8690 eval "ac_cv_header_$ac_safe=yes" |
8679 else | 8691 else |
8692 with_tiff=no | 8704 with_tiff=no |
8693 fi | 8705 fi |
8694 } | 8706 } |
8695 test -z "$with_tiff" && { | 8707 test -z "$with_tiff" && { |
8696 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8708 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8697 echo "configure:8698: checking for TIFFClientOpen in -ltiff" >&5 | 8709 echo "configure:8710: checking for TIFFClientOpen in -ltiff" >&5 |
8698 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8710 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8699 | 8711 |
8700 xe_check_libs=" -ltiff " | 8712 xe_check_libs=" -ltiff " |
8701 cat > conftest.$ac_ext <<EOF | 8713 cat > conftest.$ac_ext <<EOF |
8702 #line 8703 "configure" | 8714 #line 8715 "configure" |
8703 #include "confdefs.h" | 8715 #include "confdefs.h" |
8704 /* Override any gcc2 internal prototype to avoid an error. */ | 8716 /* Override any gcc2 internal prototype to avoid an error. */ |
8705 /* We use char because int might match the return type of a gcc2 | 8717 /* We use char because int might match the return type of a gcc2 |
8706 builtin and then its argument prototype would still apply. */ | 8718 builtin and then its argument prototype would still apply. */ |
8707 char TIFFClientOpen(); | 8719 char TIFFClientOpen(); |
8708 | 8720 |
8709 int main() { | 8721 int main() { |
8710 TIFFClientOpen() | 8722 TIFFClientOpen() |
8711 ; return 0; } | 8723 ; return 0; } |
8712 EOF | 8724 EOF |
8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8725 if { (eval echo configure:8726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8714 rm -rf conftest* | 8726 rm -rf conftest* |
8715 eval "ac_cv_lib_$ac_lib_var=yes" | 8727 eval "ac_cv_lib_$ac_lib_var=yes" |
8716 else | 8728 else |
8717 echo "configure: failed program was:" >&5 | 8729 echo "configure: failed program was:" >&5 |
8718 cat conftest.$ac_ext >&5 | 8730 cat conftest.$ac_ext >&5 |
8747 | 8759 |
8748 | 8760 |
8749 if test "$with_gtk" = "yes"; then | 8761 if test "$with_gtk" = "yes"; then |
8750 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8762 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8751 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8763 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8752 echo "configure:8753: checking for compface.h" >&5 | 8764 echo "configure:8765: checking for compface.h" >&5 |
8753 | 8765 |
8754 cat > conftest.$ac_ext <<EOF | 8766 cat > conftest.$ac_ext <<EOF |
8755 #line 8756 "configure" | 8767 #line 8768 "configure" |
8756 #include "confdefs.h" | 8768 #include "confdefs.h" |
8757 #include <compface.h> | 8769 #include <compface.h> |
8758 EOF | 8770 EOF |
8759 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" |
8760 { (eval echo configure:8761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8772 { (eval echo configure:8773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8762 if test -z "$ac_err"; then | 8774 if test -z "$ac_err"; then |
8763 rm -rf conftest* | 8775 rm -rf conftest* |
8764 eval "ac_cv_header_$ac_safe=yes" | 8776 eval "ac_cv_header_$ac_safe=yes" |
8765 else | 8777 else |
8778 with_xface=no | 8790 with_xface=no |
8779 fi | 8791 fi |
8780 } | 8792 } |
8781 test -z "$with_xface" && { | 8793 test -z "$with_xface" && { |
8782 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8794 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8783 echo "configure:8784: checking for UnGenFace in -lcompface" >&5 | 8795 echo "configure:8796: checking for UnGenFace in -lcompface" >&5 |
8784 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8796 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8785 | 8797 |
8786 xe_check_libs=" -lcompface " | 8798 xe_check_libs=" -lcompface " |
8787 cat > conftest.$ac_ext <<EOF | 8799 cat > conftest.$ac_ext <<EOF |
8788 #line 8789 "configure" | 8800 #line 8801 "configure" |
8789 #include "confdefs.h" | 8801 #include "confdefs.h" |
8790 /* Override any gcc2 internal prototype to avoid an error. */ | 8802 /* Override any gcc2 internal prototype to avoid an error. */ |
8791 /* We use char because int might match the return type of a gcc2 | 8803 /* We use char because int might match the return type of a gcc2 |
8792 builtin and then its argument prototype would still apply. */ | 8804 builtin and then its argument prototype would still apply. */ |
8793 char UnGenFace(); | 8805 char UnGenFace(); |
8794 | 8806 |
8795 int main() { | 8807 int main() { |
8796 UnGenFace() | 8808 UnGenFace() |
8797 ; return 0; } | 8809 ; return 0; } |
8798 EOF | 8810 EOF |
8799 if { (eval echo configure:8800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8811 if { (eval echo configure:8812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8800 rm -rf conftest* | 8812 rm -rf conftest* |
8801 eval "ac_cv_lib_$ac_lib_var=yes" | 8813 eval "ac_cv_lib_$ac_lib_var=yes" |
8802 else | 8814 else |
8803 echo "configure: failed program was:" >&5 | 8815 echo "configure: failed program was:" >&5 |
8804 cat conftest.$ac_ext >&5 | 8816 cat conftest.$ac_ext >&5 |
8834 | 8846 |
8835 | 8847 |
8836 if test "$with_x11" = "yes"; then | 8848 if test "$with_x11" = "yes"; then |
8837 | 8849 |
8838 echo "checking for X11 graphics libraries" 1>&6 | 8850 echo "checking for X11 graphics libraries" 1>&6 |
8839 echo "configure:8840: checking for X11 graphics libraries" >&5 | 8851 echo "configure:8852: checking for X11 graphics libraries" >&5 |
8840 | 8852 |
8841 echo "checking for the Athena widgets" 1>&6 | 8853 echo "checking for the Athena widgets" 1>&6 |
8842 echo "configure:8843: checking for the Athena widgets" >&5 | 8854 echo "configure:8855: checking for the Athena widgets" >&5 |
8843 | 8855 |
8844 case "$with_athena" in | 8856 case "$with_athena" in |
8845 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8857 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8846 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8858 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8847 "next") athena_variant=neXtaw athena_3d=yes ;; | 8859 "next") athena_variant=neXtaw athena_3d=yes ;; |
8851 esac | 8863 esac |
8852 | 8864 |
8853 if test "$athena_3d" = "no"; then | 8865 if test "$athena_3d" = "no"; then |
8854 | 8866 |
8855 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8867 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8856 echo "configure:8857: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8868 echo "configure:8869: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8857 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8869 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8858 | 8870 |
8859 xe_check_libs=" -l$athena_variant " | 8871 xe_check_libs=" -l$athena_variant " |
8860 cat > conftest.$ac_ext <<EOF | 8872 cat > conftest.$ac_ext <<EOF |
8861 #line 8862 "configure" | 8873 #line 8874 "configure" |
8862 #include "confdefs.h" | 8874 #include "confdefs.h" |
8863 /* Override any gcc2 internal prototype to avoid an error. */ | 8875 /* Override any gcc2 internal prototype to avoid an error. */ |
8864 /* We use char because int might match the return type of a gcc2 | 8876 /* We use char because int might match the return type of a gcc2 |
8865 builtin and then its argument prototype would still apply. */ | 8877 builtin and then its argument prototype would still apply. */ |
8866 char XawScrollbarSetThumb(); | 8878 char XawScrollbarSetThumb(); |
8867 | 8879 |
8868 int main() { | 8880 int main() { |
8869 XawScrollbarSetThumb() | 8881 XawScrollbarSetThumb() |
8870 ; return 0; } | 8882 ; return 0; } |
8871 EOF | 8883 EOF |
8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8873 rm -rf conftest* | 8885 rm -rf conftest* |
8874 eval "ac_cv_lib_$ac_lib_var=yes" | 8886 eval "ac_cv_lib_$ac_lib_var=yes" |
8875 else | 8887 else |
8876 echo "configure: failed program was:" >&5 | 8888 echo "configure: failed program was:" >&5 |
8877 cat conftest.$ac_ext >&5 | 8889 cat conftest.$ac_ext >&5 |
8883 | 8895 |
8884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8885 echo "$ac_t""yes" 1>&6 | 8897 echo "$ac_t""yes" 1>&6 |
8886 | 8898 |
8887 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8899 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8888 echo "configure:8889: checking for threeDClassRec in -l$athena_variant" >&5 | 8900 echo "configure:8901: checking for threeDClassRec in -l$athena_variant" >&5 |
8889 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8901 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8890 | 8902 |
8891 xe_check_libs=" -l$athena_variant " | 8903 xe_check_libs=" -l$athena_variant " |
8892 cat > conftest.$ac_ext <<EOF | 8904 cat > conftest.$ac_ext <<EOF |
8893 #line 8894 "configure" | 8905 #line 8906 "configure" |
8894 #include "confdefs.h" | 8906 #include "confdefs.h" |
8895 /* Override any gcc2 internal prototype to avoid an error. */ | 8907 /* Override any gcc2 internal prototype to avoid an error. */ |
8896 /* We use char because int might match the return type of a gcc2 | 8908 /* We use char because int might match the return type of a gcc2 |
8897 builtin and then its argument prototype would still apply. */ | 8909 builtin and then its argument prototype would still apply. */ |
8898 char threeDClassRec(); | 8910 char threeDClassRec(); |
8899 | 8911 |
8900 int main() { | 8912 int main() { |
8901 threeDClassRec() | 8913 threeDClassRec() |
8902 ; return 0; } | 8914 ; return 0; } |
8903 EOF | 8915 EOF |
8904 if { (eval echo configure:8905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8905 rm -rf conftest* | 8917 rm -rf conftest* |
8906 eval "ac_cv_lib_$ac_lib_var=yes" | 8918 eval "ac_cv_lib_$ac_lib_var=yes" |
8907 else | 8919 else |
8908 echo "configure: failed program was:" >&5 | 8920 echo "configure: failed program was:" >&5 |
8909 cat conftest.$ac_ext >&5 | 8921 cat conftest.$ac_ext >&5 |
8930 | 8942 |
8931 | 8943 |
8932 else | 8944 else |
8933 | 8945 |
8934 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8935 echo "configure:8936: checking for threeDClassRec in -l$athena_variant" >&5 | 8947 echo "configure:8948: checking for threeDClassRec in -l$athena_variant" >&5 |
8936 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8937 | 8949 |
8938 xe_check_libs=" -l$athena_variant " | 8950 xe_check_libs=" -l$athena_variant " |
8939 cat > conftest.$ac_ext <<EOF | 8951 cat > conftest.$ac_ext <<EOF |
8940 #line 8941 "configure" | 8952 #line 8953 "configure" |
8941 #include "confdefs.h" | 8953 #include "confdefs.h" |
8942 /* Override any gcc2 internal prototype to avoid an error. */ | 8954 /* Override any gcc2 internal prototype to avoid an error. */ |
8943 /* We use char because int might match the return type of a gcc2 | 8955 /* We use char because int might match the return type of a gcc2 |
8944 builtin and then its argument prototype would still apply. */ | 8956 builtin and then its argument prototype would still apply. */ |
8945 char threeDClassRec(); | 8957 char threeDClassRec(); |
8946 | 8958 |
8947 int main() { | 8959 int main() { |
8948 threeDClassRec() | 8960 threeDClassRec() |
8949 ; return 0; } | 8961 ; return 0; } |
8950 EOF | 8962 EOF |
8951 if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8952 rm -rf conftest* | 8964 rm -rf conftest* |
8953 eval "ac_cv_lib_$ac_lib_var=yes" | 8965 eval "ac_cv_lib_$ac_lib_var=yes" |
8954 else | 8966 else |
8955 echo "configure: failed program was:" >&5 | 8967 echo "configure: failed program was:" >&5 |
8956 cat conftest.$ac_ext >&5 | 8968 cat conftest.$ac_ext >&5 |
8964 echo "$ac_t""yes" 1>&6 | 8976 echo "$ac_t""yes" 1>&6 |
8965 athena_lib=$athena_variant | 8977 athena_lib=$athena_variant |
8966 else | 8978 else |
8967 echo "$ac_t""no" 1>&6 | 8979 echo "$ac_t""no" 1>&6 |
8968 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8980 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8969 echo "configure:8970: checking for threeDClassRec in -lXaw" >&5 | 8981 echo "configure:8982: checking for threeDClassRec in -lXaw" >&5 |
8970 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8982 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8971 | 8983 |
8972 xe_check_libs=" -lXaw " | 8984 xe_check_libs=" -lXaw " |
8973 cat > conftest.$ac_ext <<EOF | 8985 cat > conftest.$ac_ext <<EOF |
8974 #line 8975 "configure" | 8986 #line 8987 "configure" |
8975 #include "confdefs.h" | 8987 #include "confdefs.h" |
8976 /* Override any gcc2 internal prototype to avoid an error. */ | 8988 /* Override any gcc2 internal prototype to avoid an error. */ |
8977 /* We use char because int might match the return type of a gcc2 | 8989 /* We use char because int might match the return type of a gcc2 |
8978 builtin and then its argument prototype would still apply. */ | 8990 builtin and then its argument prototype would still apply. */ |
8979 char threeDClassRec(); | 8991 char threeDClassRec(); |
8980 | 8992 |
8981 int main() { | 8993 int main() { |
8982 threeDClassRec() | 8994 threeDClassRec() |
8983 ; return 0; } | 8995 ; return 0; } |
8984 EOF | 8996 EOF |
8985 if { (eval echo configure:8986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8986 rm -rf conftest* | 8998 rm -rf conftest* |
8987 eval "ac_cv_lib_$ac_lib_var=yes" | 8999 eval "ac_cv_lib_$ac_lib_var=yes" |
8988 else | 9000 else |
8989 echo "configure: failed program was:" >&5 | 9001 echo "configure: failed program was:" >&5 |
8990 cat conftest.$ac_ext >&5 | 9002 cat conftest.$ac_ext >&5 |
9011 fi | 9023 fi |
9012 | 9024 |
9013 if test "$athena_3d" = "no"; then | 9025 if test "$athena_3d" = "no"; then |
9014 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9026 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9015 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9027 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9016 echo "configure:9017: checking for X11/Xaw/ThreeD.h" >&5 | 9028 echo "configure:9029: checking for X11/Xaw/ThreeD.h" >&5 |
9017 | 9029 |
9018 cat > conftest.$ac_ext <<EOF | 9030 cat > conftest.$ac_ext <<EOF |
9019 #line 9020 "configure" | 9031 #line 9032 "configure" |
9020 #include "confdefs.h" | 9032 #include "confdefs.h" |
9021 #include <X11/Xaw/ThreeD.h> | 9033 #include <X11/Xaw/ThreeD.h> |
9022 EOF | 9034 EOF |
9023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9024 { (eval echo configure:9025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9036 { (eval echo configure:9037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9026 if test -z "$ac_err"; then | 9038 if test -z "$ac_err"; then |
9027 rm -rf conftest* | 9039 rm -rf conftest* |
9028 eval "ac_cv_header_$ac_safe=yes" | 9040 eval "ac_cv_header_$ac_safe=yes" |
9029 else | 9041 else |
9039 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9051 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9040 else | 9052 else |
9041 echo "$ac_t""no" 1>&6 | 9053 echo "$ac_t""no" 1>&6 |
9042 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9054 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9043 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9055 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9044 echo "configure:9045: checking for X11/Xaw/XawInit.h" >&5 | 9056 echo "configure:9057: checking for X11/Xaw/XawInit.h" >&5 |
9045 | 9057 |
9046 cat > conftest.$ac_ext <<EOF | 9058 cat > conftest.$ac_ext <<EOF |
9047 #line 9048 "configure" | 9059 #line 9060 "configure" |
9048 #include "confdefs.h" | 9060 #include "confdefs.h" |
9049 #include <X11/Xaw/XawInit.h> | 9061 #include <X11/Xaw/XawInit.h> |
9050 EOF | 9062 EOF |
9051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9052 { (eval echo configure:9053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9054 if test -z "$ac_err"; then | 9066 if test -z "$ac_err"; then |
9055 rm -rf conftest* | 9067 rm -rf conftest* |
9056 eval "ac_cv_header_$ac_safe=yes" | 9068 eval "ac_cv_header_$ac_safe=yes" |
9057 else | 9069 else |
9073 fi | 9085 fi |
9074 | 9086 |
9075 else | 9087 else |
9076 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9088 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9077 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9089 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9078 echo "configure:9079: checking for X11/$athena_variant/XawInit.h" >&5 | 9090 echo "configure:9091: checking for X11/$athena_variant/XawInit.h" >&5 |
9079 | 9091 |
9080 cat > conftest.$ac_ext <<EOF | 9092 cat > conftest.$ac_ext <<EOF |
9081 #line 9082 "configure" | 9093 #line 9094 "configure" |
9082 #include "confdefs.h" | 9094 #include "confdefs.h" |
9083 #include <X11/$athena_variant/XawInit.h> | 9095 #include <X11/$athena_variant/XawInit.h> |
9084 EOF | 9096 EOF |
9085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9086 { (eval echo configure:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9088 if test -z "$ac_err"; then | 9100 if test -z "$ac_err"; then |
9089 rm -rf conftest* | 9101 rm -rf conftest* |
9090 eval "ac_cv_header_$ac_safe=yes" | 9102 eval "ac_cv_header_$ac_safe=yes" |
9091 else | 9103 else |
9098 rm -f conftest* | 9110 rm -f conftest* |
9099 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9100 echo "$ac_t""yes" 1>&6 | 9112 echo "$ac_t""yes" 1>&6 |
9101 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9113 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9102 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9114 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9103 echo "configure:9104: checking for X11/$athena_variant/ThreeD.h" >&5 | 9115 echo "configure:9116: checking for X11/$athena_variant/ThreeD.h" >&5 |
9104 | 9116 |
9105 cat > conftest.$ac_ext <<EOF | 9117 cat > conftest.$ac_ext <<EOF |
9106 #line 9107 "configure" | 9118 #line 9119 "configure" |
9107 #include "confdefs.h" | 9119 #include "confdefs.h" |
9108 #include <X11/$athena_variant/ThreeD.h> | 9120 #include <X11/$athena_variant/ThreeD.h> |
9109 EOF | 9121 EOF |
9110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9111 { (eval echo configure:9112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9113 if test -z "$ac_err"; then | 9125 if test -z "$ac_err"; then |
9114 rm -rf conftest* | 9126 rm -rf conftest* |
9115 eval "ac_cv_header_$ac_safe=yes" | 9127 eval "ac_cv_header_$ac_safe=yes" |
9116 else | 9128 else |
9134 | 9146 |
9135 | 9147 |
9136 if test -z "$athena_h_path"; then | 9148 if test -z "$athena_h_path"; then |
9137 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9149 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9138 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9150 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9139 echo "configure:9140: checking for $athena_variant/XawInit.h" >&5 | 9151 echo "configure:9152: checking for $athena_variant/XawInit.h" >&5 |
9140 | 9152 |
9141 cat > conftest.$ac_ext <<EOF | 9153 cat > conftest.$ac_ext <<EOF |
9142 #line 9143 "configure" | 9154 #line 9155 "configure" |
9143 #include "confdefs.h" | 9155 #include "confdefs.h" |
9144 #include <$athena_variant/XawInit.h> | 9156 #include <$athena_variant/XawInit.h> |
9145 EOF | 9157 EOF |
9146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9147 { (eval echo configure:9148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9149 if test -z "$ac_err"; then | 9161 if test -z "$ac_err"; then |
9150 rm -rf conftest* | 9162 rm -rf conftest* |
9151 eval "ac_cv_header_$ac_safe=yes" | 9163 eval "ac_cv_header_$ac_safe=yes" |
9152 else | 9164 else |
9159 rm -f conftest* | 9171 rm -f conftest* |
9160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9161 echo "$ac_t""yes" 1>&6 | 9173 echo "$ac_t""yes" 1>&6 |
9162 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9174 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9163 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9175 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9164 echo "configure:9165: checking for $athena_variant/ThreeD.h" >&5 | 9176 echo "configure:9177: checking for $athena_variant/ThreeD.h" >&5 |
9165 | 9177 |
9166 cat > conftest.$ac_ext <<EOF | 9178 cat > conftest.$ac_ext <<EOF |
9167 #line 9168 "configure" | 9179 #line 9180 "configure" |
9168 #include "confdefs.h" | 9180 #include "confdefs.h" |
9169 #include <$athena_variant/ThreeD.h> | 9181 #include <$athena_variant/ThreeD.h> |
9170 EOF | 9182 EOF |
9171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9172 { (eval echo configure:9173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9174 if test -z "$ac_err"; then | 9186 if test -z "$ac_err"; then |
9175 rm -rf conftest* | 9187 rm -rf conftest* |
9176 eval "ac_cv_header_$ac_safe=yes" | 9188 eval "ac_cv_header_$ac_safe=yes" |
9177 else | 9189 else |
9196 fi | 9208 fi |
9197 | 9209 |
9198 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9210 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9199 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9211 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9200 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9212 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9201 echo "configure:9202: checking for X11/Xaw3d/XawInit.h" >&5 | 9213 echo "configure:9214: checking for X11/Xaw3d/XawInit.h" >&5 |
9202 | 9214 |
9203 cat > conftest.$ac_ext <<EOF | 9215 cat > conftest.$ac_ext <<EOF |
9204 #line 9205 "configure" | 9216 #line 9217 "configure" |
9205 #include "confdefs.h" | 9217 #include "confdefs.h" |
9206 #include <X11/Xaw3d/XawInit.h> | 9218 #include <X11/Xaw3d/XawInit.h> |
9207 EOF | 9219 EOF |
9208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9209 { (eval echo configure:9210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9221 { (eval echo configure:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9211 if test -z "$ac_err"; then | 9223 if test -z "$ac_err"; then |
9212 rm -rf conftest* | 9224 rm -rf conftest* |
9213 eval "ac_cv_header_$ac_safe=yes" | 9225 eval "ac_cv_header_$ac_safe=yes" |
9214 else | 9226 else |
9221 rm -f conftest* | 9233 rm -f conftest* |
9222 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9223 echo "$ac_t""yes" 1>&6 | 9235 echo "$ac_t""yes" 1>&6 |
9224 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9236 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9225 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9237 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9226 echo "configure:9227: checking for X11/Xaw3d/ThreeD.h" >&5 | 9238 echo "configure:9239: checking for X11/Xaw3d/ThreeD.h" >&5 |
9227 | 9239 |
9228 cat > conftest.$ac_ext <<EOF | 9240 cat > conftest.$ac_ext <<EOF |
9229 #line 9230 "configure" | 9241 #line 9242 "configure" |
9230 #include "confdefs.h" | 9242 #include "confdefs.h" |
9231 #include <X11/Xaw3d/ThreeD.h> | 9243 #include <X11/Xaw3d/ThreeD.h> |
9232 EOF | 9244 EOF |
9233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9234 { (eval echo configure:9235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9246 { (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9236 if test -z "$ac_err"; then | 9248 if test -z "$ac_err"; then |
9237 rm -rf conftest* | 9249 rm -rf conftest* |
9238 eval "ac_cv_header_$ac_safe=yes" | 9250 eval "ac_cv_header_$ac_safe=yes" |
9239 else | 9251 else |
9261 fi | 9273 fi |
9262 | 9274 |
9263 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9275 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9264 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9276 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9265 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9277 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9266 echo "configure:9267: checking for Xaw3d/XawInit.h" >&5 | 9278 echo "configure:9279: checking for Xaw3d/XawInit.h" >&5 |
9267 | 9279 |
9268 cat > conftest.$ac_ext <<EOF | 9280 cat > conftest.$ac_ext <<EOF |
9269 #line 9270 "configure" | 9281 #line 9282 "configure" |
9270 #include "confdefs.h" | 9282 #include "confdefs.h" |
9271 #include <Xaw3d/XawInit.h> | 9283 #include <Xaw3d/XawInit.h> |
9272 EOF | 9284 EOF |
9273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9274 { (eval echo configure:9275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9276 if test -z "$ac_err"; then | 9288 if test -z "$ac_err"; then |
9277 rm -rf conftest* | 9289 rm -rf conftest* |
9278 eval "ac_cv_header_$ac_safe=yes" | 9290 eval "ac_cv_header_$ac_safe=yes" |
9279 else | 9291 else |
9286 rm -f conftest* | 9298 rm -f conftest* |
9287 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9288 echo "$ac_t""yes" 1>&6 | 9300 echo "$ac_t""yes" 1>&6 |
9289 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9301 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9290 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9302 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9291 echo "configure:9292: checking for Xaw3d/ThreeD.h" >&5 | 9303 echo "configure:9304: checking for Xaw3d/ThreeD.h" >&5 |
9292 | 9304 |
9293 cat > conftest.$ac_ext <<EOF | 9305 cat > conftest.$ac_ext <<EOF |
9294 #line 9295 "configure" | 9306 #line 9307 "configure" |
9295 #include "confdefs.h" | 9307 #include "confdefs.h" |
9296 #include <Xaw3d/ThreeD.h> | 9308 #include <Xaw3d/ThreeD.h> |
9297 EOF | 9309 EOF |
9298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9299 { (eval echo configure:9300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9301 if test -z "$ac_err"; then | 9313 if test -z "$ac_err"; then |
9302 rm -rf conftest* | 9314 rm -rf conftest* |
9303 eval "ac_cv_header_$ac_safe=yes" | 9315 eval "ac_cv_header_$ac_safe=yes" |
9304 else | 9316 else |
9326 fi | 9338 fi |
9327 | 9339 |
9328 if test -z "$athena_h_path"; then | 9340 if test -z "$athena_h_path"; then |
9329 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9341 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9330 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9342 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9331 echo "configure:9332: checking for X11/Xaw/ThreeD.h" >&5 | 9343 echo "configure:9344: checking for X11/Xaw/ThreeD.h" >&5 |
9332 | 9344 |
9333 cat > conftest.$ac_ext <<EOF | 9345 cat > conftest.$ac_ext <<EOF |
9334 #line 9335 "configure" | 9346 #line 9347 "configure" |
9335 #include "confdefs.h" | 9347 #include "confdefs.h" |
9336 #include <X11/Xaw/ThreeD.h> | 9348 #include <X11/Xaw/ThreeD.h> |
9337 EOF | 9349 EOF |
9338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9339 { (eval echo configure:9340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9351 { (eval echo configure:9352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9341 if test -z "$ac_err"; then | 9353 if test -z "$ac_err"; then |
9342 rm -rf conftest* | 9354 rm -rf conftest* |
9343 eval "ac_cv_header_$ac_safe=yes" | 9355 eval "ac_cv_header_$ac_safe=yes" |
9344 else | 9356 else |
9369 have_xaw=no | 9381 have_xaw=no |
9370 fi | 9382 fi |
9371 | 9383 |
9372 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9384 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9373 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9385 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9374 echo "configure:9375: checking for Xm/Xm.h" >&5 | 9386 echo "configure:9387: checking for Xm/Xm.h" >&5 |
9375 | 9387 |
9376 cat > conftest.$ac_ext <<EOF | 9388 cat > conftest.$ac_ext <<EOF |
9377 #line 9378 "configure" | 9389 #line 9390 "configure" |
9378 #include "confdefs.h" | 9390 #include "confdefs.h" |
9379 #include <Xm/Xm.h> | 9391 #include <Xm/Xm.h> |
9380 EOF | 9392 EOF |
9381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9382 { (eval echo configure:9383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9394 { (eval echo configure:9395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9384 if test -z "$ac_err"; then | 9396 if test -z "$ac_err"; then |
9385 rm -rf conftest* | 9397 rm -rf conftest* |
9386 eval "ac_cv_header_$ac_safe=yes" | 9398 eval "ac_cv_header_$ac_safe=yes" |
9387 else | 9399 else |
9394 rm -f conftest* | 9406 rm -f conftest* |
9395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9396 echo "$ac_t""yes" 1>&6 | 9408 echo "$ac_t""yes" 1>&6 |
9397 | 9409 |
9398 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9410 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9399 echo "configure:9400: checking for XmStringFree in -lXm" >&5 | 9411 echo "configure:9412: checking for XmStringFree in -lXm" >&5 |
9400 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9412 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9401 | 9413 |
9402 xe_check_libs=" -lXm " | 9414 xe_check_libs=" -lXm " |
9403 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
9404 #line 9405 "configure" | 9416 #line 9417 "configure" |
9405 #include "confdefs.h" | 9417 #include "confdefs.h" |
9406 /* Override any gcc2 internal prototype to avoid an error. */ | 9418 /* Override any gcc2 internal prototype to avoid an error. */ |
9407 /* We use char because int might match the return type of a gcc2 | 9419 /* We use char because int might match the return type of a gcc2 |
9408 builtin and then its argument prototype would still apply. */ | 9420 builtin and then its argument prototype would still apply. */ |
9409 char XmStringFree(); | 9421 char XmStringFree(); |
9410 | 9422 |
9411 int main() { | 9423 int main() { |
9412 XmStringFree() | 9424 XmStringFree() |
9413 ; return 0; } | 9425 ; return 0; } |
9414 EOF | 9426 EOF |
9415 if { (eval echo configure:9416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9427 if { (eval echo configure:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9416 rm -rf conftest* | 9428 rm -rf conftest* |
9417 eval "ac_cv_lib_$ac_lib_var=yes" | 9429 eval "ac_cv_lib_$ac_lib_var=yes" |
9418 else | 9430 else |
9419 echo "configure: failed program was:" >&5 | 9431 echo "configure: failed program was:" >&5 |
9420 cat conftest.$ac_ext >&5 | 9432 cat conftest.$ac_ext >&5 |
9439 fi | 9451 fi |
9440 | 9452 |
9441 | 9453 |
9442 if test "$have_motif" = "yes"; then | 9454 if test "$have_motif" = "yes"; then |
9443 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9455 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9444 echo "configure:9445: checking for Lesstif" >&5 | 9456 echo "configure:9457: checking for Lesstif" >&5 |
9445 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
9446 #line 9447 "configure" | 9458 #line 9459 "configure" |
9447 #include "confdefs.h" | 9459 #include "confdefs.h" |
9448 #include <Xm/Xm.h> | 9460 #include <Xm/Xm.h> |
9449 #ifdef LESSTIF_VERSION | 9461 #ifdef LESSTIF_VERSION |
9450 yes | 9462 yes |
9451 #endif | 9463 #endif |
9871 | 9883 |
9872 test -z "$with_file_coding" && with_file_coding=no | 9884 test -z "$with_file_coding" && with_file_coding=no |
9873 | 9885 |
9874 if test "$with_mule" = "yes" ; then | 9886 if test "$with_mule" = "yes" ; then |
9875 echo "checking for Mule-related features" 1>&6 | 9887 echo "checking for Mule-related features" 1>&6 |
9876 echo "configure:9877: checking for Mule-related features" >&5 | 9888 echo "configure:9889: checking for Mule-related features" >&5 |
9877 { test "$extra_verbose" = "yes" && cat << \EOF | 9889 { test "$extra_verbose" = "yes" && cat << \EOF |
9878 Defining MULE | 9890 Defining MULE |
9879 EOF | 9891 EOF |
9880 cat >> confdefs.h <<\EOF | 9892 cat >> confdefs.h <<\EOF |
9881 #define MULE 1 | 9893 #define MULE 1 |
9896 | 9908 |
9897 for ac_hdr in libintl.h | 9909 for ac_hdr in libintl.h |
9898 do | 9910 do |
9899 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9911 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9900 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9901 echo "configure:9902: checking for $ac_hdr" >&5 | 9913 echo "configure:9914: checking for $ac_hdr" >&5 |
9902 | 9914 |
9903 cat > conftest.$ac_ext <<EOF | 9915 cat > conftest.$ac_ext <<EOF |
9904 #line 9905 "configure" | 9916 #line 9917 "configure" |
9905 #include "confdefs.h" | 9917 #include "confdefs.h" |
9906 #include <$ac_hdr> | 9918 #include <$ac_hdr> |
9907 EOF | 9919 EOF |
9908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9909 { (eval echo configure:9910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9921 { (eval echo configure:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9911 if test -z "$ac_err"; then | 9923 if test -z "$ac_err"; then |
9912 rm -rf conftest* | 9924 rm -rf conftest* |
9913 eval "ac_cv_header_$ac_safe=yes" | 9925 eval "ac_cv_header_$ac_safe=yes" |
9914 else | 9926 else |
9935 fi | 9947 fi |
9936 done | 9948 done |
9937 | 9949 |
9938 | 9950 |
9939 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9951 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9940 echo "configure:9941: checking for strerror in -lintl" >&5 | 9952 echo "configure:9953: checking for strerror in -lintl" >&5 |
9941 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9953 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9942 | 9954 |
9943 xe_check_libs=" -lintl " | 9955 xe_check_libs=" -lintl " |
9944 cat > conftest.$ac_ext <<EOF | 9956 cat > conftest.$ac_ext <<EOF |
9945 #line 9946 "configure" | 9957 #line 9958 "configure" |
9946 #include "confdefs.h" | 9958 #include "confdefs.h" |
9947 /* Override any gcc2 internal prototype to avoid an error. */ | 9959 /* Override any gcc2 internal prototype to avoid an error. */ |
9948 /* We use char because int might match the return type of a gcc2 | 9960 /* We use char because int might match the return type of a gcc2 |
9949 builtin and then its argument prototype would still apply. */ | 9961 builtin and then its argument prototype would still apply. */ |
9950 char strerror(); | 9962 char strerror(); |
9951 | 9963 |
9952 int main() { | 9964 int main() { |
9953 strerror() | 9965 strerror() |
9954 ; return 0; } | 9966 ; return 0; } |
9955 EOF | 9967 EOF |
9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9968 if { (eval echo configure:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9957 rm -rf conftest* | 9969 rm -rf conftest* |
9958 eval "ac_cv_lib_$ac_lib_var=yes" | 9970 eval "ac_cv_lib_$ac_lib_var=yes" |
9959 else | 9971 else |
9960 echo "configure: failed program was:" >&5 | 9972 echo "configure: failed program was:" >&5 |
9961 cat conftest.$ac_ext >&5 | 9973 cat conftest.$ac_ext >&5 |
9984 fi | 9996 fi |
9985 | 9997 |
9986 | 9998 |
9987 | 9999 |
9988 echo "checking for Mule input methods" 1>&6 | 10000 echo "checking for Mule input methods" 1>&6 |
9989 echo "configure:9990: checking for Mule input methods" >&5 | 10001 echo "configure:10002: checking for Mule input methods" >&5 |
9990 case "$with_xim" in "" | "yes" ) | 10002 case "$with_xim" in "" | "yes" ) |
9991 echo "checking for XIM" 1>&6 | 10003 echo "checking for XIM" 1>&6 |
9992 echo "configure:9993: checking for XIM" >&5 | 10004 echo "configure:10005: checking for XIM" >&5 |
9993 | 10005 |
9994 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10006 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9995 echo "configure:9996: checking for XOpenIM in -lX11" >&5 | 10007 echo "configure:10008: checking for XOpenIM in -lX11" >&5 |
9996 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10008 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9997 | 10009 |
9998 xe_check_libs=" -lX11 " | 10010 xe_check_libs=" -lX11 " |
9999 cat > conftest.$ac_ext <<EOF | 10011 cat > conftest.$ac_ext <<EOF |
10000 #line 10001 "configure" | 10012 #line 10013 "configure" |
10001 #include "confdefs.h" | 10013 #include "confdefs.h" |
10002 /* Override any gcc2 internal prototype to avoid an error. */ | 10014 /* Override any gcc2 internal prototype to avoid an error. */ |
10003 /* We use char because int might match the return type of a gcc2 | 10015 /* We use char because int might match the return type of a gcc2 |
10004 builtin and then its argument prototype would still apply. */ | 10016 builtin and then its argument prototype would still apply. */ |
10005 char XOpenIM(); | 10017 char XOpenIM(); |
10006 | 10018 |
10007 int main() { | 10019 int main() { |
10008 XOpenIM() | 10020 XOpenIM() |
10009 ; return 0; } | 10021 ; return 0; } |
10010 EOF | 10022 EOF |
10011 if { (eval echo configure:10012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10023 if { (eval echo configure:10024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10012 rm -rf conftest* | 10024 rm -rf conftest* |
10013 eval "ac_cv_lib_$ac_lib_var=yes" | 10025 eval "ac_cv_lib_$ac_lib_var=yes" |
10014 else | 10026 else |
10015 echo "configure: failed program was:" >&5 | 10027 echo "configure: failed program was:" >&5 |
10016 cat conftest.$ac_ext >&5 | 10028 cat conftest.$ac_ext >&5 |
10030 | 10042 |
10031 | 10043 |
10032 if test "$have_motif $have_lesstif" = "yes no"; then | 10044 if test "$have_motif $have_lesstif" = "yes no"; then |
10033 | 10045 |
10034 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10046 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10035 echo "configure:10036: checking for XmImMbLookupString in -lXm" >&5 | 10047 echo "configure:10048: checking for XmImMbLookupString in -lXm" >&5 |
10036 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10048 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10037 | 10049 |
10038 xe_check_libs=" -lXm " | 10050 xe_check_libs=" -lXm " |
10039 cat > conftest.$ac_ext <<EOF | 10051 cat > conftest.$ac_ext <<EOF |
10040 #line 10041 "configure" | 10052 #line 10053 "configure" |
10041 #include "confdefs.h" | 10053 #include "confdefs.h" |
10042 /* Override any gcc2 internal prototype to avoid an error. */ | 10054 /* Override any gcc2 internal prototype to avoid an error. */ |
10043 /* We use char because int might match the return type of a gcc2 | 10055 /* We use char because int might match the return type of a gcc2 |
10044 builtin and then its argument prototype would still apply. */ | 10056 builtin and then its argument prototype would still apply. */ |
10045 char XmImMbLookupString(); | 10057 char XmImMbLookupString(); |
10046 | 10058 |
10047 int main() { | 10059 int main() { |
10048 XmImMbLookupString() | 10060 XmImMbLookupString() |
10049 ; return 0; } | 10061 ; return 0; } |
10050 EOF | 10062 EOF |
10051 if { (eval echo configure:10052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10063 if { (eval echo configure:10064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10052 rm -rf conftest* | 10064 rm -rf conftest* |
10053 eval "ac_cv_lib_$ac_lib_var=yes" | 10065 eval "ac_cv_lib_$ac_lib_var=yes" |
10054 else | 10066 else |
10055 echo "configure: failed program was:" >&5 | 10067 echo "configure: failed program was:" >&5 |
10056 cat conftest.$ac_ext >&5 | 10068 cat conftest.$ac_ext >&5 |
10111 fi | 10123 fi |
10112 fi | 10124 fi |
10113 | 10125 |
10114 if test "$with_xfs" = "yes" ; then | 10126 if test "$with_xfs" = "yes" ; then |
10115 echo "checking for XFontSet" 1>&6 | 10127 echo "checking for XFontSet" 1>&6 |
10116 echo "configure:10117: checking for XFontSet" >&5 | 10128 echo "configure:10129: checking for XFontSet" >&5 |
10117 | 10129 |
10118 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10130 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10119 echo "configure:10120: checking for XmbDrawString in -lX11" >&5 | 10131 echo "configure:10132: checking for XmbDrawString in -lX11" >&5 |
10120 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10132 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10121 | 10133 |
10122 xe_check_libs=" -lX11 " | 10134 xe_check_libs=" -lX11 " |
10123 cat > conftest.$ac_ext <<EOF | 10135 cat > conftest.$ac_ext <<EOF |
10124 #line 10125 "configure" | 10136 #line 10137 "configure" |
10125 #include "confdefs.h" | 10137 #include "confdefs.h" |
10126 /* Override any gcc2 internal prototype to avoid an error. */ | 10138 /* Override any gcc2 internal prototype to avoid an error. */ |
10127 /* We use char because int might match the return type of a gcc2 | 10139 /* We use char because int might match the return type of a gcc2 |
10128 builtin and then its argument prototype would still apply. */ | 10140 builtin and then its argument prototype would still apply. */ |
10129 char XmbDrawString(); | 10141 char XmbDrawString(); |
10130 | 10142 |
10131 int main() { | 10143 int main() { |
10132 XmbDrawString() | 10144 XmbDrawString() |
10133 ; return 0; } | 10145 ; return 0; } |
10134 EOF | 10146 EOF |
10135 if { (eval echo configure:10136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10147 if { (eval echo configure:10148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10136 rm -rf conftest* | 10148 rm -rf conftest* |
10137 eval "ac_cv_lib_$ac_lib_var=yes" | 10149 eval "ac_cv_lib_$ac_lib_var=yes" |
10138 else | 10150 else |
10139 echo "configure: failed program was:" >&5 | 10151 echo "configure: failed program was:" >&5 |
10140 cat conftest.$ac_ext >&5 | 10152 cat conftest.$ac_ext >&5 |
10170 fi | 10182 fi |
10171 fi | 10183 fi |
10172 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10184 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10173 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10185 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10174 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10186 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10175 echo "configure:10176: checking for wnn/jllib.h" >&5 | 10187 echo "configure:10188: checking for wnn/jllib.h" >&5 |
10176 | 10188 |
10177 cat > conftest.$ac_ext <<EOF | 10189 cat > conftest.$ac_ext <<EOF |
10178 #line 10179 "configure" | 10190 #line 10191 "configure" |
10179 #include "confdefs.h" | 10191 #include "confdefs.h" |
10180 #include <wnn/jllib.h> | 10192 #include <wnn/jllib.h> |
10181 EOF | 10193 EOF |
10182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10183 { (eval echo configure:10184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10195 { (eval echo configure:10196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10184 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10185 if test -z "$ac_err"; then | 10197 if test -z "$ac_err"; then |
10186 rm -rf conftest* | 10198 rm -rf conftest* |
10187 eval "ac_cv_header_$ac_safe=yes" | 10199 eval "ac_cv_header_$ac_safe=yes" |
10188 else | 10200 else |
10201 with_wnn=no | 10213 with_wnn=no |
10202 fi | 10214 fi |
10203 } | 10215 } |
10204 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10216 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10205 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10217 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10206 echo "configure:10207: checking for wnn/commonhd.h" >&5 | 10218 echo "configure:10219: checking for wnn/commonhd.h" >&5 |
10207 | 10219 |
10208 cat > conftest.$ac_ext <<EOF | 10220 cat > conftest.$ac_ext <<EOF |
10209 #line 10210 "configure" | 10221 #line 10222 "configure" |
10210 #include "confdefs.h" | 10222 #include "confdefs.h" |
10211 #include <wnn/commonhd.h> | 10223 #include <wnn/commonhd.h> |
10212 EOF | 10224 EOF |
10213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10214 { (eval echo configure:10215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10226 { (eval echo configure:10227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10216 if test -z "$ac_err"; then | 10228 if test -z "$ac_err"; then |
10217 rm -rf conftest* | 10229 rm -rf conftest* |
10218 eval "ac_cv_header_$ac_safe=yes" | 10230 eval "ac_cv_header_$ac_safe=yes" |
10219 else | 10231 else |
10234 } | 10246 } |
10235 if test "$with_wnn" != "no"; then | 10247 if test "$with_wnn" != "no"; then |
10236 for ac_func in crypt | 10248 for ac_func in crypt |
10237 do | 10249 do |
10238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10239 echo "configure:10240: checking for $ac_func" >&5 | 10251 echo "configure:10252: checking for $ac_func" >&5 |
10240 | 10252 |
10241 cat > conftest.$ac_ext <<EOF | 10253 cat > conftest.$ac_ext <<EOF |
10242 #line 10243 "configure" | 10254 #line 10255 "configure" |
10243 #include "confdefs.h" | 10255 #include "confdefs.h" |
10244 /* System header to define __stub macros and hopefully few prototypes, | 10256 /* System header to define __stub macros and hopefully few prototypes, |
10245 which can conflict with char $ac_func(); below. */ | 10257 which can conflict with char $ac_func(); below. */ |
10246 #include <assert.h> | 10258 #include <assert.h> |
10247 /* Override any gcc2 internal prototype to avoid an error. */ | 10259 /* Override any gcc2 internal prototype to avoid an error. */ |
10260 $ac_func(); | 10272 $ac_func(); |
10261 #endif | 10273 #endif |
10262 | 10274 |
10263 ; return 0; } | 10275 ; return 0; } |
10264 EOF | 10276 EOF |
10265 if { (eval echo configure:10266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10277 if { (eval echo configure:10278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10266 rm -rf conftest* | 10278 rm -rf conftest* |
10267 eval "ac_cv_func_$ac_func=yes" | 10279 eval "ac_cv_func_$ac_func=yes" |
10268 else | 10280 else |
10269 echo "configure: failed program was:" >&5 | 10281 echo "configure: failed program was:" >&5 |
10270 cat conftest.$ac_ext >&5 | 10282 cat conftest.$ac_ext >&5 |
10289 fi | 10301 fi |
10290 done | 10302 done |
10291 | 10303 |
10292 test "$ac_cv_func_crypt" != "yes" && { | 10304 test "$ac_cv_func_crypt" != "yes" && { |
10293 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10305 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10294 echo "configure:10295: checking for crypt in -lcrypt" >&5 | 10306 echo "configure:10307: checking for crypt in -lcrypt" >&5 |
10295 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10307 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10296 | 10308 |
10297 xe_check_libs=" -lcrypt " | 10309 xe_check_libs=" -lcrypt " |
10298 cat > conftest.$ac_ext <<EOF | 10310 cat > conftest.$ac_ext <<EOF |
10299 #line 10300 "configure" | 10311 #line 10312 "configure" |
10300 #include "confdefs.h" | 10312 #include "confdefs.h" |
10301 /* Override any gcc2 internal prototype to avoid an error. */ | 10313 /* Override any gcc2 internal prototype to avoid an error. */ |
10302 /* We use char because int might match the return type of a gcc2 | 10314 /* We use char because int might match the return type of a gcc2 |
10303 builtin and then its argument prototype would still apply. */ | 10315 builtin and then its argument prototype would still apply. */ |
10304 char crypt(); | 10316 char crypt(); |
10305 | 10317 |
10306 int main() { | 10318 int main() { |
10307 crypt() | 10319 crypt() |
10308 ; return 0; } | 10320 ; return 0; } |
10309 EOF | 10321 EOF |
10310 if { (eval echo configure:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10322 if { (eval echo configure:10323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10311 rm -rf conftest* | 10323 rm -rf conftest* |
10312 eval "ac_cv_lib_$ac_lib_var=yes" | 10324 eval "ac_cv_lib_$ac_lib_var=yes" |
10313 else | 10325 else |
10314 echo "configure: failed program was:" >&5 | 10326 echo "configure: failed program was:" >&5 |
10315 cat conftest.$ac_ext >&5 | 10327 cat conftest.$ac_ext >&5 |
10340 } | 10352 } |
10341 fi | 10353 fi |
10342 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10354 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10343 | 10355 |
10344 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10356 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10345 echo "configure:10346: checking for jl_dic_list_e in -lwnn" >&5 | 10357 echo "configure:10358: checking for jl_dic_list_e in -lwnn" >&5 |
10346 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10358 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10347 | 10359 |
10348 xe_check_libs=" -lwnn " | 10360 xe_check_libs=" -lwnn " |
10349 cat > conftest.$ac_ext <<EOF | 10361 cat > conftest.$ac_ext <<EOF |
10350 #line 10351 "configure" | 10362 #line 10363 "configure" |
10351 #include "confdefs.h" | 10363 #include "confdefs.h" |
10352 /* Override any gcc2 internal prototype to avoid an error. */ | 10364 /* Override any gcc2 internal prototype to avoid an error. */ |
10353 /* We use char because int might match the return type of a gcc2 | 10365 /* We use char because int might match the return type of a gcc2 |
10354 builtin and then its argument prototype would still apply. */ | 10366 builtin and then its argument prototype would still apply. */ |
10355 char jl_dic_list_e(); | 10367 char jl_dic_list_e(); |
10356 | 10368 |
10357 int main() { | 10369 int main() { |
10358 jl_dic_list_e() | 10370 jl_dic_list_e() |
10359 ; return 0; } | 10371 ; return 0; } |
10360 EOF | 10372 EOF |
10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10373 if { (eval echo configure:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10362 rm -rf conftest* | 10374 rm -rf conftest* |
10363 eval "ac_cv_lib_$ac_lib_var=yes" | 10375 eval "ac_cv_lib_$ac_lib_var=yes" |
10364 else | 10376 else |
10365 echo "configure: failed program was:" >&5 | 10377 echo "configure: failed program was:" >&5 |
10366 cat conftest.$ac_ext >&5 | 10378 cat conftest.$ac_ext >&5 |
10374 echo "$ac_t""yes" 1>&6 | 10386 echo "$ac_t""yes" 1>&6 |
10375 libwnn=wnn | 10387 libwnn=wnn |
10376 else | 10388 else |
10377 echo "$ac_t""no" 1>&6 | 10389 echo "$ac_t""no" 1>&6 |
10378 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10390 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10379 echo "configure:10380: checking for jl_dic_list_e in -lwnn4" >&5 | 10391 echo "configure:10392: checking for jl_dic_list_e in -lwnn4" >&5 |
10380 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10392 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10381 | 10393 |
10382 xe_check_libs=" -lwnn4 " | 10394 xe_check_libs=" -lwnn4 " |
10383 cat > conftest.$ac_ext <<EOF | 10395 cat > conftest.$ac_ext <<EOF |
10384 #line 10385 "configure" | 10396 #line 10397 "configure" |
10385 #include "confdefs.h" | 10397 #include "confdefs.h" |
10386 /* Override any gcc2 internal prototype to avoid an error. */ | 10398 /* Override any gcc2 internal prototype to avoid an error. */ |
10387 /* We use char because int might match the return type of a gcc2 | 10399 /* We use char because int might match the return type of a gcc2 |
10388 builtin and then its argument prototype would still apply. */ | 10400 builtin and then its argument prototype would still apply. */ |
10389 char jl_dic_list_e(); | 10401 char jl_dic_list_e(); |
10390 | 10402 |
10391 int main() { | 10403 int main() { |
10392 jl_dic_list_e() | 10404 jl_dic_list_e() |
10393 ; return 0; } | 10405 ; return 0; } |
10394 EOF | 10406 EOF |
10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10396 rm -rf conftest* | 10408 rm -rf conftest* |
10397 eval "ac_cv_lib_$ac_lib_var=yes" | 10409 eval "ac_cv_lib_$ac_lib_var=yes" |
10398 else | 10410 else |
10399 echo "configure: failed program was:" >&5 | 10411 echo "configure: failed program was:" >&5 |
10400 cat conftest.$ac_ext >&5 | 10412 cat conftest.$ac_ext >&5 |
10408 echo "$ac_t""yes" 1>&6 | 10420 echo "$ac_t""yes" 1>&6 |
10409 libwnn=wnn4 | 10421 libwnn=wnn4 |
10410 else | 10422 else |
10411 echo "$ac_t""no" 1>&6 | 10423 echo "$ac_t""no" 1>&6 |
10412 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10424 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10413 echo "configure:10414: checking for jl_dic_list_e in -lwnn6" >&5 | 10425 echo "configure:10426: checking for jl_dic_list_e in -lwnn6" >&5 |
10414 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10426 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10415 | 10427 |
10416 xe_check_libs=" -lwnn6 " | 10428 xe_check_libs=" -lwnn6 " |
10417 cat > conftest.$ac_ext <<EOF | 10429 cat > conftest.$ac_ext <<EOF |
10418 #line 10419 "configure" | 10430 #line 10431 "configure" |
10419 #include "confdefs.h" | 10431 #include "confdefs.h" |
10420 /* Override any gcc2 internal prototype to avoid an error. */ | 10432 /* Override any gcc2 internal prototype to avoid an error. */ |
10421 /* We use char because int might match the return type of a gcc2 | 10433 /* We use char because int might match the return type of a gcc2 |
10422 builtin and then its argument prototype would still apply. */ | 10434 builtin and then its argument prototype would still apply. */ |
10423 char jl_dic_list_e(); | 10435 char jl_dic_list_e(); |
10424 | 10436 |
10425 int main() { | 10437 int main() { |
10426 jl_dic_list_e() | 10438 jl_dic_list_e() |
10427 ; return 0; } | 10439 ; return 0; } |
10428 EOF | 10440 EOF |
10429 if { (eval echo configure:10430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10441 if { (eval echo configure:10442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10430 rm -rf conftest* | 10442 rm -rf conftest* |
10431 eval "ac_cv_lib_$ac_lib_var=yes" | 10443 eval "ac_cv_lib_$ac_lib_var=yes" |
10432 else | 10444 else |
10433 echo "configure: failed program was:" >&5 | 10445 echo "configure: failed program was:" >&5 |
10434 cat conftest.$ac_ext >&5 | 10446 cat conftest.$ac_ext >&5 |
10442 echo "$ac_t""yes" 1>&6 | 10454 echo "$ac_t""yes" 1>&6 |
10443 libwnn=wnn6 | 10455 libwnn=wnn6 |
10444 else | 10456 else |
10445 echo "$ac_t""no" 1>&6 | 10457 echo "$ac_t""no" 1>&6 |
10446 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10458 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10447 echo "configure:10448: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10459 echo "configure:10460: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10448 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10460 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10449 | 10461 |
10450 xe_check_libs=" -lwnn6_fromsrc " | 10462 xe_check_libs=" -lwnn6_fromsrc " |
10451 cat > conftest.$ac_ext <<EOF | 10463 cat > conftest.$ac_ext <<EOF |
10452 #line 10453 "configure" | 10464 #line 10465 "configure" |
10453 #include "confdefs.h" | 10465 #include "confdefs.h" |
10454 /* Override any gcc2 internal prototype to avoid an error. */ | 10466 /* Override any gcc2 internal prototype to avoid an error. */ |
10455 /* We use char because int might match the return type of a gcc2 | 10467 /* We use char because int might match the return type of a gcc2 |
10456 builtin and then its argument prototype would still apply. */ | 10468 builtin and then its argument prototype would still apply. */ |
10457 char dic_list_e(); | 10469 char dic_list_e(); |
10458 | 10470 |
10459 int main() { | 10471 int main() { |
10460 dic_list_e() | 10472 dic_list_e() |
10461 ; return 0; } | 10473 ; return 0; } |
10462 EOF | 10474 EOF |
10463 if { (eval echo configure:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10475 if { (eval echo configure:10476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10464 rm -rf conftest* | 10476 rm -rf conftest* |
10465 eval "ac_cv_lib_$ac_lib_var=yes" | 10477 eval "ac_cv_lib_$ac_lib_var=yes" |
10466 else | 10478 else |
10467 echo "configure: failed program was:" >&5 | 10479 echo "configure: failed program was:" >&5 |
10468 cat conftest.$ac_ext >&5 | 10480 cat conftest.$ac_ext >&5 |
10506 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10518 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10507 fi | 10519 fi |
10508 if test "$with_wnn6" != "no"; then | 10520 if test "$with_wnn6" != "no"; then |
10509 | 10521 |
10510 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10522 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10511 echo "configure:10512: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10523 echo "configure:10524: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10512 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10524 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10513 | 10525 |
10514 xe_check_libs=" -l$libwnn " | 10526 xe_check_libs=" -l$libwnn " |
10515 cat > conftest.$ac_ext <<EOF | 10527 cat > conftest.$ac_ext <<EOF |
10516 #line 10517 "configure" | 10528 #line 10529 "configure" |
10517 #include "confdefs.h" | 10529 #include "confdefs.h" |
10518 /* Override any gcc2 internal prototype to avoid an error. */ | 10530 /* Override any gcc2 internal prototype to avoid an error. */ |
10519 /* We use char because int might match the return type of a gcc2 | 10531 /* We use char because int might match the return type of a gcc2 |
10520 builtin and then its argument prototype would still apply. */ | 10532 builtin and then its argument prototype would still apply. */ |
10521 char jl_fi_dic_list(); | 10533 char jl_fi_dic_list(); |
10522 | 10534 |
10523 int main() { | 10535 int main() { |
10524 jl_fi_dic_list() | 10536 jl_fi_dic_list() |
10525 ; return 0; } | 10537 ; return 0; } |
10526 EOF | 10538 EOF |
10527 if { (eval echo configure:10528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10539 if { (eval echo configure:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10528 rm -rf conftest* | 10540 rm -rf conftest* |
10529 eval "ac_cv_lib_$ac_lib_var=yes" | 10541 eval "ac_cv_lib_$ac_lib_var=yes" |
10530 else | 10542 else |
10531 echo "configure: failed program was:" >&5 | 10543 echo "configure: failed program was:" >&5 |
10532 cat conftest.$ac_ext >&5 | 10544 cat conftest.$ac_ext >&5 |
10557 | 10569 |
10558 canna_includes_found=no | 10570 canna_includes_found=no |
10559 if test "$with_canna" != "no"; then | 10571 if test "$with_canna" != "no"; then |
10560 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10572 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10561 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10573 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10562 echo "configure:10563: checking for canna/jrkanji.h" >&5 | 10574 echo "configure:10575: checking for canna/jrkanji.h" >&5 |
10563 | 10575 |
10564 cat > conftest.$ac_ext <<EOF | 10576 cat > conftest.$ac_ext <<EOF |
10565 #line 10566 "configure" | 10577 #line 10578 "configure" |
10566 #include "confdefs.h" | 10578 #include "confdefs.h" |
10567 #include <canna/jrkanji.h> | 10579 #include <canna/jrkanji.h> |
10568 EOF | 10580 EOF |
10569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10570 { (eval echo configure:10571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10582 { (eval echo configure:10583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10572 if test -z "$ac_err"; then | 10584 if test -z "$ac_err"; then |
10573 rm -rf conftest* | 10585 rm -rf conftest* |
10574 eval "ac_cv_header_$ac_safe=yes" | 10586 eval "ac_cv_header_$ac_safe=yes" |
10575 else | 10587 else |
10592 -d "/usr/local/canna/include"; then | 10604 -d "/usr/local/canna/include"; then |
10593 save_c_switch_site="$c_switch_site" | 10605 save_c_switch_site="$c_switch_site" |
10594 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10606 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10595 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10607 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10596 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10608 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10597 echo "configure:10598: checking for canna/jrkanji.h" >&5 | 10609 echo "configure:10610: checking for canna/jrkanji.h" >&5 |
10598 | 10610 |
10599 cat > conftest.$ac_ext <<EOF | 10611 cat > conftest.$ac_ext <<EOF |
10600 #line 10601 "configure" | 10612 #line 10613 "configure" |
10601 #include "confdefs.h" | 10613 #include "confdefs.h" |
10602 #include <canna/jrkanji.h> | 10614 #include <canna/jrkanji.h> |
10603 EOF | 10615 EOF |
10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10617 { (eval echo configure:10618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10607 if test -z "$ac_err"; then | 10619 if test -z "$ac_err"; then |
10608 rm -rf conftest* | 10620 rm -rf conftest* |
10609 eval "ac_cv_header_$ac_safe=yes" | 10621 eval "ac_cv_header_$ac_safe=yes" |
10610 else | 10622 else |
10628 fi | 10640 fi |
10629 fi | 10641 fi |
10630 | 10642 |
10631 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10643 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10632 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10644 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10633 echo "configure:10634: checking for canna/RK.h" >&5 | 10645 echo "configure:10646: checking for canna/RK.h" >&5 |
10634 | 10646 |
10635 cat > conftest.$ac_ext <<EOF | 10647 cat > conftest.$ac_ext <<EOF |
10636 #line 10637 "configure" | 10648 #line 10649 "configure" |
10637 #include "confdefs.h" | 10649 #include "confdefs.h" |
10638 #include <canna/RK.h> | 10650 #include <canna/RK.h> |
10639 EOF | 10651 EOF |
10640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10641 { (eval echo configure:10642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10653 { (eval echo configure:10654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10643 if test -z "$ac_err"; then | 10655 if test -z "$ac_err"; then |
10644 rm -rf conftest* | 10656 rm -rf conftest* |
10645 eval "ac_cv_header_$ac_safe=yes" | 10657 eval "ac_cv_header_$ac_safe=yes" |
10646 else | 10658 else |
10659 with_canna=no | 10671 with_canna=no |
10660 fi | 10672 fi |
10661 } | 10673 } |
10662 test -z "$with_canna" && { | 10674 test -z "$with_canna" && { |
10663 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10675 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10664 echo "configure:10665: checking for RkBgnBun in -lRKC" >&5 | 10676 echo "configure:10677: checking for RkBgnBun in -lRKC" >&5 |
10665 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10677 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10666 | 10678 |
10667 xe_check_libs=" -lRKC " | 10679 xe_check_libs=" -lRKC " |
10668 cat > conftest.$ac_ext <<EOF | 10680 cat > conftest.$ac_ext <<EOF |
10669 #line 10670 "configure" | 10681 #line 10682 "configure" |
10670 #include "confdefs.h" | 10682 #include "confdefs.h" |
10671 /* Override any gcc2 internal prototype to avoid an error. */ | 10683 /* Override any gcc2 internal prototype to avoid an error. */ |
10672 /* We use char because int might match the return type of a gcc2 | 10684 /* We use char because int might match the return type of a gcc2 |
10673 builtin and then its argument prototype would still apply. */ | 10685 builtin and then its argument prototype would still apply. */ |
10674 char RkBgnBun(); | 10686 char RkBgnBun(); |
10675 | 10687 |
10676 int main() { | 10688 int main() { |
10677 RkBgnBun() | 10689 RkBgnBun() |
10678 ; return 0; } | 10690 ; return 0; } |
10679 EOF | 10691 EOF |
10680 if { (eval echo configure:10681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10692 if { (eval echo configure:10693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10681 rm -rf conftest* | 10693 rm -rf conftest* |
10682 eval "ac_cv_lib_$ac_lib_var=yes" | 10694 eval "ac_cv_lib_$ac_lib_var=yes" |
10683 else | 10695 else |
10684 echo "configure: failed program was:" >&5 | 10696 echo "configure: failed program was:" >&5 |
10685 cat conftest.$ac_ext >&5 | 10697 cat conftest.$ac_ext >&5 |
10698 fi | 10710 fi |
10699 | 10711 |
10700 } | 10712 } |
10701 test -z "$with_canna" && { | 10713 test -z "$with_canna" && { |
10702 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10714 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10703 echo "configure:10704: checking for jrKanjiControl in -lcanna" >&5 | 10715 echo "configure:10716: checking for jrKanjiControl in -lcanna" >&5 |
10704 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10716 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10705 | 10717 |
10706 xe_check_libs=" -lcanna " | 10718 xe_check_libs=" -lcanna " |
10707 cat > conftest.$ac_ext <<EOF | 10719 cat > conftest.$ac_ext <<EOF |
10708 #line 10709 "configure" | 10720 #line 10721 "configure" |
10709 #include "confdefs.h" | 10721 #include "confdefs.h" |
10710 /* Override any gcc2 internal prototype to avoid an error. */ | 10722 /* Override any gcc2 internal prototype to avoid an error. */ |
10711 /* We use char because int might match the return type of a gcc2 | 10723 /* We use char because int might match the return type of a gcc2 |
10712 builtin and then its argument prototype would still apply. */ | 10724 builtin and then its argument prototype would still apply. */ |
10713 char jrKanjiControl(); | 10725 char jrKanjiControl(); |
10714 | 10726 |
10715 int main() { | 10727 int main() { |
10716 jrKanjiControl() | 10728 jrKanjiControl() |
10717 ; return 0; } | 10729 ; return 0; } |
10718 EOF | 10730 EOF |
10719 if { (eval echo configure:10720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10731 if { (eval echo configure:10732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10720 rm -rf conftest* | 10732 rm -rf conftest* |
10721 eval "ac_cv_lib_$ac_lib_var=yes" | 10733 eval "ac_cv_lib_$ac_lib_var=yes" |
10722 else | 10734 else |
10723 echo "configure: failed program was:" >&5 | 10735 echo "configure: failed program was:" >&5 |
10724 cat conftest.$ac_ext >&5 | 10736 cat conftest.$ac_ext >&5 |
10763 | 10775 |
10764 if test "$need_motif" = "yes" ; then | 10776 if test "$need_motif" = "yes" ; then |
10765 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10777 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10766 | 10778 |
10767 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10779 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10768 echo "configure:10769: checking for layout_object_getvalue in -li18n" >&5 | 10780 echo "configure:10781: checking for layout_object_getvalue in -li18n" >&5 |
10769 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10781 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10770 | 10782 |
10771 xe_check_libs=" -li18n " | 10783 xe_check_libs=" -li18n " |
10772 cat > conftest.$ac_ext <<EOF | 10784 cat > conftest.$ac_ext <<EOF |
10773 #line 10774 "configure" | 10785 #line 10786 "configure" |
10774 #include "confdefs.h" | 10786 #include "confdefs.h" |
10775 /* Override any gcc2 internal prototype to avoid an error. */ | 10787 /* Override any gcc2 internal prototype to avoid an error. */ |
10776 /* We use char because int might match the return type of a gcc2 | 10788 /* We use char because int might match the return type of a gcc2 |
10777 builtin and then its argument prototype would still apply. */ | 10789 builtin and then its argument prototype would still apply. */ |
10778 char layout_object_getvalue(); | 10790 char layout_object_getvalue(); |
10779 | 10791 |
10780 int main() { | 10792 int main() { |
10781 layout_object_getvalue() | 10793 layout_object_getvalue() |
10782 ; return 0; } | 10794 ; return 0; } |
10783 EOF | 10795 EOF |
10784 if { (eval echo configure:10785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10796 if { (eval echo configure:10797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10785 rm -rf conftest* | 10797 rm -rf conftest* |
10786 eval "ac_cv_lib_$ac_lib_var=yes" | 10798 eval "ac_cv_lib_$ac_lib_var=yes" |
10787 else | 10799 else |
10788 echo "configure: failed program was:" >&5 | 10800 echo "configure: failed program was:" >&5 |
10789 cat conftest.$ac_ext >&5 | 10801 cat conftest.$ac_ext >&5 |
10865 fi | 10877 fi |
10866 | 10878 |
10867 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 | 10879 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 |
10868 do | 10880 do |
10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10870 echo "configure:10871: checking for $ac_func" >&5 | 10882 echo "configure:10883: checking for $ac_func" >&5 |
10871 | 10883 |
10872 cat > conftest.$ac_ext <<EOF | 10884 cat > conftest.$ac_ext <<EOF |
10873 #line 10874 "configure" | 10885 #line 10886 "configure" |
10874 #include "confdefs.h" | 10886 #include "confdefs.h" |
10875 /* System header to define __stub macros and hopefully few prototypes, | 10887 /* System header to define __stub macros and hopefully few prototypes, |
10876 which can conflict with char $ac_func(); below. */ | 10888 which can conflict with char $ac_func(); below. */ |
10877 #include <assert.h> | 10889 #include <assert.h> |
10878 /* Override any gcc2 internal prototype to avoid an error. */ | 10890 /* Override any gcc2 internal prototype to avoid an error. */ |
10891 $ac_func(); | 10903 $ac_func(); |
10892 #endif | 10904 #endif |
10893 | 10905 |
10894 ; return 0; } | 10906 ; return 0; } |
10895 EOF | 10907 EOF |
10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10908 if { (eval echo configure:10909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10897 rm -rf conftest* | 10909 rm -rf conftest* |
10898 eval "ac_cv_func_$ac_func=yes" | 10910 eval "ac_cv_func_$ac_func=yes" |
10899 else | 10911 else |
10900 echo "configure: failed program was:" >&5 | 10912 echo "configure: failed program was:" >&5 |
10901 cat conftest.$ac_ext >&5 | 10913 cat conftest.$ac_ext >&5 |
10923 | 10935 |
10924 | 10936 |
10925 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10937 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10926 do | 10938 do |
10927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10928 echo "configure:10929: checking for $ac_func" >&5 | 10940 echo "configure:10941: checking for $ac_func" >&5 |
10929 | 10941 |
10930 cat > conftest.$ac_ext <<EOF | 10942 cat > conftest.$ac_ext <<EOF |
10931 #line 10932 "configure" | 10943 #line 10944 "configure" |
10932 #include "confdefs.h" | 10944 #include "confdefs.h" |
10933 /* System header to define __stub macros and hopefully few prototypes, | 10945 /* System header to define __stub macros and hopefully few prototypes, |
10934 which can conflict with char $ac_func(); below. */ | 10946 which can conflict with char $ac_func(); below. */ |
10935 #include <assert.h> | 10947 #include <assert.h> |
10936 /* Override any gcc2 internal prototype to avoid an error. */ | 10948 /* Override any gcc2 internal prototype to avoid an error. */ |
10949 $ac_func(); | 10961 $ac_func(); |
10950 #endif | 10962 #endif |
10951 | 10963 |
10952 ; return 0; } | 10964 ; return 0; } |
10953 EOF | 10965 EOF |
10954 if { (eval echo configure:10955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10966 if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10955 rm -rf conftest* | 10967 rm -rf conftest* |
10956 eval "ac_cv_func_$ac_func=yes" | 10968 eval "ac_cv_func_$ac_func=yes" |
10957 else | 10969 else |
10958 echo "configure: failed program was:" >&5 | 10970 echo "configure: failed program was:" >&5 |
10959 cat conftest.$ac_ext >&5 | 10971 cat conftest.$ac_ext >&5 |
10978 fi | 10990 fi |
10979 done | 10991 done |
10980 | 10992 |
10981 | 10993 |
10982 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10994 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10983 echo "configure:10984: checking for openpty" >&5 | 10995 echo "configure:10996: checking for openpty" >&5 |
10984 | 10996 |
10985 cat > conftest.$ac_ext <<EOF | 10997 cat > conftest.$ac_ext <<EOF |
10986 #line 10987 "configure" | 10998 #line 10999 "configure" |
10987 #include "confdefs.h" | 10999 #include "confdefs.h" |
10988 /* System header to define __stub macros and hopefully few prototypes, | 11000 /* System header to define __stub macros and hopefully few prototypes, |
10989 which can conflict with char openpty(); below. */ | 11001 which can conflict with char openpty(); below. */ |
10990 #include <assert.h> | 11002 #include <assert.h> |
10991 /* Override any gcc2 internal prototype to avoid an error. */ | 11003 /* Override any gcc2 internal prototype to avoid an error. */ |
11004 openpty(); | 11016 openpty(); |
11005 #endif | 11017 #endif |
11006 | 11018 |
11007 ; return 0; } | 11019 ; return 0; } |
11008 EOF | 11020 EOF |
11009 if { (eval echo configure:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11010 rm -rf conftest* | 11022 rm -rf conftest* |
11011 eval "ac_cv_func_openpty=yes" | 11023 eval "ac_cv_func_openpty=yes" |
11012 else | 11024 else |
11013 echo "configure: failed program was:" >&5 | 11025 echo "configure: failed program was:" >&5 |
11014 cat conftest.$ac_ext >&5 | 11026 cat conftest.$ac_ext >&5 |
11023 else | 11035 else |
11024 echo "$ac_t""no" 1>&6 | 11036 echo "$ac_t""no" 1>&6 |
11025 | 11037 |
11026 | 11038 |
11027 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11039 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11028 echo "configure:11029: checking for openpty in -lutil" >&5 | 11040 echo "configure:11041: checking for openpty in -lutil" >&5 |
11029 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11041 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11030 | 11042 |
11031 xe_check_libs=" -lutil " | 11043 xe_check_libs=" -lutil " |
11032 cat > conftest.$ac_ext <<EOF | 11044 cat > conftest.$ac_ext <<EOF |
11033 #line 11034 "configure" | 11045 #line 11046 "configure" |
11034 #include "confdefs.h" | 11046 #include "confdefs.h" |
11035 /* Override any gcc2 internal prototype to avoid an error. */ | 11047 /* Override any gcc2 internal prototype to avoid an error. */ |
11036 /* We use char because int might match the return type of a gcc2 | 11048 /* We use char because int might match the return type of a gcc2 |
11037 builtin and then its argument prototype would still apply. */ | 11049 builtin and then its argument prototype would still apply. */ |
11038 char openpty(); | 11050 char openpty(); |
11039 | 11051 |
11040 int main() { | 11052 int main() { |
11041 openpty() | 11053 openpty() |
11042 ; return 0; } | 11054 ; return 0; } |
11043 EOF | 11055 EOF |
11044 if { (eval echo configure:11045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11056 if { (eval echo configure:11057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11045 rm -rf conftest* | 11057 rm -rf conftest* |
11046 eval "ac_cv_lib_$ac_lib_var=yes" | 11058 eval "ac_cv_lib_$ac_lib_var=yes" |
11047 else | 11059 else |
11048 echo "configure: failed program was:" >&5 | 11060 echo "configure: failed program was:" >&5 |
11049 cat conftest.$ac_ext >&5 | 11061 cat conftest.$ac_ext >&5 |
11074 | 11086 |
11075 for ac_hdr in libutil.h util.h | 11087 for ac_hdr in libutil.h util.h |
11076 do | 11088 do |
11077 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11089 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11078 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11079 echo "configure:11080: checking for $ac_hdr" >&5 | 11091 echo "configure:11092: checking for $ac_hdr" >&5 |
11080 | 11092 |
11081 cat > conftest.$ac_ext <<EOF | 11093 cat > conftest.$ac_ext <<EOF |
11082 #line 11083 "configure" | 11094 #line 11095 "configure" |
11083 #include "confdefs.h" | 11095 #include "confdefs.h" |
11084 #include <$ac_hdr> | 11096 #include <$ac_hdr> |
11085 EOF | 11097 EOF |
11086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11087 { (eval echo configure:11088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11099 { (eval echo configure:11100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11089 if test -z "$ac_err"; then | 11101 if test -z "$ac_err"; then |
11090 rm -rf conftest* | 11102 rm -rf conftest* |
11091 eval "ac_cv_header_$ac_safe=yes" | 11103 eval "ac_cv_header_$ac_safe=yes" |
11092 else | 11104 else |
11119 case "$opsys" in | 11131 case "$opsys" in |
11120 hpux*) for ac_hdr in sys/ptyio.h | 11132 hpux*) for ac_hdr in sys/ptyio.h |
11121 do | 11133 do |
11122 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11124 echo "configure:11125: checking for $ac_hdr" >&5 | 11136 echo "configure:11137: checking for $ac_hdr" >&5 |
11125 | 11137 |
11126 cat > conftest.$ac_ext <<EOF | 11138 cat > conftest.$ac_ext <<EOF |
11127 #line 11128 "configure" | 11139 #line 11140 "configure" |
11128 #include "confdefs.h" | 11140 #include "confdefs.h" |
11129 #include <$ac_hdr> | 11141 #include <$ac_hdr> |
11130 EOF | 11142 EOF |
11131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11132 { (eval echo configure:11133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11134 if test -z "$ac_err"; then | 11146 if test -z "$ac_err"; then |
11135 rm -rf conftest* | 11147 rm -rf conftest* |
11136 eval "ac_cv_header_$ac_safe=yes" | 11148 eval "ac_cv_header_$ac_safe=yes" |
11137 else | 11149 else |
11160 ;; | 11172 ;; |
11161 *) for ac_hdr in pty.h | 11173 *) for ac_hdr in pty.h |
11162 do | 11174 do |
11163 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11175 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11164 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11176 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11165 echo "configure:11166: checking for $ac_hdr" >&5 | 11177 echo "configure:11178: checking for $ac_hdr" >&5 |
11166 | 11178 |
11167 cat > conftest.$ac_ext <<EOF | 11179 cat > conftest.$ac_ext <<EOF |
11168 #line 11169 "configure" | 11180 #line 11181 "configure" |
11169 #include "confdefs.h" | 11181 #include "confdefs.h" |
11170 #include <$ac_hdr> | 11182 #include <$ac_hdr> |
11171 EOF | 11183 EOF |
11172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11173 { (eval echo configure:11174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11185 { (eval echo configure:11186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11175 if test -z "$ac_err"; then | 11187 if test -z "$ac_err"; then |
11176 rm -rf conftest* | 11188 rm -rf conftest* |
11177 eval "ac_cv_header_$ac_safe=yes" | 11189 eval "ac_cv_header_$ac_safe=yes" |
11178 else | 11190 else |
11201 | 11213 |
11202 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11214 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11203 do | 11215 do |
11204 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11216 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11205 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11217 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11206 echo "configure:11207: checking for $ac_hdr" >&5 | 11218 echo "configure:11219: checking for $ac_hdr" >&5 |
11207 | 11219 |
11208 cat > conftest.$ac_ext <<EOF | 11220 cat > conftest.$ac_ext <<EOF |
11209 #line 11210 "configure" | 11221 #line 11222 "configure" |
11210 #include "confdefs.h" | 11222 #include "confdefs.h" |
11211 #include <$ac_hdr> | 11223 #include <$ac_hdr> |
11212 EOF | 11224 EOF |
11213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11214 { (eval echo configure:11215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11226 { (eval echo configure:11227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11216 if test -z "$ac_err"; then | 11228 if test -z "$ac_err"; then |
11217 rm -rf conftest* | 11229 rm -rf conftest* |
11218 eval "ac_cv_header_$ac_safe=yes" | 11230 eval "ac_cv_header_$ac_safe=yes" |
11219 else | 11231 else |
11245 | 11257 |
11246 for ac_hdr in stropts.h | 11258 for ac_hdr in stropts.h |
11247 do | 11259 do |
11248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11260 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11250 echo "configure:11251: checking for $ac_hdr" >&5 | 11262 echo "configure:11263: checking for $ac_hdr" >&5 |
11251 | 11263 |
11252 cat > conftest.$ac_ext <<EOF | 11264 cat > conftest.$ac_ext <<EOF |
11253 #line 11254 "configure" | 11265 #line 11266 "configure" |
11254 #include "confdefs.h" | 11266 #include "confdefs.h" |
11255 #include <$ac_hdr> | 11267 #include <$ac_hdr> |
11256 EOF | 11268 EOF |
11257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11258 { (eval echo configure:11259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11270 { (eval echo configure:11271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11260 if test -z "$ac_err"; then | 11272 if test -z "$ac_err"; then |
11261 rm -rf conftest* | 11273 rm -rf conftest* |
11262 eval "ac_cv_header_$ac_safe=yes" | 11274 eval "ac_cv_header_$ac_safe=yes" |
11263 else | 11275 else |
11286 | 11298 |
11287 if test "$ac_cv_header_stropts_h" = "yes"; then | 11299 if test "$ac_cv_header_stropts_h" = "yes"; then |
11288 for ac_func in isastream | 11300 for ac_func in isastream |
11289 do | 11301 do |
11290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11291 echo "configure:11292: checking for $ac_func" >&5 | 11303 echo "configure:11304: checking for $ac_func" >&5 |
11292 | 11304 |
11293 cat > conftest.$ac_ext <<EOF | 11305 cat > conftest.$ac_ext <<EOF |
11294 #line 11295 "configure" | 11306 #line 11307 "configure" |
11295 #include "confdefs.h" | 11307 #include "confdefs.h" |
11296 /* System header to define __stub macros and hopefully few prototypes, | 11308 /* System header to define __stub macros and hopefully few prototypes, |
11297 which can conflict with char $ac_func(); below. */ | 11309 which can conflict with char $ac_func(); below. */ |
11298 #include <assert.h> | 11310 #include <assert.h> |
11299 /* Override any gcc2 internal prototype to avoid an error. */ | 11311 /* Override any gcc2 internal prototype to avoid an error. */ |
11312 $ac_func(); | 11324 $ac_func(); |
11313 #endif | 11325 #endif |
11314 | 11326 |
11315 ; return 0; } | 11327 ; return 0; } |
11316 EOF | 11328 EOF |
11317 if { (eval echo configure:11318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11329 if { (eval echo configure:11330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11318 rm -rf conftest* | 11330 rm -rf conftest* |
11319 eval "ac_cv_func_$ac_func=yes" | 11331 eval "ac_cv_func_$ac_func=yes" |
11320 else | 11332 else |
11321 echo "configure: failed program was:" >&5 | 11333 echo "configure: failed program was:" >&5 |
11322 cat conftest.$ac_ext >&5 | 11334 cat conftest.$ac_ext >&5 |
11343 | 11355 |
11344 for ac_hdr in strtio.h | 11356 for ac_hdr in strtio.h |
11345 do | 11357 do |
11346 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11347 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11348 echo "configure:11349: checking for $ac_hdr" >&5 | 11360 echo "configure:11361: checking for $ac_hdr" >&5 |
11349 | 11361 |
11350 cat > conftest.$ac_ext <<EOF | 11362 cat > conftest.$ac_ext <<EOF |
11351 #line 11352 "configure" | 11363 #line 11364 "configure" |
11352 #include "confdefs.h" | 11364 #include "confdefs.h" |
11353 #include <$ac_hdr> | 11365 #include <$ac_hdr> |
11354 EOF | 11366 EOF |
11355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11356 { (eval echo configure:11357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11358 if test -z "$ac_err"; then | 11370 if test -z "$ac_err"; then |
11359 rm -rf conftest* | 11371 rm -rf conftest* |
11360 eval "ac_cv_header_$ac_safe=yes" | 11372 eval "ac_cv_header_$ac_safe=yes" |
11361 else | 11373 else |
11388 fi | 11400 fi |
11389 | 11401 |
11390 for ac_func in getloadavg | 11402 for ac_func in getloadavg |
11391 do | 11403 do |
11392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11393 echo "configure:11394: checking for $ac_func" >&5 | 11405 echo "configure:11406: checking for $ac_func" >&5 |
11394 | 11406 |
11395 cat > conftest.$ac_ext <<EOF | 11407 cat > conftest.$ac_ext <<EOF |
11396 #line 11397 "configure" | 11408 #line 11409 "configure" |
11397 #include "confdefs.h" | 11409 #include "confdefs.h" |
11398 /* System header to define __stub macros and hopefully few prototypes, | 11410 /* System header to define __stub macros and hopefully few prototypes, |
11399 which can conflict with char $ac_func(); below. */ | 11411 which can conflict with char $ac_func(); below. */ |
11400 #include <assert.h> | 11412 #include <assert.h> |
11401 /* Override any gcc2 internal prototype to avoid an error. */ | 11413 /* Override any gcc2 internal prototype to avoid an error. */ |
11414 $ac_func(); | 11426 $ac_func(); |
11415 #endif | 11427 #endif |
11416 | 11428 |
11417 ; return 0; } | 11429 ; return 0; } |
11418 EOF | 11430 EOF |
11419 if { (eval echo configure:11420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11431 if { (eval echo configure:11432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11420 rm -rf conftest* | 11432 rm -rf conftest* |
11421 eval "ac_cv_func_$ac_func=yes" | 11433 eval "ac_cv_func_$ac_func=yes" |
11422 else | 11434 else |
11423 echo "configure: failed program was:" >&5 | 11435 echo "configure: failed program was:" >&5 |
11424 cat conftest.$ac_ext >&5 | 11436 cat conftest.$ac_ext >&5 |
11447 if test "$ac_cv_func_getloadavg" = "yes"; then | 11459 if test "$ac_cv_func_getloadavg" = "yes"; then |
11448 for ac_hdr in sys/loadavg.h | 11460 for ac_hdr in sys/loadavg.h |
11449 do | 11461 do |
11450 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11462 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11451 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11463 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11452 echo "configure:11453: checking for $ac_hdr" >&5 | 11464 echo "configure:11465: checking for $ac_hdr" >&5 |
11453 | 11465 |
11454 cat > conftest.$ac_ext <<EOF | 11466 cat > conftest.$ac_ext <<EOF |
11455 #line 11456 "configure" | 11467 #line 11468 "configure" |
11456 #include "confdefs.h" | 11468 #include "confdefs.h" |
11457 #include <$ac_hdr> | 11469 #include <$ac_hdr> |
11458 EOF | 11470 EOF |
11459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11460 { (eval echo configure:11461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11472 { (eval echo configure:11473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11462 if test -z "$ac_err"; then | 11474 if test -z "$ac_err"; then |
11463 rm -rf conftest* | 11475 rm -rf conftest* |
11464 eval "ac_cv_header_$ac_safe=yes" | 11476 eval "ac_cv_header_$ac_safe=yes" |
11465 else | 11477 else |
11491 echo " xemacs will be linked with \"getloadavg.o\"" | 11503 echo " xemacs will be linked with \"getloadavg.o\"" |
11492 fi | 11504 fi |
11493 | 11505 |
11494 | 11506 |
11495 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11507 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11496 echo "configure:11497: checking for kstat_open in -lkstat" >&5 | 11508 echo "configure:11509: checking for kstat_open in -lkstat" >&5 |
11497 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11509 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11498 | 11510 |
11499 xe_check_libs=" -lkstat " | 11511 xe_check_libs=" -lkstat " |
11500 cat > conftest.$ac_ext <<EOF | 11512 cat > conftest.$ac_ext <<EOF |
11501 #line 11502 "configure" | 11513 #line 11514 "configure" |
11502 #include "confdefs.h" | 11514 #include "confdefs.h" |
11503 /* Override any gcc2 internal prototype to avoid an error. */ | 11515 /* Override any gcc2 internal prototype to avoid an error. */ |
11504 /* We use char because int might match the return type of a gcc2 | 11516 /* We use char because int might match the return type of a gcc2 |
11505 builtin and then its argument prototype would still apply. */ | 11517 builtin and then its argument prototype would still apply. */ |
11506 char kstat_open(); | 11518 char kstat_open(); |
11507 | 11519 |
11508 int main() { | 11520 int main() { |
11509 kstat_open() | 11521 kstat_open() |
11510 ; return 0; } | 11522 ; return 0; } |
11511 EOF | 11523 EOF |
11512 if { (eval echo configure:11513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11524 if { (eval echo configure:11525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11513 rm -rf conftest* | 11525 rm -rf conftest* |
11514 eval "ac_cv_lib_$ac_lib_var=yes" | 11526 eval "ac_cv_lib_$ac_lib_var=yes" |
11515 else | 11527 else |
11516 echo "configure: failed program was:" >&5 | 11528 echo "configure: failed program was:" >&5 |
11517 cat conftest.$ac_ext >&5 | 11529 cat conftest.$ac_ext >&5 |
11542 | 11554 |
11543 for ac_hdr in kstat.h | 11555 for ac_hdr in kstat.h |
11544 do | 11556 do |
11545 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11557 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11558 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11547 echo "configure:11548: checking for $ac_hdr" >&5 | 11559 echo "configure:11560: checking for $ac_hdr" >&5 |
11548 | 11560 |
11549 cat > conftest.$ac_ext <<EOF | 11561 cat > conftest.$ac_ext <<EOF |
11550 #line 11551 "configure" | 11562 #line 11563 "configure" |
11551 #include "confdefs.h" | 11563 #include "confdefs.h" |
11552 #include <$ac_hdr> | 11564 #include <$ac_hdr> |
11553 EOF | 11565 EOF |
11554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11555 { (eval echo configure:11556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11567 { (eval echo configure:11568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11557 if test -z "$ac_err"; then | 11569 if test -z "$ac_err"; then |
11558 rm -rf conftest* | 11570 rm -rf conftest* |
11559 eval "ac_cv_header_$ac_safe=yes" | 11571 eval "ac_cv_header_$ac_safe=yes" |
11560 else | 11572 else |
11582 done | 11594 done |
11583 | 11595 |
11584 | 11596 |
11585 | 11597 |
11586 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11598 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11587 echo "configure:11588: checking for kvm_read in -lkvm" >&5 | 11599 echo "configure:11600: checking for kvm_read in -lkvm" >&5 |
11588 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11600 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11589 | 11601 |
11590 xe_check_libs=" -lkvm " | 11602 xe_check_libs=" -lkvm " |
11591 cat > conftest.$ac_ext <<EOF | 11603 cat > conftest.$ac_ext <<EOF |
11592 #line 11593 "configure" | 11604 #line 11605 "configure" |
11593 #include "confdefs.h" | 11605 #include "confdefs.h" |
11594 /* Override any gcc2 internal prototype to avoid an error. */ | 11606 /* Override any gcc2 internal prototype to avoid an error. */ |
11595 /* We use char because int might match the return type of a gcc2 | 11607 /* We use char because int might match the return type of a gcc2 |
11596 builtin and then its argument prototype would still apply. */ | 11608 builtin and then its argument prototype would still apply. */ |
11597 char kvm_read(); | 11609 char kvm_read(); |
11598 | 11610 |
11599 int main() { | 11611 int main() { |
11600 kvm_read() | 11612 kvm_read() |
11601 ; return 0; } | 11613 ; return 0; } |
11602 EOF | 11614 EOF |
11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11615 if { (eval echo configure:11616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11604 rm -rf conftest* | 11616 rm -rf conftest* |
11605 eval "ac_cv_lib_$ac_lib_var=yes" | 11617 eval "ac_cv_lib_$ac_lib_var=yes" |
11606 else | 11618 else |
11607 echo "configure: failed program was:" >&5 | 11619 echo "configure: failed program was:" >&5 |
11608 cat conftest.$ac_ext >&5 | 11620 cat conftest.$ac_ext >&5 |
11632 | 11644 |
11633 | 11645 |
11634 fi | 11646 fi |
11635 | 11647 |
11636 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11648 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11637 echo "configure:11638: checking whether netdb declares h_errno" >&5 | 11649 echo "configure:11650: checking whether netdb declares h_errno" >&5 |
11638 cat > conftest.$ac_ext <<EOF | 11650 cat > conftest.$ac_ext <<EOF |
11639 #line 11640 "configure" | 11651 #line 11652 "configure" |
11640 #include "confdefs.h" | 11652 #include "confdefs.h" |
11641 #include <netdb.h> | 11653 #include <netdb.h> |
11642 int main() { | 11654 int main() { |
11643 return h_errno; | 11655 return h_errno; |
11644 ; return 0; } | 11656 ; return 0; } |
11645 EOF | 11657 EOF |
11646 if { (eval echo configure:11647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11647 rm -rf conftest* | 11659 rm -rf conftest* |
11648 echo "$ac_t""yes" 1>&6 | 11660 echo "$ac_t""yes" 1>&6 |
11649 { test "$extra_verbose" = "yes" && cat << \EOF | 11661 { test "$extra_verbose" = "yes" && cat << \EOF |
11650 Defining HAVE_H_ERRNO | 11662 Defining HAVE_H_ERRNO |
11651 EOF | 11663 EOF |
11661 echo "$ac_t""no" 1>&6 | 11673 echo "$ac_t""no" 1>&6 |
11662 fi | 11674 fi |
11663 rm -f conftest* | 11675 rm -f conftest* |
11664 | 11676 |
11665 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11677 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11666 echo "configure:11667: checking for sigsetjmp" >&5 | 11678 echo "configure:11679: checking for sigsetjmp" >&5 |
11667 cat > conftest.$ac_ext <<EOF | 11679 cat > conftest.$ac_ext <<EOF |
11668 #line 11669 "configure" | 11680 #line 11681 "configure" |
11669 #include "confdefs.h" | 11681 #include "confdefs.h" |
11670 #include <setjmp.h> | 11682 #include <setjmp.h> |
11671 int main() { | 11683 int main() { |
11672 sigjmp_buf bar; sigsetjmp (bar, 0); | 11684 sigjmp_buf bar; sigsetjmp (bar, 0); |
11673 ; return 0; } | 11685 ; return 0; } |
11674 EOF | 11686 EOF |
11675 if { (eval echo configure:11676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11687 if { (eval echo configure:11688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11676 rm -rf conftest* | 11688 rm -rf conftest* |
11677 echo "$ac_t""yes" 1>&6 | 11689 echo "$ac_t""yes" 1>&6 |
11678 { test "$extra_verbose" = "yes" && cat << \EOF | 11690 { test "$extra_verbose" = "yes" && cat << \EOF |
11679 Defining HAVE_SIGSETJMP | 11691 Defining HAVE_SIGSETJMP |
11680 EOF | 11692 EOF |
11690 echo "$ac_t""no" 1>&6 | 11702 echo "$ac_t""no" 1>&6 |
11691 fi | 11703 fi |
11692 rm -f conftest* | 11704 rm -f conftest* |
11693 | 11705 |
11694 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11706 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11695 echo "configure:11696: checking whether localtime caches TZ" >&5 | 11707 echo "configure:11708: checking whether localtime caches TZ" >&5 |
11696 | 11708 |
11697 if test "$ac_cv_func_tzset" = "yes"; then | 11709 if test "$ac_cv_func_tzset" = "yes"; then |
11698 cat > conftest.$ac_ext <<EOF | 11710 cat > conftest.$ac_ext <<EOF |
11699 #line 11700 "configure" | 11711 #line 11712 "configure" |
11700 #include "confdefs.h" | 11712 #include "confdefs.h" |
11701 #include <time.h> | 11713 #include <time.h> |
11702 #if STDC_HEADERS | 11714 #if STDC_HEADERS |
11703 # include <stdlib.h> | 11715 # include <stdlib.h> |
11704 #endif | 11716 #endif |
11729 if (localtime (&now)->tm_hour != hour_unset) | 11741 if (localtime (&now)->tm_hour != hour_unset) |
11730 exit (1); | 11742 exit (1); |
11731 exit (0); | 11743 exit (0); |
11732 } | 11744 } |
11733 EOF | 11745 EOF |
11734 if { (eval echo configure:11735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11746 if { (eval echo configure:11747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11735 then | 11747 then |
11736 emacs_cv_localtime_cache=no | 11748 emacs_cv_localtime_cache=no |
11737 else | 11749 else |
11738 conftest_rc="$?" | 11750 conftest_rc="$?" |
11739 echo "configure: failed program was:" >&5 | 11751 echo "configure: failed program was:" >&5 |
11759 | 11771 |
11760 fi | 11772 fi |
11761 | 11773 |
11762 if test "$HAVE_TIMEVAL" = "yes"; then | 11774 if test "$HAVE_TIMEVAL" = "yes"; then |
11763 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11775 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11764 echo "configure:11765: checking whether gettimeofday accepts one or two arguments" >&5 | 11776 echo "configure:11777: checking whether gettimeofday accepts one or two arguments" >&5 |
11765 cat > conftest.$ac_ext <<EOF | 11777 cat > conftest.$ac_ext <<EOF |
11766 #line 11767 "configure" | 11778 #line 11779 "configure" |
11767 #include "confdefs.h" | 11779 #include "confdefs.h" |
11768 | 11780 |
11769 #ifdef TIME_WITH_SYS_TIME | 11781 #ifdef TIME_WITH_SYS_TIME |
11770 #include <sys/time.h> | 11782 #include <sys/time.h> |
11771 #include <time.h> | 11783 #include <time.h> |
11782 struct timeval time; | 11794 struct timeval time; |
11783 gettimeofday (&time, 0); | 11795 gettimeofday (&time, 0); |
11784 | 11796 |
11785 ; return 0; } | 11797 ; return 0; } |
11786 EOF | 11798 EOF |
11787 if { (eval echo configure:11788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11799 if { (eval echo configure:11800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11788 rm -rf conftest* | 11800 rm -rf conftest* |
11789 echo "$ac_t""two" 1>&6 | 11801 echo "$ac_t""two" 1>&6 |
11790 else | 11802 else |
11791 echo "configure: failed program was:" >&5 | 11803 echo "configure: failed program was:" >&5 |
11792 cat conftest.$ac_ext >&5 | 11804 cat conftest.$ac_ext >&5 |
11804 rm -f conftest* | 11816 rm -f conftest* |
11805 fi | 11817 fi |
11806 | 11818 |
11807 | 11819 |
11808 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11820 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11809 echo "configure:11810: checking for inline" >&5 | 11821 echo "configure:11822: checking for inline" >&5 |
11810 | 11822 |
11811 ac_cv_c_inline=no | 11823 ac_cv_c_inline=no |
11812 for ac_kw in inline __inline__ __inline; do | 11824 for ac_kw in inline __inline__ __inline; do |
11813 cat > conftest.$ac_ext <<EOF | 11825 cat > conftest.$ac_ext <<EOF |
11814 #line 11815 "configure" | 11826 #line 11827 "configure" |
11815 #include "confdefs.h" | 11827 #include "confdefs.h" |
11816 | 11828 |
11817 int main() { | 11829 int main() { |
11818 } $ac_kw foo() { | 11830 } $ac_kw foo() { |
11819 ; return 0; } | 11831 ; return 0; } |
11820 EOF | 11832 EOF |
11821 if { (eval echo configure:11822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11833 if { (eval echo configure:11834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11822 rm -rf conftest* | 11834 rm -rf conftest* |
11823 ac_cv_c_inline=$ac_kw; break | 11835 ac_cv_c_inline=$ac_kw; break |
11824 else | 11836 else |
11825 echo "configure: failed program was:" >&5 | 11837 echo "configure: failed program was:" >&5 |
11826 cat conftest.$ac_ext >&5 | 11838 cat conftest.$ac_ext >&5 |
11857 | 11869 |
11858 if test "$__DECC" != "yes"; then | 11870 if test "$__DECC" != "yes"; then |
11859 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11871 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11860 # for constant arguments. Useless! | 11872 # for constant arguments. Useless! |
11861 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11873 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11862 echo "configure:11863: checking for working alloca.h" >&5 | 11874 echo "configure:11875: checking for working alloca.h" >&5 |
11863 | 11875 |
11864 cat > conftest.$ac_ext <<EOF | 11876 cat > conftest.$ac_ext <<EOF |
11865 #line 11866 "configure" | 11877 #line 11878 "configure" |
11866 #include "confdefs.h" | 11878 #include "confdefs.h" |
11867 #include <alloca.h> | 11879 #include <alloca.h> |
11868 int main() { | 11880 int main() { |
11869 char *p = alloca(2 * sizeof(int)); | 11881 char *p = alloca(2 * sizeof(int)); |
11870 ; return 0; } | 11882 ; return 0; } |
11871 EOF | 11883 EOF |
11872 if { (eval echo configure:11873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11873 rm -rf conftest* | 11885 rm -rf conftest* |
11874 ac_cv_header_alloca_h=yes | 11886 ac_cv_header_alloca_h=yes |
11875 else | 11887 else |
11876 echo "configure: failed program was:" >&5 | 11888 echo "configure: failed program was:" >&5 |
11877 cat conftest.$ac_ext >&5 | 11889 cat conftest.$ac_ext >&5 |
11891 } | 11903 } |
11892 | 11904 |
11893 fi | 11905 fi |
11894 | 11906 |
11895 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11907 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11896 echo "configure:11897: checking for alloca" >&5 | 11908 echo "configure:11909: checking for alloca" >&5 |
11897 | 11909 |
11898 cat > conftest.$ac_ext <<EOF | 11910 cat > conftest.$ac_ext <<EOF |
11899 #line 11900 "configure" | 11911 #line 11912 "configure" |
11900 #include "confdefs.h" | 11912 #include "confdefs.h" |
11901 | 11913 |
11902 #ifdef __GNUC__ | 11914 #ifdef __GNUC__ |
11903 # define alloca __builtin_alloca | 11915 # define alloca __builtin_alloca |
11904 #else | 11916 #else |
11922 | 11934 |
11923 int main() { | 11935 int main() { |
11924 char *p = (char *) alloca(1); | 11936 char *p = (char *) alloca(1); |
11925 ; return 0; } | 11937 ; return 0; } |
11926 EOF | 11938 EOF |
11927 if { (eval echo configure:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11939 if { (eval echo configure:11940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11928 rm -rf conftest* | 11940 rm -rf conftest* |
11929 ac_cv_func_alloca_works=yes | 11941 ac_cv_func_alloca_works=yes |
11930 else | 11942 else |
11931 echo "configure: failed program was:" >&5 | 11943 echo "configure: failed program was:" >&5 |
11932 cat conftest.$ac_ext >&5 | 11944 cat conftest.$ac_ext >&5 |
11961 EOF | 11973 EOF |
11962 } | 11974 } |
11963 | 11975 |
11964 | 11976 |
11965 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11977 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11966 echo "configure:11967: checking whether alloca needs Cray hooks" >&5 | 11978 echo "configure:11979: checking whether alloca needs Cray hooks" >&5 |
11967 | 11979 |
11968 cat > conftest.$ac_ext <<EOF | 11980 cat > conftest.$ac_ext <<EOF |
11969 #line 11970 "configure" | 11981 #line 11982 "configure" |
11970 #include "confdefs.h" | 11982 #include "confdefs.h" |
11971 #if defined(CRAY) && ! defined(CRAY2) | 11983 #if defined(CRAY) && ! defined(CRAY2) |
11972 webecray | 11984 webecray |
11973 #else | 11985 #else |
11974 wenotbecray | 11986 wenotbecray |
11988 | 12000 |
11989 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12001 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11990 if test $ac_cv_os_cray = yes; then | 12002 if test $ac_cv_os_cray = yes; then |
11991 for ac_func in _getb67 GETB67 getb67; do | 12003 for ac_func in _getb67 GETB67 getb67; do |
11992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11993 echo "configure:11994: checking for $ac_func" >&5 | 12005 echo "configure:12006: checking for $ac_func" >&5 |
11994 | 12006 |
11995 cat > conftest.$ac_ext <<EOF | 12007 cat > conftest.$ac_ext <<EOF |
11996 #line 11997 "configure" | 12008 #line 12009 "configure" |
11997 #include "confdefs.h" | 12009 #include "confdefs.h" |
11998 /* System header to define __stub macros and hopefully few prototypes, | 12010 /* System header to define __stub macros and hopefully few prototypes, |
11999 which can conflict with char $ac_func(); below. */ | 12011 which can conflict with char $ac_func(); below. */ |
12000 #include <assert.h> | 12012 #include <assert.h> |
12001 /* Override any gcc2 internal prototype to avoid an error. */ | 12013 /* Override any gcc2 internal prototype to avoid an error. */ |
12014 $ac_func(); | 12026 $ac_func(); |
12015 #endif | 12027 #endif |
12016 | 12028 |
12017 ; return 0; } | 12029 ; return 0; } |
12018 EOF | 12030 EOF |
12019 if { (eval echo configure:12020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12031 if { (eval echo configure:12032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12020 rm -rf conftest* | 12032 rm -rf conftest* |
12021 eval "ac_cv_func_$ac_func=yes" | 12033 eval "ac_cv_func_$ac_func=yes" |
12022 else | 12034 else |
12023 echo "configure: failed program was:" >&5 | 12035 echo "configure: failed program was:" >&5 |
12024 cat conftest.$ac_ext >&5 | 12036 cat conftest.$ac_ext >&5 |
12044 | 12056 |
12045 done | 12057 done |
12046 fi | 12058 fi |
12047 | 12059 |
12048 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12060 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12049 echo "configure:12050: checking stack direction for C alloca" >&5 | 12061 echo "configure:12062: checking stack direction for C alloca" >&5 |
12050 | 12062 |
12051 cat > conftest.$ac_ext <<EOF | 12063 cat > conftest.$ac_ext <<EOF |
12052 #line 12053 "configure" | 12064 #line 12065 "configure" |
12053 #include "confdefs.h" | 12065 #include "confdefs.h" |
12054 find_stack_direction () | 12066 find_stack_direction () |
12055 { | 12067 { |
12056 static char *addr = 0; | 12068 static char *addr = 0; |
12057 auto char dummy; | 12069 auto char dummy; |
12066 main () | 12078 main () |
12067 { | 12079 { |
12068 exit (find_stack_direction() < 0); | 12080 exit (find_stack_direction() < 0); |
12069 } | 12081 } |
12070 EOF | 12082 EOF |
12071 if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12083 if { (eval echo configure:12084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12072 then | 12084 then |
12073 ac_cv_c_stack_direction=1 | 12085 ac_cv_c_stack_direction=1 |
12074 else | 12086 else |
12075 conftest_rc="$?" | 12087 conftest_rc="$?" |
12076 echo "configure: failed program was:" >&5 | 12088 echo "configure: failed program was:" >&5 |
12096 fi | 12108 fi |
12097 fi | 12109 fi |
12098 | 12110 |
12099 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12111 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12100 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12112 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12101 echo "configure:12102: checking for vfork.h" >&5 | 12113 echo "configure:12114: checking for vfork.h" >&5 |
12102 | 12114 |
12103 cat > conftest.$ac_ext <<EOF | 12115 cat > conftest.$ac_ext <<EOF |
12104 #line 12105 "configure" | 12116 #line 12117 "configure" |
12105 #include "confdefs.h" | 12117 #include "confdefs.h" |
12106 #include <vfork.h> | 12118 #include <vfork.h> |
12107 EOF | 12119 EOF |
12108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12109 { (eval echo configure:12110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12121 { (eval echo configure:12122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12111 if test -z "$ac_err"; then | 12123 if test -z "$ac_err"; then |
12112 rm -rf conftest* | 12124 rm -rf conftest* |
12113 eval "ac_cv_header_$ac_safe=yes" | 12125 eval "ac_cv_header_$ac_safe=yes" |
12114 else | 12126 else |
12132 else | 12144 else |
12133 echo "$ac_t""no" 1>&6 | 12145 echo "$ac_t""no" 1>&6 |
12134 fi | 12146 fi |
12135 | 12147 |
12136 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12148 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12137 echo "configure:12138: checking for working vfork" >&5 | 12149 echo "configure:12150: checking for working vfork" >&5 |
12138 | 12150 |
12139 cat > conftest.$ac_ext <<EOF | 12151 cat > conftest.$ac_ext <<EOF |
12140 #line 12141 "configure" | 12152 #line 12153 "configure" |
12141 #include "confdefs.h" | 12153 #include "confdefs.h" |
12142 /* Thanks to Paul Eggert for this test. */ | 12154 /* Thanks to Paul Eggert for this test. */ |
12143 #include <stdio.h> | 12155 #include <stdio.h> |
12144 #include <sys/types.h> | 12156 #include <sys/types.h> |
12145 #include <sys/stat.h> | 12157 #include <sys/stat.h> |
12230 || fstat(fileno(stdout), &st) != 0 | 12242 || fstat(fileno(stdout), &st) != 0 |
12231 ); | 12243 ); |
12232 } | 12244 } |
12233 } | 12245 } |
12234 EOF | 12246 EOF |
12235 if { (eval echo configure:12236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12247 if { (eval echo configure:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12236 then | 12248 then |
12237 ac_cv_func_vfork_works=yes | 12249 ac_cv_func_vfork_works=yes |
12238 else | 12250 else |
12239 conftest_rc="$?" | 12251 conftest_rc="$?" |
12240 echo "configure: failed program was:" >&5 | 12252 echo "configure: failed program was:" >&5 |
12256 | 12268 |
12257 fi | 12269 fi |
12258 | 12270 |
12259 | 12271 |
12260 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12272 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12261 echo "configure:12262: checking for working strcoll" >&5 | 12273 echo "configure:12274: checking for working strcoll" >&5 |
12262 | 12274 |
12263 cat > conftest.$ac_ext <<EOF | 12275 cat > conftest.$ac_ext <<EOF |
12264 #line 12265 "configure" | 12276 #line 12277 "configure" |
12265 #include "confdefs.h" | 12277 #include "confdefs.h" |
12266 #include <string.h> | 12278 #include <string.h> |
12267 main () | 12279 main () |
12268 { | 12280 { |
12269 exit (strcoll ("abc", "def") >= 0 || | 12281 exit (strcoll ("abc", "def") >= 0 || |
12270 strcoll ("ABC", "DEF") >= 0 || | 12282 strcoll ("ABC", "DEF") >= 0 || |
12271 strcoll ("123", "456") >= 0); | 12283 strcoll ("123", "456") >= 0); |
12272 } | 12284 } |
12273 EOF | 12285 EOF |
12274 if { (eval echo configure:12275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12286 if { (eval echo configure:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12275 then | 12287 then |
12276 ac_cv_func_strcoll_works=yes | 12288 ac_cv_func_strcoll_works=yes |
12277 else | 12289 else |
12278 conftest_rc="$?" | 12290 conftest_rc="$?" |
12279 echo "configure: failed program was:" >&5 | 12291 echo "configure: failed program was:" >&5 |
12297 | 12309 |
12298 | 12310 |
12299 for ac_func in getpgrp | 12311 for ac_func in getpgrp |
12300 do | 12312 do |
12301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12302 echo "configure:12303: checking for $ac_func" >&5 | 12314 echo "configure:12315: checking for $ac_func" >&5 |
12303 | 12315 |
12304 cat > conftest.$ac_ext <<EOF | 12316 cat > conftest.$ac_ext <<EOF |
12305 #line 12306 "configure" | 12317 #line 12318 "configure" |
12306 #include "confdefs.h" | 12318 #include "confdefs.h" |
12307 /* System header to define __stub macros and hopefully few prototypes, | 12319 /* System header to define __stub macros and hopefully few prototypes, |
12308 which can conflict with char $ac_func(); below. */ | 12320 which can conflict with char $ac_func(); below. */ |
12309 #include <assert.h> | 12321 #include <assert.h> |
12310 /* Override any gcc2 internal prototype to avoid an error. */ | 12322 /* Override any gcc2 internal prototype to avoid an error. */ |
12323 $ac_func(); | 12335 $ac_func(); |
12324 #endif | 12336 #endif |
12325 | 12337 |
12326 ; return 0; } | 12338 ; return 0; } |
12327 EOF | 12339 EOF |
12328 if { (eval echo configure:12329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12340 if { (eval echo configure:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12329 rm -rf conftest* | 12341 rm -rf conftest* |
12330 eval "ac_cv_func_$ac_func=yes" | 12342 eval "ac_cv_func_$ac_func=yes" |
12331 else | 12343 else |
12332 echo "configure: failed program was:" >&5 | 12344 echo "configure: failed program was:" >&5 |
12333 cat conftest.$ac_ext >&5 | 12345 cat conftest.$ac_ext >&5 |
12351 echo "$ac_t""no" 1>&6 | 12363 echo "$ac_t""no" 1>&6 |
12352 fi | 12364 fi |
12353 done | 12365 done |
12354 | 12366 |
12355 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12367 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12356 echo "configure:12357: checking whether getpgrp takes no argument" >&5 | 12368 echo "configure:12369: checking whether getpgrp takes no argument" >&5 |
12357 | 12369 |
12358 cat > conftest.$ac_ext <<EOF | 12370 cat > conftest.$ac_ext <<EOF |
12359 #line 12360 "configure" | 12371 #line 12372 "configure" |
12360 #include "confdefs.h" | 12372 #include "confdefs.h" |
12361 | 12373 |
12362 /* | 12374 /* |
12363 * If this system has a BSD-style getpgrp(), | 12375 * If this system has a BSD-style getpgrp(), |
12364 * which takes a pid argument, exit unsuccessfully. | 12376 * which takes a pid argument, exit unsuccessfully. |
12409 exit(s>>8); | 12421 exit(s>>8); |
12410 } | 12422 } |
12411 } | 12423 } |
12412 | 12424 |
12413 EOF | 12425 EOF |
12414 if { (eval echo configure:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12426 if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12415 then | 12427 then |
12416 ac_cv_func_getpgrp_void=yes | 12428 ac_cv_func_getpgrp_void=yes |
12417 else | 12429 else |
12418 conftest_rc="$?" | 12430 conftest_rc="$?" |
12419 echo "configure: failed program was:" >&5 | 12431 echo "configure: failed program was:" >&5 |
12436 | 12448 |
12437 fi | 12449 fi |
12438 | 12450 |
12439 | 12451 |
12440 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12452 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12441 echo "configure:12442: checking for working mmap" >&5 | 12453 echo "configure:12454: checking for working mmap" >&5 |
12442 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12454 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12443 cat > conftest.$ac_ext <<EOF | 12455 cat > conftest.$ac_ext <<EOF |
12444 #line 12445 "configure" | 12456 #line 12457 "configure" |
12445 #include "confdefs.h" | 12457 #include "confdefs.h" |
12446 #include <stdio.h> | 12458 #include <stdio.h> |
12447 #include <unistd.h> | 12459 #include <unistd.h> |
12448 #include <fcntl.h> | 12460 #include <fcntl.h> |
12449 #include <sys/mman.h> | 12461 #include <sys/mman.h> |
12472 return 0; | 12484 return 0; |
12473 perror ("conftest: mmap failed"); | 12485 perror ("conftest: mmap failed"); |
12474 return 1; | 12486 return 1; |
12475 } | 12487 } |
12476 EOF | 12488 EOF |
12477 if { (eval echo configure:12478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12489 if { (eval echo configure:12490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12478 then | 12490 then |
12479 have_mmap=yes | 12491 have_mmap=yes |
12480 else | 12492 else |
12481 conftest_rc="$?" | 12493 conftest_rc="$?" |
12482 echo "configure: failed program was:" >&5 | 12494 echo "configure: failed program was:" >&5 |
12501 esac | 12513 esac |
12502 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12514 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12503 if test "$rel_alloc $have_mmap" = "default yes"; then | 12515 if test "$rel_alloc $have_mmap" = "default yes"; then |
12504 if test "$doug_lea_malloc" = "yes"; then | 12516 if test "$doug_lea_malloc" = "yes"; then |
12505 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12517 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12506 echo "configure:12507: checking for M_MMAP_THRESHOLD" >&5 | 12518 echo "configure:12519: checking for M_MMAP_THRESHOLD" >&5 |
12507 cat > conftest.$ac_ext <<EOF | 12519 cat > conftest.$ac_ext <<EOF |
12508 #line 12509 "configure" | 12520 #line 12521 "configure" |
12509 #include "confdefs.h" | 12521 #include "confdefs.h" |
12510 #include <malloc.h> | 12522 #include <malloc.h> |
12511 int main() { | 12523 int main() { |
12512 | 12524 |
12513 #ifndef M_MMAP_THRESHOLD | 12525 #ifndef M_MMAP_THRESHOLD |
12515 !@+$%^&*_)(_ - unlikely to compile... | 12527 !@+$%^&*_)(_ - unlikely to compile... |
12516 #endif | 12528 #endif |
12517 | 12529 |
12518 ; return 0; } | 12530 ; return 0; } |
12519 EOF | 12531 EOF |
12520 if { (eval echo configure:12521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12532 if { (eval echo configure:12533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12521 rm -rf conftest* | 12533 rm -rf conftest* |
12522 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12534 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12523 else | 12535 else |
12524 echo "configure: failed program was:" >&5 | 12536 echo "configure: failed program was:" >&5 |
12525 cat conftest.$ac_ext >&5 | 12537 cat conftest.$ac_ext >&5 |
12540 } | 12552 } |
12541 | 12553 |
12542 | 12554 |
12543 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12555 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12544 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12556 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12545 echo "configure:12546: checking for termios.h" >&5 | 12557 echo "configure:12558: checking for termios.h" >&5 |
12546 | 12558 |
12547 cat > conftest.$ac_ext <<EOF | 12559 cat > conftest.$ac_ext <<EOF |
12548 #line 12549 "configure" | 12560 #line 12561 "configure" |
12549 #include "confdefs.h" | 12561 #include "confdefs.h" |
12550 #include <termios.h> | 12562 #include <termios.h> |
12551 EOF | 12563 EOF |
12552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12553 { (eval echo configure:12554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12565 { (eval echo configure:12566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12555 if test -z "$ac_err"; then | 12567 if test -z "$ac_err"; then |
12556 rm -rf conftest* | 12568 rm -rf conftest* |
12557 eval "ac_cv_header_$ac_safe=yes" | 12569 eval "ac_cv_header_$ac_safe=yes" |
12558 else | 12570 else |
12591 | 12603 |
12592 else | 12604 else |
12593 echo "$ac_t""no" 1>&6 | 12605 echo "$ac_t""no" 1>&6 |
12594 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12606 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12595 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12607 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12596 echo "configure:12597: checking for termio.h" >&5 | 12608 echo "configure:12609: checking for termio.h" >&5 |
12597 | 12609 |
12598 cat > conftest.$ac_ext <<EOF | 12610 cat > conftest.$ac_ext <<EOF |
12599 #line 12600 "configure" | 12611 #line 12612 "configure" |
12600 #include "confdefs.h" | 12612 #include "confdefs.h" |
12601 #include <termio.h> | 12613 #include <termio.h> |
12602 EOF | 12614 EOF |
12603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12604 { (eval echo configure:12605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12616 { (eval echo configure:12617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12606 if test -z "$ac_err"; then | 12618 if test -z "$ac_err"; then |
12607 rm -rf conftest* | 12619 rm -rf conftest* |
12608 eval "ac_cv_header_$ac_safe=yes" | 12620 eval "ac_cv_header_$ac_safe=yes" |
12609 else | 12621 else |
12631 fi | 12643 fi |
12632 | 12644 |
12633 | 12645 |
12634 | 12646 |
12635 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12647 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12636 echo "configure:12637: checking for socket" >&5 | 12648 echo "configure:12649: checking for socket" >&5 |
12637 | 12649 |
12638 cat > conftest.$ac_ext <<EOF | 12650 cat > conftest.$ac_ext <<EOF |
12639 #line 12640 "configure" | 12651 #line 12652 "configure" |
12640 #include "confdefs.h" | 12652 #include "confdefs.h" |
12641 /* System header to define __stub macros and hopefully few prototypes, | 12653 /* System header to define __stub macros and hopefully few prototypes, |
12642 which can conflict with char socket(); below. */ | 12654 which can conflict with char socket(); below. */ |
12643 #include <assert.h> | 12655 #include <assert.h> |
12644 /* Override any gcc2 internal prototype to avoid an error. */ | 12656 /* Override any gcc2 internal prototype to avoid an error. */ |
12657 socket(); | 12669 socket(); |
12658 #endif | 12670 #endif |
12659 | 12671 |
12660 ; return 0; } | 12672 ; return 0; } |
12661 EOF | 12673 EOF |
12662 if { (eval echo configure:12663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12674 if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12663 rm -rf conftest* | 12675 rm -rf conftest* |
12664 eval "ac_cv_func_socket=yes" | 12676 eval "ac_cv_func_socket=yes" |
12665 else | 12677 else |
12666 echo "configure: failed program was:" >&5 | 12678 echo "configure: failed program was:" >&5 |
12667 cat conftest.$ac_ext >&5 | 12679 cat conftest.$ac_ext >&5 |
12672 | 12684 |
12673 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12685 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12674 echo "$ac_t""yes" 1>&6 | 12686 echo "$ac_t""yes" 1>&6 |
12675 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12687 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12676 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12688 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12677 echo "configure:12678: checking for netinet/in.h" >&5 | 12689 echo "configure:12690: checking for netinet/in.h" >&5 |
12678 | 12690 |
12679 cat > conftest.$ac_ext <<EOF | 12691 cat > conftest.$ac_ext <<EOF |
12680 #line 12681 "configure" | 12692 #line 12693 "configure" |
12681 #include "confdefs.h" | 12693 #include "confdefs.h" |
12682 #include <netinet/in.h> | 12694 #include <netinet/in.h> |
12683 EOF | 12695 EOF |
12684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12685 { (eval echo configure:12686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12697 { (eval echo configure:12698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12687 if test -z "$ac_err"; then | 12699 if test -z "$ac_err"; then |
12688 rm -rf conftest* | 12700 rm -rf conftest* |
12689 eval "ac_cv_header_$ac_safe=yes" | 12701 eval "ac_cv_header_$ac_safe=yes" |
12690 else | 12702 else |
12697 rm -f conftest* | 12709 rm -f conftest* |
12698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12710 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12699 echo "$ac_t""yes" 1>&6 | 12711 echo "$ac_t""yes" 1>&6 |
12700 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12712 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12701 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12713 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12702 echo "configure:12703: checking for arpa/inet.h" >&5 | 12714 echo "configure:12715: checking for arpa/inet.h" >&5 |
12703 | 12715 |
12704 cat > conftest.$ac_ext <<EOF | 12716 cat > conftest.$ac_ext <<EOF |
12705 #line 12706 "configure" | 12717 #line 12718 "configure" |
12706 #include "confdefs.h" | 12718 #include "confdefs.h" |
12707 #include <arpa/inet.h> | 12719 #include <arpa/inet.h> |
12708 EOF | 12720 EOF |
12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12722 { (eval echo configure:12723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12712 if test -z "$ac_err"; then | 12724 if test -z "$ac_err"; then |
12713 rm -rf conftest* | 12725 rm -rf conftest* |
12714 eval "ac_cv_header_$ac_safe=yes" | 12726 eval "ac_cv_header_$ac_safe=yes" |
12715 else | 12727 else |
12730 #define HAVE_SOCKETS 1 | 12742 #define HAVE_SOCKETS 1 |
12731 EOF | 12743 EOF |
12732 } | 12744 } |
12733 | 12745 |
12734 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12746 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12735 echo "configure:12736: checking "for sun_len member in struct sockaddr_un"" >&5 | 12747 echo "configure:12748: checking "for sun_len member in struct sockaddr_un"" >&5 |
12736 cat > conftest.$ac_ext <<EOF | 12748 cat > conftest.$ac_ext <<EOF |
12737 #line 12738 "configure" | 12749 #line 12750 "configure" |
12738 #include "confdefs.h" | 12750 #include "confdefs.h" |
12739 | 12751 |
12740 #include <sys/types.h> | 12752 #include <sys/types.h> |
12741 #include <sys/socket.h> | 12753 #include <sys/socket.h> |
12742 #include <sys/un.h> | 12754 #include <sys/un.h> |
12743 | 12755 |
12744 int main() { | 12756 int main() { |
12745 static struct sockaddr_un x; x.sun_len = 1; | 12757 static struct sockaddr_un x; x.sun_len = 1; |
12746 ; return 0; } | 12758 ; return 0; } |
12747 EOF | 12759 EOF |
12748 if { (eval echo configure:12749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12760 if { (eval echo configure:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12749 rm -rf conftest* | 12761 rm -rf conftest* |
12750 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12762 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12751 Defining HAVE_SOCKADDR_SUN_LEN | 12763 Defining HAVE_SOCKADDR_SUN_LEN |
12752 EOF | 12764 EOF |
12753 cat >> confdefs.h <<\EOF | 12765 cat >> confdefs.h <<\EOF |
12761 rm -rf conftest* | 12773 rm -rf conftest* |
12762 echo "$ac_t""no" 1>&6 | 12774 echo "$ac_t""no" 1>&6 |
12763 fi | 12775 fi |
12764 rm -f conftest* | 12776 rm -f conftest* |
12765 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12777 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12766 echo "configure:12767: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12778 echo "configure:12779: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12767 cat > conftest.$ac_ext <<EOF | 12779 cat > conftest.$ac_ext <<EOF |
12768 #line 12769 "configure" | 12780 #line 12781 "configure" |
12769 #include "confdefs.h" | 12781 #include "confdefs.h" |
12770 | 12782 |
12771 #include <sys/types.h> | 12783 #include <sys/types.h> |
12772 #include <netinet/in.h> | 12784 #include <netinet/in.h> |
12773 | 12785 |
12774 int main() { | 12786 int main() { |
12775 static struct ip_mreq x; | 12787 static struct ip_mreq x; |
12776 ; return 0; } | 12788 ; return 0; } |
12777 EOF | 12789 EOF |
12778 if { (eval echo configure:12779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12790 if { (eval echo configure:12791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12779 rm -rf conftest* | 12791 rm -rf conftest* |
12780 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12792 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12781 Defining HAVE_MULTICAST | 12793 Defining HAVE_MULTICAST |
12782 EOF | 12794 EOF |
12783 cat >> confdefs.h <<\EOF | 12795 cat >> confdefs.h <<\EOF |
12804 echo "$ac_t""no" 1>&6 | 12816 echo "$ac_t""no" 1>&6 |
12805 fi | 12817 fi |
12806 | 12818 |
12807 | 12819 |
12808 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12820 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12809 echo "configure:12810: checking for msgget" >&5 | 12821 echo "configure:12822: checking for msgget" >&5 |
12810 | 12822 |
12811 cat > conftest.$ac_ext <<EOF | 12823 cat > conftest.$ac_ext <<EOF |
12812 #line 12813 "configure" | 12824 #line 12825 "configure" |
12813 #include "confdefs.h" | 12825 #include "confdefs.h" |
12814 /* System header to define __stub macros and hopefully few prototypes, | 12826 /* System header to define __stub macros and hopefully few prototypes, |
12815 which can conflict with char msgget(); below. */ | 12827 which can conflict with char msgget(); below. */ |
12816 #include <assert.h> | 12828 #include <assert.h> |
12817 /* Override any gcc2 internal prototype to avoid an error. */ | 12829 /* Override any gcc2 internal prototype to avoid an error. */ |
12830 msgget(); | 12842 msgget(); |
12831 #endif | 12843 #endif |
12832 | 12844 |
12833 ; return 0; } | 12845 ; return 0; } |
12834 EOF | 12846 EOF |
12835 if { (eval echo configure:12836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12847 if { (eval echo configure:12848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12836 rm -rf conftest* | 12848 rm -rf conftest* |
12837 eval "ac_cv_func_msgget=yes" | 12849 eval "ac_cv_func_msgget=yes" |
12838 else | 12850 else |
12839 echo "configure: failed program was:" >&5 | 12851 echo "configure: failed program was:" >&5 |
12840 cat conftest.$ac_ext >&5 | 12852 cat conftest.$ac_ext >&5 |
12845 | 12857 |
12846 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12858 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12847 echo "$ac_t""yes" 1>&6 | 12859 echo "$ac_t""yes" 1>&6 |
12848 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12860 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12849 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12861 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12850 echo "configure:12851: checking for sys/ipc.h" >&5 | 12862 echo "configure:12863: checking for sys/ipc.h" >&5 |
12851 | 12863 |
12852 cat > conftest.$ac_ext <<EOF | 12864 cat > conftest.$ac_ext <<EOF |
12853 #line 12854 "configure" | 12865 #line 12866 "configure" |
12854 #include "confdefs.h" | 12866 #include "confdefs.h" |
12855 #include <sys/ipc.h> | 12867 #include <sys/ipc.h> |
12856 EOF | 12868 EOF |
12857 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12858 { (eval echo configure:12859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12870 { (eval echo configure:12871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12859 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12860 if test -z "$ac_err"; then | 12872 if test -z "$ac_err"; then |
12861 rm -rf conftest* | 12873 rm -rf conftest* |
12862 eval "ac_cv_header_$ac_safe=yes" | 12874 eval "ac_cv_header_$ac_safe=yes" |
12863 else | 12875 else |
12870 rm -f conftest* | 12882 rm -f conftest* |
12871 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12872 echo "$ac_t""yes" 1>&6 | 12884 echo "$ac_t""yes" 1>&6 |
12873 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12885 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12874 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12886 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12875 echo "configure:12876: checking for sys/msg.h" >&5 | 12887 echo "configure:12888: checking for sys/msg.h" >&5 |
12876 | 12888 |
12877 cat > conftest.$ac_ext <<EOF | 12889 cat > conftest.$ac_ext <<EOF |
12878 #line 12879 "configure" | 12890 #line 12891 "configure" |
12879 #include "confdefs.h" | 12891 #include "confdefs.h" |
12880 #include <sys/msg.h> | 12892 #include <sys/msg.h> |
12881 EOF | 12893 EOF |
12882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12883 { (eval echo configure:12884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12895 { (eval echo configure:12896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12885 if test -z "$ac_err"; then | 12897 if test -z "$ac_err"; then |
12886 rm -rf conftest* | 12898 rm -rf conftest* |
12887 eval "ac_cv_header_$ac_safe=yes" | 12899 eval "ac_cv_header_$ac_safe=yes" |
12888 else | 12900 else |
12916 fi | 12928 fi |
12917 | 12929 |
12918 | 12930 |
12919 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12931 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12920 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12932 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12921 echo "configure:12922: checking for dirent.h" >&5 | 12933 echo "configure:12934: checking for dirent.h" >&5 |
12922 | 12934 |
12923 cat > conftest.$ac_ext <<EOF | 12935 cat > conftest.$ac_ext <<EOF |
12924 #line 12925 "configure" | 12936 #line 12937 "configure" |
12925 #include "confdefs.h" | 12937 #include "confdefs.h" |
12926 #include <dirent.h> | 12938 #include <dirent.h> |
12927 EOF | 12939 EOF |
12928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12929 { (eval echo configure:12930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12941 { (eval echo configure:12942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12931 if test -z "$ac_err"; then | 12943 if test -z "$ac_err"; then |
12932 rm -rf conftest* | 12944 rm -rf conftest* |
12933 eval "ac_cv_header_$ac_safe=yes" | 12945 eval "ac_cv_header_$ac_safe=yes" |
12934 else | 12946 else |
12951 | 12963 |
12952 else | 12964 else |
12953 echo "$ac_t""no" 1>&6 | 12965 echo "$ac_t""no" 1>&6 |
12954 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12966 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12955 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12967 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12956 echo "configure:12957: checking for sys/dir.h" >&5 | 12968 echo "configure:12969: checking for sys/dir.h" >&5 |
12957 | 12969 |
12958 cat > conftest.$ac_ext <<EOF | 12970 cat > conftest.$ac_ext <<EOF |
12959 #line 12960 "configure" | 12971 #line 12972 "configure" |
12960 #include "confdefs.h" | 12972 #include "confdefs.h" |
12961 #include <sys/dir.h> | 12973 #include <sys/dir.h> |
12962 EOF | 12974 EOF |
12963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12964 { (eval echo configure:12965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12976 { (eval echo configure:12977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12966 if test -z "$ac_err"; then | 12978 if test -z "$ac_err"; then |
12967 rm -rf conftest* | 12979 rm -rf conftest* |
12968 eval "ac_cv_header_$ac_safe=yes" | 12980 eval "ac_cv_header_$ac_safe=yes" |
12969 else | 12981 else |
12992 fi | 13004 fi |
12993 | 13005 |
12994 | 13006 |
12995 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13007 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12996 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13008 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12997 echo "configure:12998: checking for nlist.h" >&5 | 13009 echo "configure:13010: checking for nlist.h" >&5 |
12998 | 13010 |
12999 cat > conftest.$ac_ext <<EOF | 13011 cat > conftest.$ac_ext <<EOF |
13000 #line 13001 "configure" | 13012 #line 13013 "configure" |
13001 #include "confdefs.h" | 13013 #include "confdefs.h" |
13002 #include <nlist.h> | 13014 #include <nlist.h> |
13003 EOF | 13015 EOF |
13004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13005 { (eval echo configure:13006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13017 { (eval echo configure:13018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13007 if test -z "$ac_err"; then | 13019 if test -z "$ac_err"; then |
13008 rm -rf conftest* | 13020 rm -rf conftest* |
13009 eval "ac_cv_header_$ac_safe=yes" | 13021 eval "ac_cv_header_$ac_safe=yes" |
13010 else | 13022 else |
13030 fi | 13042 fi |
13031 | 13043 |
13032 | 13044 |
13033 | 13045 |
13034 echo "checking "for sound support"" 1>&6 | 13046 echo "checking "for sound support"" 1>&6 |
13035 echo "configure:13036: checking "for sound support"" >&5 | 13047 echo "configure:13048: checking "for sound support"" >&5 |
13036 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13048 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13037 | 13049 |
13038 if test "$with_native_sound" != "no"; then | 13050 if test "$with_native_sound" != "no"; then |
13039 if test -n "$native_sound_lib"; then | 13051 if test -n "$native_sound_lib"; then |
13040 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13052 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13041 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13053 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13042 echo "configure:13043: checking for multimedia/audio_device.h" >&5 | 13054 echo "configure:13055: checking for multimedia/audio_device.h" >&5 |
13043 | 13055 |
13044 cat > conftest.$ac_ext <<EOF | 13056 cat > conftest.$ac_ext <<EOF |
13045 #line 13046 "configure" | 13057 #line 13058 "configure" |
13046 #include "confdefs.h" | 13058 #include "confdefs.h" |
13047 #include <multimedia/audio_device.h> | 13059 #include <multimedia/audio_device.h> |
13048 EOF | 13060 EOF |
13049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13050 { (eval echo configure:13051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13062 { (eval echo configure:13063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13052 if test -z "$ac_err"; then | 13064 if test -z "$ac_err"; then |
13053 rm -rf conftest* | 13065 rm -rf conftest* |
13054 eval "ac_cv_header_$ac_safe=yes" | 13066 eval "ac_cv_header_$ac_safe=yes" |
13055 else | 13067 else |
13093 case "$canonical" in | 13105 case "$canonical" in |
13094 *-sgi-* ) | 13106 *-sgi-* ) |
13095 if test -z "$native_sound_lib"; then | 13107 if test -z "$native_sound_lib"; then |
13096 | 13108 |
13097 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13109 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13098 echo "configure:13099: checking for ALopenport in -laudio" >&5 | 13110 echo "configure:13111: checking for ALopenport in -laudio" >&5 |
13099 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13111 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13100 | 13112 |
13101 xe_check_libs=" -laudio " | 13113 xe_check_libs=" -laudio " |
13102 cat > conftest.$ac_ext <<EOF | 13114 cat > conftest.$ac_ext <<EOF |
13103 #line 13104 "configure" | 13115 #line 13116 "configure" |
13104 #include "confdefs.h" | 13116 #include "confdefs.h" |
13105 /* Override any gcc2 internal prototype to avoid an error. */ | 13117 /* Override any gcc2 internal prototype to avoid an error. */ |
13106 /* We use char because int might match the return type of a gcc2 | 13118 /* We use char because int might match the return type of a gcc2 |
13107 builtin and then its argument prototype would still apply. */ | 13119 builtin and then its argument prototype would still apply. */ |
13108 char ALopenport(); | 13120 char ALopenport(); |
13109 | 13121 |
13110 int main() { | 13122 int main() { |
13111 ALopenport() | 13123 ALopenport() |
13112 ; return 0; } | 13124 ; return 0; } |
13113 EOF | 13125 EOF |
13114 if { (eval echo configure:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13126 if { (eval echo configure:13127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13115 rm -rf conftest* | 13127 rm -rf conftest* |
13116 eval "ac_cv_lib_$ac_lib_var=yes" | 13128 eval "ac_cv_lib_$ac_lib_var=yes" |
13117 else | 13129 else |
13118 echo "configure: failed program was:" >&5 | 13130 echo "configure: failed program was:" >&5 |
13119 cat conftest.$ac_ext >&5 | 13131 cat conftest.$ac_ext >&5 |
13140 fi ;; | 13152 fi ;; |
13141 hppa*-hp-hpux* ) | 13153 hppa*-hp-hpux* ) |
13142 if test -z "$native_sound_lib"; then | 13154 if test -z "$native_sound_lib"; then |
13143 | 13155 |
13144 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13156 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13145 echo "configure:13146: checking for AOpenAudio in -lAlib" >&5 | 13157 echo "configure:13158: checking for AOpenAudio in -lAlib" >&5 |
13146 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13158 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13147 | 13159 |
13148 xe_check_libs=" -lAlib " | 13160 xe_check_libs=" -lAlib " |
13149 cat > conftest.$ac_ext <<EOF | 13161 cat > conftest.$ac_ext <<EOF |
13150 #line 13151 "configure" | 13162 #line 13163 "configure" |
13151 #include "confdefs.h" | 13163 #include "confdefs.h" |
13152 /* Override any gcc2 internal prototype to avoid an error. */ | 13164 /* Override any gcc2 internal prototype to avoid an error. */ |
13153 /* We use char because int might match the return type of a gcc2 | 13165 /* We use char because int might match the return type of a gcc2 |
13154 builtin and then its argument prototype would still apply. */ | 13166 builtin and then its argument prototype would still apply. */ |
13155 char AOpenAudio(); | 13167 char AOpenAudio(); |
13156 | 13168 |
13157 int main() { | 13169 int main() { |
13158 AOpenAudio() | 13170 AOpenAudio() |
13159 ; return 0; } | 13171 ; return 0; } |
13160 EOF | 13172 EOF |
13161 if { (eval echo configure:13162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13173 if { (eval echo configure:13174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13162 rm -rf conftest* | 13174 rm -rf conftest* |
13163 eval "ac_cv_lib_$ac_lib_var=yes" | 13175 eval "ac_cv_lib_$ac_lib_var=yes" |
13164 else | 13176 else |
13165 echo "configure: failed program was:" >&5 | 13177 echo "configure: failed program was:" >&5 |
13166 cat conftest.$ac_ext >&5 | 13178 cat conftest.$ac_ext >&5 |
13204 | 13216 |
13205 if test -z "$sound_found"; then | 13217 if test -z "$sound_found"; then |
13206 for dir in "machine" "sys" "linux"; do | 13218 for dir in "machine" "sys" "linux"; do |
13207 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13219 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13208 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13220 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13209 echo "configure:13210: checking for ${dir}/soundcard.h" >&5 | 13221 echo "configure:13222: checking for ${dir}/soundcard.h" >&5 |
13210 | 13222 |
13211 cat > conftest.$ac_ext <<EOF | 13223 cat > conftest.$ac_ext <<EOF |
13212 #line 13213 "configure" | 13224 #line 13225 "configure" |
13213 #include "confdefs.h" | 13225 #include "confdefs.h" |
13214 #include <${dir}/soundcard.h> | 13226 #include <${dir}/soundcard.h> |
13215 EOF | 13227 EOF |
13216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13217 { (eval echo configure:13218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13229 { (eval echo configure:13230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13219 if test -z "$ac_err"; then | 13231 if test -z "$ac_err"; then |
13220 rm -rf conftest* | 13232 rm -rf conftest* |
13221 eval "ac_cv_header_$ac_safe=yes" | 13233 eval "ac_cv_header_$ac_safe=yes" |
13222 else | 13234 else |
13266 fi | 13278 fi |
13267 | 13279 |
13268 if test "$with_nas_sound" != "no"; then | 13280 if test "$with_nas_sound" != "no"; then |
13269 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13281 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13270 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13282 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13271 echo "configure:13272: checking for audio/audiolib.h" >&5 | 13283 echo "configure:13284: checking for audio/audiolib.h" >&5 |
13272 | 13284 |
13273 cat > conftest.$ac_ext <<EOF | 13285 cat > conftest.$ac_ext <<EOF |
13274 #line 13275 "configure" | 13286 #line 13287 "configure" |
13275 #include "confdefs.h" | 13287 #include "confdefs.h" |
13276 #include <audio/audiolib.h> | 13288 #include <audio/audiolib.h> |
13277 EOF | 13289 EOF |
13278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13279 { (eval echo configure:13280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13291 { (eval echo configure:13292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13281 if test -z "$ac_err"; then | 13293 if test -z "$ac_err"; then |
13282 rm -rf conftest* | 13294 rm -rf conftest* |
13283 eval "ac_cv_header_$ac_safe=yes" | 13295 eval "ac_cv_header_$ac_safe=yes" |
13284 else | 13296 else |
13292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13293 echo "$ac_t""yes" 1>&6 | 13305 echo "$ac_t""yes" 1>&6 |
13294 | 13306 |
13295 | 13307 |
13296 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13308 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13297 echo "configure:13298: checking for AuOpenServer in -laudio" >&5 | 13309 echo "configure:13310: checking for AuOpenServer in -laudio" >&5 |
13298 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13310 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13299 | 13311 |
13300 xe_check_libs=" -laudio " | 13312 xe_check_libs=" -laudio " |
13301 cat > conftest.$ac_ext <<EOF | 13313 cat > conftest.$ac_ext <<EOF |
13302 #line 13303 "configure" | 13314 #line 13315 "configure" |
13303 #include "confdefs.h" | 13315 #include "confdefs.h" |
13304 /* Override any gcc2 internal prototype to avoid an error. */ | 13316 /* Override any gcc2 internal prototype to avoid an error. */ |
13305 /* We use char because int might match the return type of a gcc2 | 13317 /* We use char because int might match the return type of a gcc2 |
13306 builtin and then its argument prototype would still apply. */ | 13318 builtin and then its argument prototype would still apply. */ |
13307 char AuOpenServer(); | 13319 char AuOpenServer(); |
13308 | 13320 |
13309 int main() { | 13321 int main() { |
13310 AuOpenServer() | 13322 AuOpenServer() |
13311 ; return 0; } | 13323 ; return 0; } |
13312 EOF | 13324 EOF |
13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13325 if { (eval echo configure:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13314 rm -rf conftest* | 13326 rm -rf conftest* |
13315 eval "ac_cv_lib_$ac_lib_var=yes" | 13327 eval "ac_cv_lib_$ac_lib_var=yes" |
13316 else | 13328 else |
13317 echo "configure: failed program was:" >&5 | 13329 echo "configure: failed program was:" >&5 |
13318 cat conftest.$ac_ext >&5 | 13330 cat conftest.$ac_ext >&5 |
13347 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13359 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13348 echo " xemacs will be linked with \"nas.o\"" | 13360 echo " xemacs will be linked with \"nas.o\"" |
13349 fi | 13361 fi |
13350 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13362 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13351 cat > conftest.$ac_ext <<EOF | 13363 cat > conftest.$ac_ext <<EOF |
13352 #line 13353 "configure" | 13364 #line 13365 "configure" |
13353 #include "confdefs.h" | 13365 #include "confdefs.h" |
13354 #include <audio/Xtutil.h> | 13366 #include <audio/Xtutil.h> |
13355 EOF | 13367 EOF |
13356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13357 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13369 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13378 | 13390 |
13379 if test "$with_esd_sound" != "no"; then | 13391 if test "$with_esd_sound" != "no"; then |
13380 # Extract the first word of "esd-config", so it can be a program name with args. | 13392 # Extract the first word of "esd-config", so it can be a program name with args. |
13381 set dummy esd-config; ac_word=$2 | 13393 set dummy esd-config; ac_word=$2 |
13382 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13383 echo "configure:13384: checking for $ac_word" >&5 | 13395 echo "configure:13396: checking for $ac_word" >&5 |
13384 | 13396 |
13385 if test -n "$have_esd_config"; then | 13397 if test -n "$have_esd_config"; then |
13386 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13398 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13387 else | 13399 else |
13388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13400 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13407 if test "$have_esd_config" = "yes"; then | 13419 if test "$have_esd_config" = "yes"; then |
13408 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13420 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13409 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 | 13421 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 |
13410 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13422 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13411 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13423 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13412 echo "configure:13413: checking for esd_play_stream" >&5 | 13424 echo "configure:13425: checking for esd_play_stream" >&5 |
13413 | 13425 |
13414 cat > conftest.$ac_ext <<EOF | 13426 cat > conftest.$ac_ext <<EOF |
13415 #line 13416 "configure" | 13427 #line 13428 "configure" |
13416 #include "confdefs.h" | 13428 #include "confdefs.h" |
13417 /* System header to define __stub macros and hopefully few prototypes, | 13429 /* System header to define __stub macros and hopefully few prototypes, |
13418 which can conflict with char esd_play_stream(); below. */ | 13430 which can conflict with char esd_play_stream(); below. */ |
13419 #include <assert.h> | 13431 #include <assert.h> |
13420 /* Override any gcc2 internal prototype to avoid an error. */ | 13432 /* Override any gcc2 internal prototype to avoid an error. */ |
13433 esd_play_stream(); | 13445 esd_play_stream(); |
13434 #endif | 13446 #endif |
13435 | 13447 |
13436 ; return 0; } | 13448 ; return 0; } |
13437 EOF | 13449 EOF |
13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13450 if { (eval echo configure:13451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13439 rm -rf conftest* | 13451 rm -rf conftest* |
13440 eval "ac_cv_func_esd_play_stream=yes" | 13452 eval "ac_cv_func_esd_play_stream=yes" |
13441 else | 13453 else |
13442 echo "configure: failed program was:" >&5 | 13454 echo "configure: failed program was:" >&5 |
13443 cat conftest.$ac_ext >&5 | 13455 cat conftest.$ac_ext >&5 |
13484 | 13496 |
13485 test -z "$with_tty" && with_tty=yes | 13497 test -z "$with_tty" && with_tty=yes |
13486 | 13498 |
13487 if test "$with_tty" = "yes" ; then | 13499 if test "$with_tty" = "yes" ; then |
13488 echo "checking for TTY-related features" 1>&6 | 13500 echo "checking for TTY-related features" 1>&6 |
13489 echo "configure:13490: checking for TTY-related features" >&5 | 13501 echo "configure:13502: checking for TTY-related features" >&5 |
13490 { test "$extra_verbose" = "yes" && cat << \EOF | 13502 { test "$extra_verbose" = "yes" && cat << \EOF |
13491 Defining HAVE_TTY | 13503 Defining HAVE_TTY |
13492 EOF | 13504 EOF |
13493 cat >> confdefs.h <<\EOF | 13505 cat >> confdefs.h <<\EOF |
13494 #define HAVE_TTY 1 | 13506 #define HAVE_TTY 1 |
13500 fi | 13512 fi |
13501 | 13513 |
13502 if test -z "$with_ncurses"; then | 13514 if test -z "$with_ncurses"; then |
13503 | 13515 |
13504 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13516 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13505 echo "configure:13506: checking for tgetent in -lncurses" >&5 | 13517 echo "configure:13518: checking for tgetent in -lncurses" >&5 |
13506 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13518 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13507 | 13519 |
13508 xe_check_libs=" -lncurses " | 13520 xe_check_libs=" -lncurses " |
13509 cat > conftest.$ac_ext <<EOF | 13521 cat > conftest.$ac_ext <<EOF |
13510 #line 13511 "configure" | 13522 #line 13523 "configure" |
13511 #include "confdefs.h" | 13523 #include "confdefs.h" |
13512 /* Override any gcc2 internal prototype to avoid an error. */ | 13524 /* Override any gcc2 internal prototype to avoid an error. */ |
13513 /* We use char because int might match the return type of a gcc2 | 13525 /* We use char because int might match the return type of a gcc2 |
13514 builtin and then its argument prototype would still apply. */ | 13526 builtin and then its argument prototype would still apply. */ |
13515 char tgetent(); | 13527 char tgetent(); |
13516 | 13528 |
13517 int main() { | 13529 int main() { |
13518 tgetent() | 13530 tgetent() |
13519 ; return 0; } | 13531 ; return 0; } |
13520 EOF | 13532 EOF |
13521 if { (eval echo configure:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13533 if { (eval echo configure:13534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13522 rm -rf conftest* | 13534 rm -rf conftest* |
13523 eval "ac_cv_lib_$ac_lib_var=yes" | 13535 eval "ac_cv_lib_$ac_lib_var=yes" |
13524 else | 13536 else |
13525 echo "configure: failed program was:" >&5 | 13537 echo "configure: failed program was:" >&5 |
13526 cat conftest.$ac_ext >&5 | 13538 cat conftest.$ac_ext >&5 |
13549 EOF | 13561 EOF |
13550 } | 13562 } |
13551 | 13563 |
13552 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13564 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13553 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13565 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13554 echo "configure:13555: checking for ncurses/curses.h" >&5 | 13566 echo "configure:13567: checking for ncurses/curses.h" >&5 |
13555 | 13567 |
13556 cat > conftest.$ac_ext <<EOF | 13568 cat > conftest.$ac_ext <<EOF |
13557 #line 13558 "configure" | 13569 #line 13570 "configure" |
13558 #include "confdefs.h" | 13570 #include "confdefs.h" |
13559 #include <ncurses/curses.h> | 13571 #include <ncurses/curses.h> |
13560 EOF | 13572 EOF |
13561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13562 { (eval echo configure:13563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13574 { (eval echo configure:13575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13564 if test -z "$ac_err"; then | 13576 if test -z "$ac_err"; then |
13565 rm -rf conftest* | 13577 rm -rf conftest* |
13566 eval "ac_cv_header_$ac_safe=yes" | 13578 eval "ac_cv_header_$ac_safe=yes" |
13567 else | 13579 else |
13579 echo "$ac_t""no" 1>&6 | 13591 echo "$ac_t""no" 1>&6 |
13580 fi | 13592 fi |
13581 | 13593 |
13582 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13594 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13583 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13595 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13584 echo "configure:13585: checking for ncurses/term.h" >&5 | 13596 echo "configure:13597: checking for ncurses/term.h" >&5 |
13585 | 13597 |
13586 cat > conftest.$ac_ext <<EOF | 13598 cat > conftest.$ac_ext <<EOF |
13587 #line 13588 "configure" | 13599 #line 13600 "configure" |
13588 #include "confdefs.h" | 13600 #include "confdefs.h" |
13589 #include <ncurses/term.h> | 13601 #include <ncurses/term.h> |
13590 EOF | 13602 EOF |
13591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13592 { (eval echo configure:13593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13604 { (eval echo configure:13605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13594 if test -z "$ac_err"; then | 13606 if test -z "$ac_err"; then |
13595 rm -rf conftest* | 13607 rm -rf conftest* |
13596 eval "ac_cv_header_$ac_safe=yes" | 13608 eval "ac_cv_header_$ac_safe=yes" |
13597 else | 13609 else |
13617 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13629 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13618 save_c_switch_site="$c_switch_site" | 13630 save_c_switch_site="$c_switch_site" |
13619 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13631 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13620 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13632 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13621 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13633 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13622 echo "configure:13623: checking for ncurses/curses.h" >&5 | 13634 echo "configure:13635: checking for ncurses/curses.h" >&5 |
13623 | 13635 |
13624 cat > conftest.$ac_ext <<EOF | 13636 cat > conftest.$ac_ext <<EOF |
13625 #line 13626 "configure" | 13637 #line 13638 "configure" |
13626 #include "confdefs.h" | 13638 #include "confdefs.h" |
13627 #include <ncurses/curses.h> | 13639 #include <ncurses/curses.h> |
13628 EOF | 13640 EOF |
13629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13630 { (eval echo configure:13631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13642 { (eval echo configure:13643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13632 if test -z "$ac_err"; then | 13644 if test -z "$ac_err"; then |
13633 rm -rf conftest* | 13645 rm -rf conftest* |
13634 eval "ac_cv_header_$ac_safe=yes" | 13646 eval "ac_cv_header_$ac_safe=yes" |
13635 else | 13647 else |
13660 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13672 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13661 else | 13673 else |
13662 for lib in curses termlib termcap; do | 13674 for lib in curses termlib termcap; do |
13663 | 13675 |
13664 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13676 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13665 echo "configure:13666: checking for tgetent in -l$lib" >&5 | 13677 echo "configure:13678: checking for tgetent in -l$lib" >&5 |
13666 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13678 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13667 | 13679 |
13668 xe_check_libs=" -l$lib " | 13680 xe_check_libs=" -l$lib " |
13669 cat > conftest.$ac_ext <<EOF | 13681 cat > conftest.$ac_ext <<EOF |
13670 #line 13671 "configure" | 13682 #line 13683 "configure" |
13671 #include "confdefs.h" | 13683 #include "confdefs.h" |
13672 /* Override any gcc2 internal prototype to avoid an error. */ | 13684 /* Override any gcc2 internal prototype to avoid an error. */ |
13673 /* We use char because int might match the return type of a gcc2 | 13685 /* We use char because int might match the return type of a gcc2 |
13674 builtin and then its argument prototype would still apply. */ | 13686 builtin and then its argument prototype would still apply. */ |
13675 char tgetent(); | 13687 char tgetent(); |
13676 | 13688 |
13677 int main() { | 13689 int main() { |
13678 tgetent() | 13690 tgetent() |
13679 ; return 0; } | 13691 ; return 0; } |
13680 EOF | 13692 EOF |
13681 if { (eval echo configure:13682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13693 if { (eval echo configure:13694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13682 rm -rf conftest* | 13694 rm -rf conftest* |
13683 eval "ac_cv_lib_$ac_lib_var=yes" | 13695 eval "ac_cv_lib_$ac_lib_var=yes" |
13684 else | 13696 else |
13685 echo "configure: failed program was:" >&5 | 13697 echo "configure: failed program was:" >&5 |
13686 cat conftest.$ac_ext >&5 | 13698 cat conftest.$ac_ext >&5 |
13707 if test -n "$libs_termcap"; then | 13719 if test -n "$libs_termcap"; then |
13708 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13720 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13709 else | 13721 else |
13710 | 13722 |
13711 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13723 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13712 echo "configure:13713: checking for tgetent in -lcurses" >&5 | 13724 echo "configure:13725: checking for tgetent in -lcurses" >&5 |
13713 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13725 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13714 | 13726 |
13715 xe_check_libs=" -lcurses " | 13727 xe_check_libs=" -lcurses " |
13716 cat > conftest.$ac_ext <<EOF | 13728 cat > conftest.$ac_ext <<EOF |
13717 #line 13718 "configure" | 13729 #line 13730 "configure" |
13718 #include "confdefs.h" | 13730 #include "confdefs.h" |
13719 /* Override any gcc2 internal prototype to avoid an error. */ | 13731 /* Override any gcc2 internal prototype to avoid an error. */ |
13720 /* We use char because int might match the return type of a gcc2 | 13732 /* We use char because int might match the return type of a gcc2 |
13721 builtin and then its argument prototype would still apply. */ | 13733 builtin and then its argument prototype would still apply. */ |
13722 char tgetent(); | 13734 char tgetent(); |
13723 | 13735 |
13724 int main() { | 13736 int main() { |
13725 tgetent() | 13737 tgetent() |
13726 ; return 0; } | 13738 ; return 0; } |
13727 EOF | 13739 EOF |
13728 if { (eval echo configure:13729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13740 if { (eval echo configure:13741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13729 rm -rf conftest* | 13741 rm -rf conftest* |
13730 eval "ac_cv_lib_$ac_lib_var=yes" | 13742 eval "ac_cv_lib_$ac_lib_var=yes" |
13731 else | 13743 else |
13732 echo "configure: failed program was:" >&5 | 13744 echo "configure: failed program was:" >&5 |
13733 cat conftest.$ac_ext >&5 | 13745 cat conftest.$ac_ext >&5 |
13741 echo "$ac_t""yes" 1>&6 | 13753 echo "$ac_t""yes" 1>&6 |
13742 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13754 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13743 else | 13755 else |
13744 echo "$ac_t""no" 1>&6 | 13756 echo "$ac_t""no" 1>&6 |
13745 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13757 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13746 echo "configure:13747: checking for tgetent in -ltermcap" >&5 | 13758 echo "configure:13759: checking for tgetent in -ltermcap" >&5 |
13747 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13759 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13748 | 13760 |
13749 xe_check_libs=" -ltermcap " | 13761 xe_check_libs=" -ltermcap " |
13750 cat > conftest.$ac_ext <<EOF | 13762 cat > conftest.$ac_ext <<EOF |
13751 #line 13752 "configure" | 13763 #line 13764 "configure" |
13752 #include "confdefs.h" | 13764 #include "confdefs.h" |
13753 /* Override any gcc2 internal prototype to avoid an error. */ | 13765 /* Override any gcc2 internal prototype to avoid an error. */ |
13754 /* We use char because int might match the return type of a gcc2 | 13766 /* We use char because int might match the return type of a gcc2 |
13755 builtin and then its argument prototype would still apply. */ | 13767 builtin and then its argument prototype would still apply. */ |
13756 char tgetent(); | 13768 char tgetent(); |
13757 | 13769 |
13758 int main() { | 13770 int main() { |
13759 tgetent() | 13771 tgetent() |
13760 ; return 0; } | 13772 ; return 0; } |
13761 EOF | 13773 EOF |
13762 if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13774 if { (eval echo configure:13775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13763 rm -rf conftest* | 13775 rm -rf conftest* |
13764 eval "ac_cv_lib_$ac_lib_var=yes" | 13776 eval "ac_cv_lib_$ac_lib_var=yes" |
13765 else | 13777 else |
13766 echo "configure: failed program was:" >&5 | 13778 echo "configure: failed program was:" >&5 |
13767 cat conftest.$ac_ext >&5 | 13779 cat conftest.$ac_ext >&5 |
13805 } | 13817 } |
13806 | 13818 |
13807 | 13819 |
13808 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13820 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13809 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13821 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13810 echo "configure:13811: checking for gpm.h" >&5 | 13822 echo "configure:13823: checking for gpm.h" >&5 |
13811 | 13823 |
13812 cat > conftest.$ac_ext <<EOF | 13824 cat > conftest.$ac_ext <<EOF |
13813 #line 13814 "configure" | 13825 #line 13826 "configure" |
13814 #include "confdefs.h" | 13826 #include "confdefs.h" |
13815 #include <gpm.h> | 13827 #include <gpm.h> |
13816 EOF | 13828 EOF |
13817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13818 { (eval echo configure:13819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13830 { (eval echo configure:13831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13819 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13820 if test -z "$ac_err"; then | 13832 if test -z "$ac_err"; then |
13821 rm -rf conftest* | 13833 rm -rf conftest* |
13822 eval "ac_cv_header_$ac_safe=yes" | 13834 eval "ac_cv_header_$ac_safe=yes" |
13823 else | 13835 else |
13836 with_gpm=no | 13848 with_gpm=no |
13837 fi | 13849 fi |
13838 } | 13850 } |
13839 test -z "$with_gpm" && { | 13851 test -z "$with_gpm" && { |
13840 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13852 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13841 echo "configure:13842: checking for Gpm_Open in -lgpm" >&5 | 13853 echo "configure:13854: checking for Gpm_Open in -lgpm" >&5 |
13842 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13854 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13843 | 13855 |
13844 xe_check_libs=" -lgpm " | 13856 xe_check_libs=" -lgpm " |
13845 cat > conftest.$ac_ext <<EOF | 13857 cat > conftest.$ac_ext <<EOF |
13846 #line 13847 "configure" | 13858 #line 13859 "configure" |
13847 #include "confdefs.h" | 13859 #include "confdefs.h" |
13848 /* Override any gcc2 internal prototype to avoid an error. */ | 13860 /* Override any gcc2 internal prototype to avoid an error. */ |
13849 /* We use char because int might match the return type of a gcc2 | 13861 /* We use char because int might match the return type of a gcc2 |
13850 builtin and then its argument prototype would still apply. */ | 13862 builtin and then its argument prototype would still apply. */ |
13851 char Gpm_Open(); | 13863 char Gpm_Open(); |
13852 | 13864 |
13853 int main() { | 13865 int main() { |
13854 Gpm_Open() | 13866 Gpm_Open() |
13855 ; return 0; } | 13867 ; return 0; } |
13856 EOF | 13868 EOF |
13857 if { (eval echo configure:13858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13858 rm -rf conftest* | 13870 rm -rf conftest* |
13859 eval "ac_cv_lib_$ac_lib_var=yes" | 13871 eval "ac_cv_lib_$ac_lib_var=yes" |
13860 else | 13872 else |
13861 echo "configure: failed program was:" >&5 | 13873 echo "configure: failed program was:" >&5 |
13862 cat conftest.$ac_ext >&5 | 13874 cat conftest.$ac_ext >&5 |
13902 fi | 13914 fi |
13903 | 13915 |
13904 | 13916 |
13905 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13917 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13906 != "no no no" && echo "checking for database support" 1>&6 | 13918 != "no no no" && echo "checking for database support" 1>&6 |
13907 echo "configure:13908: checking for database support" >&5 | 13919 echo "configure:13920: checking for database support" >&5 |
13908 | 13920 |
13909 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13921 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13910 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13922 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13911 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13923 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13912 echo "configure:13913: checking for ndbm.h" >&5 | 13924 echo "configure:13925: checking for ndbm.h" >&5 |
13913 | 13925 |
13914 cat > conftest.$ac_ext <<EOF | 13926 cat > conftest.$ac_ext <<EOF |
13915 #line 13916 "configure" | 13927 #line 13928 "configure" |
13916 #include "confdefs.h" | 13928 #include "confdefs.h" |
13917 #include <ndbm.h> | 13929 #include <ndbm.h> |
13918 EOF | 13930 EOF |
13919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13920 { (eval echo configure:13921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13932 { (eval echo configure:13933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13922 if test -z "$ac_err"; then | 13934 if test -z "$ac_err"; then |
13923 rm -rf conftest* | 13935 rm -rf conftest* |
13924 eval "ac_cv_header_$ac_safe=yes" | 13936 eval "ac_cv_header_$ac_safe=yes" |
13925 else | 13937 else |
13945 fi | 13957 fi |
13946 | 13958 |
13947 if test "$with_database_gdbm" != "no"; then | 13959 if test "$with_database_gdbm" != "no"; then |
13948 | 13960 |
13949 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13961 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13950 echo "configure:13951: checking for dbm_open in -lgdbm" >&5 | 13962 echo "configure:13963: checking for dbm_open in -lgdbm" >&5 |
13951 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13963 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13952 | 13964 |
13953 xe_check_libs=" -lgdbm " | 13965 xe_check_libs=" -lgdbm " |
13954 cat > conftest.$ac_ext <<EOF | 13966 cat > conftest.$ac_ext <<EOF |
13955 #line 13956 "configure" | 13967 #line 13968 "configure" |
13956 #include "confdefs.h" | 13968 #include "confdefs.h" |
13957 /* Override any gcc2 internal prototype to avoid an error. */ | 13969 /* Override any gcc2 internal prototype to avoid an error. */ |
13958 /* We use char because int might match the return type of a gcc2 | 13970 /* We use char because int might match the return type of a gcc2 |
13959 builtin and then its argument prototype would still apply. */ | 13971 builtin and then its argument prototype would still apply. */ |
13960 char dbm_open(); | 13972 char dbm_open(); |
13961 | 13973 |
13962 int main() { | 13974 int main() { |
13963 dbm_open() | 13975 dbm_open() |
13964 ; return 0; } | 13976 ; return 0; } |
13965 EOF | 13977 EOF |
13966 if { (eval echo configure:13967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13978 if { (eval echo configure:13979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13967 rm -rf conftest* | 13979 rm -rf conftest* |
13968 eval "ac_cv_lib_$ac_lib_var=yes" | 13980 eval "ac_cv_lib_$ac_lib_var=yes" |
13969 else | 13981 else |
13970 echo "configure: failed program was:" >&5 | 13982 echo "configure: failed program was:" >&5 |
13971 cat conftest.$ac_ext >&5 | 13983 cat conftest.$ac_ext >&5 |
13989 | 14001 |
13990 fi | 14002 fi |
13991 | 14003 |
13992 if test "$with_database_dbm" != "no"; then | 14004 if test "$with_database_dbm" != "no"; then |
13993 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14005 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13994 echo "configure:13995: checking for dbm_open" >&5 | 14006 echo "configure:14007: checking for dbm_open" >&5 |
13995 | 14007 |
13996 cat > conftest.$ac_ext <<EOF | 14008 cat > conftest.$ac_ext <<EOF |
13997 #line 13998 "configure" | 14009 #line 14010 "configure" |
13998 #include "confdefs.h" | 14010 #include "confdefs.h" |
13999 /* System header to define __stub macros and hopefully few prototypes, | 14011 /* System header to define __stub macros and hopefully few prototypes, |
14000 which can conflict with char dbm_open(); below. */ | 14012 which can conflict with char dbm_open(); below. */ |
14001 #include <assert.h> | 14013 #include <assert.h> |
14002 /* Override any gcc2 internal prototype to avoid an error. */ | 14014 /* Override any gcc2 internal prototype to avoid an error. */ |
14015 dbm_open(); | 14027 dbm_open(); |
14016 #endif | 14028 #endif |
14017 | 14029 |
14018 ; return 0; } | 14030 ; return 0; } |
14019 EOF | 14031 EOF |
14020 if { (eval echo configure:14021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14032 if { (eval echo configure:14033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14021 rm -rf conftest* | 14033 rm -rf conftest* |
14022 eval "ac_cv_func_dbm_open=yes" | 14034 eval "ac_cv_func_dbm_open=yes" |
14023 else | 14035 else |
14024 echo "configure: failed program was:" >&5 | 14036 echo "configure: failed program was:" >&5 |
14025 cat conftest.$ac_ext >&5 | 14037 cat conftest.$ac_ext >&5 |
14034 else | 14046 else |
14035 echo "$ac_t""no" 1>&6 | 14047 echo "$ac_t""no" 1>&6 |
14036 | 14048 |
14037 | 14049 |
14038 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14050 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14039 echo "configure:14040: checking for dbm_open in -ldbm" >&5 | 14051 echo "configure:14052: checking for dbm_open in -ldbm" >&5 |
14040 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14052 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14041 | 14053 |
14042 xe_check_libs=" -ldbm " | 14054 xe_check_libs=" -ldbm " |
14043 cat > conftest.$ac_ext <<EOF | 14055 cat > conftest.$ac_ext <<EOF |
14044 #line 14045 "configure" | 14056 #line 14057 "configure" |
14045 #include "confdefs.h" | 14057 #include "confdefs.h" |
14046 /* Override any gcc2 internal prototype to avoid an error. */ | 14058 /* Override any gcc2 internal prototype to avoid an error. */ |
14047 /* We use char because int might match the return type of a gcc2 | 14059 /* We use char because int might match the return type of a gcc2 |
14048 builtin and then its argument prototype would still apply. */ | 14060 builtin and then its argument prototype would still apply. */ |
14049 char dbm_open(); | 14061 char dbm_open(); |
14050 | 14062 |
14051 int main() { | 14063 int main() { |
14052 dbm_open() | 14064 dbm_open() |
14053 ; return 0; } | 14065 ; return 0; } |
14054 EOF | 14066 EOF |
14055 if { (eval echo configure:14056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14067 if { (eval echo configure:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14056 rm -rf conftest* | 14068 rm -rf conftest* |
14057 eval "ac_cv_lib_$ac_lib_var=yes" | 14069 eval "ac_cv_lib_$ac_lib_var=yes" |
14058 else | 14070 else |
14059 echo "configure: failed program was:" >&5 | 14071 echo "configure: failed program was:" >&5 |
14060 cat conftest.$ac_ext >&5 | 14072 cat conftest.$ac_ext >&5 |
14091 } | 14103 } |
14092 | 14104 |
14093 | 14105 |
14094 if test "$with_database_berkdb" != "no"; then | 14106 if test "$with_database_berkdb" != "no"; then |
14095 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14107 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14096 echo "configure:14097: checking for Berkeley db.h" >&5 | 14108 echo "configure:14109: checking for Berkeley db.h" >&5 |
14097 for header in "db/db.h" "db.h"; do | 14109 for header in "db/db.h" "db.h"; do |
14098 cat > conftest.$ac_ext <<EOF | 14110 cat > conftest.$ac_ext <<EOF |
14099 #line 14100 "configure" | 14111 #line 14112 "configure" |
14100 #include "confdefs.h" | 14112 #include "confdefs.h" |
14101 | 14113 |
14102 #include <stdlib.h> | 14114 #include <stdlib.h> |
14103 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14115 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14104 #ifdef HAVE_INTTYPES_H | 14116 #ifdef HAVE_INTTYPES_H |
14116 | 14128 |
14117 int main() { | 14129 int main() { |
14118 | 14130 |
14119 ; return 0; } | 14131 ; return 0; } |
14120 EOF | 14132 EOF |
14121 if { (eval echo configure:14122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14133 if { (eval echo configure:14134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14122 rm -rf conftest* | 14134 rm -rf conftest* |
14123 db_h_file="$header"; break | 14135 db_h_file="$header"; break |
14124 else | 14136 else |
14125 echo "configure: failed program was:" >&5 | 14137 echo "configure: failed program was:" >&5 |
14126 cat conftest.$ac_ext >&5 | 14138 cat conftest.$ac_ext >&5 |
14132 else echo "$ac_t""$db_h_file" 1>&6 | 14144 else echo "$ac_t""$db_h_file" 1>&6 |
14133 fi | 14145 fi |
14134 | 14146 |
14135 if test "$with_database_berkdb" != "no"; then | 14147 if test "$with_database_berkdb" != "no"; then |
14136 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14148 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14137 echo "configure:14138: checking for Berkeley DB version" >&5 | 14149 echo "configure:14150: checking for Berkeley DB version" >&5 |
14138 cat > conftest.$ac_ext <<EOF | 14150 cat > conftest.$ac_ext <<EOF |
14139 #line 14140 "configure" | 14151 #line 14152 "configure" |
14140 #include "confdefs.h" | 14152 #include "confdefs.h" |
14141 #include <$db_h_file> | 14153 #include <$db_h_file> |
14142 #if DB_VERSION_MAJOR > 1 | 14154 #if DB_VERSION_MAJOR > 1 |
14143 yes | 14155 yes |
14144 #endif | 14156 #endif |
14146 EOF | 14158 EOF |
14147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14148 egrep "yes" >/dev/null 2>&1; then | 14160 egrep "yes" >/dev/null 2>&1; then |
14149 rm -rf conftest* | 14161 rm -rf conftest* |
14150 cat > conftest.$ac_ext <<EOF | 14162 cat > conftest.$ac_ext <<EOF |
14151 #line 14152 "configure" | 14163 #line 14164 "configure" |
14152 #include "confdefs.h" | 14164 #include "confdefs.h" |
14153 #include <$db_h_file> | 14165 #include <$db_h_file> |
14154 #if DB_VERSION_MAJOR > 2 | 14166 #if DB_VERSION_MAJOR > 2 |
14155 yes | 14167 yes |
14156 #endif | 14168 #endif |
14173 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14185 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14174 fi | 14186 fi |
14175 rm -f conftest* | 14187 rm -f conftest* |
14176 | 14188 |
14177 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14189 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14178 echo "configure:14179: checking for $dbfunc" >&5 | 14190 echo "configure:14191: checking for $dbfunc" >&5 |
14179 | 14191 |
14180 cat > conftest.$ac_ext <<EOF | 14192 cat > conftest.$ac_ext <<EOF |
14181 #line 14182 "configure" | 14193 #line 14194 "configure" |
14182 #include "confdefs.h" | 14194 #include "confdefs.h" |
14183 /* System header to define __stub macros and hopefully few prototypes, | 14195 /* System header to define __stub macros and hopefully few prototypes, |
14184 which can conflict with char $dbfunc(); below. */ | 14196 which can conflict with char $dbfunc(); below. */ |
14185 #include <assert.h> | 14197 #include <assert.h> |
14186 /* Override any gcc2 internal prototype to avoid an error. */ | 14198 /* Override any gcc2 internal prototype to avoid an error. */ |
14199 $dbfunc(); | 14211 $dbfunc(); |
14200 #endif | 14212 #endif |
14201 | 14213 |
14202 ; return 0; } | 14214 ; return 0; } |
14203 EOF | 14215 EOF |
14204 if { (eval echo configure:14205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14216 if { (eval echo configure:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14205 rm -rf conftest* | 14217 rm -rf conftest* |
14206 eval "ac_cv_func_$dbfunc=yes" | 14218 eval "ac_cv_func_$dbfunc=yes" |
14207 else | 14219 else |
14208 echo "configure: failed program was:" >&5 | 14220 echo "configure: failed program was:" >&5 |
14209 cat conftest.$ac_ext >&5 | 14221 cat conftest.$ac_ext >&5 |
14218 else | 14230 else |
14219 echo "$ac_t""no" 1>&6 | 14231 echo "$ac_t""no" 1>&6 |
14220 | 14232 |
14221 | 14233 |
14222 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14234 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14223 echo "configure:14224: checking for $dbfunc in -ldb" >&5 | 14235 echo "configure:14236: checking for $dbfunc in -ldb" >&5 |
14224 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14236 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14225 | 14237 |
14226 xe_check_libs=" -ldb " | 14238 xe_check_libs=" -ldb " |
14227 cat > conftest.$ac_ext <<EOF | 14239 cat > conftest.$ac_ext <<EOF |
14228 #line 14229 "configure" | 14240 #line 14241 "configure" |
14229 #include "confdefs.h" | 14241 #include "confdefs.h" |
14230 /* Override any gcc2 internal prototype to avoid an error. */ | 14242 /* Override any gcc2 internal prototype to avoid an error. */ |
14231 /* We use char because int might match the return type of a gcc2 | 14243 /* We use char because int might match the return type of a gcc2 |
14232 builtin and then its argument prototype would still apply. */ | 14244 builtin and then its argument prototype would still apply. */ |
14233 char $dbfunc(); | 14245 char $dbfunc(); |
14234 | 14246 |
14235 int main() { | 14247 int main() { |
14236 $dbfunc() | 14248 $dbfunc() |
14237 ; return 0; } | 14249 ; return 0; } |
14238 EOF | 14250 EOF |
14239 if { (eval echo configure:14240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14251 if { (eval echo configure:14252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14240 rm -rf conftest* | 14252 rm -rf conftest* |
14241 eval "ac_cv_lib_$ac_lib_var=yes" | 14253 eval "ac_cv_lib_$ac_lib_var=yes" |
14242 else | 14254 else |
14243 echo "configure: failed program was:" >&5 | 14255 echo "configure: failed program was:" >&5 |
14244 cat conftest.$ac_ext >&5 | 14256 cat conftest.$ac_ext >&5 |
14298 fi | 14310 fi |
14299 | 14311 |
14300 if test "$with_socks" = "yes"; then | 14312 if test "$with_socks" = "yes"; then |
14301 | 14313 |
14302 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14314 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14303 echo "configure:14304: checking for SOCKSinit in -lsocks" >&5 | 14315 echo "configure:14316: checking for SOCKSinit in -lsocks" >&5 |
14304 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14316 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14305 | 14317 |
14306 xe_check_libs=" -lsocks " | 14318 xe_check_libs=" -lsocks " |
14307 cat > conftest.$ac_ext <<EOF | 14319 cat > conftest.$ac_ext <<EOF |
14308 #line 14309 "configure" | 14320 #line 14321 "configure" |
14309 #include "confdefs.h" | 14321 #include "confdefs.h" |
14310 /* Override any gcc2 internal prototype to avoid an error. */ | 14322 /* Override any gcc2 internal prototype to avoid an error. */ |
14311 /* We use char because int might match the return type of a gcc2 | 14323 /* We use char because int might match the return type of a gcc2 |
14312 builtin and then its argument prototype would still apply. */ | 14324 builtin and then its argument prototype would still apply. */ |
14313 char SOCKSinit(); | 14325 char SOCKSinit(); |
14314 | 14326 |
14315 int main() { | 14327 int main() { |
14316 SOCKSinit() | 14328 SOCKSinit() |
14317 ; return 0; } | 14329 ; return 0; } |
14318 EOF | 14330 EOF |
14319 if { (eval echo configure:14320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14331 if { (eval echo configure:14332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14320 rm -rf conftest* | 14332 rm -rf conftest* |
14321 eval "ac_cv_lib_$ac_lib_var=yes" | 14333 eval "ac_cv_lib_$ac_lib_var=yes" |
14322 else | 14334 else |
14323 echo "configure: failed program was:" >&5 | 14335 echo "configure: failed program was:" >&5 |
14324 cat conftest.$ac_ext >&5 | 14336 cat conftest.$ac_ext >&5 |
14369 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14381 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14370 fi | 14382 fi |
14371 | 14383 |
14372 if test "$with_modules" != "no"; then | 14384 if test "$with_modules" != "no"; then |
14373 echo "checking for module support" 1>&6 | 14385 echo "checking for module support" 1>&6 |
14374 echo "configure:14375: checking for module support" >&5 | 14386 echo "configure:14387: checking for module support" >&5 |
14375 | 14387 |
14376 if test "$with_msw" = "yes"; then | 14388 if test "$with_msw" = "yes"; then |
14377 have_dl=yes; | 14389 have_dl=yes; |
14378 else | 14390 else |
14379 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14391 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14380 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14392 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14381 echo "configure:14382: checking for dlfcn.h" >&5 | 14393 echo "configure:14394: checking for dlfcn.h" >&5 |
14382 | 14394 |
14383 cat > conftest.$ac_ext <<EOF | 14395 cat > conftest.$ac_ext <<EOF |
14384 #line 14385 "configure" | 14396 #line 14397 "configure" |
14385 #include "confdefs.h" | 14397 #include "confdefs.h" |
14386 #include <dlfcn.h> | 14398 #include <dlfcn.h> |
14387 EOF | 14399 EOF |
14388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14389 { (eval echo configure:14390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14401 { (eval echo configure:14402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14391 if test -z "$ac_err"; then | 14403 if test -z "$ac_err"; then |
14392 rm -rf conftest* | 14404 rm -rf conftest* |
14393 eval "ac_cv_header_$ac_safe=yes" | 14405 eval "ac_cv_header_$ac_safe=yes" |
14394 else | 14406 else |
14401 rm -f conftest* | 14413 rm -f conftest* |
14402 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14403 echo "$ac_t""yes" 1>&6 | 14415 echo "$ac_t""yes" 1>&6 |
14404 | 14416 |
14405 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14417 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14406 echo "configure:14407: checking for dlopen in -lc" >&5 | 14418 echo "configure:14419: checking for dlopen in -lc" >&5 |
14407 cat > conftest.$ac_ext <<EOF | 14419 cat > conftest.$ac_ext <<EOF |
14408 #line 14409 "configure" | 14420 #line 14421 "configure" |
14409 #include "confdefs.h" | 14421 #include "confdefs.h" |
14410 #include <dlfcn.h> | 14422 #include <dlfcn.h> |
14411 int main() { | 14423 int main() { |
14412 dlopen ("", 0); | 14424 dlopen ("", 0); |
14413 ; return 0; } | 14425 ; return 0; } |
14414 EOF | 14426 EOF |
14415 if { (eval echo configure:14416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14427 if { (eval echo configure:14428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14416 rm -rf conftest* | 14428 rm -rf conftest* |
14417 have_dl=yes | 14429 have_dl=yes |
14418 else | 14430 else |
14419 echo "configure: failed program was:" >&5 | 14431 echo "configure: failed program was:" >&5 |
14420 cat conftest.$ac_ext >&5 | 14432 cat conftest.$ac_ext >&5 |
14421 rm -rf conftest* | 14433 rm -rf conftest* |
14422 | 14434 |
14423 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14435 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14424 echo "configure:14425: checking for dlopen in -ldl" >&5 | 14436 echo "configure:14437: checking for dlopen in -ldl" >&5 |
14425 ac_save_LIBS="$LIBS" | 14437 ac_save_LIBS="$LIBS" |
14426 LIBS="-ldl $LIBS" | 14438 LIBS="-ldl $LIBS" |
14427 cat > conftest.$ac_ext <<EOF | 14439 cat > conftest.$ac_ext <<EOF |
14428 #line 14429 "configure" | 14440 #line 14441 "configure" |
14429 #include "confdefs.h" | 14441 #include "confdefs.h" |
14430 #include <dlfcn.h> | 14442 #include <dlfcn.h> |
14431 int main() { | 14443 int main() { |
14432 dlopen ("", 0); | 14444 dlopen ("", 0); |
14433 ; return 0; } | 14445 ; return 0; } |
14434 EOF | 14446 EOF |
14435 if { (eval echo configure:14436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14447 if { (eval echo configure:14448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14436 rm -rf conftest* | 14448 rm -rf conftest* |
14437 have_dl=yes | 14449 have_dl=yes |
14438 else | 14450 else |
14439 echo "configure: failed program was:" >&5 | 14451 echo "configure: failed program was:" >&5 |
14440 cat conftest.$ac_ext >&5 | 14452 cat conftest.$ac_ext >&5 |
14459 } | 14471 } |
14460 | 14472 |
14461 else | 14473 else |
14462 | 14474 |
14463 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14475 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14464 echo "configure:14465: checking for shl_load in -ldld" >&5 | 14476 echo "configure:14477: checking for shl_load in -ldld" >&5 |
14465 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14477 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14466 | 14478 |
14467 xe_check_libs=" -ldld " | 14479 xe_check_libs=" -ldld " |
14468 cat > conftest.$ac_ext <<EOF | 14480 cat > conftest.$ac_ext <<EOF |
14469 #line 14470 "configure" | 14481 #line 14482 "configure" |
14470 #include "confdefs.h" | 14482 #include "confdefs.h" |
14471 /* Override any gcc2 internal prototype to avoid an error. */ | 14483 /* Override any gcc2 internal prototype to avoid an error. */ |
14472 /* We use char because int might match the return type of a gcc2 | 14484 /* We use char because int might match the return type of a gcc2 |
14473 builtin and then its argument prototype would still apply. */ | 14485 builtin and then its argument prototype would still apply. */ |
14474 char shl_load(); | 14486 char shl_load(); |
14475 | 14487 |
14476 int main() { | 14488 int main() { |
14477 shl_load() | 14489 shl_load() |
14478 ; return 0; } | 14490 ; return 0; } |
14479 EOF | 14491 EOF |
14480 if { (eval echo configure:14481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14492 if { (eval echo configure:14493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14481 rm -rf conftest* | 14493 rm -rf conftest* |
14482 eval "ac_cv_lib_$ac_lib_var=yes" | 14494 eval "ac_cv_lib_$ac_lib_var=yes" |
14483 else | 14495 else |
14484 echo "configure: failed program was:" >&5 | 14496 echo "configure: failed program was:" >&5 |
14485 cat conftest.$ac_ext >&5 | 14497 cat conftest.$ac_ext >&5 |
14502 | 14514 |
14503 else | 14515 else |
14504 echo "$ac_t""no" 1>&6 | 14516 echo "$ac_t""no" 1>&6 |
14505 | 14517 |
14506 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14518 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14507 echo "configure:14508: checking for dld_init in -ldld" >&5 | 14519 echo "configure:14520: checking for dld_init in -ldld" >&5 |
14508 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14520 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14509 | 14521 |
14510 xe_check_libs=" -ldld " | 14522 xe_check_libs=" -ldld " |
14511 cat > conftest.$ac_ext <<EOF | 14523 cat > conftest.$ac_ext <<EOF |
14512 #line 14513 "configure" | 14524 #line 14525 "configure" |
14513 #include "confdefs.h" | 14525 #include "confdefs.h" |
14514 /* Override any gcc2 internal prototype to avoid an error. */ | 14526 /* Override any gcc2 internal prototype to avoid an error. */ |
14515 /* We use char because int might match the return type of a gcc2 | 14527 /* We use char because int might match the return type of a gcc2 |
14516 builtin and then its argument prototype would still apply. */ | 14528 builtin and then its argument prototype would still apply. */ |
14517 char dld_init(); | 14529 char dld_init(); |
14518 | 14530 |
14519 int main() { | 14531 int main() { |
14520 dld_init() | 14532 dld_init() |
14521 ; return 0; } | 14533 ; return 0; } |
14522 EOF | 14534 EOF |
14523 if { (eval echo configure:14524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14524 rm -rf conftest* | 14536 rm -rf conftest* |
14525 eval "ac_cv_lib_$ac_lib_var=yes" | 14537 eval "ac_cv_lib_$ac_lib_var=yes" |
14526 else | 14538 else |
14527 echo "configure: failed program was:" >&5 | 14539 echo "configure: failed program was:" >&5 |
14528 cat conftest.$ac_ext >&5 | 14540 cat conftest.$ac_ext >&5 |
14563 ld_dynamic_link_flags= | 14575 ld_dynamic_link_flags= |
14564 xehost=$canonical | 14576 xehost=$canonical |
14565 xealias=$internal_configuration | 14577 xealias=$internal_configuration |
14566 | 14578 |
14567 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14579 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14568 echo "configure:14569: checking how to build dynamic libraries for ${xehost}" >&5 | 14580 echo "configure:14581: checking how to build dynamic libraries for ${xehost}" >&5 |
14569 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14581 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14570 case "$xehost" in | 14582 case "$xehost" in |
14571 *-*-linux-gnu*) ;; | 14583 *-*-linux-gnu*) ;; |
14572 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14584 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14573 esac | 14585 esac |
14591 # Now see if the compiler is really GCC. | 14603 # Now see if the compiler is really GCC. |
14592 if test "$GCC" = "yes"; then | 14604 if test "$GCC" = "yes"; then |
14593 XEGCC=yes | 14605 XEGCC=yes |
14594 else | 14606 else |
14595 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14607 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14596 echo "configure:14597: checking checking whether we are using GNU C" >&5 | 14608 echo "configure:14609: checking checking whether we are using GNU C" >&5 |
14597 cat > conftest.$ac_ext <<EOF | 14609 cat > conftest.$ac_ext <<EOF |
14598 #line 14599 "configure" | 14610 #line 14611 "configure" |
14599 #include "confdefs.h" | 14611 #include "confdefs.h" |
14600 | 14612 |
14601 #ifdef __GNUC__ | 14613 #ifdef __GNUC__ |
14602 yes; | 14614 yes; |
14603 #endif | 14615 #endif |
14615 | 14627 |
14616 echo "$ac_t""${XEGCC}" 1>&6 | 14628 echo "$ac_t""${XEGCC}" 1>&6 |
14617 fi | 14629 fi |
14618 | 14630 |
14619 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14631 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14620 echo "configure:14621: checking how to produce PIC code" >&5 | 14632 echo "configure:14633: checking how to produce PIC code" >&5 |
14621 wl= | 14633 wl= |
14622 | 14634 |
14623 can_build_shared=yes | 14635 can_build_shared=yes |
14624 if test "$XEGCC" = yes; then | 14636 if test "$XEGCC" = yes; then |
14625 wl='-Wl,' | 14637 wl='-Wl,' |
14716 if test -n "$dll_cflags"; then | 14728 if test -n "$dll_cflags"; then |
14717 echo "$ac_t""${dll_cflags}" 1>&6 | 14729 echo "$ac_t""${dll_cflags}" 1>&6 |
14718 | 14730 |
14719 # Check to make sure the dll_cflags actually works. | 14731 # Check to make sure the dll_cflags actually works. |
14720 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14732 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14721 echo "configure:14722: checking if PIC flag ${dll_cflags} really works" >&5 | 14733 echo "configure:14734: checking if PIC flag ${dll_cflags} really works" >&5 |
14722 save_CFLAGS="$CFLAGS" | 14734 save_CFLAGS="$CFLAGS" |
14723 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14735 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14724 cat > conftest.$ac_ext <<EOF | 14736 cat > conftest.$ac_ext <<EOF |
14725 #line 14726 "configure" | 14737 #line 14738 "configure" |
14726 #include "confdefs.h" | 14738 #include "confdefs.h" |
14727 | 14739 |
14728 int main() { | 14740 int main() { |
14729 int x=0; | 14741 int x=0; |
14730 ; return 0; } | 14742 ; return 0; } |
14731 EOF | 14743 EOF |
14732 if { (eval echo configure:14733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14744 if { (eval echo configure:14745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14733 rm -rf conftest* | 14745 rm -rf conftest* |
14734 | 14746 |
14735 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14747 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14736 # reports no error. So, we need to grep stderr for (Bundled). | 14748 # reports no error. So, we need to grep stderr for (Bundled). |
14737 if grep '(Bundled)' config.log >/dev/null; then | 14749 if grep '(Bundled)' config.log >/dev/null; then |
14758 if test "$can_build_shared" = "yes"; then | 14770 if test "$can_build_shared" = "yes"; then |
14759 cc_produces_so=no | 14771 cc_produces_so=no |
14760 xldf= | 14772 xldf= |
14761 xcldf= | 14773 xcldf= |
14762 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14774 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14763 echo "configure:14764: checking if C compiler can produce shared libraries" >&5 | 14775 echo "configure:14776: checking if C compiler can produce shared libraries" >&5 |
14764 if test "$XEGCC" = yes; then | 14776 if test "$XEGCC" = yes; then |
14765 xcldf="-shared" | 14777 xcldf="-shared" |
14766 xldf="-shared" | 14778 xldf="-shared" |
14767 else # Not using GCC | 14779 else # Not using GCC |
14768 case "$xehost_os" in | 14780 case "$xehost_os" in |
14809 LDFLAGS="$xcldf $LDFLAGS" | 14821 LDFLAGS="$xcldf $LDFLAGS" |
14810 LIBS= | 14822 LIBS= |
14811 xe_libs= | 14823 xe_libs= |
14812 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14824 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14813 cat > conftest.$ac_ext <<EOF | 14825 cat > conftest.$ac_ext <<EOF |
14814 #line 14815 "configure" | 14826 #line 14827 "configure" |
14815 #include "confdefs.h" | 14827 #include "confdefs.h" |
14816 | 14828 |
14817 int main() { | 14829 int main() { |
14818 int x=0; | 14830 int x=0; |
14819 ; return 0; } | 14831 ; return 0; } |
14820 EOF | 14832 EOF |
14821 if { (eval echo configure:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14833 if { (eval echo configure:14834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14822 rm -rf conftest* | 14834 rm -rf conftest* |
14823 cc_produces_so=yes | 14835 cc_produces_so=yes |
14824 else | 14836 else |
14825 echo "configure: failed program was:" >&5 | 14837 echo "configure: failed program was:" >&5 |
14826 cat conftest.$ac_ext >&5 | 14838 cat conftest.$ac_ext >&5 |
14841 if test -z "$LTLD"; then | 14853 if test -z "$LTLD"; then |
14842 ac_prog=ld | 14854 ac_prog=ld |
14843 if test "$XEGCC" = yes; then | 14855 if test "$XEGCC" = yes; then |
14844 # Check if gcc -print-prog-name=ld gives a path. | 14856 # Check if gcc -print-prog-name=ld gives a path. |
14845 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14857 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14846 echo "configure:14847: checking for ld used by GCC" >&5 | 14858 echo "configure:14859: checking for ld used by GCC" >&5 |
14847 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14859 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14848 case "$ac_prog" in | 14860 case "$ac_prog" in |
14849 # Accept absolute paths. | 14861 # Accept absolute paths. |
14850 /*) | 14862 /*) |
14851 if test -z "$LTLD"; then | 14863 if test -z "$LTLD"; then |
14866 with_gnu_ld=unknown | 14878 with_gnu_ld=unknown |
14867 ;; | 14879 ;; |
14868 esac | 14880 esac |
14869 else | 14881 else |
14870 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14882 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14871 echo "configure:14872: checking for GNU ld" >&5 | 14883 echo "configure:14884: checking for GNU ld" >&5 |
14872 fi | 14884 fi |
14873 | 14885 |
14874 if test -z "$LTLD"; then | 14886 if test -z "$LTLD"; then |
14875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14876 for ac_dir in $PATH; do | 14888 for ac_dir in $PATH; do |
14904 | 14916 |
14905 ld_dynamic_link_flags= | 14917 ld_dynamic_link_flags= |
14906 | 14918 |
14907 # Check to see if it really is or isn't GNU ld. | 14919 # Check to see if it really is or isn't GNU ld. |
14908 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14920 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14909 echo "configure:14910: checking if the linker is GNU ld" >&5 | 14921 echo "configure:14922: checking if the linker is GNU ld" >&5 |
14910 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14922 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14911 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14923 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14912 xe_gnu_ld=yes | 14924 xe_gnu_ld=yes |
14913 else | 14925 else |
14914 xe_gnu_ld=no | 14926 xe_gnu_ld=no |
14932 ld_shlibs=yes | 14944 ld_shlibs=yes |
14933 else | 14945 else |
14934 # OK - only NOW do we futz about with ld. | 14946 # OK - only NOW do we futz about with ld. |
14935 # See if the linker supports building shared libraries. | 14947 # See if the linker supports building shared libraries. |
14936 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14948 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14937 echo "configure:14938: checking whether the linker supports shared libraries" >&5 | 14949 echo "configure:14950: checking whether the linker supports shared libraries" >&5 |
14938 dll_ld=$CC | 14950 dll_ld=$CC |
14939 dll_ldflags=$LDFLAGS | 14951 dll_ldflags=$LDFLAGS |
14940 ld_shlibs=yes | 14952 ld_shlibs=yes |
14941 can_build_shared=yes | 14953 can_build_shared=yes |
14942 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14954 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15143 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15155 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15144 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15156 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15145 for ac_func in dlerror _dlerror | 15157 for ac_func in dlerror _dlerror |
15146 do | 15158 do |
15147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15148 echo "configure:15149: checking for $ac_func" >&5 | 15160 echo "configure:15161: checking for $ac_func" >&5 |
15149 | 15161 |
15150 cat > conftest.$ac_ext <<EOF | 15162 cat > conftest.$ac_ext <<EOF |
15151 #line 15152 "configure" | 15163 #line 15164 "configure" |
15152 #include "confdefs.h" | 15164 #include "confdefs.h" |
15153 /* System header to define __stub macros and hopefully few prototypes, | 15165 /* System header to define __stub macros and hopefully few prototypes, |
15154 which can conflict with char $ac_func(); below. */ | 15166 which can conflict with char $ac_func(); below. */ |
15155 #include <assert.h> | 15167 #include <assert.h> |
15156 /* Override any gcc2 internal prototype to avoid an error. */ | 15168 /* Override any gcc2 internal prototype to avoid an error. */ |
15169 $ac_func(); | 15181 $ac_func(); |
15170 #endif | 15182 #endif |
15171 | 15183 |
15172 ; return 0; } | 15184 ; return 0; } |
15173 EOF | 15185 EOF |
15174 if { (eval echo configure:15175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15186 if { (eval echo configure:15187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15175 rm -rf conftest* | 15187 rm -rf conftest* |
15176 eval "ac_cv_func_$ac_func=yes" | 15188 eval "ac_cv_func_$ac_func=yes" |
15177 else | 15189 else |
15178 echo "configure: failed program was:" >&5 | 15190 echo "configure: failed program was:" >&5 |
15179 cat conftest.$ac_ext >&5 | 15191 cat conftest.$ac_ext >&5 |
15208 with_modules=no | 15220 with_modules=no |
15209 fi | 15221 fi |
15210 fi | 15222 fi |
15211 | 15223 |
15212 cat > conftest.$ac_ext <<EOF | 15224 cat > conftest.$ac_ext <<EOF |
15213 #line 15214 "configure" | 15225 #line 15226 "configure" |
15214 #include "confdefs.h" | 15226 #include "confdefs.h" |
15215 int main(int c,char *v[]){return 0;} | 15227 int main(int c,char *v[]){return 0;} |
15216 EOF | 15228 EOF |
15217 if { (eval echo configure:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15229 if { (eval echo configure:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15218 then | 15230 then |
15219 : | 15231 : |
15220 else | 15232 else |
15221 conftest_rc="$?" | 15233 conftest_rc="$?" |
15222 echo "configure: failed program was:" >&5 | 15234 echo "configure: failed program was:" >&5 |
15834 fi | 15846 fi |
15835 | 15847 |
15836 echo " Compiler: $CC $CFLAGS" | 15848 echo " Compiler: $CC $CFLAGS" |
15837 echo " Relocating allocator for buffers: $rel_alloc" | 15849 echo " Relocating allocator for buffers: $rel_alloc" |
15838 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" | 15850 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" |
15851 case "$ld_switch_site" in | |
15852 *nocombreloc*) echo " Linking with \`-z nocombreloc'. | |
15853 - Consider configuring with --pdump." ;; | |
15854 esac | |
15839 | 15855 |
15840 echo " | 15856 echo " |
15841 Window System:" | 15857 Window System:" |
15842 if test "$with_msw" = "yes"; then | 15858 if test "$with_msw" = "yes"; then |
15843 echo " Compiling in support for the Microsoft window system." | 15859 echo " Compiling in support for the Microsoft window system." |
15979 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." | 15995 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." |
15980 test -n "$mail_locking" && echo " Compiling in support for \"$mail_locking\" mail spool file locking method." | 15996 test -n "$mail_locking" && echo " Compiling in support for \"$mail_locking\" mail spool file locking method." |
15981 | 15997 |
15982 echo " | 15998 echo " |
15983 Other Features:" | 15999 Other Features:" |
16000 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup." | |
15984 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 16001 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
15985 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 16002 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
15986 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 16003 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
15987 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 16004 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
15988 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | 16005 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |