Mercurial > hg > xemacs-beta
comparison configure @ 1692:6265c9c31f53
[xemacs-hg @ 2003-09-18 05:13:54 by youngs]
2003-09-18 Steve Youngs <youngs@xemacs.org>
* configure: Re-generate after Martin's configure.in patch.
2003-09-13 Martin Buchholz <martin@xemacs.org>
* configure.in (OS_RELEASE): Add support for SunOS 5.10.
On current OSes produced by Sun, `uname -r' prints "5.9".
It seems likely that on future OSes, `uname -r' will print "5.10".
We need to accept multi-digit release numbers.
2003-09-13 Martin Buchholz <martin@xemacs.org>
* s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
author | youngs |
---|---|
date | Thu, 18 Sep 2003 05:14:00 +0000 |
parents | d3af5b868526 |
children | 7032283c28db |
comparison
equal
deleted
inserted
replaced
1691:0d5689071ed2 | 1692:6265c9c31f53 |
---|---|
1459 #test -f /usr/ccs/lib/cpp && NON_GNU_CPP=/usr/ccs/lib/cpp | 1459 #test -f /usr/ccs/lib/cpp && NON_GNU_CPP=/usr/ccs/lib/cpp |
1460 RANLIB=':' ;; | 1460 RANLIB=':' ;; |
1461 esac | 1461 esac |
1462 | 1462 |
1463 case "$canonical" in | 1463 case "$canonical" in |
1464 *-solaris* ) | 1464 *-solaris* ) |
1465 opsys=sol2 | 1465 opsys=sol2 |
1466 os_release=`uname -r | sed -e 's/^\([0-9]\)\.\([0-9]\).*/\1\2/'` | 1466 os_release_major=`uname -r | sed -e 's/^\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1/'` |
1467 os_release_minor=`uname -r | sed -e 's/^\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\2/'` | |
1468 case "$os_release_minor" in [0-9]) | |
1469 os_release_minor="0${os_release_minor}";; | |
1470 esac | |
1471 os_release="${os_release_major}${os_release_minor}" | |
1467 { test "$extra_verbose" = "yes" && cat << EOF | 1472 { test "$extra_verbose" = "yes" && cat << EOF |
1468 Defining OS_RELEASE = $os_release | 1473 Defining OS_RELEASE = $os_release |
1469 EOF | 1474 EOF |
1470 cat >> confdefs.h <<EOF | 1475 cat >> confdefs.h <<EOF |
1471 #define OS_RELEASE $os_release | 1476 #define OS_RELEASE $os_release |
1685 xe_save_CFLAGS="$CFLAGS" | 1690 xe_save_CFLAGS="$CFLAGS" |
1686 | 1691 |
1687 # Extract the first word of "gcc", so it can be a program name with args. | 1692 # Extract the first word of "gcc", so it can be a program name with args. |
1688 set dummy gcc; ac_word=$2 | 1693 set dummy gcc; ac_word=$2 |
1689 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1690 echo "configure:1691: checking for $ac_word" >&5 | 1695 echo "configure:1696: checking for $ac_word" >&5 |
1691 | 1696 |
1692 if test -n "$CC"; then | 1697 if test -n "$CC"; then |
1693 ac_cv_prog_CC="$CC" # Let the user override the test. | 1698 ac_cv_prog_CC="$CC" # Let the user override the test. |
1694 else | 1699 else |
1695 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1712 | 1717 |
1713 if test -z "$CC"; then | 1718 if test -z "$CC"; then |
1714 # Extract the first word of "cc", so it can be a program name with args. | 1719 # Extract the first word of "cc", so it can be a program name with args. |
1715 set dummy cc; ac_word=$2 | 1720 set dummy cc; ac_word=$2 |
1716 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1717 echo "configure:1718: checking for $ac_word" >&5 | 1722 echo "configure:1723: checking for $ac_word" >&5 |
1718 | 1723 |
1719 if test -n "$CC"; then | 1724 if test -n "$CC"; then |
1720 ac_cv_prog_CC="$CC" # Let the user override the test. | 1725 ac_cv_prog_CC="$CC" # Let the user override the test. |
1721 else | 1726 else |
1722 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1727 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1760 case "`uname -s`" in | 1765 case "`uname -s`" in |
1761 *win32* | *WIN32*) | 1766 *win32* | *WIN32*) |
1762 # Extract the first word of "cl", so it can be a program name with args. | 1767 # Extract the first word of "cl", so it can be a program name with args. |
1763 set dummy cl; ac_word=$2 | 1768 set dummy cl; ac_word=$2 |
1764 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1769 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1765 echo "configure:1766: checking for $ac_word" >&5 | 1770 echo "configure:1771: checking for $ac_word" >&5 |
1766 | 1771 |
1767 if test -n "$CC"; then | 1772 if test -n "$CC"; then |
1768 ac_cv_prog_CC="$CC" # Let the user override the test. | 1773 ac_cv_prog_CC="$CC" # Let the user override the test. |
1769 else | 1774 else |
1770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1775 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1789 fi | 1794 fi |
1790 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1795 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1791 fi | 1796 fi |
1792 | 1797 |
1793 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1798 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1794 echo "configure:1795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1799 echo "configure:1800: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1795 | 1800 |
1796 ac_ext=c | 1801 ac_ext=c |
1797 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1802 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1798 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1803 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1799 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' | 1804 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' |
1802 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1807 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1803 cross_compiling=no | 1808 cross_compiling=no |
1804 | 1809 |
1805 cat > conftest.$ac_ext << EOF | 1810 cat > conftest.$ac_ext << EOF |
1806 | 1811 |
1807 #line 1808 "configure" | 1812 #line 1813 "configure" |
1808 #include "confdefs.h" | 1813 #include "confdefs.h" |
1809 | 1814 |
1810 main(){return(0);} | 1815 main(){return(0);} |
1811 EOF | 1816 EOF |
1812 if { (eval echo configure:1813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1817 if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1813 ac_cv_prog_cc_works=yes | 1818 ac_cv_prog_cc_works=yes |
1814 # If we can't run a trivial program, we are probably using a cross compiler. | 1819 # If we can't run a trivial program, we are probably using a cross compiler. |
1815 if (./conftest; exit) 2>/dev/null; then | 1820 if (./conftest; exit) 2>/dev/null; then |
1816 ac_cv_prog_cc_cross=no | 1821 ac_cv_prog_cc_cross=no |
1817 else | 1822 else |
1835 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1840 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1836 if test $ac_cv_prog_cc_works = no; then | 1841 if test $ac_cv_prog_cc_works = no; then |
1837 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1842 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1838 fi | 1843 fi |
1839 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1844 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1840 echo "configure:1841: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1845 echo "configure:1846: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1841 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1846 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1842 cross_compiling=$ac_cv_prog_cc_cross | 1847 cross_compiling=$ac_cv_prog_cc_cross |
1843 | 1848 |
1844 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1849 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1845 echo "configure:1846: checking whether we are using GNU C" >&5 | 1850 echo "configure:1851: checking whether we are using GNU C" >&5 |
1846 | 1851 |
1847 cat > conftest.c <<EOF | 1852 cat > conftest.c <<EOF |
1848 #ifdef __GNUC__ | 1853 #ifdef __GNUC__ |
1849 yes; | 1854 yes; |
1850 #endif | 1855 #endif |
1851 EOF | 1856 EOF |
1852 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1857 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1853 ac_cv_prog_gcc=yes | 1858 ac_cv_prog_gcc=yes |
1854 else | 1859 else |
1855 ac_cv_prog_gcc=no | 1860 ac_cv_prog_gcc=no |
1856 fi | 1861 fi |
1857 | 1862 |
1865 | 1870 |
1866 ac_test_CFLAGS="${CFLAGS+set}" | 1871 ac_test_CFLAGS="${CFLAGS+set}" |
1867 ac_save_CFLAGS="$CFLAGS" | 1872 ac_save_CFLAGS="$CFLAGS" |
1868 CFLAGS= | 1873 CFLAGS= |
1869 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1874 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1870 echo "configure:1871: checking whether ${CC-cc} accepts -g" >&5 | 1875 echo "configure:1876: checking whether ${CC-cc} accepts -g" >&5 |
1871 | 1876 |
1872 echo 'void f(){}' > conftest.c | 1877 echo 'void f(){}' > conftest.c |
1873 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1878 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1874 ac_cv_prog_cc_g=yes | 1879 ac_cv_prog_cc_g=yes |
1875 else | 1880 else |
1898 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1903 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1899 CC=${NON_GNU_CC-cc} | 1904 CC=${NON_GNU_CC-cc} |
1900 # Extract the first word of "gcc", so it can be a program name with args. | 1905 # Extract the first word of "gcc", so it can be a program name with args. |
1901 set dummy gcc; ac_word=$2 | 1906 set dummy gcc; ac_word=$2 |
1902 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1903 echo "configure:1904: checking for $ac_word" >&5 | 1908 echo "configure:1909: checking for $ac_word" >&5 |
1904 | 1909 |
1905 if test -n "$CC"; then | 1910 if test -n "$CC"; then |
1906 ac_cv_prog_CC="$CC" # Let the user override the test. | 1911 ac_cv_prog_CC="$CC" # Let the user override the test. |
1907 else | 1912 else |
1908 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1925 | 1930 |
1926 if test -z "$CC"; then | 1931 if test -z "$CC"; then |
1927 # Extract the first word of "cc", so it can be a program name with args. | 1932 # Extract the first word of "cc", so it can be a program name with args. |
1928 set dummy cc; ac_word=$2 | 1933 set dummy cc; ac_word=$2 |
1929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1930 echo "configure:1931: checking for $ac_word" >&5 | 1935 echo "configure:1936: checking for $ac_word" >&5 |
1931 | 1936 |
1932 if test -n "$CC"; then | 1937 if test -n "$CC"; then |
1933 ac_cv_prog_CC="$CC" # Let the user override the test. | 1938 ac_cv_prog_CC="$CC" # Let the user override the test. |
1934 else | 1939 else |
1935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1940 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1973 case "`uname -s`" in | 1978 case "`uname -s`" in |
1974 *win32* | *WIN32*) | 1979 *win32* | *WIN32*) |
1975 # Extract the first word of "cl", so it can be a program name with args. | 1980 # Extract the first word of "cl", so it can be a program name with args. |
1976 set dummy cl; ac_word=$2 | 1981 set dummy cl; ac_word=$2 |
1977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1978 echo "configure:1979: checking for $ac_word" >&5 | 1983 echo "configure:1984: checking for $ac_word" >&5 |
1979 | 1984 |
1980 if test -n "$CC"; then | 1985 if test -n "$CC"; then |
1981 ac_cv_prog_CC="$CC" # Let the user override the test. | 1986 ac_cv_prog_CC="$CC" # Let the user override the test. |
1982 else | 1987 else |
1983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1988 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2002 fi | 2007 fi |
2003 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2008 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2004 fi | 2009 fi |
2005 | 2010 |
2006 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2011 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2007 echo "configure:2008: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2012 echo "configure:2013: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2008 | 2013 |
2009 ac_ext=c | 2014 ac_ext=c |
2010 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2015 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2011 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2016 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2012 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' | 2017 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' |
2015 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2020 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2016 cross_compiling=no | 2021 cross_compiling=no |
2017 | 2022 |
2018 cat > conftest.$ac_ext << EOF | 2023 cat > conftest.$ac_ext << EOF |
2019 | 2024 |
2020 #line 2021 "configure" | 2025 #line 2026 "configure" |
2021 #include "confdefs.h" | 2026 #include "confdefs.h" |
2022 | 2027 |
2023 main(){return(0);} | 2028 main(){return(0);} |
2024 EOF | 2029 EOF |
2025 if { (eval echo configure:2026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2030 if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2026 ac_cv_prog_cc_works=yes | 2031 ac_cv_prog_cc_works=yes |
2027 # If we can't run a trivial program, we are probably using a cross compiler. | 2032 # If we can't run a trivial program, we are probably using a cross compiler. |
2028 if (./conftest; exit) 2>/dev/null; then | 2033 if (./conftest; exit) 2>/dev/null; then |
2029 ac_cv_prog_cc_cross=no | 2034 ac_cv_prog_cc_cross=no |
2030 else | 2035 else |
2048 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2053 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2049 if test $ac_cv_prog_cc_works = no; then | 2054 if test $ac_cv_prog_cc_works = no; then |
2050 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2055 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2051 fi | 2056 fi |
2052 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2057 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2053 echo "configure:2054: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2058 echo "configure:2059: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2054 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2059 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2055 cross_compiling=$ac_cv_prog_cc_cross | 2060 cross_compiling=$ac_cv_prog_cc_cross |
2056 | 2061 |
2057 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2062 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2058 echo "configure:2059: checking whether we are using GNU C" >&5 | 2063 echo "configure:2064: checking whether we are using GNU C" >&5 |
2059 | 2064 |
2060 cat > conftest.c <<EOF | 2065 cat > conftest.c <<EOF |
2061 #ifdef __GNUC__ | 2066 #ifdef __GNUC__ |
2062 yes; | 2067 yes; |
2063 #endif | 2068 #endif |
2064 EOF | 2069 EOF |
2065 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2070 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2066 ac_cv_prog_gcc=yes | 2071 ac_cv_prog_gcc=yes |
2067 else | 2072 else |
2068 ac_cv_prog_gcc=no | 2073 ac_cv_prog_gcc=no |
2069 fi | 2074 fi |
2070 | 2075 |
2078 | 2083 |
2079 ac_test_CFLAGS="${CFLAGS+set}" | 2084 ac_test_CFLAGS="${CFLAGS+set}" |
2080 ac_save_CFLAGS="$CFLAGS" | 2085 ac_save_CFLAGS="$CFLAGS" |
2081 CFLAGS= | 2086 CFLAGS= |
2082 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2087 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2083 echo "configure:2084: checking whether ${CC-cc} accepts -g" >&5 | 2088 echo "configure:2089: checking whether ${CC-cc} accepts -g" >&5 |
2084 | 2089 |
2085 echo 'void f(){}' > conftest.c | 2090 echo 'void f(){}' > conftest.c |
2086 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2091 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2087 ac_cv_prog_cc_g=yes | 2092 ac_cv_prog_cc_g=yes |
2088 else | 2093 else |
2111 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2116 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2112 CC=gcc | 2117 CC=gcc |
2113 # Extract the first word of "gcc", so it can be a program name with args. | 2118 # Extract the first word of "gcc", so it can be a program name with args. |
2114 set dummy gcc; ac_word=$2 | 2119 set dummy gcc; ac_word=$2 |
2115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2116 echo "configure:2117: checking for $ac_word" >&5 | 2121 echo "configure:2122: checking for $ac_word" >&5 |
2117 | 2122 |
2118 if test -n "$CC"; then | 2123 if test -n "$CC"; then |
2119 ac_cv_prog_CC="$CC" # Let the user override the test. | 2124 ac_cv_prog_CC="$CC" # Let the user override the test. |
2120 else | 2125 else |
2121 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2138 | 2143 |
2139 if test -z "$CC"; then | 2144 if test -z "$CC"; then |
2140 # Extract the first word of "cc", so it can be a program name with args. | 2145 # Extract the first word of "cc", so it can be a program name with args. |
2141 set dummy cc; ac_word=$2 | 2146 set dummy cc; ac_word=$2 |
2142 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2143 echo "configure:2144: checking for $ac_word" >&5 | 2148 echo "configure:2149: checking for $ac_word" >&5 |
2144 | 2149 |
2145 if test -n "$CC"; then | 2150 if test -n "$CC"; then |
2146 ac_cv_prog_CC="$CC" # Let the user override the test. | 2151 ac_cv_prog_CC="$CC" # Let the user override the test. |
2147 else | 2152 else |
2148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2153 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2186 case "`uname -s`" in | 2191 case "`uname -s`" in |
2187 *win32* | *WIN32*) | 2192 *win32* | *WIN32*) |
2188 # Extract the first word of "cl", so it can be a program name with args. | 2193 # Extract the first word of "cl", so it can be a program name with args. |
2189 set dummy cl; ac_word=$2 | 2194 set dummy cl; ac_word=$2 |
2190 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2195 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2191 echo "configure:2192: checking for $ac_word" >&5 | 2196 echo "configure:2197: checking for $ac_word" >&5 |
2192 | 2197 |
2193 if test -n "$CC"; then | 2198 if test -n "$CC"; then |
2194 ac_cv_prog_CC="$CC" # Let the user override the test. | 2199 ac_cv_prog_CC="$CC" # Let the user override the test. |
2195 else | 2200 else |
2196 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2201 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2215 fi | 2220 fi |
2216 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2221 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2217 fi | 2222 fi |
2218 | 2223 |
2219 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2224 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2220 echo "configure:2221: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2225 echo "configure:2226: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2221 | 2226 |
2222 ac_ext=c | 2227 ac_ext=c |
2223 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2228 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2224 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2229 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2225 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' | 2230 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' |
2228 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2233 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2229 cross_compiling=no | 2234 cross_compiling=no |
2230 | 2235 |
2231 cat > conftest.$ac_ext << EOF | 2236 cat > conftest.$ac_ext << EOF |
2232 | 2237 |
2233 #line 2234 "configure" | 2238 #line 2239 "configure" |
2234 #include "confdefs.h" | 2239 #include "confdefs.h" |
2235 | 2240 |
2236 main(){return(0);} | 2241 main(){return(0);} |
2237 EOF | 2242 EOF |
2238 if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2243 if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2239 ac_cv_prog_cc_works=yes | 2244 ac_cv_prog_cc_works=yes |
2240 # If we can't run a trivial program, we are probably using a cross compiler. | 2245 # If we can't run a trivial program, we are probably using a cross compiler. |
2241 if (./conftest; exit) 2>/dev/null; then | 2246 if (./conftest; exit) 2>/dev/null; then |
2242 ac_cv_prog_cc_cross=no | 2247 ac_cv_prog_cc_cross=no |
2243 else | 2248 else |
2261 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2266 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2262 if test $ac_cv_prog_cc_works = no; then | 2267 if test $ac_cv_prog_cc_works = no; then |
2263 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2268 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2264 fi | 2269 fi |
2265 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2270 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2266 echo "configure:2267: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2271 echo "configure:2272: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2267 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2272 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2268 cross_compiling=$ac_cv_prog_cc_cross | 2273 cross_compiling=$ac_cv_prog_cc_cross |
2269 | 2274 |
2270 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2275 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2271 echo "configure:2272: checking whether we are using GNU C" >&5 | 2276 echo "configure:2277: checking whether we are using GNU C" >&5 |
2272 | 2277 |
2273 cat > conftest.c <<EOF | 2278 cat > conftest.c <<EOF |
2274 #ifdef __GNUC__ | 2279 #ifdef __GNUC__ |
2275 yes; | 2280 yes; |
2276 #endif | 2281 #endif |
2277 EOF | 2282 EOF |
2278 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2283 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2279 ac_cv_prog_gcc=yes | 2284 ac_cv_prog_gcc=yes |
2280 else | 2285 else |
2281 ac_cv_prog_gcc=no | 2286 ac_cv_prog_gcc=no |
2282 fi | 2287 fi |
2283 | 2288 |
2291 | 2296 |
2292 ac_test_CFLAGS="${CFLAGS+set}" | 2297 ac_test_CFLAGS="${CFLAGS+set}" |
2293 ac_save_CFLAGS="$CFLAGS" | 2298 ac_save_CFLAGS="$CFLAGS" |
2294 CFLAGS= | 2299 CFLAGS= |
2295 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2300 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2296 echo "configure:2297: checking whether ${CC-cc} accepts -g" >&5 | 2301 echo "configure:2302: checking whether ${CC-cc} accepts -g" >&5 |
2297 | 2302 |
2298 echo 'void f(){}' > conftest.c | 2303 echo 'void f(){}' > conftest.c |
2299 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2304 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2300 ac_cv_prog_cc_g=yes | 2305 ac_cv_prog_cc_g=yes |
2301 else | 2306 else |
2324 fi | 2329 fi |
2325 CFLAGS="$xe_save_CFLAGS" | 2330 CFLAGS="$xe_save_CFLAGS" |
2326 | 2331 |
2327 if test "$GCC" = "yes"; then | 2332 if test "$GCC" = "yes"; then |
2328 cat > conftest.$ac_ext <<EOF | 2333 cat > conftest.$ac_ext <<EOF |
2329 #line 2330 "configure" | 2334 #line 2335 "configure" |
2330 #include "confdefs.h" | 2335 #include "confdefs.h" |
2331 int main () { | 2336 int main () { |
2332 #if __GNUC__ >= 3 | 2337 #if __GNUC__ >= 3 |
2333 return 11; | 2338 return 11; |
2334 #else | 2339 #else |
2335 return 0; | 2340 return 0; |
2336 #endif | 2341 #endif |
2337 } | 2342 } |
2338 EOF | 2343 EOF |
2339 if { (eval echo configure:2340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2344 if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2340 then | 2345 then |
2341 : | 2346 : |
2342 else | 2347 else |
2343 conftest_rc="$?" | 2348 conftest_rc="$?" |
2344 echo "configure: failed program was:" >&5 | 2349 echo "configure: failed program was:" >&5 |
2355 test -n "$CPP" -a -d "$CPP" && CPP= | 2360 test -n "$CPP" -a -d "$CPP" && CPP= |
2356 | 2361 |
2357 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2362 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2358 | 2363 |
2359 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2364 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2360 echo "configure:2361: checking how to run the C preprocessor" >&5 | 2365 echo "configure:2366: checking how to run the C preprocessor" >&5 |
2361 # On Suns, sometimes $CPP names a directory. | 2366 # On Suns, sometimes $CPP names a directory. |
2362 if test -n "$CPP" && test -d "$CPP"; then | 2367 if test -n "$CPP" && test -d "$CPP"; then |
2363 CPP= | 2368 CPP= |
2364 fi | 2369 fi |
2365 if test -z "$CPP"; then | 2370 if test -z "$CPP"; then |
2368 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2373 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2369 CPP="${CC-cc} -E" | 2374 CPP="${CC-cc} -E" |
2370 # On the NeXT, cc -E runs the code through the compiler's parser, | 2375 # On the NeXT, cc -E runs the code through the compiler's parser, |
2371 # not just through cpp. | 2376 # not just through cpp. |
2372 cat > conftest.$ac_ext <<EOF | 2377 cat > conftest.$ac_ext <<EOF |
2373 #line 2374 "configure" | 2378 #line 2379 "configure" |
2374 #include "confdefs.h" | 2379 #include "confdefs.h" |
2375 #include <assert.h> | 2380 #include <assert.h> |
2376 Syntax Error | 2381 Syntax Error |
2377 EOF | 2382 EOF |
2378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2379 { (eval echo configure:2380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2384 { (eval echo configure:2385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2381 if test -z "$ac_err"; then | 2386 if test -z "$ac_err"; then |
2382 : | 2387 : |
2383 else | 2388 else |
2384 echo "$ac_err" >&5 | 2389 echo "$ac_err" >&5 |
2385 echo "configure: failed program was:" >&5 | 2390 echo "configure: failed program was:" >&5 |
2386 cat conftest.$ac_ext >&5 | 2391 cat conftest.$ac_ext >&5 |
2387 rm -rf conftest* | 2392 rm -rf conftest* |
2388 CPP="${CC-cc} -E -traditional-cpp" | 2393 CPP="${CC-cc} -E -traditional-cpp" |
2389 cat > conftest.$ac_ext <<EOF | 2394 cat > conftest.$ac_ext <<EOF |
2390 #line 2391 "configure" | 2395 #line 2396 "configure" |
2391 #include "confdefs.h" | 2396 #include "confdefs.h" |
2392 #include <assert.h> | 2397 #include <assert.h> |
2393 Syntax Error | 2398 Syntax Error |
2394 EOF | 2399 EOF |
2395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2396 { (eval echo configure:2397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2401 { (eval echo configure:2402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2398 if test -z "$ac_err"; then | 2403 if test -z "$ac_err"; then |
2399 : | 2404 : |
2400 else | 2405 else |
2401 echo "$ac_err" >&5 | 2406 echo "$ac_err" >&5 |
2402 echo "configure: failed program was:" >&5 | 2407 echo "configure: failed program was:" >&5 |
2403 cat conftest.$ac_ext >&5 | 2408 cat conftest.$ac_ext >&5 |
2404 rm -rf conftest* | 2409 rm -rf conftest* |
2405 CPP="${CC-cc} -nologo -E" | 2410 CPP="${CC-cc} -nologo -E" |
2406 cat > conftest.$ac_ext <<EOF | 2411 cat > conftest.$ac_ext <<EOF |
2407 #line 2408 "configure" | 2412 #line 2413 "configure" |
2408 #include "confdefs.h" | 2413 #include "confdefs.h" |
2409 #include <assert.h> | 2414 #include <assert.h> |
2410 Syntax Error | 2415 Syntax Error |
2411 EOF | 2416 EOF |
2412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2413 { (eval echo configure:2414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2418 { (eval echo configure:2419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2415 if test -z "$ac_err"; then | 2420 if test -z "$ac_err"; then |
2416 : | 2421 : |
2417 else | 2422 else |
2418 echo "$ac_err" >&5 | 2423 echo "$ac_err" >&5 |
2434 echo "$ac_t""$CPP" 1>&6 | 2439 echo "$ac_t""$CPP" 1>&6 |
2435 | 2440 |
2436 | 2441 |
2437 | 2442 |
2438 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2443 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2439 echo "configure:2440: checking for AIX" >&5 | 2444 echo "configure:2445: checking for AIX" >&5 |
2440 cat > conftest.$ac_ext <<EOF | 2445 cat > conftest.$ac_ext <<EOF |
2441 #line 2442 "configure" | 2446 #line 2447 "configure" |
2442 #include "confdefs.h" | 2447 #include "confdefs.h" |
2443 #ifdef _AIX | 2448 #ifdef _AIX |
2444 yes | 2449 yes |
2445 #endif | 2450 #endif |
2446 | 2451 |
2463 rm -f conftest* | 2468 rm -f conftest* |
2464 | 2469 |
2465 | 2470 |
2466 | 2471 |
2467 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2472 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2468 echo "configure:2469: checking for GNU libc" >&5 | 2473 echo "configure:2474: checking for GNU libc" >&5 |
2469 cat > conftest.$ac_ext <<EOF | 2474 cat > conftest.$ac_ext <<EOF |
2470 #line 2471 "configure" | 2475 #line 2476 "configure" |
2471 #include "confdefs.h" | 2476 #include "confdefs.h" |
2472 #include <features.h> | 2477 #include <features.h> |
2473 int main() { | 2478 int main() { |
2474 | 2479 |
2475 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2480 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2477 ******* ======= ******** &&&&&&&& | 2482 ******* ======= ******** &&&&&&&& |
2478 #endif | 2483 #endif |
2479 | 2484 |
2480 ; return 0; } | 2485 ; return 0; } |
2481 EOF | 2486 EOF |
2482 if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2487 if { (eval echo configure:2488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2483 rm -rf conftest* | 2488 rm -rf conftest* |
2484 have_glibc=yes | 2489 have_glibc=yes |
2485 else | 2490 else |
2486 echo "configure: failed program was:" >&5 | 2491 echo "configure: failed program was:" >&5 |
2487 cat conftest.$ac_ext >&5 | 2492 cat conftest.$ac_ext >&5 |
2507 cat >> confdefs.h <<\EOF | 2512 cat >> confdefs.h <<\EOF |
2508 #define __EXTENSIONS__ 1 | 2513 #define __EXTENSIONS__ 1 |
2509 EOF | 2514 EOF |
2510 } | 2515 } |
2511 | 2516 |
2512 if test "$os_release" -ge 55; then | 2517 if test "$os_release" -ge 505; then |
2513 { test "$extra_verbose" = "yes" && cat << \EOF | 2518 { test "$extra_verbose" = "yes" && cat << \EOF |
2514 Defining _XOPEN_SOURCE = 500 | 2519 Defining _XOPEN_SOURCE = 500 |
2515 EOF | 2520 EOF |
2516 cat >> confdefs.h <<\EOF | 2521 cat >> confdefs.h <<\EOF |
2517 #define _XOPEN_SOURCE 500 | 2522 #define _XOPEN_SOURCE 500 |
2554 | 2559 |
2555 ;; | 2560 ;; |
2556 esac | 2561 esac |
2557 | 2562 |
2558 cat > conftest.$ac_ext <<EOF | 2563 cat > conftest.$ac_ext <<EOF |
2559 #line 2560 "configure" | 2564 #line 2565 "configure" |
2560 #include "confdefs.h" | 2565 #include "confdefs.h" |
2561 int main () { | 2566 int main () { |
2562 #if defined __SUNPRO_C | 2567 #if defined __SUNPRO_C |
2563 return 11; | 2568 return 11; |
2564 #elif defined __DECC | 2569 #elif defined __DECC |
2568 #else | 2573 #else |
2569 return 0; | 2574 return 0; |
2570 #endif | 2575 #endif |
2571 } | 2576 } |
2572 EOF | 2577 EOF |
2573 if { (eval echo configure:2574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2578 if { (eval echo configure:2579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2574 then | 2579 then |
2575 : | 2580 : |
2576 else | 2581 else |
2577 conftest_rc="$?" | 2582 conftest_rc="$?" |
2578 echo "configure: failed program was:" >&5 | 2583 echo "configure: failed program was:" >&5 |
2820 | 2825 |
2821 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2826 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2822 | 2827 |
2823 if test "$__USLC__" = yes; then | 2828 if test "$__USLC__" = yes; then |
2824 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2829 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2825 echo "configure:2826: checking for whether the -Kalloca compiler flag is needed" >&5 | 2830 echo "configure:2831: checking for whether the -Kalloca compiler flag is needed" >&5 |
2826 need_kalloca=no | 2831 need_kalloca=no |
2827 cat > conftest.$ac_ext <<EOF | 2832 cat > conftest.$ac_ext <<EOF |
2828 #line 2829 "configure" | 2833 #line 2834 "configure" |
2829 #include "confdefs.h" | 2834 #include "confdefs.h" |
2830 | 2835 |
2831 int main() { | 2836 int main() { |
2832 void *x = alloca(4); | 2837 void *x = alloca(4); |
2833 ; return 0; } | 2838 ; return 0; } |
2834 EOF | 2839 EOF |
2835 if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2840 if { (eval echo configure:2841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2836 rm -rf conftest* | 2841 rm -rf conftest* |
2837 : | 2842 : |
2838 else | 2843 else |
2839 echo "configure: failed program was:" >&5 | 2844 echo "configure: failed program was:" >&5 |
2840 cat conftest.$ac_ext >&5 | 2845 cat conftest.$ac_ext >&5 |
2841 rm -rf conftest* | 2846 rm -rf conftest* |
2842 | 2847 |
2843 xe_save_c_switch_system="$c_switch_system" | 2848 xe_save_c_switch_system="$c_switch_system" |
2844 c_switch_system="$c_switch_system -Kalloca" | 2849 c_switch_system="$c_switch_system -Kalloca" |
2845 cat > conftest.$ac_ext <<EOF | 2850 cat > conftest.$ac_ext <<EOF |
2846 #line 2847 "configure" | 2851 #line 2852 "configure" |
2847 #include "confdefs.h" | 2852 #include "confdefs.h" |
2848 | 2853 |
2849 int main() { | 2854 int main() { |
2850 void *x = alloca(4); | 2855 void *x = alloca(4); |
2851 ; return 0; } | 2856 ; return 0; } |
2852 EOF | 2857 EOF |
2853 if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2858 if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2854 rm -rf conftest* | 2859 rm -rf conftest* |
2855 need_kalloca=yes | 2860 need_kalloca=yes |
2856 else | 2861 else |
2857 echo "configure: failed program was:" >&5 | 2862 echo "configure: failed program was:" >&5 |
2858 cat conftest.$ac_ext >&5 | 2863 cat conftest.$ac_ext >&5 |
2908 | 2913 |
2909 CFLAGS="$cflags_warning $CFLAGS" | 2914 CFLAGS="$cflags_warning $CFLAGS" |
2910 | 2915 |
2911 if test "$GCC" = "yes"; then | 2916 if test "$GCC" = "yes"; then |
2912 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2917 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2913 echo "configure:2914: checking for buggy gcc versions" >&5 | 2918 echo "configure:2919: checking for buggy gcc versions" >&5 |
2914 GCC_VERSION=`$CC --version` | 2919 GCC_VERSION=`$CC --version` |
2915 case `uname -s`:`uname -m`:$GCC_VERSION in | 2920 case `uname -s`:`uname -m`:$GCC_VERSION in |
2916 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2921 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2917 case "$CFLAGS" in | 2922 case "$CFLAGS" in |
2918 *-O2*|*-O3*) | 2923 *-O2*|*-O3*) |
2966 echo "$ac_t""no" 1>&6 | 2971 echo "$ac_t""no" 1>&6 |
2967 fi | 2972 fi |
2968 | 2973 |
2969 if test "$pdump" != "yes"; then | 2974 if test "$pdump" != "yes"; then |
2970 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2975 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2971 echo "configure:2972: checking for \"-z nocombreloc\" linker flag" >&5 | 2976 echo "configure:2977: checking for \"-z nocombreloc\" linker flag" >&5 |
2972 case "`ld --help 2>&1`" in | 2977 case "`ld --help 2>&1`" in |
2973 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2978 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2974 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2979 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2975 *) echo "$ac_t""no" 1>&6 ;; | 2980 *) echo "$ac_t""no" 1>&6 ;; |
2976 esac | 2981 esac |
3055 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3060 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3056 echo " xemacs will be linked with \"dumper.o\"" | 3061 echo " xemacs will be linked with \"dumper.o\"" |
3057 fi | 3062 fi |
3058 | 3063 |
3059 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3064 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3060 echo "configure:3061: checking for dynodump" >&5 | 3065 echo "configure:3066: checking for dynodump" >&5 |
3061 if test "$unexec" != "unexsol2.o"; then | 3066 if test "$unexec" != "unexsol2.o"; then |
3062 echo "$ac_t""no" 1>&6 | 3067 echo "$ac_t""no" 1>&6 |
3063 else | 3068 else |
3064 echo "$ac_t""yes" 1>&6 | 3069 echo "$ac_t""yes" 1>&6 |
3065 { test "$extra_verbose" = "yes" && cat << \EOF | 3070 { test "$extra_verbose" = "yes" && cat << \EOF |
3093 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3098 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3094 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3099 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3095 done | 3100 done |
3096 | 3101 |
3097 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3102 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3098 echo "configure:3099: checking for terminateAndUnload in -lC" >&5 | 3103 echo "configure:3104: checking for terminateAndUnload in -lC" >&5 |
3099 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3104 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3100 | 3105 |
3101 xe_check_libs=" -lC " | 3106 xe_check_libs=" -lC " |
3102 cat > conftest.$ac_ext <<EOF | 3107 cat > conftest.$ac_ext <<EOF |
3103 #line 3104 "configure" | 3108 #line 3109 "configure" |
3104 #include "confdefs.h" | 3109 #include "confdefs.h" |
3105 /* Override any gcc2 internal prototype to avoid an error. */ | 3110 /* Override any gcc2 internal prototype to avoid an error. */ |
3106 /* We use char because int might match the return type of a gcc2 | 3111 /* We use char because int might match the return type of a gcc2 |
3107 builtin and then its argument prototype would still apply. */ | 3112 builtin and then its argument prototype would still apply. */ |
3108 char terminateAndUnload(); | 3113 char terminateAndUnload(); |
3109 | 3114 |
3110 int main() { | 3115 int main() { |
3111 terminateAndUnload() | 3116 terminateAndUnload() |
3112 ; return 0; } | 3117 ; return 0; } |
3113 EOF | 3118 EOF |
3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3119 if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3115 rm -rf conftest* | 3120 rm -rf conftest* |
3116 eval "ac_cv_lib_$ac_lib_var=yes" | 3121 eval "ac_cv_lib_$ac_lib_var=yes" |
3117 else | 3122 else |
3118 echo "configure: failed program was:" >&5 | 3123 echo "configure: failed program was:" >&5 |
3119 cat conftest.$ac_ext >&5 | 3124 cat conftest.$ac_ext >&5 |
3217 esac | 3222 esac |
3218 fi | 3223 fi |
3219 | 3224 |
3220 if test "$add_runtime_path" = "yes"; then | 3225 if test "$add_runtime_path" = "yes"; then |
3221 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3226 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3222 echo "configure:3223: checking "for runtime libraries flag"" >&5 | 3227 echo "configure:3228: checking "for runtime libraries flag"" >&5 |
3223 case "$opsys" in | 3228 case "$opsys" in |
3224 sol2 ) dash_r="-R" ;; | 3229 sol2 ) dash_r="-R" ;; |
3225 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3230 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3226 *) | 3231 *) |
3227 dash_r="" | 3232 dash_r="" |
3239 esac | 3244 esac |
3240 shift | 3245 shift |
3241 done | 3246 done |
3242 fi | 3247 fi |
3243 cat > conftest.$ac_ext <<EOF | 3248 cat > conftest.$ac_ext <<EOF |
3244 #line 3245 "configure" | 3249 #line 3250 "configure" |
3245 #include "confdefs.h" | 3250 #include "confdefs.h" |
3246 | 3251 |
3247 int main() { | 3252 int main() { |
3248 | 3253 |
3249 ; return 0; } | 3254 ; return 0; } |
3250 EOF | 3255 EOF |
3251 if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3256 if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3252 rm -rf conftest* | 3257 rm -rf conftest* |
3253 dash_r="$try_dash_r" | 3258 dash_r="$try_dash_r" |
3254 else | 3259 else |
3255 echo "configure: failed program was:" >&5 | 3260 echo "configure: failed program was:" >&5 |
3256 cat conftest.$ac_ext >&5 | 3261 cat conftest.$ac_ext >&5 |
3347 else | 3352 else |
3348 doug_lea_malloc=no | 3353 doug_lea_malloc=no |
3349 fi | 3354 fi |
3350 after_morecore_hook_exists=yes | 3355 after_morecore_hook_exists=yes |
3351 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3356 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3352 echo "configure:3353: checking for malloc_set_state" >&5 | 3357 echo "configure:3358: checking for malloc_set_state" >&5 |
3353 | 3358 |
3354 cat > conftest.$ac_ext <<EOF | 3359 cat > conftest.$ac_ext <<EOF |
3355 #line 3356 "configure" | 3360 #line 3361 "configure" |
3356 #include "confdefs.h" | 3361 #include "confdefs.h" |
3357 /* System header to define __stub macros and hopefully few prototypes, | 3362 /* System header to define __stub macros and hopefully few prototypes, |
3358 which can conflict with char malloc_set_state(); below. */ | 3363 which can conflict with char malloc_set_state(); below. */ |
3359 #include <assert.h> | 3364 #include <assert.h> |
3360 /* Override any gcc2 internal prototype to avoid an error. */ | 3365 /* Override any gcc2 internal prototype to avoid an error. */ |
3373 malloc_set_state(); | 3378 malloc_set_state(); |
3374 #endif | 3379 #endif |
3375 | 3380 |
3376 ; return 0; } | 3381 ; return 0; } |
3377 EOF | 3382 EOF |
3378 if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3383 if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3379 rm -rf conftest* | 3384 rm -rf conftest* |
3380 eval "ac_cv_func_malloc_set_state=yes" | 3385 eval "ac_cv_func_malloc_set_state=yes" |
3381 else | 3386 else |
3382 echo "configure: failed program was:" >&5 | 3387 echo "configure: failed program was:" >&5 |
3383 cat conftest.$ac_ext >&5 | 3388 cat conftest.$ac_ext >&5 |
3393 echo "$ac_t""no" 1>&6 | 3398 echo "$ac_t""no" 1>&6 |
3394 doug_lea_malloc=no | 3399 doug_lea_malloc=no |
3395 fi | 3400 fi |
3396 | 3401 |
3397 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3402 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3398 echo "configure:3399: checking whether __after_morecore_hook exists" >&5 | 3403 echo "configure:3404: checking whether __after_morecore_hook exists" >&5 |
3399 cat > conftest.$ac_ext <<EOF | 3404 cat > conftest.$ac_ext <<EOF |
3400 #line 3401 "configure" | 3405 #line 3406 "configure" |
3401 #include "confdefs.h" | 3406 #include "confdefs.h" |
3402 extern void (* __after_morecore_hook)(); | 3407 extern void (* __after_morecore_hook)(); |
3403 int main() { | 3408 int main() { |
3404 __after_morecore_hook = 0 | 3409 __after_morecore_hook = 0 |
3405 ; return 0; } | 3410 ; return 0; } |
3406 EOF | 3411 EOF |
3407 if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3408 rm -rf conftest* | 3413 rm -rf conftest* |
3409 echo "$ac_t""yes" 1>&6 | 3414 echo "$ac_t""yes" 1>&6 |
3410 else | 3415 else |
3411 echo "configure: failed program was:" >&5 | 3416 echo "configure: failed program was:" >&5 |
3412 cat conftest.$ac_ext >&5 | 3417 cat conftest.$ac_ext >&5 |
3458 | 3463 |
3459 | 3464 |
3460 # Extract the first word of "ranlib", so it can be a program name with args. | 3465 # Extract the first word of "ranlib", so it can be a program name with args. |
3461 set dummy ranlib; ac_word=$2 | 3466 set dummy ranlib; ac_word=$2 |
3462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3467 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3463 echo "configure:3464: checking for $ac_word" >&5 | 3468 echo "configure:3469: checking for $ac_word" >&5 |
3464 | 3469 |
3465 if test -n "$RANLIB"; then | 3470 if test -n "$RANLIB"; then |
3466 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3471 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3467 else | 3472 else |
3468 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3473 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3513 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3518 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3514 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3519 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3515 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3520 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3516 # ./install, which can be erroneously created by make from ./install.sh. | 3521 # ./install, which can be erroneously created by make from ./install.sh. |
3517 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3522 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3518 echo "configure:3519: checking for a BSD compatible install" >&5 | 3523 echo "configure:3524: checking for a BSD compatible install" >&5 |
3519 if test -z "$INSTALL"; then | 3524 if test -z "$INSTALL"; then |
3520 | 3525 |
3521 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3526 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3522 for ac_dir in $PATH; do | 3527 for ac_dir in $PATH; do |
3523 # Account for people who put trailing slashes in PATH elements. | 3528 # Account for people who put trailing slashes in PATH elements. |
3567 for ac_prog in 'bison -y' byacc | 3572 for ac_prog in 'bison -y' byacc |
3568 do | 3573 do |
3569 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3574 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3570 set dummy $ac_prog; ac_word=$2 | 3575 set dummy $ac_prog; ac_word=$2 |
3571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3576 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3572 echo "configure:3573: checking for $ac_word" >&5 | 3577 echo "configure:3578: checking for $ac_word" >&5 |
3573 | 3578 |
3574 if test -n "$YACC"; then | 3579 if test -n "$YACC"; then |
3575 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3580 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3576 else | 3581 else |
3577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3582 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3599 | 3604 |
3600 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3605 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3601 do | 3606 do |
3602 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3607 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3603 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3608 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3604 echo "configure:3605: checking for $ac_hdr" >&5 | 3609 echo "configure:3610: checking for $ac_hdr" >&5 |
3605 | 3610 |
3606 cat > conftest.$ac_ext <<EOF | 3611 cat > conftest.$ac_ext <<EOF |
3607 #line 3608 "configure" | 3612 #line 3613 "configure" |
3608 #include "confdefs.h" | 3613 #include "confdefs.h" |
3609 #include <$ac_hdr> | 3614 #include <$ac_hdr> |
3610 EOF | 3615 EOF |
3611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3612 { (eval echo configure:3613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3617 { (eval echo configure:3618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3614 if test -z "$ac_err"; then | 3619 if test -z "$ac_err"; then |
3615 rm -rf conftest* | 3620 rm -rf conftest* |
3616 eval "ac_cv_header_$ac_safe=yes" | 3621 eval "ac_cv_header_$ac_safe=yes" |
3617 else | 3622 else |
3637 echo "$ac_t""no" 1>&6 | 3642 echo "$ac_t""no" 1>&6 |
3638 fi | 3643 fi |
3639 done | 3644 done |
3640 | 3645 |
3641 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3646 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3642 echo "configure:3643: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3647 echo "configure:3648: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3643 | 3648 |
3644 cat > conftest.$ac_ext <<EOF | 3649 cat > conftest.$ac_ext <<EOF |
3645 #line 3646 "configure" | 3650 #line 3651 "configure" |
3646 #include "confdefs.h" | 3651 #include "confdefs.h" |
3647 #include <sys/types.h> | 3652 #include <sys/types.h> |
3648 #include <sys/wait.h> | 3653 #include <sys/wait.h> |
3649 #ifndef WEXITSTATUS | 3654 #ifndef WEXITSTATUS |
3650 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3655 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3656 int s; | 3661 int s; |
3657 wait (&s); | 3662 wait (&s); |
3658 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3663 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3659 ; return 0; } | 3664 ; return 0; } |
3660 EOF | 3665 EOF |
3661 if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3666 if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3662 rm -rf conftest* | 3667 rm -rf conftest* |
3663 ac_cv_header_sys_wait_h=yes | 3668 ac_cv_header_sys_wait_h=yes |
3664 else | 3669 else |
3665 echo "configure: failed program was:" >&5 | 3670 echo "configure: failed program was:" >&5 |
3666 cat conftest.$ac_ext >&5 | 3671 cat conftest.$ac_ext >&5 |
3680 } | 3685 } |
3681 | 3686 |
3682 fi | 3687 fi |
3683 | 3688 |
3684 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3689 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3685 echo "configure:3686: checking for ANSI C header files" >&5 | 3690 echo "configure:3691: checking for ANSI C header files" >&5 |
3686 | 3691 |
3687 cat > conftest.$ac_ext <<EOF | 3692 cat > conftest.$ac_ext <<EOF |
3688 #line 3689 "configure" | 3693 #line 3694 "configure" |
3689 #include "confdefs.h" | 3694 #include "confdefs.h" |
3690 #include <stdlib.h> | 3695 #include <stdlib.h> |
3691 #include <stdarg.h> | 3696 #include <stdarg.h> |
3692 #include <string.h> | 3697 #include <string.h> |
3693 #include <float.h> | 3698 #include <float.h> |
3694 EOF | 3699 EOF |
3695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3696 { (eval echo configure:3697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3701 { (eval echo configure:3702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3698 if test -z "$ac_err"; then | 3703 if test -z "$ac_err"; then |
3699 rm -rf conftest* | 3704 rm -rf conftest* |
3700 ac_cv_header_stdc=yes | 3705 ac_cv_header_stdc=yes |
3701 else | 3706 else |
3708 rm -f conftest* | 3713 rm -f conftest* |
3709 | 3714 |
3710 if test $ac_cv_header_stdc = yes; then | 3715 if test $ac_cv_header_stdc = yes; then |
3711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3716 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3712 cat > conftest.$ac_ext <<EOF | 3717 cat > conftest.$ac_ext <<EOF |
3713 #line 3714 "configure" | 3718 #line 3719 "configure" |
3714 #include "confdefs.h" | 3719 #include "confdefs.h" |
3715 #include <string.h> | 3720 #include <string.h> |
3716 EOF | 3721 EOF |
3717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3718 egrep "memchr" >/dev/null 2>&1; then | 3723 egrep "memchr" >/dev/null 2>&1; then |
3726 fi | 3731 fi |
3727 | 3732 |
3728 if test $ac_cv_header_stdc = yes; then | 3733 if test $ac_cv_header_stdc = yes; then |
3729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3734 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3730 cat > conftest.$ac_ext <<EOF | 3735 cat > conftest.$ac_ext <<EOF |
3731 #line 3732 "configure" | 3736 #line 3737 "configure" |
3732 #include "confdefs.h" | 3737 #include "confdefs.h" |
3733 #include <stdlib.h> | 3738 #include <stdlib.h> |
3734 EOF | 3739 EOF |
3735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3736 egrep "free" >/dev/null 2>&1; then | 3741 egrep "free" >/dev/null 2>&1; then |
3744 fi | 3749 fi |
3745 | 3750 |
3746 if test $ac_cv_header_stdc = yes; then | 3751 if test $ac_cv_header_stdc = yes; then |
3747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3752 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3748 cat > conftest.$ac_ext <<EOF | 3753 cat > conftest.$ac_ext <<EOF |
3749 #line 3750 "configure" | 3754 #line 3755 "configure" |
3750 #include "confdefs.h" | 3755 #include "confdefs.h" |
3751 #include <ctype.h> | 3756 #include <ctype.h> |
3752 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3757 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3753 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3758 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3759 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3755 int main () { int i; for (i = 0; i < 256; i++) | 3760 int main () { int i; for (i = 0; i < 256; i++) |
3756 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3761 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3757 exit (0); } | 3762 exit (0); } |
3758 | 3763 |
3759 EOF | 3764 EOF |
3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3765 if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3761 then | 3766 then |
3762 : | 3767 : |
3763 else | 3768 else |
3764 conftest_rc="$?" | 3769 conftest_rc="$?" |
3765 echo "configure: failed program was:" >&5 | 3770 echo "configure: failed program was:" >&5 |
3781 } | 3786 } |
3782 | 3787 |
3783 fi | 3788 fi |
3784 | 3789 |
3785 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3790 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3786 echo "configure:3787: checking whether time.h and sys/time.h may both be included" >&5 | 3791 echo "configure:3792: checking whether time.h and sys/time.h may both be included" >&5 |
3787 | 3792 |
3788 cat > conftest.$ac_ext <<EOF | 3793 cat > conftest.$ac_ext <<EOF |
3789 #line 3790 "configure" | 3794 #line 3795 "configure" |
3790 #include "confdefs.h" | 3795 #include "confdefs.h" |
3791 #include <sys/types.h> | 3796 #include <sys/types.h> |
3792 #include <sys/time.h> | 3797 #include <sys/time.h> |
3793 #include <time.h> | 3798 #include <time.h> |
3794 int main() { | 3799 int main() { |
3795 struct tm *tp; | 3800 struct tm *tp; |
3796 ; return 0; } | 3801 ; return 0; } |
3797 EOF | 3802 EOF |
3798 if { (eval echo configure:3799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3803 if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3799 rm -rf conftest* | 3804 rm -rf conftest* |
3800 ac_cv_header_time=yes | 3805 ac_cv_header_time=yes |
3801 else | 3806 else |
3802 echo "configure: failed program was:" >&5 | 3807 echo "configure: failed program was:" >&5 |
3803 cat conftest.$ac_ext >&5 | 3808 cat conftest.$ac_ext >&5 |
3817 } | 3822 } |
3818 | 3823 |
3819 fi | 3824 fi |
3820 | 3825 |
3821 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3826 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3822 echo "configure:3823: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3827 echo "configure:3828: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3823 | 3828 |
3824 cat > conftest.$ac_ext <<EOF | 3829 cat > conftest.$ac_ext <<EOF |
3825 #line 3826 "configure" | 3830 #line 3831 "configure" |
3826 #include "confdefs.h" | 3831 #include "confdefs.h" |
3827 #include <sys/types.h> | 3832 #include <sys/types.h> |
3828 #include <signal.h> | 3833 #include <signal.h> |
3829 /* NetBSD declares sys_siglist in unistd.h. */ | 3834 /* NetBSD declares sys_siglist in unistd.h. */ |
3830 #ifdef HAVE_UNISTD_H | 3835 #ifdef HAVE_UNISTD_H |
3832 #endif | 3837 #endif |
3833 int main() { | 3838 int main() { |
3834 char *msg = *(sys_siglist + 1); | 3839 char *msg = *(sys_siglist + 1); |
3835 ; return 0; } | 3840 ; return 0; } |
3836 EOF | 3841 EOF |
3837 if { (eval echo configure:3838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3842 if { (eval echo configure:3843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3838 rm -rf conftest* | 3843 rm -rf conftest* |
3839 ac_cv_decl_sys_siglist=yes | 3844 ac_cv_decl_sys_siglist=yes |
3840 else | 3845 else |
3841 echo "configure: failed program was:" >&5 | 3846 echo "configure: failed program was:" >&5 |
3842 cat conftest.$ac_ext >&5 | 3847 cat conftest.$ac_ext >&5 |
3858 fi | 3863 fi |
3859 | 3864 |
3860 | 3865 |
3861 | 3866 |
3862 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3867 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3863 echo "configure:3864: checking for utime" >&5 | 3868 echo "configure:3869: checking for utime" >&5 |
3864 cat > conftest.$ac_ext <<EOF | 3869 cat > conftest.$ac_ext <<EOF |
3865 #line 3866 "configure" | 3870 #line 3871 "configure" |
3866 #include "confdefs.h" | 3871 #include "confdefs.h" |
3867 #include <sys/types.h> | 3872 #include <sys/types.h> |
3868 #include <utime.h> | 3873 #include <utime.h> |
3869 int main() { | 3874 int main() { |
3870 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3875 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3871 ; return 0; } | 3876 ; return 0; } |
3872 EOF | 3877 EOF |
3873 if { (eval echo configure:3874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3878 if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3874 rm -rf conftest* | 3879 rm -rf conftest* |
3875 echo "$ac_t""yes" 1>&6 | 3880 echo "$ac_t""yes" 1>&6 |
3876 { test "$extra_verbose" = "yes" && cat << \EOF | 3881 { test "$extra_verbose" = "yes" && cat << \EOF |
3877 Defining HAVE_UTIME | 3882 Defining HAVE_UTIME |
3878 EOF | 3883 EOF |
3887 rm -rf conftest* | 3892 rm -rf conftest* |
3888 echo "$ac_t""no" 1>&6 | 3893 echo "$ac_t""no" 1>&6 |
3889 for ac_func in utimes | 3894 for ac_func in utimes |
3890 do | 3895 do |
3891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3892 echo "configure:3893: checking for $ac_func" >&5 | 3897 echo "configure:3898: checking for $ac_func" >&5 |
3893 | 3898 |
3894 cat > conftest.$ac_ext <<EOF | 3899 cat > conftest.$ac_ext <<EOF |
3895 #line 3896 "configure" | 3900 #line 3901 "configure" |
3896 #include "confdefs.h" | 3901 #include "confdefs.h" |
3897 /* System header to define __stub macros and hopefully few prototypes, | 3902 /* System header to define __stub macros and hopefully few prototypes, |
3898 which can conflict with char $ac_func(); below. */ | 3903 which can conflict with char $ac_func(); below. */ |
3899 #include <assert.h> | 3904 #include <assert.h> |
3900 /* Override any gcc2 internal prototype to avoid an error. */ | 3905 /* Override any gcc2 internal prototype to avoid an error. */ |
3913 $ac_func(); | 3918 $ac_func(); |
3914 #endif | 3919 #endif |
3915 | 3920 |
3916 ; return 0; } | 3921 ; return 0; } |
3917 EOF | 3922 EOF |
3918 if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3923 if { (eval echo configure:3924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3919 rm -rf conftest* | 3924 rm -rf conftest* |
3920 eval "ac_cv_func_$ac_func=yes" | 3925 eval "ac_cv_func_$ac_func=yes" |
3921 else | 3926 else |
3922 echo "configure: failed program was:" >&5 | 3927 echo "configure: failed program was:" >&5 |
3923 cat conftest.$ac_ext >&5 | 3928 cat conftest.$ac_ext >&5 |
3945 fi | 3950 fi |
3946 rm -f conftest* | 3951 rm -f conftest* |
3947 | 3952 |
3948 | 3953 |
3949 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3954 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3950 echo "configure:3951: checking return type of signal handlers" >&5 | 3955 echo "configure:3956: checking return type of signal handlers" >&5 |
3951 | 3956 |
3952 cat > conftest.$ac_ext <<EOF | 3957 cat > conftest.$ac_ext <<EOF |
3953 #line 3954 "configure" | 3958 #line 3959 "configure" |
3954 #include "confdefs.h" | 3959 #include "confdefs.h" |
3955 #include <sys/types.h> | 3960 #include <sys/types.h> |
3956 #include <signal.h> | 3961 #include <signal.h> |
3957 #ifdef signal | 3962 #ifdef signal |
3958 #undef signal | 3963 #undef signal |
3965 | 3970 |
3966 int main() { | 3971 int main() { |
3967 int i; | 3972 int i; |
3968 ; return 0; } | 3973 ; return 0; } |
3969 EOF | 3974 EOF |
3970 if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3975 if { (eval echo configure:3976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3971 rm -rf conftest* | 3976 rm -rf conftest* |
3972 ac_cv_type_signal=void | 3977 ac_cv_type_signal=void |
3973 else | 3978 else |
3974 echo "configure: failed program was:" >&5 | 3979 echo "configure: failed program was:" >&5 |
3975 cat conftest.$ac_ext >&5 | 3980 cat conftest.$ac_ext >&5 |
3987 EOF | 3992 EOF |
3988 } | 3993 } |
3989 | 3994 |
3990 | 3995 |
3991 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3996 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3992 echo "configure:3993: checking for size_t" >&5 | 3997 echo "configure:3998: checking for size_t" >&5 |
3993 | 3998 |
3994 cat > conftest.$ac_ext <<EOF | 3999 cat > conftest.$ac_ext <<EOF |
3995 #line 3996 "configure" | 4000 #line 4001 "configure" |
3996 #include "confdefs.h" | 4001 #include "confdefs.h" |
3997 #include <sys/types.h> | 4002 #include <sys/types.h> |
3998 #if STDC_HEADERS | 4003 #if STDC_HEADERS |
3999 #include <stdlib.h> | 4004 #include <stdlib.h> |
4000 #include <stddef.h> | 4005 #include <stddef.h> |
4021 } | 4026 } |
4022 | 4027 |
4023 fi | 4028 fi |
4024 | 4029 |
4025 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4030 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4026 echo "configure:4027: checking for pid_t" >&5 | 4031 echo "configure:4032: checking for pid_t" >&5 |
4027 | 4032 |
4028 cat > conftest.$ac_ext <<EOF | 4033 cat > conftest.$ac_ext <<EOF |
4029 #line 4030 "configure" | 4034 #line 4035 "configure" |
4030 #include "confdefs.h" | 4035 #include "confdefs.h" |
4031 #include <sys/types.h> | 4036 #include <sys/types.h> |
4032 #if STDC_HEADERS | 4037 #if STDC_HEADERS |
4033 #include <stdlib.h> | 4038 #include <stdlib.h> |
4034 #include <stddef.h> | 4039 #include <stddef.h> |
4055 } | 4060 } |
4056 | 4061 |
4057 fi | 4062 fi |
4058 | 4063 |
4059 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4064 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4060 echo "configure:4061: checking for uid_t in sys/types.h" >&5 | 4065 echo "configure:4066: checking for uid_t in sys/types.h" >&5 |
4061 | 4066 |
4062 cat > conftest.$ac_ext <<EOF | 4067 cat > conftest.$ac_ext <<EOF |
4063 #line 4064 "configure" | 4068 #line 4069 "configure" |
4064 #include "confdefs.h" | 4069 #include "confdefs.h" |
4065 #include <sys/types.h> | 4070 #include <sys/types.h> |
4066 EOF | 4071 EOF |
4067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4068 egrep "uid_t" >/dev/null 2>&1; then | 4073 egrep "uid_t" >/dev/null 2>&1; then |
4094 } | 4099 } |
4095 | 4100 |
4096 fi | 4101 fi |
4097 | 4102 |
4098 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4103 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4099 echo "configure:4100: checking for mode_t" >&5 | 4104 echo "configure:4105: checking for mode_t" >&5 |
4100 | 4105 |
4101 cat > conftest.$ac_ext <<EOF | 4106 cat > conftest.$ac_ext <<EOF |
4102 #line 4103 "configure" | 4107 #line 4108 "configure" |
4103 #include "confdefs.h" | 4108 #include "confdefs.h" |
4104 #include <sys/types.h> | 4109 #include <sys/types.h> |
4105 #if STDC_HEADERS | 4110 #if STDC_HEADERS |
4106 #include <stdlib.h> | 4111 #include <stdlib.h> |
4107 #include <stddef.h> | 4112 #include <stddef.h> |
4128 } | 4133 } |
4129 | 4134 |
4130 fi | 4135 fi |
4131 | 4136 |
4132 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4137 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4133 echo "configure:4134: checking for off_t" >&5 | 4138 echo "configure:4139: checking for off_t" >&5 |
4134 | 4139 |
4135 cat > conftest.$ac_ext <<EOF | 4140 cat > conftest.$ac_ext <<EOF |
4136 #line 4137 "configure" | 4141 #line 4142 "configure" |
4137 #include "confdefs.h" | 4142 #include "confdefs.h" |
4138 #include <sys/types.h> | 4143 #include <sys/types.h> |
4139 #if STDC_HEADERS | 4144 #if STDC_HEADERS |
4140 #include <stdlib.h> | 4145 #include <stdlib.h> |
4141 #include <stddef.h> | 4146 #include <stddef.h> |
4162 } | 4167 } |
4163 | 4168 |
4164 fi | 4169 fi |
4165 | 4170 |
4166 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4171 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4167 echo "configure:4168: checking for ssize_t" >&5 | 4172 echo "configure:4173: checking for ssize_t" >&5 |
4168 | 4173 |
4169 cat > conftest.$ac_ext <<EOF | 4174 cat > conftest.$ac_ext <<EOF |
4170 #line 4171 "configure" | 4175 #line 4176 "configure" |
4171 #include "confdefs.h" | 4176 #include "confdefs.h" |
4172 #include <sys/types.h> | 4177 #include <sys/types.h> |
4173 #if STDC_HEADERS | 4178 #if STDC_HEADERS |
4174 #include <stdlib.h> | 4179 #include <stdlib.h> |
4175 #include <stddef.h> | 4180 #include <stddef.h> |
4198 fi | 4203 fi |
4199 | 4204 |
4200 | 4205 |
4201 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4206 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4202 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4207 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4203 echo "configure:4204: checking for intptr_t in sys/types.h" >&5 | 4208 echo "configure:4209: checking for intptr_t in sys/types.h" >&5 |
4204 cat > conftest.$ac_ext <<EOF | 4209 cat > conftest.$ac_ext <<EOF |
4205 #line 4206 "configure" | 4210 #line 4211 "configure" |
4206 #include "confdefs.h" | 4211 #include "confdefs.h" |
4207 #include <sys/types.h> | 4212 #include <sys/types.h> |
4208 intptr_t x; | 4213 intptr_t x; |
4209 | 4214 |
4210 int main() { | 4215 int main() { |
4211 | 4216 |
4212 ; return 0; } | 4217 ; return 0; } |
4213 EOF | 4218 EOF |
4214 if { (eval echo configure:4215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4219 if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4215 rm -rf conftest* | 4220 rm -rf conftest* |
4216 echo "$ac_t""yes" 1>&6 | 4221 echo "$ac_t""yes" 1>&6 |
4217 { test "$extra_verbose" = "yes" && cat << \EOF | 4222 { test "$extra_verbose" = "yes" && cat << \EOF |
4218 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4223 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4219 EOF | 4224 EOF |
4230 fi | 4235 fi |
4231 rm -f conftest* | 4236 rm -f conftest* |
4232 fi | 4237 fi |
4233 | 4238 |
4234 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4239 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4235 echo "configure:4236: checking for socklen_t" >&5 | 4240 echo "configure:4241: checking for socklen_t" >&5 |
4236 cat > conftest.$ac_ext <<EOF | 4241 cat > conftest.$ac_ext <<EOF |
4237 #line 4238 "configure" | 4242 #line 4243 "configure" |
4238 #include "confdefs.h" | 4243 #include "confdefs.h" |
4239 #include <sys/types.h> | 4244 #include <sys/types.h> |
4240 #include <sys/socket.h> | 4245 #include <sys/socket.h> |
4241 socklen_t x; | 4246 socklen_t x; |
4242 | 4247 |
4243 int main() { | 4248 int main() { |
4244 | 4249 |
4245 ; return 0; } | 4250 ; return 0; } |
4246 EOF | 4251 EOF |
4247 if { (eval echo configure:4248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4252 if { (eval echo configure:4253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4248 rm -rf conftest* | 4253 rm -rf conftest* |
4249 echo "$ac_t""yes" 1>&6 | 4254 echo "$ac_t""yes" 1>&6 |
4250 else | 4255 else |
4251 echo "configure: failed program was:" >&5 | 4256 echo "configure: failed program was:" >&5 |
4252 cat conftest.$ac_ext >&5 | 4257 cat conftest.$ac_ext >&5 |
4253 rm -rf conftest* | 4258 rm -rf conftest* |
4254 | 4259 |
4255 cat > conftest.$ac_ext <<EOF | 4260 cat > conftest.$ac_ext <<EOF |
4256 #line 4257 "configure" | 4261 #line 4262 "configure" |
4257 #include "confdefs.h" | 4262 #include "confdefs.h" |
4258 #include <sys/types.h> | 4263 #include <sys/types.h> |
4259 #include <sys/socket.h> | 4264 #include <sys/socket.h> |
4260 int accept (int, struct sockaddr *, size_t *); | 4265 int accept (int, struct sockaddr *, size_t *); |
4261 | 4266 |
4262 int main() { | 4267 int main() { |
4263 | 4268 |
4264 ; return 0; } | 4269 ; return 0; } |
4265 EOF | 4270 EOF |
4266 if { (eval echo configure:4267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4271 if { (eval echo configure:4272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4267 rm -rf conftest* | 4272 rm -rf conftest* |
4268 | 4273 |
4269 echo "$ac_t""size_t" 1>&6 | 4274 echo "$ac_t""size_t" 1>&6 |
4270 { test "$extra_verbose" = "yes" && cat << \EOF | 4275 { test "$extra_verbose" = "yes" && cat << \EOF |
4271 Defining socklen_t = size_t | 4276 Defining socklen_t = size_t |
4293 rm -f conftest* | 4298 rm -f conftest* |
4294 fi | 4299 fi |
4295 rm -f conftest* | 4300 rm -f conftest* |
4296 | 4301 |
4297 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4302 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4298 echo "configure:4299: checking for struct timeval" >&5 | 4303 echo "configure:4304: checking for struct timeval" >&5 |
4299 cat > conftest.$ac_ext <<EOF | 4304 cat > conftest.$ac_ext <<EOF |
4300 #line 4301 "configure" | 4305 #line 4306 "configure" |
4301 #include "confdefs.h" | 4306 #include "confdefs.h" |
4302 #ifdef TIME_WITH_SYS_TIME | 4307 #ifdef TIME_WITH_SYS_TIME |
4303 #include <sys/time.h> | 4308 #include <sys/time.h> |
4304 #include <time.h> | 4309 #include <time.h> |
4305 #else | 4310 #else |
4311 #endif | 4316 #endif |
4312 int main() { | 4317 int main() { |
4313 static struct timeval x; x.tv_sec = x.tv_usec; | 4318 static struct timeval x; x.tv_sec = x.tv_usec; |
4314 ; return 0; } | 4319 ; return 0; } |
4315 EOF | 4320 EOF |
4316 if { (eval echo configure:4317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4321 if { (eval echo configure:4322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4317 rm -rf conftest* | 4322 rm -rf conftest* |
4318 echo "$ac_t""yes" 1>&6 | 4323 echo "$ac_t""yes" 1>&6 |
4319 HAVE_TIMEVAL=yes | 4324 HAVE_TIMEVAL=yes |
4320 { test "$extra_verbose" = "yes" && cat << \EOF | 4325 { test "$extra_verbose" = "yes" && cat << \EOF |
4321 Defining HAVE_TIMEVAL | 4326 Defining HAVE_TIMEVAL |
4333 HAVE_TIMEVAL=no | 4338 HAVE_TIMEVAL=no |
4334 fi | 4339 fi |
4335 rm -f conftest* | 4340 rm -f conftest* |
4336 | 4341 |
4337 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4342 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4338 echo "configure:4339: checking whether struct tm is in sys/time.h or time.h" >&5 | 4343 echo "configure:4344: checking whether struct tm is in sys/time.h or time.h" >&5 |
4339 | 4344 |
4340 cat > conftest.$ac_ext <<EOF | 4345 cat > conftest.$ac_ext <<EOF |
4341 #line 4342 "configure" | 4346 #line 4347 "configure" |
4342 #include "confdefs.h" | 4347 #include "confdefs.h" |
4343 #include <sys/types.h> | 4348 #include <sys/types.h> |
4344 #include <time.h> | 4349 #include <time.h> |
4345 int main() { | 4350 int main() { |
4346 struct tm *tp; tp->tm_sec; | 4351 struct tm *tp; tp->tm_sec; |
4347 ; return 0; } | 4352 ; return 0; } |
4348 EOF | 4353 EOF |
4349 if { (eval echo configure:4350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4354 if { (eval echo configure:4355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4350 rm -rf conftest* | 4355 rm -rf conftest* |
4351 ac_cv_struct_tm=time.h | 4356 ac_cv_struct_tm=time.h |
4352 else | 4357 else |
4353 echo "configure: failed program was:" >&5 | 4358 echo "configure: failed program was:" >&5 |
4354 cat conftest.$ac_ext >&5 | 4359 cat conftest.$ac_ext >&5 |
4368 } | 4373 } |
4369 | 4374 |
4370 fi | 4375 fi |
4371 | 4376 |
4372 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4377 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4373 echo "configure:4374: checking for tm_zone in struct tm" >&5 | 4378 echo "configure:4379: checking for tm_zone in struct tm" >&5 |
4374 | 4379 |
4375 cat > conftest.$ac_ext <<EOF | 4380 cat > conftest.$ac_ext <<EOF |
4376 #line 4377 "configure" | 4381 #line 4382 "configure" |
4377 #include "confdefs.h" | 4382 #include "confdefs.h" |
4378 #include <sys/types.h> | 4383 #include <sys/types.h> |
4379 #include <$ac_cv_struct_tm> | 4384 #include <$ac_cv_struct_tm> |
4380 int main() { | 4385 int main() { |
4381 struct tm tm; tm.tm_zone; | 4386 struct tm tm; tm.tm_zone; |
4382 ; return 0; } | 4387 ; return 0; } |
4383 EOF | 4388 EOF |
4384 if { (eval echo configure:4385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4389 if { (eval echo configure:4390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4385 rm -rf conftest* | 4390 rm -rf conftest* |
4386 ac_cv_struct_tm_zone=yes | 4391 ac_cv_struct_tm_zone=yes |
4387 else | 4392 else |
4388 echo "configure: failed program was:" >&5 | 4393 echo "configure: failed program was:" >&5 |
4389 cat conftest.$ac_ext >&5 | 4394 cat conftest.$ac_ext >&5 |
4402 EOF | 4407 EOF |
4403 } | 4408 } |
4404 | 4409 |
4405 else | 4410 else |
4406 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4411 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4407 echo "configure:4408: checking for tzname" >&5 | 4412 echo "configure:4413: checking for tzname" >&5 |
4408 | 4413 |
4409 cat > conftest.$ac_ext <<EOF | 4414 cat > conftest.$ac_ext <<EOF |
4410 #line 4411 "configure" | 4415 #line 4416 "configure" |
4411 #include "confdefs.h" | 4416 #include "confdefs.h" |
4412 #include <time.h> | 4417 #include <time.h> |
4413 #ifndef tzname /* For SGI. */ | 4418 #ifndef tzname /* For SGI. */ |
4414 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4419 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4415 #endif | 4420 #endif |
4416 int main() { | 4421 int main() { |
4417 atoi(*tzname); | 4422 atoi(*tzname); |
4418 ; return 0; } | 4423 ; return 0; } |
4419 EOF | 4424 EOF |
4420 if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4425 if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4421 rm -rf conftest* | 4426 rm -rf conftest* |
4422 ac_cv_var_tzname=yes | 4427 ac_cv_var_tzname=yes |
4423 else | 4428 else |
4424 echo "configure: failed program was:" >&5 | 4429 echo "configure: failed program was:" >&5 |
4425 cat conftest.$ac_ext >&5 | 4430 cat conftest.$ac_ext >&5 |
4441 fi | 4446 fi |
4442 fi | 4447 fi |
4443 | 4448 |
4444 | 4449 |
4445 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4450 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4446 echo "configure:4447: checking for working const" >&5 | 4451 echo "configure:4452: checking for working const" >&5 |
4447 | 4452 |
4448 cat > conftest.$ac_ext <<EOF | 4453 cat > conftest.$ac_ext <<EOF |
4449 #line 4450 "configure" | 4454 #line 4455 "configure" |
4450 #include "confdefs.h" | 4455 #include "confdefs.h" |
4451 | 4456 |
4452 int main() { | 4457 int main() { |
4453 | 4458 |
4454 /* Ultrix mips cc rejects this. */ | 4459 /* Ultrix mips cc rejects this. */ |
4493 const int foo = 10; | 4498 const int foo = 10; |
4494 } | 4499 } |
4495 | 4500 |
4496 ; return 0; } | 4501 ; return 0; } |
4497 EOF | 4502 EOF |
4498 if { (eval echo configure:4499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4503 if { (eval echo configure:4504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4499 rm -rf conftest* | 4504 rm -rf conftest* |
4500 ac_cv_c_const=yes | 4505 ac_cv_c_const=yes |
4501 else | 4506 else |
4502 echo "configure: failed program was:" >&5 | 4507 echo "configure: failed program was:" >&5 |
4503 cat conftest.$ac_ext >&5 | 4508 cat conftest.$ac_ext >&5 |
4518 | 4523 |
4519 fi | 4524 fi |
4520 | 4525 |
4521 | 4526 |
4522 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4527 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4523 echo "configure:4524: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4528 echo "configure:4529: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4524 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4529 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4525 | 4530 |
4526 cat > conftestmake <<\EOF | 4531 cat > conftestmake <<\EOF |
4527 all: | 4532 all: |
4528 @echo 'ac_maketemp="${MAKE}"' | 4533 @echo 'ac_maketemp="${MAKE}"' |
4543 SET_MAKE="MAKE=${MAKE-make}" | 4548 SET_MAKE="MAKE=${MAKE-make}" |
4544 fi | 4549 fi |
4545 | 4550 |
4546 | 4551 |
4547 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4552 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4548 echo "configure:4549: checking whether byte ordering is bigendian" >&5 | 4553 echo "configure:4554: checking whether byte ordering is bigendian" >&5 |
4549 | 4554 |
4550 ac_cv_c_bigendian=unknown | 4555 ac_cv_c_bigendian=unknown |
4551 # See if sys/param.h defines the BYTE_ORDER macro. | 4556 # See if sys/param.h defines the BYTE_ORDER macro. |
4552 cat > conftest.$ac_ext <<EOF | 4557 cat > conftest.$ac_ext <<EOF |
4553 #line 4554 "configure" | 4558 #line 4559 "configure" |
4554 #include "confdefs.h" | 4559 #include "confdefs.h" |
4555 #include <sys/types.h> | 4560 #include <sys/types.h> |
4556 #include <sys/param.h> | 4561 #include <sys/param.h> |
4557 int main() { | 4562 int main() { |
4558 | 4563 |
4559 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4564 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4560 bogus endian macros | 4565 bogus endian macros |
4561 #endif | 4566 #endif |
4562 ; return 0; } | 4567 ; return 0; } |
4563 EOF | 4568 EOF |
4564 if { (eval echo configure:4565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4569 if { (eval echo configure:4570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4565 rm -rf conftest* | 4570 rm -rf conftest* |
4566 # It does; now see whether it defined to BIG_ENDIAN or not. | 4571 # It does; now see whether it defined to BIG_ENDIAN or not. |
4567 cat > conftest.$ac_ext <<EOF | 4572 cat > conftest.$ac_ext <<EOF |
4568 #line 4569 "configure" | 4573 #line 4574 "configure" |
4569 #include "confdefs.h" | 4574 #include "confdefs.h" |
4570 #include <sys/types.h> | 4575 #include <sys/types.h> |
4571 #include <sys/param.h> | 4576 #include <sys/param.h> |
4572 int main() { | 4577 int main() { |
4573 | 4578 |
4574 #if BYTE_ORDER != BIG_ENDIAN | 4579 #if BYTE_ORDER != BIG_ENDIAN |
4575 not big endian | 4580 not big endian |
4576 #endif | 4581 #endif |
4577 ; return 0; } | 4582 ; return 0; } |
4578 EOF | 4583 EOF |
4579 if { (eval echo configure:4580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4584 if { (eval echo configure:4585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4580 rm -rf conftest* | 4585 rm -rf conftest* |
4581 ac_cv_c_bigendian=yes | 4586 ac_cv_c_bigendian=yes |
4582 else | 4587 else |
4583 echo "configure: failed program was:" >&5 | 4588 echo "configure: failed program was:" >&5 |
4584 cat conftest.$ac_ext >&5 | 4589 cat conftest.$ac_ext >&5 |
4591 cat conftest.$ac_ext >&5 | 4596 cat conftest.$ac_ext >&5 |
4592 fi | 4597 fi |
4593 rm -f conftest* | 4598 rm -f conftest* |
4594 if test $ac_cv_c_bigendian = unknown; then | 4599 if test $ac_cv_c_bigendian = unknown; then |
4595 cat > conftest.$ac_ext <<EOF | 4600 cat > conftest.$ac_ext <<EOF |
4596 #line 4597 "configure" | 4601 #line 4602 "configure" |
4597 #include "confdefs.h" | 4602 #include "confdefs.h" |
4598 main () { | 4603 main () { |
4599 /* Are we little or big endian? From Harbison&Steele. */ | 4604 /* Are we little or big endian? From Harbison&Steele. */ |
4600 union | 4605 union |
4601 { | 4606 { |
4604 } u; | 4609 } u; |
4605 u.l = 1; | 4610 u.l = 1; |
4606 exit (u.c[sizeof (long) - 1] == 1); | 4611 exit (u.c[sizeof (long) - 1] == 1); |
4607 } | 4612 } |
4608 EOF | 4613 EOF |
4609 if { (eval echo configure:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4610 then | 4615 then |
4611 ac_cv_c_bigendian=no | 4616 ac_cv_c_bigendian=no |
4612 else | 4617 else |
4613 conftest_rc="$?" | 4618 conftest_rc="$?" |
4614 echo "configure: failed program was:" >&5 | 4619 echo "configure: failed program was:" >&5 |
4631 | 4636 |
4632 fi | 4637 fi |
4633 | 4638 |
4634 | 4639 |
4635 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4640 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4636 echo "configure:4637: checking size of short" >&5 | 4641 echo "configure:4642: checking size of short" >&5 |
4637 | 4642 |
4638 cat > conftest.$ac_ext <<EOF | 4643 cat > conftest.$ac_ext <<EOF |
4639 #line 4640 "configure" | 4644 #line 4645 "configure" |
4640 #include "confdefs.h" | 4645 #include "confdefs.h" |
4641 #include <stdio.h> | 4646 #include <stdio.h> |
4642 int main() | 4647 main() |
4643 { | 4648 { |
4644 FILE *f=fopen("conftestval", "w"); | 4649 FILE *f=fopen("conftestval", "w"); |
4645 if (!f) return(1); | 4650 if (!f) exit(1); |
4646 fprintf(f, "%d\n", sizeof(short)); | 4651 fprintf(f, "%d\n", sizeof(short)); |
4647 return(0); | 4652 exit(0); |
4648 } | 4653 } |
4649 EOF | 4654 EOF |
4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4651 then | 4656 then |
4652 ac_cv_sizeof_short=`cat conftestval` | 4657 ac_cv_sizeof_short=`cat conftestval` |
4653 else | 4658 else |
4654 conftest_rc="$?" | 4659 conftest_rc="$?" |
4655 echo "configure: failed program was:" >&5 | 4660 echo "configure: failed program was:" >&5 |
4673 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4678 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4674 echo "*** PANIC *** Please examine config.log for compilation errors." | 4679 echo "*** PANIC *** Please examine config.log for compilation errors." |
4675 exit 1 | 4680 exit 1 |
4676 fi | 4681 fi |
4677 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4682 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4678 echo "configure:4679: checking size of int" >&5 | 4683 echo "configure:4684: checking size of int" >&5 |
4679 | 4684 |
4680 cat > conftest.$ac_ext <<EOF | 4685 cat > conftest.$ac_ext <<EOF |
4681 #line 4682 "configure" | 4686 #line 4687 "configure" |
4682 #include "confdefs.h" | 4687 #include "confdefs.h" |
4683 #include <stdio.h> | 4688 #include <stdio.h> |
4684 int main() | 4689 main() |
4685 { | 4690 { |
4686 FILE *f=fopen("conftestval", "w"); | 4691 FILE *f=fopen("conftestval", "w"); |
4687 if (!f) return(1); | 4692 if (!f) exit(1); |
4688 fprintf(f, "%d\n", sizeof(int)); | 4693 fprintf(f, "%d\n", sizeof(int)); |
4689 return(0); | 4694 exit(0); |
4690 } | 4695 } |
4691 EOF | 4696 EOF |
4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4697 if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4693 then | 4698 then |
4694 ac_cv_sizeof_int=`cat conftestval` | 4699 ac_cv_sizeof_int=`cat conftestval` |
4695 else | 4700 else |
4696 conftest_rc="$?" | 4701 conftest_rc="$?" |
4697 echo "configure: failed program was:" >&5 | 4702 echo "configure: failed program was:" >&5 |
4709 EOF | 4714 EOF |
4710 } | 4715 } |
4711 | 4716 |
4712 | 4717 |
4713 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4718 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4714 echo "configure:4715: checking size of long" >&5 | 4719 echo "configure:4720: checking size of long" >&5 |
4715 | 4720 |
4716 cat > conftest.$ac_ext <<EOF | 4721 cat > conftest.$ac_ext <<EOF |
4717 #line 4718 "configure" | 4722 #line 4723 "configure" |
4718 #include "confdefs.h" | 4723 #include "confdefs.h" |
4719 #include <stdio.h> | 4724 #include <stdio.h> |
4720 int main() | 4725 main() |
4721 { | 4726 { |
4722 FILE *f=fopen("conftestval", "w"); | 4727 FILE *f=fopen("conftestval", "w"); |
4723 if (!f) return(1); | 4728 if (!f) exit(1); |
4724 fprintf(f, "%d\n", sizeof(long)); | 4729 fprintf(f, "%d\n", sizeof(long)); |
4725 return(0); | 4730 exit(0); |
4726 } | 4731 } |
4727 EOF | 4732 EOF |
4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4729 then | 4734 then |
4730 ac_cv_sizeof_long=`cat conftestval` | 4735 ac_cv_sizeof_long=`cat conftestval` |
4731 else | 4736 else |
4732 conftest_rc="$?" | 4737 conftest_rc="$?" |
4733 echo "configure: failed program was:" >&5 | 4738 echo "configure: failed program was:" >&5 |
4745 EOF | 4750 EOF |
4746 } | 4751 } |
4747 | 4752 |
4748 | 4753 |
4749 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4754 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4750 echo "configure:4751: checking size of long long" >&5 | 4755 echo "configure:4756: checking size of long long" >&5 |
4751 | 4756 |
4752 cat > conftest.$ac_ext <<EOF | 4757 cat > conftest.$ac_ext <<EOF |
4753 #line 4754 "configure" | 4758 #line 4759 "configure" |
4754 #include "confdefs.h" | 4759 #include "confdefs.h" |
4755 #include <stdio.h> | 4760 #include <stdio.h> |
4756 int main() | 4761 main() |
4757 { | 4762 { |
4758 FILE *f=fopen("conftestval", "w"); | 4763 FILE *f=fopen("conftestval", "w"); |
4759 if (!f) return(1); | 4764 if (!f) exit(1); |
4760 fprintf(f, "%d\n", sizeof(long long)); | 4765 fprintf(f, "%d\n", sizeof(long long)); |
4761 return(0); | 4766 exit(0); |
4762 } | 4767 } |
4763 EOF | 4768 EOF |
4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4765 then | 4770 then |
4766 ac_cv_sizeof_long_long=`cat conftestval` | 4771 ac_cv_sizeof_long_long=`cat conftestval` |
4767 else | 4772 else |
4768 conftest_rc="$?" | 4773 conftest_rc="$?" |
4769 echo "configure: failed program was:" >&5 | 4774 echo "configure: failed program was:" >&5 |
4781 EOF | 4786 EOF |
4782 } | 4787 } |
4783 | 4788 |
4784 | 4789 |
4785 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4790 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4786 echo "configure:4787: checking size of void *" >&5 | 4791 echo "configure:4792: checking size of void *" >&5 |
4787 | 4792 |
4788 cat > conftest.$ac_ext <<EOF | 4793 cat > conftest.$ac_ext <<EOF |
4789 #line 4790 "configure" | 4794 #line 4795 "configure" |
4790 #include "confdefs.h" | 4795 #include "confdefs.h" |
4791 #include <stdio.h> | 4796 #include <stdio.h> |
4792 int main() | 4797 main() |
4793 { | 4798 { |
4794 FILE *f=fopen("conftestval", "w"); | 4799 FILE *f=fopen("conftestval", "w"); |
4795 if (!f) return(1); | 4800 if (!f) exit(1); |
4796 fprintf(f, "%d\n", sizeof(void *)); | 4801 fprintf(f, "%d\n", sizeof(void *)); |
4797 return(0); | 4802 exit(0); |
4798 } | 4803 } |
4799 EOF | 4804 EOF |
4800 if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4801 then | 4806 then |
4802 ac_cv_sizeof_void_p=`cat conftestval` | 4807 ac_cv_sizeof_void_p=`cat conftestval` |
4803 else | 4808 else |
4804 conftest_rc="$?" | 4809 conftest_rc="$?" |
4805 echo "configure: failed program was:" >&5 | 4810 echo "configure: failed program was:" >&5 |
4818 } | 4823 } |
4819 | 4824 |
4820 | 4825 |
4821 | 4826 |
4822 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4827 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4823 echo "configure:4824: checking for long file names" >&5 | 4828 echo "configure:4829: checking for long file names" >&5 |
4824 | 4829 |
4825 ac_cv_sys_long_file_names=yes | 4830 ac_cv_sys_long_file_names=yes |
4826 # Test for long file names in all the places we know might matter: | 4831 # Test for long file names in all the places we know might matter: |
4827 # . the current directory, where building will happen | 4832 # . the current directory, where building will happen |
4828 # $prefix/lib where we will be installing things | 4833 # $prefix/lib where we will be installing things |
4864 | 4869 |
4865 fi | 4870 fi |
4866 | 4871 |
4867 | 4872 |
4868 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4873 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4869 echo "configure:4870: checking for sin" >&5 | 4874 echo "configure:4875: checking for sin" >&5 |
4870 | 4875 |
4871 cat > conftest.$ac_ext <<EOF | 4876 cat > conftest.$ac_ext <<EOF |
4872 #line 4873 "configure" | 4877 #line 4878 "configure" |
4873 #include "confdefs.h" | 4878 #include "confdefs.h" |
4874 /* System header to define __stub macros and hopefully few prototypes, | 4879 /* System header to define __stub macros and hopefully few prototypes, |
4875 which can conflict with char sin(); below. */ | 4880 which can conflict with char sin(); below. */ |
4876 #include <assert.h> | 4881 #include <assert.h> |
4877 /* Override any gcc2 internal prototype to avoid an error. */ | 4882 /* Override any gcc2 internal prototype to avoid an error. */ |
4890 sin(); | 4895 sin(); |
4891 #endif | 4896 #endif |
4892 | 4897 |
4893 ; return 0; } | 4898 ; return 0; } |
4894 EOF | 4899 EOF |
4895 if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4900 if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4896 rm -rf conftest* | 4901 rm -rf conftest* |
4897 eval "ac_cv_func_sin=yes" | 4902 eval "ac_cv_func_sin=yes" |
4898 else | 4903 else |
4899 echo "configure: failed program was:" >&5 | 4904 echo "configure: failed program was:" >&5 |
4900 cat conftest.$ac_ext >&5 | 4905 cat conftest.$ac_ext >&5 |
4908 : | 4913 : |
4909 else | 4914 else |
4910 echo "$ac_t""no" 1>&6 | 4915 echo "$ac_t""no" 1>&6 |
4911 | 4916 |
4912 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4917 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4913 echo "configure:4914: checking for sin in -lm" >&5 | 4918 echo "configure:4919: checking for sin in -lm" >&5 |
4914 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4919 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4915 | 4920 |
4916 xe_check_libs=" -lm " | 4921 xe_check_libs=" -lm " |
4917 cat > conftest.$ac_ext <<EOF | 4922 cat > conftest.$ac_ext <<EOF |
4918 #line 4919 "configure" | 4923 #line 4924 "configure" |
4919 #include "confdefs.h" | 4924 #include "confdefs.h" |
4920 /* Override any gcc2 internal prototype to avoid an error. */ | 4925 /* Override any gcc2 internal prototype to avoid an error. */ |
4921 /* We use char because int might match the return type of a gcc2 | 4926 /* We use char because int might match the return type of a gcc2 |
4922 builtin and then its argument prototype would still apply. */ | 4927 builtin and then its argument prototype would still apply. */ |
4923 char sin(); | 4928 char sin(); |
4924 | 4929 |
4925 int main() { | 4930 int main() { |
4926 sin() | 4931 sin() |
4927 ; return 0; } | 4932 ; return 0; } |
4928 EOF | 4933 EOF |
4929 if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4930 rm -rf conftest* | 4935 rm -rf conftest* |
4931 eval "ac_cv_lib_$ac_lib_var=yes" | 4936 eval "ac_cv_lib_$ac_lib_var=yes" |
4932 else | 4937 else |
4933 echo "configure: failed program was:" >&5 | 4938 echo "configure: failed program was:" >&5 |
4934 cat conftest.$ac_ext >&5 | 4939 cat conftest.$ac_ext >&5 |
4959 | 4964 |
4960 fi | 4965 fi |
4961 | 4966 |
4962 | 4967 |
4963 cat > conftest.$ac_ext <<EOF | 4968 cat > conftest.$ac_ext <<EOF |
4964 #line 4965 "configure" | 4969 #line 4970 "configure" |
4965 #include "confdefs.h" | 4970 #include "confdefs.h" |
4966 #include <math.h> | 4971 #include <math.h> |
4967 int main() { | 4972 int main() { |
4968 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4973 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4969 ; return 0; } | 4974 ; return 0; } |
4970 EOF | 4975 EOF |
4971 if { (eval echo configure:4972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4972 rm -rf conftest* | 4977 rm -rf conftest* |
4973 { test "$extra_verbose" = "yes" && cat << \EOF | 4978 { test "$extra_verbose" = "yes" && cat << \EOF |
4974 Defining HAVE_INVERSE_HYPERBOLIC | 4979 Defining HAVE_INVERSE_HYPERBOLIC |
4975 EOF | 4980 EOF |
4976 cat >> confdefs.h <<\EOF | 4981 cat >> confdefs.h <<\EOF |
4985 rm -f conftest* | 4990 rm -f conftest* |
4986 | 4991 |
4987 for ac_func in mkstemp | 4992 for ac_func in mkstemp |
4988 do | 4993 do |
4989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4990 echo "configure:4991: checking for $ac_func" >&5 | 4995 echo "configure:4996: checking for $ac_func" >&5 |
4991 | 4996 |
4992 cat > conftest.$ac_ext <<EOF | 4997 cat > conftest.$ac_ext <<EOF |
4993 #line 4994 "configure" | 4998 #line 4999 "configure" |
4994 #include "confdefs.h" | 4999 #include "confdefs.h" |
4995 /* System header to define __stub macros and hopefully few prototypes, | 5000 /* System header to define __stub macros and hopefully few prototypes, |
4996 which can conflict with char $ac_func(); below. */ | 5001 which can conflict with char $ac_func(); below. */ |
4997 #include <assert.h> | 5002 #include <assert.h> |
4998 /* Override any gcc2 internal prototype to avoid an error. */ | 5003 /* Override any gcc2 internal prototype to avoid an error. */ |
5011 $ac_func(); | 5016 $ac_func(); |
5012 #endif | 5017 #endif |
5013 | 5018 |
5014 ; return 0; } | 5019 ; return 0; } |
5015 EOF | 5020 EOF |
5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5021 if { (eval echo configure:5022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5017 rm -rf conftest* | 5022 rm -rf conftest* |
5018 eval "ac_cv_func_$ac_func=yes" | 5023 eval "ac_cv_func_$ac_func=yes" |
5019 else | 5024 else |
5020 echo "configure: failed program was:" >&5 | 5025 echo "configure: failed program was:" >&5 |
5021 cat conftest.$ac_ext >&5 | 5026 cat conftest.$ac_ext >&5 |
5040 fi | 5045 fi |
5041 done | 5046 done |
5042 | 5047 |
5043 | 5048 |
5044 echo "checking type of mail spool file locking" 1>&6 | 5049 echo "checking type of mail spool file locking" 1>&6 |
5045 echo "configure:5046: checking type of mail spool file locking" >&5 | 5050 echo "configure:5051: checking type of mail spool file locking" >&5 |
5046 for ac_func in lockf flock | 5051 for ac_func in lockf flock |
5047 do | 5052 do |
5048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5049 echo "configure:5050: checking for $ac_func" >&5 | 5054 echo "configure:5055: checking for $ac_func" >&5 |
5050 | 5055 |
5051 cat > conftest.$ac_ext <<EOF | 5056 cat > conftest.$ac_ext <<EOF |
5052 #line 5053 "configure" | 5057 #line 5058 "configure" |
5053 #include "confdefs.h" | 5058 #include "confdefs.h" |
5054 /* System header to define __stub macros and hopefully few prototypes, | 5059 /* System header to define __stub macros and hopefully few prototypes, |
5055 which can conflict with char $ac_func(); below. */ | 5060 which can conflict with char $ac_func(); below. */ |
5056 #include <assert.h> | 5061 #include <assert.h> |
5057 /* Override any gcc2 internal prototype to avoid an error. */ | 5062 /* Override any gcc2 internal prototype to avoid an error. */ |
5070 $ac_func(); | 5075 $ac_func(); |
5071 #endif | 5076 #endif |
5072 | 5077 |
5073 ; return 0; } | 5078 ; return 0; } |
5074 EOF | 5079 EOF |
5075 if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5080 if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5076 rm -rf conftest* | 5081 rm -rf conftest* |
5077 eval "ac_cv_func_$ac_func=yes" | 5082 eval "ac_cv_func_$ac_func=yes" |
5078 else | 5083 else |
5079 echo "configure: failed program was:" >&5 | 5084 echo "configure: failed program was:" >&5 |
5080 cat conftest.$ac_ext >&5 | 5085 cat conftest.$ac_ext >&5 |
5152 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5157 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5153 | 5158 |
5154 case "$opsys" in decosf*) | 5159 case "$opsys" in decosf*) |
5155 | 5160 |
5156 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5161 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5157 echo "configure:5158: checking for cma_open in -lpthreads" >&5 | 5162 echo "configure:5163: checking for cma_open in -lpthreads" >&5 |
5158 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5163 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5159 | 5164 |
5160 xe_check_libs=" -lpthreads " | 5165 xe_check_libs=" -lpthreads " |
5161 cat > conftest.$ac_ext <<EOF | 5166 cat > conftest.$ac_ext <<EOF |
5162 #line 5163 "configure" | 5167 #line 5168 "configure" |
5163 #include "confdefs.h" | 5168 #include "confdefs.h" |
5164 /* Override any gcc2 internal prototype to avoid an error. */ | 5169 /* Override any gcc2 internal prototype to avoid an error. */ |
5165 /* We use char because int might match the return type of a gcc2 | 5170 /* We use char because int might match the return type of a gcc2 |
5166 builtin and then its argument prototype would still apply. */ | 5171 builtin and then its argument prototype would still apply. */ |
5167 char cma_open(); | 5172 char cma_open(); |
5168 | 5173 |
5169 int main() { | 5174 int main() { |
5170 cma_open() | 5175 cma_open() |
5171 ; return 0; } | 5176 ; return 0; } |
5172 EOF | 5177 EOF |
5173 if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5178 if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5174 rm -rf conftest* | 5179 rm -rf conftest* |
5175 eval "ac_cv_lib_$ac_lib_var=yes" | 5180 eval "ac_cv_lib_$ac_lib_var=yes" |
5176 else | 5181 else |
5177 echo "configure: failed program was:" >&5 | 5182 echo "configure: failed program was:" >&5 |
5178 cat conftest.$ac_ext >&5 | 5183 cat conftest.$ac_ext >&5 |
5205 c_switch_site="$c_switch_site -threads" ;; | 5210 c_switch_site="$c_switch_site -threads" ;; |
5206 esac | 5211 esac |
5207 | 5212 |
5208 | 5213 |
5209 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5214 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5210 echo "configure:5211: checking whether the -xildoff compiler flag is required" >&5 | 5215 echo "configure:5216: checking whether the -xildoff compiler flag is required" >&5 |
5211 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5216 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5212 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5217 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5213 then echo "$ac_t""no" 1>&6; | 5218 then echo "$ac_t""no" 1>&6; |
5214 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 | 5219 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 |
5215 fi | 5220 fi |
5216 else echo "$ac_t""no" 1>&6 | 5221 else echo "$ac_t""no" 1>&6 |
5217 fi | 5222 fi |
5218 | 5223 |
5219 if test "$opsys" = "sol2"; then | 5224 if test "$opsys" = "sol2"; then |
5220 if test "$os_release" -ge 56; then | 5225 if test "$os_release" -ge 506; then |
5221 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5226 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5222 echo "configure:5223: checking for \"-z ignore\" linker flag" >&5 | 5227 echo "configure:5228: checking for \"-z ignore\" linker flag" >&5 |
5223 case "`ld -h 2>&1`" in | 5228 case "`ld -h 2>&1`" in |
5224 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5229 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5225 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5230 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5226 *) echo "$ac_t""no" 1>&6 ;; | 5231 *) echo "$ac_t""no" 1>&6 ;; |
5227 esac | 5232 esac |
5228 fi | 5233 fi |
5229 fi | 5234 fi |
5230 | 5235 |
5231 | 5236 |
5232 echo "checking "for specified window system"" 1>&6 | 5237 echo "checking "for specified window system"" 1>&6 |
5233 echo "configure:5234: checking "for specified window system"" >&5 | 5238 echo "configure:5239: checking "for specified window system"" >&5 |
5234 | 5239 |
5235 | 5240 |
5236 GNOME_CONFIG=no | 5241 GNOME_CONFIG=no |
5237 GTK_CONFIG=no | 5242 GTK_CONFIG=no |
5238 | 5243 |
5239 if test "$with_gnome" != "no"; then | 5244 if test "$with_gnome" != "no"; then |
5240 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5245 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5241 echo "configure:5242: checking for GNOME configuration script" >&5 | 5246 echo "configure:5247: checking for GNOME configuration script" >&5 |
5242 for possible in gnome-config | 5247 for possible in gnome-config |
5243 do | 5248 do |
5244 possible_version=`${possible} --version 2> /dev/null` | 5249 possible_version=`${possible} --version 2> /dev/null` |
5245 if test "x${possible_version}" != "x"; then | 5250 if test "x${possible_version}" != "x"; then |
5246 GNOME_CONFIG="${possible}" | 5251 GNOME_CONFIG="${possible}" |
5267 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5272 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5268 fi | 5273 fi |
5269 | 5274 |
5270 if test "$with_gtk" != "no";then | 5275 if test "$with_gtk" != "no";then |
5271 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5276 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5272 echo "configure:5273: checking for GTK configuration script" >&5 | 5277 echo "configure:5278: checking for GTK configuration script" >&5 |
5273 for possible in gtk12-config gtk14-config gtk-config | 5278 for possible in gtk12-config gtk14-config gtk-config |
5274 do | 5279 do |
5275 possible_version=`${possible} --version 2> /dev/null` | 5280 possible_version=`${possible} --version 2> /dev/null` |
5276 if test "x${possible_version}" != "x"; then | 5281 if test "x${possible_version}" != "x"; then |
5277 GTK_CONFIG="${possible}" | 5282 GTK_CONFIG="${possible}" |
5289 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5294 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5290 fi | 5295 fi |
5291 | 5296 |
5292 if test "${GTK_CONFIG}" != "no"; then | 5297 if test "${GTK_CONFIG}" != "no"; then |
5293 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5298 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5294 echo "configure:5295: checking gtk version" >&5 | 5299 echo "configure:5300: checking gtk version" >&5 |
5295 GTK_VERSION=`${GTK_CONFIG} --version` | 5300 GTK_VERSION=`${GTK_CONFIG} --version` |
5296 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5301 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5297 | 5302 |
5298 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5303 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5299 echo "configure:5300: checking gtk libs" >&5 | 5304 echo "configure:5305: checking gtk libs" >&5 |
5300 GTK_LIBS=`${GTK_CONFIG} --libs` | 5305 GTK_LIBS=`${GTK_CONFIG} --libs` |
5301 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5306 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5302 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5307 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5303 | 5308 |
5304 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5309 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5305 echo "configure:5306: checking gtk cflags" >&5 | 5310 echo "configure:5311: checking gtk cflags" >&5 |
5306 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5311 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5307 if test "$GCC" = "yes"; then | 5312 if test "$GCC" = "yes"; then |
5308 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5313 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5309 fi | 5314 fi |
5310 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5315 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5311 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5316 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5312 | 5317 |
5313 | 5318 |
5314 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5319 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5315 echo "configure:5316: checking for main in -lgdk_imlib" >&5 | 5320 echo "configure:5321: checking for main in -lgdk_imlib" >&5 |
5316 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5321 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5317 | 5322 |
5318 xe_check_libs=" -lgdk_imlib " | 5323 xe_check_libs=" -lgdk_imlib " |
5319 cat > conftest.$ac_ext <<EOF | 5324 cat > conftest.$ac_ext <<EOF |
5320 #line 5321 "configure" | 5325 #line 5326 "configure" |
5321 #include "confdefs.h" | 5326 #include "confdefs.h" |
5322 | 5327 |
5323 int main() { | 5328 int main() { |
5324 main() | 5329 main() |
5325 ; return 0; } | 5330 ; return 0; } |
5326 EOF | 5331 EOF |
5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5332 if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5328 rm -rf conftest* | 5333 rm -rf conftest* |
5329 eval "ac_cv_lib_$ac_lib_var=yes" | 5334 eval "ac_cv_lib_$ac_lib_var=yes" |
5330 else | 5335 else |
5331 echo "configure: failed program was:" >&5 | 5336 echo "configure: failed program was:" >&5 |
5332 cat conftest.$ac_ext >&5 | 5337 cat conftest.$ac_ext >&5 |
5344 fi | 5349 fi |
5345 | 5350 |
5346 | 5351 |
5347 | 5352 |
5348 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5353 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5349 echo "configure:5350: checking for Imlib_init in -lImlib" >&5 | 5354 echo "configure:5355: checking for Imlib_init in -lImlib" >&5 |
5350 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5355 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5351 | 5356 |
5352 xe_check_libs=" -lImlib " | 5357 xe_check_libs=" -lImlib " |
5353 cat > conftest.$ac_ext <<EOF | 5358 cat > conftest.$ac_ext <<EOF |
5354 #line 5355 "configure" | 5359 #line 5360 "configure" |
5355 #include "confdefs.h" | 5360 #include "confdefs.h" |
5356 /* Override any gcc2 internal prototype to avoid an error. */ | 5361 /* Override any gcc2 internal prototype to avoid an error. */ |
5357 /* We use char because int might match the return type of a gcc2 | 5362 /* We use char because int might match the return type of a gcc2 |
5358 builtin and then its argument prototype would still apply. */ | 5363 builtin and then its argument prototype would still apply. */ |
5359 char Imlib_init(); | 5364 char Imlib_init(); |
5360 | 5365 |
5361 int main() { | 5366 int main() { |
5362 Imlib_init() | 5367 Imlib_init() |
5363 ; return 0; } | 5368 ; return 0; } |
5364 EOF | 5369 EOF |
5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5370 if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5366 rm -rf conftest* | 5371 rm -rf conftest* |
5367 eval "ac_cv_lib_$ac_lib_var=yes" | 5372 eval "ac_cv_lib_$ac_lib_var=yes" |
5368 else | 5373 else |
5369 echo "configure: failed program was:" >&5 | 5374 echo "configure: failed program was:" >&5 |
5370 cat conftest.$ac_ext >&5 | 5375 cat conftest.$ac_ext >&5 |
5383 | 5388 |
5384 | 5389 |
5385 for ac_func in gdk_imlib_init | 5390 for ac_func in gdk_imlib_init |
5386 do | 5391 do |
5387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5388 echo "configure:5389: checking for $ac_func" >&5 | 5393 echo "configure:5394: checking for $ac_func" >&5 |
5389 | 5394 |
5390 cat > conftest.$ac_ext <<EOF | 5395 cat > conftest.$ac_ext <<EOF |
5391 #line 5392 "configure" | 5396 #line 5397 "configure" |
5392 #include "confdefs.h" | 5397 #include "confdefs.h" |
5393 /* System header to define __stub macros and hopefully few prototypes, | 5398 /* System header to define __stub macros and hopefully few prototypes, |
5394 which can conflict with char $ac_func(); below. */ | 5399 which can conflict with char $ac_func(); below. */ |
5395 #include <assert.h> | 5400 #include <assert.h> |
5396 /* Override any gcc2 internal prototype to avoid an error. */ | 5401 /* Override any gcc2 internal prototype to avoid an error. */ |
5409 $ac_func(); | 5414 $ac_func(); |
5410 #endif | 5415 #endif |
5411 | 5416 |
5412 ; return 0; } | 5417 ; return 0; } |
5413 EOF | 5418 EOF |
5414 if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5415 rm -rf conftest* | 5420 rm -rf conftest* |
5416 eval "ac_cv_func_$ac_func=yes" | 5421 eval "ac_cv_func_$ac_func=yes" |
5417 else | 5422 else |
5418 echo "configure: failed program was:" >&5 | 5423 echo "configure: failed program was:" >&5 |
5419 cat conftest.$ac_ext >&5 | 5424 cat conftest.$ac_ext >&5 |
5475 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5480 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5476 for ac_hdr in glade/glade.h glade.h | 5481 for ac_hdr in glade/glade.h glade.h |
5477 do | 5482 do |
5478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5480 echo "configure:5481: checking for $ac_hdr" >&5 | 5485 echo "configure:5486: checking for $ac_hdr" >&5 |
5481 | 5486 |
5482 cat > conftest.$ac_ext <<EOF | 5487 cat > conftest.$ac_ext <<EOF |
5483 #line 5484 "configure" | 5488 #line 5489 "configure" |
5484 #include "confdefs.h" | 5489 #include "confdefs.h" |
5485 #include <$ac_hdr> | 5490 #include <$ac_hdr> |
5486 EOF | 5491 EOF |
5487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5488 { (eval echo configure:5489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5493 { (eval echo configure:5494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5490 if test -z "$ac_err"; then | 5495 if test -z "$ac_err"; then |
5491 rm -rf conftest* | 5496 rm -rf conftest* |
5492 eval "ac_cv_header_$ac_safe=yes" | 5497 eval "ac_cv_header_$ac_safe=yes" |
5493 else | 5498 else |
5514 fi | 5519 fi |
5515 done | 5520 done |
5516 | 5521 |
5517 | 5522 |
5518 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5523 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5519 echo "configure:5520: checking for main in -lxml" >&5 | 5524 echo "configure:5525: checking for main in -lxml" >&5 |
5520 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5525 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5521 | 5526 |
5522 xe_check_libs=" -lxml " | 5527 xe_check_libs=" -lxml " |
5523 cat > conftest.$ac_ext <<EOF | 5528 cat > conftest.$ac_ext <<EOF |
5524 #line 5525 "configure" | 5529 #line 5530 "configure" |
5525 #include "confdefs.h" | 5530 #include "confdefs.h" |
5526 | 5531 |
5527 int main() { | 5532 int main() { |
5528 main() | 5533 main() |
5529 ; return 0; } | 5534 ; return 0; } |
5530 EOF | 5535 EOF |
5531 if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5536 if { (eval echo configure:5537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5532 rm -rf conftest* | 5537 rm -rf conftest* |
5533 eval "ac_cv_lib_$ac_lib_var=yes" | 5538 eval "ac_cv_lib_$ac_lib_var=yes" |
5534 else | 5539 else |
5535 echo "configure: failed program was:" >&5 | 5540 echo "configure: failed program was:" >&5 |
5536 cat conftest.$ac_ext >&5 | 5541 cat conftest.$ac_ext >&5 |
5548 fi | 5553 fi |
5549 | 5554 |
5550 | 5555 |
5551 | 5556 |
5552 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5557 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5553 echo "configure:5554: checking for main in -lglade" >&5 | 5558 echo "configure:5559: checking for main in -lglade" >&5 |
5554 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5559 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5555 | 5560 |
5556 xe_check_libs=" -lglade " | 5561 xe_check_libs=" -lglade " |
5557 cat > conftest.$ac_ext <<EOF | 5562 cat > conftest.$ac_ext <<EOF |
5558 #line 5559 "configure" | 5563 #line 5564 "configure" |
5559 #include "confdefs.h" | 5564 #include "confdefs.h" |
5560 | 5565 |
5561 int main() { | 5566 int main() { |
5562 main() | 5567 main() |
5563 ; return 0; } | 5568 ; return 0; } |
5564 EOF | 5569 EOF |
5565 if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5570 if { (eval echo configure:5571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5566 rm -rf conftest* | 5571 rm -rf conftest* |
5567 eval "ac_cv_lib_$ac_lib_var=yes" | 5572 eval "ac_cv_lib_$ac_lib_var=yes" |
5568 else | 5573 else |
5569 echo "configure: failed program was:" >&5 | 5574 echo "configure: failed program was:" >&5 |
5570 cat conftest.$ac_ext >&5 | 5575 cat conftest.$ac_ext >&5 |
5582 fi | 5587 fi |
5583 | 5588 |
5584 | 5589 |
5585 | 5590 |
5586 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5591 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5587 echo "configure:5588: checking for main in -lglade-gnome" >&5 | 5592 echo "configure:5593: checking for main in -lglade-gnome" >&5 |
5588 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5593 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5589 | 5594 |
5590 xe_check_libs=" -lglade-gnome " | 5595 xe_check_libs=" -lglade-gnome " |
5591 cat > conftest.$ac_ext <<EOF | 5596 cat > conftest.$ac_ext <<EOF |
5592 #line 5593 "configure" | 5597 #line 5598 "configure" |
5593 #include "confdefs.h" | 5598 #include "confdefs.h" |
5594 | 5599 |
5595 int main() { | 5600 int main() { |
5596 main() | 5601 main() |
5597 ; return 0; } | 5602 ; return 0; } |
5598 EOF | 5603 EOF |
5599 if { (eval echo configure:5600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5604 if { (eval echo configure:5605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5600 rm -rf conftest* | 5605 rm -rf conftest* |
5601 eval "ac_cv_lib_$ac_lib_var=yes" | 5606 eval "ac_cv_lib_$ac_lib_var=yes" |
5602 else | 5607 else |
5603 echo "configure: failed program was:" >&5 | 5608 echo "configure: failed program was:" >&5 |
5604 cat conftest.$ac_ext >&5 | 5609 cat conftest.$ac_ext >&5 |
5615 echo "$ac_t""no" 1>&6 | 5620 echo "$ac_t""no" 1>&6 |
5616 fi | 5621 fi |
5617 | 5622 |
5618 | 5623 |
5619 cat > conftest.$ac_ext <<EOF | 5624 cat > conftest.$ac_ext <<EOF |
5620 #line 5621 "configure" | 5625 #line 5626 "configure" |
5621 #include "confdefs.h" | 5626 #include "confdefs.h" |
5622 #include <glade/glade-xml.h> | 5627 #include <glade/glade-xml.h> |
5623 EOF | 5628 EOF |
5624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5625 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5630 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5674 # If we find X, set shell vars x_includes and x_libraries to the | 5679 # If we find X, set shell vars x_includes and x_libraries to the |
5675 # paths, otherwise set no_x=yes. | 5680 # paths, otherwise set no_x=yes. |
5676 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5681 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5677 # --without-x overrides everything else, but does not touch the cache. | 5682 # --without-x overrides everything else, but does not touch the cache. |
5678 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5683 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5679 echo "configure:5680: checking for X" >&5 | 5684 echo "configure:5685: checking for X" >&5 |
5680 | 5685 |
5681 # Check whether --with-x or --without-x was given. | 5686 # Check whether --with-x or --without-x was given. |
5682 if test "${with_x+set}" = set; then | 5687 if test "${with_x+set}" = set; then |
5683 withval="$with_x" | 5688 withval="$with_x" |
5684 : | 5689 : |
5734 # Guess where to find include files, by looking for this one X11 .h file. | 5739 # Guess where to find include files, by looking for this one X11 .h file. |
5735 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5740 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5736 | 5741 |
5737 # First, try using that file with no special directory specified. | 5742 # First, try using that file with no special directory specified. |
5738 cat > conftest.$ac_ext <<EOF | 5743 cat > conftest.$ac_ext <<EOF |
5739 #line 5740 "configure" | 5744 #line 5745 "configure" |
5740 #include "confdefs.h" | 5745 #include "confdefs.h" |
5741 #include <$x_direct_test_include> | 5746 #include <$x_direct_test_include> |
5742 EOF | 5747 EOF |
5743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5744 { (eval echo configure:5745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5749 { (eval echo configure:5750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5746 if test -z "$ac_err"; then | 5751 if test -z "$ac_err"; then |
5747 rm -rf conftest* | 5752 rm -rf conftest* |
5748 # We can compile using X headers with no special include directory. | 5753 # We can compile using X headers with no special include directory. |
5749 ac_x_includes= | 5754 ac_x_includes= |
5808 # See if we find them without any special options. | 5813 # See if we find them without any special options. |
5809 # Don't add to $LIBS permanently. | 5814 # Don't add to $LIBS permanently. |
5810 ac_save_LIBS="$LIBS" | 5815 ac_save_LIBS="$LIBS" |
5811 LIBS="-l$x_direct_test_library $LIBS" | 5816 LIBS="-l$x_direct_test_library $LIBS" |
5812 cat > conftest.$ac_ext <<EOF | 5817 cat > conftest.$ac_ext <<EOF |
5813 #line 5814 "configure" | 5818 #line 5819 "configure" |
5814 #include "confdefs.h" | 5819 #include "confdefs.h" |
5815 | 5820 |
5816 int main() { | 5821 int main() { |
5817 ${x_direct_test_function}() | 5822 ${x_direct_test_function}() |
5818 ; return 0; } | 5823 ; return 0; } |
5819 EOF | 5824 EOF |
5820 if { (eval echo configure:5821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5821 rm -rf conftest* | 5826 rm -rf conftest* |
5822 LIBS="$ac_save_LIBS" | 5827 LIBS="$ac_save_LIBS" |
5823 # We can link X programs with no special library path. | 5828 # We can link X programs with no special library path. |
5824 ac_x_libraries= | 5829 ac_x_libraries= |
5825 else | 5830 else |
5924 # For Solaris; some versions of Sun CC require a space after -R and | 5929 # For Solaris; some versions of Sun CC require a space after -R and |
5925 # others require no space. Words are not sufficient . . . . | 5930 # others require no space. Words are not sufficient . . . . |
5926 case "`(uname -sr) 2>/dev/null`" in | 5931 case "`(uname -sr) 2>/dev/null`" in |
5927 "SunOS 5"*) | 5932 "SunOS 5"*) |
5928 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5933 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5929 echo "configure:5930: checking whether -R must be followed by a space" >&5 | 5934 echo "configure:5935: checking whether -R must be followed by a space" >&5 |
5930 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5935 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5931 cat > conftest.$ac_ext <<EOF | 5936 cat > conftest.$ac_ext <<EOF |
5932 #line 5933 "configure" | 5937 #line 5938 "configure" |
5933 #include "confdefs.h" | 5938 #include "confdefs.h" |
5934 | 5939 |
5935 int main() { | 5940 int main() { |
5936 | 5941 |
5937 ; return 0; } | 5942 ; return 0; } |
5938 EOF | 5943 EOF |
5939 if { (eval echo configure:5940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5944 if { (eval echo configure:5945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5940 rm -rf conftest* | 5945 rm -rf conftest* |
5941 ac_R_nospace=yes | 5946 ac_R_nospace=yes |
5942 else | 5947 else |
5943 echo "configure: failed program was:" >&5 | 5948 echo "configure: failed program was:" >&5 |
5944 cat conftest.$ac_ext >&5 | 5949 cat conftest.$ac_ext >&5 |
5950 echo "$ac_t""no" 1>&6 | 5955 echo "$ac_t""no" 1>&6 |
5951 X_LIBS="$X_LIBS -R$x_libraries" | 5956 X_LIBS="$X_LIBS -R$x_libraries" |
5952 else | 5957 else |
5953 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5958 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5954 cat > conftest.$ac_ext <<EOF | 5959 cat > conftest.$ac_ext <<EOF |
5955 #line 5956 "configure" | 5960 #line 5961 "configure" |
5956 #include "confdefs.h" | 5961 #include "confdefs.h" |
5957 | 5962 |
5958 int main() { | 5963 int main() { |
5959 | 5964 |
5960 ; return 0; } | 5965 ; return 0; } |
5961 EOF | 5966 EOF |
5962 if { (eval echo configure:5963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5967 if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5963 rm -rf conftest* | 5968 rm -rf conftest* |
5964 ac_R_space=yes | 5969 ac_R_space=yes |
5965 else | 5970 else |
5966 echo "configure: failed program was:" >&5 | 5971 echo "configure: failed program was:" >&5 |
5967 cat conftest.$ac_ext >&5 | 5972 cat conftest.$ac_ext >&5 |
5993 if test "$with_dnet" = "no" ; then | 5998 if test "$with_dnet" = "no" ; then |
5994 ac_cv_lib_dnet_dnet_ntoa=no | 5999 ac_cv_lib_dnet_dnet_ntoa=no |
5995 else | 6000 else |
5996 | 6001 |
5997 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6002 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5998 echo "configure:5999: checking for dnet_ntoa in -ldnet" >&5 | 6003 echo "configure:6004: checking for dnet_ntoa in -ldnet" >&5 |
5999 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6004 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6000 | 6005 |
6001 xe_check_libs=" -ldnet " | 6006 xe_check_libs=" -ldnet " |
6002 cat > conftest.$ac_ext <<EOF | 6007 cat > conftest.$ac_ext <<EOF |
6003 #line 6004 "configure" | 6008 #line 6009 "configure" |
6004 #include "confdefs.h" | 6009 #include "confdefs.h" |
6005 /* Override any gcc2 internal prototype to avoid an error. */ | 6010 /* Override any gcc2 internal prototype to avoid an error. */ |
6006 /* We use char because int might match the return type of a gcc2 | 6011 /* We use char because int might match the return type of a gcc2 |
6007 builtin and then its argument prototype would still apply. */ | 6012 builtin and then its argument prototype would still apply. */ |
6008 char dnet_ntoa(); | 6013 char dnet_ntoa(); |
6009 | 6014 |
6010 int main() { | 6015 int main() { |
6011 dnet_ntoa() | 6016 dnet_ntoa() |
6012 ; return 0; } | 6017 ; return 0; } |
6013 EOF | 6018 EOF |
6014 if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6019 if { (eval echo configure:6020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6015 rm -rf conftest* | 6020 rm -rf conftest* |
6016 eval "ac_cv_lib_$ac_lib_var=yes" | 6021 eval "ac_cv_lib_$ac_lib_var=yes" |
6017 else | 6022 else |
6018 echo "configure: failed program was:" >&5 | 6023 echo "configure: failed program was:" >&5 |
6019 cat conftest.$ac_ext >&5 | 6024 cat conftest.$ac_ext >&5 |
6033 fi | 6038 fi |
6034 | 6039 |
6035 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6040 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6036 | 6041 |
6037 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6042 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6038 echo "configure:6039: checking for dnet_ntoa in -ldnet_stub" >&5 | 6043 echo "configure:6044: checking for dnet_ntoa in -ldnet_stub" >&5 |
6039 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6044 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6040 | 6045 |
6041 xe_check_libs=" -ldnet_stub " | 6046 xe_check_libs=" -ldnet_stub " |
6042 cat > conftest.$ac_ext <<EOF | 6047 cat > conftest.$ac_ext <<EOF |
6043 #line 6044 "configure" | 6048 #line 6049 "configure" |
6044 #include "confdefs.h" | 6049 #include "confdefs.h" |
6045 /* Override any gcc2 internal prototype to avoid an error. */ | 6050 /* Override any gcc2 internal prototype to avoid an error. */ |
6046 /* We use char because int might match the return type of a gcc2 | 6051 /* We use char because int might match the return type of a gcc2 |
6047 builtin and then its argument prototype would still apply. */ | 6052 builtin and then its argument prototype would still apply. */ |
6048 char dnet_ntoa(); | 6053 char dnet_ntoa(); |
6049 | 6054 |
6050 int main() { | 6055 int main() { |
6051 dnet_ntoa() | 6056 dnet_ntoa() |
6052 ; return 0; } | 6057 ; return 0; } |
6053 EOF | 6058 EOF |
6054 if { (eval echo configure:6055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6059 if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6055 rm -rf conftest* | 6060 rm -rf conftest* |
6056 eval "ac_cv_lib_$ac_lib_var=yes" | 6061 eval "ac_cv_lib_$ac_lib_var=yes" |
6057 else | 6062 else |
6058 echo "configure: failed program was:" >&5 | 6063 echo "configure: failed program was:" >&5 |
6059 cat conftest.$ac_ext >&5 | 6064 cat conftest.$ac_ext >&5 |
6078 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6083 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6079 # needs -lnsl. | 6084 # needs -lnsl. |
6080 # The nsl library prevents programs from opening the X display | 6085 # The nsl library prevents programs from opening the X display |
6081 # on Irix 5.2, according to dickey@clark.net. | 6086 # on Irix 5.2, according to dickey@clark.net. |
6082 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6087 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6083 echo "configure:6084: checking for gethostbyname" >&5 | 6088 echo "configure:6089: checking for gethostbyname" >&5 |
6084 | 6089 |
6085 cat > conftest.$ac_ext <<EOF | 6090 cat > conftest.$ac_ext <<EOF |
6086 #line 6087 "configure" | 6091 #line 6092 "configure" |
6087 #include "confdefs.h" | 6092 #include "confdefs.h" |
6088 /* System header to define __stub macros and hopefully few prototypes, | 6093 /* System header to define __stub macros and hopefully few prototypes, |
6089 which can conflict with char gethostbyname(); below. */ | 6094 which can conflict with char gethostbyname(); below. */ |
6090 #include <assert.h> | 6095 #include <assert.h> |
6091 /* Override any gcc2 internal prototype to avoid an error. */ | 6096 /* Override any gcc2 internal prototype to avoid an error. */ |
6104 gethostbyname(); | 6109 gethostbyname(); |
6105 #endif | 6110 #endif |
6106 | 6111 |
6107 ; return 0; } | 6112 ; return 0; } |
6108 EOF | 6113 EOF |
6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6114 if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6110 rm -rf conftest* | 6115 rm -rf conftest* |
6111 eval "ac_cv_func_gethostbyname=yes" | 6116 eval "ac_cv_func_gethostbyname=yes" |
6112 else | 6117 else |
6113 echo "configure: failed program was:" >&5 | 6118 echo "configure: failed program was:" >&5 |
6114 cat conftest.$ac_ext >&5 | 6119 cat conftest.$ac_ext >&5 |
6125 fi | 6130 fi |
6126 | 6131 |
6127 if test $ac_cv_func_gethostbyname = no; then | 6132 if test $ac_cv_func_gethostbyname = no; then |
6128 | 6133 |
6129 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6134 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6130 echo "configure:6131: checking for gethostbyname in -lnsl" >&5 | 6135 echo "configure:6136: checking for gethostbyname in -lnsl" >&5 |
6131 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6136 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6132 | 6137 |
6133 xe_check_libs=" -lnsl " | 6138 xe_check_libs=" -lnsl " |
6134 cat > conftest.$ac_ext <<EOF | 6139 cat > conftest.$ac_ext <<EOF |
6135 #line 6136 "configure" | 6140 #line 6141 "configure" |
6136 #include "confdefs.h" | 6141 #include "confdefs.h" |
6137 /* Override any gcc2 internal prototype to avoid an error. */ | 6142 /* Override any gcc2 internal prototype to avoid an error. */ |
6138 /* We use char because int might match the return type of a gcc2 | 6143 /* We use char because int might match the return type of a gcc2 |
6139 builtin and then its argument prototype would still apply. */ | 6144 builtin and then its argument prototype would still apply. */ |
6140 char gethostbyname(); | 6145 char gethostbyname(); |
6141 | 6146 |
6142 int main() { | 6147 int main() { |
6143 gethostbyname() | 6148 gethostbyname() |
6144 ; return 0; } | 6149 ; return 0; } |
6145 EOF | 6150 EOF |
6146 if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6151 if { (eval echo configure:6152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6147 rm -rf conftest* | 6152 rm -rf conftest* |
6148 eval "ac_cv_lib_$ac_lib_var=yes" | 6153 eval "ac_cv_lib_$ac_lib_var=yes" |
6149 else | 6154 else |
6150 echo "configure: failed program was:" >&5 | 6155 echo "configure: failed program was:" >&5 |
6151 cat conftest.$ac_ext >&5 | 6156 cat conftest.$ac_ext >&5 |
6171 # on later versions), says simon@lia.di.epfl.ch: it contains | 6176 # on later versions), says simon@lia.di.epfl.ch: it contains |
6172 # gethostby* variants that don't use the nameserver (or something). | 6177 # gethostby* variants that don't use the nameserver (or something). |
6173 # -lsocket must be given before -lnsl if both are needed. | 6178 # -lsocket must be given before -lnsl if both are needed. |
6174 # We assume that if connect needs -lnsl, so does gethostbyname. | 6179 # We assume that if connect needs -lnsl, so does gethostbyname. |
6175 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6180 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6176 echo "configure:6177: checking for connect" >&5 | 6181 echo "configure:6182: checking for connect" >&5 |
6177 | 6182 |
6178 cat > conftest.$ac_ext <<EOF | 6183 cat > conftest.$ac_ext <<EOF |
6179 #line 6180 "configure" | 6184 #line 6185 "configure" |
6180 #include "confdefs.h" | 6185 #include "confdefs.h" |
6181 /* System header to define __stub macros and hopefully few prototypes, | 6186 /* System header to define __stub macros and hopefully few prototypes, |
6182 which can conflict with char connect(); below. */ | 6187 which can conflict with char connect(); below. */ |
6183 #include <assert.h> | 6188 #include <assert.h> |
6184 /* Override any gcc2 internal prototype to avoid an error. */ | 6189 /* Override any gcc2 internal prototype to avoid an error. */ |
6197 connect(); | 6202 connect(); |
6198 #endif | 6203 #endif |
6199 | 6204 |
6200 ; return 0; } | 6205 ; return 0; } |
6201 EOF | 6206 EOF |
6202 if { (eval echo configure:6203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6207 if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6203 rm -rf conftest* | 6208 rm -rf conftest* |
6204 eval "ac_cv_func_connect=yes" | 6209 eval "ac_cv_func_connect=yes" |
6205 else | 6210 else |
6206 echo "configure: failed program was:" >&5 | 6211 echo "configure: failed program was:" >&5 |
6207 cat conftest.$ac_ext >&5 | 6212 cat conftest.$ac_ext >&5 |
6220 if test $ac_cv_func_connect = no; then | 6225 if test $ac_cv_func_connect = no; then |
6221 | 6226 |
6222 xe_msg_checking="for connect in -lsocket" | 6227 xe_msg_checking="for connect in -lsocket" |
6223 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6228 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6224 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6229 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6225 echo "configure:6226: checking "$xe_msg_checking"" >&5 | 6230 echo "configure:6231: checking "$xe_msg_checking"" >&5 |
6226 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6231 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6227 | 6232 |
6228 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6233 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6229 cat > conftest.$ac_ext <<EOF | 6234 cat > conftest.$ac_ext <<EOF |
6230 #line 6231 "configure" | 6235 #line 6236 "configure" |
6231 #include "confdefs.h" | 6236 #include "confdefs.h" |
6232 /* Override any gcc2 internal prototype to avoid an error. */ | 6237 /* Override any gcc2 internal prototype to avoid an error. */ |
6233 /* We use char because int might match the return type of a gcc2 | 6238 /* We use char because int might match the return type of a gcc2 |
6234 builtin and then its argument prototype would still apply. */ | 6239 builtin and then its argument prototype would still apply. */ |
6235 char connect(); | 6240 char connect(); |
6236 | 6241 |
6237 int main() { | 6242 int main() { |
6238 connect() | 6243 connect() |
6239 ; return 0; } | 6244 ; return 0; } |
6240 EOF | 6245 EOF |
6241 if { (eval echo configure:6242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6246 if { (eval echo configure:6247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6242 rm -rf conftest* | 6247 rm -rf conftest* |
6243 eval "ac_cv_lib_$ac_lib_var=yes" | 6248 eval "ac_cv_lib_$ac_lib_var=yes" |
6244 else | 6249 else |
6245 echo "configure: failed program was:" >&5 | 6250 echo "configure: failed program was:" >&5 |
6246 cat conftest.$ac_ext >&5 | 6251 cat conftest.$ac_ext >&5 |
6260 | 6265 |
6261 fi | 6266 fi |
6262 | 6267 |
6263 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6268 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6264 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6269 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6265 echo "configure:6266: checking for remove" >&5 | 6270 echo "configure:6271: checking for remove" >&5 |
6266 | 6271 |
6267 cat > conftest.$ac_ext <<EOF | 6272 cat > conftest.$ac_ext <<EOF |
6268 #line 6269 "configure" | 6273 #line 6274 "configure" |
6269 #include "confdefs.h" | 6274 #include "confdefs.h" |
6270 /* System header to define __stub macros and hopefully few prototypes, | 6275 /* System header to define __stub macros and hopefully few prototypes, |
6271 which can conflict with char remove(); below. */ | 6276 which can conflict with char remove(); below. */ |
6272 #include <assert.h> | 6277 #include <assert.h> |
6273 /* Override any gcc2 internal prototype to avoid an error. */ | 6278 /* Override any gcc2 internal prototype to avoid an error. */ |
6286 remove(); | 6291 remove(); |
6287 #endif | 6292 #endif |
6288 | 6293 |
6289 ; return 0; } | 6294 ; return 0; } |
6290 EOF | 6295 EOF |
6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6292 rm -rf conftest* | 6297 rm -rf conftest* |
6293 eval "ac_cv_func_remove=yes" | 6298 eval "ac_cv_func_remove=yes" |
6294 else | 6299 else |
6295 echo "configure: failed program was:" >&5 | 6300 echo "configure: failed program was:" >&5 |
6296 cat conftest.$ac_ext >&5 | 6301 cat conftest.$ac_ext >&5 |
6307 fi | 6312 fi |
6308 | 6313 |
6309 if test $ac_cv_func_remove = no; then | 6314 if test $ac_cv_func_remove = no; then |
6310 | 6315 |
6311 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6316 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6312 echo "configure:6313: checking for remove in -lposix" >&5 | 6317 echo "configure:6318: checking for remove in -lposix" >&5 |
6313 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6318 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6314 | 6319 |
6315 xe_check_libs=" -lposix " | 6320 xe_check_libs=" -lposix " |
6316 cat > conftest.$ac_ext <<EOF | 6321 cat > conftest.$ac_ext <<EOF |
6317 #line 6318 "configure" | 6322 #line 6323 "configure" |
6318 #include "confdefs.h" | 6323 #include "confdefs.h" |
6319 /* Override any gcc2 internal prototype to avoid an error. */ | 6324 /* Override any gcc2 internal prototype to avoid an error. */ |
6320 /* We use char because int might match the return type of a gcc2 | 6325 /* We use char because int might match the return type of a gcc2 |
6321 builtin and then its argument prototype would still apply. */ | 6326 builtin and then its argument prototype would still apply. */ |
6322 char remove(); | 6327 char remove(); |
6323 | 6328 |
6324 int main() { | 6329 int main() { |
6325 remove() | 6330 remove() |
6326 ; return 0; } | 6331 ; return 0; } |
6327 EOF | 6332 EOF |
6328 if { (eval echo configure:6329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6333 if { (eval echo configure:6334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6329 rm -rf conftest* | 6334 rm -rf conftest* |
6330 eval "ac_cv_lib_$ac_lib_var=yes" | 6335 eval "ac_cv_lib_$ac_lib_var=yes" |
6331 else | 6336 else |
6332 echo "configure: failed program was:" >&5 | 6337 echo "configure: failed program was:" >&5 |
6333 cat conftest.$ac_ext >&5 | 6338 cat conftest.$ac_ext >&5 |
6347 | 6352 |
6348 fi | 6353 fi |
6349 | 6354 |
6350 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6355 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6351 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6356 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6352 echo "configure:6353: checking for shmat" >&5 | 6357 echo "configure:6358: checking for shmat" >&5 |
6353 | 6358 |
6354 cat > conftest.$ac_ext <<EOF | 6359 cat > conftest.$ac_ext <<EOF |
6355 #line 6356 "configure" | 6360 #line 6361 "configure" |
6356 #include "confdefs.h" | 6361 #include "confdefs.h" |
6357 /* System header to define __stub macros and hopefully few prototypes, | 6362 /* System header to define __stub macros and hopefully few prototypes, |
6358 which can conflict with char shmat(); below. */ | 6363 which can conflict with char shmat(); below. */ |
6359 #include <assert.h> | 6364 #include <assert.h> |
6360 /* Override any gcc2 internal prototype to avoid an error. */ | 6365 /* Override any gcc2 internal prototype to avoid an error. */ |
6373 shmat(); | 6378 shmat(); |
6374 #endif | 6379 #endif |
6375 | 6380 |
6376 ; return 0; } | 6381 ; return 0; } |
6377 EOF | 6382 EOF |
6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6383 if { (eval echo configure:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6379 rm -rf conftest* | 6384 rm -rf conftest* |
6380 eval "ac_cv_func_shmat=yes" | 6385 eval "ac_cv_func_shmat=yes" |
6381 else | 6386 else |
6382 echo "configure: failed program was:" >&5 | 6387 echo "configure: failed program was:" >&5 |
6383 cat conftest.$ac_ext >&5 | 6388 cat conftest.$ac_ext >&5 |
6394 fi | 6399 fi |
6395 | 6400 |
6396 if test $ac_cv_func_shmat = no; then | 6401 if test $ac_cv_func_shmat = no; then |
6397 | 6402 |
6398 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6403 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6399 echo "configure:6400: checking for shmat in -lipc" >&5 | 6404 echo "configure:6405: checking for shmat in -lipc" >&5 |
6400 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6405 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6401 | 6406 |
6402 xe_check_libs=" -lipc " | 6407 xe_check_libs=" -lipc " |
6403 cat > conftest.$ac_ext <<EOF | 6408 cat > conftest.$ac_ext <<EOF |
6404 #line 6405 "configure" | 6409 #line 6410 "configure" |
6405 #include "confdefs.h" | 6410 #include "confdefs.h" |
6406 /* Override any gcc2 internal prototype to avoid an error. */ | 6411 /* Override any gcc2 internal prototype to avoid an error. */ |
6407 /* We use char because int might match the return type of a gcc2 | 6412 /* We use char because int might match the return type of a gcc2 |
6408 builtin and then its argument prototype would still apply. */ | 6413 builtin and then its argument prototype would still apply. */ |
6409 char shmat(); | 6414 char shmat(); |
6410 | 6415 |
6411 int main() { | 6416 int main() { |
6412 shmat() | 6417 shmat() |
6413 ; return 0; } | 6418 ; return 0; } |
6414 EOF | 6419 EOF |
6415 if { (eval echo configure:6416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6420 if { (eval echo configure:6421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6416 rm -rf conftest* | 6421 rm -rf conftest* |
6417 eval "ac_cv_lib_$ac_lib_var=yes" | 6422 eval "ac_cv_lib_$ac_lib_var=yes" |
6418 else | 6423 else |
6419 echo "configure: failed program was:" >&5 | 6424 echo "configure: failed program was:" >&5 |
6420 cat conftest.$ac_ext >&5 | 6425 cat conftest.$ac_ext >&5 |
6446 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6451 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6447 | 6452 |
6448 xe_msg_checking="for IceConnectionNumber in -lICE" | 6453 xe_msg_checking="for IceConnectionNumber in -lICE" |
6449 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6454 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6450 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6455 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6451 echo "configure:6452: checking "$xe_msg_checking"" >&5 | 6456 echo "configure:6457: checking "$xe_msg_checking"" >&5 |
6452 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6457 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6453 | 6458 |
6454 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6459 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6455 cat > conftest.$ac_ext <<EOF | 6460 cat > conftest.$ac_ext <<EOF |
6456 #line 6457 "configure" | 6461 #line 6462 "configure" |
6457 #include "confdefs.h" | 6462 #include "confdefs.h" |
6458 /* Override any gcc2 internal prototype to avoid an error. */ | 6463 /* Override any gcc2 internal prototype to avoid an error. */ |
6459 /* We use char because int might match the return type of a gcc2 | 6464 /* We use char because int might match the return type of a gcc2 |
6460 builtin and then its argument prototype would still apply. */ | 6465 builtin and then its argument prototype would still apply. */ |
6461 char IceConnectionNumber(); | 6466 char IceConnectionNumber(); |
6462 | 6467 |
6463 int main() { | 6468 int main() { |
6464 IceConnectionNumber() | 6469 IceConnectionNumber() |
6465 ; return 0; } | 6470 ; return 0; } |
6466 EOF | 6471 EOF |
6467 if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6472 if { (eval echo configure:6473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6468 rm -rf conftest* | 6473 rm -rf conftest* |
6469 eval "ac_cv_lib_$ac_lib_var=yes" | 6474 eval "ac_cv_lib_$ac_lib_var=yes" |
6470 else | 6475 else |
6471 echo "configure: failed program was:" >&5 | 6476 echo "configure: failed program was:" >&5 |
6472 cat conftest.$ac_ext >&5 | 6477 cat conftest.$ac_ext >&5 |
6508 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6513 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6509 | 6514 |
6510 | 6515 |
6511 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6516 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6512 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6517 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6513 echo "configure:6514: checking for Xm/Xm.h" >&5 | 6518 echo "configure:6519: checking for Xm/Xm.h" >&5 |
6514 | 6519 |
6515 cat > conftest.$ac_ext <<EOF | 6520 cat > conftest.$ac_ext <<EOF |
6516 #line 6517 "configure" | 6521 #line 6522 "configure" |
6517 #include "confdefs.h" | 6522 #include "confdefs.h" |
6518 #include <Xm/Xm.h> | 6523 #include <Xm/Xm.h> |
6519 EOF | 6524 EOF |
6520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6521 { (eval echo configure:6522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6526 { (eval echo configure:6527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6523 if test -z "$ac_err"; then | 6528 if test -z "$ac_err"; then |
6524 rm -rf conftest* | 6529 rm -rf conftest* |
6525 eval "ac_cv_header_$ac_safe=yes" | 6530 eval "ac_cv_header_$ac_safe=yes" |
6526 else | 6531 else |
6533 rm -f conftest* | 6538 rm -f conftest* |
6534 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6539 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6535 echo "$ac_t""yes" 1>&6 | 6540 echo "$ac_t""yes" 1>&6 |
6536 | 6541 |
6537 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6542 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6538 echo "configure:6539: checking for XmStringFree in -lXm" >&5 | 6543 echo "configure:6544: checking for XmStringFree in -lXm" >&5 |
6539 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6544 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6540 | 6545 |
6541 xe_check_libs=" -lXm " | 6546 xe_check_libs=" -lXm " |
6542 cat > conftest.$ac_ext <<EOF | 6547 cat > conftest.$ac_ext <<EOF |
6543 #line 6544 "configure" | 6548 #line 6549 "configure" |
6544 #include "confdefs.h" | 6549 #include "confdefs.h" |
6545 /* Override any gcc2 internal prototype to avoid an error. */ | 6550 /* Override any gcc2 internal prototype to avoid an error. */ |
6546 /* We use char because int might match the return type of a gcc2 | 6551 /* We use char because int might match the return type of a gcc2 |
6547 builtin and then its argument prototype would still apply. */ | 6552 builtin and then its argument prototype would still apply. */ |
6548 char XmStringFree(); | 6553 char XmStringFree(); |
6549 | 6554 |
6550 int main() { | 6555 int main() { |
6551 XmStringFree() | 6556 XmStringFree() |
6552 ; return 0; } | 6557 ; return 0; } |
6553 EOF | 6558 EOF |
6554 if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6555 rm -rf conftest* | 6560 rm -rf conftest* |
6556 eval "ac_cv_lib_$ac_lib_var=yes" | 6561 eval "ac_cv_lib_$ac_lib_var=yes" |
6557 else | 6562 else |
6558 echo "configure: failed program was:" >&5 | 6563 echo "configure: failed program was:" >&5 |
6559 cat conftest.$ac_ext >&5 | 6564 cat conftest.$ac_ext >&5 |
6701 EOF | 6706 EOF |
6702 } | 6707 } |
6703 | 6708 |
6704 | 6709 |
6705 echo "checking for X defines extracted by xmkmf" 1>&6 | 6710 echo "checking for X defines extracted by xmkmf" 1>&6 |
6706 echo "configure:6707: checking for X defines extracted by xmkmf" >&5 | 6711 echo "configure:6712: checking for X defines extracted by xmkmf" >&5 |
6707 rm -fr conftestdir | 6712 rm -fr conftestdir |
6708 if mkdir conftestdir; then | 6713 if mkdir conftestdir; then |
6709 cd conftestdir | 6714 cd conftestdir |
6710 cat > Imakefile <<'EOF' | 6715 cat > Imakefile <<'EOF' |
6711 xetest: | 6716 xetest: |
6750 done | 6755 done |
6751 fi | 6756 fi |
6752 | 6757 |
6753 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6758 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6754 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6759 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6755 echo "configure:6756: checking for X11/Intrinsic.h" >&5 | 6760 echo "configure:6761: checking for X11/Intrinsic.h" >&5 |
6756 | 6761 |
6757 cat > conftest.$ac_ext <<EOF | 6762 cat > conftest.$ac_ext <<EOF |
6758 #line 6759 "configure" | 6763 #line 6764 "configure" |
6759 #include "confdefs.h" | 6764 #include "confdefs.h" |
6760 #include <X11/Intrinsic.h> | 6765 #include <X11/Intrinsic.h> |
6761 EOF | 6766 EOF |
6762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6763 { (eval echo configure:6764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6768 { (eval echo configure:6769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6765 if test -z "$ac_err"; then | 6770 if test -z "$ac_err"; then |
6766 rm -rf conftest* | 6771 rm -rf conftest* |
6767 eval "ac_cv_header_$ac_safe=yes" | 6772 eval "ac_cv_header_$ac_safe=yes" |
6768 else | 6773 else |
6782 fi | 6787 fi |
6783 | 6788 |
6784 | 6789 |
6785 | 6790 |
6786 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6791 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6787 echo "configure:6788: checking for XOpenDisplay in -lX11" >&5 | 6792 echo "configure:6793: checking for XOpenDisplay in -lX11" >&5 |
6788 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6793 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6789 | 6794 |
6790 xe_check_libs=" -lX11 " | 6795 xe_check_libs=" -lX11 " |
6791 cat > conftest.$ac_ext <<EOF | 6796 cat > conftest.$ac_ext <<EOF |
6792 #line 6793 "configure" | 6797 #line 6798 "configure" |
6793 #include "confdefs.h" | 6798 #include "confdefs.h" |
6794 /* Override any gcc2 internal prototype to avoid an error. */ | 6799 /* Override any gcc2 internal prototype to avoid an error. */ |
6795 /* We use char because int might match the return type of a gcc2 | 6800 /* We use char because int might match the return type of a gcc2 |
6796 builtin and then its argument prototype would still apply. */ | 6801 builtin and then its argument prototype would still apply. */ |
6797 char XOpenDisplay(); | 6802 char XOpenDisplay(); |
6798 | 6803 |
6799 int main() { | 6804 int main() { |
6800 XOpenDisplay() | 6805 XOpenDisplay() |
6801 ; return 0; } | 6806 ; return 0; } |
6802 EOF | 6807 EOF |
6803 if { (eval echo configure:6804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6808 if { (eval echo configure:6809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6804 rm -rf conftest* | 6809 rm -rf conftest* |
6805 eval "ac_cv_lib_$ac_lib_var=yes" | 6810 eval "ac_cv_lib_$ac_lib_var=yes" |
6806 else | 6811 else |
6807 echo "configure: failed program was:" >&5 | 6812 echo "configure: failed program was:" >&5 |
6808 cat conftest.$ac_ext >&5 | 6813 cat conftest.$ac_ext >&5 |
6823 if test "$have_lib_x11" != "yes"; then | 6828 if test "$have_lib_x11" != "yes"; then |
6824 | 6829 |
6825 xe_msg_checking="for XGetFontProperty in -lX11" | 6830 xe_msg_checking="for XGetFontProperty in -lX11" |
6826 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6831 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6827 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6832 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6828 echo "configure:6829: checking "$xe_msg_checking"" >&5 | 6833 echo "configure:6834: checking "$xe_msg_checking"" >&5 |
6829 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6834 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6830 | 6835 |
6831 xe_check_libs=" -lX11 -b i486-linuxaout" | 6836 xe_check_libs=" -lX11 -b i486-linuxaout" |
6832 cat > conftest.$ac_ext <<EOF | 6837 cat > conftest.$ac_ext <<EOF |
6833 #line 6834 "configure" | 6838 #line 6839 "configure" |
6834 #include "confdefs.h" | 6839 #include "confdefs.h" |
6835 /* Override any gcc2 internal prototype to avoid an error. */ | 6840 /* Override any gcc2 internal prototype to avoid an error. */ |
6836 /* We use char because int might match the return type of a gcc2 | 6841 /* We use char because int might match the return type of a gcc2 |
6837 builtin and then its argument prototype would still apply. */ | 6842 builtin and then its argument prototype would still apply. */ |
6838 char XGetFontProperty(); | 6843 char XGetFontProperty(); |
6839 | 6844 |
6840 int main() { | 6845 int main() { |
6841 XGetFontProperty() | 6846 XGetFontProperty() |
6842 ; return 0; } | 6847 ; return 0; } |
6843 EOF | 6848 EOF |
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6849 if { (eval echo configure:6850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6845 rm -rf conftest* | 6850 rm -rf conftest* |
6846 eval "ac_cv_lib_$ac_lib_var=yes" | 6851 eval "ac_cv_lib_$ac_lib_var=yes" |
6847 else | 6852 else |
6848 echo "configure: failed program was:" >&5 | 6853 echo "configure: failed program was:" >&5 |
6849 cat conftest.$ac_ext >&5 | 6854 cat conftest.$ac_ext >&5 |
6866 libs_x="-lX11" | 6871 libs_x="-lX11" |
6867 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6872 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6868 | 6873 |
6869 | 6874 |
6870 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6875 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6871 echo "configure:6872: checking for XShapeSelectInput in -lXext" >&5 | 6876 echo "configure:6877: checking for XShapeSelectInput in -lXext" >&5 |
6872 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6877 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6873 | 6878 |
6874 xe_check_libs=" -lXext " | 6879 xe_check_libs=" -lXext " |
6875 cat > conftest.$ac_ext <<EOF | 6880 cat > conftest.$ac_ext <<EOF |
6876 #line 6877 "configure" | 6881 #line 6882 "configure" |
6877 #include "confdefs.h" | 6882 #include "confdefs.h" |
6878 /* Override any gcc2 internal prototype to avoid an error. */ | 6883 /* Override any gcc2 internal prototype to avoid an error. */ |
6879 /* We use char because int might match the return type of a gcc2 | 6884 /* We use char because int might match the return type of a gcc2 |
6880 builtin and then its argument prototype would still apply. */ | 6885 builtin and then its argument prototype would still apply. */ |
6881 char XShapeSelectInput(); | 6886 char XShapeSelectInput(); |
6882 | 6887 |
6883 int main() { | 6888 int main() { |
6884 XShapeSelectInput() | 6889 XShapeSelectInput() |
6885 ; return 0; } | 6890 ; return 0; } |
6886 EOF | 6891 EOF |
6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6892 if { (eval echo configure:6893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6888 rm -rf conftest* | 6893 rm -rf conftest* |
6889 eval "ac_cv_lib_$ac_lib_var=yes" | 6894 eval "ac_cv_lib_$ac_lib_var=yes" |
6890 else | 6895 else |
6891 echo "configure: failed program was:" >&5 | 6896 echo "configure: failed program was:" >&5 |
6892 cat conftest.$ac_ext >&5 | 6897 cat conftest.$ac_ext >&5 |
6905 | 6910 |
6906 | 6911 |
6907 | 6912 |
6908 | 6913 |
6909 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6914 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6910 echo "configure:6911: checking for XtOpenDisplay in -lXt" >&5 | 6915 echo "configure:6916: checking for XtOpenDisplay in -lXt" >&5 |
6911 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6916 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6912 | 6917 |
6913 xe_check_libs=" -lXt " | 6918 xe_check_libs=" -lXt " |
6914 cat > conftest.$ac_ext <<EOF | 6919 cat > conftest.$ac_ext <<EOF |
6915 #line 6916 "configure" | 6920 #line 6921 "configure" |
6916 #include "confdefs.h" | 6921 #include "confdefs.h" |
6917 /* Override any gcc2 internal prototype to avoid an error. */ | 6922 /* Override any gcc2 internal prototype to avoid an error. */ |
6918 /* We use char because int might match the return type of a gcc2 | 6923 /* We use char because int might match the return type of a gcc2 |
6919 builtin and then its argument prototype would still apply. */ | 6924 builtin and then its argument prototype would still apply. */ |
6920 char XtOpenDisplay(); | 6925 char XtOpenDisplay(); |
6921 | 6926 |
6922 int main() { | 6927 int main() { |
6923 XtOpenDisplay() | 6928 XtOpenDisplay() |
6924 ; return 0; } | 6929 ; return 0; } |
6925 EOF | 6930 EOF |
6926 if { (eval echo configure:6927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6931 if { (eval echo configure:6932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6927 rm -rf conftest* | 6932 rm -rf conftest* |
6928 eval "ac_cv_lib_$ac_lib_var=yes" | 6933 eval "ac_cv_lib_$ac_lib_var=yes" |
6929 else | 6934 else |
6930 echo "configure: failed program was:" >&5 | 6935 echo "configure: failed program was:" >&5 |
6931 cat conftest.$ac_ext >&5 | 6936 cat conftest.$ac_ext >&5 |
6944 fi | 6949 fi |
6945 | 6950 |
6946 | 6951 |
6947 | 6952 |
6948 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6953 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6949 echo "configure:6950: checking the version of X11 being used" >&5 | 6954 echo "configure:6955: checking the version of X11 being used" >&5 |
6950 cat > conftest.$ac_ext <<EOF | 6955 cat > conftest.$ac_ext <<EOF |
6951 #line 6952 "configure" | 6956 #line 6957 "configure" |
6952 #include "confdefs.h" | 6957 #include "confdefs.h" |
6953 #include <X11/Intrinsic.h> | 6958 #include <X11/Intrinsic.h> |
6954 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6959 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6955 EOF | 6960 EOF |
6956 if { (eval echo configure:6957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6957 then | 6962 then |
6958 ./conftest foobar; x11_release=$? | 6963 ./conftest foobar; x11_release=$? |
6959 else | 6964 else |
6960 conftest_rc="$?" | 6965 conftest_rc="$?" |
6961 echo "configure: failed program was:" >&5 | 6966 echo "configure: failed program was:" >&5 |
6982 fi | 6987 fi |
6983 | 6988 |
6984 for ac_func in XConvertCase | 6989 for ac_func in XConvertCase |
6985 do | 6990 do |
6986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6987 echo "configure:6988: checking for $ac_func" >&5 | 6992 echo "configure:6993: checking for $ac_func" >&5 |
6988 | 6993 |
6989 cat > conftest.$ac_ext <<EOF | 6994 cat > conftest.$ac_ext <<EOF |
6990 #line 6991 "configure" | 6995 #line 6996 "configure" |
6991 #include "confdefs.h" | 6996 #include "confdefs.h" |
6992 /* System header to define __stub macros and hopefully few prototypes, | 6997 /* System header to define __stub macros and hopefully few prototypes, |
6993 which can conflict with char $ac_func(); below. */ | 6998 which can conflict with char $ac_func(); below. */ |
6994 #include <assert.h> | 6999 #include <assert.h> |
6995 /* Override any gcc2 internal prototype to avoid an error. */ | 7000 /* Override any gcc2 internal prototype to avoid an error. */ |
7008 $ac_func(); | 7013 $ac_func(); |
7009 #endif | 7014 #endif |
7010 | 7015 |
7011 ; return 0; } | 7016 ; return 0; } |
7012 EOF | 7017 EOF |
7013 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7018 if { (eval echo configure:7019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7014 rm -rf conftest* | 7019 rm -rf conftest* |
7015 eval "ac_cv_func_$ac_func=yes" | 7020 eval "ac_cv_func_$ac_func=yes" |
7016 else | 7021 else |
7017 echo "configure: failed program was:" >&5 | 7022 echo "configure: failed program was:" >&5 |
7018 cat conftest.$ac_ext >&5 | 7023 cat conftest.$ac_ext >&5 |
7040 | 7045 |
7041 for ac_hdr in X11/Xlocale.h | 7046 for ac_hdr in X11/Xlocale.h |
7042 do | 7047 do |
7043 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7048 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7049 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7045 echo "configure:7046: checking for $ac_hdr" >&5 | 7050 echo "configure:7051: checking for $ac_hdr" >&5 |
7046 | 7051 |
7047 cat > conftest.$ac_ext <<EOF | 7052 cat > conftest.$ac_ext <<EOF |
7048 #line 7049 "configure" | 7053 #line 7054 "configure" |
7049 #include "confdefs.h" | 7054 #include "confdefs.h" |
7050 #include <$ac_hdr> | 7055 #include <$ac_hdr> |
7051 EOF | 7056 EOF |
7052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7053 { (eval echo configure:7054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7058 { (eval echo configure:7059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7055 if test -z "$ac_err"; then | 7060 if test -z "$ac_err"; then |
7056 rm -rf conftest* | 7061 rm -rf conftest* |
7057 eval "ac_cv_header_$ac_safe=yes" | 7062 eval "ac_cv_header_$ac_safe=yes" |
7058 else | 7063 else |
7081 | 7086 |
7082 | 7087 |
7083 for ac_func in XRegisterIMInstantiateCallback | 7088 for ac_func in XRegisterIMInstantiateCallback |
7084 do | 7089 do |
7085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7086 echo "configure:7087: checking for $ac_func" >&5 | 7091 echo "configure:7092: checking for $ac_func" >&5 |
7087 | 7092 |
7088 cat > conftest.$ac_ext <<EOF | 7093 cat > conftest.$ac_ext <<EOF |
7089 #line 7090 "configure" | 7094 #line 7095 "configure" |
7090 #include "confdefs.h" | 7095 #include "confdefs.h" |
7091 /* System header to define __stub macros and hopefully few prototypes, | 7096 /* System header to define __stub macros and hopefully few prototypes, |
7092 which can conflict with char $ac_func(); below. */ | 7097 which can conflict with char $ac_func(); below. */ |
7093 #include <assert.h> | 7098 #include <assert.h> |
7094 /* Override any gcc2 internal prototype to avoid an error. */ | 7099 /* Override any gcc2 internal prototype to avoid an error. */ |
7107 $ac_func(); | 7112 $ac_func(); |
7108 #endif | 7113 #endif |
7109 | 7114 |
7110 ; return 0; } | 7115 ; return 0; } |
7111 EOF | 7116 EOF |
7112 if { (eval echo configure:7113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7117 if { (eval echo configure:7118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7113 rm -rf conftest* | 7118 rm -rf conftest* |
7114 eval "ac_cv_func_$ac_func=yes" | 7119 eval "ac_cv_func_$ac_func=yes" |
7115 else | 7120 else |
7116 echo "configure: failed program was:" >&5 | 7121 echo "configure: failed program was:" >&5 |
7117 cat conftest.$ac_ext >&5 | 7122 cat conftest.$ac_ext >&5 |
7135 echo "$ac_t""no" 1>&6 | 7140 echo "$ac_t""no" 1>&6 |
7136 fi | 7141 fi |
7137 done | 7142 done |
7138 | 7143 |
7139 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7144 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7140 echo "configure:7141: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7145 echo "configure:7146: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7141 cat > conftest.$ac_ext <<EOF | 7146 cat > conftest.$ac_ext <<EOF |
7142 #line 7143 "configure" | 7147 #line 7148 "configure" |
7143 #include "confdefs.h" | 7148 #include "confdefs.h" |
7144 | 7149 |
7145 #define NeedFunctionPrototypes 1 | 7150 #define NeedFunctionPrototypes 1 |
7146 #include <X11/Xlib.h> | 7151 #include <X11/Xlib.h> |
7147 extern Bool XRegisterIMInstantiateCallback( | 7152 extern Bool XRegisterIMInstantiateCallback( |
7149 | 7154 |
7150 int main() { | 7155 int main() { |
7151 | 7156 |
7152 ; return 0; } | 7157 ; return 0; } |
7153 EOF | 7158 EOF |
7154 if { (eval echo configure:7155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7159 if { (eval echo configure:7160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7155 rm -rf conftest* | 7160 rm -rf conftest* |
7156 echo "$ac_t""yes" 1>&6 | 7161 echo "$ac_t""yes" 1>&6 |
7157 else | 7162 else |
7158 echo "configure: failed program was:" >&5 | 7163 echo "configure: failed program was:" >&5 |
7159 cat conftest.$ac_ext >&5 | 7164 cat conftest.$ac_ext >&5 |
7170 fi | 7175 fi |
7171 rm -f conftest* | 7176 rm -f conftest* |
7172 | 7177 |
7173 test -z "$with_xmu" && { | 7178 test -z "$with_xmu" && { |
7174 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7179 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7175 echo "configure:7176: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7180 echo "configure:7181: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7176 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7181 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7177 | 7182 |
7178 xe_check_libs=" -lXmu " | 7183 xe_check_libs=" -lXmu " |
7179 cat > conftest.$ac_ext <<EOF | 7184 cat > conftest.$ac_ext <<EOF |
7180 #line 7181 "configure" | 7185 #line 7186 "configure" |
7181 #include "confdefs.h" | 7186 #include "confdefs.h" |
7182 /* Override any gcc2 internal prototype to avoid an error. */ | 7187 /* Override any gcc2 internal prototype to avoid an error. */ |
7183 /* We use char because int might match the return type of a gcc2 | 7188 /* We use char because int might match the return type of a gcc2 |
7184 builtin and then its argument prototype would still apply. */ | 7189 builtin and then its argument prototype would still apply. */ |
7185 char XmuReadBitmapDataFromFile(); | 7190 char XmuReadBitmapDataFromFile(); |
7186 | 7191 |
7187 int main() { | 7192 int main() { |
7188 XmuReadBitmapDataFromFile() | 7193 XmuReadBitmapDataFromFile() |
7189 ; return 0; } | 7194 ; return 0; } |
7190 EOF | 7195 EOF |
7191 if { (eval echo configure:7192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7196 if { (eval echo configure:7197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7192 rm -rf conftest* | 7197 rm -rf conftest* |
7193 eval "ac_cv_lib_$ac_lib_var=yes" | 7198 eval "ac_cv_lib_$ac_lib_var=yes" |
7194 else | 7199 else |
7195 echo "configure: failed program was:" >&5 | 7200 echo "configure: failed program was:" >&5 |
7196 cat conftest.$ac_ext >&5 | 7201 cat conftest.$ac_ext >&5 |
7225 | 7230 |
7226 fi | 7231 fi |
7227 | 7232 |
7228 | 7233 |
7229 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7234 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7230 echo "configure:7231: checking for main in -lXbsd" >&5 | 7235 echo "configure:7236: checking for main in -lXbsd" >&5 |
7231 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7236 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7232 | 7237 |
7233 xe_check_libs=" -lXbsd " | 7238 xe_check_libs=" -lXbsd " |
7234 cat > conftest.$ac_ext <<EOF | 7239 cat > conftest.$ac_ext <<EOF |
7235 #line 7236 "configure" | 7240 #line 7241 "configure" |
7236 #include "confdefs.h" | 7241 #include "confdefs.h" |
7237 | 7242 |
7238 int main() { | 7243 int main() { |
7239 main() | 7244 main() |
7240 ; return 0; } | 7245 ; return 0; } |
7241 EOF | 7246 EOF |
7242 if { (eval echo configure:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7247 if { (eval echo configure:7248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7243 rm -rf conftest* | 7248 rm -rf conftest* |
7244 eval "ac_cv_lib_$ac_lib_var=yes" | 7249 eval "ac_cv_lib_$ac_lib_var=yes" |
7245 else | 7250 else |
7246 echo "configure: failed program was:" >&5 | 7251 echo "configure: failed program was:" >&5 |
7247 cat conftest.$ac_ext >&5 | 7252 cat conftest.$ac_ext >&5 |
7274 fi | 7279 fi |
7275 | 7280 |
7276 fi | 7281 fi |
7277 if test "$with_msw" != "no"; then | 7282 if test "$with_msw" != "no"; then |
7278 echo "checking for MS-Windows" 1>&6 | 7283 echo "checking for MS-Windows" 1>&6 |
7279 echo "configure:7280: checking for MS-Windows" >&5 | 7284 echo "configure:7285: checking for MS-Windows" >&5 |
7280 | 7285 |
7281 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7286 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7282 echo "configure:7283: checking for main in -lgdi32" >&5 | 7287 echo "configure:7288: checking for main in -lgdi32" >&5 |
7283 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7288 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7284 | 7289 |
7285 xe_check_libs=" -lgdi32 " | 7290 xe_check_libs=" -lgdi32 " |
7286 cat > conftest.$ac_ext <<EOF | 7291 cat > conftest.$ac_ext <<EOF |
7287 #line 7288 "configure" | 7292 #line 7293 "configure" |
7288 #include "confdefs.h" | 7293 #include "confdefs.h" |
7289 | 7294 |
7290 int main() { | 7295 int main() { |
7291 main() | 7296 main() |
7292 ; return 0; } | 7297 ; return 0; } |
7293 EOF | 7298 EOF |
7294 if { (eval echo configure:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7299 if { (eval echo configure:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7295 rm -rf conftest* | 7300 rm -rf conftest* |
7296 eval "ac_cv_lib_$ac_lib_var=yes" | 7301 eval "ac_cv_lib_$ac_lib_var=yes" |
7297 else | 7302 else |
7298 echo "configure: failed program was:" >&5 | 7303 echo "configure: failed program was:" >&5 |
7299 cat conftest.$ac_ext >&5 | 7304 cat conftest.$ac_ext >&5 |
7340 test "$with_toolbars" != "no" && with_toolbars=msw | 7345 test "$with_toolbars" != "no" && with_toolbars=msw |
7341 test "$with_dialogs" != "no" && with_dialogs=msw | 7346 test "$with_dialogs" != "no" && with_dialogs=msw |
7342 test "$with_widgets" != "no" && with_widgets=msw | 7347 test "$with_widgets" != "no" && with_widgets=msw |
7343 fi | 7348 fi |
7344 cat > conftest.$ac_ext <<EOF | 7349 cat > conftest.$ac_ext <<EOF |
7345 #line 7346 "configure" | 7350 #line 7351 "configure" |
7346 #include "confdefs.h" | 7351 #include "confdefs.h" |
7347 #include <fcntl.h> | 7352 #include <fcntl.h> |
7348 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7353 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7349 EOF | 7354 EOF |
7350 if { (eval echo configure:7351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7351 then | 7356 then |
7352 { test "$extra_verbose" = "yes" && cat << \EOF | 7357 { test "$extra_verbose" = "yes" && cat << \EOF |
7353 Defining HAVE_MSG_SELECT | 7358 Defining HAVE_MSG_SELECT |
7354 EOF | 7359 EOF |
7355 cat >> confdefs.h <<\EOF | 7360 cat >> confdefs.h <<\EOF |
7406 fi | 7411 fi |
7407 | 7412 |
7408 if test "$with_x11" = "yes"; then | 7413 if test "$with_x11" = "yes"; then |
7409 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7414 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7410 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7415 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7411 echo "configure:7412: checking for X11/extensions/shape.h" >&5 | 7416 echo "configure:7417: checking for X11/extensions/shape.h" >&5 |
7412 | 7417 |
7413 cat > conftest.$ac_ext <<EOF | 7418 cat > conftest.$ac_ext <<EOF |
7414 #line 7415 "configure" | 7419 #line 7420 "configure" |
7415 #include "confdefs.h" | 7420 #include "confdefs.h" |
7416 #include <X11/extensions/shape.h> | 7421 #include <X11/extensions/shape.h> |
7417 EOF | 7422 EOF |
7418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7423 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7419 { (eval echo configure:7420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7424 { (eval echo configure:7425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7425 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7421 if test -z "$ac_err"; then | 7426 if test -z "$ac_err"; then |
7422 rm -rf conftest* | 7427 rm -rf conftest* |
7423 eval "ac_cv_header_$ac_safe=yes" | 7428 eval "ac_cv_header_$ac_safe=yes" |
7424 else | 7429 else |
7464 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7469 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7465 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7470 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7466 esac | 7471 esac |
7467 | 7472 |
7468 echo "checking for WM_COMMAND option" 1>&6 | 7473 echo "checking for WM_COMMAND option" 1>&6 |
7469 echo "configure:7470: checking for WM_COMMAND option" >&5; | 7474 echo "configure:7475: checking for WM_COMMAND option" >&5; |
7470 if test "$with_wmcommand" != "no"; then | 7475 if test "$with_wmcommand" != "no"; then |
7471 { test "$extra_verbose" = "yes" && cat << \EOF | 7476 { test "$extra_verbose" = "yes" && cat << \EOF |
7472 Defining HAVE_WMCOMMAND | 7477 Defining HAVE_WMCOMMAND |
7473 EOF | 7478 EOF |
7474 cat >> confdefs.h <<\EOF | 7479 cat >> confdefs.h <<\EOF |
7479 fi | 7484 fi |
7480 | 7485 |
7481 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7486 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7482 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7487 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7483 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7488 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7484 echo "configure:7485: checking for X11/Xauth.h" >&5 | 7489 echo "configure:7490: checking for X11/Xauth.h" >&5 |
7485 | 7490 |
7486 cat > conftest.$ac_ext <<EOF | 7491 cat > conftest.$ac_ext <<EOF |
7487 #line 7488 "configure" | 7492 #line 7493 "configure" |
7488 #include "confdefs.h" | 7493 #include "confdefs.h" |
7489 #include <X11/Xauth.h> | 7494 #include <X11/Xauth.h> |
7490 EOF | 7495 EOF |
7491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7492 { (eval echo configure:7493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7497 { (eval echo configure:7498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7494 if test -z "$ac_err"; then | 7499 if test -z "$ac_err"; then |
7495 rm -rf conftest* | 7500 rm -rf conftest* |
7496 eval "ac_cv_header_$ac_safe=yes" | 7501 eval "ac_cv_header_$ac_safe=yes" |
7497 else | 7502 else |
7510 with_xauth=no | 7515 with_xauth=no |
7511 fi | 7516 fi |
7512 } | 7517 } |
7513 test -z "$with_xauth" && { | 7518 test -z "$with_xauth" && { |
7514 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7519 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7515 echo "configure:7516: checking for XauGetAuthByAddr in -lXau" >&5 | 7520 echo "configure:7521: checking for XauGetAuthByAddr in -lXau" >&5 |
7516 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7521 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7517 | 7522 |
7518 xe_check_libs=" -lXau " | 7523 xe_check_libs=" -lXau " |
7519 cat > conftest.$ac_ext <<EOF | 7524 cat > conftest.$ac_ext <<EOF |
7520 #line 7521 "configure" | 7525 #line 7526 "configure" |
7521 #include "confdefs.h" | 7526 #include "confdefs.h" |
7522 /* Override any gcc2 internal prototype to avoid an error. */ | 7527 /* Override any gcc2 internal prototype to avoid an error. */ |
7523 /* We use char because int might match the return type of a gcc2 | 7528 /* We use char because int might match the return type of a gcc2 |
7524 builtin and then its argument prototype would still apply. */ | 7529 builtin and then its argument prototype would still apply. */ |
7525 char XauGetAuthByAddr(); | 7530 char XauGetAuthByAddr(); |
7526 | 7531 |
7527 int main() { | 7532 int main() { |
7528 XauGetAuthByAddr() | 7533 XauGetAuthByAddr() |
7529 ; return 0; } | 7534 ; return 0; } |
7530 EOF | 7535 EOF |
7531 if { (eval echo configure:7532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7536 if { (eval echo configure:7537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7532 rm -rf conftest* | 7537 rm -rf conftest* |
7533 eval "ac_cv_lib_$ac_lib_var=yes" | 7538 eval "ac_cv_lib_$ac_lib_var=yes" |
7534 else | 7539 else |
7535 echo "configure: failed program was:" >&5 | 7540 echo "configure: failed program was:" >&5 |
7536 cat conftest.$ac_ext >&5 | 7541 cat conftest.$ac_ext >&5 |
7580 fi | 7585 fi |
7581 | 7586 |
7582 | 7587 |
7583 if test "$with_modules" != "no"; then | 7588 if test "$with_modules" != "no"; then |
7584 echo "checking for module support" 1>&6 | 7589 echo "checking for module support" 1>&6 |
7585 echo "configure:7586: checking for module support" >&5 | 7590 echo "configure:7591: checking for module support" >&5 |
7586 | 7591 |
7587 if test "$with_msw" = "yes"; then | 7592 if test "$with_msw" = "yes"; then |
7588 have_dl=yes; | 7593 have_dl=yes; |
7589 else | 7594 else |
7590 case "$opsys" in | 7595 case "$opsys" in |
7597 } | 7602 } |
7598 ;; | 7603 ;; |
7599 * ) | 7604 * ) |
7600 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7605 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7601 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7606 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7602 echo "configure:7603: checking for dlfcn.h" >&5 | 7607 echo "configure:7608: checking for dlfcn.h" >&5 |
7603 | 7608 |
7604 cat > conftest.$ac_ext <<EOF | 7609 cat > conftest.$ac_ext <<EOF |
7605 #line 7606 "configure" | 7610 #line 7611 "configure" |
7606 #include "confdefs.h" | 7611 #include "confdefs.h" |
7607 #include <dlfcn.h> | 7612 #include <dlfcn.h> |
7608 EOF | 7613 EOF |
7609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7610 { (eval echo configure:7611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7615 { (eval echo configure:7616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7612 if test -z "$ac_err"; then | 7617 if test -z "$ac_err"; then |
7613 rm -rf conftest* | 7618 rm -rf conftest* |
7614 eval "ac_cv_header_$ac_safe=yes" | 7619 eval "ac_cv_header_$ac_safe=yes" |
7615 else | 7620 else |
7622 rm -f conftest* | 7627 rm -f conftest* |
7623 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7624 echo "$ac_t""yes" 1>&6 | 7629 echo "$ac_t""yes" 1>&6 |
7625 | 7630 |
7626 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7631 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7627 echo "configure:7628: checking for dlopen in -lc" >&5 | 7632 echo "configure:7633: checking for dlopen in -lc" >&5 |
7628 cat > conftest.$ac_ext <<EOF | 7633 cat > conftest.$ac_ext <<EOF |
7629 #line 7630 "configure" | 7634 #line 7635 "configure" |
7630 #include "confdefs.h" | 7635 #include "confdefs.h" |
7631 #include <dlfcn.h> | 7636 #include <dlfcn.h> |
7632 int main() { | 7637 int main() { |
7633 dlopen ("", 0); | 7638 dlopen ("", 0); |
7634 ; return 0; } | 7639 ; return 0; } |
7635 EOF | 7640 EOF |
7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7641 if { (eval echo configure:7642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7637 rm -rf conftest* | 7642 rm -rf conftest* |
7638 have_dl=yes | 7643 have_dl=yes |
7639 else | 7644 else |
7640 echo "configure: failed program was:" >&5 | 7645 echo "configure: failed program was:" >&5 |
7641 cat conftest.$ac_ext >&5 | 7646 cat conftest.$ac_ext >&5 |
7642 rm -rf conftest* | 7647 rm -rf conftest* |
7643 | 7648 |
7644 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7649 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7645 echo "configure:7646: checking for dlopen in -ldl" >&5 | 7650 echo "configure:7651: checking for dlopen in -ldl" >&5 |
7646 ac_save_LIBS="$LIBS" | 7651 ac_save_LIBS="$LIBS" |
7647 LIBS="-ldl $LIBS" | 7652 LIBS="-ldl $LIBS" |
7648 cat > conftest.$ac_ext <<EOF | 7653 cat > conftest.$ac_ext <<EOF |
7649 #line 7650 "configure" | 7654 #line 7655 "configure" |
7650 #include "confdefs.h" | 7655 #include "confdefs.h" |
7651 #include <dlfcn.h> | 7656 #include <dlfcn.h> |
7652 int main() { | 7657 int main() { |
7653 dlopen ("", 0); | 7658 dlopen ("", 0); |
7654 ; return 0; } | 7659 ; return 0; } |
7655 EOF | 7660 EOF |
7656 if { (eval echo configure:7657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7661 if { (eval echo configure:7662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7657 rm -rf conftest* | 7662 rm -rf conftest* |
7658 have_dl=yes | 7663 have_dl=yes |
7659 else | 7664 else |
7660 echo "configure: failed program was:" >&5 | 7665 echo "configure: failed program was:" >&5 |
7661 cat conftest.$ac_ext >&5 | 7666 cat conftest.$ac_ext >&5 |
7680 } | 7685 } |
7681 | 7686 |
7682 else | 7687 else |
7683 | 7688 |
7684 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7689 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7685 echo "configure:7686: checking for shl_load in -ldld" >&5 | 7690 echo "configure:7691: checking for shl_load in -ldld" >&5 |
7686 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7691 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7687 | 7692 |
7688 xe_check_libs=" -ldld " | 7693 xe_check_libs=" -ldld " |
7689 cat > conftest.$ac_ext <<EOF | 7694 cat > conftest.$ac_ext <<EOF |
7690 #line 7691 "configure" | 7695 #line 7696 "configure" |
7691 #include "confdefs.h" | 7696 #include "confdefs.h" |
7692 /* Override any gcc2 internal prototype to avoid an error. */ | 7697 /* Override any gcc2 internal prototype to avoid an error. */ |
7693 /* We use char because int might match the return type of a gcc2 | 7698 /* We use char because int might match the return type of a gcc2 |
7694 builtin and then its argument prototype would still apply. */ | 7699 builtin and then its argument prototype would still apply. */ |
7695 char shl_load(); | 7700 char shl_load(); |
7696 | 7701 |
7697 int main() { | 7702 int main() { |
7698 shl_load() | 7703 shl_load() |
7699 ; return 0; } | 7704 ; return 0; } |
7700 EOF | 7705 EOF |
7701 if { (eval echo configure:7702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7702 rm -rf conftest* | 7707 rm -rf conftest* |
7703 eval "ac_cv_lib_$ac_lib_var=yes" | 7708 eval "ac_cv_lib_$ac_lib_var=yes" |
7704 else | 7709 else |
7705 echo "configure: failed program was:" >&5 | 7710 echo "configure: failed program was:" >&5 |
7706 cat conftest.$ac_ext >&5 | 7711 cat conftest.$ac_ext >&5 |
7723 | 7728 |
7724 else | 7729 else |
7725 echo "$ac_t""no" 1>&6 | 7730 echo "$ac_t""no" 1>&6 |
7726 | 7731 |
7727 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7732 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7728 echo "configure:7729: checking for dld_init in -ldld" >&5 | 7733 echo "configure:7734: checking for dld_init in -ldld" >&5 |
7729 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7734 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7730 | 7735 |
7731 xe_check_libs=" -ldld " | 7736 xe_check_libs=" -ldld " |
7732 cat > conftest.$ac_ext <<EOF | 7737 cat > conftest.$ac_ext <<EOF |
7733 #line 7734 "configure" | 7738 #line 7739 "configure" |
7734 #include "confdefs.h" | 7739 #include "confdefs.h" |
7735 /* Override any gcc2 internal prototype to avoid an error. */ | 7740 /* Override any gcc2 internal prototype to avoid an error. */ |
7736 /* We use char because int might match the return type of a gcc2 | 7741 /* We use char because int might match the return type of a gcc2 |
7737 builtin and then its argument prototype would still apply. */ | 7742 builtin and then its argument prototype would still apply. */ |
7738 char dld_init(); | 7743 char dld_init(); |
7739 | 7744 |
7740 int main() { | 7745 int main() { |
7741 dld_init() | 7746 dld_init() |
7742 ; return 0; } | 7747 ; return 0; } |
7743 EOF | 7748 EOF |
7744 if { (eval echo configure:7745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7749 if { (eval echo configure:7750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7745 rm -rf conftest* | 7750 rm -rf conftest* |
7746 eval "ac_cv_lib_$ac_lib_var=yes" | 7751 eval "ac_cv_lib_$ac_lib_var=yes" |
7747 else | 7752 else |
7748 echo "configure: failed program was:" >&5 | 7753 echo "configure: failed program was:" >&5 |
7749 cat conftest.$ac_ext >&5 | 7754 cat conftest.$ac_ext >&5 |
7784 ld_dynamic_link_flags= | 7789 ld_dynamic_link_flags= |
7785 xehost=$canonical | 7790 xehost=$canonical |
7786 xealias=$internal_configuration | 7791 xealias=$internal_configuration |
7787 | 7792 |
7788 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7793 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7789 echo "configure:7790: checking how to build dynamic libraries for ${xehost}" >&5 | 7794 echo "configure:7795: checking how to build dynamic libraries for ${xehost}" >&5 |
7790 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7795 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7791 case "$xehost" in | 7796 case "$xehost" in |
7792 *-*-linux-gnu*) ;; | 7797 *-*-linux-gnu*) ;; |
7793 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7798 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7794 esac | 7799 esac |
7812 # Now see if the compiler is really GCC. | 7817 # Now see if the compiler is really GCC. |
7813 if test "$GCC" = "yes"; then | 7818 if test "$GCC" = "yes"; then |
7814 XEGCC=yes | 7819 XEGCC=yes |
7815 else | 7820 else |
7816 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7821 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7817 echo "configure:7818: checking checking whether we are using GNU C" >&5 | 7822 echo "configure:7823: checking checking whether we are using GNU C" >&5 |
7818 cat > conftest.$ac_ext <<EOF | 7823 cat > conftest.$ac_ext <<EOF |
7819 #line 7820 "configure" | 7824 #line 7825 "configure" |
7820 #include "confdefs.h" | 7825 #include "confdefs.h" |
7821 | 7826 |
7822 #ifdef __GNUC__ | 7827 #ifdef __GNUC__ |
7823 yes; | 7828 yes; |
7824 #endif | 7829 #endif |
7836 | 7841 |
7837 echo "$ac_t""${XEGCC}" 1>&6 | 7842 echo "$ac_t""${XEGCC}" 1>&6 |
7838 fi | 7843 fi |
7839 | 7844 |
7840 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7845 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7841 echo "configure:7842: checking how to produce PIC code" >&5 | 7846 echo "configure:7847: checking how to produce PIC code" >&5 |
7842 wl= | 7847 wl= |
7843 | 7848 |
7844 can_build_shared=yes | 7849 can_build_shared=yes |
7845 if test "$XEGCC" = yes; then | 7850 if test "$XEGCC" = yes; then |
7846 wl='-Wl,' | 7851 wl='-Wl,' |
7847 | 7852 |
7848 case "$xehost_os" in | 7853 case "$xehost_os" in |
7849 aix[3-9]* | irix[5-9]* | osf[3-9]) | 7854 aix[3-9]* | irix[5-9]* | osf[3-9]) |
7850 # PIC is the default for these OSes. | 7855 # PIC is the default for these OSes. |
7856 ;; | |
7857 | |
7858 *darwin*) dll_cflags='-dynamic' | |
7851 ;; | 7859 ;; |
7852 | 7860 |
7853 os2*) | 7861 os2*) |
7854 # We can build DLLs from non-PIC. | 7862 # We can build DLLs from non-PIC. |
7855 ;; | 7863 ;; |
7937 if test -n "$dll_cflags"; then | 7945 if test -n "$dll_cflags"; then |
7938 echo "$ac_t""${dll_cflags}" 1>&6 | 7946 echo "$ac_t""${dll_cflags}" 1>&6 |
7939 | 7947 |
7940 # Check to make sure the dll_cflags actually works. | 7948 # Check to make sure the dll_cflags actually works. |
7941 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7949 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7942 echo "configure:7943: checking if PIC flag ${dll_cflags} really works" >&5 | 7950 echo "configure:7951: checking if PIC flag ${dll_cflags} really works" >&5 |
7943 save_CFLAGS="$CFLAGS" | 7951 save_CFLAGS="$CFLAGS" |
7944 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7952 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7945 cat > conftest.$ac_ext <<EOF | 7953 cat > conftest.$ac_ext <<EOF |
7946 #line 7947 "configure" | 7954 #line 7955 "configure" |
7947 #include "confdefs.h" | 7955 #include "confdefs.h" |
7948 | 7956 |
7949 int main() { | 7957 int main() { |
7950 int x=0; | 7958 int x=0; |
7951 ; return 0; } | 7959 ; return 0; } |
7952 EOF | 7960 EOF |
7953 if { (eval echo configure:7954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7961 if { (eval echo configure:7962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7954 rm -rf conftest* | 7962 rm -rf conftest* |
7955 | 7963 |
7956 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7964 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7957 # reports no error. So, we need to grep stderr for (Bundled). | 7965 # reports no error. So, we need to grep stderr for (Bundled). |
7958 if grep '(Bundled)' config.log >/dev/null; then | 7966 if grep '(Bundled)' config.log >/dev/null; then |
7979 if test "$can_build_shared" = "yes"; then | 7987 if test "$can_build_shared" = "yes"; then |
7980 cc_produces_so=no | 7988 cc_produces_so=no |
7981 xldf= | 7989 xldf= |
7982 xcldf= | 7990 xcldf= |
7983 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7991 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7984 echo "configure:7985: checking if C compiler can produce shared libraries" >&5 | 7992 echo "configure:7993: checking if C compiler can produce shared libraries" >&5 |
7985 if test "$XEGCC" = yes; then | 7993 if test "$XEGCC" = yes; then |
7986 xcldf="-shared" | 7994 case "$xehost_os" in |
7987 xldf="-shared" | 7995 *darwin*) |
7996 xcldf='-bundle' | |
7997 xldf='-bundle -bundle_loader ../../src/xemacs' | |
7998 ;; | |
7999 *) | |
8000 xcldf="-shared" | |
8001 xldf="-shared" | |
8002 ;; | |
8003 esac | |
7988 else # Not using GCC | 8004 else # Not using GCC |
7989 case "$xehost_os" in | 8005 case "$xehost_os" in |
7990 aix[3-9]*) | 8006 aix[3-9]*) |
7991 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | 8007 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" |
7992 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | 8008 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" |
8030 LDFLAGS="$xcldf $LDFLAGS" | 8046 LDFLAGS="$xcldf $LDFLAGS" |
8031 LIBS= | 8047 LIBS= |
8032 xe_libs= | 8048 xe_libs= |
8033 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8049 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8034 cat > conftest.$ac_ext <<EOF | 8050 cat > conftest.$ac_ext <<EOF |
8035 #line 8036 "configure" | 8051 #line 8052 "configure" |
8036 #include "confdefs.h" | 8052 #include "confdefs.h" |
8037 | 8053 |
8038 int main() { | 8054 int main() { |
8039 int x=0; | 8055 int x=0; |
8040 ; return 0; } | 8056 ; return 0; } |
8041 EOF | 8057 EOF |
8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8043 rm -rf conftest* | 8059 rm -rf conftest* |
8044 cc_produces_so=yes | 8060 cc_produces_so=yes |
8045 else | 8061 else |
8046 echo "configure: failed program was:" >&5 | 8062 echo "configure: failed program was:" >&5 |
8047 cat conftest.$ac_ext >&5 | 8063 cat conftest.$ac_ext >&5 |
8062 if test -z "$LTLD"; then | 8078 if test -z "$LTLD"; then |
8063 ac_prog=ld | 8079 ac_prog=ld |
8064 if test "$XEGCC" = yes; then | 8080 if test "$XEGCC" = yes; then |
8065 # Check if gcc -print-prog-name=ld gives a path. | 8081 # Check if gcc -print-prog-name=ld gives a path. |
8066 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8082 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8067 echo "configure:8068: checking for ld used by GCC" >&5 | 8083 echo "configure:8084: checking for ld used by GCC" >&5 |
8068 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8084 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8069 case "$ac_prog" in | 8085 case "$ac_prog" in |
8070 # Accept absolute paths. | 8086 # Accept absolute paths. |
8071 /*) | 8087 /*) |
8072 if test -z "$LTLD"; then | 8088 if test -z "$LTLD"; then |
8088 with_gnu_ld=unknown | 8104 with_gnu_ld=unknown |
8089 ;; | 8105 ;; |
8090 esac | 8106 esac |
8091 else | 8107 else |
8092 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8108 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8093 echo "configure:8094: checking for GNU ld" >&5 | 8109 echo "configure:8110: checking for GNU ld" >&5 |
8094 fi | 8110 fi |
8095 | 8111 |
8096 if test -z "$LTLD"; then | 8112 if test -z "$LTLD"; then |
8097 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8098 for ac_dir in $PATH; do | 8114 for ac_dir in $PATH; do |
8126 | 8142 |
8127 ld_dynamic_link_flags= | 8143 ld_dynamic_link_flags= |
8128 | 8144 |
8129 # Check to see if it really is or isn't GNU ld. | 8145 # Check to see if it really is or isn't GNU ld. |
8130 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8146 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8131 echo "configure:8132: checking if the linker is GNU ld" >&5 | 8147 echo "configure:8148: checking if the linker is GNU ld" >&5 |
8132 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8148 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8133 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8149 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8134 xe_gnu_ld=yes | 8150 xe_gnu_ld=yes |
8135 else | 8151 else |
8136 xe_gnu_ld=no | 8152 xe_gnu_ld=no |
8147 ;; | 8163 ;; |
8148 esac | 8164 esac |
8149 | 8165 |
8150 if test "$cc_produces_so" = "yes"; then | 8166 if test "$cc_produces_so" = "yes"; then |
8151 dll_ld=$CC | 8167 dll_ld=$CC |
8152 dll_ldflags=$xcldf | 8168 case "$xehost_os" in |
8169 *darwin*) | |
8170 dll_ldflags=$xldf | |
8171 ;; | |
8172 *) | |
8173 dll_ldflags=$xcldf | |
8174 ;; | |
8175 esac | |
8153 can_build_shared=yes | 8176 can_build_shared=yes |
8154 ld_shlibs=yes | 8177 ld_shlibs=yes |
8155 else | 8178 else |
8156 # OK - only NOW do we futz about with ld. | 8179 # OK - only NOW do we futz about with ld. |
8157 # See if the linker supports building shared libraries. | 8180 # See if the linker supports building shared libraries. |
8158 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8181 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8159 echo "configure:8160: checking whether the linker supports shared libraries" >&5 | 8182 echo "configure:8183: checking whether the linker supports shared libraries" >&5 |
8160 dll_ld=$CC | 8183 dll_ld=$CC |
8161 dll_ldflags=$LDFLAGS | 8184 dll_ldflags=$LDFLAGS |
8162 ld_shlibs=yes | 8185 ld_shlibs=yes |
8163 can_build_shared=yes | 8186 can_build_shared=yes |
8164 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8187 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8283 case "$xehost_os" in | 8306 case "$xehost_os" in |
8284 aix[3-9]*) | 8307 aix[3-9]*) |
8285 ld_dynamic_link_flags= | 8308 ld_dynamic_link_flags= |
8286 ;; | 8309 ;; |
8287 | 8310 |
8311 *darwin*) | |
8312 ld_dynamic_link_flags= | |
8313 ;; | |
8314 | |
8288 freebsd2.2*) | 8315 freebsd2.2*) |
8289 ld_dynamic_link_flags= | 8316 ld_dynamic_link_flags= |
8290 ;; | 8317 ;; |
8291 | 8318 |
8292 freebsd2*) | 8319 freebsd2*) |
8363 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8390 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8364 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8391 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8365 for ac_func in dlerror _dlerror | 8392 for ac_func in dlerror _dlerror |
8366 do | 8393 do |
8367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8368 echo "configure:8369: checking for $ac_func" >&5 | 8395 echo "configure:8396: checking for $ac_func" >&5 |
8369 | 8396 |
8370 cat > conftest.$ac_ext <<EOF | 8397 cat > conftest.$ac_ext <<EOF |
8371 #line 8372 "configure" | 8398 #line 8399 "configure" |
8372 #include "confdefs.h" | 8399 #include "confdefs.h" |
8373 /* System header to define __stub macros and hopefully few prototypes, | 8400 /* System header to define __stub macros and hopefully few prototypes, |
8374 which can conflict with char $ac_func(); below. */ | 8401 which can conflict with char $ac_func(); below. */ |
8375 #include <assert.h> | 8402 #include <assert.h> |
8376 /* Override any gcc2 internal prototype to avoid an error. */ | 8403 /* Override any gcc2 internal prototype to avoid an error. */ |
8389 $ac_func(); | 8416 $ac_func(); |
8390 #endif | 8417 #endif |
8391 | 8418 |
8392 ; return 0; } | 8419 ; return 0; } |
8393 EOF | 8420 EOF |
8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8421 if { (eval echo configure:8422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8395 rm -rf conftest* | 8422 rm -rf conftest* |
8396 eval "ac_cv_func_$ac_func=yes" | 8423 eval "ac_cv_func_$ac_func=yes" |
8397 else | 8424 else |
8398 echo "configure: failed program was:" >&5 | 8425 echo "configure: failed program was:" >&5 |
8399 cat conftest.$ac_ext >&5 | 8426 cat conftest.$ac_ext >&5 |
8453 | 8480 |
8454 if test "$with_tooltalk" != "no" ; then | 8481 if test "$with_tooltalk" != "no" ; then |
8455 for dir in "" "Tt/" "desktop/" ; do | 8482 for dir in "" "Tt/" "desktop/" ; do |
8456 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8483 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8457 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8484 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8458 echo "configure:8459: checking for ${dir}tt_c.h" >&5 | 8485 echo "configure:8486: checking for ${dir}tt_c.h" >&5 |
8459 | 8486 |
8460 cat > conftest.$ac_ext <<EOF | 8487 cat > conftest.$ac_ext <<EOF |
8461 #line 8462 "configure" | 8488 #line 8489 "configure" |
8462 #include "confdefs.h" | 8489 #include "confdefs.h" |
8463 #include <${dir}tt_c.h> | 8490 #include <${dir}tt_c.h> |
8464 EOF | 8491 EOF |
8465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8466 { (eval echo configure:8467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8468 if test -z "$ac_err"; then | 8495 if test -z "$ac_err"; then |
8469 rm -rf conftest* | 8496 rm -rf conftest* |
8470 eval "ac_cv_header_$ac_safe=yes" | 8497 eval "ac_cv_header_$ac_safe=yes" |
8471 else | 8498 else |
8497 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8524 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8498 | 8525 |
8499 xe_msg_checking="for tt_message_create in -ltt" | 8526 xe_msg_checking="for tt_message_create in -ltt" |
8500 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8527 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8501 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8528 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8502 echo "configure:8503: checking "$xe_msg_checking"" >&5 | 8529 echo "configure:8530: checking "$xe_msg_checking"" >&5 |
8503 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8530 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8504 | 8531 |
8505 xe_check_libs=" -ltt $extra_libs" | 8532 xe_check_libs=" -ltt $extra_libs" |
8506 cat > conftest.$ac_ext <<EOF | 8533 cat > conftest.$ac_ext <<EOF |
8507 #line 8508 "configure" | 8534 #line 8535 "configure" |
8508 #include "confdefs.h" | 8535 #include "confdefs.h" |
8509 /* Override any gcc2 internal prototype to avoid an error. */ | 8536 /* Override any gcc2 internal prototype to avoid an error. */ |
8510 /* We use char because int might match the return type of a gcc2 | 8537 /* We use char because int might match the return type of a gcc2 |
8511 builtin and then its argument prototype would still apply. */ | 8538 builtin and then its argument prototype would still apply. */ |
8512 char tt_message_create(); | 8539 char tt_message_create(); |
8513 | 8540 |
8514 int main() { | 8541 int main() { |
8515 tt_message_create() | 8542 tt_message_create() |
8516 ; return 0; } | 8543 ; return 0; } |
8517 EOF | 8544 EOF |
8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8519 rm -rf conftest* | 8546 rm -rf conftest* |
8520 eval "ac_cv_lib_$ac_lib_var=yes" | 8547 eval "ac_cv_lib_$ac_lib_var=yes" |
8521 else | 8548 else |
8522 echo "configure: failed program was:" >&5 | 8549 echo "configure: failed program was:" >&5 |
8523 cat conftest.$ac_ext >&5 | 8550 cat conftest.$ac_ext >&5 |
8567 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8594 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8568 fi | 8595 fi |
8569 | 8596 |
8570 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8597 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8571 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8598 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8572 echo "configure:8573: checking for Dt/Dt.h" >&5 | 8599 echo "configure:8600: checking for Dt/Dt.h" >&5 |
8573 | 8600 |
8574 cat > conftest.$ac_ext <<EOF | 8601 cat > conftest.$ac_ext <<EOF |
8575 #line 8576 "configure" | 8602 #line 8603 "configure" |
8576 #include "confdefs.h" | 8603 #include "confdefs.h" |
8577 #include <Dt/Dt.h> | 8604 #include <Dt/Dt.h> |
8578 EOF | 8605 EOF |
8579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8580 { (eval echo configure:8581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8607 { (eval echo configure:8608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8582 if test -z "$ac_err"; then | 8609 if test -z "$ac_err"; then |
8583 rm -rf conftest* | 8610 rm -rf conftest* |
8584 eval "ac_cv_header_$ac_safe=yes" | 8611 eval "ac_cv_header_$ac_safe=yes" |
8585 else | 8612 else |
8598 with_cde=no | 8625 with_cde=no |
8599 fi | 8626 fi |
8600 } | 8627 } |
8601 test -z "$with_cde" && { | 8628 test -z "$with_cde" && { |
8602 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8629 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8603 echo "configure:8604: checking for DtDndDragStart in -lDtSvc" >&5 | 8630 echo "configure:8631: checking for DtDndDragStart in -lDtSvc" >&5 |
8604 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8631 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8605 | 8632 |
8606 xe_check_libs=" -lDtSvc " | 8633 xe_check_libs=" -lDtSvc " |
8607 cat > conftest.$ac_ext <<EOF | 8634 cat > conftest.$ac_ext <<EOF |
8608 #line 8609 "configure" | 8635 #line 8636 "configure" |
8609 #include "confdefs.h" | 8636 #include "confdefs.h" |
8610 /* Override any gcc2 internal prototype to avoid an error. */ | 8637 /* Override any gcc2 internal prototype to avoid an error. */ |
8611 /* We use char because int might match the return type of a gcc2 | 8638 /* We use char because int might match the return type of a gcc2 |
8612 builtin and then its argument prototype would still apply. */ | 8639 builtin and then its argument prototype would still apply. */ |
8613 char DtDndDragStart(); | 8640 char DtDndDragStart(); |
8614 | 8641 |
8615 int main() { | 8642 int main() { |
8616 DtDndDragStart() | 8643 DtDndDragStart() |
8617 ; return 0; } | 8644 ; return 0; } |
8618 EOF | 8645 EOF |
8619 if { (eval echo configure:8620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8646 if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8620 rm -rf conftest* | 8647 rm -rf conftest* |
8621 eval "ac_cv_lib_$ac_lib_var=yes" | 8648 eval "ac_cv_lib_$ac_lib_var=yes" |
8622 else | 8649 else |
8623 echo "configure: failed program was:" >&5 | 8650 echo "configure: failed program was:" >&5 |
8624 cat conftest.$ac_ext >&5 | 8651 cat conftest.$ac_ext >&5 |
8695 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8722 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8696 fi | 8723 fi |
8697 | 8724 |
8698 if test "$with_dragndrop" != "no" ; then | 8725 if test "$with_dragndrop" != "no" ; then |
8699 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8726 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8700 echo "configure:8701: checking if drag and drop API is needed" >&5 | 8727 echo "configure:8728: checking if drag and drop API is needed" >&5 |
8701 if test -n "$dragndrop_proto" ; then | 8728 if test -n "$dragndrop_proto" ; then |
8702 with_dragndrop=yes | 8729 with_dragndrop=yes |
8703 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8730 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8704 { test "$extra_verbose" = "yes" && cat << \EOF | 8731 { test "$extra_verbose" = "yes" && cat << \EOF |
8705 Defining HAVE_DRAGNDROP | 8732 Defining HAVE_DRAGNDROP |
8715 echo "$ac_t""no" 1>&6 | 8742 echo "$ac_t""no" 1>&6 |
8716 fi | 8743 fi |
8717 fi | 8744 fi |
8718 | 8745 |
8719 echo "checking for LDAP" 1>&6 | 8746 echo "checking for LDAP" 1>&6 |
8720 echo "configure:8721: checking for LDAP" >&5 | 8747 echo "configure:8748: checking for LDAP" >&5 |
8721 ldap_libs= | 8748 ldap_libs= |
8722 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8749 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8723 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8750 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8724 echo "configure:8725: checking for ldap.h" >&5 | 8751 echo "configure:8752: checking for ldap.h" >&5 |
8725 | 8752 |
8726 cat > conftest.$ac_ext <<EOF | 8753 cat > conftest.$ac_ext <<EOF |
8727 #line 8728 "configure" | 8754 #line 8755 "configure" |
8728 #include "confdefs.h" | 8755 #include "confdefs.h" |
8729 #include <ldap.h> | 8756 #include <ldap.h> |
8730 EOF | 8757 EOF |
8731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8732 { (eval echo configure:8733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8734 if test -z "$ac_err"; then | 8761 if test -z "$ac_err"; then |
8735 rm -rf conftest* | 8762 rm -rf conftest* |
8736 eval "ac_cv_header_$ac_safe=yes" | 8763 eval "ac_cv_header_$ac_safe=yes" |
8737 else | 8764 else |
8750 with_ldap=no | 8777 with_ldap=no |
8751 fi | 8778 fi |
8752 } | 8779 } |
8753 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8780 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8754 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8781 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8755 echo "configure:8756: checking for lber.h" >&5 | 8782 echo "configure:8783: checking for lber.h" >&5 |
8756 | 8783 |
8757 cat > conftest.$ac_ext <<EOF | 8784 cat > conftest.$ac_ext <<EOF |
8758 #line 8759 "configure" | 8785 #line 8786 "configure" |
8759 #include "confdefs.h" | 8786 #include "confdefs.h" |
8760 #include <lber.h> | 8787 #include <lber.h> |
8761 EOF | 8788 EOF |
8762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8763 { (eval echo configure:8764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8790 { (eval echo configure:8791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8765 if test -z "$ac_err"; then | 8792 if test -z "$ac_err"; then |
8766 rm -rf conftest* | 8793 rm -rf conftest* |
8767 eval "ac_cv_header_$ac_safe=yes" | 8794 eval "ac_cv_header_$ac_safe=yes" |
8768 else | 8795 else |
8782 fi | 8809 fi |
8783 } | 8810 } |
8784 if test "$with_ldap" != "no"; then | 8811 if test "$with_ldap" != "no"; then |
8785 | 8812 |
8786 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8813 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8787 echo "configure:8788: checking for ldap_search in -lldap" >&5 | 8814 echo "configure:8815: checking for ldap_search in -lldap" >&5 |
8788 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8815 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8789 | 8816 |
8790 xe_check_libs=" -lldap " | 8817 xe_check_libs=" -lldap " |
8791 cat > conftest.$ac_ext <<EOF | 8818 cat > conftest.$ac_ext <<EOF |
8792 #line 8793 "configure" | 8819 #line 8820 "configure" |
8793 #include "confdefs.h" | 8820 #include "confdefs.h" |
8794 /* Override any gcc2 internal prototype to avoid an error. */ | 8821 /* Override any gcc2 internal prototype to avoid an error. */ |
8795 /* We use char because int might match the return type of a gcc2 | 8822 /* We use char because int might match the return type of a gcc2 |
8796 builtin and then its argument prototype would still apply. */ | 8823 builtin and then its argument prototype would still apply. */ |
8797 char ldap_search(); | 8824 char ldap_search(); |
8798 | 8825 |
8799 int main() { | 8826 int main() { |
8800 ldap_search() | 8827 ldap_search() |
8801 ; return 0; } | 8828 ; return 0; } |
8802 EOF | 8829 EOF |
8803 if { (eval echo configure:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8830 if { (eval echo configure:8831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8804 rm -rf conftest* | 8831 rm -rf conftest* |
8805 eval "ac_cv_lib_$ac_lib_var=yes" | 8832 eval "ac_cv_lib_$ac_lib_var=yes" |
8806 else | 8833 else |
8807 echo "configure: failed program was:" >&5 | 8834 echo "configure: failed program was:" >&5 |
8808 cat conftest.$ac_ext >&5 | 8835 cat conftest.$ac_ext >&5 |
8823 | 8850 |
8824 test "$with_ldap_nolber" = "no" && { | 8851 test "$with_ldap_nolber" = "no" && { |
8825 xe_msg_checking="for ldap_open in -lldap" | 8852 xe_msg_checking="for ldap_open in -lldap" |
8826 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8853 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8827 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8854 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8828 echo "configure:8829: checking "$xe_msg_checking"" >&5 | 8855 echo "configure:8856: checking "$xe_msg_checking"" >&5 |
8829 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8856 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8830 | 8857 |
8831 xe_check_libs=" -lldap -llber" | 8858 xe_check_libs=" -lldap -llber" |
8832 cat > conftest.$ac_ext <<EOF | 8859 cat > conftest.$ac_ext <<EOF |
8833 #line 8834 "configure" | 8860 #line 8861 "configure" |
8834 #include "confdefs.h" | 8861 #include "confdefs.h" |
8835 /* Override any gcc2 internal prototype to avoid an error. */ | 8862 /* Override any gcc2 internal prototype to avoid an error. */ |
8836 /* We use char because int might match the return type of a gcc2 | 8863 /* We use char because int might match the return type of a gcc2 |
8837 builtin and then its argument prototype would still apply. */ | 8864 builtin and then its argument prototype would still apply. */ |
8838 char ldap_open(); | 8865 char ldap_open(); |
8839 | 8866 |
8840 int main() { | 8867 int main() { |
8841 ldap_open() | 8868 ldap_open() |
8842 ; return 0; } | 8869 ; return 0; } |
8843 EOF | 8870 EOF |
8844 if { (eval echo configure:8845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8845 rm -rf conftest* | 8872 rm -rf conftest* |
8846 eval "ac_cv_lib_$ac_lib_var=yes" | 8873 eval "ac_cv_lib_$ac_lib_var=yes" |
8847 else | 8874 else |
8848 echo "configure: failed program was:" >&5 | 8875 echo "configure: failed program was:" >&5 |
8849 cat conftest.$ac_ext >&5 | 8876 cat conftest.$ac_ext >&5 |
8864 } | 8891 } |
8865 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8892 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8866 xe_msg_checking="for ldap_open in -lldap" | 8893 xe_msg_checking="for ldap_open in -lldap" |
8867 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8894 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8868 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8895 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8869 echo "configure:8870: checking "$xe_msg_checking"" >&5 | 8896 echo "configure:8897: checking "$xe_msg_checking"" >&5 |
8870 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8897 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8871 | 8898 |
8872 xe_check_libs=" -lldap -llber -lkrb" | 8899 xe_check_libs=" -lldap -llber -lkrb" |
8873 cat > conftest.$ac_ext <<EOF | 8900 cat > conftest.$ac_ext <<EOF |
8874 #line 8875 "configure" | 8901 #line 8902 "configure" |
8875 #include "confdefs.h" | 8902 #include "confdefs.h" |
8876 /* Override any gcc2 internal prototype to avoid an error. */ | 8903 /* Override any gcc2 internal prototype to avoid an error. */ |
8877 /* We use char because int might match the return type of a gcc2 | 8904 /* We use char because int might match the return type of a gcc2 |
8878 builtin and then its argument prototype would still apply. */ | 8905 builtin and then its argument prototype would still apply. */ |
8879 char ldap_open(); | 8906 char ldap_open(); |
8880 | 8907 |
8881 int main() { | 8908 int main() { |
8882 ldap_open() | 8909 ldap_open() |
8883 ; return 0; } | 8910 ; return 0; } |
8884 EOF | 8911 EOF |
8885 if { (eval echo configure:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8912 if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8886 rm -rf conftest* | 8913 rm -rf conftest* |
8887 eval "ac_cv_lib_$ac_lib_var=yes" | 8914 eval "ac_cv_lib_$ac_lib_var=yes" |
8888 else | 8915 else |
8889 echo "configure: failed program was:" >&5 | 8916 echo "configure: failed program was:" >&5 |
8890 cat conftest.$ac_ext >&5 | 8917 cat conftest.$ac_ext >&5 |
8905 } | 8932 } |
8906 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8933 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8907 xe_msg_checking="for ldap_open in -lldap" | 8934 xe_msg_checking="for ldap_open in -lldap" |
8908 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8935 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8909 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8936 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8910 echo "configure:8911: checking "$xe_msg_checking"" >&5 | 8937 echo "configure:8938: checking "$xe_msg_checking"" >&5 |
8911 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8938 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8912 | 8939 |
8913 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8940 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8914 cat > conftest.$ac_ext <<EOF | 8941 cat > conftest.$ac_ext <<EOF |
8915 #line 8916 "configure" | 8942 #line 8943 "configure" |
8916 #include "confdefs.h" | 8943 #include "confdefs.h" |
8917 /* Override any gcc2 internal prototype to avoid an error. */ | 8944 /* Override any gcc2 internal prototype to avoid an error. */ |
8918 /* We use char because int might match the return type of a gcc2 | 8945 /* We use char because int might match the return type of a gcc2 |
8919 builtin and then its argument prototype would still apply. */ | 8946 builtin and then its argument prototype would still apply. */ |
8920 char ldap_open(); | 8947 char ldap_open(); |
8921 | 8948 |
8922 int main() { | 8949 int main() { |
8923 ldap_open() | 8950 ldap_open() |
8924 ; return 0; } | 8951 ; return 0; } |
8925 EOF | 8952 EOF |
8926 if { (eval echo configure:8927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8927 rm -rf conftest* | 8954 rm -rf conftest* |
8928 eval "ac_cv_lib_$ac_lib_var=yes" | 8955 eval "ac_cv_lib_$ac_lib_var=yes" |
8929 else | 8956 else |
8930 echo "configure: failed program was:" >&5 | 8957 echo "configure: failed program was:" >&5 |
8931 cat conftest.$ac_ext >&5 | 8958 cat conftest.$ac_ext >&5 |
8970 fi | 8997 fi |
8971 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8998 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8972 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8999 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8973 do | 9000 do |
8974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8975 echo "configure:8976: checking for $ac_func" >&5 | 9002 echo "configure:9003: checking for $ac_func" >&5 |
8976 | 9003 |
8977 cat > conftest.$ac_ext <<EOF | 9004 cat > conftest.$ac_ext <<EOF |
8978 #line 8979 "configure" | 9005 #line 9006 "configure" |
8979 #include "confdefs.h" | 9006 #include "confdefs.h" |
8980 /* System header to define __stub macros and hopefully few prototypes, | 9007 /* System header to define __stub macros and hopefully few prototypes, |
8981 which can conflict with char $ac_func(); below. */ | 9008 which can conflict with char $ac_func(); below. */ |
8982 #include <assert.h> | 9009 #include <assert.h> |
8983 /* Override any gcc2 internal prototype to avoid an error. */ | 9010 /* Override any gcc2 internal prototype to avoid an error. */ |
8996 $ac_func(); | 9023 $ac_func(); |
8997 #endif | 9024 #endif |
8998 | 9025 |
8999 ; return 0; } | 9026 ; return 0; } |
9000 EOF | 9027 EOF |
9001 if { (eval echo configure:9002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9002 rm -rf conftest* | 9029 rm -rf conftest* |
9003 eval "ac_cv_func_$ac_func=yes" | 9030 eval "ac_cv_func_$ac_func=yes" |
9004 else | 9031 else |
9005 echo "configure: failed program was:" >&5 | 9032 echo "configure: failed program was:" >&5 |
9006 cat conftest.$ac_ext >&5 | 9033 cat conftest.$ac_ext >&5 |
9035 | 9062 |
9036 | 9063 |
9037 postgresql_libs= | 9064 postgresql_libs= |
9038 if test "$with_postgresql" != "no"; then | 9065 if test "$with_postgresql" != "no"; then |
9039 echo "checking for PostgreSQL" 1>&6 | 9066 echo "checking for PostgreSQL" 1>&6 |
9040 echo "configure:9041: checking for PostgreSQL" >&5 | 9067 echo "configure:9068: checking for PostgreSQL" >&5 |
9041 | 9068 |
9042 for header_dir in "" "pgsql/" "postgresql/"; do | 9069 for header_dir in "" "pgsql/" "postgresql/"; do |
9043 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9070 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9044 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9071 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9045 echo "configure:9046: checking for ${header_dir}libpq-fe.h" >&5 | 9072 echo "configure:9073: checking for ${header_dir}libpq-fe.h" >&5 |
9046 | 9073 |
9047 cat > conftest.$ac_ext <<EOF | 9074 cat > conftest.$ac_ext <<EOF |
9048 #line 9049 "configure" | 9075 #line 9076 "configure" |
9049 #include "confdefs.h" | 9076 #include "confdefs.h" |
9050 #include <${header_dir}libpq-fe.h> | 9077 #include <${header_dir}libpq-fe.h> |
9051 EOF | 9078 EOF |
9052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9053 { (eval echo configure:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9055 if test -z "$ac_err"; then | 9082 if test -z "$ac_err"; then |
9056 rm -rf conftest* | 9083 rm -rf conftest* |
9057 eval "ac_cv_header_$ac_safe=yes" | 9084 eval "ac_cv_header_$ac_safe=yes" |
9058 else | 9085 else |
9072 | 9099 |
9073 done | 9100 done |
9074 | 9101 |
9075 test -n "$libpq_fe_h_file" && { | 9102 test -n "$libpq_fe_h_file" && { |
9076 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9103 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9077 echo "configure:9078: checking for PQconnectdb in -lpq" >&5 | 9104 echo "configure:9105: checking for PQconnectdb in -lpq" >&5 |
9078 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9105 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9079 | 9106 |
9080 xe_check_libs=" -lpq " | 9107 xe_check_libs=" -lpq " |
9081 cat > conftest.$ac_ext <<EOF | 9108 cat > conftest.$ac_ext <<EOF |
9082 #line 9083 "configure" | 9109 #line 9110 "configure" |
9083 #include "confdefs.h" | 9110 #include "confdefs.h" |
9084 /* Override any gcc2 internal prototype to avoid an error. */ | 9111 /* Override any gcc2 internal prototype to avoid an error. */ |
9085 /* We use char because int might match the return type of a gcc2 | 9112 /* We use char because int might match the return type of a gcc2 |
9086 builtin and then its argument prototype would still apply. */ | 9113 builtin and then its argument prototype would still apply. */ |
9087 char PQconnectdb(); | 9114 char PQconnectdb(); |
9088 | 9115 |
9089 int main() { | 9116 int main() { |
9090 PQconnectdb() | 9117 PQconnectdb() |
9091 ; return 0; } | 9118 ; return 0; } |
9092 EOF | 9119 EOF |
9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9094 rm -rf conftest* | 9121 rm -rf conftest* |
9095 eval "ac_cv_lib_$ac_lib_var=yes" | 9122 eval "ac_cv_lib_$ac_lib_var=yes" |
9096 else | 9123 else |
9097 echo "configure: failed program was:" >&5 | 9124 echo "configure: failed program was:" >&5 |
9098 cat conftest.$ac_ext >&5 | 9125 cat conftest.$ac_ext >&5 |
9121 EOF | 9148 EOF |
9122 } | 9149 } |
9123 | 9150 |
9124 | 9151 |
9125 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9152 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9126 echo "configure:9127: checking for PQconnectStart in -lpq" >&5 | 9153 echo "configure:9154: checking for PQconnectStart in -lpq" >&5 |
9127 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9154 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9128 | 9155 |
9129 xe_check_libs=" -lpq " | 9156 xe_check_libs=" -lpq " |
9130 cat > conftest.$ac_ext <<EOF | 9157 cat > conftest.$ac_ext <<EOF |
9131 #line 9132 "configure" | 9158 #line 9159 "configure" |
9132 #include "confdefs.h" | 9159 #include "confdefs.h" |
9133 /* Override any gcc2 internal prototype to avoid an error. */ | 9160 /* Override any gcc2 internal prototype to avoid an error. */ |
9134 /* We use char because int might match the return type of a gcc2 | 9161 /* We use char because int might match the return type of a gcc2 |
9135 builtin and then its argument prototype would still apply. */ | 9162 builtin and then its argument prototype would still apply. */ |
9136 char PQconnectStart(); | 9163 char PQconnectStart(); |
9137 | 9164 |
9138 int main() { | 9165 int main() { |
9139 PQconnectStart() | 9166 PQconnectStart() |
9140 ; return 0; } | 9167 ; return 0; } |
9141 EOF | 9168 EOF |
9142 if { (eval echo configure:9143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9169 if { (eval echo configure:9170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9143 rm -rf conftest* | 9170 rm -rf conftest* |
9144 eval "ac_cv_lib_$ac_lib_var=yes" | 9171 eval "ac_cv_lib_$ac_lib_var=yes" |
9145 else | 9172 else |
9146 echo "configure: failed program was:" >&5 | 9173 echo "configure: failed program was:" >&5 |
9147 cat conftest.$ac_ext >&5 | 9174 cat conftest.$ac_ext >&5 |
9188 | 9215 |
9189 | 9216 |
9190 | 9217 |
9191 if test "$window_system" != "none"; then | 9218 if test "$window_system" != "none"; then |
9192 echo "checking for graphics libraries" 1>&6 | 9219 echo "checking for graphics libraries" 1>&6 |
9193 echo "configure:9194: checking for graphics libraries" >&5 | 9220 echo "configure:9221: checking for graphics libraries" >&5 |
9194 | 9221 |
9195 libpath_xpm= | 9222 libpath_xpm= |
9196 incpath_xpm= | 9223 incpath_xpm= |
9197 case "$opsys" in | 9224 case "$opsys" in |
9198 cygwin*) | 9225 cygwin*) |
9214 xpm_problem="" | 9241 xpm_problem="" |
9215 if test -z "$with_xpm"; then | 9242 if test -z "$with_xpm"; then |
9216 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9243 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9217 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9244 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9218 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9245 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9219 echo "configure:9220: checking for Xpm - no older than 3.4f" >&5 | 9246 echo "configure:9247: checking for Xpm - no older than 3.4f" >&5 |
9220 xe_check_libs=-lXpm | 9247 xe_check_libs=-lXpm |
9221 cat > conftest.$ac_ext <<EOF | 9248 cat > conftest.$ac_ext <<EOF |
9222 #line 9223 "configure" | 9249 #line 9250 "configure" |
9223 #include "confdefs.h" | 9250 #include "confdefs.h" |
9224 #define XPM_NUMBERS | 9251 #define XPM_NUMBERS |
9225 #include <X11/xpm.h> | 9252 #include <X11/xpm.h> |
9226 int main(int c, char **v) { | 9253 int main(int c, char **v) { |
9227 return c == 1 ? 0 : | 9254 return c == 1 ? 0 : |
9228 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9255 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9229 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9256 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9230 EOF | 9257 EOF |
9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9258 if { (eval echo configure:9259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9232 then | 9259 then |
9233 ./conftest dummy_arg; xpm_status=$?; | 9260 ./conftest dummy_arg; xpm_status=$?; |
9234 if test "$xpm_status" = "0"; then | 9261 if test "$xpm_status" = "0"; then |
9235 with_xpm=yes; | 9262 with_xpm=yes; |
9236 else | 9263 else |
9270 | 9297 |
9271 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9298 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9272 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9299 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9273 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9300 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9274 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9301 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9275 echo "configure:9276: checking for \"FOR_MSW\" xpm" >&5 | 9302 echo "configure:9303: checking for \"FOR_MSW\" xpm" >&5 |
9276 xe_check_libs=-lXpm | 9303 xe_check_libs=-lXpm |
9277 cat > conftest.$ac_ext <<EOF | 9304 cat > conftest.$ac_ext <<EOF |
9278 #line 9279 "configure" | 9305 #line 9306 "configure" |
9279 #include "confdefs.h" | 9306 #include "confdefs.h" |
9280 | 9307 |
9281 int main() { | 9308 int main() { |
9282 XpmCreatePixmapFromData() | 9309 XpmCreatePixmapFromData() |
9283 ; return 0; } | 9310 ; return 0; } |
9284 EOF | 9311 EOF |
9285 if { (eval echo configure:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9286 rm -rf conftest* | 9313 rm -rf conftest* |
9287 xpm_for_msw=no | 9314 xpm_for_msw=no |
9288 else | 9315 else |
9289 echo "configure: failed program was:" >&5 | 9316 echo "configure: failed program was:" >&5 |
9290 cat conftest.$ac_ext >&5 | 9317 cat conftest.$ac_ext >&5 |
9306 fi | 9333 fi |
9307 fi | 9334 fi |
9308 | 9335 |
9309 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9336 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9310 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9337 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9311 echo "configure:9312: checking for compface.h" >&5 | 9338 echo "configure:9339: checking for compface.h" >&5 |
9312 | 9339 |
9313 cat > conftest.$ac_ext <<EOF | 9340 cat > conftest.$ac_ext <<EOF |
9314 #line 9315 "configure" | 9341 #line 9342 "configure" |
9315 #include "confdefs.h" | 9342 #include "confdefs.h" |
9316 #include <compface.h> | 9343 #include <compface.h> |
9317 EOF | 9344 EOF |
9318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9319 { (eval echo configure:9320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9346 { (eval echo configure:9347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9321 if test -z "$ac_err"; then | 9348 if test -z "$ac_err"; then |
9322 rm -rf conftest* | 9349 rm -rf conftest* |
9323 eval "ac_cv_header_$ac_safe=yes" | 9350 eval "ac_cv_header_$ac_safe=yes" |
9324 else | 9351 else |
9337 with_xface=no | 9364 with_xface=no |
9338 fi | 9365 fi |
9339 } | 9366 } |
9340 test -z "$with_xface" && { | 9367 test -z "$with_xface" && { |
9341 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9368 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9342 echo "configure:9343: checking for UnGenFace in -lcompface" >&5 | 9369 echo "configure:9370: checking for UnGenFace in -lcompface" >&5 |
9343 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9370 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9344 | 9371 |
9345 xe_check_libs=" -lcompface " | 9372 xe_check_libs=" -lcompface " |
9346 cat > conftest.$ac_ext <<EOF | 9373 cat > conftest.$ac_ext <<EOF |
9347 #line 9348 "configure" | 9374 #line 9375 "configure" |
9348 #include "confdefs.h" | 9375 #include "confdefs.h" |
9349 /* Override any gcc2 internal prototype to avoid an error. */ | 9376 /* Override any gcc2 internal prototype to avoid an error. */ |
9350 /* We use char because int might match the return type of a gcc2 | 9377 /* We use char because int might match the return type of a gcc2 |
9351 builtin and then its argument prototype would still apply. */ | 9378 builtin and then its argument prototype would still apply. */ |
9352 char UnGenFace(); | 9379 char UnGenFace(); |
9353 | 9380 |
9354 int main() { | 9381 int main() { |
9355 UnGenFace() | 9382 UnGenFace() |
9356 ; return 0; } | 9383 ; return 0; } |
9357 EOF | 9384 EOF |
9358 if { (eval echo configure:9359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9359 rm -rf conftest* | 9386 rm -rf conftest* |
9360 eval "ac_cv_lib_$ac_lib_var=yes" | 9387 eval "ac_cv_lib_$ac_lib_var=yes" |
9361 else | 9388 else |
9362 echo "configure: failed program was:" >&5 | 9389 echo "configure: failed program was:" >&5 |
9363 cat conftest.$ac_ext >&5 | 9390 cat conftest.$ac_ext >&5 |
9402 fi | 9429 fi |
9403 | 9430 |
9404 if test "$with_png $with_tiff" != "no no"; then | 9431 if test "$with_png $with_tiff" != "no no"; then |
9405 | 9432 |
9406 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9433 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9407 echo "configure:9408: checking for inflate in -lc" >&5 | 9434 echo "configure:9435: checking for inflate in -lc" >&5 |
9408 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9435 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9409 | 9436 |
9410 xe_check_libs=" -lc " | 9437 xe_check_libs=" -lc " |
9411 cat > conftest.$ac_ext <<EOF | 9438 cat > conftest.$ac_ext <<EOF |
9412 #line 9413 "configure" | 9439 #line 9440 "configure" |
9413 #include "confdefs.h" | 9440 #include "confdefs.h" |
9414 /* Override any gcc2 internal prototype to avoid an error. */ | 9441 /* Override any gcc2 internal prototype to avoid an error. */ |
9415 /* We use char because int might match the return type of a gcc2 | 9442 /* We use char because int might match the return type of a gcc2 |
9416 builtin and then its argument prototype would still apply. */ | 9443 builtin and then its argument prototype would still apply. */ |
9417 char inflate(); | 9444 char inflate(); |
9418 | 9445 |
9419 int main() { | 9446 int main() { |
9420 inflate() | 9447 inflate() |
9421 ; return 0; } | 9448 ; return 0; } |
9422 EOF | 9449 EOF |
9423 if { (eval echo configure:9424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9424 rm -rf conftest* | 9451 rm -rf conftest* |
9425 eval "ac_cv_lib_$ac_lib_var=yes" | 9452 eval "ac_cv_lib_$ac_lib_var=yes" |
9426 else | 9453 else |
9427 echo "configure: failed program was:" >&5 | 9454 echo "configure: failed program was:" >&5 |
9428 cat conftest.$ac_ext >&5 | 9455 cat conftest.$ac_ext >&5 |
9437 : | 9464 : |
9438 else | 9465 else |
9439 echo "$ac_t""no" 1>&6 | 9466 echo "$ac_t""no" 1>&6 |
9440 | 9467 |
9441 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9468 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9442 echo "configure:9443: checking for inflate in -lz" >&5 | 9469 echo "configure:9470: checking for inflate in -lz" >&5 |
9443 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9470 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9444 | 9471 |
9445 xe_check_libs=" -lz " | 9472 xe_check_libs=" -lz " |
9446 cat > conftest.$ac_ext <<EOF | 9473 cat > conftest.$ac_ext <<EOF |
9447 #line 9448 "configure" | 9474 #line 9475 "configure" |
9448 #include "confdefs.h" | 9475 #include "confdefs.h" |
9449 /* Override any gcc2 internal prototype to avoid an error. */ | 9476 /* Override any gcc2 internal prototype to avoid an error. */ |
9450 /* We use char because int might match the return type of a gcc2 | 9477 /* We use char because int might match the return type of a gcc2 |
9451 builtin and then its argument prototype would still apply. */ | 9478 builtin and then its argument prototype would still apply. */ |
9452 char inflate(); | 9479 char inflate(); |
9453 | 9480 |
9454 int main() { | 9481 int main() { |
9455 inflate() | 9482 inflate() |
9456 ; return 0; } | 9483 ; return 0; } |
9457 EOF | 9484 EOF |
9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9485 if { (eval echo configure:9486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9459 rm -rf conftest* | 9486 rm -rf conftest* |
9460 eval "ac_cv_lib_$ac_lib_var=yes" | 9487 eval "ac_cv_lib_$ac_lib_var=yes" |
9461 else | 9488 else |
9462 echo "configure: failed program was:" >&5 | 9489 echo "configure: failed program was:" >&5 |
9463 cat conftest.$ac_ext >&5 | 9490 cat conftest.$ac_ext >&5 |
9472 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9499 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9473 else | 9500 else |
9474 echo "$ac_t""no" 1>&6 | 9501 echo "$ac_t""no" 1>&6 |
9475 | 9502 |
9476 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9503 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9477 echo "configure:9478: checking for inflate in -lgz" >&5 | 9504 echo "configure:9505: checking for inflate in -lgz" >&5 |
9478 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9505 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9479 | 9506 |
9480 xe_check_libs=" -lgz " | 9507 xe_check_libs=" -lgz " |
9481 cat > conftest.$ac_ext <<EOF | 9508 cat > conftest.$ac_ext <<EOF |
9482 #line 9483 "configure" | 9509 #line 9510 "configure" |
9483 #include "confdefs.h" | 9510 #include "confdefs.h" |
9484 /* Override any gcc2 internal prototype to avoid an error. */ | 9511 /* Override any gcc2 internal prototype to avoid an error. */ |
9485 /* We use char because int might match the return type of a gcc2 | 9512 /* We use char because int might match the return type of a gcc2 |
9486 builtin and then its argument prototype would still apply. */ | 9513 builtin and then its argument prototype would still apply. */ |
9487 char inflate(); | 9514 char inflate(); |
9488 | 9515 |
9489 int main() { | 9516 int main() { |
9490 inflate() | 9517 inflate() |
9491 ; return 0; } | 9518 ; return 0; } |
9492 EOF | 9519 EOF |
9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9494 rm -rf conftest* | 9521 rm -rf conftest* |
9495 eval "ac_cv_lib_$ac_lib_var=yes" | 9522 eval "ac_cv_lib_$ac_lib_var=yes" |
9496 else | 9523 else |
9497 echo "configure: failed program was:" >&5 | 9524 echo "configure: failed program was:" >&5 |
9498 cat conftest.$ac_ext >&5 | 9525 cat conftest.$ac_ext >&5 |
9518 | 9545 |
9519 fi | 9546 fi |
9520 | 9547 |
9521 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9548 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9522 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9549 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9523 echo "configure:9524: checking for jpeglib.h" >&5 | 9550 echo "configure:9551: checking for jpeglib.h" >&5 |
9524 | 9551 |
9525 cat > conftest.$ac_ext <<EOF | 9552 cat > conftest.$ac_ext <<EOF |
9526 #line 9527 "configure" | 9553 #line 9554 "configure" |
9527 #include "confdefs.h" | 9554 #include "confdefs.h" |
9528 #include <jpeglib.h> | 9555 #include <jpeglib.h> |
9529 EOF | 9556 EOF |
9530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9531 { (eval echo configure:9532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9558 { (eval echo configure:9559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9533 if test -z "$ac_err"; then | 9560 if test -z "$ac_err"; then |
9534 rm -rf conftest* | 9561 rm -rf conftest* |
9535 eval "ac_cv_header_$ac_safe=yes" | 9562 eval "ac_cv_header_$ac_safe=yes" |
9536 else | 9563 else |
9549 with_jpeg=no | 9576 with_jpeg=no |
9550 fi | 9577 fi |
9551 } | 9578 } |
9552 test -z "$with_jpeg" && { | 9579 test -z "$with_jpeg" && { |
9553 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9580 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9554 echo "configure:9555: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9581 echo "configure:9582: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9555 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9582 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9556 | 9583 |
9557 xe_check_libs=" -ljpeg " | 9584 xe_check_libs=" -ljpeg " |
9558 cat > conftest.$ac_ext <<EOF | 9585 cat > conftest.$ac_ext <<EOF |
9559 #line 9560 "configure" | 9586 #line 9587 "configure" |
9560 #include "confdefs.h" | 9587 #include "confdefs.h" |
9561 /* Override any gcc2 internal prototype to avoid an error. */ | 9588 /* Override any gcc2 internal prototype to avoid an error. */ |
9562 /* We use char because int might match the return type of a gcc2 | 9589 /* We use char because int might match the return type of a gcc2 |
9563 builtin and then its argument prototype would still apply. */ | 9590 builtin and then its argument prototype would still apply. */ |
9564 char jpeg_destroy_decompress(); | 9591 char jpeg_destroy_decompress(); |
9565 | 9592 |
9566 int main() { | 9593 int main() { |
9567 jpeg_destroy_decompress() | 9594 jpeg_destroy_decompress() |
9568 ; return 0; } | 9595 ; return 0; } |
9569 EOF | 9596 EOF |
9570 if { (eval echo configure:9571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9571 rm -rf conftest* | 9598 rm -rf conftest* |
9572 eval "ac_cv_lib_$ac_lib_var=yes" | 9599 eval "ac_cv_lib_$ac_lib_var=yes" |
9573 else | 9600 else |
9574 echo "configure: failed program was:" >&5 | 9601 echo "configure: failed program was:" >&5 |
9575 cat conftest.$ac_ext >&5 | 9602 cat conftest.$ac_ext >&5 |
9601 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9628 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9602 fi | 9629 fi |
9603 | 9630 |
9604 png_problem="" | 9631 png_problem="" |
9605 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9632 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9606 echo "configure:9607: checking for pow" >&5 | 9633 echo "configure:9634: checking for pow" >&5 |
9607 | 9634 |
9608 cat > conftest.$ac_ext <<EOF | 9635 cat > conftest.$ac_ext <<EOF |
9609 #line 9610 "configure" | 9636 #line 9637 "configure" |
9610 #include "confdefs.h" | 9637 #include "confdefs.h" |
9611 /* System header to define __stub macros and hopefully few prototypes, | 9638 /* System header to define __stub macros and hopefully few prototypes, |
9612 which can conflict with char pow(); below. */ | 9639 which can conflict with char pow(); below. */ |
9613 #include <assert.h> | 9640 #include <assert.h> |
9614 /* Override any gcc2 internal prototype to avoid an error. */ | 9641 /* Override any gcc2 internal prototype to avoid an error. */ |
9627 pow(); | 9654 pow(); |
9628 #endif | 9655 #endif |
9629 | 9656 |
9630 ; return 0; } | 9657 ; return 0; } |
9631 EOF | 9658 EOF |
9632 if { (eval echo configure:9633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9659 if { (eval echo configure:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9633 rm -rf conftest* | 9660 rm -rf conftest* |
9634 eval "ac_cv_func_pow=yes" | 9661 eval "ac_cv_func_pow=yes" |
9635 else | 9662 else |
9636 echo "configure: failed program was:" >&5 | 9663 echo "configure: failed program was:" >&5 |
9637 cat conftest.$ac_ext >&5 | 9664 cat conftest.$ac_ext >&5 |
9648 with_png=no | 9675 with_png=no |
9649 fi | 9676 fi |
9650 } | 9677 } |
9651 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9678 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9652 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9679 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9653 echo "configure:9654: checking for png.h" >&5 | 9680 echo "configure:9681: checking for png.h" >&5 |
9654 | 9681 |
9655 cat > conftest.$ac_ext <<EOF | 9682 cat > conftest.$ac_ext <<EOF |
9656 #line 9657 "configure" | 9683 #line 9684 "configure" |
9657 #include "confdefs.h" | 9684 #include "confdefs.h" |
9658 #include <png.h> | 9685 #include <png.h> |
9659 EOF | 9686 EOF |
9660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9661 { (eval echo configure:9662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9688 { (eval echo configure:9689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9663 if test -z "$ac_err"; then | 9690 if test -z "$ac_err"; then |
9664 rm -rf conftest* | 9691 rm -rf conftest* |
9665 eval "ac_cv_header_$ac_safe=yes" | 9692 eval "ac_cv_header_$ac_safe=yes" |
9666 else | 9693 else |
9679 with_png=no | 9706 with_png=no |
9680 fi | 9707 fi |
9681 } | 9708 } |
9682 test -z "$with_png" && { | 9709 test -z "$with_png" && { |
9683 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9710 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9684 echo "configure:9685: checking for png_read_image in -lpng" >&5 | 9711 echo "configure:9712: checking for png_read_image in -lpng" >&5 |
9685 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9712 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9686 | 9713 |
9687 xe_check_libs=" -lpng " | 9714 xe_check_libs=" -lpng " |
9688 cat > conftest.$ac_ext <<EOF | 9715 cat > conftest.$ac_ext <<EOF |
9689 #line 9690 "configure" | 9716 #line 9717 "configure" |
9690 #include "confdefs.h" | 9717 #include "confdefs.h" |
9691 /* Override any gcc2 internal prototype to avoid an error. */ | 9718 /* Override any gcc2 internal prototype to avoid an error. */ |
9692 /* We use char because int might match the return type of a gcc2 | 9719 /* We use char because int might match the return type of a gcc2 |
9693 builtin and then its argument prototype would still apply. */ | 9720 builtin and then its argument prototype would still apply. */ |
9694 char png_read_image(); | 9721 char png_read_image(); |
9695 | 9722 |
9696 int main() { | 9723 int main() { |
9697 png_read_image() | 9724 png_read_image() |
9698 ; return 0; } | 9725 ; return 0; } |
9699 EOF | 9726 EOF |
9700 if { (eval echo configure:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9727 if { (eval echo configure:9728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9701 rm -rf conftest* | 9728 rm -rf conftest* |
9702 eval "ac_cv_lib_$ac_lib_var=yes" | 9729 eval "ac_cv_lib_$ac_lib_var=yes" |
9703 else | 9730 else |
9704 echo "configure: failed program was:" >&5 | 9731 echo "configure: failed program was:" >&5 |
9705 cat conftest.$ac_ext >&5 | 9732 cat conftest.$ac_ext >&5 |
9718 fi | 9745 fi |
9719 | 9746 |
9720 } | 9747 } |
9721 if test -z "$with_png"; then | 9748 if test -z "$with_png"; then |
9722 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9749 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9723 echo "configure:9724: checking for workable png version information" >&5 | 9750 echo "configure:9751: checking for workable png version information" >&5 |
9724 xe_check_libs="-lpng -lz" | 9751 xe_check_libs="-lpng -lz" |
9725 cat > conftest.$ac_ext <<EOF | 9752 cat > conftest.$ac_ext <<EOF |
9726 #line 9727 "configure" | 9753 #line 9754 "configure" |
9727 #include "confdefs.h" | 9754 #include "confdefs.h" |
9728 #include <png.h> | 9755 #include <png.h> |
9729 int main(int c, char **v) { | 9756 int main(int c, char **v) { |
9730 if (c == 1) return 0; | 9757 if (c == 1) return 0; |
9731 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9758 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9732 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9759 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9733 EOF | 9760 EOF |
9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9735 then | 9762 then |
9736 ./conftest dummy_arg; png_status=$?; | 9763 ./conftest dummy_arg; png_status=$?; |
9737 if test "$png_status" = "0"; then | 9764 if test "$png_status" = "0"; then |
9738 with_png=yes; | 9765 with_png=yes; |
9739 else | 9766 else |
9772 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9799 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9773 fi | 9800 fi |
9774 | 9801 |
9775 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9802 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9776 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9803 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9777 echo "configure:9778: checking for tiffio.h" >&5 | 9804 echo "configure:9805: checking for tiffio.h" >&5 |
9778 | 9805 |
9779 cat > conftest.$ac_ext <<EOF | 9806 cat > conftest.$ac_ext <<EOF |
9780 #line 9781 "configure" | 9807 #line 9808 "configure" |
9781 #include "confdefs.h" | 9808 #include "confdefs.h" |
9782 #include <tiffio.h> | 9809 #include <tiffio.h> |
9783 EOF | 9810 EOF |
9784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9785 { (eval echo configure:9786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9787 if test -z "$ac_err"; then | 9814 if test -z "$ac_err"; then |
9788 rm -rf conftest* | 9815 rm -rf conftest* |
9789 eval "ac_cv_header_$ac_safe=yes" | 9816 eval "ac_cv_header_$ac_safe=yes" |
9790 else | 9817 else |
9803 with_tiff=no | 9830 with_tiff=no |
9804 fi | 9831 fi |
9805 } | 9832 } |
9806 test -z "$with_tiff" && { | 9833 test -z "$with_tiff" && { |
9807 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9834 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9808 echo "configure:9809: checking for TIFFClientOpen in -ltiff" >&5 | 9835 echo "configure:9836: checking for TIFFClientOpen in -ltiff" >&5 |
9809 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9836 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9810 | 9837 |
9811 xe_check_libs=" -ltiff " | 9838 xe_check_libs=" -ltiff " |
9812 cat > conftest.$ac_ext <<EOF | 9839 cat > conftest.$ac_ext <<EOF |
9813 #line 9814 "configure" | 9840 #line 9841 "configure" |
9814 #include "confdefs.h" | 9841 #include "confdefs.h" |
9815 /* Override any gcc2 internal prototype to avoid an error. */ | 9842 /* Override any gcc2 internal prototype to avoid an error. */ |
9816 /* We use char because int might match the return type of a gcc2 | 9843 /* We use char because int might match the return type of a gcc2 |
9817 builtin and then its argument prototype would still apply. */ | 9844 builtin and then its argument prototype would still apply. */ |
9818 char TIFFClientOpen(); | 9845 char TIFFClientOpen(); |
9819 | 9846 |
9820 int main() { | 9847 int main() { |
9821 TIFFClientOpen() | 9848 TIFFClientOpen() |
9822 ; return 0; } | 9849 ; return 0; } |
9823 EOF | 9850 EOF |
9824 if { (eval echo configure:9825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9825 rm -rf conftest* | 9852 rm -rf conftest* |
9826 eval "ac_cv_lib_$ac_lib_var=yes" | 9853 eval "ac_cv_lib_$ac_lib_var=yes" |
9827 else | 9854 else |
9828 echo "configure: failed program was:" >&5 | 9855 echo "configure: failed program was:" >&5 |
9829 cat conftest.$ac_ext >&5 | 9856 cat conftest.$ac_ext >&5 |
9858 | 9885 |
9859 | 9886 |
9860 if test "$with_gtk" = "yes"; then | 9887 if test "$with_gtk" = "yes"; then |
9861 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9888 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9862 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9889 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9863 echo "configure:9864: checking for compface.h" >&5 | 9890 echo "configure:9891: checking for compface.h" >&5 |
9864 | 9891 |
9865 cat > conftest.$ac_ext <<EOF | 9892 cat > conftest.$ac_ext <<EOF |
9866 #line 9867 "configure" | 9893 #line 9894 "configure" |
9867 #include "confdefs.h" | 9894 #include "confdefs.h" |
9868 #include <compface.h> | 9895 #include <compface.h> |
9869 EOF | 9896 EOF |
9870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9871 { (eval echo configure:9872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9898 { (eval echo configure:9899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9873 if test -z "$ac_err"; then | 9900 if test -z "$ac_err"; then |
9874 rm -rf conftest* | 9901 rm -rf conftest* |
9875 eval "ac_cv_header_$ac_safe=yes" | 9902 eval "ac_cv_header_$ac_safe=yes" |
9876 else | 9903 else |
9889 with_xface=no | 9916 with_xface=no |
9890 fi | 9917 fi |
9891 } | 9918 } |
9892 test -z "$with_xface" && { | 9919 test -z "$with_xface" && { |
9893 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9920 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9894 echo "configure:9895: checking for UnGenFace in -lcompface" >&5 | 9921 echo "configure:9922: checking for UnGenFace in -lcompface" >&5 |
9895 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9922 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9896 | 9923 |
9897 xe_check_libs=" -lcompface " | 9924 xe_check_libs=" -lcompface " |
9898 cat > conftest.$ac_ext <<EOF | 9925 cat > conftest.$ac_ext <<EOF |
9899 #line 9900 "configure" | 9926 #line 9927 "configure" |
9900 #include "confdefs.h" | 9927 #include "confdefs.h" |
9901 /* Override any gcc2 internal prototype to avoid an error. */ | 9928 /* Override any gcc2 internal prototype to avoid an error. */ |
9902 /* We use char because int might match the return type of a gcc2 | 9929 /* We use char because int might match the return type of a gcc2 |
9903 builtin and then its argument prototype would still apply. */ | 9930 builtin and then its argument prototype would still apply. */ |
9904 char UnGenFace(); | 9931 char UnGenFace(); |
9905 | 9932 |
9906 int main() { | 9933 int main() { |
9907 UnGenFace() | 9934 UnGenFace() |
9908 ; return 0; } | 9935 ; return 0; } |
9909 EOF | 9936 EOF |
9910 if { (eval echo configure:9911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9937 if { (eval echo configure:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9911 rm -rf conftest* | 9938 rm -rf conftest* |
9912 eval "ac_cv_lib_$ac_lib_var=yes" | 9939 eval "ac_cv_lib_$ac_lib_var=yes" |
9913 else | 9940 else |
9914 echo "configure: failed program was:" >&5 | 9941 echo "configure: failed program was:" >&5 |
9915 cat conftest.$ac_ext >&5 | 9942 cat conftest.$ac_ext >&5 |
9944 | 9971 |
9945 | 9972 |
9946 | 9973 |
9947 if test "$with_x11" = "yes"; then | 9974 if test "$with_x11" = "yes"; then |
9948 echo "checking for X11 graphics libraries" 1>&6 | 9975 echo "checking for X11 graphics libraries" 1>&6 |
9949 echo "configure:9950: checking for X11 graphics libraries" >&5 | 9976 echo "configure:9977: checking for X11 graphics libraries" >&5 |
9950 fi | 9977 fi |
9951 | 9978 |
9952 case "$with_widgets" in | 9979 case "$with_widgets" in |
9953 "yes" | "athena") detect_athena=yes ;; | 9980 "yes" | "athena") detect_athena=yes ;; |
9954 *) detect_athena=no ;; | 9981 *) detect_athena=no ;; |
9955 esac | 9982 esac |
9956 | 9983 |
9957 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9984 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9958 echo "checking for the Athena widgets" 1>&6 | 9985 echo "checking for the Athena widgets" 1>&6 |
9959 echo "configure:9960: checking for the Athena widgets" >&5 | 9986 echo "configure:9987: checking for the Athena widgets" >&5 |
9960 | 9987 |
9961 case "$with_athena" in | 9988 case "$with_athena" in |
9962 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9989 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9963 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9990 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9964 "next") athena_variant=neXtaw athena_3d=yes ;; | 9991 "next") athena_variant=neXtaw athena_3d=yes ;; |
9968 esac | 9995 esac |
9969 | 9996 |
9970 if test "$athena_3d" = "no"; then | 9997 if test "$athena_3d" = "no"; then |
9971 | 9998 |
9972 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9999 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9973 echo "configure:9974: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10000 echo "configure:10001: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9974 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10001 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9975 | 10002 |
9976 xe_check_libs=" -l$athena_variant " | 10003 xe_check_libs=" -l$athena_variant " |
9977 cat > conftest.$ac_ext <<EOF | 10004 cat > conftest.$ac_ext <<EOF |
9978 #line 9979 "configure" | 10005 #line 10006 "configure" |
9979 #include "confdefs.h" | 10006 #include "confdefs.h" |
9980 /* Override any gcc2 internal prototype to avoid an error. */ | 10007 /* Override any gcc2 internal prototype to avoid an error. */ |
9981 /* We use char because int might match the return type of a gcc2 | 10008 /* We use char because int might match the return type of a gcc2 |
9982 builtin and then its argument prototype would still apply. */ | 10009 builtin and then its argument prototype would still apply. */ |
9983 char XawScrollbarSetThumb(); | 10010 char XawScrollbarSetThumb(); |
9984 | 10011 |
9985 int main() { | 10012 int main() { |
9986 XawScrollbarSetThumb() | 10013 XawScrollbarSetThumb() |
9987 ; return 0; } | 10014 ; return 0; } |
9988 EOF | 10015 EOF |
9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10016 if { (eval echo configure:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9990 rm -rf conftest* | 10017 rm -rf conftest* |
9991 eval "ac_cv_lib_$ac_lib_var=yes" | 10018 eval "ac_cv_lib_$ac_lib_var=yes" |
9992 else | 10019 else |
9993 echo "configure: failed program was:" >&5 | 10020 echo "configure: failed program was:" >&5 |
9994 cat conftest.$ac_ext >&5 | 10021 cat conftest.$ac_ext >&5 |
10000 | 10027 |
10001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10002 echo "$ac_t""yes" 1>&6 | 10029 echo "$ac_t""yes" 1>&6 |
10003 | 10030 |
10004 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10031 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10005 echo "configure:10006: checking for threeDClassRec in -l$athena_variant" >&5 | 10032 echo "configure:10033: checking for threeDClassRec in -l$athena_variant" >&5 |
10006 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10033 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10007 | 10034 |
10008 xe_check_libs=" -l$athena_variant " | 10035 xe_check_libs=" -l$athena_variant " |
10009 cat > conftest.$ac_ext <<EOF | 10036 cat > conftest.$ac_ext <<EOF |
10010 #line 10011 "configure" | 10037 #line 10038 "configure" |
10011 #include "confdefs.h" | 10038 #include "confdefs.h" |
10012 /* Override any gcc2 internal prototype to avoid an error. */ | 10039 /* Override any gcc2 internal prototype to avoid an error. */ |
10013 /* We use char because int might match the return type of a gcc2 | 10040 /* We use char because int might match the return type of a gcc2 |
10014 builtin and then its argument prototype would still apply. */ | 10041 builtin and then its argument prototype would still apply. */ |
10015 char threeDClassRec(); | 10042 char threeDClassRec(); |
10016 | 10043 |
10017 int main() { | 10044 int main() { |
10018 threeDClassRec() | 10045 threeDClassRec() |
10019 ; return 0; } | 10046 ; return 0; } |
10020 EOF | 10047 EOF |
10021 if { (eval echo configure:10022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10022 rm -rf conftest* | 10049 rm -rf conftest* |
10023 eval "ac_cv_lib_$ac_lib_var=yes" | 10050 eval "ac_cv_lib_$ac_lib_var=yes" |
10024 else | 10051 else |
10025 echo "configure: failed program was:" >&5 | 10052 echo "configure: failed program was:" >&5 |
10026 cat conftest.$ac_ext >&5 | 10053 cat conftest.$ac_ext >&5 |
10047 | 10074 |
10048 | 10075 |
10049 else | 10076 else |
10050 | 10077 |
10051 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10078 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10052 echo "configure:10053: checking for threeDClassRec in -l$athena_variant" >&5 | 10079 echo "configure:10080: checking for threeDClassRec in -l$athena_variant" >&5 |
10053 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10080 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10054 | 10081 |
10055 xe_check_libs=" -l$athena_variant " | 10082 xe_check_libs=" -l$athena_variant " |
10056 cat > conftest.$ac_ext <<EOF | 10083 cat > conftest.$ac_ext <<EOF |
10057 #line 10058 "configure" | 10084 #line 10085 "configure" |
10058 #include "confdefs.h" | 10085 #include "confdefs.h" |
10059 /* Override any gcc2 internal prototype to avoid an error. */ | 10086 /* Override any gcc2 internal prototype to avoid an error. */ |
10060 /* We use char because int might match the return type of a gcc2 | 10087 /* We use char because int might match the return type of a gcc2 |
10061 builtin and then its argument prototype would still apply. */ | 10088 builtin and then its argument prototype would still apply. */ |
10062 char threeDClassRec(); | 10089 char threeDClassRec(); |
10063 | 10090 |
10064 int main() { | 10091 int main() { |
10065 threeDClassRec() | 10092 threeDClassRec() |
10066 ; return 0; } | 10093 ; return 0; } |
10067 EOF | 10094 EOF |
10068 if { (eval echo configure:10069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10069 rm -rf conftest* | 10096 rm -rf conftest* |
10070 eval "ac_cv_lib_$ac_lib_var=yes" | 10097 eval "ac_cv_lib_$ac_lib_var=yes" |
10071 else | 10098 else |
10072 echo "configure: failed program was:" >&5 | 10099 echo "configure: failed program was:" >&5 |
10073 cat conftest.$ac_ext >&5 | 10100 cat conftest.$ac_ext >&5 |
10081 echo "$ac_t""yes" 1>&6 | 10108 echo "$ac_t""yes" 1>&6 |
10082 athena_lib=$athena_variant | 10109 athena_lib=$athena_variant |
10083 else | 10110 else |
10084 echo "$ac_t""no" 1>&6 | 10111 echo "$ac_t""no" 1>&6 |
10085 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10112 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10086 echo "configure:10087: checking for threeDClassRec in -lXaw" >&5 | 10113 echo "configure:10114: checking for threeDClassRec in -lXaw" >&5 |
10087 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10114 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10088 | 10115 |
10089 xe_check_libs=" -lXaw " | 10116 xe_check_libs=" -lXaw " |
10090 cat > conftest.$ac_ext <<EOF | 10117 cat > conftest.$ac_ext <<EOF |
10091 #line 10092 "configure" | 10118 #line 10119 "configure" |
10092 #include "confdefs.h" | 10119 #include "confdefs.h" |
10093 /* Override any gcc2 internal prototype to avoid an error. */ | 10120 /* Override any gcc2 internal prototype to avoid an error. */ |
10094 /* We use char because int might match the return type of a gcc2 | 10121 /* We use char because int might match the return type of a gcc2 |
10095 builtin and then its argument prototype would still apply. */ | 10122 builtin and then its argument prototype would still apply. */ |
10096 char threeDClassRec(); | 10123 char threeDClassRec(); |
10097 | 10124 |
10098 int main() { | 10125 int main() { |
10099 threeDClassRec() | 10126 threeDClassRec() |
10100 ; return 0; } | 10127 ; return 0; } |
10101 EOF | 10128 EOF |
10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10129 if { (eval echo configure:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10103 rm -rf conftest* | 10130 rm -rf conftest* |
10104 eval "ac_cv_lib_$ac_lib_var=yes" | 10131 eval "ac_cv_lib_$ac_lib_var=yes" |
10105 else | 10132 else |
10106 echo "configure: failed program was:" >&5 | 10133 echo "configure: failed program was:" >&5 |
10107 cat conftest.$ac_ext >&5 | 10134 cat conftest.$ac_ext >&5 |
10128 fi | 10155 fi |
10129 | 10156 |
10130 if test "$athena_3d" = "no"; then | 10157 if test "$athena_3d" = "no"; then |
10131 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10158 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10132 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10159 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10133 echo "configure:10134: checking for X11/Xaw/ThreeD.h" >&5 | 10160 echo "configure:10161: checking for X11/Xaw/ThreeD.h" >&5 |
10134 | 10161 |
10135 cat > conftest.$ac_ext <<EOF | 10162 cat > conftest.$ac_ext <<EOF |
10136 #line 10137 "configure" | 10163 #line 10164 "configure" |
10137 #include "confdefs.h" | 10164 #include "confdefs.h" |
10138 #include <X11/Xaw/ThreeD.h> | 10165 #include <X11/Xaw/ThreeD.h> |
10139 EOF | 10166 EOF |
10140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10141 { (eval echo configure:10142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10143 if test -z "$ac_err"; then | 10170 if test -z "$ac_err"; then |
10144 rm -rf conftest* | 10171 rm -rf conftest* |
10145 eval "ac_cv_header_$ac_safe=yes" | 10172 eval "ac_cv_header_$ac_safe=yes" |
10146 else | 10173 else |
10156 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10183 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10157 else | 10184 else |
10158 echo "$ac_t""no" 1>&6 | 10185 echo "$ac_t""no" 1>&6 |
10159 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10186 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10160 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10187 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10161 echo "configure:10162: checking for X11/Xaw/XawInit.h" >&5 | 10188 echo "configure:10189: checking for X11/Xaw/XawInit.h" >&5 |
10162 | 10189 |
10163 cat > conftest.$ac_ext <<EOF | 10190 cat > conftest.$ac_ext <<EOF |
10164 #line 10165 "configure" | 10191 #line 10192 "configure" |
10165 #include "confdefs.h" | 10192 #include "confdefs.h" |
10166 #include <X11/Xaw/XawInit.h> | 10193 #include <X11/Xaw/XawInit.h> |
10167 EOF | 10194 EOF |
10168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10169 { (eval echo configure:10170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10196 { (eval echo configure:10197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10171 if test -z "$ac_err"; then | 10198 if test -z "$ac_err"; then |
10172 rm -rf conftest* | 10199 rm -rf conftest* |
10173 eval "ac_cv_header_$ac_safe=yes" | 10200 eval "ac_cv_header_$ac_safe=yes" |
10174 else | 10201 else |
10190 fi | 10217 fi |
10191 | 10218 |
10192 else | 10219 else |
10193 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10220 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10194 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10221 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10195 echo "configure:10196: checking for X11/$athena_variant/XawInit.h" >&5 | 10222 echo "configure:10223: checking for X11/$athena_variant/XawInit.h" >&5 |
10196 | 10223 |
10197 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
10198 #line 10199 "configure" | 10225 #line 10226 "configure" |
10199 #include "confdefs.h" | 10226 #include "confdefs.h" |
10200 #include <X11/$athena_variant/XawInit.h> | 10227 #include <X11/$athena_variant/XawInit.h> |
10201 EOF | 10228 EOF |
10202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10203 { (eval echo configure:10204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10205 if test -z "$ac_err"; then | 10232 if test -z "$ac_err"; then |
10206 rm -rf conftest* | 10233 rm -rf conftest* |
10207 eval "ac_cv_header_$ac_safe=yes" | 10234 eval "ac_cv_header_$ac_safe=yes" |
10208 else | 10235 else |
10215 rm -f conftest* | 10242 rm -f conftest* |
10216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10217 echo "$ac_t""yes" 1>&6 | 10244 echo "$ac_t""yes" 1>&6 |
10218 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10245 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10219 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10246 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10220 echo "configure:10221: checking for X11/$athena_variant/ThreeD.h" >&5 | 10247 echo "configure:10248: checking for X11/$athena_variant/ThreeD.h" >&5 |
10221 | 10248 |
10222 cat > conftest.$ac_ext <<EOF | 10249 cat > conftest.$ac_ext <<EOF |
10223 #line 10224 "configure" | 10250 #line 10251 "configure" |
10224 #include "confdefs.h" | 10251 #include "confdefs.h" |
10225 #include <X11/$athena_variant/ThreeD.h> | 10252 #include <X11/$athena_variant/ThreeD.h> |
10226 EOF | 10253 EOF |
10227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10228 { (eval echo configure:10229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10230 if test -z "$ac_err"; then | 10257 if test -z "$ac_err"; then |
10231 rm -rf conftest* | 10258 rm -rf conftest* |
10232 eval "ac_cv_header_$ac_safe=yes" | 10259 eval "ac_cv_header_$ac_safe=yes" |
10233 else | 10260 else |
10251 | 10278 |
10252 | 10279 |
10253 if test -z "$athena_h_path"; then | 10280 if test -z "$athena_h_path"; then |
10254 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10281 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10255 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10282 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10256 echo "configure:10257: checking for $athena_variant/XawInit.h" >&5 | 10283 echo "configure:10284: checking for $athena_variant/XawInit.h" >&5 |
10257 | 10284 |
10258 cat > conftest.$ac_ext <<EOF | 10285 cat > conftest.$ac_ext <<EOF |
10259 #line 10260 "configure" | 10286 #line 10287 "configure" |
10260 #include "confdefs.h" | 10287 #include "confdefs.h" |
10261 #include <$athena_variant/XawInit.h> | 10288 #include <$athena_variant/XawInit.h> |
10262 EOF | 10289 EOF |
10263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10264 { (eval echo configure:10265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10266 if test -z "$ac_err"; then | 10293 if test -z "$ac_err"; then |
10267 rm -rf conftest* | 10294 rm -rf conftest* |
10268 eval "ac_cv_header_$ac_safe=yes" | 10295 eval "ac_cv_header_$ac_safe=yes" |
10269 else | 10296 else |
10276 rm -f conftest* | 10303 rm -f conftest* |
10277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10278 echo "$ac_t""yes" 1>&6 | 10305 echo "$ac_t""yes" 1>&6 |
10279 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10306 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10280 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10307 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10281 echo "configure:10282: checking for $athena_variant/ThreeD.h" >&5 | 10308 echo "configure:10309: checking for $athena_variant/ThreeD.h" >&5 |
10282 | 10309 |
10283 cat > conftest.$ac_ext <<EOF | 10310 cat > conftest.$ac_ext <<EOF |
10284 #line 10285 "configure" | 10311 #line 10312 "configure" |
10285 #include "confdefs.h" | 10312 #include "confdefs.h" |
10286 #include <$athena_variant/ThreeD.h> | 10313 #include <$athena_variant/ThreeD.h> |
10287 EOF | 10314 EOF |
10288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10289 { (eval echo configure:10290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10316 { (eval echo configure:10317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10291 if test -z "$ac_err"; then | 10318 if test -z "$ac_err"; then |
10292 rm -rf conftest* | 10319 rm -rf conftest* |
10293 eval "ac_cv_header_$ac_safe=yes" | 10320 eval "ac_cv_header_$ac_safe=yes" |
10294 else | 10321 else |
10313 fi | 10340 fi |
10314 | 10341 |
10315 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10342 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10316 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10343 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10317 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10318 echo "configure:10319: checking for X11/Xaw3d/XawInit.h" >&5 | 10345 echo "configure:10346: checking for X11/Xaw3d/XawInit.h" >&5 |
10319 | 10346 |
10320 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10321 #line 10322 "configure" | 10348 #line 10349 "configure" |
10322 #include "confdefs.h" | 10349 #include "confdefs.h" |
10323 #include <X11/Xaw3d/XawInit.h> | 10350 #include <X11/Xaw3d/XawInit.h> |
10324 EOF | 10351 EOF |
10325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10326 { (eval echo configure:10327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10328 if test -z "$ac_err"; then | 10355 if test -z "$ac_err"; then |
10329 rm -rf conftest* | 10356 rm -rf conftest* |
10330 eval "ac_cv_header_$ac_safe=yes" | 10357 eval "ac_cv_header_$ac_safe=yes" |
10331 else | 10358 else |
10338 rm -f conftest* | 10365 rm -f conftest* |
10339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10340 echo "$ac_t""yes" 1>&6 | 10367 echo "$ac_t""yes" 1>&6 |
10341 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10368 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10342 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10369 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10343 echo "configure:10344: checking for X11/Xaw3d/ThreeD.h" >&5 | 10370 echo "configure:10371: checking for X11/Xaw3d/ThreeD.h" >&5 |
10344 | 10371 |
10345 cat > conftest.$ac_ext <<EOF | 10372 cat > conftest.$ac_ext <<EOF |
10346 #line 10347 "configure" | 10373 #line 10374 "configure" |
10347 #include "confdefs.h" | 10374 #include "confdefs.h" |
10348 #include <X11/Xaw3d/ThreeD.h> | 10375 #include <X11/Xaw3d/ThreeD.h> |
10349 EOF | 10376 EOF |
10350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10351 { (eval echo configure:10352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10378 { (eval echo configure:10379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10353 if test -z "$ac_err"; then | 10380 if test -z "$ac_err"; then |
10354 rm -rf conftest* | 10381 rm -rf conftest* |
10355 eval "ac_cv_header_$ac_safe=yes" | 10382 eval "ac_cv_header_$ac_safe=yes" |
10356 else | 10383 else |
10378 fi | 10405 fi |
10379 | 10406 |
10380 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10407 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10381 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10408 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10382 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10409 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10383 echo "configure:10384: checking for Xaw3d/XawInit.h" >&5 | 10410 echo "configure:10411: checking for Xaw3d/XawInit.h" >&5 |
10384 | 10411 |
10385 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10386 #line 10387 "configure" | 10413 #line 10414 "configure" |
10387 #include "confdefs.h" | 10414 #include "confdefs.h" |
10388 #include <Xaw3d/XawInit.h> | 10415 #include <Xaw3d/XawInit.h> |
10389 EOF | 10416 EOF |
10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10393 if test -z "$ac_err"; then | 10420 if test -z "$ac_err"; then |
10394 rm -rf conftest* | 10421 rm -rf conftest* |
10395 eval "ac_cv_header_$ac_safe=yes" | 10422 eval "ac_cv_header_$ac_safe=yes" |
10396 else | 10423 else |
10403 rm -f conftest* | 10430 rm -f conftest* |
10404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10405 echo "$ac_t""yes" 1>&6 | 10432 echo "$ac_t""yes" 1>&6 |
10406 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10433 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10407 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10434 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10408 echo "configure:10409: checking for Xaw3d/ThreeD.h" >&5 | 10435 echo "configure:10436: checking for Xaw3d/ThreeD.h" >&5 |
10409 | 10436 |
10410 cat > conftest.$ac_ext <<EOF | 10437 cat > conftest.$ac_ext <<EOF |
10411 #line 10412 "configure" | 10438 #line 10439 "configure" |
10412 #include "confdefs.h" | 10439 #include "confdefs.h" |
10413 #include <Xaw3d/ThreeD.h> | 10440 #include <Xaw3d/ThreeD.h> |
10414 EOF | 10441 EOF |
10415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10416 { (eval echo configure:10417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10443 { (eval echo configure:10444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10418 if test -z "$ac_err"; then | 10445 if test -z "$ac_err"; then |
10419 rm -rf conftest* | 10446 rm -rf conftest* |
10420 eval "ac_cv_header_$ac_safe=yes" | 10447 eval "ac_cv_header_$ac_safe=yes" |
10421 else | 10448 else |
10443 fi | 10470 fi |
10444 | 10471 |
10445 if test -z "$athena_h_path"; then | 10472 if test -z "$athena_h_path"; then |
10446 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10473 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10447 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10474 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10448 echo "configure:10449: checking for X11/Xaw/ThreeD.h" >&5 | 10475 echo "configure:10476: checking for X11/Xaw/ThreeD.h" >&5 |
10449 | 10476 |
10450 cat > conftest.$ac_ext <<EOF | 10477 cat > conftest.$ac_ext <<EOF |
10451 #line 10452 "configure" | 10478 #line 10479 "configure" |
10452 #include "confdefs.h" | 10479 #include "confdefs.h" |
10453 #include <X11/Xaw/ThreeD.h> | 10480 #include <X11/Xaw/ThreeD.h> |
10454 EOF | 10481 EOF |
10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10483 { (eval echo configure:10484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10458 if test -z "$ac_err"; then | 10485 if test -z "$ac_err"; then |
10459 rm -rf conftest* | 10486 rm -rf conftest* |
10460 eval "ac_cv_header_$ac_safe=yes" | 10487 eval "ac_cv_header_$ac_safe=yes" |
10461 else | 10488 else |
10490 have_xaw=no | 10517 have_xaw=no |
10491 fi | 10518 fi |
10492 if test "$with_x11" = "yes"; then | 10519 if test "$with_x11" = "yes"; then |
10493 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10520 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10494 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10521 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10495 echo "configure:10496: checking for Xm/Xm.h" >&5 | 10522 echo "configure:10523: checking for Xm/Xm.h" >&5 |
10496 | 10523 |
10497 cat > conftest.$ac_ext <<EOF | 10524 cat > conftest.$ac_ext <<EOF |
10498 #line 10499 "configure" | 10525 #line 10526 "configure" |
10499 #include "confdefs.h" | 10526 #include "confdefs.h" |
10500 #include <Xm/Xm.h> | 10527 #include <Xm/Xm.h> |
10501 EOF | 10528 EOF |
10502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10503 { (eval echo configure:10504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10530 { (eval echo configure:10531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10505 if test -z "$ac_err"; then | 10532 if test -z "$ac_err"; then |
10506 rm -rf conftest* | 10533 rm -rf conftest* |
10507 eval "ac_cv_header_$ac_safe=yes" | 10534 eval "ac_cv_header_$ac_safe=yes" |
10508 else | 10535 else |
10515 rm -f conftest* | 10542 rm -f conftest* |
10516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10517 echo "$ac_t""yes" 1>&6 | 10544 echo "$ac_t""yes" 1>&6 |
10518 | 10545 |
10519 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10546 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10520 echo "configure:10521: checking for XmStringFree in -lXm" >&5 | 10547 echo "configure:10548: checking for XmStringFree in -lXm" >&5 |
10521 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10548 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10522 | 10549 |
10523 xe_check_libs=" -lXm " | 10550 xe_check_libs=" -lXm " |
10524 cat > conftest.$ac_ext <<EOF | 10551 cat > conftest.$ac_ext <<EOF |
10525 #line 10526 "configure" | 10552 #line 10553 "configure" |
10526 #include "confdefs.h" | 10553 #include "confdefs.h" |
10527 /* Override any gcc2 internal prototype to avoid an error. */ | 10554 /* Override any gcc2 internal prototype to avoid an error. */ |
10528 /* We use char because int might match the return type of a gcc2 | 10555 /* We use char because int might match the return type of a gcc2 |
10529 builtin and then its argument prototype would still apply. */ | 10556 builtin and then its argument prototype would still apply. */ |
10530 char XmStringFree(); | 10557 char XmStringFree(); |
10531 | 10558 |
10532 int main() { | 10559 int main() { |
10533 XmStringFree() | 10560 XmStringFree() |
10534 ; return 0; } | 10561 ; return 0; } |
10535 EOF | 10562 EOF |
10536 if { (eval echo configure:10537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10563 if { (eval echo configure:10564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10537 rm -rf conftest* | 10564 rm -rf conftest* |
10538 eval "ac_cv_lib_$ac_lib_var=yes" | 10565 eval "ac_cv_lib_$ac_lib_var=yes" |
10539 else | 10566 else |
10540 echo "configure: failed program was:" >&5 | 10567 echo "configure: failed program was:" >&5 |
10541 cat conftest.$ac_ext >&5 | 10568 cat conftest.$ac_ext >&5 |
10560 fi | 10587 fi |
10561 | 10588 |
10562 | 10589 |
10563 if test "$have_motif" = "yes"; then | 10590 if test "$have_motif" = "yes"; then |
10564 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10591 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10565 echo "configure:10566: checking for Lesstif" >&5 | 10592 echo "configure:10593: checking for Lesstif" >&5 |
10566 cat > conftest.$ac_ext <<EOF | 10593 cat > conftest.$ac_ext <<EOF |
10567 #line 10568 "configure" | 10594 #line 10595 "configure" |
10568 #include "confdefs.h" | 10595 #include "confdefs.h" |
10569 #include <Xm/Xm.h> | 10596 #include <Xm/Xm.h> |
10570 #ifdef LESSTIF_VERSION | 10597 #ifdef LESSTIF_VERSION |
10571 yes | 10598 yes |
10572 #endif | 10599 #endif |
10935 | 10962 |
10936 fi | 10963 fi |
10937 | 10964 |
10938 if test "$with_mule" = "yes" ; then | 10965 if test "$with_mule" = "yes" ; then |
10939 echo "checking for Mule-related features" 1>&6 | 10966 echo "checking for Mule-related features" 1>&6 |
10940 echo "configure:10941: checking for Mule-related features" >&5 | 10967 echo "configure:10968: checking for Mule-related features" >&5 |
10941 { test "$extra_verbose" = "yes" && cat << \EOF | 10968 { test "$extra_verbose" = "yes" && cat << \EOF |
10942 Defining MULE | 10969 Defining MULE |
10943 EOF | 10970 EOF |
10944 cat >> confdefs.h <<\EOF | 10971 cat >> confdefs.h <<\EOF |
10945 #define MULE 1 | 10972 #define MULE 1 |
10949 | 10976 |
10950 for ac_hdr in libintl.h | 10977 for ac_hdr in libintl.h |
10951 do | 10978 do |
10952 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10979 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10953 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10980 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10954 echo "configure:10955: checking for $ac_hdr" >&5 | 10981 echo "configure:10982: checking for $ac_hdr" >&5 |
10955 | 10982 |
10956 cat > conftest.$ac_ext <<EOF | 10983 cat > conftest.$ac_ext <<EOF |
10957 #line 10958 "configure" | 10984 #line 10985 "configure" |
10958 #include "confdefs.h" | 10985 #include "confdefs.h" |
10959 #include <$ac_hdr> | 10986 #include <$ac_hdr> |
10960 EOF | 10987 EOF |
10961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10962 { (eval echo configure:10963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10989 { (eval echo configure:10990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10964 if test -z "$ac_err"; then | 10991 if test -z "$ac_err"; then |
10965 rm -rf conftest* | 10992 rm -rf conftest* |
10966 eval "ac_cv_header_$ac_safe=yes" | 10993 eval "ac_cv_header_$ac_safe=yes" |
10967 else | 10994 else |
10988 fi | 11015 fi |
10989 done | 11016 done |
10990 | 11017 |
10991 | 11018 |
10992 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11019 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10993 echo "configure:10994: checking for strerror in -lintl" >&5 | 11020 echo "configure:11021: checking for strerror in -lintl" >&5 |
10994 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11021 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10995 | 11022 |
10996 xe_check_libs=" -lintl " | 11023 xe_check_libs=" -lintl " |
10997 cat > conftest.$ac_ext <<EOF | 11024 cat > conftest.$ac_ext <<EOF |
10998 #line 10999 "configure" | 11025 #line 11026 "configure" |
10999 #include "confdefs.h" | 11026 #include "confdefs.h" |
11000 /* Override any gcc2 internal prototype to avoid an error. */ | 11027 /* Override any gcc2 internal prototype to avoid an error. */ |
11001 /* We use char because int might match the return type of a gcc2 | 11028 /* We use char because int might match the return type of a gcc2 |
11002 builtin and then its argument prototype would still apply. */ | 11029 builtin and then its argument prototype would still apply. */ |
11003 char strerror(); | 11030 char strerror(); |
11004 | 11031 |
11005 int main() { | 11032 int main() { |
11006 strerror() | 11033 strerror() |
11007 ; return 0; } | 11034 ; return 0; } |
11008 EOF | 11035 EOF |
11009 if { (eval echo configure:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11036 if { (eval echo configure:11037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11010 rm -rf conftest* | 11037 rm -rf conftest* |
11011 eval "ac_cv_lib_$ac_lib_var=yes" | 11038 eval "ac_cv_lib_$ac_lib_var=yes" |
11012 else | 11039 else |
11013 echo "configure: failed program was:" >&5 | 11040 echo "configure: failed program was:" >&5 |
11014 cat conftest.$ac_ext >&5 | 11041 cat conftest.$ac_ext >&5 |
11037 fi | 11064 fi |
11038 | 11065 |
11039 | 11066 |
11040 | 11067 |
11041 echo "checking for Mule input methods" 1>&6 | 11068 echo "checking for Mule input methods" 1>&6 |
11042 echo "configure:11043: checking for Mule input methods" >&5 | 11069 echo "configure:11070: checking for Mule input methods" >&5 |
11043 case "$with_xim" in "" | "yes" ) | 11070 case "$with_xim" in "" | "yes" ) |
11044 echo "checking for XIM" 1>&6 | 11071 echo "checking for XIM" 1>&6 |
11045 echo "configure:11046: checking for XIM" >&5 | 11072 echo "configure:11073: checking for XIM" >&5 |
11046 | 11073 |
11047 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11074 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11048 echo "configure:11049: checking for XOpenIM in -lX11" >&5 | 11075 echo "configure:11076: checking for XOpenIM in -lX11" >&5 |
11049 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11076 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11050 | 11077 |
11051 xe_check_libs=" -lX11 " | 11078 xe_check_libs=" -lX11 " |
11052 cat > conftest.$ac_ext <<EOF | 11079 cat > conftest.$ac_ext <<EOF |
11053 #line 11054 "configure" | 11080 #line 11081 "configure" |
11054 #include "confdefs.h" | 11081 #include "confdefs.h" |
11055 /* Override any gcc2 internal prototype to avoid an error. */ | 11082 /* Override any gcc2 internal prototype to avoid an error. */ |
11056 /* We use char because int might match the return type of a gcc2 | 11083 /* We use char because int might match the return type of a gcc2 |
11057 builtin and then its argument prototype would still apply. */ | 11084 builtin and then its argument prototype would still apply. */ |
11058 char XOpenIM(); | 11085 char XOpenIM(); |
11059 | 11086 |
11060 int main() { | 11087 int main() { |
11061 XOpenIM() | 11088 XOpenIM() |
11062 ; return 0; } | 11089 ; return 0; } |
11063 EOF | 11090 EOF |
11064 if { (eval echo configure:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11091 if { (eval echo configure:11092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11065 rm -rf conftest* | 11092 rm -rf conftest* |
11066 eval "ac_cv_lib_$ac_lib_var=yes" | 11093 eval "ac_cv_lib_$ac_lib_var=yes" |
11067 else | 11094 else |
11068 echo "configure: failed program was:" >&5 | 11095 echo "configure: failed program was:" >&5 |
11069 cat conftest.$ac_ext >&5 | 11096 cat conftest.$ac_ext >&5 |
11083 | 11110 |
11084 | 11111 |
11085 if test "$have_motif $have_lesstif" = "yes no"; then | 11112 if test "$have_motif $have_lesstif" = "yes no"; then |
11086 | 11113 |
11087 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11114 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11088 echo "configure:11089: checking for XmImMbLookupString in -lXm" >&5 | 11115 echo "configure:11116: checking for XmImMbLookupString in -lXm" >&5 |
11089 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11116 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11090 | 11117 |
11091 xe_check_libs=" -lXm " | 11118 xe_check_libs=" -lXm " |
11092 cat > conftest.$ac_ext <<EOF | 11119 cat > conftest.$ac_ext <<EOF |
11093 #line 11094 "configure" | 11120 #line 11121 "configure" |
11094 #include "confdefs.h" | 11121 #include "confdefs.h" |
11095 /* Override any gcc2 internal prototype to avoid an error. */ | 11122 /* Override any gcc2 internal prototype to avoid an error. */ |
11096 /* We use char because int might match the return type of a gcc2 | 11123 /* We use char because int might match the return type of a gcc2 |
11097 builtin and then its argument prototype would still apply. */ | 11124 builtin and then its argument prototype would still apply. */ |
11098 char XmImMbLookupString(); | 11125 char XmImMbLookupString(); |
11099 | 11126 |
11100 int main() { | 11127 int main() { |
11101 XmImMbLookupString() | 11128 XmImMbLookupString() |
11102 ; return 0; } | 11129 ; return 0; } |
11103 EOF | 11130 EOF |
11104 if { (eval echo configure:11105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11105 rm -rf conftest* | 11132 rm -rf conftest* |
11106 eval "ac_cv_lib_$ac_lib_var=yes" | 11133 eval "ac_cv_lib_$ac_lib_var=yes" |
11107 else | 11134 else |
11108 echo "configure: failed program was:" >&5 | 11135 echo "configure: failed program was:" >&5 |
11109 cat conftest.$ac_ext >&5 | 11136 cat conftest.$ac_ext >&5 |
11164 fi | 11191 fi |
11165 fi | 11192 fi |
11166 | 11193 |
11167 if test "$with_xfs" = "yes" ; then | 11194 if test "$with_xfs" = "yes" ; then |
11168 echo "checking for XFontSet" 1>&6 | 11195 echo "checking for XFontSet" 1>&6 |
11169 echo "configure:11170: checking for XFontSet" >&5 | 11196 echo "configure:11197: checking for XFontSet" >&5 |
11170 | 11197 |
11171 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11198 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11172 echo "configure:11173: checking for XmbDrawString in -lX11" >&5 | 11199 echo "configure:11200: checking for XmbDrawString in -lX11" >&5 |
11173 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11200 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11174 | 11201 |
11175 xe_check_libs=" -lX11 " | 11202 xe_check_libs=" -lX11 " |
11176 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
11177 #line 11178 "configure" | 11204 #line 11205 "configure" |
11178 #include "confdefs.h" | 11205 #include "confdefs.h" |
11179 /* Override any gcc2 internal prototype to avoid an error. */ | 11206 /* Override any gcc2 internal prototype to avoid an error. */ |
11180 /* We use char because int might match the return type of a gcc2 | 11207 /* We use char because int might match the return type of a gcc2 |
11181 builtin and then its argument prototype would still apply. */ | 11208 builtin and then its argument prototype would still apply. */ |
11182 char XmbDrawString(); | 11209 char XmbDrawString(); |
11183 | 11210 |
11184 int main() { | 11211 int main() { |
11185 XmbDrawString() | 11212 XmbDrawString() |
11186 ; return 0; } | 11213 ; return 0; } |
11187 EOF | 11214 EOF |
11188 if { (eval echo configure:11189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11215 if { (eval echo configure:11216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11189 rm -rf conftest* | 11216 rm -rf conftest* |
11190 eval "ac_cv_lib_$ac_lib_var=yes" | 11217 eval "ac_cv_lib_$ac_lib_var=yes" |
11191 else | 11218 else |
11192 echo "configure: failed program was:" >&5 | 11219 echo "configure: failed program was:" >&5 |
11193 cat conftest.$ac_ext >&5 | 11220 cat conftest.$ac_ext >&5 |
11223 fi | 11250 fi |
11224 fi | 11251 fi |
11225 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11252 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11226 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11253 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11227 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11254 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11228 echo "configure:11229: checking for wnn/jllib.h" >&5 | 11255 echo "configure:11256: checking for wnn/jllib.h" >&5 |
11229 | 11256 |
11230 cat > conftest.$ac_ext <<EOF | 11257 cat > conftest.$ac_ext <<EOF |
11231 #line 11232 "configure" | 11258 #line 11259 "configure" |
11232 #include "confdefs.h" | 11259 #include "confdefs.h" |
11233 #include <wnn/jllib.h> | 11260 #include <wnn/jllib.h> |
11234 EOF | 11261 EOF |
11235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11236 { (eval echo configure:11237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11263 { (eval echo configure:11264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11238 if test -z "$ac_err"; then | 11265 if test -z "$ac_err"; then |
11239 rm -rf conftest* | 11266 rm -rf conftest* |
11240 eval "ac_cv_header_$ac_safe=yes" | 11267 eval "ac_cv_header_$ac_safe=yes" |
11241 else | 11268 else |
11254 with_wnn=no | 11281 with_wnn=no |
11255 fi | 11282 fi |
11256 } | 11283 } |
11257 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11284 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11258 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11285 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11259 echo "configure:11260: checking for wnn/commonhd.h" >&5 | 11286 echo "configure:11287: checking for wnn/commonhd.h" >&5 |
11260 | 11287 |
11261 cat > conftest.$ac_ext <<EOF | 11288 cat > conftest.$ac_ext <<EOF |
11262 #line 11263 "configure" | 11289 #line 11290 "configure" |
11263 #include "confdefs.h" | 11290 #include "confdefs.h" |
11264 #include <wnn/commonhd.h> | 11291 #include <wnn/commonhd.h> |
11265 EOF | 11292 EOF |
11266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11267 { (eval echo configure:11268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11294 { (eval echo configure:11295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11269 if test -z "$ac_err"; then | 11296 if test -z "$ac_err"; then |
11270 rm -rf conftest* | 11297 rm -rf conftest* |
11271 eval "ac_cv_header_$ac_safe=yes" | 11298 eval "ac_cv_header_$ac_safe=yes" |
11272 else | 11299 else |
11287 } | 11314 } |
11288 if test "$with_wnn" != "no"; then | 11315 if test "$with_wnn" != "no"; then |
11289 for ac_func in crypt | 11316 for ac_func in crypt |
11290 do | 11317 do |
11291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11292 echo "configure:11293: checking for $ac_func" >&5 | 11319 echo "configure:11320: checking for $ac_func" >&5 |
11293 | 11320 |
11294 cat > conftest.$ac_ext <<EOF | 11321 cat > conftest.$ac_ext <<EOF |
11295 #line 11296 "configure" | 11322 #line 11323 "configure" |
11296 #include "confdefs.h" | 11323 #include "confdefs.h" |
11297 /* System header to define __stub macros and hopefully few prototypes, | 11324 /* System header to define __stub macros and hopefully few prototypes, |
11298 which can conflict with char $ac_func(); below. */ | 11325 which can conflict with char $ac_func(); below. */ |
11299 #include <assert.h> | 11326 #include <assert.h> |
11300 /* Override any gcc2 internal prototype to avoid an error. */ | 11327 /* Override any gcc2 internal prototype to avoid an error. */ |
11313 $ac_func(); | 11340 $ac_func(); |
11314 #endif | 11341 #endif |
11315 | 11342 |
11316 ; return 0; } | 11343 ; return 0; } |
11317 EOF | 11344 EOF |
11318 if { (eval echo configure:11319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11345 if { (eval echo configure:11346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11319 rm -rf conftest* | 11346 rm -rf conftest* |
11320 eval "ac_cv_func_$ac_func=yes" | 11347 eval "ac_cv_func_$ac_func=yes" |
11321 else | 11348 else |
11322 echo "configure: failed program was:" >&5 | 11349 echo "configure: failed program was:" >&5 |
11323 cat conftest.$ac_ext >&5 | 11350 cat conftest.$ac_ext >&5 |
11342 fi | 11369 fi |
11343 done | 11370 done |
11344 | 11371 |
11345 test "$ac_cv_func_crypt" != "yes" && { | 11372 test "$ac_cv_func_crypt" != "yes" && { |
11346 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11373 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11347 echo "configure:11348: checking for crypt in -lcrypt" >&5 | 11374 echo "configure:11375: checking for crypt in -lcrypt" >&5 |
11348 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11375 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11349 | 11376 |
11350 xe_check_libs=" -lcrypt " | 11377 xe_check_libs=" -lcrypt " |
11351 cat > conftest.$ac_ext <<EOF | 11378 cat > conftest.$ac_ext <<EOF |
11352 #line 11353 "configure" | 11379 #line 11380 "configure" |
11353 #include "confdefs.h" | 11380 #include "confdefs.h" |
11354 /* Override any gcc2 internal prototype to avoid an error. */ | 11381 /* Override any gcc2 internal prototype to avoid an error. */ |
11355 /* We use char because int might match the return type of a gcc2 | 11382 /* We use char because int might match the return type of a gcc2 |
11356 builtin and then its argument prototype would still apply. */ | 11383 builtin and then its argument prototype would still apply. */ |
11357 char crypt(); | 11384 char crypt(); |
11358 | 11385 |
11359 int main() { | 11386 int main() { |
11360 crypt() | 11387 crypt() |
11361 ; return 0; } | 11388 ; return 0; } |
11362 EOF | 11389 EOF |
11363 if { (eval echo configure:11364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11364 rm -rf conftest* | 11391 rm -rf conftest* |
11365 eval "ac_cv_lib_$ac_lib_var=yes" | 11392 eval "ac_cv_lib_$ac_lib_var=yes" |
11366 else | 11393 else |
11367 echo "configure: failed program was:" >&5 | 11394 echo "configure: failed program was:" >&5 |
11368 cat conftest.$ac_ext >&5 | 11395 cat conftest.$ac_ext >&5 |
11393 } | 11420 } |
11394 fi | 11421 fi |
11395 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11422 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11396 | 11423 |
11397 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11424 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11398 echo "configure:11399: checking for jl_dic_list_e in -lwnn" >&5 | 11425 echo "configure:11426: checking for jl_dic_list_e in -lwnn" >&5 |
11399 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11426 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11400 | 11427 |
11401 xe_check_libs=" -lwnn " | 11428 xe_check_libs=" -lwnn " |
11402 cat > conftest.$ac_ext <<EOF | 11429 cat > conftest.$ac_ext <<EOF |
11403 #line 11404 "configure" | 11430 #line 11431 "configure" |
11404 #include "confdefs.h" | 11431 #include "confdefs.h" |
11405 /* Override any gcc2 internal prototype to avoid an error. */ | 11432 /* Override any gcc2 internal prototype to avoid an error. */ |
11406 /* We use char because int might match the return type of a gcc2 | 11433 /* We use char because int might match the return type of a gcc2 |
11407 builtin and then its argument prototype would still apply. */ | 11434 builtin and then its argument prototype would still apply. */ |
11408 char jl_dic_list_e(); | 11435 char jl_dic_list_e(); |
11409 | 11436 |
11410 int main() { | 11437 int main() { |
11411 jl_dic_list_e() | 11438 jl_dic_list_e() |
11412 ; return 0; } | 11439 ; return 0; } |
11413 EOF | 11440 EOF |
11414 if { (eval echo configure:11415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11441 if { (eval echo configure:11442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11415 rm -rf conftest* | 11442 rm -rf conftest* |
11416 eval "ac_cv_lib_$ac_lib_var=yes" | 11443 eval "ac_cv_lib_$ac_lib_var=yes" |
11417 else | 11444 else |
11418 echo "configure: failed program was:" >&5 | 11445 echo "configure: failed program was:" >&5 |
11419 cat conftest.$ac_ext >&5 | 11446 cat conftest.$ac_ext >&5 |
11427 echo "$ac_t""yes" 1>&6 | 11454 echo "$ac_t""yes" 1>&6 |
11428 libwnn=wnn | 11455 libwnn=wnn |
11429 else | 11456 else |
11430 echo "$ac_t""no" 1>&6 | 11457 echo "$ac_t""no" 1>&6 |
11431 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11458 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11432 echo "configure:11433: checking for jl_dic_list_e in -lwnn4" >&5 | 11459 echo "configure:11460: checking for jl_dic_list_e in -lwnn4" >&5 |
11433 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11460 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11434 | 11461 |
11435 xe_check_libs=" -lwnn4 " | 11462 xe_check_libs=" -lwnn4 " |
11436 cat > conftest.$ac_ext <<EOF | 11463 cat > conftest.$ac_ext <<EOF |
11437 #line 11438 "configure" | 11464 #line 11465 "configure" |
11438 #include "confdefs.h" | 11465 #include "confdefs.h" |
11439 /* Override any gcc2 internal prototype to avoid an error. */ | 11466 /* Override any gcc2 internal prototype to avoid an error. */ |
11440 /* We use char because int might match the return type of a gcc2 | 11467 /* We use char because int might match the return type of a gcc2 |
11441 builtin and then its argument prototype would still apply. */ | 11468 builtin and then its argument prototype would still apply. */ |
11442 char jl_dic_list_e(); | 11469 char jl_dic_list_e(); |
11443 | 11470 |
11444 int main() { | 11471 int main() { |
11445 jl_dic_list_e() | 11472 jl_dic_list_e() |
11446 ; return 0; } | 11473 ; return 0; } |
11447 EOF | 11474 EOF |
11448 if { (eval echo configure:11449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11449 rm -rf conftest* | 11476 rm -rf conftest* |
11450 eval "ac_cv_lib_$ac_lib_var=yes" | 11477 eval "ac_cv_lib_$ac_lib_var=yes" |
11451 else | 11478 else |
11452 echo "configure: failed program was:" >&5 | 11479 echo "configure: failed program was:" >&5 |
11453 cat conftest.$ac_ext >&5 | 11480 cat conftest.$ac_ext >&5 |
11461 echo "$ac_t""yes" 1>&6 | 11488 echo "$ac_t""yes" 1>&6 |
11462 libwnn=wnn4 | 11489 libwnn=wnn4 |
11463 else | 11490 else |
11464 echo "$ac_t""no" 1>&6 | 11491 echo "$ac_t""no" 1>&6 |
11465 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11492 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11466 echo "configure:11467: checking for jl_dic_list_e in -lwnn6" >&5 | 11493 echo "configure:11494: checking for jl_dic_list_e in -lwnn6" >&5 |
11467 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11494 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11468 | 11495 |
11469 xe_check_libs=" -lwnn6 " | 11496 xe_check_libs=" -lwnn6 " |
11470 cat > conftest.$ac_ext <<EOF | 11497 cat > conftest.$ac_ext <<EOF |
11471 #line 11472 "configure" | 11498 #line 11499 "configure" |
11472 #include "confdefs.h" | 11499 #include "confdefs.h" |
11473 /* Override any gcc2 internal prototype to avoid an error. */ | 11500 /* Override any gcc2 internal prototype to avoid an error. */ |
11474 /* We use char because int might match the return type of a gcc2 | 11501 /* We use char because int might match the return type of a gcc2 |
11475 builtin and then its argument prototype would still apply. */ | 11502 builtin and then its argument prototype would still apply. */ |
11476 char jl_dic_list_e(); | 11503 char jl_dic_list_e(); |
11477 | 11504 |
11478 int main() { | 11505 int main() { |
11479 jl_dic_list_e() | 11506 jl_dic_list_e() |
11480 ; return 0; } | 11507 ; return 0; } |
11481 EOF | 11508 EOF |
11482 if { (eval echo configure:11483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11483 rm -rf conftest* | 11510 rm -rf conftest* |
11484 eval "ac_cv_lib_$ac_lib_var=yes" | 11511 eval "ac_cv_lib_$ac_lib_var=yes" |
11485 else | 11512 else |
11486 echo "configure: failed program was:" >&5 | 11513 echo "configure: failed program was:" >&5 |
11487 cat conftest.$ac_ext >&5 | 11514 cat conftest.$ac_ext >&5 |
11495 echo "$ac_t""yes" 1>&6 | 11522 echo "$ac_t""yes" 1>&6 |
11496 libwnn=wnn6 | 11523 libwnn=wnn6 |
11497 else | 11524 else |
11498 echo "$ac_t""no" 1>&6 | 11525 echo "$ac_t""no" 1>&6 |
11499 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11526 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11500 echo "configure:11501: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11527 echo "configure:11528: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11501 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11528 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11502 | 11529 |
11503 xe_check_libs=" -lwnn6_fromsrc " | 11530 xe_check_libs=" -lwnn6_fromsrc " |
11504 cat > conftest.$ac_ext <<EOF | 11531 cat > conftest.$ac_ext <<EOF |
11505 #line 11506 "configure" | 11532 #line 11533 "configure" |
11506 #include "confdefs.h" | 11533 #include "confdefs.h" |
11507 /* Override any gcc2 internal prototype to avoid an error. */ | 11534 /* Override any gcc2 internal prototype to avoid an error. */ |
11508 /* We use char because int might match the return type of a gcc2 | 11535 /* We use char because int might match the return type of a gcc2 |
11509 builtin and then its argument prototype would still apply. */ | 11536 builtin and then its argument prototype would still apply. */ |
11510 char dic_list_e(); | 11537 char dic_list_e(); |
11511 | 11538 |
11512 int main() { | 11539 int main() { |
11513 dic_list_e() | 11540 dic_list_e() |
11514 ; return 0; } | 11541 ; return 0; } |
11515 EOF | 11542 EOF |
11516 if { (eval echo configure:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11543 if { (eval echo configure:11544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11517 rm -rf conftest* | 11544 rm -rf conftest* |
11518 eval "ac_cv_lib_$ac_lib_var=yes" | 11545 eval "ac_cv_lib_$ac_lib_var=yes" |
11519 else | 11546 else |
11520 echo "configure: failed program was:" >&5 | 11547 echo "configure: failed program was:" >&5 |
11521 cat conftest.$ac_ext >&5 | 11548 cat conftest.$ac_ext >&5 |
11556 | 11583 |
11557 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11584 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11558 if test "$with_wnn6" != "no"; then | 11585 if test "$with_wnn6" != "no"; then |
11559 | 11586 |
11560 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11587 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11561 echo "configure:11562: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11588 echo "configure:11589: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11562 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11589 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11563 | 11590 |
11564 xe_check_libs=" -l$libwnn " | 11591 xe_check_libs=" -l$libwnn " |
11565 cat > conftest.$ac_ext <<EOF | 11592 cat > conftest.$ac_ext <<EOF |
11566 #line 11567 "configure" | 11593 #line 11594 "configure" |
11567 #include "confdefs.h" | 11594 #include "confdefs.h" |
11568 /* Override any gcc2 internal prototype to avoid an error. */ | 11595 /* Override any gcc2 internal prototype to avoid an error. */ |
11569 /* We use char because int might match the return type of a gcc2 | 11596 /* We use char because int might match the return type of a gcc2 |
11570 builtin and then its argument prototype would still apply. */ | 11597 builtin and then its argument prototype would still apply. */ |
11571 char jl_fi_dic_list(); | 11598 char jl_fi_dic_list(); |
11572 | 11599 |
11573 int main() { | 11600 int main() { |
11574 jl_fi_dic_list() | 11601 jl_fi_dic_list() |
11575 ; return 0; } | 11602 ; return 0; } |
11576 EOF | 11603 EOF |
11577 if { (eval echo configure:11578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11578 rm -rf conftest* | 11605 rm -rf conftest* |
11579 eval "ac_cv_lib_$ac_lib_var=yes" | 11606 eval "ac_cv_lib_$ac_lib_var=yes" |
11580 else | 11607 else |
11581 echo "configure: failed program was:" >&5 | 11608 echo "configure: failed program was:" >&5 |
11582 cat conftest.$ac_ext >&5 | 11609 cat conftest.$ac_ext >&5 |
11607 | 11634 |
11608 canna_includes_found=no | 11635 canna_includes_found=no |
11609 if test "$with_canna" != "no"; then | 11636 if test "$with_canna" != "no"; then |
11610 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11637 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11611 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11638 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11612 echo "configure:11613: checking for canna/jrkanji.h" >&5 | 11639 echo "configure:11640: checking for canna/jrkanji.h" >&5 |
11613 | 11640 |
11614 cat > conftest.$ac_ext <<EOF | 11641 cat > conftest.$ac_ext <<EOF |
11615 #line 11616 "configure" | 11642 #line 11643 "configure" |
11616 #include "confdefs.h" | 11643 #include "confdefs.h" |
11617 #include <canna/jrkanji.h> | 11644 #include <canna/jrkanji.h> |
11618 EOF | 11645 EOF |
11619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11620 { (eval echo configure:11621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11647 { (eval echo configure:11648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11622 if test -z "$ac_err"; then | 11649 if test -z "$ac_err"; then |
11623 rm -rf conftest* | 11650 rm -rf conftest* |
11624 eval "ac_cv_header_$ac_safe=yes" | 11651 eval "ac_cv_header_$ac_safe=yes" |
11625 else | 11652 else |
11642 -d "/usr/local/canna/include"; then | 11669 -d "/usr/local/canna/include"; then |
11643 save_c_switch_site="$c_switch_site" | 11670 save_c_switch_site="$c_switch_site" |
11644 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11671 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11645 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11672 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11646 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11673 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11647 echo "configure:11648: checking for canna/jrkanji.h" >&5 | 11674 echo "configure:11675: checking for canna/jrkanji.h" >&5 |
11648 | 11675 |
11649 cat > conftest.$ac_ext <<EOF | 11676 cat > conftest.$ac_ext <<EOF |
11650 #line 11651 "configure" | 11677 #line 11678 "configure" |
11651 #include "confdefs.h" | 11678 #include "confdefs.h" |
11652 #include <canna/jrkanji.h> | 11679 #include <canna/jrkanji.h> |
11653 EOF | 11680 EOF |
11654 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11655 { (eval echo configure:11656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11682 { (eval echo configure:11683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11657 if test -z "$ac_err"; then | 11684 if test -z "$ac_err"; then |
11658 rm -rf conftest* | 11685 rm -rf conftest* |
11659 eval "ac_cv_header_$ac_safe=yes" | 11686 eval "ac_cv_header_$ac_safe=yes" |
11660 else | 11687 else |
11678 fi | 11705 fi |
11679 fi | 11706 fi |
11680 | 11707 |
11681 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11708 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11682 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11709 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11683 echo "configure:11684: checking for canna/RK.h" >&5 | 11710 echo "configure:11711: checking for canna/RK.h" >&5 |
11684 | 11711 |
11685 cat > conftest.$ac_ext <<EOF | 11712 cat > conftest.$ac_ext <<EOF |
11686 #line 11687 "configure" | 11713 #line 11714 "configure" |
11687 #include "confdefs.h" | 11714 #include "confdefs.h" |
11688 #include <canna/RK.h> | 11715 #include <canna/RK.h> |
11689 EOF | 11716 EOF |
11690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11691 { (eval echo configure:11692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11718 { (eval echo configure:11719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11693 if test -z "$ac_err"; then | 11720 if test -z "$ac_err"; then |
11694 rm -rf conftest* | 11721 rm -rf conftest* |
11695 eval "ac_cv_header_$ac_safe=yes" | 11722 eval "ac_cv_header_$ac_safe=yes" |
11696 else | 11723 else |
11709 with_canna=no | 11736 with_canna=no |
11710 fi | 11737 fi |
11711 } | 11738 } |
11712 test -z "$with_canna" && { | 11739 test -z "$with_canna" && { |
11713 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11740 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11714 echo "configure:11715: checking for RkBgnBun in -lRKC" >&5 | 11741 echo "configure:11742: checking for RkBgnBun in -lRKC" >&5 |
11715 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11742 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11716 | 11743 |
11717 xe_check_libs=" -lRKC " | 11744 xe_check_libs=" -lRKC " |
11718 cat > conftest.$ac_ext <<EOF | 11745 cat > conftest.$ac_ext <<EOF |
11719 #line 11720 "configure" | 11746 #line 11747 "configure" |
11720 #include "confdefs.h" | 11747 #include "confdefs.h" |
11721 /* Override any gcc2 internal prototype to avoid an error. */ | 11748 /* Override any gcc2 internal prototype to avoid an error. */ |
11722 /* We use char because int might match the return type of a gcc2 | 11749 /* We use char because int might match the return type of a gcc2 |
11723 builtin and then its argument prototype would still apply. */ | 11750 builtin and then its argument prototype would still apply. */ |
11724 char RkBgnBun(); | 11751 char RkBgnBun(); |
11725 | 11752 |
11726 int main() { | 11753 int main() { |
11727 RkBgnBun() | 11754 RkBgnBun() |
11728 ; return 0; } | 11755 ; return 0; } |
11729 EOF | 11756 EOF |
11730 if { (eval echo configure:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11757 if { (eval echo configure:11758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11731 rm -rf conftest* | 11758 rm -rf conftest* |
11732 eval "ac_cv_lib_$ac_lib_var=yes" | 11759 eval "ac_cv_lib_$ac_lib_var=yes" |
11733 else | 11760 else |
11734 echo "configure: failed program was:" >&5 | 11761 echo "configure: failed program was:" >&5 |
11735 cat conftest.$ac_ext >&5 | 11762 cat conftest.$ac_ext >&5 |
11748 fi | 11775 fi |
11749 | 11776 |
11750 } | 11777 } |
11751 test -z "$with_canna" && { | 11778 test -z "$with_canna" && { |
11752 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11779 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11753 echo "configure:11754: checking for jrKanjiControl in -lcanna" >&5 | 11780 echo "configure:11781: checking for jrKanjiControl in -lcanna" >&5 |
11754 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11781 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11755 | 11782 |
11756 xe_check_libs=" -lcanna " | 11783 xe_check_libs=" -lcanna " |
11757 cat > conftest.$ac_ext <<EOF | 11784 cat > conftest.$ac_ext <<EOF |
11758 #line 11759 "configure" | 11785 #line 11786 "configure" |
11759 #include "confdefs.h" | 11786 #include "confdefs.h" |
11760 /* Override any gcc2 internal prototype to avoid an error. */ | 11787 /* Override any gcc2 internal prototype to avoid an error. */ |
11761 /* We use char because int might match the return type of a gcc2 | 11788 /* We use char because int might match the return type of a gcc2 |
11762 builtin and then its argument prototype would still apply. */ | 11789 builtin and then its argument prototype would still apply. */ |
11763 char jrKanjiControl(); | 11790 char jrKanjiControl(); |
11764 | 11791 |
11765 int main() { | 11792 int main() { |
11766 jrKanjiControl() | 11793 jrKanjiControl() |
11767 ; return 0; } | 11794 ; return 0; } |
11768 EOF | 11795 EOF |
11769 if { (eval echo configure:11770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11770 rm -rf conftest* | 11797 rm -rf conftest* |
11771 eval "ac_cv_lib_$ac_lib_var=yes" | 11798 eval "ac_cv_lib_$ac_lib_var=yes" |
11772 else | 11799 else |
11773 echo "configure: failed program was:" >&5 | 11800 echo "configure: failed program was:" >&5 |
11774 cat conftest.$ac_ext >&5 | 11801 cat conftest.$ac_ext >&5 |
11810 | 11837 |
11811 if test "$need_motif" = "yes" ; then | 11838 if test "$need_motif" = "yes" ; then |
11812 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11839 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11813 | 11840 |
11814 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11841 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11815 echo "configure:11816: checking for layout_object_getvalue in -li18n" >&5 | 11842 echo "configure:11843: checking for layout_object_getvalue in -li18n" >&5 |
11816 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11843 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11817 | 11844 |
11818 xe_check_libs=" -li18n " | 11845 xe_check_libs=" -li18n " |
11819 cat > conftest.$ac_ext <<EOF | 11846 cat > conftest.$ac_ext <<EOF |
11820 #line 11821 "configure" | 11847 #line 11848 "configure" |
11821 #include "confdefs.h" | 11848 #include "confdefs.h" |
11822 /* Override any gcc2 internal prototype to avoid an error. */ | 11849 /* Override any gcc2 internal prototype to avoid an error. */ |
11823 /* We use char because int might match the return type of a gcc2 | 11850 /* We use char because int might match the return type of a gcc2 |
11824 builtin and then its argument prototype would still apply. */ | 11851 builtin and then its argument prototype would still apply. */ |
11825 char layout_object_getvalue(); | 11852 char layout_object_getvalue(); |
11826 | 11853 |
11827 int main() { | 11854 int main() { |
11828 layout_object_getvalue() | 11855 layout_object_getvalue() |
11829 ; return 0; } | 11856 ; return 0; } |
11830 EOF | 11857 EOF |
11831 if { (eval echo configure:11832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11858 if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11832 rm -rf conftest* | 11859 rm -rf conftest* |
11833 eval "ac_cv_lib_$ac_lib_var=yes" | 11860 eval "ac_cv_lib_$ac_lib_var=yes" |
11834 else | 11861 else |
11835 echo "configure: failed program was:" >&5 | 11862 echo "configure: failed program was:" >&5 |
11836 cat conftest.$ac_ext >&5 | 11863 cat conftest.$ac_ext >&5 |
11913 | 11940 |
11914 | 11941 |
11915 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11942 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11916 do | 11943 do |
11917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11918 echo "configure:11919: checking for $ac_func" >&5 | 11945 echo "configure:11946: checking for $ac_func" >&5 |
11919 | 11946 |
11920 cat > conftest.$ac_ext <<EOF | 11947 cat > conftest.$ac_ext <<EOF |
11921 #line 11922 "configure" | 11948 #line 11949 "configure" |
11922 #include "confdefs.h" | 11949 #include "confdefs.h" |
11923 /* System header to define __stub macros and hopefully few prototypes, | 11950 /* System header to define __stub macros and hopefully few prototypes, |
11924 which can conflict with char $ac_func(); below. */ | 11951 which can conflict with char $ac_func(); below. */ |
11925 #include <assert.h> | 11952 #include <assert.h> |
11926 /* Override any gcc2 internal prototype to avoid an error. */ | 11953 /* Override any gcc2 internal prototype to avoid an error. */ |
11939 $ac_func(); | 11966 $ac_func(); |
11940 #endif | 11967 #endif |
11941 | 11968 |
11942 ; return 0; } | 11969 ; return 0; } |
11943 EOF | 11970 EOF |
11944 if { (eval echo configure:11945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11945 rm -rf conftest* | 11972 rm -rf conftest* |
11946 eval "ac_cv_func_$ac_func=yes" | 11973 eval "ac_cv_func_$ac_func=yes" |
11947 else | 11974 else |
11948 echo "configure: failed program was:" >&5 | 11975 echo "configure: failed program was:" >&5 |
11949 cat conftest.$ac_ext >&5 | 11976 cat conftest.$ac_ext >&5 |
11980 | 12007 |
11981 | 12008 |
11982 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12009 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11983 do | 12010 do |
11984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11985 echo "configure:11986: checking for $ac_func" >&5 | 12012 echo "configure:12013: checking for $ac_func" >&5 |
11986 | 12013 |
11987 cat > conftest.$ac_ext <<EOF | 12014 cat > conftest.$ac_ext <<EOF |
11988 #line 11989 "configure" | 12015 #line 12016 "configure" |
11989 #include "confdefs.h" | 12016 #include "confdefs.h" |
11990 /* System header to define __stub macros and hopefully few prototypes, | 12017 /* System header to define __stub macros and hopefully few prototypes, |
11991 which can conflict with char $ac_func(); below. */ | 12018 which can conflict with char $ac_func(); below. */ |
11992 #include <assert.h> | 12019 #include <assert.h> |
11993 /* Override any gcc2 internal prototype to avoid an error. */ | 12020 /* Override any gcc2 internal prototype to avoid an error. */ |
12006 $ac_func(); | 12033 $ac_func(); |
12007 #endif | 12034 #endif |
12008 | 12035 |
12009 ; return 0; } | 12036 ; return 0; } |
12010 EOF | 12037 EOF |
12011 if { (eval echo configure:12012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12012 rm -rf conftest* | 12039 rm -rf conftest* |
12013 eval "ac_cv_func_$ac_func=yes" | 12040 eval "ac_cv_func_$ac_func=yes" |
12014 else | 12041 else |
12015 echo "configure: failed program was:" >&5 | 12042 echo "configure: failed program was:" >&5 |
12016 cat conftest.$ac_ext >&5 | 12043 cat conftest.$ac_ext >&5 |
12035 fi | 12062 fi |
12036 done | 12063 done |
12037 | 12064 |
12038 | 12065 |
12039 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12066 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12040 echo "configure:12041: checking for openpty" >&5 | 12067 echo "configure:12068: checking for openpty" >&5 |
12041 | 12068 |
12042 cat > conftest.$ac_ext <<EOF | 12069 cat > conftest.$ac_ext <<EOF |
12043 #line 12044 "configure" | 12070 #line 12071 "configure" |
12044 #include "confdefs.h" | 12071 #include "confdefs.h" |
12045 /* System header to define __stub macros and hopefully few prototypes, | 12072 /* System header to define __stub macros and hopefully few prototypes, |
12046 which can conflict with char openpty(); below. */ | 12073 which can conflict with char openpty(); below. */ |
12047 #include <assert.h> | 12074 #include <assert.h> |
12048 /* Override any gcc2 internal prototype to avoid an error. */ | 12075 /* Override any gcc2 internal prototype to avoid an error. */ |
12061 openpty(); | 12088 openpty(); |
12062 #endif | 12089 #endif |
12063 | 12090 |
12064 ; return 0; } | 12091 ; return 0; } |
12065 EOF | 12092 EOF |
12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12093 if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12067 rm -rf conftest* | 12094 rm -rf conftest* |
12068 eval "ac_cv_func_openpty=yes" | 12095 eval "ac_cv_func_openpty=yes" |
12069 else | 12096 else |
12070 echo "configure: failed program was:" >&5 | 12097 echo "configure: failed program was:" >&5 |
12071 cat conftest.$ac_ext >&5 | 12098 cat conftest.$ac_ext >&5 |
12080 else | 12107 else |
12081 echo "$ac_t""no" 1>&6 | 12108 echo "$ac_t""no" 1>&6 |
12082 | 12109 |
12083 | 12110 |
12084 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12111 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12085 echo "configure:12086: checking for openpty in -lutil" >&5 | 12112 echo "configure:12113: checking for openpty in -lutil" >&5 |
12086 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12113 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12087 | 12114 |
12088 xe_check_libs=" -lutil " | 12115 xe_check_libs=" -lutil " |
12089 cat > conftest.$ac_ext <<EOF | 12116 cat > conftest.$ac_ext <<EOF |
12090 #line 12091 "configure" | 12117 #line 12118 "configure" |
12091 #include "confdefs.h" | 12118 #include "confdefs.h" |
12092 /* Override any gcc2 internal prototype to avoid an error. */ | 12119 /* Override any gcc2 internal prototype to avoid an error. */ |
12093 /* We use char because int might match the return type of a gcc2 | 12120 /* We use char because int might match the return type of a gcc2 |
12094 builtin and then its argument prototype would still apply. */ | 12121 builtin and then its argument prototype would still apply. */ |
12095 char openpty(); | 12122 char openpty(); |
12096 | 12123 |
12097 int main() { | 12124 int main() { |
12098 openpty() | 12125 openpty() |
12099 ; return 0; } | 12126 ; return 0; } |
12100 EOF | 12127 EOF |
12101 if { (eval echo configure:12102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12102 rm -rf conftest* | 12129 rm -rf conftest* |
12103 eval "ac_cv_lib_$ac_lib_var=yes" | 12130 eval "ac_cv_lib_$ac_lib_var=yes" |
12104 else | 12131 else |
12105 echo "configure: failed program was:" >&5 | 12132 echo "configure: failed program was:" >&5 |
12106 cat conftest.$ac_ext >&5 | 12133 cat conftest.$ac_ext >&5 |
12131 | 12158 |
12132 for ac_hdr in libutil.h util.h | 12159 for ac_hdr in libutil.h util.h |
12133 do | 12160 do |
12134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12136 echo "configure:12137: checking for $ac_hdr" >&5 | 12163 echo "configure:12164: checking for $ac_hdr" >&5 |
12137 | 12164 |
12138 cat > conftest.$ac_ext <<EOF | 12165 cat > conftest.$ac_ext <<EOF |
12139 #line 12140 "configure" | 12166 #line 12167 "configure" |
12140 #include "confdefs.h" | 12167 #include "confdefs.h" |
12141 #include <$ac_hdr> | 12168 #include <$ac_hdr> |
12142 EOF | 12169 EOF |
12143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12144 { (eval echo configure:12145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12171 { (eval echo configure:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12146 if test -z "$ac_err"; then | 12173 if test -z "$ac_err"; then |
12147 rm -rf conftest* | 12174 rm -rf conftest* |
12148 eval "ac_cv_header_$ac_safe=yes" | 12175 eval "ac_cv_header_$ac_safe=yes" |
12149 else | 12176 else |
12176 case "$opsys" in | 12203 case "$opsys" in |
12177 hpux*) for ac_hdr in sys/ptyio.h | 12204 hpux*) for ac_hdr in sys/ptyio.h |
12178 do | 12205 do |
12179 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12206 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12181 echo "configure:12182: checking for $ac_hdr" >&5 | 12208 echo "configure:12209: checking for $ac_hdr" >&5 |
12182 | 12209 |
12183 cat > conftest.$ac_ext <<EOF | 12210 cat > conftest.$ac_ext <<EOF |
12184 #line 12185 "configure" | 12211 #line 12212 "configure" |
12185 #include "confdefs.h" | 12212 #include "confdefs.h" |
12186 #include <$ac_hdr> | 12213 #include <$ac_hdr> |
12187 EOF | 12214 EOF |
12188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12189 { (eval echo configure:12190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12216 { (eval echo configure:12217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12191 if test -z "$ac_err"; then | 12218 if test -z "$ac_err"; then |
12192 rm -rf conftest* | 12219 rm -rf conftest* |
12193 eval "ac_cv_header_$ac_safe=yes" | 12220 eval "ac_cv_header_$ac_safe=yes" |
12194 else | 12221 else |
12217 ;; | 12244 ;; |
12218 *) for ac_hdr in pty.h | 12245 *) for ac_hdr in pty.h |
12219 do | 12246 do |
12220 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12221 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12222 echo "configure:12223: checking for $ac_hdr" >&5 | 12249 echo "configure:12250: checking for $ac_hdr" >&5 |
12223 | 12250 |
12224 cat > conftest.$ac_ext <<EOF | 12251 cat > conftest.$ac_ext <<EOF |
12225 #line 12226 "configure" | 12252 #line 12253 "configure" |
12226 #include "confdefs.h" | 12253 #include "confdefs.h" |
12227 #include <$ac_hdr> | 12254 #include <$ac_hdr> |
12228 EOF | 12255 EOF |
12229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12230 { (eval echo configure:12231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12257 { (eval echo configure:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12232 if test -z "$ac_err"; then | 12259 if test -z "$ac_err"; then |
12233 rm -rf conftest* | 12260 rm -rf conftest* |
12234 eval "ac_cv_header_$ac_safe=yes" | 12261 eval "ac_cv_header_$ac_safe=yes" |
12235 else | 12262 else |
12258 | 12285 |
12259 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12286 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12260 do | 12287 do |
12261 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12262 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12263 echo "configure:12264: checking for $ac_hdr" >&5 | 12290 echo "configure:12291: checking for $ac_hdr" >&5 |
12264 | 12291 |
12265 cat > conftest.$ac_ext <<EOF | 12292 cat > conftest.$ac_ext <<EOF |
12266 #line 12267 "configure" | 12293 #line 12294 "configure" |
12267 #include "confdefs.h" | 12294 #include "confdefs.h" |
12268 #include <$ac_hdr> | 12295 #include <$ac_hdr> |
12269 EOF | 12296 EOF |
12270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12271 { (eval echo configure:12272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12298 { (eval echo configure:12299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12273 if test -z "$ac_err"; then | 12300 if test -z "$ac_err"; then |
12274 rm -rf conftest* | 12301 rm -rf conftest* |
12275 eval "ac_cv_header_$ac_safe=yes" | 12302 eval "ac_cv_header_$ac_safe=yes" |
12276 else | 12303 else |
12302 | 12329 |
12303 for ac_hdr in stropts.h | 12330 for ac_hdr in stropts.h |
12304 do | 12331 do |
12305 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12306 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12307 echo "configure:12308: checking for $ac_hdr" >&5 | 12334 echo "configure:12335: checking for $ac_hdr" >&5 |
12308 | 12335 |
12309 cat > conftest.$ac_ext <<EOF | 12336 cat > conftest.$ac_ext <<EOF |
12310 #line 12311 "configure" | 12337 #line 12338 "configure" |
12311 #include "confdefs.h" | 12338 #include "confdefs.h" |
12312 #include <$ac_hdr> | 12339 #include <$ac_hdr> |
12313 EOF | 12340 EOF |
12314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12315 { (eval echo configure:12316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12342 { (eval echo configure:12343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12317 if test -z "$ac_err"; then | 12344 if test -z "$ac_err"; then |
12318 rm -rf conftest* | 12345 rm -rf conftest* |
12319 eval "ac_cv_header_$ac_safe=yes" | 12346 eval "ac_cv_header_$ac_safe=yes" |
12320 else | 12347 else |
12343 | 12370 |
12344 if test "$ac_cv_header_stropts_h" = "yes"; then | 12371 if test "$ac_cv_header_stropts_h" = "yes"; then |
12345 for ac_func in isastream | 12372 for ac_func in isastream |
12346 do | 12373 do |
12347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12348 echo "configure:12349: checking for $ac_func" >&5 | 12375 echo "configure:12376: checking for $ac_func" >&5 |
12349 | 12376 |
12350 cat > conftest.$ac_ext <<EOF | 12377 cat > conftest.$ac_ext <<EOF |
12351 #line 12352 "configure" | 12378 #line 12379 "configure" |
12352 #include "confdefs.h" | 12379 #include "confdefs.h" |
12353 /* System header to define __stub macros and hopefully few prototypes, | 12380 /* System header to define __stub macros and hopefully few prototypes, |
12354 which can conflict with char $ac_func(); below. */ | 12381 which can conflict with char $ac_func(); below. */ |
12355 #include <assert.h> | 12382 #include <assert.h> |
12356 /* Override any gcc2 internal prototype to avoid an error. */ | 12383 /* Override any gcc2 internal prototype to avoid an error. */ |
12369 $ac_func(); | 12396 $ac_func(); |
12370 #endif | 12397 #endif |
12371 | 12398 |
12372 ; return 0; } | 12399 ; return 0; } |
12373 EOF | 12400 EOF |
12374 if { (eval echo configure:12375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12375 rm -rf conftest* | 12402 rm -rf conftest* |
12376 eval "ac_cv_func_$ac_func=yes" | 12403 eval "ac_cv_func_$ac_func=yes" |
12377 else | 12404 else |
12378 echo "configure: failed program was:" >&5 | 12405 echo "configure: failed program was:" >&5 |
12379 cat conftest.$ac_ext >&5 | 12406 cat conftest.$ac_ext >&5 |
12400 | 12427 |
12401 for ac_hdr in strtio.h | 12428 for ac_hdr in strtio.h |
12402 do | 12429 do |
12403 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12404 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12405 echo "configure:12406: checking for $ac_hdr" >&5 | 12432 echo "configure:12433: checking for $ac_hdr" >&5 |
12406 | 12433 |
12407 cat > conftest.$ac_ext <<EOF | 12434 cat > conftest.$ac_ext <<EOF |
12408 #line 12409 "configure" | 12435 #line 12436 "configure" |
12409 #include "confdefs.h" | 12436 #include "confdefs.h" |
12410 #include <$ac_hdr> | 12437 #include <$ac_hdr> |
12411 EOF | 12438 EOF |
12412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12413 { (eval echo configure:12414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12440 { (eval echo configure:12441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12415 if test -z "$ac_err"; then | 12442 if test -z "$ac_err"; then |
12416 rm -rf conftest* | 12443 rm -rf conftest* |
12417 eval "ac_cv_header_$ac_safe=yes" | 12444 eval "ac_cv_header_$ac_safe=yes" |
12418 else | 12445 else |
12441 fi | 12468 fi |
12442 | 12469 |
12443 for ac_func in getloadavg | 12470 for ac_func in getloadavg |
12444 do | 12471 do |
12445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12446 echo "configure:12447: checking for $ac_func" >&5 | 12473 echo "configure:12474: checking for $ac_func" >&5 |
12447 | 12474 |
12448 cat > conftest.$ac_ext <<EOF | 12475 cat > conftest.$ac_ext <<EOF |
12449 #line 12450 "configure" | 12476 #line 12477 "configure" |
12450 #include "confdefs.h" | 12477 #include "confdefs.h" |
12451 /* System header to define __stub macros and hopefully few prototypes, | 12478 /* System header to define __stub macros and hopefully few prototypes, |
12452 which can conflict with char $ac_func(); below. */ | 12479 which can conflict with char $ac_func(); below. */ |
12453 #include <assert.h> | 12480 #include <assert.h> |
12454 /* Override any gcc2 internal prototype to avoid an error. */ | 12481 /* Override any gcc2 internal prototype to avoid an error. */ |
12467 $ac_func(); | 12494 $ac_func(); |
12468 #endif | 12495 #endif |
12469 | 12496 |
12470 ; return 0; } | 12497 ; return 0; } |
12471 EOF | 12498 EOF |
12472 if { (eval echo configure:12473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12499 if { (eval echo configure:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12473 rm -rf conftest* | 12500 rm -rf conftest* |
12474 eval "ac_cv_func_$ac_func=yes" | 12501 eval "ac_cv_func_$ac_func=yes" |
12475 else | 12502 else |
12476 echo "configure: failed program was:" >&5 | 12503 echo "configure: failed program was:" >&5 |
12477 cat conftest.$ac_ext >&5 | 12504 cat conftest.$ac_ext >&5 |
12500 if test "$ac_cv_func_getloadavg" = "yes"; then | 12527 if test "$ac_cv_func_getloadavg" = "yes"; then |
12501 for ac_hdr in sys/loadavg.h | 12528 for ac_hdr in sys/loadavg.h |
12502 do | 12529 do |
12503 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12504 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12505 echo "configure:12506: checking for $ac_hdr" >&5 | 12532 echo "configure:12533: checking for $ac_hdr" >&5 |
12506 | 12533 |
12507 cat > conftest.$ac_ext <<EOF | 12534 cat > conftest.$ac_ext <<EOF |
12508 #line 12509 "configure" | 12535 #line 12536 "configure" |
12509 #include "confdefs.h" | 12536 #include "confdefs.h" |
12510 #include <$ac_hdr> | 12537 #include <$ac_hdr> |
12511 EOF | 12538 EOF |
12512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12513 { (eval echo configure:12514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12540 { (eval echo configure:12541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12515 if test -z "$ac_err"; then | 12542 if test -z "$ac_err"; then |
12516 rm -rf conftest* | 12543 rm -rf conftest* |
12517 eval "ac_cv_header_$ac_safe=yes" | 12544 eval "ac_cv_header_$ac_safe=yes" |
12518 else | 12545 else |
12544 echo " xemacs will be linked with \"getloadavg.o\"" | 12571 echo " xemacs will be linked with \"getloadavg.o\"" |
12545 fi | 12572 fi |
12546 | 12573 |
12547 | 12574 |
12548 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12575 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12549 echo "configure:12550: checking for kstat_open in -lkstat" >&5 | 12576 echo "configure:12577: checking for kstat_open in -lkstat" >&5 |
12550 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12577 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12551 | 12578 |
12552 xe_check_libs=" -lkstat " | 12579 xe_check_libs=" -lkstat " |
12553 cat > conftest.$ac_ext <<EOF | 12580 cat > conftest.$ac_ext <<EOF |
12554 #line 12555 "configure" | 12581 #line 12582 "configure" |
12555 #include "confdefs.h" | 12582 #include "confdefs.h" |
12556 /* Override any gcc2 internal prototype to avoid an error. */ | 12583 /* Override any gcc2 internal prototype to avoid an error. */ |
12557 /* We use char because int might match the return type of a gcc2 | 12584 /* We use char because int might match the return type of a gcc2 |
12558 builtin and then its argument prototype would still apply. */ | 12585 builtin and then its argument prototype would still apply. */ |
12559 char kstat_open(); | 12586 char kstat_open(); |
12560 | 12587 |
12561 int main() { | 12588 int main() { |
12562 kstat_open() | 12589 kstat_open() |
12563 ; return 0; } | 12590 ; return 0; } |
12564 EOF | 12591 EOF |
12565 if { (eval echo configure:12566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12592 if { (eval echo configure:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12566 rm -rf conftest* | 12593 rm -rf conftest* |
12567 eval "ac_cv_lib_$ac_lib_var=yes" | 12594 eval "ac_cv_lib_$ac_lib_var=yes" |
12568 else | 12595 else |
12569 echo "configure: failed program was:" >&5 | 12596 echo "configure: failed program was:" >&5 |
12570 cat conftest.$ac_ext >&5 | 12597 cat conftest.$ac_ext >&5 |
12595 | 12622 |
12596 for ac_hdr in kstat.h | 12623 for ac_hdr in kstat.h |
12597 do | 12624 do |
12598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12600 echo "configure:12601: checking for $ac_hdr" >&5 | 12627 echo "configure:12628: checking for $ac_hdr" >&5 |
12601 | 12628 |
12602 cat > conftest.$ac_ext <<EOF | 12629 cat > conftest.$ac_ext <<EOF |
12603 #line 12604 "configure" | 12630 #line 12631 "configure" |
12604 #include "confdefs.h" | 12631 #include "confdefs.h" |
12605 #include <$ac_hdr> | 12632 #include <$ac_hdr> |
12606 EOF | 12633 EOF |
12607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12608 { (eval echo configure:12609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12610 if test -z "$ac_err"; then | 12637 if test -z "$ac_err"; then |
12611 rm -rf conftest* | 12638 rm -rf conftest* |
12612 eval "ac_cv_header_$ac_safe=yes" | 12639 eval "ac_cv_header_$ac_safe=yes" |
12613 else | 12640 else |
12635 done | 12662 done |
12636 | 12663 |
12637 | 12664 |
12638 | 12665 |
12639 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12666 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12640 echo "configure:12641: checking for kvm_read in -lkvm" >&5 | 12667 echo "configure:12668: checking for kvm_read in -lkvm" >&5 |
12641 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12668 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12642 | 12669 |
12643 xe_check_libs=" -lkvm " | 12670 xe_check_libs=" -lkvm " |
12644 cat > conftest.$ac_ext <<EOF | 12671 cat > conftest.$ac_ext <<EOF |
12645 #line 12646 "configure" | 12672 #line 12673 "configure" |
12646 #include "confdefs.h" | 12673 #include "confdefs.h" |
12647 /* Override any gcc2 internal prototype to avoid an error. */ | 12674 /* Override any gcc2 internal prototype to avoid an error. */ |
12648 /* We use char because int might match the return type of a gcc2 | 12675 /* We use char because int might match the return type of a gcc2 |
12649 builtin and then its argument prototype would still apply. */ | 12676 builtin and then its argument prototype would still apply. */ |
12650 char kvm_read(); | 12677 char kvm_read(); |
12651 | 12678 |
12652 int main() { | 12679 int main() { |
12653 kvm_read() | 12680 kvm_read() |
12654 ; return 0; } | 12681 ; return 0; } |
12655 EOF | 12682 EOF |
12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12683 if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12657 rm -rf conftest* | 12684 rm -rf conftest* |
12658 eval "ac_cv_lib_$ac_lib_var=yes" | 12685 eval "ac_cv_lib_$ac_lib_var=yes" |
12659 else | 12686 else |
12660 echo "configure: failed program was:" >&5 | 12687 echo "configure: failed program was:" >&5 |
12661 cat conftest.$ac_ext >&5 | 12688 cat conftest.$ac_ext >&5 |
12685 | 12712 |
12686 | 12713 |
12687 fi | 12714 fi |
12688 | 12715 |
12689 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12716 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12690 echo "configure:12691: checking whether netdb declares h_errno" >&5 | 12717 echo "configure:12718: checking whether netdb declares h_errno" >&5 |
12691 cat > conftest.$ac_ext <<EOF | 12718 cat > conftest.$ac_ext <<EOF |
12692 #line 12693 "configure" | 12719 #line 12720 "configure" |
12693 #include "confdefs.h" | 12720 #include "confdefs.h" |
12694 #include <netdb.h> | 12721 #include <netdb.h> |
12695 int main() { | 12722 int main() { |
12696 return h_errno; | 12723 return h_errno; |
12697 ; return 0; } | 12724 ; return 0; } |
12698 EOF | 12725 EOF |
12699 if { (eval echo configure:12700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12726 if { (eval echo configure:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12700 rm -rf conftest* | 12727 rm -rf conftest* |
12701 echo "$ac_t""yes" 1>&6 | 12728 echo "$ac_t""yes" 1>&6 |
12702 { test "$extra_verbose" = "yes" && cat << \EOF | 12729 { test "$extra_verbose" = "yes" && cat << \EOF |
12703 Defining HAVE_H_ERRNO | 12730 Defining HAVE_H_ERRNO |
12704 EOF | 12731 EOF |
12714 echo "$ac_t""no" 1>&6 | 12741 echo "$ac_t""no" 1>&6 |
12715 fi | 12742 fi |
12716 rm -f conftest* | 12743 rm -f conftest* |
12717 | 12744 |
12718 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12745 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12719 echo "configure:12720: checking for sigsetjmp" >&5 | 12746 echo "configure:12747: checking for sigsetjmp" >&5 |
12720 cat > conftest.$ac_ext <<EOF | 12747 cat > conftest.$ac_ext <<EOF |
12721 #line 12722 "configure" | 12748 #line 12749 "configure" |
12722 #include "confdefs.h" | 12749 #include "confdefs.h" |
12723 #include <setjmp.h> | 12750 #include <setjmp.h> |
12724 int main() { | 12751 int main() { |
12725 sigjmp_buf bar; sigsetjmp (bar, 0); | 12752 sigjmp_buf bar; sigsetjmp (bar, 0); |
12726 ; return 0; } | 12753 ; return 0; } |
12727 EOF | 12754 EOF |
12728 if { (eval echo configure:12729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12755 if { (eval echo configure:12756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12729 rm -rf conftest* | 12756 rm -rf conftest* |
12730 echo "$ac_t""yes" 1>&6 | 12757 echo "$ac_t""yes" 1>&6 |
12731 { test "$extra_verbose" = "yes" && cat << \EOF | 12758 { test "$extra_verbose" = "yes" && cat << \EOF |
12732 Defining HAVE_SIGSETJMP | 12759 Defining HAVE_SIGSETJMP |
12733 EOF | 12760 EOF |
12743 echo "$ac_t""no" 1>&6 | 12770 echo "$ac_t""no" 1>&6 |
12744 fi | 12771 fi |
12745 rm -f conftest* | 12772 rm -f conftest* |
12746 | 12773 |
12747 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12774 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12748 echo "configure:12749: checking whether localtime caches TZ" >&5 | 12775 echo "configure:12776: checking whether localtime caches TZ" >&5 |
12749 | 12776 |
12750 if test "$ac_cv_func_tzset" = "yes"; then | 12777 if test "$ac_cv_func_tzset" = "yes"; then |
12751 cat > conftest.$ac_ext <<EOF | 12778 cat > conftest.$ac_ext <<EOF |
12752 #line 12753 "configure" | 12779 #line 12780 "configure" |
12753 #include "confdefs.h" | 12780 #include "confdefs.h" |
12754 #include <time.h> | 12781 #include <time.h> |
12755 #if STDC_HEADERS | 12782 #if STDC_HEADERS |
12756 # include <stdlib.h> | 12783 # include <stdlib.h> |
12757 #endif | 12784 #endif |
12782 if (localtime (&now)->tm_hour != hour_unset) | 12809 if (localtime (&now)->tm_hour != hour_unset) |
12783 exit (1); | 12810 exit (1); |
12784 exit (0); | 12811 exit (0); |
12785 } | 12812 } |
12786 EOF | 12813 EOF |
12787 if { (eval echo configure:12788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12814 if { (eval echo configure:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12788 then | 12815 then |
12789 emacs_cv_localtime_cache=no | 12816 emacs_cv_localtime_cache=no |
12790 else | 12817 else |
12791 conftest_rc="$?" | 12818 conftest_rc="$?" |
12792 echo "configure: failed program was:" >&5 | 12819 echo "configure: failed program was:" >&5 |
12812 | 12839 |
12813 fi | 12840 fi |
12814 | 12841 |
12815 if test "$HAVE_TIMEVAL" = "yes"; then | 12842 if test "$HAVE_TIMEVAL" = "yes"; then |
12816 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12843 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12817 echo "configure:12818: checking whether gettimeofday accepts one or two arguments" >&5 | 12844 echo "configure:12845: checking whether gettimeofday accepts one or two arguments" >&5 |
12818 cat > conftest.$ac_ext <<EOF | 12845 cat > conftest.$ac_ext <<EOF |
12819 #line 12820 "configure" | 12846 #line 12847 "configure" |
12820 #include "confdefs.h" | 12847 #include "confdefs.h" |
12821 | 12848 |
12822 #ifdef TIME_WITH_SYS_TIME | 12849 #ifdef TIME_WITH_SYS_TIME |
12823 #include <sys/time.h> | 12850 #include <sys/time.h> |
12824 #include <time.h> | 12851 #include <time.h> |
12835 struct timeval time; | 12862 struct timeval time; |
12836 gettimeofday (&time, 0); | 12863 gettimeofday (&time, 0); |
12837 | 12864 |
12838 ; return 0; } | 12865 ; return 0; } |
12839 EOF | 12866 EOF |
12840 if { (eval echo configure:12841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12841 rm -rf conftest* | 12868 rm -rf conftest* |
12842 echo "$ac_t""two" 1>&6 | 12869 echo "$ac_t""two" 1>&6 |
12843 else | 12870 else |
12844 echo "configure: failed program was:" >&5 | 12871 echo "configure: failed program was:" >&5 |
12845 cat conftest.$ac_ext >&5 | 12872 cat conftest.$ac_ext >&5 |
12857 rm -f conftest* | 12884 rm -f conftest* |
12858 fi | 12885 fi |
12859 | 12886 |
12860 | 12887 |
12861 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12888 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12862 echo "configure:12863: checking for inline" >&5 | 12889 echo "configure:12890: checking for inline" >&5 |
12863 | 12890 |
12864 ac_cv_c_inline=no | 12891 ac_cv_c_inline=no |
12865 for ac_kw in inline __inline__ __inline; do | 12892 for ac_kw in inline __inline__ __inline; do |
12866 cat > conftest.$ac_ext <<EOF | 12893 cat > conftest.$ac_ext <<EOF |
12867 #line 12868 "configure" | 12894 #line 12895 "configure" |
12868 #include "confdefs.h" | 12895 #include "confdefs.h" |
12869 | 12896 |
12870 int main() { | 12897 int main() { |
12871 } $ac_kw foo() { | 12898 } $ac_kw foo() { |
12872 ; return 0; } | 12899 ; return 0; } |
12873 EOF | 12900 EOF |
12874 if { (eval echo configure:12875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12901 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12875 rm -rf conftest* | 12902 rm -rf conftest* |
12876 ac_cv_c_inline=$ac_kw; break | 12903 ac_cv_c_inline=$ac_kw; break |
12877 else | 12904 else |
12878 echo "configure: failed program was:" >&5 | 12905 echo "configure: failed program was:" >&5 |
12879 cat conftest.$ac_ext >&5 | 12906 cat conftest.$ac_ext >&5 |
12910 | 12937 |
12911 if test "$__DECC" != "yes"; then | 12938 if test "$__DECC" != "yes"; then |
12912 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12939 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12913 # for constant arguments. Useless! | 12940 # for constant arguments. Useless! |
12914 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12941 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12915 echo "configure:12916: checking for working alloca.h" >&5 | 12942 echo "configure:12943: checking for working alloca.h" >&5 |
12916 | 12943 |
12917 cat > conftest.$ac_ext <<EOF | 12944 cat > conftest.$ac_ext <<EOF |
12918 #line 12919 "configure" | 12945 #line 12946 "configure" |
12919 #include "confdefs.h" | 12946 #include "confdefs.h" |
12920 #include <alloca.h> | 12947 #include <alloca.h> |
12921 int main() { | 12948 int main() { |
12922 char *p = alloca(2 * sizeof(int)); | 12949 char *p = alloca(2 * sizeof(int)); |
12923 ; return 0; } | 12950 ; return 0; } |
12924 EOF | 12951 EOF |
12925 if { (eval echo configure:12926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12952 if { (eval echo configure:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12926 rm -rf conftest* | 12953 rm -rf conftest* |
12927 ac_cv_header_alloca_h=yes | 12954 ac_cv_header_alloca_h=yes |
12928 else | 12955 else |
12929 echo "configure: failed program was:" >&5 | 12956 echo "configure: failed program was:" >&5 |
12930 cat conftest.$ac_ext >&5 | 12957 cat conftest.$ac_ext >&5 |
12944 } | 12971 } |
12945 | 12972 |
12946 fi | 12973 fi |
12947 | 12974 |
12948 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12975 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12949 echo "configure:12950: checking for alloca" >&5 | 12976 echo "configure:12977: checking for alloca" >&5 |
12950 | 12977 |
12951 cat > conftest.$ac_ext <<EOF | 12978 cat > conftest.$ac_ext <<EOF |
12952 #line 12953 "configure" | 12979 #line 12980 "configure" |
12953 #include "confdefs.h" | 12980 #include "confdefs.h" |
12954 | 12981 |
12955 #ifdef __GNUC__ | 12982 #ifdef __GNUC__ |
12956 # define alloca __builtin_alloca | 12983 # define alloca __builtin_alloca |
12957 #else | 12984 #else |
12975 | 13002 |
12976 int main() { | 13003 int main() { |
12977 char *p = (char *) alloca(1); | 13004 char *p = (char *) alloca(1); |
12978 ; return 0; } | 13005 ; return 0; } |
12979 EOF | 13006 EOF |
12980 if { (eval echo configure:12981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13007 if { (eval echo configure:13008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12981 rm -rf conftest* | 13008 rm -rf conftest* |
12982 ac_cv_func_alloca_works=yes | 13009 ac_cv_func_alloca_works=yes |
12983 else | 13010 else |
12984 echo "configure: failed program was:" >&5 | 13011 echo "configure: failed program was:" >&5 |
12985 cat conftest.$ac_ext >&5 | 13012 cat conftest.$ac_ext >&5 |
13014 EOF | 13041 EOF |
13015 } | 13042 } |
13016 | 13043 |
13017 | 13044 |
13018 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13045 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13019 echo "configure:13020: checking whether alloca needs Cray hooks" >&5 | 13046 echo "configure:13047: checking whether alloca needs Cray hooks" >&5 |
13020 | 13047 |
13021 cat > conftest.$ac_ext <<EOF | 13048 cat > conftest.$ac_ext <<EOF |
13022 #line 13023 "configure" | 13049 #line 13050 "configure" |
13023 #include "confdefs.h" | 13050 #include "confdefs.h" |
13024 #if defined(CRAY) && ! defined(CRAY2) | 13051 #if defined(CRAY) && ! defined(CRAY2) |
13025 webecray | 13052 webecray |
13026 #else | 13053 #else |
13027 wenotbecray | 13054 wenotbecray |
13041 | 13068 |
13042 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13069 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13043 if test $ac_cv_os_cray = yes; then | 13070 if test $ac_cv_os_cray = yes; then |
13044 for ac_func in _getb67 GETB67 getb67; do | 13071 for ac_func in _getb67 GETB67 getb67; do |
13045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13046 echo "configure:13047: checking for $ac_func" >&5 | 13073 echo "configure:13074: checking for $ac_func" >&5 |
13047 | 13074 |
13048 cat > conftest.$ac_ext <<EOF | 13075 cat > conftest.$ac_ext <<EOF |
13049 #line 13050 "configure" | 13076 #line 13077 "configure" |
13050 #include "confdefs.h" | 13077 #include "confdefs.h" |
13051 /* System header to define __stub macros and hopefully few prototypes, | 13078 /* System header to define __stub macros and hopefully few prototypes, |
13052 which can conflict with char $ac_func(); below. */ | 13079 which can conflict with char $ac_func(); below. */ |
13053 #include <assert.h> | 13080 #include <assert.h> |
13054 /* Override any gcc2 internal prototype to avoid an error. */ | 13081 /* Override any gcc2 internal prototype to avoid an error. */ |
13067 $ac_func(); | 13094 $ac_func(); |
13068 #endif | 13095 #endif |
13069 | 13096 |
13070 ; return 0; } | 13097 ; return 0; } |
13071 EOF | 13098 EOF |
13072 if { (eval echo configure:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13099 if { (eval echo configure:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13073 rm -rf conftest* | 13100 rm -rf conftest* |
13074 eval "ac_cv_func_$ac_func=yes" | 13101 eval "ac_cv_func_$ac_func=yes" |
13075 else | 13102 else |
13076 echo "configure: failed program was:" >&5 | 13103 echo "configure: failed program was:" >&5 |
13077 cat conftest.$ac_ext >&5 | 13104 cat conftest.$ac_ext >&5 |
13097 | 13124 |
13098 done | 13125 done |
13099 fi | 13126 fi |
13100 | 13127 |
13101 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13128 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13102 echo "configure:13103: checking stack direction for C alloca" >&5 | 13129 echo "configure:13130: checking stack direction for C alloca" >&5 |
13103 | 13130 |
13104 cat > conftest.$ac_ext <<EOF | 13131 cat > conftest.$ac_ext <<EOF |
13105 #line 13106 "configure" | 13132 #line 13133 "configure" |
13106 #include "confdefs.h" | 13133 #include "confdefs.h" |
13107 find_stack_direction () | 13134 find_stack_direction () |
13108 { | 13135 { |
13109 static char *addr = 0; | 13136 static char *addr = 0; |
13110 auto char dummy; | 13137 auto char dummy; |
13119 main () | 13146 main () |
13120 { | 13147 { |
13121 exit (find_stack_direction() < 0); | 13148 exit (find_stack_direction() < 0); |
13122 } | 13149 } |
13123 EOF | 13150 EOF |
13124 if { (eval echo configure:13125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13151 if { (eval echo configure:13152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13125 then | 13152 then |
13126 ac_cv_c_stack_direction=1 | 13153 ac_cv_c_stack_direction=1 |
13127 else | 13154 else |
13128 conftest_rc="$?" | 13155 conftest_rc="$?" |
13129 echo "configure: failed program was:" >&5 | 13156 echo "configure: failed program was:" >&5 |
13148 echo " xemacs will be linked with \"$ALLOCA\"" | 13175 echo " xemacs will be linked with \"$ALLOCA\"" |
13149 fi | 13176 fi |
13150 fi | 13177 fi |
13151 | 13178 |
13152 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13179 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13153 echo "configure:13154: checking for working alloca in function calls" >&5 | 13180 echo "configure:13181: checking for working alloca in function calls" >&5 |
13154 cat > conftest.$ac_ext <<EOF | 13181 cat > conftest.$ac_ext <<EOF |
13155 #line 13156 "configure" | 13182 #line 13183 "configure" |
13156 #include "confdefs.h" | 13183 #include "confdefs.h" |
13157 | 13184 |
13158 #if defined (__CYGWIN__) | 13185 #if defined (__CYGWIN__) |
13159 #include <alloca.h> | 13186 #include <alloca.h> |
13160 #elif defined (__GNUC__) | 13187 #elif defined (__GNUC__) |
13203 return 1; | 13230 return 1; |
13204 return 0; | 13231 return 0; |
13205 } | 13232 } |
13206 | 13233 |
13207 EOF | 13234 EOF |
13208 if { (eval echo configure:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13235 if { (eval echo configure:13236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13209 then | 13236 then |
13210 working_alloca_in_function_calls=yes | 13237 working_alloca_in_function_calls=yes |
13211 else | 13238 else |
13212 conftest_rc="$?" | 13239 conftest_rc="$?" |
13213 echo "configure: failed program was:" >&5 | 13240 echo "configure: failed program was:" >&5 |
13226 EOF | 13253 EOF |
13227 } | 13254 } |
13228 | 13255 |
13229 | 13256 |
13230 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13257 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13231 echo "configure:13232: checking for working strcoll" >&5 | 13258 echo "configure:13259: checking for working strcoll" >&5 |
13232 | 13259 |
13233 cat > conftest.$ac_ext <<EOF | 13260 cat > conftest.$ac_ext <<EOF |
13234 #line 13235 "configure" | 13261 #line 13262 "configure" |
13235 #include "confdefs.h" | 13262 #include "confdefs.h" |
13236 #include <string.h> | 13263 #include <string.h> |
13237 main () | 13264 main () |
13238 { | 13265 { |
13239 exit (strcoll ("abc", "def") >= 0 || | 13266 exit (strcoll ("abc", "def") >= 0 || |
13240 strcoll ("ABC", "DEF") >= 0 || | 13267 strcoll ("ABC", "DEF") >= 0 || |
13241 strcoll ("123", "456") >= 0); | 13268 strcoll ("123", "456") >= 0); |
13242 } | 13269 } |
13243 EOF | 13270 EOF |
13244 if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13271 if { (eval echo configure:13272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13245 then | 13272 then |
13246 ac_cv_func_strcoll_works=yes | 13273 ac_cv_func_strcoll_works=yes |
13247 else | 13274 else |
13248 conftest_rc="$?" | 13275 conftest_rc="$?" |
13249 echo "configure: failed program was:" >&5 | 13276 echo "configure: failed program was:" >&5 |
13267 | 13294 |
13268 | 13295 |
13269 for ac_func in getpgrp | 13296 for ac_func in getpgrp |
13270 do | 13297 do |
13271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13272 echo "configure:13273: checking for $ac_func" >&5 | 13299 echo "configure:13300: checking for $ac_func" >&5 |
13273 | 13300 |
13274 cat > conftest.$ac_ext <<EOF | 13301 cat > conftest.$ac_ext <<EOF |
13275 #line 13276 "configure" | 13302 #line 13303 "configure" |
13276 #include "confdefs.h" | 13303 #include "confdefs.h" |
13277 /* System header to define __stub macros and hopefully few prototypes, | 13304 /* System header to define __stub macros and hopefully few prototypes, |
13278 which can conflict with char $ac_func(); below. */ | 13305 which can conflict with char $ac_func(); below. */ |
13279 #include <assert.h> | 13306 #include <assert.h> |
13280 /* Override any gcc2 internal prototype to avoid an error. */ | 13307 /* Override any gcc2 internal prototype to avoid an error. */ |
13293 $ac_func(); | 13320 $ac_func(); |
13294 #endif | 13321 #endif |
13295 | 13322 |
13296 ; return 0; } | 13323 ; return 0; } |
13297 EOF | 13324 EOF |
13298 if { (eval echo configure:13299: \"$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 |
13299 rm -rf conftest* | 13326 rm -rf conftest* |
13300 eval "ac_cv_func_$ac_func=yes" | 13327 eval "ac_cv_func_$ac_func=yes" |
13301 else | 13328 else |
13302 echo "configure: failed program was:" >&5 | 13329 echo "configure: failed program was:" >&5 |
13303 cat conftest.$ac_ext >&5 | 13330 cat conftest.$ac_ext >&5 |
13321 echo "$ac_t""no" 1>&6 | 13348 echo "$ac_t""no" 1>&6 |
13322 fi | 13349 fi |
13323 done | 13350 done |
13324 | 13351 |
13325 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13352 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13326 echo "configure:13327: checking whether getpgrp takes no argument" >&5 | 13353 echo "configure:13354: checking whether getpgrp takes no argument" >&5 |
13327 | 13354 |
13328 cat > conftest.$ac_ext <<EOF | 13355 cat > conftest.$ac_ext <<EOF |
13329 #line 13330 "configure" | 13356 #line 13357 "configure" |
13330 #include "confdefs.h" | 13357 #include "confdefs.h" |
13331 | 13358 |
13332 /* | 13359 /* |
13333 * If this system has a BSD-style getpgrp(), | 13360 * If this system has a BSD-style getpgrp(), |
13334 * which takes a pid argument, exit unsuccessfully. | 13361 * which takes a pid argument, exit unsuccessfully. |
13379 exit(s>>8); | 13406 exit(s>>8); |
13380 } | 13407 } |
13381 } | 13408 } |
13382 | 13409 |
13383 EOF | 13410 EOF |
13384 if { (eval echo configure:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13385 then | 13412 then |
13386 ac_cv_func_getpgrp_void=yes | 13413 ac_cv_func_getpgrp_void=yes |
13387 else | 13414 else |
13388 conftest_rc="$?" | 13415 conftest_rc="$?" |
13389 echo "configure: failed program was:" >&5 | 13416 echo "configure: failed program was:" >&5 |
13406 | 13433 |
13407 fi | 13434 fi |
13408 | 13435 |
13409 | 13436 |
13410 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13437 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13411 echo "configure:13412: checking for working mmap" >&5 | 13438 echo "configure:13439: checking for working mmap" >&5 |
13412 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13439 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13413 cat > conftest.$ac_ext <<EOF | 13440 cat > conftest.$ac_ext <<EOF |
13414 #line 13415 "configure" | 13441 #line 13442 "configure" |
13415 #include "confdefs.h" | 13442 #include "confdefs.h" |
13416 #include <stdio.h> | 13443 #include <stdio.h> |
13417 #include <unistd.h> | 13444 #include <unistd.h> |
13418 #include <fcntl.h> | 13445 #include <fcntl.h> |
13419 #include <sys/mman.h> | 13446 #include <sys/mman.h> |
13442 return 0; | 13469 return 0; |
13443 perror ("conftest: mmap failed"); | 13470 perror ("conftest: mmap failed"); |
13444 return 1; | 13471 return 1; |
13445 } | 13472 } |
13446 EOF | 13473 EOF |
13447 if { (eval echo configure:13448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13474 if { (eval echo configure:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13448 then | 13475 then |
13449 have_mmap=yes | 13476 have_mmap=yes |
13450 else | 13477 else |
13451 conftest_rc="$?" | 13478 conftest_rc="$?" |
13452 echo "configure: failed program was:" >&5 | 13479 echo "configure: failed program was:" >&5 |
13471 esac | 13498 esac |
13472 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13499 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13473 if test "$rel_alloc $have_mmap" = "default yes"; then | 13500 if test "$rel_alloc $have_mmap" = "default yes"; then |
13474 if test "$doug_lea_malloc" = "yes"; then | 13501 if test "$doug_lea_malloc" = "yes"; then |
13475 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13502 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13476 echo "configure:13477: checking for M_MMAP_THRESHOLD" >&5 | 13503 echo "configure:13504: checking for M_MMAP_THRESHOLD" >&5 |
13477 cat > conftest.$ac_ext <<EOF | 13504 cat > conftest.$ac_ext <<EOF |
13478 #line 13479 "configure" | 13505 #line 13506 "configure" |
13479 #include "confdefs.h" | 13506 #include "confdefs.h" |
13480 #include <malloc.h> | 13507 #include <malloc.h> |
13481 int main() { | 13508 int main() { |
13482 | 13509 |
13483 #ifndef M_MMAP_THRESHOLD | 13510 #ifndef M_MMAP_THRESHOLD |
13485 !@+$%^&*_)(_ - unlikely to compile... | 13512 !@+$%^&*_)(_ - unlikely to compile... |
13486 #endif | 13513 #endif |
13487 | 13514 |
13488 ; return 0; } | 13515 ; return 0; } |
13489 EOF | 13516 EOF |
13490 if { (eval echo configure:13491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13517 if { (eval echo configure:13518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13491 rm -rf conftest* | 13518 rm -rf conftest* |
13492 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13519 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13493 else | 13520 else |
13494 echo "configure: failed program was:" >&5 | 13521 echo "configure: failed program was:" >&5 |
13495 cat conftest.$ac_ext >&5 | 13522 cat conftest.$ac_ext >&5 |
13510 } | 13537 } |
13511 | 13538 |
13512 | 13539 |
13513 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13540 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13514 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13541 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13515 echo "configure:13516: checking for termios.h" >&5 | 13542 echo "configure:13543: checking for termios.h" >&5 |
13516 | 13543 |
13517 cat > conftest.$ac_ext <<EOF | 13544 cat > conftest.$ac_ext <<EOF |
13518 #line 13519 "configure" | 13545 #line 13546 "configure" |
13519 #include "confdefs.h" | 13546 #include "confdefs.h" |
13520 #include <termios.h> | 13547 #include <termios.h> |
13521 EOF | 13548 EOF |
13522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13523 { (eval echo configure:13524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13550 { (eval echo configure:13551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13525 if test -z "$ac_err"; then | 13552 if test -z "$ac_err"; then |
13526 rm -rf conftest* | 13553 rm -rf conftest* |
13527 eval "ac_cv_header_$ac_safe=yes" | 13554 eval "ac_cv_header_$ac_safe=yes" |
13528 else | 13555 else |
13561 | 13588 |
13562 else | 13589 else |
13563 echo "$ac_t""no" 1>&6 | 13590 echo "$ac_t""no" 1>&6 |
13564 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13591 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13565 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13592 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13566 echo "configure:13567: checking for termio.h" >&5 | 13593 echo "configure:13594: checking for termio.h" >&5 |
13567 | 13594 |
13568 cat > conftest.$ac_ext <<EOF | 13595 cat > conftest.$ac_ext <<EOF |
13569 #line 13570 "configure" | 13596 #line 13597 "configure" |
13570 #include "confdefs.h" | 13597 #include "confdefs.h" |
13571 #include <termio.h> | 13598 #include <termio.h> |
13572 EOF | 13599 EOF |
13573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13574 { (eval echo configure:13575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13601 { (eval echo configure:13602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13576 if test -z "$ac_err"; then | 13603 if test -z "$ac_err"; then |
13577 rm -rf conftest* | 13604 rm -rf conftest* |
13578 eval "ac_cv_header_$ac_safe=yes" | 13605 eval "ac_cv_header_$ac_safe=yes" |
13579 else | 13606 else |
13601 fi | 13628 fi |
13602 | 13629 |
13603 | 13630 |
13604 | 13631 |
13605 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13632 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13606 echo "configure:13607: checking for socket" >&5 | 13633 echo "configure:13634: checking for socket" >&5 |
13607 | 13634 |
13608 cat > conftest.$ac_ext <<EOF | 13635 cat > conftest.$ac_ext <<EOF |
13609 #line 13610 "configure" | 13636 #line 13637 "configure" |
13610 #include "confdefs.h" | 13637 #include "confdefs.h" |
13611 /* System header to define __stub macros and hopefully few prototypes, | 13638 /* System header to define __stub macros and hopefully few prototypes, |
13612 which can conflict with char socket(); below. */ | 13639 which can conflict with char socket(); below. */ |
13613 #include <assert.h> | 13640 #include <assert.h> |
13614 /* Override any gcc2 internal prototype to avoid an error. */ | 13641 /* Override any gcc2 internal prototype to avoid an error. */ |
13627 socket(); | 13654 socket(); |
13628 #endif | 13655 #endif |
13629 | 13656 |
13630 ; return 0; } | 13657 ; return 0; } |
13631 EOF | 13658 EOF |
13632 if { (eval echo configure:13633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13659 if { (eval echo configure:13660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13633 rm -rf conftest* | 13660 rm -rf conftest* |
13634 eval "ac_cv_func_socket=yes" | 13661 eval "ac_cv_func_socket=yes" |
13635 else | 13662 else |
13636 echo "configure: failed program was:" >&5 | 13663 echo "configure: failed program was:" >&5 |
13637 cat conftest.$ac_ext >&5 | 13664 cat conftest.$ac_ext >&5 |
13642 | 13669 |
13643 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13670 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13644 echo "$ac_t""yes" 1>&6 | 13671 echo "$ac_t""yes" 1>&6 |
13645 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13672 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13646 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13673 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13647 echo "configure:13648: checking for netinet/in.h" >&5 | 13674 echo "configure:13675: checking for netinet/in.h" >&5 |
13648 | 13675 |
13649 cat > conftest.$ac_ext <<EOF | 13676 cat > conftest.$ac_ext <<EOF |
13650 #line 13651 "configure" | 13677 #line 13678 "configure" |
13651 #include "confdefs.h" | 13678 #include "confdefs.h" |
13652 #include <netinet/in.h> | 13679 #include <netinet/in.h> |
13653 EOF | 13680 EOF |
13654 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13655 { (eval echo configure:13656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13682 { (eval echo configure:13683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13657 if test -z "$ac_err"; then | 13684 if test -z "$ac_err"; then |
13658 rm -rf conftest* | 13685 rm -rf conftest* |
13659 eval "ac_cv_header_$ac_safe=yes" | 13686 eval "ac_cv_header_$ac_safe=yes" |
13660 else | 13687 else |
13667 rm -f conftest* | 13694 rm -f conftest* |
13668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13669 echo "$ac_t""yes" 1>&6 | 13696 echo "$ac_t""yes" 1>&6 |
13670 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13697 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13671 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13698 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13672 echo "configure:13673: checking for arpa/inet.h" >&5 | 13699 echo "configure:13700: checking for arpa/inet.h" >&5 |
13673 | 13700 |
13674 cat > conftest.$ac_ext <<EOF | 13701 cat > conftest.$ac_ext <<EOF |
13675 #line 13676 "configure" | 13702 #line 13703 "configure" |
13676 #include "confdefs.h" | 13703 #include "confdefs.h" |
13677 #include <arpa/inet.h> | 13704 #include <arpa/inet.h> |
13678 EOF | 13705 EOF |
13679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13680 { (eval echo configure:13681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13707 { (eval echo configure:13708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13682 if test -z "$ac_err"; then | 13709 if test -z "$ac_err"; then |
13683 rm -rf conftest* | 13710 rm -rf conftest* |
13684 eval "ac_cv_header_$ac_safe=yes" | 13711 eval "ac_cv_header_$ac_safe=yes" |
13685 else | 13712 else |
13700 #define HAVE_SOCKETS 1 | 13727 #define HAVE_SOCKETS 1 |
13701 EOF | 13728 EOF |
13702 } | 13729 } |
13703 | 13730 |
13704 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13731 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13705 echo "configure:13706: checking "for sun_len member in struct sockaddr_un"" >&5 | 13732 echo "configure:13733: checking "for sun_len member in struct sockaddr_un"" >&5 |
13706 cat > conftest.$ac_ext <<EOF | 13733 cat > conftest.$ac_ext <<EOF |
13707 #line 13708 "configure" | 13734 #line 13735 "configure" |
13708 #include "confdefs.h" | 13735 #include "confdefs.h" |
13709 | 13736 |
13710 #include <sys/types.h> | 13737 #include <sys/types.h> |
13711 #include <sys/socket.h> | 13738 #include <sys/socket.h> |
13712 #include <sys/un.h> | 13739 #include <sys/un.h> |
13713 | 13740 |
13714 int main() { | 13741 int main() { |
13715 static struct sockaddr_un x; x.sun_len = 1; | 13742 static struct sockaddr_un x; x.sun_len = 1; |
13716 ; return 0; } | 13743 ; return 0; } |
13717 EOF | 13744 EOF |
13718 if { (eval echo configure:13719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13745 if { (eval echo configure:13746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13719 rm -rf conftest* | 13746 rm -rf conftest* |
13720 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13747 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13721 Defining HAVE_SOCKADDR_SUN_LEN | 13748 Defining HAVE_SOCKADDR_SUN_LEN |
13722 EOF | 13749 EOF |
13723 cat >> confdefs.h <<\EOF | 13750 cat >> confdefs.h <<\EOF |
13731 rm -rf conftest* | 13758 rm -rf conftest* |
13732 echo "$ac_t""no" 1>&6 | 13759 echo "$ac_t""no" 1>&6 |
13733 fi | 13760 fi |
13734 rm -f conftest* | 13761 rm -f conftest* |
13735 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13762 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13736 echo "configure:13737: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13763 echo "configure:13764: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13737 cat > conftest.$ac_ext <<EOF | 13764 cat > conftest.$ac_ext <<EOF |
13738 #line 13739 "configure" | 13765 #line 13766 "configure" |
13739 #include "confdefs.h" | 13766 #include "confdefs.h" |
13740 | 13767 |
13741 #include <sys/types.h> | 13768 #include <sys/types.h> |
13742 #include <netinet/in.h> | 13769 #include <netinet/in.h> |
13743 | 13770 |
13744 int main() { | 13771 int main() { |
13745 static struct ip_mreq x; | 13772 static struct ip_mreq x; |
13746 ; return 0; } | 13773 ; return 0; } |
13747 EOF | 13774 EOF |
13748 if { (eval echo configure:13749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13775 if { (eval echo configure:13776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13749 rm -rf conftest* | 13776 rm -rf conftest* |
13750 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13777 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13751 Defining HAVE_MULTICAST | 13778 Defining HAVE_MULTICAST |
13752 EOF | 13779 EOF |
13753 cat >> confdefs.h <<\EOF | 13780 cat >> confdefs.h <<\EOF |
13774 echo "$ac_t""no" 1>&6 | 13801 echo "$ac_t""no" 1>&6 |
13775 fi | 13802 fi |
13776 | 13803 |
13777 | 13804 |
13778 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13805 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13779 echo "configure:13780: checking for msgget" >&5 | 13806 echo "configure:13807: checking for msgget" >&5 |
13780 | 13807 |
13781 cat > conftest.$ac_ext <<EOF | 13808 cat > conftest.$ac_ext <<EOF |
13782 #line 13783 "configure" | 13809 #line 13810 "configure" |
13783 #include "confdefs.h" | 13810 #include "confdefs.h" |
13784 /* System header to define __stub macros and hopefully few prototypes, | 13811 /* System header to define __stub macros and hopefully few prototypes, |
13785 which can conflict with char msgget(); below. */ | 13812 which can conflict with char msgget(); below. */ |
13786 #include <assert.h> | 13813 #include <assert.h> |
13787 /* Override any gcc2 internal prototype to avoid an error. */ | 13814 /* Override any gcc2 internal prototype to avoid an error. */ |
13800 msgget(); | 13827 msgget(); |
13801 #endif | 13828 #endif |
13802 | 13829 |
13803 ; return 0; } | 13830 ; return 0; } |
13804 EOF | 13831 EOF |
13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13832 if { (eval echo configure:13833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13806 rm -rf conftest* | 13833 rm -rf conftest* |
13807 eval "ac_cv_func_msgget=yes" | 13834 eval "ac_cv_func_msgget=yes" |
13808 else | 13835 else |
13809 echo "configure: failed program was:" >&5 | 13836 echo "configure: failed program was:" >&5 |
13810 cat conftest.$ac_ext >&5 | 13837 cat conftest.$ac_ext >&5 |
13815 | 13842 |
13816 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13843 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13817 echo "$ac_t""yes" 1>&6 | 13844 echo "$ac_t""yes" 1>&6 |
13818 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13845 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13819 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13846 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13820 echo "configure:13821: checking for sys/ipc.h" >&5 | 13847 echo "configure:13848: checking for sys/ipc.h" >&5 |
13821 | 13848 |
13822 cat > conftest.$ac_ext <<EOF | 13849 cat > conftest.$ac_ext <<EOF |
13823 #line 13824 "configure" | 13850 #line 13851 "configure" |
13824 #include "confdefs.h" | 13851 #include "confdefs.h" |
13825 #include <sys/ipc.h> | 13852 #include <sys/ipc.h> |
13826 EOF | 13853 EOF |
13827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13828 { (eval echo configure:13829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13855 { (eval echo configure:13856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13830 if test -z "$ac_err"; then | 13857 if test -z "$ac_err"; then |
13831 rm -rf conftest* | 13858 rm -rf conftest* |
13832 eval "ac_cv_header_$ac_safe=yes" | 13859 eval "ac_cv_header_$ac_safe=yes" |
13833 else | 13860 else |
13840 rm -f conftest* | 13867 rm -f conftest* |
13841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13842 echo "$ac_t""yes" 1>&6 | 13869 echo "$ac_t""yes" 1>&6 |
13843 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13870 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13844 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13871 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13845 echo "configure:13846: checking for sys/msg.h" >&5 | 13872 echo "configure:13873: checking for sys/msg.h" >&5 |
13846 | 13873 |
13847 cat > conftest.$ac_ext <<EOF | 13874 cat > conftest.$ac_ext <<EOF |
13848 #line 13849 "configure" | 13875 #line 13876 "configure" |
13849 #include "confdefs.h" | 13876 #include "confdefs.h" |
13850 #include <sys/msg.h> | 13877 #include <sys/msg.h> |
13851 EOF | 13878 EOF |
13852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13853 { (eval echo configure:13854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13880 { (eval echo configure:13881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13855 if test -z "$ac_err"; then | 13882 if test -z "$ac_err"; then |
13856 rm -rf conftest* | 13883 rm -rf conftest* |
13857 eval "ac_cv_header_$ac_safe=yes" | 13884 eval "ac_cv_header_$ac_safe=yes" |
13858 else | 13885 else |
13886 fi | 13913 fi |
13887 | 13914 |
13888 | 13915 |
13889 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13916 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13890 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13917 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13891 echo "configure:13892: checking for dirent.h" >&5 | 13918 echo "configure:13919: checking for dirent.h" >&5 |
13892 | 13919 |
13893 cat > conftest.$ac_ext <<EOF | 13920 cat > conftest.$ac_ext <<EOF |
13894 #line 13895 "configure" | 13921 #line 13922 "configure" |
13895 #include "confdefs.h" | 13922 #include "confdefs.h" |
13896 #include <dirent.h> | 13923 #include <dirent.h> |
13897 EOF | 13924 EOF |
13898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13899 { (eval echo configure:13900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13926 { (eval echo configure:13927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13901 if test -z "$ac_err"; then | 13928 if test -z "$ac_err"; then |
13902 rm -rf conftest* | 13929 rm -rf conftest* |
13903 eval "ac_cv_header_$ac_safe=yes" | 13930 eval "ac_cv_header_$ac_safe=yes" |
13904 else | 13931 else |
13921 | 13948 |
13922 else | 13949 else |
13923 echo "$ac_t""no" 1>&6 | 13950 echo "$ac_t""no" 1>&6 |
13924 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13951 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13925 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13952 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13926 echo "configure:13927: checking for sys/dir.h" >&5 | 13953 echo "configure:13954: checking for sys/dir.h" >&5 |
13927 | 13954 |
13928 cat > conftest.$ac_ext <<EOF | 13955 cat > conftest.$ac_ext <<EOF |
13929 #line 13930 "configure" | 13956 #line 13957 "configure" |
13930 #include "confdefs.h" | 13957 #include "confdefs.h" |
13931 #include <sys/dir.h> | 13958 #include <sys/dir.h> |
13932 EOF | 13959 EOF |
13933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13934 { (eval echo configure:13935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13961 { (eval echo configure:13962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13936 if test -z "$ac_err"; then | 13963 if test -z "$ac_err"; then |
13937 rm -rf conftest* | 13964 rm -rf conftest* |
13938 eval "ac_cv_header_$ac_safe=yes" | 13965 eval "ac_cv_header_$ac_safe=yes" |
13939 else | 13966 else |
13962 fi | 13989 fi |
13963 | 13990 |
13964 | 13991 |
13965 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13992 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13966 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13993 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13967 echo "configure:13968: checking for nlist.h" >&5 | 13994 echo "configure:13995: checking for nlist.h" >&5 |
13968 | 13995 |
13969 cat > conftest.$ac_ext <<EOF | 13996 cat > conftest.$ac_ext <<EOF |
13970 #line 13971 "configure" | 13997 #line 13998 "configure" |
13971 #include "confdefs.h" | 13998 #include "confdefs.h" |
13972 #include <nlist.h> | 13999 #include <nlist.h> |
13973 EOF | 14000 EOF |
13974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13975 { (eval echo configure:13976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14002 { (eval echo configure:14003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13977 if test -z "$ac_err"; then | 14004 if test -z "$ac_err"; then |
13978 rm -rf conftest* | 14005 rm -rf conftest* |
13979 eval "ac_cv_header_$ac_safe=yes" | 14006 eval "ac_cv_header_$ac_safe=yes" |
13980 else | 14007 else |
14000 fi | 14027 fi |
14001 | 14028 |
14002 | 14029 |
14003 | 14030 |
14004 echo "checking "for sound support"" 1>&6 | 14031 echo "checking "for sound support"" 1>&6 |
14005 echo "configure:14006: checking "for sound support"" >&5 | 14032 echo "configure:14033: checking "for sound support"" >&5 |
14006 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14033 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14007 | 14034 |
14008 if test "$with_native_sound" != "no"; then | 14035 if test "$with_native_sound" != "no"; then |
14009 if test -n "$native_sound_lib"; then | 14036 if test -n "$native_sound_lib"; then |
14010 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14037 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14011 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14038 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14012 echo "configure:14013: checking for multimedia/audio_device.h" >&5 | 14039 echo "configure:14040: checking for multimedia/audio_device.h" >&5 |
14013 | 14040 |
14014 cat > conftest.$ac_ext <<EOF | 14041 cat > conftest.$ac_ext <<EOF |
14015 #line 14016 "configure" | 14042 #line 14043 "configure" |
14016 #include "confdefs.h" | 14043 #include "confdefs.h" |
14017 #include <multimedia/audio_device.h> | 14044 #include <multimedia/audio_device.h> |
14018 EOF | 14045 EOF |
14019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14020 { (eval echo configure:14021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14047 { (eval echo configure:14048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14022 if test -z "$ac_err"; then | 14049 if test -z "$ac_err"; then |
14023 rm -rf conftest* | 14050 rm -rf conftest* |
14024 eval "ac_cv_header_$ac_safe=yes" | 14051 eval "ac_cv_header_$ac_safe=yes" |
14025 else | 14052 else |
14063 case "$canonical" in | 14090 case "$canonical" in |
14064 *-sgi-* ) | 14091 *-sgi-* ) |
14065 if test -z "$native_sound_lib"; then | 14092 if test -z "$native_sound_lib"; then |
14066 | 14093 |
14067 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14094 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14068 echo "configure:14069: checking for ALopenport in -laudio" >&5 | 14095 echo "configure:14096: checking for ALopenport in -laudio" >&5 |
14069 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14096 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14070 | 14097 |
14071 xe_check_libs=" -laudio " | 14098 xe_check_libs=" -laudio " |
14072 cat > conftest.$ac_ext <<EOF | 14099 cat > conftest.$ac_ext <<EOF |
14073 #line 14074 "configure" | 14100 #line 14101 "configure" |
14074 #include "confdefs.h" | 14101 #include "confdefs.h" |
14075 /* Override any gcc2 internal prototype to avoid an error. */ | 14102 /* Override any gcc2 internal prototype to avoid an error. */ |
14076 /* We use char because int might match the return type of a gcc2 | 14103 /* We use char because int might match the return type of a gcc2 |
14077 builtin and then its argument prototype would still apply. */ | 14104 builtin and then its argument prototype would still apply. */ |
14078 char ALopenport(); | 14105 char ALopenport(); |
14079 | 14106 |
14080 int main() { | 14107 int main() { |
14081 ALopenport() | 14108 ALopenport() |
14082 ; return 0; } | 14109 ; return 0; } |
14083 EOF | 14110 EOF |
14084 if { (eval echo configure:14085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14111 if { (eval echo configure:14112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14085 rm -rf conftest* | 14112 rm -rf conftest* |
14086 eval "ac_cv_lib_$ac_lib_var=yes" | 14113 eval "ac_cv_lib_$ac_lib_var=yes" |
14087 else | 14114 else |
14088 echo "configure: failed program was:" >&5 | 14115 echo "configure: failed program was:" >&5 |
14089 cat conftest.$ac_ext >&5 | 14116 cat conftest.$ac_ext >&5 |
14110 fi ;; | 14137 fi ;; |
14111 hppa*-hp-hpux* ) | 14138 hppa*-hp-hpux* ) |
14112 if test -z "$native_sound_lib"; then | 14139 if test -z "$native_sound_lib"; then |
14113 | 14140 |
14114 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14141 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14115 echo "configure:14116: checking for AOpenAudio in -lAlib" >&5 | 14142 echo "configure:14143: checking for AOpenAudio in -lAlib" >&5 |
14116 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14143 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14117 | 14144 |
14118 xe_check_libs=" -lAlib " | 14145 xe_check_libs=" -lAlib " |
14119 cat > conftest.$ac_ext <<EOF | 14146 cat > conftest.$ac_ext <<EOF |
14120 #line 14121 "configure" | 14147 #line 14148 "configure" |
14121 #include "confdefs.h" | 14148 #include "confdefs.h" |
14122 /* Override any gcc2 internal prototype to avoid an error. */ | 14149 /* Override any gcc2 internal prototype to avoid an error. */ |
14123 /* We use char because int might match the return type of a gcc2 | 14150 /* We use char because int might match the return type of a gcc2 |
14124 builtin and then its argument prototype would still apply. */ | 14151 builtin and then its argument prototype would still apply. */ |
14125 char AOpenAudio(); | 14152 char AOpenAudio(); |
14126 | 14153 |
14127 int main() { | 14154 int main() { |
14128 AOpenAudio() | 14155 AOpenAudio() |
14129 ; return 0; } | 14156 ; return 0; } |
14130 EOF | 14157 EOF |
14131 if { (eval echo configure:14132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14158 if { (eval echo configure:14159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14132 rm -rf conftest* | 14159 rm -rf conftest* |
14133 eval "ac_cv_lib_$ac_lib_var=yes" | 14160 eval "ac_cv_lib_$ac_lib_var=yes" |
14134 else | 14161 else |
14135 echo "configure: failed program was:" >&5 | 14162 echo "configure: failed program was:" >&5 |
14136 cat conftest.$ac_ext >&5 | 14163 cat conftest.$ac_ext >&5 |
14174 | 14201 |
14175 if test -z "$sound_found"; then | 14202 if test -z "$sound_found"; then |
14176 for dir in "machine" "sys" "linux"; do | 14203 for dir in "machine" "sys" "linux"; do |
14177 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14204 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14178 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14205 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14179 echo "configure:14180: checking for ${dir}/soundcard.h" >&5 | 14206 echo "configure:14207: checking for ${dir}/soundcard.h" >&5 |
14180 | 14207 |
14181 cat > conftest.$ac_ext <<EOF | 14208 cat > conftest.$ac_ext <<EOF |
14182 #line 14183 "configure" | 14209 #line 14210 "configure" |
14183 #include "confdefs.h" | 14210 #include "confdefs.h" |
14184 #include <${dir}/soundcard.h> | 14211 #include <${dir}/soundcard.h> |
14185 EOF | 14212 EOF |
14186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14187 { (eval echo configure:14188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14214 { (eval echo configure:14215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14189 if test -z "$ac_err"; then | 14216 if test -z "$ac_err"; then |
14190 rm -rf conftest* | 14217 rm -rf conftest* |
14191 eval "ac_cv_header_$ac_safe=yes" | 14218 eval "ac_cv_header_$ac_safe=yes" |
14192 else | 14219 else |
14236 fi | 14263 fi |
14237 | 14264 |
14238 if test "$with_nas_sound" != "no"; then | 14265 if test "$with_nas_sound" != "no"; then |
14239 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14266 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14240 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14267 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14241 echo "configure:14242: checking for audio/audiolib.h" >&5 | 14268 echo "configure:14269: checking for audio/audiolib.h" >&5 |
14242 | 14269 |
14243 cat > conftest.$ac_ext <<EOF | 14270 cat > conftest.$ac_ext <<EOF |
14244 #line 14245 "configure" | 14271 #line 14272 "configure" |
14245 #include "confdefs.h" | 14272 #include "confdefs.h" |
14246 #include <audio/audiolib.h> | 14273 #include <audio/audiolib.h> |
14247 EOF | 14274 EOF |
14248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14249 { (eval echo configure:14250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14276 { (eval echo configure:14277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14251 if test -z "$ac_err"; then | 14278 if test -z "$ac_err"; then |
14252 rm -rf conftest* | 14279 rm -rf conftest* |
14253 eval "ac_cv_header_$ac_safe=yes" | 14280 eval "ac_cv_header_$ac_safe=yes" |
14254 else | 14281 else |
14262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14289 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14263 echo "$ac_t""yes" 1>&6 | 14290 echo "$ac_t""yes" 1>&6 |
14264 | 14291 |
14265 | 14292 |
14266 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14293 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14267 echo "configure:14268: checking for AuOpenServer in -laudio" >&5 | 14294 echo "configure:14295: checking for AuOpenServer in -laudio" >&5 |
14268 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14295 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14269 | 14296 |
14270 xe_check_libs=" -laudio " | 14297 xe_check_libs=" -laudio " |
14271 cat > conftest.$ac_ext <<EOF | 14298 cat > conftest.$ac_ext <<EOF |
14272 #line 14273 "configure" | 14299 #line 14300 "configure" |
14273 #include "confdefs.h" | 14300 #include "confdefs.h" |
14274 /* Override any gcc2 internal prototype to avoid an error. */ | 14301 /* Override any gcc2 internal prototype to avoid an error. */ |
14275 /* We use char because int might match the return type of a gcc2 | 14302 /* We use char because int might match the return type of a gcc2 |
14276 builtin and then its argument prototype would still apply. */ | 14303 builtin and then its argument prototype would still apply. */ |
14277 char AuOpenServer(); | 14304 char AuOpenServer(); |
14278 | 14305 |
14279 int main() { | 14306 int main() { |
14280 AuOpenServer() | 14307 AuOpenServer() |
14281 ; return 0; } | 14308 ; return 0; } |
14282 EOF | 14309 EOF |
14283 if { (eval echo configure:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14310 if { (eval echo configure:14311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14284 rm -rf conftest* | 14311 rm -rf conftest* |
14285 eval "ac_cv_lib_$ac_lib_var=yes" | 14312 eval "ac_cv_lib_$ac_lib_var=yes" |
14286 else | 14313 else |
14287 echo "configure: failed program was:" >&5 | 14314 echo "configure: failed program was:" >&5 |
14288 cat conftest.$ac_ext >&5 | 14315 cat conftest.$ac_ext >&5 |
14317 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14344 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14318 echo " xemacs will be linked with \"nas.o\"" | 14345 echo " xemacs will be linked with \"nas.o\"" |
14319 fi | 14346 fi |
14320 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14347 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14321 cat > conftest.$ac_ext <<EOF | 14348 cat > conftest.$ac_ext <<EOF |
14322 #line 14323 "configure" | 14349 #line 14350 "configure" |
14323 #include "confdefs.h" | 14350 #include "confdefs.h" |
14324 #include <audio/Xtutil.h> | 14351 #include <audio/Xtutil.h> |
14325 EOF | 14352 EOF |
14326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14327 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14354 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14348 | 14375 |
14349 if test "$with_esd_sound" != "no"; then | 14376 if test "$with_esd_sound" != "no"; then |
14350 # Extract the first word of "esd-config", so it can be a program name with args. | 14377 # Extract the first word of "esd-config", so it can be a program name with args. |
14351 set dummy esd-config; ac_word=$2 | 14378 set dummy esd-config; ac_word=$2 |
14352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14353 echo "configure:14354: checking for $ac_word" >&5 | 14380 echo "configure:14381: checking for $ac_word" >&5 |
14354 | 14381 |
14355 if test -n "$have_esd_config"; then | 14382 if test -n "$have_esd_config"; then |
14356 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14383 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14357 else | 14384 else |
14358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14385 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14377 if test "$have_esd_config" = "yes"; then | 14404 if test "$have_esd_config" = "yes"; then |
14378 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14405 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14379 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 | 14406 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 |
14380 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14407 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14381 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14408 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14382 echo "configure:14383: checking for esd_play_stream" >&5 | 14409 echo "configure:14410: checking for esd_play_stream" >&5 |
14383 | 14410 |
14384 cat > conftest.$ac_ext <<EOF | 14411 cat > conftest.$ac_ext <<EOF |
14385 #line 14386 "configure" | 14412 #line 14413 "configure" |
14386 #include "confdefs.h" | 14413 #include "confdefs.h" |
14387 /* System header to define __stub macros and hopefully few prototypes, | 14414 /* System header to define __stub macros and hopefully few prototypes, |
14388 which can conflict with char esd_play_stream(); below. */ | 14415 which can conflict with char esd_play_stream(); below. */ |
14389 #include <assert.h> | 14416 #include <assert.h> |
14390 /* Override any gcc2 internal prototype to avoid an error. */ | 14417 /* Override any gcc2 internal prototype to avoid an error. */ |
14403 esd_play_stream(); | 14430 esd_play_stream(); |
14404 #endif | 14431 #endif |
14405 | 14432 |
14406 ; return 0; } | 14433 ; return 0; } |
14407 EOF | 14434 EOF |
14408 if { (eval echo configure:14409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14435 if { (eval echo configure:14436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14409 rm -rf conftest* | 14436 rm -rf conftest* |
14410 eval "ac_cv_func_esd_play_stream=yes" | 14437 eval "ac_cv_func_esd_play_stream=yes" |
14411 else | 14438 else |
14412 echo "configure: failed program was:" >&5 | 14439 echo "configure: failed program was:" >&5 |
14413 cat conftest.$ac_ext >&5 | 14440 cat conftest.$ac_ext >&5 |
14454 | 14481 |
14455 test -z "$with_tty" && with_tty=yes | 14482 test -z "$with_tty" && with_tty=yes |
14456 | 14483 |
14457 if test "$with_tty" = "yes" ; then | 14484 if test "$with_tty" = "yes" ; then |
14458 echo "checking for TTY-related features" 1>&6 | 14485 echo "checking for TTY-related features" 1>&6 |
14459 echo "configure:14460: checking for TTY-related features" >&5 | 14486 echo "configure:14487: checking for TTY-related features" >&5 |
14460 { test "$extra_verbose" = "yes" && cat << \EOF | 14487 { test "$extra_verbose" = "yes" && cat << \EOF |
14461 Defining HAVE_TTY | 14488 Defining HAVE_TTY |
14462 EOF | 14489 EOF |
14463 cat >> confdefs.h <<\EOF | 14490 cat >> confdefs.h <<\EOF |
14464 #define HAVE_TTY 1 | 14491 #define HAVE_TTY 1 |
14467 | 14494 |
14468 | 14495 |
14469 if test -z "$with_ncurses"; then | 14496 if test -z "$with_ncurses"; then |
14470 | 14497 |
14471 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14498 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14472 echo "configure:14473: checking for tgetent in -lncurses" >&5 | 14499 echo "configure:14500: checking for tgetent in -lncurses" >&5 |
14473 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14500 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14474 | 14501 |
14475 xe_check_libs=" -lncurses " | 14502 xe_check_libs=" -lncurses " |
14476 cat > conftest.$ac_ext <<EOF | 14503 cat > conftest.$ac_ext <<EOF |
14477 #line 14478 "configure" | 14504 #line 14505 "configure" |
14478 #include "confdefs.h" | 14505 #include "confdefs.h" |
14479 /* Override any gcc2 internal prototype to avoid an error. */ | 14506 /* Override any gcc2 internal prototype to avoid an error. */ |
14480 /* We use char because int might match the return type of a gcc2 | 14507 /* We use char because int might match the return type of a gcc2 |
14481 builtin and then its argument prototype would still apply. */ | 14508 builtin and then its argument prototype would still apply. */ |
14482 char tgetent(); | 14509 char tgetent(); |
14483 | 14510 |
14484 int main() { | 14511 int main() { |
14485 tgetent() | 14512 tgetent() |
14486 ; return 0; } | 14513 ; return 0; } |
14487 EOF | 14514 EOF |
14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14515 if { (eval echo configure:14516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14489 rm -rf conftest* | 14516 rm -rf conftest* |
14490 eval "ac_cv_lib_$ac_lib_var=yes" | 14517 eval "ac_cv_lib_$ac_lib_var=yes" |
14491 else | 14518 else |
14492 echo "configure: failed program was:" >&5 | 14519 echo "configure: failed program was:" >&5 |
14493 cat conftest.$ac_ext >&5 | 14520 cat conftest.$ac_ext >&5 |
14516 EOF | 14543 EOF |
14517 } | 14544 } |
14518 | 14545 |
14519 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14546 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14520 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14547 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14521 echo "configure:14522: checking for ncurses/curses.h" >&5 | 14548 echo "configure:14549: checking for ncurses/curses.h" >&5 |
14522 | 14549 |
14523 cat > conftest.$ac_ext <<EOF | 14550 cat > conftest.$ac_ext <<EOF |
14524 #line 14525 "configure" | 14551 #line 14552 "configure" |
14525 #include "confdefs.h" | 14552 #include "confdefs.h" |
14526 #include <ncurses/curses.h> | 14553 #include <ncurses/curses.h> |
14527 EOF | 14554 EOF |
14528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14529 { (eval echo configure:14530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14556 { (eval echo configure:14557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14531 if test -z "$ac_err"; then | 14558 if test -z "$ac_err"; then |
14532 rm -rf conftest* | 14559 rm -rf conftest* |
14533 eval "ac_cv_header_$ac_safe=yes" | 14560 eval "ac_cv_header_$ac_safe=yes" |
14534 else | 14561 else |
14546 echo "$ac_t""no" 1>&6 | 14573 echo "$ac_t""no" 1>&6 |
14547 fi | 14574 fi |
14548 | 14575 |
14549 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14576 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14550 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14577 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14551 echo "configure:14552: checking for ncurses/term.h" >&5 | 14578 echo "configure:14579: checking for ncurses/term.h" >&5 |
14552 | 14579 |
14553 cat > conftest.$ac_ext <<EOF | 14580 cat > conftest.$ac_ext <<EOF |
14554 #line 14555 "configure" | 14581 #line 14582 "configure" |
14555 #include "confdefs.h" | 14582 #include "confdefs.h" |
14556 #include <ncurses/term.h> | 14583 #include <ncurses/term.h> |
14557 EOF | 14584 EOF |
14558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14559 { (eval echo configure:14560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14586 { (eval echo configure:14587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14561 if test -z "$ac_err"; then | 14588 if test -z "$ac_err"; then |
14562 rm -rf conftest* | 14589 rm -rf conftest* |
14563 eval "ac_cv_header_$ac_safe=yes" | 14590 eval "ac_cv_header_$ac_safe=yes" |
14564 else | 14591 else |
14584 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14611 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14585 save_c_switch_site="$c_switch_site" | 14612 save_c_switch_site="$c_switch_site" |
14586 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14613 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14587 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14614 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14588 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14615 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14589 echo "configure:14590: checking for ncurses/curses.h" >&5 | 14616 echo "configure:14617: checking for ncurses/curses.h" >&5 |
14590 | 14617 |
14591 cat > conftest.$ac_ext <<EOF | 14618 cat > conftest.$ac_ext <<EOF |
14592 #line 14593 "configure" | 14619 #line 14620 "configure" |
14593 #include "confdefs.h" | 14620 #include "confdefs.h" |
14594 #include <ncurses/curses.h> | 14621 #include <ncurses/curses.h> |
14595 EOF | 14622 EOF |
14596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14597 { (eval echo configure:14598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14624 { (eval echo configure:14625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14599 if test -z "$ac_err"; then | 14626 if test -z "$ac_err"; then |
14600 rm -rf conftest* | 14627 rm -rf conftest* |
14601 eval "ac_cv_header_$ac_safe=yes" | 14628 eval "ac_cv_header_$ac_safe=yes" |
14602 else | 14629 else |
14627 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14654 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14628 else | 14655 else |
14629 for lib in curses termlib termcap; do | 14656 for lib in curses termlib termcap; do |
14630 | 14657 |
14631 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14658 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14632 echo "configure:14633: checking for tgetent in -l$lib" >&5 | 14659 echo "configure:14660: checking for tgetent in -l$lib" >&5 |
14633 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14660 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14634 | 14661 |
14635 xe_check_libs=" -l$lib " | 14662 xe_check_libs=" -l$lib " |
14636 cat > conftest.$ac_ext <<EOF | 14663 cat > conftest.$ac_ext <<EOF |
14637 #line 14638 "configure" | 14664 #line 14665 "configure" |
14638 #include "confdefs.h" | 14665 #include "confdefs.h" |
14639 /* Override any gcc2 internal prototype to avoid an error. */ | 14666 /* Override any gcc2 internal prototype to avoid an error. */ |
14640 /* We use char because int might match the return type of a gcc2 | 14667 /* We use char because int might match the return type of a gcc2 |
14641 builtin and then its argument prototype would still apply. */ | 14668 builtin and then its argument prototype would still apply. */ |
14642 char tgetent(); | 14669 char tgetent(); |
14643 | 14670 |
14644 int main() { | 14671 int main() { |
14645 tgetent() | 14672 tgetent() |
14646 ; return 0; } | 14673 ; return 0; } |
14647 EOF | 14674 EOF |
14648 if { (eval echo configure:14649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14675 if { (eval echo configure:14676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14649 rm -rf conftest* | 14676 rm -rf conftest* |
14650 eval "ac_cv_lib_$ac_lib_var=yes" | 14677 eval "ac_cv_lib_$ac_lib_var=yes" |
14651 else | 14678 else |
14652 echo "configure: failed program was:" >&5 | 14679 echo "configure: failed program was:" >&5 |
14653 cat conftest.$ac_ext >&5 | 14680 cat conftest.$ac_ext >&5 |
14674 if test -n "$libs_termcap"; then | 14701 if test -n "$libs_termcap"; then |
14675 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14702 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14676 else | 14703 else |
14677 | 14704 |
14678 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14705 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14679 echo "configure:14680: checking for tgetent in -lcurses" >&5 | 14706 echo "configure:14707: checking for tgetent in -lcurses" >&5 |
14680 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14707 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14681 | 14708 |
14682 xe_check_libs=" -lcurses " | 14709 xe_check_libs=" -lcurses " |
14683 cat > conftest.$ac_ext <<EOF | 14710 cat > conftest.$ac_ext <<EOF |
14684 #line 14685 "configure" | 14711 #line 14712 "configure" |
14685 #include "confdefs.h" | 14712 #include "confdefs.h" |
14686 /* Override any gcc2 internal prototype to avoid an error. */ | 14713 /* Override any gcc2 internal prototype to avoid an error. */ |
14687 /* We use char because int might match the return type of a gcc2 | 14714 /* We use char because int might match the return type of a gcc2 |
14688 builtin and then its argument prototype would still apply. */ | 14715 builtin and then its argument prototype would still apply. */ |
14689 char tgetent(); | 14716 char tgetent(); |
14690 | 14717 |
14691 int main() { | 14718 int main() { |
14692 tgetent() | 14719 tgetent() |
14693 ; return 0; } | 14720 ; return 0; } |
14694 EOF | 14721 EOF |
14695 if { (eval echo configure:14696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14722 if { (eval echo configure:14723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14696 rm -rf conftest* | 14723 rm -rf conftest* |
14697 eval "ac_cv_lib_$ac_lib_var=yes" | 14724 eval "ac_cv_lib_$ac_lib_var=yes" |
14698 else | 14725 else |
14699 echo "configure: failed program was:" >&5 | 14726 echo "configure: failed program was:" >&5 |
14700 cat conftest.$ac_ext >&5 | 14727 cat conftest.$ac_ext >&5 |
14708 echo "$ac_t""yes" 1>&6 | 14735 echo "$ac_t""yes" 1>&6 |
14709 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14736 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14710 else | 14737 else |
14711 echo "$ac_t""no" 1>&6 | 14738 echo "$ac_t""no" 1>&6 |
14712 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14739 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14713 echo "configure:14714: checking for tgetent in -ltermcap" >&5 | 14740 echo "configure:14741: checking for tgetent in -ltermcap" >&5 |
14714 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14741 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14715 | 14742 |
14716 xe_check_libs=" -ltermcap " | 14743 xe_check_libs=" -ltermcap " |
14717 cat > conftest.$ac_ext <<EOF | 14744 cat > conftest.$ac_ext <<EOF |
14718 #line 14719 "configure" | 14745 #line 14746 "configure" |
14719 #include "confdefs.h" | 14746 #include "confdefs.h" |
14720 /* Override any gcc2 internal prototype to avoid an error. */ | 14747 /* Override any gcc2 internal prototype to avoid an error. */ |
14721 /* We use char because int might match the return type of a gcc2 | 14748 /* We use char because int might match the return type of a gcc2 |
14722 builtin and then its argument prototype would still apply. */ | 14749 builtin and then its argument prototype would still apply. */ |
14723 char tgetent(); | 14750 char tgetent(); |
14724 | 14751 |
14725 int main() { | 14752 int main() { |
14726 tgetent() | 14753 tgetent() |
14727 ; return 0; } | 14754 ; return 0; } |
14728 EOF | 14755 EOF |
14729 if { (eval echo configure:14730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14756 if { (eval echo configure:14757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14730 rm -rf conftest* | 14757 rm -rf conftest* |
14731 eval "ac_cv_lib_$ac_lib_var=yes" | 14758 eval "ac_cv_lib_$ac_lib_var=yes" |
14732 else | 14759 else |
14733 echo "configure: failed program was:" >&5 | 14760 echo "configure: failed program was:" >&5 |
14734 cat conftest.$ac_ext >&5 | 14761 cat conftest.$ac_ext >&5 |
14772 } | 14799 } |
14773 | 14800 |
14774 | 14801 |
14775 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14802 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14776 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14803 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14777 echo "configure:14778: checking for gpm.h" >&5 | 14804 echo "configure:14805: checking for gpm.h" >&5 |
14778 | 14805 |
14779 cat > conftest.$ac_ext <<EOF | 14806 cat > conftest.$ac_ext <<EOF |
14780 #line 14781 "configure" | 14807 #line 14808 "configure" |
14781 #include "confdefs.h" | 14808 #include "confdefs.h" |
14782 #include <gpm.h> | 14809 #include <gpm.h> |
14783 EOF | 14810 EOF |
14784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14785 { (eval echo configure:14786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14812 { (eval echo configure:14813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14787 if test -z "$ac_err"; then | 14814 if test -z "$ac_err"; then |
14788 rm -rf conftest* | 14815 rm -rf conftest* |
14789 eval "ac_cv_header_$ac_safe=yes" | 14816 eval "ac_cv_header_$ac_safe=yes" |
14790 else | 14817 else |
14803 with_gpm=no | 14830 with_gpm=no |
14804 fi | 14831 fi |
14805 } | 14832 } |
14806 test -z "$with_gpm" && { | 14833 test -z "$with_gpm" && { |
14807 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14834 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14808 echo "configure:14809: checking for Gpm_Open in -lgpm" >&5 | 14835 echo "configure:14836: checking for Gpm_Open in -lgpm" >&5 |
14809 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14836 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14810 | 14837 |
14811 xe_check_libs=" -lgpm " | 14838 xe_check_libs=" -lgpm " |
14812 cat > conftest.$ac_ext <<EOF | 14839 cat > conftest.$ac_ext <<EOF |
14813 #line 14814 "configure" | 14840 #line 14841 "configure" |
14814 #include "confdefs.h" | 14841 #include "confdefs.h" |
14815 /* Override any gcc2 internal prototype to avoid an error. */ | 14842 /* Override any gcc2 internal prototype to avoid an error. */ |
14816 /* We use char because int might match the return type of a gcc2 | 14843 /* We use char because int might match the return type of a gcc2 |
14817 builtin and then its argument prototype would still apply. */ | 14844 builtin and then its argument prototype would still apply. */ |
14818 char Gpm_Open(); | 14845 char Gpm_Open(); |
14819 | 14846 |
14820 int main() { | 14847 int main() { |
14821 Gpm_Open() | 14848 Gpm_Open() |
14822 ; return 0; } | 14849 ; return 0; } |
14823 EOF | 14850 EOF |
14824 if { (eval echo configure:14825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14851 if { (eval echo configure:14852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14825 rm -rf conftest* | 14852 rm -rf conftest* |
14826 eval "ac_cv_lib_$ac_lib_var=yes" | 14853 eval "ac_cv_lib_$ac_lib_var=yes" |
14827 else | 14854 else |
14828 echo "configure: failed program was:" >&5 | 14855 echo "configure: failed program was:" >&5 |
14829 cat conftest.$ac_ext >&5 | 14856 cat conftest.$ac_ext >&5 |
14862 done | 14889 done |
14863 fi | 14890 fi |
14864 | 14891 |
14865 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14892 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14866 != "no no no" && echo "checking for database support" 1>&6 | 14893 != "no no no" && echo "checking for database support" 1>&6 |
14867 echo "configure:14868: checking for database support" >&5 | 14894 echo "configure:14895: checking for database support" >&5 |
14868 | 14895 |
14869 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14896 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14870 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14897 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14871 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14898 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14872 echo "configure:14873: checking for ndbm.h" >&5 | 14899 echo "configure:14900: checking for ndbm.h" >&5 |
14873 | 14900 |
14874 cat > conftest.$ac_ext <<EOF | 14901 cat > conftest.$ac_ext <<EOF |
14875 #line 14876 "configure" | 14902 #line 14903 "configure" |
14876 #include "confdefs.h" | 14903 #include "confdefs.h" |
14877 #include <ndbm.h> | 14904 #include <ndbm.h> |
14878 EOF | 14905 EOF |
14879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14880 { (eval echo configure:14881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14907 { (eval echo configure:14908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14908 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14882 if test -z "$ac_err"; then | 14909 if test -z "$ac_err"; then |
14883 rm -rf conftest* | 14910 rm -rf conftest* |
14884 eval "ac_cv_header_$ac_safe=yes" | 14911 eval "ac_cv_header_$ac_safe=yes" |
14885 else | 14912 else |
14905 fi | 14932 fi |
14906 | 14933 |
14907 if test "$with_database_gdbm" != "no"; then | 14934 if test "$with_database_gdbm" != "no"; then |
14908 | 14935 |
14909 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14936 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14910 echo "configure:14911: checking for dbm_open in -lgdbm" >&5 | 14937 echo "configure:14938: checking for dbm_open in -lgdbm" >&5 |
14911 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14938 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14912 | 14939 |
14913 xe_check_libs=" -lgdbm " | 14940 xe_check_libs=" -lgdbm " |
14914 cat > conftest.$ac_ext <<EOF | 14941 cat > conftest.$ac_ext <<EOF |
14915 #line 14916 "configure" | 14942 #line 14943 "configure" |
14916 #include "confdefs.h" | 14943 #include "confdefs.h" |
14917 /* Override any gcc2 internal prototype to avoid an error. */ | 14944 /* Override any gcc2 internal prototype to avoid an error. */ |
14918 /* We use char because int might match the return type of a gcc2 | 14945 /* We use char because int might match the return type of a gcc2 |
14919 builtin and then its argument prototype would still apply. */ | 14946 builtin and then its argument prototype would still apply. */ |
14920 char dbm_open(); | 14947 char dbm_open(); |
14921 | 14948 |
14922 int main() { | 14949 int main() { |
14923 dbm_open() | 14950 dbm_open() |
14924 ; return 0; } | 14951 ; return 0; } |
14925 EOF | 14952 EOF |
14926 if { (eval echo configure:14927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14953 if { (eval echo configure:14954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14927 rm -rf conftest* | 14954 rm -rf conftest* |
14928 eval "ac_cv_lib_$ac_lib_var=yes" | 14955 eval "ac_cv_lib_$ac_lib_var=yes" |
14929 else | 14956 else |
14930 echo "configure: failed program was:" >&5 | 14957 echo "configure: failed program was:" >&5 |
14931 cat conftest.$ac_ext >&5 | 14958 cat conftest.$ac_ext >&5 |
14949 | 14976 |
14950 fi | 14977 fi |
14951 | 14978 |
14952 if test "$with_database_dbm" != "no"; then | 14979 if test "$with_database_dbm" != "no"; then |
14953 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14980 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14954 echo "configure:14955: checking for dbm_open" >&5 | 14981 echo "configure:14982: checking for dbm_open" >&5 |
14955 | 14982 |
14956 cat > conftest.$ac_ext <<EOF | 14983 cat > conftest.$ac_ext <<EOF |
14957 #line 14958 "configure" | 14984 #line 14985 "configure" |
14958 #include "confdefs.h" | 14985 #include "confdefs.h" |
14959 /* System header to define __stub macros and hopefully few prototypes, | 14986 /* System header to define __stub macros and hopefully few prototypes, |
14960 which can conflict with char dbm_open(); below. */ | 14987 which can conflict with char dbm_open(); below. */ |
14961 #include <assert.h> | 14988 #include <assert.h> |
14962 /* Override any gcc2 internal prototype to avoid an error. */ | 14989 /* Override any gcc2 internal prototype to avoid an error. */ |
14975 dbm_open(); | 15002 dbm_open(); |
14976 #endif | 15003 #endif |
14977 | 15004 |
14978 ; return 0; } | 15005 ; return 0; } |
14979 EOF | 15006 EOF |
14980 if { (eval echo configure:14981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15007 if { (eval echo configure:15008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14981 rm -rf conftest* | 15008 rm -rf conftest* |
14982 eval "ac_cv_func_dbm_open=yes" | 15009 eval "ac_cv_func_dbm_open=yes" |
14983 else | 15010 else |
14984 echo "configure: failed program was:" >&5 | 15011 echo "configure: failed program was:" >&5 |
14985 cat conftest.$ac_ext >&5 | 15012 cat conftest.$ac_ext >&5 |
14994 else | 15021 else |
14995 echo "$ac_t""no" 1>&6 | 15022 echo "$ac_t""no" 1>&6 |
14996 | 15023 |
14997 | 15024 |
14998 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15025 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14999 echo "configure:15000: checking for dbm_open in -ldbm" >&5 | 15026 echo "configure:15027: checking for dbm_open in -ldbm" >&5 |
15000 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15027 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15001 | 15028 |
15002 xe_check_libs=" -ldbm " | 15029 xe_check_libs=" -ldbm " |
15003 cat > conftest.$ac_ext <<EOF | 15030 cat > conftest.$ac_ext <<EOF |
15004 #line 15005 "configure" | 15031 #line 15032 "configure" |
15005 #include "confdefs.h" | 15032 #include "confdefs.h" |
15006 /* Override any gcc2 internal prototype to avoid an error. */ | 15033 /* Override any gcc2 internal prototype to avoid an error. */ |
15007 /* We use char because int might match the return type of a gcc2 | 15034 /* We use char because int might match the return type of a gcc2 |
15008 builtin and then its argument prototype would still apply. */ | 15035 builtin and then its argument prototype would still apply. */ |
15009 char dbm_open(); | 15036 char dbm_open(); |
15010 | 15037 |
15011 int main() { | 15038 int main() { |
15012 dbm_open() | 15039 dbm_open() |
15013 ; return 0; } | 15040 ; return 0; } |
15014 EOF | 15041 EOF |
15015 if { (eval echo configure:15016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15042 if { (eval echo configure:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15016 rm -rf conftest* | 15043 rm -rf conftest* |
15017 eval "ac_cv_lib_$ac_lib_var=yes" | 15044 eval "ac_cv_lib_$ac_lib_var=yes" |
15018 else | 15045 else |
15019 echo "configure: failed program was:" >&5 | 15046 echo "configure: failed program was:" >&5 |
15020 cat conftest.$ac_ext >&5 | 15047 cat conftest.$ac_ext >&5 |
15051 } | 15078 } |
15052 | 15079 |
15053 | 15080 |
15054 if test "$with_database_berkdb" != "no"; then | 15081 if test "$with_database_berkdb" != "no"; then |
15055 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15082 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15056 echo "configure:15057: checking for Berkeley db.h" >&5 | 15083 echo "configure:15084: checking for Berkeley db.h" >&5 |
15057 for header in "db/db.h" "db.h"; do | 15084 for header in "db/db.h" "db.h"; do |
15058 cat > conftest.$ac_ext <<EOF | 15085 cat > conftest.$ac_ext <<EOF |
15059 #line 15060 "configure" | 15086 #line 15087 "configure" |
15060 #include "confdefs.h" | 15087 #include "confdefs.h" |
15061 | 15088 |
15062 #include <stdlib.h> | 15089 #include <stdlib.h> |
15063 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15090 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15064 #ifdef HAVE_INTTYPES_H | 15091 #ifdef HAVE_INTTYPES_H |
15076 | 15103 |
15077 int main() { | 15104 int main() { |
15078 | 15105 |
15079 ; return 0; } | 15106 ; return 0; } |
15080 EOF | 15107 EOF |
15081 if { (eval echo configure:15082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15108 if { (eval echo configure:15109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15082 rm -rf conftest* | 15109 rm -rf conftest* |
15083 db_h_file="$header"; break | 15110 db_h_file="$header"; break |
15084 else | 15111 else |
15085 echo "configure: failed program was:" >&5 | 15112 echo "configure: failed program was:" >&5 |
15086 cat conftest.$ac_ext >&5 | 15113 cat conftest.$ac_ext >&5 |
15092 else echo "$ac_t""$db_h_file" 1>&6 | 15119 else echo "$ac_t""$db_h_file" 1>&6 |
15093 fi | 15120 fi |
15094 | 15121 |
15095 if test "$with_database_berkdb" != "no"; then | 15122 if test "$with_database_berkdb" != "no"; then |
15096 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15123 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15097 echo "configure:15098: checking for Berkeley DB version" >&5 | 15124 echo "configure:15125: checking for Berkeley DB version" >&5 |
15098 cat > conftest.$ac_ext <<EOF | 15125 cat > conftest.$ac_ext <<EOF |
15099 #line 15100 "configure" | 15126 #line 15127 "configure" |
15100 #include "confdefs.h" | 15127 #include "confdefs.h" |
15101 #include <$db_h_file> | 15128 #include <$db_h_file> |
15102 #if DB_VERSION_MAJOR > 1 | 15129 #if DB_VERSION_MAJOR > 1 |
15103 yes | 15130 yes |
15104 #endif | 15131 #endif |
15106 EOF | 15133 EOF |
15107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15108 egrep "yes" >/dev/null 2>&1; then | 15135 egrep "yes" >/dev/null 2>&1; then |
15109 rm -rf conftest* | 15136 rm -rf conftest* |
15110 cat > conftest.$ac_ext <<EOF | 15137 cat > conftest.$ac_ext <<EOF |
15111 #line 15112 "configure" | 15138 #line 15139 "configure" |
15112 #include "confdefs.h" | 15139 #include "confdefs.h" |
15113 #include <$db_h_file> | 15140 #include <$db_h_file> |
15114 #if DB_VERSION_MAJOR > 2 | 15141 #if DB_VERSION_MAJOR > 2 |
15115 yes | 15142 yes |
15116 #endif | 15143 #endif |
15118 EOF | 15145 EOF |
15119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15120 egrep "yes" >/dev/null 2>&1; then | 15147 egrep "yes" >/dev/null 2>&1; then |
15121 rm -rf conftest* | 15148 rm -rf conftest* |
15122 cat > conftest.$ac_ext <<EOF | 15149 cat > conftest.$ac_ext <<EOF |
15123 #line 15124 "configure" | 15150 #line 15151 "configure" |
15124 #include "confdefs.h" | 15151 #include "confdefs.h" |
15125 #include <$db_h_file> | 15152 #include <$db_h_file> |
15126 #if DB_VERSION_MAJOR > 3 | 15153 #if DB_VERSION_MAJOR > 3 |
15127 yes | 15154 yes |
15128 #endif | 15155 #endif |
15152 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15179 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15153 fi | 15180 fi |
15154 rm -f conftest* | 15181 rm -f conftest* |
15155 | 15182 |
15156 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15183 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15157 echo "configure:15158: checking for $dbfunc" >&5 | 15184 echo "configure:15185: checking for $dbfunc" >&5 |
15158 | 15185 |
15159 cat > conftest.$ac_ext <<EOF | 15186 cat > conftest.$ac_ext <<EOF |
15160 #line 15161 "configure" | 15187 #line 15188 "configure" |
15161 #include "confdefs.h" | 15188 #include "confdefs.h" |
15162 /* System header to define __stub macros and hopefully few prototypes, | 15189 /* System header to define __stub macros and hopefully few prototypes, |
15163 which can conflict with char $dbfunc(); below. */ | 15190 which can conflict with char $dbfunc(); below. */ |
15164 #include <assert.h> | 15191 #include <assert.h> |
15165 /* Override any gcc2 internal prototype to avoid an error. */ | 15192 /* Override any gcc2 internal prototype to avoid an error. */ |
15178 $dbfunc(); | 15205 $dbfunc(); |
15179 #endif | 15206 #endif |
15180 | 15207 |
15181 ; return 0; } | 15208 ; return 0; } |
15182 EOF | 15209 EOF |
15183 if { (eval echo configure:15184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15210 if { (eval echo configure:15211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15184 rm -rf conftest* | 15211 rm -rf conftest* |
15185 eval "ac_cv_func_$dbfunc=yes" | 15212 eval "ac_cv_func_$dbfunc=yes" |
15186 else | 15213 else |
15187 echo "configure: failed program was:" >&5 | 15214 echo "configure: failed program was:" >&5 |
15188 cat conftest.$ac_ext >&5 | 15215 cat conftest.$ac_ext >&5 |
15197 else | 15224 else |
15198 echo "$ac_t""no" 1>&6 | 15225 echo "$ac_t""no" 1>&6 |
15199 | 15226 |
15200 | 15227 |
15201 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15228 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15202 echo "configure:15203: checking for $dbfunc in -ldb" >&5 | 15229 echo "configure:15230: checking for $dbfunc in -ldb" >&5 |
15203 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15230 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15204 | 15231 |
15205 xe_check_libs=" -ldb " | 15232 xe_check_libs=" -ldb " |
15206 cat > conftest.$ac_ext <<EOF | 15233 cat > conftest.$ac_ext <<EOF |
15207 #line 15208 "configure" | 15234 #line 15235 "configure" |
15208 #include "confdefs.h" | 15235 #include "confdefs.h" |
15209 /* Override any gcc2 internal prototype to avoid an error. */ | 15236 /* Override any gcc2 internal prototype to avoid an error. */ |
15210 /* We use char because int might match the return type of a gcc2 | 15237 /* We use char because int might match the return type of a gcc2 |
15211 builtin and then its argument prototype would still apply. */ | 15238 builtin and then its argument prototype would still apply. */ |
15212 char $dbfunc(); | 15239 char $dbfunc(); |
15213 | 15240 |
15214 int main() { | 15241 int main() { |
15215 $dbfunc() | 15242 $dbfunc() |
15216 ; return 0; } | 15243 ; return 0; } |
15217 EOF | 15244 EOF |
15218 if { (eval echo configure:15219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15245 if { (eval echo configure:15246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15219 rm -rf conftest* | 15246 rm -rf conftest* |
15220 eval "ac_cv_lib_$ac_lib_var=yes" | 15247 eval "ac_cv_lib_$ac_lib_var=yes" |
15221 else | 15248 else |
15222 echo "configure: failed program was:" >&5 | 15249 echo "configure: failed program was:" >&5 |
15223 cat conftest.$ac_ext >&5 | 15250 cat conftest.$ac_ext >&5 |
15247 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15274 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15248 rm -f $tempcname | 15275 rm -f $tempcname |
15249 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15276 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15250 | 15277 |
15251 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15278 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15252 echo "configure:15253: checking for $dbfunc in -ldb" >&5 | 15279 echo "configure:15280: checking for $dbfunc in -ldb" >&5 |
15253 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15280 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15254 | 15281 |
15255 xe_check_libs=" -ldb " | 15282 xe_check_libs=" -ldb " |
15256 cat > conftest.$ac_ext <<EOF | 15283 cat > conftest.$ac_ext <<EOF |
15257 #line 15258 "configure" | 15284 #line 15285 "configure" |
15258 #include "confdefs.h" | 15285 #include "confdefs.h" |
15259 /* Override any gcc2 internal prototype to avoid an error. */ | 15286 /* Override any gcc2 internal prototype to avoid an error. */ |
15260 /* We use char because int might match the return type of a gcc2 | 15287 /* We use char because int might match the return type of a gcc2 |
15261 builtin and then its argument prototype would still apply. */ | 15288 builtin and then its argument prototype would still apply. */ |
15262 char $dbfunc(); | 15289 char $dbfunc(); |
15263 | 15290 |
15264 int main() { | 15291 int main() { |
15265 $dbfunc() | 15292 $dbfunc() |
15266 ; return 0; } | 15293 ; return 0; } |
15267 EOF | 15294 EOF |
15268 if { (eval echo configure:15269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15295 if { (eval echo configure:15296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15269 rm -rf conftest* | 15296 rm -rf conftest* |
15270 eval "ac_cv_lib_$ac_lib_var=yes" | 15297 eval "ac_cv_lib_$ac_lib_var=yes" |
15271 else | 15298 else |
15272 echo "configure: failed program was:" >&5 | 15299 echo "configure: failed program was:" >&5 |
15273 cat conftest.$ac_ext >&5 | 15300 cat conftest.$ac_ext >&5 |
15322 fi | 15349 fi |
15323 | 15350 |
15324 if test "$with_socks" = "yes"; then | 15351 if test "$with_socks" = "yes"; then |
15325 | 15352 |
15326 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15353 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15327 echo "configure:15328: checking for SOCKSinit in -lsocks" >&5 | 15354 echo "configure:15355: checking for SOCKSinit in -lsocks" >&5 |
15328 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15355 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15329 | 15356 |
15330 xe_check_libs=" -lsocks " | 15357 xe_check_libs=" -lsocks " |
15331 cat > conftest.$ac_ext <<EOF | 15358 cat > conftest.$ac_ext <<EOF |
15332 #line 15333 "configure" | 15359 #line 15360 "configure" |
15333 #include "confdefs.h" | 15360 #include "confdefs.h" |
15334 /* Override any gcc2 internal prototype to avoid an error. */ | 15361 /* Override any gcc2 internal prototype to avoid an error. */ |
15335 /* We use char because int might match the return type of a gcc2 | 15362 /* We use char because int might match the return type of a gcc2 |
15336 builtin and then its argument prototype would still apply. */ | 15363 builtin and then its argument prototype would still apply. */ |
15337 char SOCKSinit(); | 15364 char SOCKSinit(); |
15338 | 15365 |
15339 int main() { | 15366 int main() { |
15340 SOCKSinit() | 15367 SOCKSinit() |
15341 ; return 0; } | 15368 ; return 0; } |
15342 EOF | 15369 EOF |
15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15370 if { (eval echo configure:15371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15344 rm -rf conftest* | 15371 rm -rf conftest* |
15345 eval "ac_cv_lib_$ac_lib_var=yes" | 15372 eval "ac_cv_lib_$ac_lib_var=yes" |
15346 else | 15373 else |
15347 echo "configure: failed program was:" >&5 | 15374 echo "configure: failed program was:" >&5 |
15348 cat conftest.$ac_ext >&5 | 15375 cat conftest.$ac_ext >&5 |
15392 | 15419 |
15393 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15420 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15394 fi | 15421 fi |
15395 | 15422 |
15396 cat > conftest.$ac_ext <<EOF | 15423 cat > conftest.$ac_ext <<EOF |
15397 #line 15398 "configure" | 15424 #line 15425 "configure" |
15398 #include "confdefs.h" | 15425 #include "confdefs.h" |
15399 int main(int c,char *v[]){return 0;} | 15426 int main(int c,char *v[]){return 0;} |
15400 EOF | 15427 EOF |
15401 if { (eval echo configure:15402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15428 if { (eval echo configure:15429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15402 then | 15429 then |
15403 : | 15430 : |
15404 else | 15431 else |
15405 conftest_rc="$?" | 15432 conftest_rc="$?" |
15406 echo "configure: failed program was:" >&5 | 15433 echo "configure: failed program was:" >&5 |