Mercurial > hg > xemacs-beta
comparison configure @ 1443:4f98e7b44323
[xemacs-hg @ 2003-05-02 06:16:42 by stephent]
configure hax <873cjxvptd.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Fri, 02 May 2003 06:16:42 +0000 |
parents | 5d62849e7275 |
children | dd63b61df78c |
comparison
equal
deleted
inserted
replaced
1442:5142be485095 | 1443:4f98e7b44323 |
---|---|
1281 | 1281 |
1282 i[3-9]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; | 1282 i[3-9]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; |
1283 | 1283 |
1284 *-*-darwin*) | 1284 *-*-darwin*) |
1285 opsys=darwin | 1285 opsys=darwin |
1286 RANLIB="ranlib -c" ;; | 1286 ;; |
1287 | 1287 |
1288 i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; | 1288 i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; |
1289 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) opsys=dgux5-4r3 ;; | 1289 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) opsys=dgux5-4r3 ;; |
1290 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) opsys=dgux5-4r2 ;; | 1290 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) opsys=dgux5-4r2 ;; |
1291 m88k-dg-dgux* ) opsys=dgux ;; | 1291 m88k-dg-dgux* ) opsys=dgux ;; |
1584 fi | 1584 fi |
1585 | 1585 |
1586 | 1586 |
1587 if test -z "$pdump"; then | 1587 if test -z "$pdump"; then |
1588 case "$opsys" in | 1588 case "$opsys" in |
1589 linux* ) pdump=yes ;; darwin ) pdump=yes ;; *) pdump=no ;; | 1589 linux* ) pdump=yes ;; darwin ) pdump=yes ;; * ) pdump=no ;; |
1590 esac | 1590 esac |
1591 fi | 1591 fi |
1592 | 1592 |
1593 if test -z "$dynamic"; then | 1593 if test -z "$dynamic"; then |
1594 case "$opsys" in | 1594 case "$opsys" in |
1617 linux ) ld_call_shared="-Bstatic" ;; | 1617 linux ) ld_call_shared="-Bstatic" ;; |
1618 decosf* ) ld_call_shared="-non_shared" ;; | 1618 decosf* ) ld_call_shared="-non_shared" ;; |
1619 esac | 1619 esac |
1620 fi | 1620 fi |
1621 | 1621 |
1622 case "$opsys" in aix*) NON_GNU_CC=xlc ;; esac | 1622 case "$opsys" in |
1623 aix* ) NON_GNU_CC=xlc ;; darwin ) RANLIB="ranlib -c" ;; esac | |
1623 | 1624 |
1624 stack_trace_eye_catcher=`echo ${PROGNAME}_${version}_${canonical} | sed 'y/.-/__/'` | 1625 stack_trace_eye_catcher=`echo ${PROGNAME}_${version}_${canonical} | sed 'y/.-/__/'` |
1625 { test "$extra_verbose" = "yes" && cat << EOF | 1626 { test "$extra_verbose" = "yes" && cat << EOF |
1626 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher | 1627 Defining STACK_TRACE_EYE_CATCHER = $stack_trace_eye_catcher |
1627 EOF | 1628 EOF |
1681 xe_save_CFLAGS="$CFLAGS" | 1682 xe_save_CFLAGS="$CFLAGS" |
1682 | 1683 |
1683 # Extract the first word of "gcc", so it can be a program name with args. | 1684 # Extract the first word of "gcc", so it can be a program name with args. |
1684 set dummy gcc; ac_word=$2 | 1685 set dummy gcc; ac_word=$2 |
1685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1686 echo "configure:1687: checking for $ac_word" >&5 | 1687 echo "configure:1688: checking for $ac_word" >&5 |
1687 | 1688 |
1688 if test -n "$CC"; then | 1689 if test -n "$CC"; then |
1689 ac_cv_prog_CC="$CC" # Let the user override the test. | 1690 ac_cv_prog_CC="$CC" # Let the user override the test. |
1690 else | 1691 else |
1691 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1708 | 1709 |
1709 if test -z "$CC"; then | 1710 if test -z "$CC"; then |
1710 # Extract the first word of "cc", so it can be a program name with args. | 1711 # Extract the first word of "cc", so it can be a program name with args. |
1711 set dummy cc; ac_word=$2 | 1712 set dummy cc; ac_word=$2 |
1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1713 echo "configure:1714: checking for $ac_word" >&5 | 1714 echo "configure:1715: checking for $ac_word" >&5 |
1714 | 1715 |
1715 if test -n "$CC"; then | 1716 if test -n "$CC"; then |
1716 ac_cv_prog_CC="$CC" # Let the user override the test. | 1717 ac_cv_prog_CC="$CC" # Let the user override the test. |
1717 else | 1718 else |
1718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1756 case "`uname -s`" in | 1757 case "`uname -s`" in |
1757 *win32* | *WIN32*) | 1758 *win32* | *WIN32*) |
1758 # Extract the first word of "cl", so it can be a program name with args. | 1759 # Extract the first word of "cl", so it can be a program name with args. |
1759 set dummy cl; ac_word=$2 | 1760 set dummy cl; ac_word=$2 |
1760 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1761 echo "configure:1762: checking for $ac_word" >&5 | 1762 echo "configure:1763: checking for $ac_word" >&5 |
1762 | 1763 |
1763 if test -n "$CC"; then | 1764 if test -n "$CC"; then |
1764 ac_cv_prog_CC="$CC" # Let the user override the test. | 1765 ac_cv_prog_CC="$CC" # Let the user override the test. |
1765 else | 1766 else |
1766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1767 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1785 fi | 1786 fi |
1786 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1787 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1787 fi | 1788 fi |
1788 | 1789 |
1789 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1790 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1790 echo "configure:1791: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1791 echo "configure:1792: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1791 | 1792 |
1792 ac_ext=c | 1793 ac_ext=c |
1793 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1794 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1794 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1795 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1795 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' | 1796 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' |
1798 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1799 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1799 cross_compiling=no | 1800 cross_compiling=no |
1800 | 1801 |
1801 cat > conftest.$ac_ext << EOF | 1802 cat > conftest.$ac_ext << EOF |
1802 | 1803 |
1803 #line 1804 "configure" | 1804 #line 1805 "configure" |
1804 #include "confdefs.h" | 1805 #include "confdefs.h" |
1805 | 1806 |
1806 main(){return(0);} | 1807 main(){return(0);} |
1807 EOF | 1808 EOF |
1808 if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1809 if { (eval echo configure:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1809 ac_cv_prog_cc_works=yes | 1810 ac_cv_prog_cc_works=yes |
1810 # If we can't run a trivial program, we are probably using a cross compiler. | 1811 # If we can't run a trivial program, we are probably using a cross compiler. |
1811 if (./conftest; exit) 2>/dev/null; then | 1812 if (./conftest; exit) 2>/dev/null; then |
1812 ac_cv_prog_cc_cross=no | 1813 ac_cv_prog_cc_cross=no |
1813 else | 1814 else |
1831 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1832 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1832 if test $ac_cv_prog_cc_works = no; then | 1833 if test $ac_cv_prog_cc_works = no; then |
1833 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1834 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1834 fi | 1835 fi |
1835 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1836 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1836 echo "configure:1837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1837 echo "configure:1838: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1837 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1838 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1838 cross_compiling=$ac_cv_prog_cc_cross | 1839 cross_compiling=$ac_cv_prog_cc_cross |
1839 | 1840 |
1840 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1841 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1841 echo "configure:1842: checking whether we are using GNU C" >&5 | 1842 echo "configure:1843: checking whether we are using GNU C" >&5 |
1842 | 1843 |
1843 cat > conftest.c <<EOF | 1844 cat > conftest.c <<EOF |
1844 #ifdef __GNUC__ | 1845 #ifdef __GNUC__ |
1845 yes; | 1846 yes; |
1846 #endif | 1847 #endif |
1847 EOF | 1848 EOF |
1848 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1849 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1849 ac_cv_prog_gcc=yes | 1850 ac_cv_prog_gcc=yes |
1850 else | 1851 else |
1851 ac_cv_prog_gcc=no | 1852 ac_cv_prog_gcc=no |
1852 fi | 1853 fi |
1853 | 1854 |
1861 | 1862 |
1862 ac_test_CFLAGS="${CFLAGS+set}" | 1863 ac_test_CFLAGS="${CFLAGS+set}" |
1863 ac_save_CFLAGS="$CFLAGS" | 1864 ac_save_CFLAGS="$CFLAGS" |
1864 CFLAGS= | 1865 CFLAGS= |
1865 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1866 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1866 echo "configure:1867: checking whether ${CC-cc} accepts -g" >&5 | 1867 echo "configure:1868: checking whether ${CC-cc} accepts -g" >&5 |
1867 | 1868 |
1868 echo 'void f(){}' > conftest.c | 1869 echo 'void f(){}' > conftest.c |
1869 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1870 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1870 ac_cv_prog_cc_g=yes | 1871 ac_cv_prog_cc_g=yes |
1871 else | 1872 else |
1894 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1895 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1895 CC=${NON_GNU_CC-cc} | 1896 CC=${NON_GNU_CC-cc} |
1896 # Extract the first word of "gcc", so it can be a program name with args. | 1897 # Extract the first word of "gcc", so it can be a program name with args. |
1897 set dummy gcc; ac_word=$2 | 1898 set dummy gcc; ac_word=$2 |
1898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1899 echo "configure:1900: checking for $ac_word" >&5 | 1900 echo "configure:1901: checking for $ac_word" >&5 |
1900 | 1901 |
1901 if test -n "$CC"; then | 1902 if test -n "$CC"; then |
1902 ac_cv_prog_CC="$CC" # Let the user override the test. | 1903 ac_cv_prog_CC="$CC" # Let the user override the test. |
1903 else | 1904 else |
1904 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1921 | 1922 |
1922 if test -z "$CC"; then | 1923 if test -z "$CC"; then |
1923 # Extract the first word of "cc", so it can be a program name with args. | 1924 # Extract the first word of "cc", so it can be a program name with args. |
1924 set dummy cc; ac_word=$2 | 1925 set dummy cc; ac_word=$2 |
1925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1926 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1926 echo "configure:1927: checking for $ac_word" >&5 | 1927 echo "configure:1928: checking for $ac_word" >&5 |
1927 | 1928 |
1928 if test -n "$CC"; then | 1929 if test -n "$CC"; then |
1929 ac_cv_prog_CC="$CC" # Let the user override the test. | 1930 ac_cv_prog_CC="$CC" # Let the user override the test. |
1930 else | 1931 else |
1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1969 case "`uname -s`" in | 1970 case "`uname -s`" in |
1970 *win32* | *WIN32*) | 1971 *win32* | *WIN32*) |
1971 # Extract the first word of "cl", so it can be a program name with args. | 1972 # Extract the first word of "cl", so it can be a program name with args. |
1972 set dummy cl; ac_word=$2 | 1973 set dummy cl; ac_word=$2 |
1973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1974 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1974 echo "configure:1975: checking for $ac_word" >&5 | 1975 echo "configure:1976: checking for $ac_word" >&5 |
1975 | 1976 |
1976 if test -n "$CC"; then | 1977 if test -n "$CC"; then |
1977 ac_cv_prog_CC="$CC" # Let the user override the test. | 1978 ac_cv_prog_CC="$CC" # Let the user override the test. |
1978 else | 1979 else |
1979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1980 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1998 fi | 1999 fi |
1999 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2000 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2000 fi | 2001 fi |
2001 | 2002 |
2002 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2003 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2003 echo "configure:2004: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2004 echo "configure:2005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2004 | 2005 |
2005 ac_ext=c | 2006 ac_ext=c |
2006 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2007 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2007 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2008 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2008 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' | 2009 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' |
2011 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2012 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2012 cross_compiling=no | 2013 cross_compiling=no |
2013 | 2014 |
2014 cat > conftest.$ac_ext << EOF | 2015 cat > conftest.$ac_ext << EOF |
2015 | 2016 |
2016 #line 2017 "configure" | 2017 #line 2018 "configure" |
2017 #include "confdefs.h" | 2018 #include "confdefs.h" |
2018 | 2019 |
2019 main(){return(0);} | 2020 main(){return(0);} |
2020 EOF | 2021 EOF |
2021 if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2022 if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2022 ac_cv_prog_cc_works=yes | 2023 ac_cv_prog_cc_works=yes |
2023 # If we can't run a trivial program, we are probably using a cross compiler. | 2024 # If we can't run a trivial program, we are probably using a cross compiler. |
2024 if (./conftest; exit) 2>/dev/null; then | 2025 if (./conftest; exit) 2>/dev/null; then |
2025 ac_cv_prog_cc_cross=no | 2026 ac_cv_prog_cc_cross=no |
2026 else | 2027 else |
2044 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2045 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2045 if test $ac_cv_prog_cc_works = no; then | 2046 if test $ac_cv_prog_cc_works = no; then |
2046 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2047 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2047 fi | 2048 fi |
2048 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2049 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2049 echo "configure:2050: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2050 echo "configure:2051: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2050 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2051 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2051 cross_compiling=$ac_cv_prog_cc_cross | 2052 cross_compiling=$ac_cv_prog_cc_cross |
2052 | 2053 |
2053 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2054 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2054 echo "configure:2055: checking whether we are using GNU C" >&5 | 2055 echo "configure:2056: checking whether we are using GNU C" >&5 |
2055 | 2056 |
2056 cat > conftest.c <<EOF | 2057 cat > conftest.c <<EOF |
2057 #ifdef __GNUC__ | 2058 #ifdef __GNUC__ |
2058 yes; | 2059 yes; |
2059 #endif | 2060 #endif |
2060 EOF | 2061 EOF |
2061 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2062 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2062 ac_cv_prog_gcc=yes | 2063 ac_cv_prog_gcc=yes |
2063 else | 2064 else |
2064 ac_cv_prog_gcc=no | 2065 ac_cv_prog_gcc=no |
2065 fi | 2066 fi |
2066 | 2067 |
2074 | 2075 |
2075 ac_test_CFLAGS="${CFLAGS+set}" | 2076 ac_test_CFLAGS="${CFLAGS+set}" |
2076 ac_save_CFLAGS="$CFLAGS" | 2077 ac_save_CFLAGS="$CFLAGS" |
2077 CFLAGS= | 2078 CFLAGS= |
2078 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2079 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2079 echo "configure:2080: checking whether ${CC-cc} accepts -g" >&5 | 2080 echo "configure:2081: checking whether ${CC-cc} accepts -g" >&5 |
2080 | 2081 |
2081 echo 'void f(){}' > conftest.c | 2082 echo 'void f(){}' > conftest.c |
2082 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2083 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2083 ac_cv_prog_cc_g=yes | 2084 ac_cv_prog_cc_g=yes |
2084 else | 2085 else |
2107 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2108 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2108 CC=gcc | 2109 CC=gcc |
2109 # Extract the first word of "gcc", so it can be a program name with args. | 2110 # Extract the first word of "gcc", so it can be a program name with args. |
2110 set dummy gcc; ac_word=$2 | 2111 set dummy gcc; ac_word=$2 |
2111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2112 echo "configure:2113: checking for $ac_word" >&5 | 2113 echo "configure:2114: checking for $ac_word" >&5 |
2113 | 2114 |
2114 if test -n "$CC"; then | 2115 if test -n "$CC"; then |
2115 ac_cv_prog_CC="$CC" # Let the user override the test. | 2116 ac_cv_prog_CC="$CC" # Let the user override the test. |
2116 else | 2117 else |
2117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2118 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2134 | 2135 |
2135 if test -z "$CC"; then | 2136 if test -z "$CC"; then |
2136 # Extract the first word of "cc", so it can be a program name with args. | 2137 # Extract the first word of "cc", so it can be a program name with args. |
2137 set dummy cc; ac_word=$2 | 2138 set dummy cc; ac_word=$2 |
2138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2139 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2139 echo "configure:2140: checking for $ac_word" >&5 | 2140 echo "configure:2141: checking for $ac_word" >&5 |
2140 | 2141 |
2141 if test -n "$CC"; then | 2142 if test -n "$CC"; then |
2142 ac_cv_prog_CC="$CC" # Let the user override the test. | 2143 ac_cv_prog_CC="$CC" # Let the user override the test. |
2143 else | 2144 else |
2144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2145 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2182 case "`uname -s`" in | 2183 case "`uname -s`" in |
2183 *win32* | *WIN32*) | 2184 *win32* | *WIN32*) |
2184 # Extract the first word of "cl", so it can be a program name with args. | 2185 # Extract the first word of "cl", so it can be a program name with args. |
2185 set dummy cl; ac_word=$2 | 2186 set dummy cl; ac_word=$2 |
2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2187 echo "configure:2188: checking for $ac_word" >&5 | 2188 echo "configure:2189: checking for $ac_word" >&5 |
2188 | 2189 |
2189 if test -n "$CC"; then | 2190 if test -n "$CC"; then |
2190 ac_cv_prog_CC="$CC" # Let the user override the test. | 2191 ac_cv_prog_CC="$CC" # Let the user override the test. |
2191 else | 2192 else |
2192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2211 fi | 2212 fi |
2212 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2213 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2213 fi | 2214 fi |
2214 | 2215 |
2215 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2216 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2216 echo "configure:2217: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2217 echo "configure:2218: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2217 | 2218 |
2218 ac_ext=c | 2219 ac_ext=c |
2219 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2220 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2220 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2221 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2221 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' | 2222 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' |
2224 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2225 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2225 cross_compiling=no | 2226 cross_compiling=no |
2226 | 2227 |
2227 cat > conftest.$ac_ext << EOF | 2228 cat > conftest.$ac_ext << EOF |
2228 | 2229 |
2229 #line 2230 "configure" | 2230 #line 2231 "configure" |
2230 #include "confdefs.h" | 2231 #include "confdefs.h" |
2231 | 2232 |
2232 main(){return(0);} | 2233 main(){return(0);} |
2233 EOF | 2234 EOF |
2234 if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2235 if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2235 ac_cv_prog_cc_works=yes | 2236 ac_cv_prog_cc_works=yes |
2236 # If we can't run a trivial program, we are probably using a cross compiler. | 2237 # If we can't run a trivial program, we are probably using a cross compiler. |
2237 if (./conftest; exit) 2>/dev/null; then | 2238 if (./conftest; exit) 2>/dev/null; then |
2238 ac_cv_prog_cc_cross=no | 2239 ac_cv_prog_cc_cross=no |
2239 else | 2240 else |
2257 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2258 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2258 if test $ac_cv_prog_cc_works = no; then | 2259 if test $ac_cv_prog_cc_works = no; then |
2259 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2260 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2260 fi | 2261 fi |
2261 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2262 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2262 echo "configure:2263: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2263 echo "configure:2264: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2263 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2264 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2264 cross_compiling=$ac_cv_prog_cc_cross | 2265 cross_compiling=$ac_cv_prog_cc_cross |
2265 | 2266 |
2266 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2267 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2267 echo "configure:2268: checking whether we are using GNU C" >&5 | 2268 echo "configure:2269: checking whether we are using GNU C" >&5 |
2268 | 2269 |
2269 cat > conftest.c <<EOF | 2270 cat > conftest.c <<EOF |
2270 #ifdef __GNUC__ | 2271 #ifdef __GNUC__ |
2271 yes; | 2272 yes; |
2272 #endif | 2273 #endif |
2273 EOF | 2274 EOF |
2274 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2275 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2275 ac_cv_prog_gcc=yes | 2276 ac_cv_prog_gcc=yes |
2276 else | 2277 else |
2277 ac_cv_prog_gcc=no | 2278 ac_cv_prog_gcc=no |
2278 fi | 2279 fi |
2279 | 2280 |
2287 | 2288 |
2288 ac_test_CFLAGS="${CFLAGS+set}" | 2289 ac_test_CFLAGS="${CFLAGS+set}" |
2289 ac_save_CFLAGS="$CFLAGS" | 2290 ac_save_CFLAGS="$CFLAGS" |
2290 CFLAGS= | 2291 CFLAGS= |
2291 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2292 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2292 echo "configure:2293: checking whether ${CC-cc} accepts -g" >&5 | 2293 echo "configure:2294: checking whether ${CC-cc} accepts -g" >&5 |
2293 | 2294 |
2294 echo 'void f(){}' > conftest.c | 2295 echo 'void f(){}' > conftest.c |
2295 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2296 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2296 ac_cv_prog_cc_g=yes | 2297 ac_cv_prog_cc_g=yes |
2297 else | 2298 else |
2320 fi | 2321 fi |
2321 CFLAGS="$xe_save_CFLAGS" | 2322 CFLAGS="$xe_save_CFLAGS" |
2322 | 2323 |
2323 if test "$GCC" = "yes"; then | 2324 if test "$GCC" = "yes"; then |
2324 cat > conftest.$ac_ext <<EOF | 2325 cat > conftest.$ac_ext <<EOF |
2325 #line 2326 "configure" | 2326 #line 2327 "configure" |
2326 #include "confdefs.h" | 2327 #include "confdefs.h" |
2327 int main () { | 2328 int main () { |
2328 #if __GNUC__ >= 3 | 2329 #if __GNUC__ >= 3 |
2329 return 11; | 2330 return 11; |
2330 #else | 2331 #else |
2331 return 0; | 2332 return 0; |
2332 #endif | 2333 #endif |
2333 } | 2334 } |
2334 EOF | 2335 EOF |
2335 if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2336 if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2336 then | 2337 then |
2337 : | 2338 : |
2338 else | 2339 else |
2339 conftest_rc="$?" | 2340 conftest_rc="$?" |
2340 echo "configure: failed program was:" >&5 | 2341 echo "configure: failed program was:" >&5 |
2351 test -n "$CPP" -a -d "$CPP" && CPP= | 2352 test -n "$CPP" -a -d "$CPP" && CPP= |
2352 | 2353 |
2353 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2354 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2354 | 2355 |
2355 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2356 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2356 echo "configure:2357: checking how to run the C preprocessor" >&5 | 2357 echo "configure:2358: checking how to run the C preprocessor" >&5 |
2357 # On Suns, sometimes $CPP names a directory. | 2358 # On Suns, sometimes $CPP names a directory. |
2358 if test -n "$CPP" && test -d "$CPP"; then | 2359 if test -n "$CPP" && test -d "$CPP"; then |
2359 CPP= | 2360 CPP= |
2360 fi | 2361 fi |
2361 if test -z "$CPP"; then | 2362 if test -z "$CPP"; then |
2364 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2365 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2365 CPP="${CC-cc} -E" | 2366 CPP="${CC-cc} -E" |
2366 # On the NeXT, cc -E runs the code through the compiler's parser, | 2367 # On the NeXT, cc -E runs the code through the compiler's parser, |
2367 # not just through cpp. | 2368 # not just through cpp. |
2368 cat > conftest.$ac_ext <<EOF | 2369 cat > conftest.$ac_ext <<EOF |
2369 #line 2370 "configure" | 2370 #line 2371 "configure" |
2370 #include "confdefs.h" | 2371 #include "confdefs.h" |
2371 #include <assert.h> | 2372 #include <assert.h> |
2372 Syntax Error | 2373 Syntax Error |
2373 EOF | 2374 EOF |
2374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2375 { (eval echo configure:2376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2376 { (eval echo configure:2377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2377 if test -z "$ac_err"; then | 2378 if test -z "$ac_err"; then |
2378 : | 2379 : |
2379 else | 2380 else |
2380 echo "$ac_err" >&5 | 2381 echo "$ac_err" >&5 |
2381 echo "configure: failed program was:" >&5 | 2382 echo "configure: failed program was:" >&5 |
2382 cat conftest.$ac_ext >&5 | 2383 cat conftest.$ac_ext >&5 |
2383 rm -rf conftest* | 2384 rm -rf conftest* |
2384 CPP="${CC-cc} -E -traditional-cpp" | 2385 CPP="${CC-cc} -E -traditional-cpp" |
2385 cat > conftest.$ac_ext <<EOF | 2386 cat > conftest.$ac_ext <<EOF |
2386 #line 2387 "configure" | 2387 #line 2388 "configure" |
2387 #include "confdefs.h" | 2388 #include "confdefs.h" |
2388 #include <assert.h> | 2389 #include <assert.h> |
2389 Syntax Error | 2390 Syntax Error |
2390 EOF | 2391 EOF |
2391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2392 { (eval echo configure:2393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2393 { (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2394 if test -z "$ac_err"; then | 2395 if test -z "$ac_err"; then |
2395 : | 2396 : |
2396 else | 2397 else |
2397 echo "$ac_err" >&5 | 2398 echo "$ac_err" >&5 |
2398 echo "configure: failed program was:" >&5 | 2399 echo "configure: failed program was:" >&5 |
2399 cat conftest.$ac_ext >&5 | 2400 cat conftest.$ac_ext >&5 |
2400 rm -rf conftest* | 2401 rm -rf conftest* |
2401 CPP="${CC-cc} -nologo -E" | 2402 CPP="${CC-cc} -nologo -E" |
2402 cat > conftest.$ac_ext <<EOF | 2403 cat > conftest.$ac_ext <<EOF |
2403 #line 2404 "configure" | 2404 #line 2405 "configure" |
2404 #include "confdefs.h" | 2405 #include "confdefs.h" |
2405 #include <assert.h> | 2406 #include <assert.h> |
2406 Syntax Error | 2407 Syntax Error |
2407 EOF | 2408 EOF |
2408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2409 { (eval echo configure:2410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2410 { (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2411 if test -z "$ac_err"; then | 2412 if test -z "$ac_err"; then |
2412 : | 2413 : |
2413 else | 2414 else |
2414 echo "$ac_err" >&5 | 2415 echo "$ac_err" >&5 |
2430 echo "$ac_t""$CPP" 1>&6 | 2431 echo "$ac_t""$CPP" 1>&6 |
2431 | 2432 |
2432 | 2433 |
2433 | 2434 |
2434 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2435 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2435 echo "configure:2436: checking for AIX" >&5 | 2436 echo "configure:2437: checking for AIX" >&5 |
2436 cat > conftest.$ac_ext <<EOF | 2437 cat > conftest.$ac_ext <<EOF |
2437 #line 2438 "configure" | 2438 #line 2439 "configure" |
2438 #include "confdefs.h" | 2439 #include "confdefs.h" |
2439 #ifdef _AIX | 2440 #ifdef _AIX |
2440 yes | 2441 yes |
2441 #endif | 2442 #endif |
2442 | 2443 |
2459 rm -f conftest* | 2460 rm -f conftest* |
2460 | 2461 |
2461 | 2462 |
2462 | 2463 |
2463 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2464 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2464 echo "configure:2465: checking for GNU libc" >&5 | 2465 echo "configure:2466: checking for GNU libc" >&5 |
2465 cat > conftest.$ac_ext <<EOF | 2466 cat > conftest.$ac_ext <<EOF |
2466 #line 2467 "configure" | 2467 #line 2468 "configure" |
2467 #include "confdefs.h" | 2468 #include "confdefs.h" |
2468 #include <features.h> | 2469 #include <features.h> |
2469 int main() { | 2470 int main() { |
2470 | 2471 |
2471 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2472 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2473 ******* ======= ******** &&&&&&&& | 2474 ******* ======= ******** &&&&&&&& |
2474 #endif | 2475 #endif |
2475 | 2476 |
2476 ; return 0; } | 2477 ; return 0; } |
2477 EOF | 2478 EOF |
2478 if { (eval echo configure:2479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2479 if { (eval echo configure:2480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2479 rm -rf conftest* | 2480 rm -rf conftest* |
2480 have_glibc=yes | 2481 have_glibc=yes |
2481 else | 2482 else |
2482 echo "configure: failed program was:" >&5 | 2483 echo "configure: failed program was:" >&5 |
2483 cat conftest.$ac_ext >&5 | 2484 cat conftest.$ac_ext >&5 |
2550 | 2551 |
2551 ;; | 2552 ;; |
2552 esac | 2553 esac |
2553 | 2554 |
2554 cat > conftest.$ac_ext <<EOF | 2555 cat > conftest.$ac_ext <<EOF |
2555 #line 2556 "configure" | 2556 #line 2557 "configure" |
2556 #include "confdefs.h" | 2557 #include "confdefs.h" |
2557 int main () { | 2558 int main () { |
2558 #if defined __SUNPRO_C | 2559 #if defined __SUNPRO_C |
2559 return 11; | 2560 return 11; |
2560 #elif defined __DECC | 2561 #elif defined __DECC |
2564 #else | 2565 #else |
2565 return 0; | 2566 return 0; |
2566 #endif | 2567 #endif |
2567 } | 2568 } |
2568 EOF | 2569 EOF |
2569 if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2570 then | 2571 then |
2571 : | 2572 : |
2572 else | 2573 else |
2573 conftest_rc="$?" | 2574 conftest_rc="$?" |
2574 echo "configure: failed program was:" >&5 | 2575 echo "configure: failed program was:" >&5 |
2816 | 2817 |
2817 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2818 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2818 | 2819 |
2819 if test "$__USLC__" = yes; then | 2820 if test "$__USLC__" = yes; then |
2820 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2821 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2821 echo "configure:2822: checking for whether the -Kalloca compiler flag is needed" >&5 | 2822 echo "configure:2823: checking for whether the -Kalloca compiler flag is needed" >&5 |
2822 need_kalloca=no | 2823 need_kalloca=no |
2823 cat > conftest.$ac_ext <<EOF | 2824 cat > conftest.$ac_ext <<EOF |
2824 #line 2825 "configure" | 2825 #line 2826 "configure" |
2825 #include "confdefs.h" | 2826 #include "confdefs.h" |
2826 | 2827 |
2827 int main() { | 2828 int main() { |
2828 void *x = alloca(4); | 2829 void *x = alloca(4); |
2829 ; return 0; } | 2830 ; return 0; } |
2830 EOF | 2831 EOF |
2831 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2832 if { (eval echo configure:2833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2832 rm -rf conftest* | 2833 rm -rf conftest* |
2833 : | 2834 : |
2834 else | 2835 else |
2835 echo "configure: failed program was:" >&5 | 2836 echo "configure: failed program was:" >&5 |
2836 cat conftest.$ac_ext >&5 | 2837 cat conftest.$ac_ext >&5 |
2837 rm -rf conftest* | 2838 rm -rf conftest* |
2838 | 2839 |
2839 xe_save_c_switch_system="$c_switch_system" | 2840 xe_save_c_switch_system="$c_switch_system" |
2840 c_switch_system="$c_switch_system -Kalloca" | 2841 c_switch_system="$c_switch_system -Kalloca" |
2841 cat > conftest.$ac_ext <<EOF | 2842 cat > conftest.$ac_ext <<EOF |
2842 #line 2843 "configure" | 2843 #line 2844 "configure" |
2843 #include "confdefs.h" | 2844 #include "confdefs.h" |
2844 | 2845 |
2845 int main() { | 2846 int main() { |
2846 void *x = alloca(4); | 2847 void *x = alloca(4); |
2847 ; return 0; } | 2848 ; return 0; } |
2848 EOF | 2849 EOF |
2849 if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2850 if { (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2850 rm -rf conftest* | 2851 rm -rf conftest* |
2851 need_kalloca=yes | 2852 need_kalloca=yes |
2852 else | 2853 else |
2853 echo "configure: failed program was:" >&5 | 2854 echo "configure: failed program was:" >&5 |
2854 cat conftest.$ac_ext >&5 | 2855 cat conftest.$ac_ext >&5 |
2904 | 2905 |
2905 CFLAGS="$cflags_warning $CFLAGS" | 2906 CFLAGS="$cflags_warning $CFLAGS" |
2906 | 2907 |
2907 if test "$GCC" = "yes"; then | 2908 if test "$GCC" = "yes"; then |
2908 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2909 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2909 echo "configure:2910: checking for buggy gcc versions" >&5 | 2910 echo "configure:2911: checking for buggy gcc versions" >&5 |
2910 GCC_VERSION=`$CC --version` | 2911 GCC_VERSION=`$CC --version` |
2911 case `uname -s`:`uname -m`:$GCC_VERSION in | 2912 case `uname -s`:`uname -m`:$GCC_VERSION in |
2912 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2913 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2913 case "$CFLAGS" in | 2914 case "$CFLAGS" in |
2914 *-O2*|*-O3*) | 2915 *-O2*|*-O3*) |
2962 echo "$ac_t""no" 1>&6 | 2963 echo "$ac_t""no" 1>&6 |
2963 fi | 2964 fi |
2964 | 2965 |
2965 if test "$pdump" != "yes"; then | 2966 if test "$pdump" != "yes"; then |
2966 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2967 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2967 echo "configure:2968: checking for \"-z nocombreloc\" linker flag" >&5 | 2968 echo "configure:2969: checking for \"-z nocombreloc\" linker flag" >&5 |
2968 case "`ld --help 2>&1`" in | 2969 case "`ld --help 2>&1`" in |
2969 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2970 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2970 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2971 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2971 *) echo "$ac_t""no" 1>&6 ;; | 2972 *) echo "$ac_t""no" 1>&6 ;; |
2972 esac | 2973 esac |
3051 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3052 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3052 echo " xemacs will be linked with \"dumper.o\"" | 3053 echo " xemacs will be linked with \"dumper.o\"" |
3053 fi | 3054 fi |
3054 | 3055 |
3055 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3056 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3056 echo "configure:3057: checking for dynodump" >&5 | 3057 echo "configure:3058: checking for dynodump" >&5 |
3057 if test "$unexec" != "unexsol2.o"; then | 3058 if test "$unexec" != "unexsol2.o"; then |
3058 echo "$ac_t""no" 1>&6 | 3059 echo "$ac_t""no" 1>&6 |
3059 else | 3060 else |
3060 echo "$ac_t""yes" 1>&6 | 3061 echo "$ac_t""yes" 1>&6 |
3061 { test "$extra_verbose" = "yes" && cat << \EOF | 3062 { test "$extra_verbose" = "yes" && cat << \EOF |
3089 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3090 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3090 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3091 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3091 done | 3092 done |
3092 | 3093 |
3093 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3094 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3094 echo "configure:3095: checking for terminateAndUnload in -lC" >&5 | 3095 echo "configure:3096: checking for terminateAndUnload in -lC" >&5 |
3095 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3096 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3096 | 3097 |
3097 xe_check_libs=" -lC " | 3098 xe_check_libs=" -lC " |
3098 cat > conftest.$ac_ext <<EOF | 3099 cat > conftest.$ac_ext <<EOF |
3099 #line 3100 "configure" | 3100 #line 3101 "configure" |
3100 #include "confdefs.h" | 3101 #include "confdefs.h" |
3101 /* Override any gcc2 internal prototype to avoid an error. */ | 3102 /* Override any gcc2 internal prototype to avoid an error. */ |
3102 /* We use char because int might match the return type of a gcc2 | 3103 /* We use char because int might match the return type of a gcc2 |
3103 builtin and then its argument prototype would still apply. */ | 3104 builtin and then its argument prototype would still apply. */ |
3104 char terminateAndUnload(); | 3105 char terminateAndUnload(); |
3105 | 3106 |
3106 int main() { | 3107 int main() { |
3107 terminateAndUnload() | 3108 terminateAndUnload() |
3108 ; return 0; } | 3109 ; return 0; } |
3109 EOF | 3110 EOF |
3110 if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3111 if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3111 rm -rf conftest* | 3112 rm -rf conftest* |
3112 eval "ac_cv_lib_$ac_lib_var=yes" | 3113 eval "ac_cv_lib_$ac_lib_var=yes" |
3113 else | 3114 else |
3114 echo "configure: failed program was:" >&5 | 3115 echo "configure: failed program was:" >&5 |
3115 cat conftest.$ac_ext >&5 | 3116 cat conftest.$ac_ext >&5 |
3213 esac | 3214 esac |
3214 fi | 3215 fi |
3215 | 3216 |
3216 if test "$add_runtime_path" = "yes"; then | 3217 if test "$add_runtime_path" = "yes"; then |
3217 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3218 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3218 echo "configure:3219: checking "for runtime libraries flag"" >&5 | 3219 echo "configure:3220: checking "for runtime libraries flag"" >&5 |
3219 case "$opsys" in | 3220 case "$opsys" in |
3220 sol2 ) dash_r="-R" ;; | 3221 sol2 ) dash_r="-R" ;; |
3221 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3222 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3222 *) | 3223 *) |
3223 dash_r="" | 3224 dash_r="" |
3235 esac | 3236 esac |
3236 shift | 3237 shift |
3237 done | 3238 done |
3238 fi | 3239 fi |
3239 cat > conftest.$ac_ext <<EOF | 3240 cat > conftest.$ac_ext <<EOF |
3240 #line 3241 "configure" | 3241 #line 3242 "configure" |
3241 #include "confdefs.h" | 3242 #include "confdefs.h" |
3242 | 3243 |
3243 int main() { | 3244 int main() { |
3244 | 3245 |
3245 ; return 0; } | 3246 ; return 0; } |
3246 EOF | 3247 EOF |
3247 if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3248 if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3248 rm -rf conftest* | 3249 rm -rf conftest* |
3249 dash_r="$try_dash_r" | 3250 dash_r="$try_dash_r" |
3250 else | 3251 else |
3251 echo "configure: failed program was:" >&5 | 3252 echo "configure: failed program was:" >&5 |
3252 cat conftest.$ac_ext >&5 | 3253 cat conftest.$ac_ext >&5 |
3343 else | 3344 else |
3344 doug_lea_malloc=no | 3345 doug_lea_malloc=no |
3345 fi | 3346 fi |
3346 after_morecore_hook_exists=yes | 3347 after_morecore_hook_exists=yes |
3347 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3348 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3348 echo "configure:3349: checking for malloc_set_state" >&5 | 3349 echo "configure:3350: checking for malloc_set_state" >&5 |
3349 | 3350 |
3350 cat > conftest.$ac_ext <<EOF | 3351 cat > conftest.$ac_ext <<EOF |
3351 #line 3352 "configure" | 3352 #line 3353 "configure" |
3352 #include "confdefs.h" | 3353 #include "confdefs.h" |
3353 /* System header to define __stub macros and hopefully few prototypes, | 3354 /* System header to define __stub macros and hopefully few prototypes, |
3354 which can conflict with char malloc_set_state(); below. */ | 3355 which can conflict with char malloc_set_state(); below. */ |
3355 #include <assert.h> | 3356 #include <assert.h> |
3356 /* Override any gcc2 internal prototype to avoid an error. */ | 3357 /* Override any gcc2 internal prototype to avoid an error. */ |
3369 malloc_set_state(); | 3370 malloc_set_state(); |
3370 #endif | 3371 #endif |
3371 | 3372 |
3372 ; return 0; } | 3373 ; return 0; } |
3373 EOF | 3374 EOF |
3374 if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3375 if { (eval echo configure:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3375 rm -rf conftest* | 3376 rm -rf conftest* |
3376 eval "ac_cv_func_malloc_set_state=yes" | 3377 eval "ac_cv_func_malloc_set_state=yes" |
3377 else | 3378 else |
3378 echo "configure: failed program was:" >&5 | 3379 echo "configure: failed program was:" >&5 |
3379 cat conftest.$ac_ext >&5 | 3380 cat conftest.$ac_ext >&5 |
3389 echo "$ac_t""no" 1>&6 | 3390 echo "$ac_t""no" 1>&6 |
3390 doug_lea_malloc=no | 3391 doug_lea_malloc=no |
3391 fi | 3392 fi |
3392 | 3393 |
3393 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3394 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3394 echo "configure:3395: checking whether __after_morecore_hook exists" >&5 | 3395 echo "configure:3396: checking whether __after_morecore_hook exists" >&5 |
3395 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
3396 #line 3397 "configure" | 3397 #line 3398 "configure" |
3397 #include "confdefs.h" | 3398 #include "confdefs.h" |
3398 extern void (* __after_morecore_hook)(); | 3399 extern void (* __after_morecore_hook)(); |
3399 int main() { | 3400 int main() { |
3400 __after_morecore_hook = 0 | 3401 __after_morecore_hook = 0 |
3401 ; return 0; } | 3402 ; return 0; } |
3402 EOF | 3403 EOF |
3403 if { (eval echo configure:3404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3404 if { (eval echo configure:3405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3404 rm -rf conftest* | 3405 rm -rf conftest* |
3405 echo "$ac_t""yes" 1>&6 | 3406 echo "$ac_t""yes" 1>&6 |
3406 else | 3407 else |
3407 echo "configure: failed program was:" >&5 | 3408 echo "configure: failed program was:" >&5 |
3408 cat conftest.$ac_ext >&5 | 3409 cat conftest.$ac_ext >&5 |
3454 | 3455 |
3455 | 3456 |
3456 # Extract the first word of "ranlib", so it can be a program name with args. | 3457 # Extract the first word of "ranlib", so it can be a program name with args. |
3457 set dummy ranlib; ac_word=$2 | 3458 set dummy ranlib; ac_word=$2 |
3458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3459 echo "configure:3460: checking for $ac_word" >&5 | 3460 echo "configure:3461: checking for $ac_word" >&5 |
3460 | 3461 |
3461 if test -n "$RANLIB"; then | 3462 if test -n "$RANLIB"; then |
3462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3463 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3463 else | 3464 else |
3464 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3510 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3511 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3512 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3512 # ./install, which can be erroneously created by make from ./install.sh. | 3513 # ./install, which can be erroneously created by make from ./install.sh. |
3513 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3514 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3514 echo "configure:3515: checking for a BSD compatible install" >&5 | 3515 echo "configure:3516: checking for a BSD compatible install" >&5 |
3515 if test -z "$INSTALL"; then | 3516 if test -z "$INSTALL"; then |
3516 | 3517 |
3517 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3518 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3518 for ac_dir in $PATH; do | 3519 for ac_dir in $PATH; do |
3519 # Account for people who put trailing slashes in PATH elements. | 3520 # Account for people who put trailing slashes in PATH elements. |
3563 for ac_prog in 'bison -y' byacc | 3564 for ac_prog in 'bison -y' byacc |
3564 do | 3565 do |
3565 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3566 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3566 set dummy $ac_prog; ac_word=$2 | 3567 set dummy $ac_prog; ac_word=$2 |
3567 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3568 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3568 echo "configure:3569: checking for $ac_word" >&5 | 3569 echo "configure:3570: checking for $ac_word" >&5 |
3569 | 3570 |
3570 if test -n "$YACC"; then | 3571 if test -n "$YACC"; then |
3571 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3572 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3572 else | 3573 else |
3573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3574 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3595 | 3596 |
3596 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 | 3597 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 |
3597 do | 3598 do |
3598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3600 echo "configure:3601: checking for $ac_hdr" >&5 | 3601 echo "configure:3602: checking for $ac_hdr" >&5 |
3601 | 3602 |
3602 cat > conftest.$ac_ext <<EOF | 3603 cat > conftest.$ac_ext <<EOF |
3603 #line 3604 "configure" | 3604 #line 3605 "configure" |
3604 #include "confdefs.h" | 3605 #include "confdefs.h" |
3605 #include <$ac_hdr> | 3606 #include <$ac_hdr> |
3606 EOF | 3607 EOF |
3607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3608 { (eval echo configure:3609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3609 { (eval echo configure:3610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3610 if test -z "$ac_err"; then | 3611 if test -z "$ac_err"; then |
3611 rm -rf conftest* | 3612 rm -rf conftest* |
3612 eval "ac_cv_header_$ac_safe=yes" | 3613 eval "ac_cv_header_$ac_safe=yes" |
3613 else | 3614 else |
3633 echo "$ac_t""no" 1>&6 | 3634 echo "$ac_t""no" 1>&6 |
3634 fi | 3635 fi |
3635 done | 3636 done |
3636 | 3637 |
3637 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3638 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3638 echo "configure:3639: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3639 echo "configure:3640: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3639 | 3640 |
3640 cat > conftest.$ac_ext <<EOF | 3641 cat > conftest.$ac_ext <<EOF |
3641 #line 3642 "configure" | 3642 #line 3643 "configure" |
3642 #include "confdefs.h" | 3643 #include "confdefs.h" |
3643 #include <sys/types.h> | 3644 #include <sys/types.h> |
3644 #include <sys/wait.h> | 3645 #include <sys/wait.h> |
3645 #ifndef WEXITSTATUS | 3646 #ifndef WEXITSTATUS |
3646 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3647 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3652 int s; | 3653 int s; |
3653 wait (&s); | 3654 wait (&s); |
3654 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3655 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3655 ; return 0; } | 3656 ; return 0; } |
3656 EOF | 3657 EOF |
3657 if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3658 if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3658 rm -rf conftest* | 3659 rm -rf conftest* |
3659 ac_cv_header_sys_wait_h=yes | 3660 ac_cv_header_sys_wait_h=yes |
3660 else | 3661 else |
3661 echo "configure: failed program was:" >&5 | 3662 echo "configure: failed program was:" >&5 |
3662 cat conftest.$ac_ext >&5 | 3663 cat conftest.$ac_ext >&5 |
3676 } | 3677 } |
3677 | 3678 |
3678 fi | 3679 fi |
3679 | 3680 |
3680 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3681 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3681 echo "configure:3682: checking for ANSI C header files" >&5 | 3682 echo "configure:3683: checking for ANSI C header files" >&5 |
3682 | 3683 |
3683 cat > conftest.$ac_ext <<EOF | 3684 cat > conftest.$ac_ext <<EOF |
3684 #line 3685 "configure" | 3685 #line 3686 "configure" |
3685 #include "confdefs.h" | 3686 #include "confdefs.h" |
3686 #include <stdlib.h> | 3687 #include <stdlib.h> |
3687 #include <stdarg.h> | 3688 #include <stdarg.h> |
3688 #include <string.h> | 3689 #include <string.h> |
3689 #include <float.h> | 3690 #include <float.h> |
3690 EOF | 3691 EOF |
3691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3692 { (eval echo configure:3693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3693 { (eval echo configure:3694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3694 if test -z "$ac_err"; then | 3695 if test -z "$ac_err"; then |
3695 rm -rf conftest* | 3696 rm -rf conftest* |
3696 ac_cv_header_stdc=yes | 3697 ac_cv_header_stdc=yes |
3697 else | 3698 else |
3704 rm -f conftest* | 3705 rm -f conftest* |
3705 | 3706 |
3706 if test $ac_cv_header_stdc = yes; then | 3707 if test $ac_cv_header_stdc = yes; then |
3707 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3708 cat > conftest.$ac_ext <<EOF | 3709 cat > conftest.$ac_ext <<EOF |
3709 #line 3710 "configure" | 3710 #line 3711 "configure" |
3710 #include "confdefs.h" | 3711 #include "confdefs.h" |
3711 #include <string.h> | 3712 #include <string.h> |
3712 EOF | 3713 EOF |
3713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3714 egrep "memchr" >/dev/null 2>&1; then | 3715 egrep "memchr" >/dev/null 2>&1; then |
3722 fi | 3723 fi |
3723 | 3724 |
3724 if test $ac_cv_header_stdc = yes; then | 3725 if test $ac_cv_header_stdc = yes; then |
3725 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3726 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3726 cat > conftest.$ac_ext <<EOF | 3727 cat > conftest.$ac_ext <<EOF |
3727 #line 3728 "configure" | 3728 #line 3729 "configure" |
3728 #include "confdefs.h" | 3729 #include "confdefs.h" |
3729 #include <stdlib.h> | 3730 #include <stdlib.h> |
3730 EOF | 3731 EOF |
3731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3732 egrep "free" >/dev/null 2>&1; then | 3733 egrep "free" >/dev/null 2>&1; then |
3740 fi | 3741 fi |
3741 | 3742 |
3742 if test $ac_cv_header_stdc = yes; then | 3743 if test $ac_cv_header_stdc = yes; then |
3743 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3744 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3744 cat > conftest.$ac_ext <<EOF | 3745 cat > conftest.$ac_ext <<EOF |
3745 #line 3746 "configure" | 3746 #line 3747 "configure" |
3746 #include "confdefs.h" | 3747 #include "confdefs.h" |
3747 #include <ctype.h> | 3748 #include <ctype.h> |
3748 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3749 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3749 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3750 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3751 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3751 int main () { int i; for (i = 0; i < 256; i++) | 3752 int main () { int i; for (i = 0; i < 256; i++) |
3752 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3753 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3753 exit (0); } | 3754 exit (0); } |
3754 | 3755 |
3755 EOF | 3756 EOF |
3756 if { (eval echo configure:3757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3757 if { (eval echo configure:3758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3757 then | 3758 then |
3758 : | 3759 : |
3759 else | 3760 else |
3760 conftest_rc="$?" | 3761 conftest_rc="$?" |
3761 echo "configure: failed program was:" >&5 | 3762 echo "configure: failed program was:" >&5 |
3777 } | 3778 } |
3778 | 3779 |
3779 fi | 3780 fi |
3780 | 3781 |
3781 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3782 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3782 echo "configure:3783: checking whether time.h and sys/time.h may both be included" >&5 | 3783 echo "configure:3784: checking whether time.h and sys/time.h may both be included" >&5 |
3783 | 3784 |
3784 cat > conftest.$ac_ext <<EOF | 3785 cat > conftest.$ac_ext <<EOF |
3785 #line 3786 "configure" | 3786 #line 3787 "configure" |
3786 #include "confdefs.h" | 3787 #include "confdefs.h" |
3787 #include <sys/types.h> | 3788 #include <sys/types.h> |
3788 #include <sys/time.h> | 3789 #include <sys/time.h> |
3789 #include <time.h> | 3790 #include <time.h> |
3790 int main() { | 3791 int main() { |
3791 struct tm *tp; | 3792 struct tm *tp; |
3792 ; return 0; } | 3793 ; return 0; } |
3793 EOF | 3794 EOF |
3794 if { (eval echo configure:3795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3795 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3795 rm -rf conftest* | 3796 rm -rf conftest* |
3796 ac_cv_header_time=yes | 3797 ac_cv_header_time=yes |
3797 else | 3798 else |
3798 echo "configure: failed program was:" >&5 | 3799 echo "configure: failed program was:" >&5 |
3799 cat conftest.$ac_ext >&5 | 3800 cat conftest.$ac_ext >&5 |
3813 } | 3814 } |
3814 | 3815 |
3815 fi | 3816 fi |
3816 | 3817 |
3817 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3818 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3819 echo "configure:3820: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3819 | 3820 |
3820 cat > conftest.$ac_ext <<EOF | 3821 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 3822 #line 3823 "configure" |
3822 #include "confdefs.h" | 3823 #include "confdefs.h" |
3823 #include <sys/types.h> | 3824 #include <sys/types.h> |
3824 #include <signal.h> | 3825 #include <signal.h> |
3825 /* NetBSD declares sys_siglist in unistd.h. */ | 3826 /* NetBSD declares sys_siglist in unistd.h. */ |
3826 #ifdef HAVE_UNISTD_H | 3827 #ifdef HAVE_UNISTD_H |
3828 #endif | 3829 #endif |
3829 int main() { | 3830 int main() { |
3830 char *msg = *(sys_siglist + 1); | 3831 char *msg = *(sys_siglist + 1); |
3831 ; return 0; } | 3832 ; return 0; } |
3832 EOF | 3833 EOF |
3833 if { (eval echo configure:3834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3834 if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3834 rm -rf conftest* | 3835 rm -rf conftest* |
3835 ac_cv_decl_sys_siglist=yes | 3836 ac_cv_decl_sys_siglist=yes |
3836 else | 3837 else |
3837 echo "configure: failed program was:" >&5 | 3838 echo "configure: failed program was:" >&5 |
3838 cat conftest.$ac_ext >&5 | 3839 cat conftest.$ac_ext >&5 |
3854 fi | 3855 fi |
3855 | 3856 |
3856 | 3857 |
3857 | 3858 |
3858 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3859 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3859 echo "configure:3860: checking for utime" >&5 | 3860 echo "configure:3861: checking for utime" >&5 |
3860 cat > conftest.$ac_ext <<EOF | 3861 cat > conftest.$ac_ext <<EOF |
3861 #line 3862 "configure" | 3862 #line 3863 "configure" |
3862 #include "confdefs.h" | 3863 #include "confdefs.h" |
3863 #include <sys/types.h> | 3864 #include <sys/types.h> |
3864 #include <utime.h> | 3865 #include <utime.h> |
3865 int main() { | 3866 int main() { |
3866 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3867 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3867 ; return 0; } | 3868 ; return 0; } |
3868 EOF | 3869 EOF |
3869 if { (eval echo configure:3870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3870 if { (eval echo configure:3871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3870 rm -rf conftest* | 3871 rm -rf conftest* |
3871 echo "$ac_t""yes" 1>&6 | 3872 echo "$ac_t""yes" 1>&6 |
3872 { test "$extra_verbose" = "yes" && cat << \EOF | 3873 { test "$extra_verbose" = "yes" && cat << \EOF |
3873 Defining HAVE_UTIME | 3874 Defining HAVE_UTIME |
3874 EOF | 3875 EOF |
3883 rm -rf conftest* | 3884 rm -rf conftest* |
3884 echo "$ac_t""no" 1>&6 | 3885 echo "$ac_t""no" 1>&6 |
3885 for ac_func in utimes | 3886 for ac_func in utimes |
3886 do | 3887 do |
3887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3888 echo "configure:3889: checking for $ac_func" >&5 | 3889 echo "configure:3890: checking for $ac_func" >&5 |
3889 | 3890 |
3890 cat > conftest.$ac_ext <<EOF | 3891 cat > conftest.$ac_ext <<EOF |
3891 #line 3892 "configure" | 3892 #line 3893 "configure" |
3892 #include "confdefs.h" | 3893 #include "confdefs.h" |
3893 /* System header to define __stub macros and hopefully few prototypes, | 3894 /* System header to define __stub macros and hopefully few prototypes, |
3894 which can conflict with char $ac_func(); below. */ | 3895 which can conflict with char $ac_func(); below. */ |
3895 #include <assert.h> | 3896 #include <assert.h> |
3896 /* Override any gcc2 internal prototype to avoid an error. */ | 3897 /* Override any gcc2 internal prototype to avoid an error. */ |
3909 $ac_func(); | 3910 $ac_func(); |
3910 #endif | 3911 #endif |
3911 | 3912 |
3912 ; return 0; } | 3913 ; return 0; } |
3913 EOF | 3914 EOF |
3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3915 if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3915 rm -rf conftest* | 3916 rm -rf conftest* |
3916 eval "ac_cv_func_$ac_func=yes" | 3917 eval "ac_cv_func_$ac_func=yes" |
3917 else | 3918 else |
3918 echo "configure: failed program was:" >&5 | 3919 echo "configure: failed program was:" >&5 |
3919 cat conftest.$ac_ext >&5 | 3920 cat conftest.$ac_ext >&5 |
3941 fi | 3942 fi |
3942 rm -f conftest* | 3943 rm -f conftest* |
3943 | 3944 |
3944 | 3945 |
3945 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3946 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3946 echo "configure:3947: checking return type of signal handlers" >&5 | 3947 echo "configure:3948: checking return type of signal handlers" >&5 |
3947 | 3948 |
3948 cat > conftest.$ac_ext <<EOF | 3949 cat > conftest.$ac_ext <<EOF |
3949 #line 3950 "configure" | 3950 #line 3951 "configure" |
3950 #include "confdefs.h" | 3951 #include "confdefs.h" |
3951 #include <sys/types.h> | 3952 #include <sys/types.h> |
3952 #include <signal.h> | 3953 #include <signal.h> |
3953 #ifdef signal | 3954 #ifdef signal |
3954 #undef signal | 3955 #undef signal |
3961 | 3962 |
3962 int main() { | 3963 int main() { |
3963 int i; | 3964 int i; |
3964 ; return 0; } | 3965 ; return 0; } |
3965 EOF | 3966 EOF |
3966 if { (eval echo configure:3967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3967 if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3967 rm -rf conftest* | 3968 rm -rf conftest* |
3968 ac_cv_type_signal=void | 3969 ac_cv_type_signal=void |
3969 else | 3970 else |
3970 echo "configure: failed program was:" >&5 | 3971 echo "configure: failed program was:" >&5 |
3971 cat conftest.$ac_ext >&5 | 3972 cat conftest.$ac_ext >&5 |
3983 EOF | 3984 EOF |
3984 } | 3985 } |
3985 | 3986 |
3986 | 3987 |
3987 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3988 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3988 echo "configure:3989: checking for size_t" >&5 | 3989 echo "configure:3990: checking for size_t" >&5 |
3989 | 3990 |
3990 cat > conftest.$ac_ext <<EOF | 3991 cat > conftest.$ac_ext <<EOF |
3991 #line 3992 "configure" | 3992 #line 3993 "configure" |
3992 #include "confdefs.h" | 3993 #include "confdefs.h" |
3993 #include <sys/types.h> | 3994 #include <sys/types.h> |
3994 #if STDC_HEADERS | 3995 #if STDC_HEADERS |
3995 #include <stdlib.h> | 3996 #include <stdlib.h> |
3996 #include <stddef.h> | 3997 #include <stddef.h> |
4017 } | 4018 } |
4018 | 4019 |
4019 fi | 4020 fi |
4020 | 4021 |
4021 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4022 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4022 echo "configure:4023: checking for pid_t" >&5 | 4023 echo "configure:4024: checking for pid_t" >&5 |
4023 | 4024 |
4024 cat > conftest.$ac_ext <<EOF | 4025 cat > conftest.$ac_ext <<EOF |
4025 #line 4026 "configure" | 4026 #line 4027 "configure" |
4026 #include "confdefs.h" | 4027 #include "confdefs.h" |
4027 #include <sys/types.h> | 4028 #include <sys/types.h> |
4028 #if STDC_HEADERS | 4029 #if STDC_HEADERS |
4029 #include <stdlib.h> | 4030 #include <stdlib.h> |
4030 #include <stddef.h> | 4031 #include <stddef.h> |
4051 } | 4052 } |
4052 | 4053 |
4053 fi | 4054 fi |
4054 | 4055 |
4055 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4056 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4056 echo "configure:4057: checking for uid_t in sys/types.h" >&5 | 4057 echo "configure:4058: checking for uid_t in sys/types.h" >&5 |
4057 | 4058 |
4058 cat > conftest.$ac_ext <<EOF | 4059 cat > conftest.$ac_ext <<EOF |
4059 #line 4060 "configure" | 4060 #line 4061 "configure" |
4060 #include "confdefs.h" | 4061 #include "confdefs.h" |
4061 #include <sys/types.h> | 4062 #include <sys/types.h> |
4062 EOF | 4063 EOF |
4063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4064 egrep "uid_t" >/dev/null 2>&1; then | 4065 egrep "uid_t" >/dev/null 2>&1; then |
4090 } | 4091 } |
4091 | 4092 |
4092 fi | 4093 fi |
4093 | 4094 |
4094 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4095 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4095 echo "configure:4096: checking for mode_t" >&5 | 4096 echo "configure:4097: checking for mode_t" >&5 |
4096 | 4097 |
4097 cat > conftest.$ac_ext <<EOF | 4098 cat > conftest.$ac_ext <<EOF |
4098 #line 4099 "configure" | 4099 #line 4100 "configure" |
4099 #include "confdefs.h" | 4100 #include "confdefs.h" |
4100 #include <sys/types.h> | 4101 #include <sys/types.h> |
4101 #if STDC_HEADERS | 4102 #if STDC_HEADERS |
4102 #include <stdlib.h> | 4103 #include <stdlib.h> |
4103 #include <stddef.h> | 4104 #include <stddef.h> |
4124 } | 4125 } |
4125 | 4126 |
4126 fi | 4127 fi |
4127 | 4128 |
4128 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4129 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4129 echo "configure:4130: checking for off_t" >&5 | 4130 echo "configure:4131: checking for off_t" >&5 |
4130 | 4131 |
4131 cat > conftest.$ac_ext <<EOF | 4132 cat > conftest.$ac_ext <<EOF |
4132 #line 4133 "configure" | 4133 #line 4134 "configure" |
4133 #include "confdefs.h" | 4134 #include "confdefs.h" |
4134 #include <sys/types.h> | 4135 #include <sys/types.h> |
4135 #if STDC_HEADERS | 4136 #if STDC_HEADERS |
4136 #include <stdlib.h> | 4137 #include <stdlib.h> |
4137 #include <stddef.h> | 4138 #include <stddef.h> |
4158 } | 4159 } |
4159 | 4160 |
4160 fi | 4161 fi |
4161 | 4162 |
4162 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4163 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4163 echo "configure:4164: checking for ssize_t" >&5 | 4164 echo "configure:4165: checking for ssize_t" >&5 |
4164 | 4165 |
4165 cat > conftest.$ac_ext <<EOF | 4166 cat > conftest.$ac_ext <<EOF |
4166 #line 4167 "configure" | 4167 #line 4168 "configure" |
4167 #include "confdefs.h" | 4168 #include "confdefs.h" |
4168 #include <sys/types.h> | 4169 #include <sys/types.h> |
4169 #if STDC_HEADERS | 4170 #if STDC_HEADERS |
4170 #include <stdlib.h> | 4171 #include <stdlib.h> |
4171 #include <stddef.h> | 4172 #include <stddef.h> |
4192 } | 4193 } |
4193 | 4194 |
4194 fi | 4195 fi |
4195 | 4196 |
4196 | 4197 |
4198 if test "$ac_cv_header_inttypes_h" != "yes"; then | |
4199 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | |
4200 echo "configure:4201: checking for intptr_t in sys/types.h" >&5 | |
4201 cat > conftest.$ac_ext <<EOF | |
4202 #line 4203 "configure" | |
4203 #include "confdefs.h" | |
4204 #include <sys/types.h> | |
4205 intptr_t x; | |
4206 | |
4207 int main() { | |
4208 | |
4209 ; return 0; } | |
4210 EOF | |
4211 if { (eval echo configure:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4212 rm -rf conftest* | |
4213 echo "$ac_t""yes" 1>&6 | |
4214 { test "$extra_verbose" = "yes" && cat << \EOF | |
4215 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | |
4216 EOF | |
4217 cat >> confdefs.h <<\EOF | |
4218 #define HAVE_INTPTR_T_IN_SYS_TYPES_H 1 | |
4219 EOF | |
4220 } | |
4221 | |
4222 else | |
4223 echo "configure: failed program was:" >&5 | |
4224 cat conftest.$ac_ext >&5 | |
4225 rm -rf conftest* | |
4226 echo "$ac_t""no" 1>&6 | |
4227 fi | |
4228 rm -f conftest* | |
4229 fi | |
4230 | |
4197 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4231 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4198 echo "configure:4199: checking for socklen_t" >&5 | 4232 echo "configure:4233: checking for socklen_t" >&5 |
4199 cat > conftest.$ac_ext <<EOF | 4233 cat > conftest.$ac_ext <<EOF |
4200 #line 4201 "configure" | 4234 #line 4235 "configure" |
4201 #include "confdefs.h" | 4235 #include "confdefs.h" |
4202 #include <sys/types.h> | 4236 #include <sys/types.h> |
4203 #include <sys/socket.h> | 4237 #include <sys/socket.h> |
4204 socklen_t x; | 4238 socklen_t x; |
4205 | 4239 |
4206 int main() { | 4240 int main() { |
4207 | 4241 |
4208 ; return 0; } | 4242 ; return 0; } |
4209 EOF | 4243 EOF |
4210 if { (eval echo configure:4211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4244 if { (eval echo configure:4245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4211 rm -rf conftest* | 4245 rm -rf conftest* |
4212 echo "$ac_t""yes" 1>&6 | 4246 echo "$ac_t""yes" 1>&6 |
4213 else | 4247 else |
4214 echo "configure: failed program was:" >&5 | 4248 echo "configure: failed program was:" >&5 |
4215 cat conftest.$ac_ext >&5 | 4249 cat conftest.$ac_ext >&5 |
4216 rm -rf conftest* | 4250 rm -rf conftest* |
4217 | 4251 |
4218 cat > conftest.$ac_ext <<EOF | 4252 cat > conftest.$ac_ext <<EOF |
4219 #line 4220 "configure" | 4253 #line 4254 "configure" |
4220 #include "confdefs.h" | 4254 #include "confdefs.h" |
4221 #include <sys/types.h> | 4255 #include <sys/types.h> |
4222 #include <sys/socket.h> | 4256 #include <sys/socket.h> |
4223 int accept (int, struct sockaddr *, size_t *); | 4257 int accept (int, struct sockaddr *, size_t *); |
4224 | 4258 |
4225 int main() { | 4259 int main() { |
4226 | 4260 |
4227 ; return 0; } | 4261 ; return 0; } |
4228 EOF | 4262 EOF |
4229 if { (eval echo configure:4230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4263 if { (eval echo configure:4264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4230 rm -rf conftest* | 4264 rm -rf conftest* |
4231 | 4265 |
4232 echo "$ac_t""size_t" 1>&6 | 4266 echo "$ac_t""size_t" 1>&6 |
4233 { test "$extra_verbose" = "yes" && cat << \EOF | 4267 { test "$extra_verbose" = "yes" && cat << \EOF |
4234 Defining socklen_t = size_t | 4268 Defining socklen_t = size_t |
4256 rm -f conftest* | 4290 rm -f conftest* |
4257 fi | 4291 fi |
4258 rm -f conftest* | 4292 rm -f conftest* |
4259 | 4293 |
4260 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4294 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4261 echo "configure:4262: checking for struct timeval" >&5 | 4295 echo "configure:4296: checking for struct timeval" >&5 |
4262 cat > conftest.$ac_ext <<EOF | 4296 cat > conftest.$ac_ext <<EOF |
4263 #line 4264 "configure" | 4297 #line 4298 "configure" |
4264 #include "confdefs.h" | 4298 #include "confdefs.h" |
4265 #ifdef TIME_WITH_SYS_TIME | 4299 #ifdef TIME_WITH_SYS_TIME |
4266 #include <sys/time.h> | 4300 #include <sys/time.h> |
4267 #include <time.h> | 4301 #include <time.h> |
4268 #else | 4302 #else |
4274 #endif | 4308 #endif |
4275 int main() { | 4309 int main() { |
4276 static struct timeval x; x.tv_sec = x.tv_usec; | 4310 static struct timeval x; x.tv_sec = x.tv_usec; |
4277 ; return 0; } | 4311 ; return 0; } |
4278 EOF | 4312 EOF |
4279 if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4313 if { (eval echo configure:4314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4280 rm -rf conftest* | 4314 rm -rf conftest* |
4281 echo "$ac_t""yes" 1>&6 | 4315 echo "$ac_t""yes" 1>&6 |
4282 HAVE_TIMEVAL=yes | 4316 HAVE_TIMEVAL=yes |
4283 { test "$extra_verbose" = "yes" && cat << \EOF | 4317 { test "$extra_verbose" = "yes" && cat << \EOF |
4284 Defining HAVE_TIMEVAL | 4318 Defining HAVE_TIMEVAL |
4296 HAVE_TIMEVAL=no | 4330 HAVE_TIMEVAL=no |
4297 fi | 4331 fi |
4298 rm -f conftest* | 4332 rm -f conftest* |
4299 | 4333 |
4300 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4334 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4301 echo "configure:4302: checking whether struct tm is in sys/time.h or time.h" >&5 | 4335 echo "configure:4336: checking whether struct tm is in sys/time.h or time.h" >&5 |
4302 | 4336 |
4303 cat > conftest.$ac_ext <<EOF | 4337 cat > conftest.$ac_ext <<EOF |
4304 #line 4305 "configure" | 4338 #line 4339 "configure" |
4305 #include "confdefs.h" | 4339 #include "confdefs.h" |
4306 #include <sys/types.h> | 4340 #include <sys/types.h> |
4307 #include <time.h> | 4341 #include <time.h> |
4308 int main() { | 4342 int main() { |
4309 struct tm *tp; tp->tm_sec; | 4343 struct tm *tp; tp->tm_sec; |
4310 ; return 0; } | 4344 ; return 0; } |
4311 EOF | 4345 EOF |
4312 if { (eval echo configure:4313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4346 if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4313 rm -rf conftest* | 4347 rm -rf conftest* |
4314 ac_cv_struct_tm=time.h | 4348 ac_cv_struct_tm=time.h |
4315 else | 4349 else |
4316 echo "configure: failed program was:" >&5 | 4350 echo "configure: failed program was:" >&5 |
4317 cat conftest.$ac_ext >&5 | 4351 cat conftest.$ac_ext >&5 |
4331 } | 4365 } |
4332 | 4366 |
4333 fi | 4367 fi |
4334 | 4368 |
4335 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4369 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4336 echo "configure:4337: checking for tm_zone in struct tm" >&5 | 4370 echo "configure:4371: checking for tm_zone in struct tm" >&5 |
4337 | 4371 |
4338 cat > conftest.$ac_ext <<EOF | 4372 cat > conftest.$ac_ext <<EOF |
4339 #line 4340 "configure" | 4373 #line 4374 "configure" |
4340 #include "confdefs.h" | 4374 #include "confdefs.h" |
4341 #include <sys/types.h> | 4375 #include <sys/types.h> |
4342 #include <$ac_cv_struct_tm> | 4376 #include <$ac_cv_struct_tm> |
4343 int main() { | 4377 int main() { |
4344 struct tm tm; tm.tm_zone; | 4378 struct tm tm; tm.tm_zone; |
4345 ; return 0; } | 4379 ; return 0; } |
4346 EOF | 4380 EOF |
4347 if { (eval echo configure:4348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4381 if { (eval echo configure:4382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4348 rm -rf conftest* | 4382 rm -rf conftest* |
4349 ac_cv_struct_tm_zone=yes | 4383 ac_cv_struct_tm_zone=yes |
4350 else | 4384 else |
4351 echo "configure: failed program was:" >&5 | 4385 echo "configure: failed program was:" >&5 |
4352 cat conftest.$ac_ext >&5 | 4386 cat conftest.$ac_ext >&5 |
4365 EOF | 4399 EOF |
4366 } | 4400 } |
4367 | 4401 |
4368 else | 4402 else |
4369 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4403 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4370 echo "configure:4371: checking for tzname" >&5 | 4404 echo "configure:4405: checking for tzname" >&5 |
4371 | 4405 |
4372 cat > conftest.$ac_ext <<EOF | 4406 cat > conftest.$ac_ext <<EOF |
4373 #line 4374 "configure" | 4407 #line 4408 "configure" |
4374 #include "confdefs.h" | 4408 #include "confdefs.h" |
4375 #include <time.h> | 4409 #include <time.h> |
4376 #ifndef tzname /* For SGI. */ | 4410 #ifndef tzname /* For SGI. */ |
4377 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4411 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4378 #endif | 4412 #endif |
4379 int main() { | 4413 int main() { |
4380 atoi(*tzname); | 4414 atoi(*tzname); |
4381 ; return 0; } | 4415 ; return 0; } |
4382 EOF | 4416 EOF |
4383 if { (eval echo configure:4384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4417 if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4384 rm -rf conftest* | 4418 rm -rf conftest* |
4385 ac_cv_var_tzname=yes | 4419 ac_cv_var_tzname=yes |
4386 else | 4420 else |
4387 echo "configure: failed program was:" >&5 | 4421 echo "configure: failed program was:" >&5 |
4388 cat conftest.$ac_ext >&5 | 4422 cat conftest.$ac_ext >&5 |
4404 fi | 4438 fi |
4405 fi | 4439 fi |
4406 | 4440 |
4407 | 4441 |
4408 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4442 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4409 echo "configure:4410: checking for working const" >&5 | 4443 echo "configure:4444: checking for working const" >&5 |
4410 | 4444 |
4411 cat > conftest.$ac_ext <<EOF | 4445 cat > conftest.$ac_ext <<EOF |
4412 #line 4413 "configure" | 4446 #line 4447 "configure" |
4413 #include "confdefs.h" | 4447 #include "confdefs.h" |
4414 | 4448 |
4415 int main() { | 4449 int main() { |
4416 | 4450 |
4417 /* Ultrix mips cc rejects this. */ | 4451 /* Ultrix mips cc rejects this. */ |
4456 const int foo = 10; | 4490 const int foo = 10; |
4457 } | 4491 } |
4458 | 4492 |
4459 ; return 0; } | 4493 ; return 0; } |
4460 EOF | 4494 EOF |
4461 if { (eval echo configure:4462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4495 if { (eval echo configure:4496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4462 rm -rf conftest* | 4496 rm -rf conftest* |
4463 ac_cv_c_const=yes | 4497 ac_cv_c_const=yes |
4464 else | 4498 else |
4465 echo "configure: failed program was:" >&5 | 4499 echo "configure: failed program was:" >&5 |
4466 cat conftest.$ac_ext >&5 | 4500 cat conftest.$ac_ext >&5 |
4481 | 4515 |
4482 fi | 4516 fi |
4483 | 4517 |
4484 | 4518 |
4485 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4519 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4486 echo "configure:4487: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4520 echo "configure:4521: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4487 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4521 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4488 | 4522 |
4489 cat > conftestmake <<\EOF | 4523 cat > conftestmake <<\EOF |
4490 all: | 4524 all: |
4491 @echo 'ac_maketemp="${MAKE}"' | 4525 @echo 'ac_maketemp="${MAKE}"' |
4506 SET_MAKE="MAKE=${MAKE-make}" | 4540 SET_MAKE="MAKE=${MAKE-make}" |
4507 fi | 4541 fi |
4508 | 4542 |
4509 | 4543 |
4510 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4544 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4511 echo "configure:4512: checking whether byte ordering is bigendian" >&5 | 4545 echo "configure:4546: checking whether byte ordering is bigendian" >&5 |
4512 | 4546 |
4513 ac_cv_c_bigendian=unknown | 4547 ac_cv_c_bigendian=unknown |
4514 # See if sys/param.h defines the BYTE_ORDER macro. | 4548 # See if sys/param.h defines the BYTE_ORDER macro. |
4515 cat > conftest.$ac_ext <<EOF | 4549 cat > conftest.$ac_ext <<EOF |
4516 #line 4517 "configure" | 4550 #line 4551 "configure" |
4517 #include "confdefs.h" | 4551 #include "confdefs.h" |
4518 #include <sys/types.h> | 4552 #include <sys/types.h> |
4519 #include <sys/param.h> | 4553 #include <sys/param.h> |
4520 int main() { | 4554 int main() { |
4521 | 4555 |
4522 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4556 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4523 bogus endian macros | 4557 bogus endian macros |
4524 #endif | 4558 #endif |
4525 ; return 0; } | 4559 ; return 0; } |
4526 EOF | 4560 EOF |
4527 if { (eval echo configure:4528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4561 if { (eval echo configure:4562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4528 rm -rf conftest* | 4562 rm -rf conftest* |
4529 # It does; now see whether it defined to BIG_ENDIAN or not. | 4563 # It does; now see whether it defined to BIG_ENDIAN or not. |
4530 cat > conftest.$ac_ext <<EOF | 4564 cat > conftest.$ac_ext <<EOF |
4531 #line 4532 "configure" | 4565 #line 4566 "configure" |
4532 #include "confdefs.h" | 4566 #include "confdefs.h" |
4533 #include <sys/types.h> | 4567 #include <sys/types.h> |
4534 #include <sys/param.h> | 4568 #include <sys/param.h> |
4535 int main() { | 4569 int main() { |
4536 | 4570 |
4537 #if BYTE_ORDER != BIG_ENDIAN | 4571 #if BYTE_ORDER != BIG_ENDIAN |
4538 not big endian | 4572 not big endian |
4539 #endif | 4573 #endif |
4540 ; return 0; } | 4574 ; return 0; } |
4541 EOF | 4575 EOF |
4542 if { (eval echo configure:4543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4576 if { (eval echo configure:4577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4543 rm -rf conftest* | 4577 rm -rf conftest* |
4544 ac_cv_c_bigendian=yes | 4578 ac_cv_c_bigendian=yes |
4545 else | 4579 else |
4546 echo "configure: failed program was:" >&5 | 4580 echo "configure: failed program was:" >&5 |
4547 cat conftest.$ac_ext >&5 | 4581 cat conftest.$ac_ext >&5 |
4554 cat conftest.$ac_ext >&5 | 4588 cat conftest.$ac_ext >&5 |
4555 fi | 4589 fi |
4556 rm -f conftest* | 4590 rm -f conftest* |
4557 if test $ac_cv_c_bigendian = unknown; then | 4591 if test $ac_cv_c_bigendian = unknown; then |
4558 cat > conftest.$ac_ext <<EOF | 4592 cat > conftest.$ac_ext <<EOF |
4559 #line 4560 "configure" | 4593 #line 4594 "configure" |
4560 #include "confdefs.h" | 4594 #include "confdefs.h" |
4561 main () { | 4595 main () { |
4562 /* Are we little or big endian? From Harbison&Steele. */ | 4596 /* Are we little or big endian? From Harbison&Steele. */ |
4563 union | 4597 union |
4564 { | 4598 { |
4567 } u; | 4601 } u; |
4568 u.l = 1; | 4602 u.l = 1; |
4569 exit (u.c[sizeof (long) - 1] == 1); | 4603 exit (u.c[sizeof (long) - 1] == 1); |
4570 } | 4604 } |
4571 EOF | 4605 EOF |
4572 if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4606 if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4573 then | 4607 then |
4574 ac_cv_c_bigendian=no | 4608 ac_cv_c_bigendian=no |
4575 else | 4609 else |
4576 conftest_rc="$?" | 4610 conftest_rc="$?" |
4577 echo "configure: failed program was:" >&5 | 4611 echo "configure: failed program was:" >&5 |
4594 | 4628 |
4595 fi | 4629 fi |
4596 | 4630 |
4597 | 4631 |
4598 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4632 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4599 echo "configure:4600: checking size of short" >&5 | 4633 echo "configure:4634: checking size of short" >&5 |
4600 | 4634 |
4601 cat > conftest.$ac_ext <<EOF | 4635 cat > conftest.$ac_ext <<EOF |
4602 #line 4603 "configure" | 4636 #line 4637 "configure" |
4603 #include "confdefs.h" | 4637 #include "confdefs.h" |
4604 #include <stdio.h> | 4638 #include <stdio.h> |
4639 #include <sys/types.h> | |
4605 main() | 4640 main() |
4606 { | 4641 { |
4607 FILE *f=fopen("conftestval", "w"); | 4642 FILE *f=fopen("conftestval", "w"); |
4608 if (!f) exit(1); | 4643 if (!f) exit(1); |
4609 fprintf(f, "%d\n", sizeof(short)); | 4644 fprintf(f, "%d\n", sizeof(short)); |
4610 exit(0); | 4645 exit(0); |
4611 } | 4646 } |
4612 EOF | 4647 EOF |
4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4648 if { (eval echo configure:4649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4614 then | 4649 then |
4615 ac_cv_sizeof_short=`cat conftestval` | 4650 ac_cv_sizeof_short=`cat conftestval` |
4616 else | 4651 else |
4617 conftest_rc="$?" | 4652 conftest_rc="$?" |
4618 echo "configure: failed program was:" >&5 | 4653 echo "configure: failed program was:" >&5 |
4636 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4671 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4637 echo "*** PANIC *** Please examine config.log for compilation errors." | 4672 echo "*** PANIC *** Please examine config.log for compilation errors." |
4638 exit 1 | 4673 exit 1 |
4639 fi | 4674 fi |
4640 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4675 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4641 echo "configure:4642: checking size of int" >&5 | 4676 echo "configure:4677: checking size of int" >&5 |
4642 | 4677 |
4643 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4644 #line 4645 "configure" | 4679 #line 4680 "configure" |
4645 #include "confdefs.h" | 4680 #include "confdefs.h" |
4646 #include <stdio.h> | 4681 #include <stdio.h> |
4682 #include <sys/types.h> | |
4647 main() | 4683 main() |
4648 { | 4684 { |
4649 FILE *f=fopen("conftestval", "w"); | 4685 FILE *f=fopen("conftestval", "w"); |
4650 if (!f) exit(1); | 4686 if (!f) exit(1); |
4651 fprintf(f, "%d\n", sizeof(int)); | 4687 fprintf(f, "%d\n", sizeof(int)); |
4652 exit(0); | 4688 exit(0); |
4653 } | 4689 } |
4654 EOF | 4690 EOF |
4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4656 then | 4692 then |
4657 ac_cv_sizeof_int=`cat conftestval` | 4693 ac_cv_sizeof_int=`cat conftestval` |
4658 else | 4694 else |
4659 conftest_rc="$?" | 4695 conftest_rc="$?" |
4660 echo "configure: failed program was:" >&5 | 4696 echo "configure: failed program was:" >&5 |
4672 EOF | 4708 EOF |
4673 } | 4709 } |
4674 | 4710 |
4675 | 4711 |
4676 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4712 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4677 echo "configure:4678: checking size of long" >&5 | 4713 echo "configure:4714: checking size of long" >&5 |
4678 | 4714 |
4679 cat > conftest.$ac_ext <<EOF | 4715 cat > conftest.$ac_ext <<EOF |
4680 #line 4681 "configure" | 4716 #line 4717 "configure" |
4681 #include "confdefs.h" | 4717 #include "confdefs.h" |
4682 #include <stdio.h> | 4718 #include <stdio.h> |
4719 #include <sys/types.h> | |
4683 main() | 4720 main() |
4684 { | 4721 { |
4685 FILE *f=fopen("conftestval", "w"); | 4722 FILE *f=fopen("conftestval", "w"); |
4686 if (!f) exit(1); | 4723 if (!f) exit(1); |
4687 fprintf(f, "%d\n", sizeof(long)); | 4724 fprintf(f, "%d\n", sizeof(long)); |
4688 exit(0); | 4725 exit(0); |
4689 } | 4726 } |
4690 EOF | 4727 EOF |
4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4692 then | 4729 then |
4693 ac_cv_sizeof_long=`cat conftestval` | 4730 ac_cv_sizeof_long=`cat conftestval` |
4694 else | 4731 else |
4695 conftest_rc="$?" | 4732 conftest_rc="$?" |
4696 echo "configure: failed program was:" >&5 | 4733 echo "configure: failed program was:" >&5 |
4708 EOF | 4745 EOF |
4709 } | 4746 } |
4710 | 4747 |
4711 | 4748 |
4712 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4749 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4713 echo "configure:4714: checking size of long long" >&5 | 4750 echo "configure:4751: checking size of long long" >&5 |
4714 | 4751 |
4715 cat > conftest.$ac_ext <<EOF | 4752 cat > conftest.$ac_ext <<EOF |
4716 #line 4717 "configure" | 4753 #line 4754 "configure" |
4717 #include "confdefs.h" | 4754 #include "confdefs.h" |
4718 #include <stdio.h> | 4755 #include <stdio.h> |
4756 #include <sys/types.h> | |
4719 main() | 4757 main() |
4720 { | 4758 { |
4721 FILE *f=fopen("conftestval", "w"); | 4759 FILE *f=fopen("conftestval", "w"); |
4722 if (!f) exit(1); | 4760 if (!f) exit(1); |
4723 fprintf(f, "%d\n", sizeof(long long)); | 4761 fprintf(f, "%d\n", sizeof(long long)); |
4724 exit(0); | 4762 exit(0); |
4725 } | 4763 } |
4726 EOF | 4764 EOF |
4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4765 if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4728 then | 4766 then |
4729 ac_cv_sizeof_long_long=`cat conftestval` | 4767 ac_cv_sizeof_long_long=`cat conftestval` |
4730 else | 4768 else |
4731 conftest_rc="$?" | 4769 conftest_rc="$?" |
4732 echo "configure: failed program was:" >&5 | 4770 echo "configure: failed program was:" >&5 |
4744 EOF | 4782 EOF |
4745 } | 4783 } |
4746 | 4784 |
4747 | 4785 |
4748 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4786 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4749 echo "configure:4750: checking size of void *" >&5 | 4787 echo "configure:4788: checking size of void *" >&5 |
4750 | 4788 |
4751 cat > conftest.$ac_ext <<EOF | 4789 cat > conftest.$ac_ext <<EOF |
4752 #line 4753 "configure" | 4790 #line 4791 "configure" |
4753 #include "confdefs.h" | 4791 #include "confdefs.h" |
4754 #include <stdio.h> | 4792 #include <stdio.h> |
4793 #include <sys/types.h> | |
4755 main() | 4794 main() |
4756 { | 4795 { |
4757 FILE *f=fopen("conftestval", "w"); | 4796 FILE *f=fopen("conftestval", "w"); |
4758 if (!f) exit(1); | 4797 if (!f) exit(1); |
4759 fprintf(f, "%d\n", sizeof(void *)); | 4798 fprintf(f, "%d\n", sizeof(void *)); |
4760 exit(0); | 4799 exit(0); |
4761 } | 4800 } |
4762 EOF | 4801 EOF |
4763 if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4764 then | 4803 then |
4765 ac_cv_sizeof_void_p=`cat conftestval` | 4804 ac_cv_sizeof_void_p=`cat conftestval` |
4766 else | 4805 else |
4767 conftest_rc="$?" | 4806 conftest_rc="$?" |
4768 echo "configure: failed program was:" >&5 | 4807 echo "configure: failed program was:" >&5 |
4781 } | 4820 } |
4782 | 4821 |
4783 | 4822 |
4784 | 4823 |
4785 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4824 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4786 echo "configure:4787: checking for long file names" >&5 | 4825 echo "configure:4826: checking for long file names" >&5 |
4787 | 4826 |
4788 ac_cv_sys_long_file_names=yes | 4827 ac_cv_sys_long_file_names=yes |
4789 # Test for long file names in all the places we know might matter: | 4828 # Test for long file names in all the places we know might matter: |
4790 # . the current directory, where building will happen | 4829 # . the current directory, where building will happen |
4791 # $prefix/lib where we will be installing things | 4830 # $prefix/lib where we will be installing things |
4827 | 4866 |
4828 fi | 4867 fi |
4829 | 4868 |
4830 | 4869 |
4831 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4870 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4832 echo "configure:4833: checking for sin" >&5 | 4871 echo "configure:4872: checking for sin" >&5 |
4833 | 4872 |
4834 cat > conftest.$ac_ext <<EOF | 4873 cat > conftest.$ac_ext <<EOF |
4835 #line 4836 "configure" | 4874 #line 4875 "configure" |
4836 #include "confdefs.h" | 4875 #include "confdefs.h" |
4837 /* System header to define __stub macros and hopefully few prototypes, | 4876 /* System header to define __stub macros and hopefully few prototypes, |
4838 which can conflict with char sin(); below. */ | 4877 which can conflict with char sin(); below. */ |
4839 #include <assert.h> | 4878 #include <assert.h> |
4840 /* Override any gcc2 internal prototype to avoid an error. */ | 4879 /* Override any gcc2 internal prototype to avoid an error. */ |
4853 sin(); | 4892 sin(); |
4854 #endif | 4893 #endif |
4855 | 4894 |
4856 ; return 0; } | 4895 ; return 0; } |
4857 EOF | 4896 EOF |
4858 if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4897 if { (eval echo configure:4898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4859 rm -rf conftest* | 4898 rm -rf conftest* |
4860 eval "ac_cv_func_sin=yes" | 4899 eval "ac_cv_func_sin=yes" |
4861 else | 4900 else |
4862 echo "configure: failed program was:" >&5 | 4901 echo "configure: failed program was:" >&5 |
4863 cat conftest.$ac_ext >&5 | 4902 cat conftest.$ac_ext >&5 |
4871 : | 4910 : |
4872 else | 4911 else |
4873 echo "$ac_t""no" 1>&6 | 4912 echo "$ac_t""no" 1>&6 |
4874 | 4913 |
4875 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4914 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4876 echo "configure:4877: checking for sin in -lm" >&5 | 4915 echo "configure:4916: checking for sin in -lm" >&5 |
4877 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4916 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4878 | 4917 |
4879 xe_check_libs=" -lm " | 4918 xe_check_libs=" -lm " |
4880 cat > conftest.$ac_ext <<EOF | 4919 cat > conftest.$ac_ext <<EOF |
4881 #line 4882 "configure" | 4920 #line 4921 "configure" |
4882 #include "confdefs.h" | 4921 #include "confdefs.h" |
4883 /* Override any gcc2 internal prototype to avoid an error. */ | 4922 /* Override any gcc2 internal prototype to avoid an error. */ |
4884 /* We use char because int might match the return type of a gcc2 | 4923 /* We use char because int might match the return type of a gcc2 |
4885 builtin and then its argument prototype would still apply. */ | 4924 builtin and then its argument prototype would still apply. */ |
4886 char sin(); | 4925 char sin(); |
4887 | 4926 |
4888 int main() { | 4927 int main() { |
4889 sin() | 4928 sin() |
4890 ; return 0; } | 4929 ; return 0; } |
4891 EOF | 4930 EOF |
4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4931 if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4893 rm -rf conftest* | 4932 rm -rf conftest* |
4894 eval "ac_cv_lib_$ac_lib_var=yes" | 4933 eval "ac_cv_lib_$ac_lib_var=yes" |
4895 else | 4934 else |
4896 echo "configure: failed program was:" >&5 | 4935 echo "configure: failed program was:" >&5 |
4897 cat conftest.$ac_ext >&5 | 4936 cat conftest.$ac_ext >&5 |
4922 | 4961 |
4923 fi | 4962 fi |
4924 | 4963 |
4925 | 4964 |
4926 cat > conftest.$ac_ext <<EOF | 4965 cat > conftest.$ac_ext <<EOF |
4927 #line 4928 "configure" | 4966 #line 4967 "configure" |
4928 #include "confdefs.h" | 4967 #include "confdefs.h" |
4929 #include <math.h> | 4968 #include <math.h> |
4930 int main() { | 4969 int main() { |
4931 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4970 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4932 ; return 0; } | 4971 ; return 0; } |
4933 EOF | 4972 EOF |
4934 if { (eval echo configure:4935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4973 if { (eval echo configure:4974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4935 rm -rf conftest* | 4974 rm -rf conftest* |
4936 { test "$extra_verbose" = "yes" && cat << \EOF | 4975 { test "$extra_verbose" = "yes" && cat << \EOF |
4937 Defining HAVE_INVERSE_HYPERBOLIC | 4976 Defining HAVE_INVERSE_HYPERBOLIC |
4938 EOF | 4977 EOF |
4939 cat >> confdefs.h <<\EOF | 4978 cat >> confdefs.h <<\EOF |
4948 rm -f conftest* | 4987 rm -f conftest* |
4949 | 4988 |
4950 for ac_func in mkstemp | 4989 for ac_func in mkstemp |
4951 do | 4990 do |
4952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4953 echo "configure:4954: checking for $ac_func" >&5 | 4992 echo "configure:4993: checking for $ac_func" >&5 |
4954 | 4993 |
4955 cat > conftest.$ac_ext <<EOF | 4994 cat > conftest.$ac_ext <<EOF |
4956 #line 4957 "configure" | 4995 #line 4996 "configure" |
4957 #include "confdefs.h" | 4996 #include "confdefs.h" |
4958 /* System header to define __stub macros and hopefully few prototypes, | 4997 /* System header to define __stub macros and hopefully few prototypes, |
4959 which can conflict with char $ac_func(); below. */ | 4998 which can conflict with char $ac_func(); below. */ |
4960 #include <assert.h> | 4999 #include <assert.h> |
4961 /* Override any gcc2 internal prototype to avoid an error. */ | 5000 /* Override any gcc2 internal prototype to avoid an error. */ |
4974 $ac_func(); | 5013 $ac_func(); |
4975 #endif | 5014 #endif |
4976 | 5015 |
4977 ; return 0; } | 5016 ; return 0; } |
4978 EOF | 5017 EOF |
4979 if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4980 rm -rf conftest* | 5019 rm -rf conftest* |
4981 eval "ac_cv_func_$ac_func=yes" | 5020 eval "ac_cv_func_$ac_func=yes" |
4982 else | 5021 else |
4983 echo "configure: failed program was:" >&5 | 5022 echo "configure: failed program was:" >&5 |
4984 cat conftest.$ac_ext >&5 | 5023 cat conftest.$ac_ext >&5 |
5003 fi | 5042 fi |
5004 done | 5043 done |
5005 | 5044 |
5006 | 5045 |
5007 echo "checking type of mail spool file locking" 1>&6 | 5046 echo "checking type of mail spool file locking" 1>&6 |
5008 echo "configure:5009: checking type of mail spool file locking" >&5 | 5047 echo "configure:5048: checking type of mail spool file locking" >&5 |
5009 for ac_func in lockf flock | 5048 for ac_func in lockf flock |
5010 do | 5049 do |
5011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5012 echo "configure:5013: checking for $ac_func" >&5 | 5051 echo "configure:5052: checking for $ac_func" >&5 |
5013 | 5052 |
5014 cat > conftest.$ac_ext <<EOF | 5053 cat > conftest.$ac_ext <<EOF |
5015 #line 5016 "configure" | 5054 #line 5055 "configure" |
5016 #include "confdefs.h" | 5055 #include "confdefs.h" |
5017 /* System header to define __stub macros and hopefully few prototypes, | 5056 /* System header to define __stub macros and hopefully few prototypes, |
5018 which can conflict with char $ac_func(); below. */ | 5057 which can conflict with char $ac_func(); below. */ |
5019 #include <assert.h> | 5058 #include <assert.h> |
5020 /* Override any gcc2 internal prototype to avoid an error. */ | 5059 /* Override any gcc2 internal prototype to avoid an error. */ |
5033 $ac_func(); | 5072 $ac_func(); |
5034 #endif | 5073 #endif |
5035 | 5074 |
5036 ; return 0; } | 5075 ; return 0; } |
5037 EOF | 5076 EOF |
5038 if { (eval echo configure:5039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5077 if { (eval echo configure:5078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5039 rm -rf conftest* | 5078 rm -rf conftest* |
5040 eval "ac_cv_func_$ac_func=yes" | 5079 eval "ac_cv_func_$ac_func=yes" |
5041 else | 5080 else |
5042 echo "configure: failed program was:" >&5 | 5081 echo "configure: failed program was:" >&5 |
5043 cat conftest.$ac_ext >&5 | 5082 cat conftest.$ac_ext >&5 |
5115 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5154 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5116 | 5155 |
5117 case "$opsys" in decosf*) | 5156 case "$opsys" in decosf*) |
5118 | 5157 |
5119 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5158 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5120 echo "configure:5121: checking for cma_open in -lpthreads" >&5 | 5159 echo "configure:5160: checking for cma_open in -lpthreads" >&5 |
5121 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5160 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5122 | 5161 |
5123 xe_check_libs=" -lpthreads " | 5162 xe_check_libs=" -lpthreads " |
5124 cat > conftest.$ac_ext <<EOF | 5163 cat > conftest.$ac_ext <<EOF |
5125 #line 5126 "configure" | 5164 #line 5165 "configure" |
5126 #include "confdefs.h" | 5165 #include "confdefs.h" |
5127 /* Override any gcc2 internal prototype to avoid an error. */ | 5166 /* Override any gcc2 internal prototype to avoid an error. */ |
5128 /* We use char because int might match the return type of a gcc2 | 5167 /* We use char because int might match the return type of a gcc2 |
5129 builtin and then its argument prototype would still apply. */ | 5168 builtin and then its argument prototype would still apply. */ |
5130 char cma_open(); | 5169 char cma_open(); |
5131 | 5170 |
5132 int main() { | 5171 int main() { |
5133 cma_open() | 5172 cma_open() |
5134 ; return 0; } | 5173 ; return 0; } |
5135 EOF | 5174 EOF |
5136 if { (eval echo configure:5137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5175 if { (eval echo configure:5176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5137 rm -rf conftest* | 5176 rm -rf conftest* |
5138 eval "ac_cv_lib_$ac_lib_var=yes" | 5177 eval "ac_cv_lib_$ac_lib_var=yes" |
5139 else | 5178 else |
5140 echo "configure: failed program was:" >&5 | 5179 echo "configure: failed program was:" >&5 |
5141 cat conftest.$ac_ext >&5 | 5180 cat conftest.$ac_ext >&5 |
5168 c_switch_site="$c_switch_site -threads" ;; | 5207 c_switch_site="$c_switch_site -threads" ;; |
5169 esac | 5208 esac |
5170 | 5209 |
5171 | 5210 |
5172 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5211 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5173 echo "configure:5174: checking whether the -xildoff compiler flag is required" >&5 | 5212 echo "configure:5213: checking whether the -xildoff compiler flag is required" >&5 |
5174 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5213 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5175 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5214 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5176 then echo "$ac_t""no" 1>&6; | 5215 then echo "$ac_t""no" 1>&6; |
5177 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 | 5216 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 |
5178 fi | 5217 fi |
5180 fi | 5219 fi |
5181 | 5220 |
5182 if test "$opsys" = "sol2"; then | 5221 if test "$opsys" = "sol2"; then |
5183 if test "$os_release" -ge 56; then | 5222 if test "$os_release" -ge 56; then |
5184 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5223 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5185 echo "configure:5186: checking for \"-z ignore\" linker flag" >&5 | 5224 echo "configure:5225: checking for \"-z ignore\" linker flag" >&5 |
5186 case "`ld -h 2>&1`" in | 5225 case "`ld -h 2>&1`" in |
5187 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5226 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5188 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5227 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5189 *) echo "$ac_t""no" 1>&6 ;; | 5228 *) echo "$ac_t""no" 1>&6 ;; |
5190 esac | 5229 esac |
5191 fi | 5230 fi |
5192 fi | 5231 fi |
5193 | 5232 |
5194 | 5233 |
5195 echo "checking "for specified window system"" 1>&6 | 5234 echo "checking "for specified window system"" 1>&6 |
5196 echo "configure:5197: checking "for specified window system"" >&5 | 5235 echo "configure:5236: checking "for specified window system"" >&5 |
5197 | 5236 |
5198 | 5237 |
5199 GNOME_CONFIG=no | 5238 GNOME_CONFIG=no |
5200 GTK_CONFIG=no | 5239 GTK_CONFIG=no |
5201 | 5240 |
5202 if test "$with_gnome" != "no"; then | 5241 if test "$with_gnome" != "no"; then |
5203 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5242 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5204 echo "configure:5205: checking for GNOME configuration script" >&5 | 5243 echo "configure:5244: checking for GNOME configuration script" >&5 |
5205 for possible in gnome-config | 5244 for possible in gnome-config |
5206 do | 5245 do |
5207 possible_version=`${possible} --version 2> /dev/null` | 5246 possible_version=`${possible} --version 2> /dev/null` |
5208 if test "x${possible_version}" != "x"; then | 5247 if test "x${possible_version}" != "x"; then |
5209 GNOME_CONFIG="${possible}" | 5248 GNOME_CONFIG="${possible}" |
5230 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5269 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5231 fi | 5270 fi |
5232 | 5271 |
5233 if test "$with_gtk" != "no";then | 5272 if test "$with_gtk" != "no";then |
5234 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5273 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5235 echo "configure:5236: checking for GTK configuration script" >&5 | 5274 echo "configure:5275: checking for GTK configuration script" >&5 |
5236 for possible in gtk12-config gtk14-config gtk-config | 5275 for possible in gtk12-config gtk14-config gtk-config |
5237 do | 5276 do |
5238 possible_version=`${possible} --version 2> /dev/null` | 5277 possible_version=`${possible} --version 2> /dev/null` |
5239 if test "x${possible_version}" != "x"; then | 5278 if test "x${possible_version}" != "x"; then |
5240 GTK_CONFIG="${possible}" | 5279 GTK_CONFIG="${possible}" |
5252 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5291 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5253 fi | 5292 fi |
5254 | 5293 |
5255 if test "${GTK_CONFIG}" != "no"; then | 5294 if test "${GTK_CONFIG}" != "no"; then |
5256 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5295 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5257 echo "configure:5258: checking gtk version" >&5 | 5296 echo "configure:5297: checking gtk version" >&5 |
5258 GTK_VERSION=`${GTK_CONFIG} --version` | 5297 GTK_VERSION=`${GTK_CONFIG} --version` |
5259 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5298 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5260 | 5299 |
5261 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5300 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5262 echo "configure:5263: checking gtk libs" >&5 | 5301 echo "configure:5302: checking gtk libs" >&5 |
5263 GTK_LIBS=`${GTK_CONFIG} --libs` | 5302 GTK_LIBS=`${GTK_CONFIG} --libs` |
5264 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5303 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5265 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5304 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5266 | 5305 |
5267 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5306 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5268 echo "configure:5269: checking gtk cflags" >&5 | 5307 echo "configure:5308: checking gtk cflags" >&5 |
5269 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5308 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5270 if test "$GCC" = "yes"; then | 5309 if test "$GCC" = "yes"; then |
5271 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5310 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5272 fi | 5311 fi |
5273 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5312 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5274 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5313 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5275 | 5314 |
5276 | 5315 |
5277 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5316 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5278 echo "configure:5279: checking for main in -lgdk_imlib" >&5 | 5317 echo "configure:5318: checking for main in -lgdk_imlib" >&5 |
5279 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5318 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5280 | 5319 |
5281 xe_check_libs=" -lgdk_imlib " | 5320 xe_check_libs=" -lgdk_imlib " |
5282 cat > conftest.$ac_ext <<EOF | 5321 cat > conftest.$ac_ext <<EOF |
5283 #line 5284 "configure" | 5322 #line 5323 "configure" |
5284 #include "confdefs.h" | 5323 #include "confdefs.h" |
5285 | 5324 |
5286 int main() { | 5325 int main() { |
5287 main() | 5326 main() |
5288 ; return 0; } | 5327 ; return 0; } |
5289 EOF | 5328 EOF |
5290 if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5329 if { (eval echo configure:5330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5291 rm -rf conftest* | 5330 rm -rf conftest* |
5292 eval "ac_cv_lib_$ac_lib_var=yes" | 5331 eval "ac_cv_lib_$ac_lib_var=yes" |
5293 else | 5332 else |
5294 echo "configure: failed program was:" >&5 | 5333 echo "configure: failed program was:" >&5 |
5295 cat conftest.$ac_ext >&5 | 5334 cat conftest.$ac_ext >&5 |
5307 fi | 5346 fi |
5308 | 5347 |
5309 | 5348 |
5310 | 5349 |
5311 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5350 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5312 echo "configure:5313: checking for Imlib_init in -lImlib" >&5 | 5351 echo "configure:5352: checking for Imlib_init in -lImlib" >&5 |
5313 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5352 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5314 | 5353 |
5315 xe_check_libs=" -lImlib " | 5354 xe_check_libs=" -lImlib " |
5316 cat > conftest.$ac_ext <<EOF | 5355 cat > conftest.$ac_ext <<EOF |
5317 #line 5318 "configure" | 5356 #line 5357 "configure" |
5318 #include "confdefs.h" | 5357 #include "confdefs.h" |
5319 /* Override any gcc2 internal prototype to avoid an error. */ | 5358 /* Override any gcc2 internal prototype to avoid an error. */ |
5320 /* We use char because int might match the return type of a gcc2 | 5359 /* We use char because int might match the return type of a gcc2 |
5321 builtin and then its argument prototype would still apply. */ | 5360 builtin and then its argument prototype would still apply. */ |
5322 char Imlib_init(); | 5361 char Imlib_init(); |
5323 | 5362 |
5324 int main() { | 5363 int main() { |
5325 Imlib_init() | 5364 Imlib_init() |
5326 ; return 0; } | 5365 ; return 0; } |
5327 EOF | 5366 EOF |
5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5367 if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5329 rm -rf conftest* | 5368 rm -rf conftest* |
5330 eval "ac_cv_lib_$ac_lib_var=yes" | 5369 eval "ac_cv_lib_$ac_lib_var=yes" |
5331 else | 5370 else |
5332 echo "configure: failed program was:" >&5 | 5371 echo "configure: failed program was:" >&5 |
5333 cat conftest.$ac_ext >&5 | 5372 cat conftest.$ac_ext >&5 |
5346 | 5385 |
5347 | 5386 |
5348 for ac_func in gdk_imlib_init | 5387 for ac_func in gdk_imlib_init |
5349 do | 5388 do |
5350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5351 echo "configure:5352: checking for $ac_func" >&5 | 5390 echo "configure:5391: checking for $ac_func" >&5 |
5352 | 5391 |
5353 cat > conftest.$ac_ext <<EOF | 5392 cat > conftest.$ac_ext <<EOF |
5354 #line 5355 "configure" | 5393 #line 5394 "configure" |
5355 #include "confdefs.h" | 5394 #include "confdefs.h" |
5356 /* System header to define __stub macros and hopefully few prototypes, | 5395 /* System header to define __stub macros and hopefully few prototypes, |
5357 which can conflict with char $ac_func(); below. */ | 5396 which can conflict with char $ac_func(); below. */ |
5358 #include <assert.h> | 5397 #include <assert.h> |
5359 /* Override any gcc2 internal prototype to avoid an error. */ | 5398 /* Override any gcc2 internal prototype to avoid an error. */ |
5372 $ac_func(); | 5411 $ac_func(); |
5373 #endif | 5412 #endif |
5374 | 5413 |
5375 ; return 0; } | 5414 ; return 0; } |
5376 EOF | 5415 EOF |
5377 if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5416 if { (eval echo configure:5417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5378 rm -rf conftest* | 5417 rm -rf conftest* |
5379 eval "ac_cv_func_$ac_func=yes" | 5418 eval "ac_cv_func_$ac_func=yes" |
5380 else | 5419 else |
5381 echo "configure: failed program was:" >&5 | 5420 echo "configure: failed program was:" >&5 |
5382 cat conftest.$ac_ext >&5 | 5421 cat conftest.$ac_ext >&5 |
5438 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5477 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5439 for ac_hdr in glade/glade.h glade.h | 5478 for ac_hdr in glade/glade.h glade.h |
5440 do | 5479 do |
5441 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5480 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5442 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5443 echo "configure:5444: checking for $ac_hdr" >&5 | 5482 echo "configure:5483: checking for $ac_hdr" >&5 |
5444 | 5483 |
5445 cat > conftest.$ac_ext <<EOF | 5484 cat > conftest.$ac_ext <<EOF |
5446 #line 5447 "configure" | 5485 #line 5486 "configure" |
5447 #include "confdefs.h" | 5486 #include "confdefs.h" |
5448 #include <$ac_hdr> | 5487 #include <$ac_hdr> |
5449 EOF | 5488 EOF |
5450 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5451 { (eval echo configure:5452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5490 { (eval echo configure:5491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5452 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5453 if test -z "$ac_err"; then | 5492 if test -z "$ac_err"; then |
5454 rm -rf conftest* | 5493 rm -rf conftest* |
5455 eval "ac_cv_header_$ac_safe=yes" | 5494 eval "ac_cv_header_$ac_safe=yes" |
5456 else | 5495 else |
5477 fi | 5516 fi |
5478 done | 5517 done |
5479 | 5518 |
5480 | 5519 |
5481 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5520 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5482 echo "configure:5483: checking for main in -lxml" >&5 | 5521 echo "configure:5522: checking for main in -lxml" >&5 |
5483 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5522 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5484 | 5523 |
5485 xe_check_libs=" -lxml " | 5524 xe_check_libs=" -lxml " |
5486 cat > conftest.$ac_ext <<EOF | 5525 cat > conftest.$ac_ext <<EOF |
5487 #line 5488 "configure" | 5526 #line 5527 "configure" |
5488 #include "confdefs.h" | 5527 #include "confdefs.h" |
5489 | 5528 |
5490 int main() { | 5529 int main() { |
5491 main() | 5530 main() |
5492 ; return 0; } | 5531 ; return 0; } |
5493 EOF | 5532 EOF |
5494 if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5495 rm -rf conftest* | 5534 rm -rf conftest* |
5496 eval "ac_cv_lib_$ac_lib_var=yes" | 5535 eval "ac_cv_lib_$ac_lib_var=yes" |
5497 else | 5536 else |
5498 echo "configure: failed program was:" >&5 | 5537 echo "configure: failed program was:" >&5 |
5499 cat conftest.$ac_ext >&5 | 5538 cat conftest.$ac_ext >&5 |
5511 fi | 5550 fi |
5512 | 5551 |
5513 | 5552 |
5514 | 5553 |
5515 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5554 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5516 echo "configure:5517: checking for main in -lglade" >&5 | 5555 echo "configure:5556: checking for main in -lglade" >&5 |
5517 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5556 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5518 | 5557 |
5519 xe_check_libs=" -lglade " | 5558 xe_check_libs=" -lglade " |
5520 cat > conftest.$ac_ext <<EOF | 5559 cat > conftest.$ac_ext <<EOF |
5521 #line 5522 "configure" | 5560 #line 5561 "configure" |
5522 #include "confdefs.h" | 5561 #include "confdefs.h" |
5523 | 5562 |
5524 int main() { | 5563 int main() { |
5525 main() | 5564 main() |
5526 ; return 0; } | 5565 ; return 0; } |
5527 EOF | 5566 EOF |
5528 if { (eval echo configure:5529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5529 rm -rf conftest* | 5568 rm -rf conftest* |
5530 eval "ac_cv_lib_$ac_lib_var=yes" | 5569 eval "ac_cv_lib_$ac_lib_var=yes" |
5531 else | 5570 else |
5532 echo "configure: failed program was:" >&5 | 5571 echo "configure: failed program was:" >&5 |
5533 cat conftest.$ac_ext >&5 | 5572 cat conftest.$ac_ext >&5 |
5545 fi | 5584 fi |
5546 | 5585 |
5547 | 5586 |
5548 | 5587 |
5549 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5588 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5550 echo "configure:5551: checking for main in -lglade-gnome" >&5 | 5589 echo "configure:5590: checking for main in -lglade-gnome" >&5 |
5551 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5590 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5552 | 5591 |
5553 xe_check_libs=" -lglade-gnome " | 5592 xe_check_libs=" -lglade-gnome " |
5554 cat > conftest.$ac_ext <<EOF | 5593 cat > conftest.$ac_ext <<EOF |
5555 #line 5556 "configure" | 5594 #line 5595 "configure" |
5556 #include "confdefs.h" | 5595 #include "confdefs.h" |
5557 | 5596 |
5558 int main() { | 5597 int main() { |
5559 main() | 5598 main() |
5560 ; return 0; } | 5599 ; return 0; } |
5561 EOF | 5600 EOF |
5562 if { (eval echo configure:5563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5601 if { (eval echo configure:5602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5563 rm -rf conftest* | 5602 rm -rf conftest* |
5564 eval "ac_cv_lib_$ac_lib_var=yes" | 5603 eval "ac_cv_lib_$ac_lib_var=yes" |
5565 else | 5604 else |
5566 echo "configure: failed program was:" >&5 | 5605 echo "configure: failed program was:" >&5 |
5567 cat conftest.$ac_ext >&5 | 5606 cat conftest.$ac_ext >&5 |
5578 echo "$ac_t""no" 1>&6 | 5617 echo "$ac_t""no" 1>&6 |
5579 fi | 5618 fi |
5580 | 5619 |
5581 | 5620 |
5582 cat > conftest.$ac_ext <<EOF | 5621 cat > conftest.$ac_ext <<EOF |
5583 #line 5584 "configure" | 5622 #line 5623 "configure" |
5584 #include "confdefs.h" | 5623 #include "confdefs.h" |
5585 #include <glade/glade-xml.h> | 5624 #include <glade/glade-xml.h> |
5586 EOF | 5625 EOF |
5587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5588 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5627 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5637 # If we find X, set shell vars x_includes and x_libraries to the | 5676 # If we find X, set shell vars x_includes and x_libraries to the |
5638 # paths, otherwise set no_x=yes. | 5677 # paths, otherwise set no_x=yes. |
5639 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5678 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5640 # --without-x overrides everything else, but does not touch the cache. | 5679 # --without-x overrides everything else, but does not touch the cache. |
5641 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5680 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5642 echo "configure:5643: checking for X" >&5 | 5681 echo "configure:5682: checking for X" >&5 |
5643 | 5682 |
5644 # Check whether --with-x or --without-x was given. | 5683 # Check whether --with-x or --without-x was given. |
5645 if test "${with_x+set}" = set; then | 5684 if test "${with_x+set}" = set; then |
5646 withval="$with_x" | 5685 withval="$with_x" |
5647 : | 5686 : |
5697 # Guess where to find include files, by looking for this one X11 .h file. | 5736 # Guess where to find include files, by looking for this one X11 .h file. |
5698 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5737 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5699 | 5738 |
5700 # First, try using that file with no special directory specified. | 5739 # First, try using that file with no special directory specified. |
5701 cat > conftest.$ac_ext <<EOF | 5740 cat > conftest.$ac_ext <<EOF |
5702 #line 5703 "configure" | 5741 #line 5742 "configure" |
5703 #include "confdefs.h" | 5742 #include "confdefs.h" |
5704 #include <$x_direct_test_include> | 5743 #include <$x_direct_test_include> |
5705 EOF | 5744 EOF |
5706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5707 { (eval echo configure:5708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5746 { (eval echo configure:5747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5709 if test -z "$ac_err"; then | 5748 if test -z "$ac_err"; then |
5710 rm -rf conftest* | 5749 rm -rf conftest* |
5711 # We can compile using X headers with no special include directory. | 5750 # We can compile using X headers with no special include directory. |
5712 ac_x_includes= | 5751 ac_x_includes= |
5771 # See if we find them without any special options. | 5810 # See if we find them without any special options. |
5772 # Don't add to $LIBS permanently. | 5811 # Don't add to $LIBS permanently. |
5773 ac_save_LIBS="$LIBS" | 5812 ac_save_LIBS="$LIBS" |
5774 LIBS="-l$x_direct_test_library $LIBS" | 5813 LIBS="-l$x_direct_test_library $LIBS" |
5775 cat > conftest.$ac_ext <<EOF | 5814 cat > conftest.$ac_ext <<EOF |
5776 #line 5777 "configure" | 5815 #line 5816 "configure" |
5777 #include "confdefs.h" | 5816 #include "confdefs.h" |
5778 | 5817 |
5779 int main() { | 5818 int main() { |
5780 ${x_direct_test_function}() | 5819 ${x_direct_test_function}() |
5781 ; return 0; } | 5820 ; return 0; } |
5782 EOF | 5821 EOF |
5783 if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5822 if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5784 rm -rf conftest* | 5823 rm -rf conftest* |
5785 LIBS="$ac_save_LIBS" | 5824 LIBS="$ac_save_LIBS" |
5786 # We can link X programs with no special library path. | 5825 # We can link X programs with no special library path. |
5787 ac_x_libraries= | 5826 ac_x_libraries= |
5788 else | 5827 else |
5887 # For Solaris; some versions of Sun CC require a space after -R and | 5926 # For Solaris; some versions of Sun CC require a space after -R and |
5888 # others require no space. Words are not sufficient . . . . | 5927 # others require no space. Words are not sufficient . . . . |
5889 case "`(uname -sr) 2>/dev/null`" in | 5928 case "`(uname -sr) 2>/dev/null`" in |
5890 "SunOS 5"*) | 5929 "SunOS 5"*) |
5891 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5930 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5892 echo "configure:5893: checking whether -R must be followed by a space" >&5 | 5931 echo "configure:5932: checking whether -R must be followed by a space" >&5 |
5893 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5932 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5894 cat > conftest.$ac_ext <<EOF | 5933 cat > conftest.$ac_ext <<EOF |
5895 #line 5896 "configure" | 5934 #line 5935 "configure" |
5896 #include "confdefs.h" | 5935 #include "confdefs.h" |
5897 | 5936 |
5898 int main() { | 5937 int main() { |
5899 | 5938 |
5900 ; return 0; } | 5939 ; return 0; } |
5901 EOF | 5940 EOF |
5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5941 if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5903 rm -rf conftest* | 5942 rm -rf conftest* |
5904 ac_R_nospace=yes | 5943 ac_R_nospace=yes |
5905 else | 5944 else |
5906 echo "configure: failed program was:" >&5 | 5945 echo "configure: failed program was:" >&5 |
5907 cat conftest.$ac_ext >&5 | 5946 cat conftest.$ac_ext >&5 |
5913 echo "$ac_t""no" 1>&6 | 5952 echo "$ac_t""no" 1>&6 |
5914 X_LIBS="$X_LIBS -R$x_libraries" | 5953 X_LIBS="$X_LIBS -R$x_libraries" |
5915 else | 5954 else |
5916 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5955 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5917 cat > conftest.$ac_ext <<EOF | 5956 cat > conftest.$ac_ext <<EOF |
5918 #line 5919 "configure" | 5957 #line 5958 "configure" |
5919 #include "confdefs.h" | 5958 #include "confdefs.h" |
5920 | 5959 |
5921 int main() { | 5960 int main() { |
5922 | 5961 |
5923 ; return 0; } | 5962 ; return 0; } |
5924 EOF | 5963 EOF |
5925 if { (eval echo configure:5926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5964 if { (eval echo configure:5965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5926 rm -rf conftest* | 5965 rm -rf conftest* |
5927 ac_R_space=yes | 5966 ac_R_space=yes |
5928 else | 5967 else |
5929 echo "configure: failed program was:" >&5 | 5968 echo "configure: failed program was:" >&5 |
5930 cat conftest.$ac_ext >&5 | 5969 cat conftest.$ac_ext >&5 |
5956 if test "$with_dnet" = "no" ; then | 5995 if test "$with_dnet" = "no" ; then |
5957 ac_cv_lib_dnet_dnet_ntoa=no | 5996 ac_cv_lib_dnet_dnet_ntoa=no |
5958 else | 5997 else |
5959 | 5998 |
5960 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5999 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5961 echo "configure:5962: checking for dnet_ntoa in -ldnet" >&5 | 6000 echo "configure:6001: checking for dnet_ntoa in -ldnet" >&5 |
5962 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6001 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5963 | 6002 |
5964 xe_check_libs=" -ldnet " | 6003 xe_check_libs=" -ldnet " |
5965 cat > conftest.$ac_ext <<EOF | 6004 cat > conftest.$ac_ext <<EOF |
5966 #line 5967 "configure" | 6005 #line 6006 "configure" |
5967 #include "confdefs.h" | 6006 #include "confdefs.h" |
5968 /* Override any gcc2 internal prototype to avoid an error. */ | 6007 /* Override any gcc2 internal prototype to avoid an error. */ |
5969 /* We use char because int might match the return type of a gcc2 | 6008 /* We use char because int might match the return type of a gcc2 |
5970 builtin and then its argument prototype would still apply. */ | 6009 builtin and then its argument prototype would still apply. */ |
5971 char dnet_ntoa(); | 6010 char dnet_ntoa(); |
5972 | 6011 |
5973 int main() { | 6012 int main() { |
5974 dnet_ntoa() | 6013 dnet_ntoa() |
5975 ; return 0; } | 6014 ; return 0; } |
5976 EOF | 6015 EOF |
5977 if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5978 rm -rf conftest* | 6017 rm -rf conftest* |
5979 eval "ac_cv_lib_$ac_lib_var=yes" | 6018 eval "ac_cv_lib_$ac_lib_var=yes" |
5980 else | 6019 else |
5981 echo "configure: failed program was:" >&5 | 6020 echo "configure: failed program was:" >&5 |
5982 cat conftest.$ac_ext >&5 | 6021 cat conftest.$ac_ext >&5 |
5996 fi | 6035 fi |
5997 | 6036 |
5998 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6037 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5999 | 6038 |
6000 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6039 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6001 echo "configure:6002: checking for dnet_ntoa in -ldnet_stub" >&5 | 6040 echo "configure:6041: checking for dnet_ntoa in -ldnet_stub" >&5 |
6002 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6041 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6003 | 6042 |
6004 xe_check_libs=" -ldnet_stub " | 6043 xe_check_libs=" -ldnet_stub " |
6005 cat > conftest.$ac_ext <<EOF | 6044 cat > conftest.$ac_ext <<EOF |
6006 #line 6007 "configure" | 6045 #line 6046 "configure" |
6007 #include "confdefs.h" | 6046 #include "confdefs.h" |
6008 /* Override any gcc2 internal prototype to avoid an error. */ | 6047 /* Override any gcc2 internal prototype to avoid an error. */ |
6009 /* We use char because int might match the return type of a gcc2 | 6048 /* We use char because int might match the return type of a gcc2 |
6010 builtin and then its argument prototype would still apply. */ | 6049 builtin and then its argument prototype would still apply. */ |
6011 char dnet_ntoa(); | 6050 char dnet_ntoa(); |
6012 | 6051 |
6013 int main() { | 6052 int main() { |
6014 dnet_ntoa() | 6053 dnet_ntoa() |
6015 ; return 0; } | 6054 ; return 0; } |
6016 EOF | 6055 EOF |
6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6018 rm -rf conftest* | 6057 rm -rf conftest* |
6019 eval "ac_cv_lib_$ac_lib_var=yes" | 6058 eval "ac_cv_lib_$ac_lib_var=yes" |
6020 else | 6059 else |
6021 echo "configure: failed program was:" >&5 | 6060 echo "configure: failed program was:" >&5 |
6022 cat conftest.$ac_ext >&5 | 6061 cat conftest.$ac_ext >&5 |
6041 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6080 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6042 # needs -lnsl. | 6081 # needs -lnsl. |
6043 # The nsl library prevents programs from opening the X display | 6082 # The nsl library prevents programs from opening the X display |
6044 # on Irix 5.2, according to dickey@clark.net. | 6083 # on Irix 5.2, according to dickey@clark.net. |
6045 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6084 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6046 echo "configure:6047: checking for gethostbyname" >&5 | 6085 echo "configure:6086: checking for gethostbyname" >&5 |
6047 | 6086 |
6048 cat > conftest.$ac_ext <<EOF | 6087 cat > conftest.$ac_ext <<EOF |
6049 #line 6050 "configure" | 6088 #line 6089 "configure" |
6050 #include "confdefs.h" | 6089 #include "confdefs.h" |
6051 /* System header to define __stub macros and hopefully few prototypes, | 6090 /* System header to define __stub macros and hopefully few prototypes, |
6052 which can conflict with char gethostbyname(); below. */ | 6091 which can conflict with char gethostbyname(); below. */ |
6053 #include <assert.h> | 6092 #include <assert.h> |
6054 /* Override any gcc2 internal prototype to avoid an error. */ | 6093 /* Override any gcc2 internal prototype to avoid an error. */ |
6067 gethostbyname(); | 6106 gethostbyname(); |
6068 #endif | 6107 #endif |
6069 | 6108 |
6070 ; return 0; } | 6109 ; return 0; } |
6071 EOF | 6110 EOF |
6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6073 rm -rf conftest* | 6112 rm -rf conftest* |
6074 eval "ac_cv_func_gethostbyname=yes" | 6113 eval "ac_cv_func_gethostbyname=yes" |
6075 else | 6114 else |
6076 echo "configure: failed program was:" >&5 | 6115 echo "configure: failed program was:" >&5 |
6077 cat conftest.$ac_ext >&5 | 6116 cat conftest.$ac_ext >&5 |
6088 fi | 6127 fi |
6089 | 6128 |
6090 if test $ac_cv_func_gethostbyname = no; then | 6129 if test $ac_cv_func_gethostbyname = no; then |
6091 | 6130 |
6092 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6131 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6093 echo "configure:6094: checking for gethostbyname in -lnsl" >&5 | 6132 echo "configure:6133: checking for gethostbyname in -lnsl" >&5 |
6094 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6133 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6095 | 6134 |
6096 xe_check_libs=" -lnsl " | 6135 xe_check_libs=" -lnsl " |
6097 cat > conftest.$ac_ext <<EOF | 6136 cat > conftest.$ac_ext <<EOF |
6098 #line 6099 "configure" | 6137 #line 6138 "configure" |
6099 #include "confdefs.h" | 6138 #include "confdefs.h" |
6100 /* Override any gcc2 internal prototype to avoid an error. */ | 6139 /* Override any gcc2 internal prototype to avoid an error. */ |
6101 /* We use char because int might match the return type of a gcc2 | 6140 /* We use char because int might match the return type of a gcc2 |
6102 builtin and then its argument prototype would still apply. */ | 6141 builtin and then its argument prototype would still apply. */ |
6103 char gethostbyname(); | 6142 char gethostbyname(); |
6104 | 6143 |
6105 int main() { | 6144 int main() { |
6106 gethostbyname() | 6145 gethostbyname() |
6107 ; return 0; } | 6146 ; return 0; } |
6108 EOF | 6147 EOF |
6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6148 if { (eval echo configure:6149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6110 rm -rf conftest* | 6149 rm -rf conftest* |
6111 eval "ac_cv_lib_$ac_lib_var=yes" | 6150 eval "ac_cv_lib_$ac_lib_var=yes" |
6112 else | 6151 else |
6113 echo "configure: failed program was:" >&5 | 6152 echo "configure: failed program was:" >&5 |
6114 cat conftest.$ac_ext >&5 | 6153 cat conftest.$ac_ext >&5 |
6134 # on later versions), says simon@lia.di.epfl.ch: it contains | 6173 # on later versions), says simon@lia.di.epfl.ch: it contains |
6135 # gethostby* variants that don't use the nameserver (or something). | 6174 # gethostby* variants that don't use the nameserver (or something). |
6136 # -lsocket must be given before -lnsl if both are needed. | 6175 # -lsocket must be given before -lnsl if both are needed. |
6137 # We assume that if connect needs -lnsl, so does gethostbyname. | 6176 # We assume that if connect needs -lnsl, so does gethostbyname. |
6138 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6177 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6139 echo "configure:6140: checking for connect" >&5 | 6178 echo "configure:6179: checking for connect" >&5 |
6140 | 6179 |
6141 cat > conftest.$ac_ext <<EOF | 6180 cat > conftest.$ac_ext <<EOF |
6142 #line 6143 "configure" | 6181 #line 6182 "configure" |
6143 #include "confdefs.h" | 6182 #include "confdefs.h" |
6144 /* System header to define __stub macros and hopefully few prototypes, | 6183 /* System header to define __stub macros and hopefully few prototypes, |
6145 which can conflict with char connect(); below. */ | 6184 which can conflict with char connect(); below. */ |
6146 #include <assert.h> | 6185 #include <assert.h> |
6147 /* Override any gcc2 internal prototype to avoid an error. */ | 6186 /* Override any gcc2 internal prototype to avoid an error. */ |
6160 connect(); | 6199 connect(); |
6161 #endif | 6200 #endif |
6162 | 6201 |
6163 ; return 0; } | 6202 ; return 0; } |
6164 EOF | 6203 EOF |
6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6166 rm -rf conftest* | 6205 rm -rf conftest* |
6167 eval "ac_cv_func_connect=yes" | 6206 eval "ac_cv_func_connect=yes" |
6168 else | 6207 else |
6169 echo "configure: failed program was:" >&5 | 6208 echo "configure: failed program was:" >&5 |
6170 cat conftest.$ac_ext >&5 | 6209 cat conftest.$ac_ext >&5 |
6183 if test $ac_cv_func_connect = no; then | 6222 if test $ac_cv_func_connect = no; then |
6184 | 6223 |
6185 xe_msg_checking="for connect in -lsocket" | 6224 xe_msg_checking="for connect in -lsocket" |
6186 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6225 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6187 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6226 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6188 echo "configure:6189: checking "$xe_msg_checking"" >&5 | 6227 echo "configure:6228: checking "$xe_msg_checking"" >&5 |
6189 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6228 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6190 | 6229 |
6191 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6230 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6192 cat > conftest.$ac_ext <<EOF | 6231 cat > conftest.$ac_ext <<EOF |
6193 #line 6194 "configure" | 6232 #line 6233 "configure" |
6194 #include "confdefs.h" | 6233 #include "confdefs.h" |
6195 /* Override any gcc2 internal prototype to avoid an error. */ | 6234 /* Override any gcc2 internal prototype to avoid an error. */ |
6196 /* We use char because int might match the return type of a gcc2 | 6235 /* We use char because int might match the return type of a gcc2 |
6197 builtin and then its argument prototype would still apply. */ | 6236 builtin and then its argument prototype would still apply. */ |
6198 char connect(); | 6237 char connect(); |
6199 | 6238 |
6200 int main() { | 6239 int main() { |
6201 connect() | 6240 connect() |
6202 ; return 0; } | 6241 ; return 0; } |
6203 EOF | 6242 EOF |
6204 if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6205 rm -rf conftest* | 6244 rm -rf conftest* |
6206 eval "ac_cv_lib_$ac_lib_var=yes" | 6245 eval "ac_cv_lib_$ac_lib_var=yes" |
6207 else | 6246 else |
6208 echo "configure: failed program was:" >&5 | 6247 echo "configure: failed program was:" >&5 |
6209 cat conftest.$ac_ext >&5 | 6248 cat conftest.$ac_ext >&5 |
6223 | 6262 |
6224 fi | 6263 fi |
6225 | 6264 |
6226 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6265 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6227 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6266 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6228 echo "configure:6229: checking for remove" >&5 | 6267 echo "configure:6268: checking for remove" >&5 |
6229 | 6268 |
6230 cat > conftest.$ac_ext <<EOF | 6269 cat > conftest.$ac_ext <<EOF |
6231 #line 6232 "configure" | 6270 #line 6271 "configure" |
6232 #include "confdefs.h" | 6271 #include "confdefs.h" |
6233 /* System header to define __stub macros and hopefully few prototypes, | 6272 /* System header to define __stub macros and hopefully few prototypes, |
6234 which can conflict with char remove(); below. */ | 6273 which can conflict with char remove(); below. */ |
6235 #include <assert.h> | 6274 #include <assert.h> |
6236 /* Override any gcc2 internal prototype to avoid an error. */ | 6275 /* Override any gcc2 internal prototype to avoid an error. */ |
6249 remove(); | 6288 remove(); |
6250 #endif | 6289 #endif |
6251 | 6290 |
6252 ; return 0; } | 6291 ; return 0; } |
6253 EOF | 6292 EOF |
6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6293 if { (eval echo configure:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6255 rm -rf conftest* | 6294 rm -rf conftest* |
6256 eval "ac_cv_func_remove=yes" | 6295 eval "ac_cv_func_remove=yes" |
6257 else | 6296 else |
6258 echo "configure: failed program was:" >&5 | 6297 echo "configure: failed program was:" >&5 |
6259 cat conftest.$ac_ext >&5 | 6298 cat conftest.$ac_ext >&5 |
6270 fi | 6309 fi |
6271 | 6310 |
6272 if test $ac_cv_func_remove = no; then | 6311 if test $ac_cv_func_remove = no; then |
6273 | 6312 |
6274 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6313 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6275 echo "configure:6276: checking for remove in -lposix" >&5 | 6314 echo "configure:6315: checking for remove in -lposix" >&5 |
6276 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6315 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6277 | 6316 |
6278 xe_check_libs=" -lposix " | 6317 xe_check_libs=" -lposix " |
6279 cat > conftest.$ac_ext <<EOF | 6318 cat > conftest.$ac_ext <<EOF |
6280 #line 6281 "configure" | 6319 #line 6320 "configure" |
6281 #include "confdefs.h" | 6320 #include "confdefs.h" |
6282 /* Override any gcc2 internal prototype to avoid an error. */ | 6321 /* Override any gcc2 internal prototype to avoid an error. */ |
6283 /* We use char because int might match the return type of a gcc2 | 6322 /* We use char because int might match the return type of a gcc2 |
6284 builtin and then its argument prototype would still apply. */ | 6323 builtin and then its argument prototype would still apply. */ |
6285 char remove(); | 6324 char remove(); |
6286 | 6325 |
6287 int main() { | 6326 int main() { |
6288 remove() | 6327 remove() |
6289 ; return 0; } | 6328 ; return 0; } |
6290 EOF | 6329 EOF |
6291 if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6292 rm -rf conftest* | 6331 rm -rf conftest* |
6293 eval "ac_cv_lib_$ac_lib_var=yes" | 6332 eval "ac_cv_lib_$ac_lib_var=yes" |
6294 else | 6333 else |
6295 echo "configure: failed program was:" >&5 | 6334 echo "configure: failed program was:" >&5 |
6296 cat conftest.$ac_ext >&5 | 6335 cat conftest.$ac_ext >&5 |
6310 | 6349 |
6311 fi | 6350 fi |
6312 | 6351 |
6313 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6352 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6314 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6353 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6315 echo "configure:6316: checking for shmat" >&5 | 6354 echo "configure:6355: checking for shmat" >&5 |
6316 | 6355 |
6317 cat > conftest.$ac_ext <<EOF | 6356 cat > conftest.$ac_ext <<EOF |
6318 #line 6319 "configure" | 6357 #line 6358 "configure" |
6319 #include "confdefs.h" | 6358 #include "confdefs.h" |
6320 /* System header to define __stub macros and hopefully few prototypes, | 6359 /* System header to define __stub macros and hopefully few prototypes, |
6321 which can conflict with char shmat(); below. */ | 6360 which can conflict with char shmat(); below. */ |
6322 #include <assert.h> | 6361 #include <assert.h> |
6323 /* Override any gcc2 internal prototype to avoid an error. */ | 6362 /* Override any gcc2 internal prototype to avoid an error. */ |
6336 shmat(); | 6375 shmat(); |
6337 #endif | 6376 #endif |
6338 | 6377 |
6339 ; return 0; } | 6378 ; return 0; } |
6340 EOF | 6379 EOF |
6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6380 if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6342 rm -rf conftest* | 6381 rm -rf conftest* |
6343 eval "ac_cv_func_shmat=yes" | 6382 eval "ac_cv_func_shmat=yes" |
6344 else | 6383 else |
6345 echo "configure: failed program was:" >&5 | 6384 echo "configure: failed program was:" >&5 |
6346 cat conftest.$ac_ext >&5 | 6385 cat conftest.$ac_ext >&5 |
6357 fi | 6396 fi |
6358 | 6397 |
6359 if test $ac_cv_func_shmat = no; then | 6398 if test $ac_cv_func_shmat = no; then |
6360 | 6399 |
6361 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6400 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6362 echo "configure:6363: checking for shmat in -lipc" >&5 | 6401 echo "configure:6402: checking for shmat in -lipc" >&5 |
6363 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6402 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6364 | 6403 |
6365 xe_check_libs=" -lipc " | 6404 xe_check_libs=" -lipc " |
6366 cat > conftest.$ac_ext <<EOF | 6405 cat > conftest.$ac_ext <<EOF |
6367 #line 6368 "configure" | 6406 #line 6407 "configure" |
6368 #include "confdefs.h" | 6407 #include "confdefs.h" |
6369 /* Override any gcc2 internal prototype to avoid an error. */ | 6408 /* Override any gcc2 internal prototype to avoid an error. */ |
6370 /* We use char because int might match the return type of a gcc2 | 6409 /* We use char because int might match the return type of a gcc2 |
6371 builtin and then its argument prototype would still apply. */ | 6410 builtin and then its argument prototype would still apply. */ |
6372 char shmat(); | 6411 char shmat(); |
6373 | 6412 |
6374 int main() { | 6413 int main() { |
6375 shmat() | 6414 shmat() |
6376 ; return 0; } | 6415 ; return 0; } |
6377 EOF | 6416 EOF |
6378 if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6417 if { (eval echo configure:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6379 rm -rf conftest* | 6418 rm -rf conftest* |
6380 eval "ac_cv_lib_$ac_lib_var=yes" | 6419 eval "ac_cv_lib_$ac_lib_var=yes" |
6381 else | 6420 else |
6382 echo "configure: failed program was:" >&5 | 6421 echo "configure: failed program was:" >&5 |
6383 cat conftest.$ac_ext >&5 | 6422 cat conftest.$ac_ext >&5 |
6409 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6448 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6410 | 6449 |
6411 xe_msg_checking="for IceConnectionNumber in -lICE" | 6450 xe_msg_checking="for IceConnectionNumber in -lICE" |
6412 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6451 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6413 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6452 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6414 echo "configure:6415: checking "$xe_msg_checking"" >&5 | 6453 echo "configure:6454: checking "$xe_msg_checking"" >&5 |
6415 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6454 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6416 | 6455 |
6417 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6456 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6418 cat > conftest.$ac_ext <<EOF | 6457 cat > conftest.$ac_ext <<EOF |
6419 #line 6420 "configure" | 6458 #line 6459 "configure" |
6420 #include "confdefs.h" | 6459 #include "confdefs.h" |
6421 /* Override any gcc2 internal prototype to avoid an error. */ | 6460 /* Override any gcc2 internal prototype to avoid an error. */ |
6422 /* We use char because int might match the return type of a gcc2 | 6461 /* We use char because int might match the return type of a gcc2 |
6423 builtin and then its argument prototype would still apply. */ | 6462 builtin and then its argument prototype would still apply. */ |
6424 char IceConnectionNumber(); | 6463 char IceConnectionNumber(); |
6425 | 6464 |
6426 int main() { | 6465 int main() { |
6427 IceConnectionNumber() | 6466 IceConnectionNumber() |
6428 ; return 0; } | 6467 ; return 0; } |
6429 EOF | 6468 EOF |
6430 if { (eval echo configure:6431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6469 if { (eval echo configure:6470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6431 rm -rf conftest* | 6470 rm -rf conftest* |
6432 eval "ac_cv_lib_$ac_lib_var=yes" | 6471 eval "ac_cv_lib_$ac_lib_var=yes" |
6433 else | 6472 else |
6434 echo "configure: failed program was:" >&5 | 6473 echo "configure: failed program was:" >&5 |
6435 cat conftest.$ac_ext >&5 | 6474 cat conftest.$ac_ext >&5 |
6592 EOF | 6631 EOF |
6593 } | 6632 } |
6594 | 6633 |
6595 | 6634 |
6596 echo "checking for X defines extracted by xmkmf" 1>&6 | 6635 echo "checking for X defines extracted by xmkmf" 1>&6 |
6597 echo "configure:6598: checking for X defines extracted by xmkmf" >&5 | 6636 echo "configure:6637: checking for X defines extracted by xmkmf" >&5 |
6598 rm -fr conftestdir | 6637 rm -fr conftestdir |
6599 if mkdir conftestdir; then | 6638 if mkdir conftestdir; then |
6600 cd conftestdir | 6639 cd conftestdir |
6601 cat > Imakefile <<'EOF' | 6640 cat > Imakefile <<'EOF' |
6602 xetest: | 6641 xetest: |
6641 done | 6680 done |
6642 fi | 6681 fi |
6643 | 6682 |
6644 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6683 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6645 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6684 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6646 echo "configure:6647: checking for X11/Intrinsic.h" >&5 | 6685 echo "configure:6686: checking for X11/Intrinsic.h" >&5 |
6647 | 6686 |
6648 cat > conftest.$ac_ext <<EOF | 6687 cat > conftest.$ac_ext <<EOF |
6649 #line 6650 "configure" | 6688 #line 6689 "configure" |
6650 #include "confdefs.h" | 6689 #include "confdefs.h" |
6651 #include <X11/Intrinsic.h> | 6690 #include <X11/Intrinsic.h> |
6652 EOF | 6691 EOF |
6653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6654 { (eval echo configure:6655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6693 { (eval echo configure:6694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6656 if test -z "$ac_err"; then | 6695 if test -z "$ac_err"; then |
6657 rm -rf conftest* | 6696 rm -rf conftest* |
6658 eval "ac_cv_header_$ac_safe=yes" | 6697 eval "ac_cv_header_$ac_safe=yes" |
6659 else | 6698 else |
6673 fi | 6712 fi |
6674 | 6713 |
6675 | 6714 |
6676 | 6715 |
6677 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6716 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6678 echo "configure:6679: checking for XOpenDisplay in -lX11" >&5 | 6717 echo "configure:6718: checking for XOpenDisplay in -lX11" >&5 |
6679 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6718 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6680 | 6719 |
6681 xe_check_libs=" -lX11 " | 6720 xe_check_libs=" -lX11 " |
6682 cat > conftest.$ac_ext <<EOF | 6721 cat > conftest.$ac_ext <<EOF |
6683 #line 6684 "configure" | 6722 #line 6723 "configure" |
6684 #include "confdefs.h" | 6723 #include "confdefs.h" |
6685 /* Override any gcc2 internal prototype to avoid an error. */ | 6724 /* Override any gcc2 internal prototype to avoid an error. */ |
6686 /* We use char because int might match the return type of a gcc2 | 6725 /* We use char because int might match the return type of a gcc2 |
6687 builtin and then its argument prototype would still apply. */ | 6726 builtin and then its argument prototype would still apply. */ |
6688 char XOpenDisplay(); | 6727 char XOpenDisplay(); |
6689 | 6728 |
6690 int main() { | 6729 int main() { |
6691 XOpenDisplay() | 6730 XOpenDisplay() |
6692 ; return 0; } | 6731 ; return 0; } |
6693 EOF | 6732 EOF |
6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6695 rm -rf conftest* | 6734 rm -rf conftest* |
6696 eval "ac_cv_lib_$ac_lib_var=yes" | 6735 eval "ac_cv_lib_$ac_lib_var=yes" |
6697 else | 6736 else |
6698 echo "configure: failed program was:" >&5 | 6737 echo "configure: failed program was:" >&5 |
6699 cat conftest.$ac_ext >&5 | 6738 cat conftest.$ac_ext >&5 |
6714 if test "$have_lib_x11" != "yes"; then | 6753 if test "$have_lib_x11" != "yes"; then |
6715 | 6754 |
6716 xe_msg_checking="for XGetFontProperty in -lX11" | 6755 xe_msg_checking="for XGetFontProperty in -lX11" |
6717 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6756 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6718 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6757 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6719 echo "configure:6720: checking "$xe_msg_checking"" >&5 | 6758 echo "configure:6759: checking "$xe_msg_checking"" >&5 |
6720 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6759 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6721 | 6760 |
6722 xe_check_libs=" -lX11 -b i486-linuxaout" | 6761 xe_check_libs=" -lX11 -b i486-linuxaout" |
6723 cat > conftest.$ac_ext <<EOF | 6762 cat > conftest.$ac_ext <<EOF |
6724 #line 6725 "configure" | 6763 #line 6764 "configure" |
6725 #include "confdefs.h" | 6764 #include "confdefs.h" |
6726 /* Override any gcc2 internal prototype to avoid an error. */ | 6765 /* Override any gcc2 internal prototype to avoid an error. */ |
6727 /* We use char because int might match the return type of a gcc2 | 6766 /* We use char because int might match the return type of a gcc2 |
6728 builtin and then its argument prototype would still apply. */ | 6767 builtin and then its argument prototype would still apply. */ |
6729 char XGetFontProperty(); | 6768 char XGetFontProperty(); |
6730 | 6769 |
6731 int main() { | 6770 int main() { |
6732 XGetFontProperty() | 6771 XGetFontProperty() |
6733 ; return 0; } | 6772 ; return 0; } |
6734 EOF | 6773 EOF |
6735 if { (eval echo configure:6736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6736 rm -rf conftest* | 6775 rm -rf conftest* |
6737 eval "ac_cv_lib_$ac_lib_var=yes" | 6776 eval "ac_cv_lib_$ac_lib_var=yes" |
6738 else | 6777 else |
6739 echo "configure: failed program was:" >&5 | 6778 echo "configure: failed program was:" >&5 |
6740 cat conftest.$ac_ext >&5 | 6779 cat conftest.$ac_ext >&5 |
6757 libs_x="-lX11" | 6796 libs_x="-lX11" |
6758 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6797 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6759 | 6798 |
6760 | 6799 |
6761 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6800 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6762 echo "configure:6763: checking for XShapeSelectInput in -lXext" >&5 | 6801 echo "configure:6802: checking for XShapeSelectInput in -lXext" >&5 |
6763 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6802 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6764 | 6803 |
6765 xe_check_libs=" -lXext " | 6804 xe_check_libs=" -lXext " |
6766 cat > conftest.$ac_ext <<EOF | 6805 cat > conftest.$ac_ext <<EOF |
6767 #line 6768 "configure" | 6806 #line 6807 "configure" |
6768 #include "confdefs.h" | 6807 #include "confdefs.h" |
6769 /* Override any gcc2 internal prototype to avoid an error. */ | 6808 /* Override any gcc2 internal prototype to avoid an error. */ |
6770 /* We use char because int might match the return type of a gcc2 | 6809 /* We use char because int might match the return type of a gcc2 |
6771 builtin and then its argument prototype would still apply. */ | 6810 builtin and then its argument prototype would still apply. */ |
6772 char XShapeSelectInput(); | 6811 char XShapeSelectInput(); |
6773 | 6812 |
6774 int main() { | 6813 int main() { |
6775 XShapeSelectInput() | 6814 XShapeSelectInput() |
6776 ; return 0; } | 6815 ; return 0; } |
6777 EOF | 6816 EOF |
6778 if { (eval echo configure:6779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6779 rm -rf conftest* | 6818 rm -rf conftest* |
6780 eval "ac_cv_lib_$ac_lib_var=yes" | 6819 eval "ac_cv_lib_$ac_lib_var=yes" |
6781 else | 6820 else |
6782 echo "configure: failed program was:" >&5 | 6821 echo "configure: failed program was:" >&5 |
6783 cat conftest.$ac_ext >&5 | 6822 cat conftest.$ac_ext >&5 |
6796 | 6835 |
6797 | 6836 |
6798 | 6837 |
6799 | 6838 |
6800 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6839 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6801 echo "configure:6802: checking for XtOpenDisplay in -lXt" >&5 | 6840 echo "configure:6841: checking for XtOpenDisplay in -lXt" >&5 |
6802 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6841 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6803 | 6842 |
6804 xe_check_libs=" -lXt " | 6843 xe_check_libs=" -lXt " |
6805 cat > conftest.$ac_ext <<EOF | 6844 cat > conftest.$ac_ext <<EOF |
6806 #line 6807 "configure" | 6845 #line 6846 "configure" |
6807 #include "confdefs.h" | 6846 #include "confdefs.h" |
6808 /* Override any gcc2 internal prototype to avoid an error. */ | 6847 /* Override any gcc2 internal prototype to avoid an error. */ |
6809 /* We use char because int might match the return type of a gcc2 | 6848 /* We use char because int might match the return type of a gcc2 |
6810 builtin and then its argument prototype would still apply. */ | 6849 builtin and then its argument prototype would still apply. */ |
6811 char XtOpenDisplay(); | 6850 char XtOpenDisplay(); |
6812 | 6851 |
6813 int main() { | 6852 int main() { |
6814 XtOpenDisplay() | 6853 XtOpenDisplay() |
6815 ; return 0; } | 6854 ; return 0; } |
6816 EOF | 6855 EOF |
6817 if { (eval echo configure:6818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6856 if { (eval echo configure:6857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6818 rm -rf conftest* | 6857 rm -rf conftest* |
6819 eval "ac_cv_lib_$ac_lib_var=yes" | 6858 eval "ac_cv_lib_$ac_lib_var=yes" |
6820 else | 6859 else |
6821 echo "configure: failed program was:" >&5 | 6860 echo "configure: failed program was:" >&5 |
6822 cat conftest.$ac_ext >&5 | 6861 cat conftest.$ac_ext >&5 |
6835 fi | 6874 fi |
6836 | 6875 |
6837 | 6876 |
6838 | 6877 |
6839 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6878 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6840 echo "configure:6841: checking the version of X11 being used" >&5 | 6879 echo "configure:6880: checking the version of X11 being used" >&5 |
6841 cat > conftest.$ac_ext <<EOF | 6880 cat > conftest.$ac_ext <<EOF |
6842 #line 6843 "configure" | 6881 #line 6882 "configure" |
6843 #include "confdefs.h" | 6882 #include "confdefs.h" |
6844 #include <X11/Intrinsic.h> | 6883 #include <X11/Intrinsic.h> |
6845 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6884 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6846 EOF | 6885 EOF |
6847 if { (eval echo configure:6848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6886 if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6848 then | 6887 then |
6849 ./conftest foobar; x11_release=$? | 6888 ./conftest foobar; x11_release=$? |
6850 else | 6889 else |
6851 conftest_rc="$?" | 6890 conftest_rc="$?" |
6852 echo "configure: failed program was:" >&5 | 6891 echo "configure: failed program was:" >&5 |
6873 fi | 6912 fi |
6874 | 6913 |
6875 for ac_func in XConvertCase | 6914 for ac_func in XConvertCase |
6876 do | 6915 do |
6877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6878 echo "configure:6879: checking for $ac_func" >&5 | 6917 echo "configure:6918: checking for $ac_func" >&5 |
6879 | 6918 |
6880 cat > conftest.$ac_ext <<EOF | 6919 cat > conftest.$ac_ext <<EOF |
6881 #line 6882 "configure" | 6920 #line 6921 "configure" |
6882 #include "confdefs.h" | 6921 #include "confdefs.h" |
6883 /* System header to define __stub macros and hopefully few prototypes, | 6922 /* System header to define __stub macros and hopefully few prototypes, |
6884 which can conflict with char $ac_func(); below. */ | 6923 which can conflict with char $ac_func(); below. */ |
6885 #include <assert.h> | 6924 #include <assert.h> |
6886 /* Override any gcc2 internal prototype to avoid an error. */ | 6925 /* Override any gcc2 internal prototype to avoid an error. */ |
6899 $ac_func(); | 6938 $ac_func(); |
6900 #endif | 6939 #endif |
6901 | 6940 |
6902 ; return 0; } | 6941 ; return 0; } |
6903 EOF | 6942 EOF |
6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6943 if { (eval echo configure:6944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6905 rm -rf conftest* | 6944 rm -rf conftest* |
6906 eval "ac_cv_func_$ac_func=yes" | 6945 eval "ac_cv_func_$ac_func=yes" |
6907 else | 6946 else |
6908 echo "configure: failed program was:" >&5 | 6947 echo "configure: failed program was:" >&5 |
6909 cat conftest.$ac_ext >&5 | 6948 cat conftest.$ac_ext >&5 |
6931 | 6970 |
6932 for ac_hdr in X11/Xlocale.h | 6971 for ac_hdr in X11/Xlocale.h |
6933 do | 6972 do |
6934 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6973 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6935 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6974 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6936 echo "configure:6937: checking for $ac_hdr" >&5 | 6975 echo "configure:6976: checking for $ac_hdr" >&5 |
6937 | 6976 |
6938 cat > conftest.$ac_ext <<EOF | 6977 cat > conftest.$ac_ext <<EOF |
6939 #line 6940 "configure" | 6978 #line 6979 "configure" |
6940 #include "confdefs.h" | 6979 #include "confdefs.h" |
6941 #include <$ac_hdr> | 6980 #include <$ac_hdr> |
6942 EOF | 6981 EOF |
6943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6944 { (eval echo configure:6945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6983 { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6946 if test -z "$ac_err"; then | 6985 if test -z "$ac_err"; then |
6947 rm -rf conftest* | 6986 rm -rf conftest* |
6948 eval "ac_cv_header_$ac_safe=yes" | 6987 eval "ac_cv_header_$ac_safe=yes" |
6949 else | 6988 else |
6972 | 7011 |
6973 | 7012 |
6974 for ac_func in XRegisterIMInstantiateCallback | 7013 for ac_func in XRegisterIMInstantiateCallback |
6975 do | 7014 do |
6976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6977 echo "configure:6978: checking for $ac_func" >&5 | 7016 echo "configure:7017: checking for $ac_func" >&5 |
6978 | 7017 |
6979 cat > conftest.$ac_ext <<EOF | 7018 cat > conftest.$ac_ext <<EOF |
6980 #line 6981 "configure" | 7019 #line 7020 "configure" |
6981 #include "confdefs.h" | 7020 #include "confdefs.h" |
6982 /* System header to define __stub macros and hopefully few prototypes, | 7021 /* System header to define __stub macros and hopefully few prototypes, |
6983 which can conflict with char $ac_func(); below. */ | 7022 which can conflict with char $ac_func(); below. */ |
6984 #include <assert.h> | 7023 #include <assert.h> |
6985 /* Override any gcc2 internal prototype to avoid an error. */ | 7024 /* Override any gcc2 internal prototype to avoid an error. */ |
6998 $ac_func(); | 7037 $ac_func(); |
6999 #endif | 7038 #endif |
7000 | 7039 |
7001 ; return 0; } | 7040 ; return 0; } |
7002 EOF | 7041 EOF |
7003 if { (eval echo configure:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7042 if { (eval echo configure:7043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7004 rm -rf conftest* | 7043 rm -rf conftest* |
7005 eval "ac_cv_func_$ac_func=yes" | 7044 eval "ac_cv_func_$ac_func=yes" |
7006 else | 7045 else |
7007 echo "configure: failed program was:" >&5 | 7046 echo "configure: failed program was:" >&5 |
7008 cat conftest.$ac_ext >&5 | 7047 cat conftest.$ac_ext >&5 |
7026 echo "$ac_t""no" 1>&6 | 7065 echo "$ac_t""no" 1>&6 |
7027 fi | 7066 fi |
7028 done | 7067 done |
7029 | 7068 |
7030 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7069 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7031 echo "configure:7032: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7070 echo "configure:7071: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7032 cat > conftest.$ac_ext <<EOF | 7071 cat > conftest.$ac_ext <<EOF |
7033 #line 7034 "configure" | 7072 #line 7073 "configure" |
7034 #include "confdefs.h" | 7073 #include "confdefs.h" |
7035 | 7074 |
7036 #define NeedFunctionPrototypes 1 | 7075 #define NeedFunctionPrototypes 1 |
7037 #include <X11/Xlib.h> | 7076 #include <X11/Xlib.h> |
7038 extern Bool XRegisterIMInstantiateCallback( | 7077 extern Bool XRegisterIMInstantiateCallback( |
7040 | 7079 |
7041 int main() { | 7080 int main() { |
7042 | 7081 |
7043 ; return 0; } | 7082 ; return 0; } |
7044 EOF | 7083 EOF |
7045 if { (eval echo configure:7046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7084 if { (eval echo configure:7085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7046 rm -rf conftest* | 7085 rm -rf conftest* |
7047 echo "$ac_t""yes" 1>&6 | 7086 echo "$ac_t""yes" 1>&6 |
7048 else | 7087 else |
7049 echo "configure: failed program was:" >&5 | 7088 echo "configure: failed program was:" >&5 |
7050 cat conftest.$ac_ext >&5 | 7089 cat conftest.$ac_ext >&5 |
7061 fi | 7100 fi |
7062 rm -f conftest* | 7101 rm -f conftest* |
7063 | 7102 |
7064 test -z "$with_xmu" && { | 7103 test -z "$with_xmu" && { |
7065 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7104 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7066 echo "configure:7067: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7105 echo "configure:7106: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7067 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7106 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7068 | 7107 |
7069 xe_check_libs=" -lXmu " | 7108 xe_check_libs=" -lXmu " |
7070 cat > conftest.$ac_ext <<EOF | 7109 cat > conftest.$ac_ext <<EOF |
7071 #line 7072 "configure" | 7110 #line 7111 "configure" |
7072 #include "confdefs.h" | 7111 #include "confdefs.h" |
7073 /* Override any gcc2 internal prototype to avoid an error. */ | 7112 /* Override any gcc2 internal prototype to avoid an error. */ |
7074 /* We use char because int might match the return type of a gcc2 | 7113 /* We use char because int might match the return type of a gcc2 |
7075 builtin and then its argument prototype would still apply. */ | 7114 builtin and then its argument prototype would still apply. */ |
7076 char XmuReadBitmapDataFromFile(); | 7115 char XmuReadBitmapDataFromFile(); |
7077 | 7116 |
7078 int main() { | 7117 int main() { |
7079 XmuReadBitmapDataFromFile() | 7118 XmuReadBitmapDataFromFile() |
7080 ; return 0; } | 7119 ; return 0; } |
7081 EOF | 7120 EOF |
7082 if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7083 rm -rf conftest* | 7122 rm -rf conftest* |
7084 eval "ac_cv_lib_$ac_lib_var=yes" | 7123 eval "ac_cv_lib_$ac_lib_var=yes" |
7085 else | 7124 else |
7086 echo "configure: failed program was:" >&5 | 7125 echo "configure: failed program was:" >&5 |
7087 cat conftest.$ac_ext >&5 | 7126 cat conftest.$ac_ext >&5 |
7116 | 7155 |
7117 fi | 7156 fi |
7118 | 7157 |
7119 | 7158 |
7120 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7159 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7121 echo "configure:7122: checking for main in -lXbsd" >&5 | 7160 echo "configure:7161: checking for main in -lXbsd" >&5 |
7122 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7161 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7123 | 7162 |
7124 xe_check_libs=" -lXbsd " | 7163 xe_check_libs=" -lXbsd " |
7125 cat > conftest.$ac_ext <<EOF | 7164 cat > conftest.$ac_ext <<EOF |
7126 #line 7127 "configure" | 7165 #line 7166 "configure" |
7127 #include "confdefs.h" | 7166 #include "confdefs.h" |
7128 | 7167 |
7129 int main() { | 7168 int main() { |
7130 main() | 7169 main() |
7131 ; return 0; } | 7170 ; return 0; } |
7132 EOF | 7171 EOF |
7133 if { (eval echo configure:7134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7134 rm -rf conftest* | 7173 rm -rf conftest* |
7135 eval "ac_cv_lib_$ac_lib_var=yes" | 7174 eval "ac_cv_lib_$ac_lib_var=yes" |
7136 else | 7175 else |
7137 echo "configure: failed program was:" >&5 | 7176 echo "configure: failed program was:" >&5 |
7138 cat conftest.$ac_ext >&5 | 7177 cat conftest.$ac_ext >&5 |
7165 fi | 7204 fi |
7166 | 7205 |
7167 fi | 7206 fi |
7168 if test "$with_msw" != "no"; then | 7207 if test "$with_msw" != "no"; then |
7169 echo "checking for MS-Windows" 1>&6 | 7208 echo "checking for MS-Windows" 1>&6 |
7170 echo "configure:7171: checking for MS-Windows" >&5 | 7209 echo "configure:7210: checking for MS-Windows" >&5 |
7171 | 7210 |
7172 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7211 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7173 echo "configure:7174: checking for main in -lgdi32" >&5 | 7212 echo "configure:7213: checking for main in -lgdi32" >&5 |
7174 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7213 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7175 | 7214 |
7176 xe_check_libs=" -lgdi32 " | 7215 xe_check_libs=" -lgdi32 " |
7177 cat > conftest.$ac_ext <<EOF | 7216 cat > conftest.$ac_ext <<EOF |
7178 #line 7179 "configure" | 7217 #line 7218 "configure" |
7179 #include "confdefs.h" | 7218 #include "confdefs.h" |
7180 | 7219 |
7181 int main() { | 7220 int main() { |
7182 main() | 7221 main() |
7183 ; return 0; } | 7222 ; return 0; } |
7184 EOF | 7223 EOF |
7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7224 if { (eval echo configure:7225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7186 rm -rf conftest* | 7225 rm -rf conftest* |
7187 eval "ac_cv_lib_$ac_lib_var=yes" | 7226 eval "ac_cv_lib_$ac_lib_var=yes" |
7188 else | 7227 else |
7189 echo "configure: failed program was:" >&5 | 7228 echo "configure: failed program was:" >&5 |
7190 cat conftest.$ac_ext >&5 | 7229 cat conftest.$ac_ext >&5 |
7231 test "$with_toolbars" != "no" && with_toolbars=msw | 7270 test "$with_toolbars" != "no" && with_toolbars=msw |
7232 test "$with_dialogs" != "no" && with_dialogs=msw | 7271 test "$with_dialogs" != "no" && with_dialogs=msw |
7233 test "$with_widgets" != "no" && with_widgets=msw | 7272 test "$with_widgets" != "no" && with_widgets=msw |
7234 fi | 7273 fi |
7235 cat > conftest.$ac_ext <<EOF | 7274 cat > conftest.$ac_ext <<EOF |
7236 #line 7237 "configure" | 7275 #line 7276 "configure" |
7237 #include "confdefs.h" | 7276 #include "confdefs.h" |
7238 #include <fcntl.h> | 7277 #include <fcntl.h> |
7239 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7278 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7240 EOF | 7279 EOF |
7241 if { (eval echo configure:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7280 if { (eval echo configure:7281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7242 then | 7281 then |
7243 { test "$extra_verbose" = "yes" && cat << \EOF | 7282 { test "$extra_verbose" = "yes" && cat << \EOF |
7244 Defining HAVE_MSG_SELECT | 7283 Defining HAVE_MSG_SELECT |
7245 EOF | 7284 EOF |
7246 cat >> confdefs.h <<\EOF | 7285 cat >> confdefs.h <<\EOF |
7297 fi | 7336 fi |
7298 | 7337 |
7299 if test "$with_x11" = "yes"; then | 7338 if test "$with_x11" = "yes"; then |
7300 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7339 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7301 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7340 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7302 echo "configure:7303: checking for X11/extensions/shape.h" >&5 | 7341 echo "configure:7342: checking for X11/extensions/shape.h" >&5 |
7303 | 7342 |
7304 cat > conftest.$ac_ext <<EOF | 7343 cat > conftest.$ac_ext <<EOF |
7305 #line 7306 "configure" | 7344 #line 7345 "configure" |
7306 #include "confdefs.h" | 7345 #include "confdefs.h" |
7307 #include <X11/extensions/shape.h> | 7346 #include <X11/extensions/shape.h> |
7308 EOF | 7347 EOF |
7309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7310 { (eval echo configure:7311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7349 { (eval echo configure:7350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7312 if test -z "$ac_err"; then | 7351 if test -z "$ac_err"; then |
7313 rm -rf conftest* | 7352 rm -rf conftest* |
7314 eval "ac_cv_header_$ac_safe=yes" | 7353 eval "ac_cv_header_$ac_safe=yes" |
7315 else | 7354 else |
7355 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7394 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7356 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7395 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7357 esac | 7396 esac |
7358 | 7397 |
7359 echo "checking for WM_COMMAND option" 1>&6 | 7398 echo "checking for WM_COMMAND option" 1>&6 |
7360 echo "configure:7361: checking for WM_COMMAND option" >&5; | 7399 echo "configure:7400: checking for WM_COMMAND option" >&5; |
7361 if test "$with_wmcommand" != "no"; then | 7400 if test "$with_wmcommand" != "no"; then |
7362 { test "$extra_verbose" = "yes" && cat << \EOF | 7401 { test "$extra_verbose" = "yes" && cat << \EOF |
7363 Defining HAVE_WMCOMMAND | 7402 Defining HAVE_WMCOMMAND |
7364 EOF | 7403 EOF |
7365 cat >> confdefs.h <<\EOF | 7404 cat >> confdefs.h <<\EOF |
7370 fi | 7409 fi |
7371 | 7410 |
7372 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7411 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7373 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7412 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7374 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7413 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7375 echo "configure:7376: checking for X11/Xauth.h" >&5 | 7414 echo "configure:7415: checking for X11/Xauth.h" >&5 |
7376 | 7415 |
7377 cat > conftest.$ac_ext <<EOF | 7416 cat > conftest.$ac_ext <<EOF |
7378 #line 7379 "configure" | 7417 #line 7418 "configure" |
7379 #include "confdefs.h" | 7418 #include "confdefs.h" |
7380 #include <X11/Xauth.h> | 7419 #include <X11/Xauth.h> |
7381 EOF | 7420 EOF |
7382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7383 { (eval echo configure:7384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7422 { (eval echo configure:7423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7385 if test -z "$ac_err"; then | 7424 if test -z "$ac_err"; then |
7386 rm -rf conftest* | 7425 rm -rf conftest* |
7387 eval "ac_cv_header_$ac_safe=yes" | 7426 eval "ac_cv_header_$ac_safe=yes" |
7388 else | 7427 else |
7401 with_xauth=no | 7440 with_xauth=no |
7402 fi | 7441 fi |
7403 } | 7442 } |
7404 test -z "$with_xauth" && { | 7443 test -z "$with_xauth" && { |
7405 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7444 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7406 echo "configure:7407: checking for XauGetAuthByAddr in -lXau" >&5 | 7445 echo "configure:7446: checking for XauGetAuthByAddr in -lXau" >&5 |
7407 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7446 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7408 | 7447 |
7409 xe_check_libs=" -lXau " | 7448 xe_check_libs=" -lXau " |
7410 cat > conftest.$ac_ext <<EOF | 7449 cat > conftest.$ac_ext <<EOF |
7411 #line 7412 "configure" | 7450 #line 7451 "configure" |
7412 #include "confdefs.h" | 7451 #include "confdefs.h" |
7413 /* Override any gcc2 internal prototype to avoid an error. */ | 7452 /* Override any gcc2 internal prototype to avoid an error. */ |
7414 /* We use char because int might match the return type of a gcc2 | 7453 /* We use char because int might match the return type of a gcc2 |
7415 builtin and then its argument prototype would still apply. */ | 7454 builtin and then its argument prototype would still apply. */ |
7416 char XauGetAuthByAddr(); | 7455 char XauGetAuthByAddr(); |
7417 | 7456 |
7418 int main() { | 7457 int main() { |
7419 XauGetAuthByAddr() | 7458 XauGetAuthByAddr() |
7420 ; return 0; } | 7459 ; return 0; } |
7421 EOF | 7460 EOF |
7422 if { (eval echo configure:7423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7461 if { (eval echo configure:7462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7423 rm -rf conftest* | 7462 rm -rf conftest* |
7424 eval "ac_cv_lib_$ac_lib_var=yes" | 7463 eval "ac_cv_lib_$ac_lib_var=yes" |
7425 else | 7464 else |
7426 echo "configure: failed program was:" >&5 | 7465 echo "configure: failed program was:" >&5 |
7427 cat conftest.$ac_ext >&5 | 7466 cat conftest.$ac_ext >&5 |
7464 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7503 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7465 : ${XEMACS_CC:="$CC"} | 7504 : ${XEMACS_CC:="$CC"} |
7466 | 7505 |
7467 if test "$with_modules" != "no"; then | 7506 if test "$with_modules" != "no"; then |
7468 echo "checking for module support" 1>&6 | 7507 echo "checking for module support" 1>&6 |
7469 echo "configure:7470: checking for module support" >&5 | 7508 echo "configure:7509: checking for module support" >&5 |
7470 | 7509 |
7471 if test "$with_msw" = "yes"; then | 7510 if test "$with_msw" = "yes"; then |
7472 have_dl=yes; | 7511 have_dl=yes; |
7473 else | 7512 else |
7474 case "$opsys" in | 7513 case "$opsys" in |
7481 } | 7520 } |
7482 ;; | 7521 ;; |
7483 * ) | 7522 * ) |
7484 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7523 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7485 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7524 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7486 echo "configure:7487: checking for dlfcn.h" >&5 | 7525 echo "configure:7526: checking for dlfcn.h" >&5 |
7487 | 7526 |
7488 cat > conftest.$ac_ext <<EOF | 7527 cat > conftest.$ac_ext <<EOF |
7489 #line 7490 "configure" | 7528 #line 7529 "configure" |
7490 #include "confdefs.h" | 7529 #include "confdefs.h" |
7491 #include <dlfcn.h> | 7530 #include <dlfcn.h> |
7492 EOF | 7531 EOF |
7493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7494 { (eval echo configure:7495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7533 { (eval echo configure:7534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7495 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7496 if test -z "$ac_err"; then | 7535 if test -z "$ac_err"; then |
7497 rm -rf conftest* | 7536 rm -rf conftest* |
7498 eval "ac_cv_header_$ac_safe=yes" | 7537 eval "ac_cv_header_$ac_safe=yes" |
7499 else | 7538 else |
7506 rm -f conftest* | 7545 rm -f conftest* |
7507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7508 echo "$ac_t""yes" 1>&6 | 7547 echo "$ac_t""yes" 1>&6 |
7509 | 7548 |
7510 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7549 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7511 echo "configure:7512: checking for dlopen in -lc" >&5 | 7550 echo "configure:7551: checking for dlopen in -lc" >&5 |
7512 cat > conftest.$ac_ext <<EOF | 7551 cat > conftest.$ac_ext <<EOF |
7513 #line 7514 "configure" | 7552 #line 7553 "configure" |
7514 #include "confdefs.h" | 7553 #include "confdefs.h" |
7515 #include <dlfcn.h> | 7554 #include <dlfcn.h> |
7516 int main() { | 7555 int main() { |
7517 dlopen ("", 0); | 7556 dlopen ("", 0); |
7518 ; return 0; } | 7557 ; return 0; } |
7519 EOF | 7558 EOF |
7520 if { (eval echo configure:7521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7559 if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7521 rm -rf conftest* | 7560 rm -rf conftest* |
7522 have_dl=yes | 7561 have_dl=yes |
7523 else | 7562 else |
7524 echo "configure: failed program was:" >&5 | 7563 echo "configure: failed program was:" >&5 |
7525 cat conftest.$ac_ext >&5 | 7564 cat conftest.$ac_ext >&5 |
7526 rm -rf conftest* | 7565 rm -rf conftest* |
7527 | 7566 |
7528 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7567 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7529 echo "configure:7530: checking for dlopen in -ldl" >&5 | 7568 echo "configure:7569: checking for dlopen in -ldl" >&5 |
7530 ac_save_LIBS="$LIBS" | 7569 ac_save_LIBS="$LIBS" |
7531 LIBS="-ldl $LIBS" | 7570 LIBS="-ldl $LIBS" |
7532 cat > conftest.$ac_ext <<EOF | 7571 cat > conftest.$ac_ext <<EOF |
7533 #line 7534 "configure" | 7572 #line 7573 "configure" |
7534 #include "confdefs.h" | 7573 #include "confdefs.h" |
7535 #include <dlfcn.h> | 7574 #include <dlfcn.h> |
7536 int main() { | 7575 int main() { |
7537 dlopen ("", 0); | 7576 dlopen ("", 0); |
7538 ; return 0; } | 7577 ; return 0; } |
7539 EOF | 7578 EOF |
7540 if { (eval echo configure:7541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7541 rm -rf conftest* | 7580 rm -rf conftest* |
7542 have_dl=yes | 7581 have_dl=yes |
7543 else | 7582 else |
7544 echo "configure: failed program was:" >&5 | 7583 echo "configure: failed program was:" >&5 |
7545 cat conftest.$ac_ext >&5 | 7584 cat conftest.$ac_ext >&5 |
7564 } | 7603 } |
7565 | 7604 |
7566 else | 7605 else |
7567 | 7606 |
7568 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7607 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7569 echo "configure:7570: checking for shl_load in -ldld" >&5 | 7608 echo "configure:7609: checking for shl_load in -ldld" >&5 |
7570 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7609 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7571 | 7610 |
7572 xe_check_libs=" -ldld " | 7611 xe_check_libs=" -ldld " |
7573 cat > conftest.$ac_ext <<EOF | 7612 cat > conftest.$ac_ext <<EOF |
7574 #line 7575 "configure" | 7613 #line 7614 "configure" |
7575 #include "confdefs.h" | 7614 #include "confdefs.h" |
7576 /* Override any gcc2 internal prototype to avoid an error. */ | 7615 /* Override any gcc2 internal prototype to avoid an error. */ |
7577 /* We use char because int might match the return type of a gcc2 | 7616 /* We use char because int might match the return type of a gcc2 |
7578 builtin and then its argument prototype would still apply. */ | 7617 builtin and then its argument prototype would still apply. */ |
7579 char shl_load(); | 7618 char shl_load(); |
7580 | 7619 |
7581 int main() { | 7620 int main() { |
7582 shl_load() | 7621 shl_load() |
7583 ; return 0; } | 7622 ; return 0; } |
7584 EOF | 7623 EOF |
7585 if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7624 if { (eval echo configure:7625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7586 rm -rf conftest* | 7625 rm -rf conftest* |
7587 eval "ac_cv_lib_$ac_lib_var=yes" | 7626 eval "ac_cv_lib_$ac_lib_var=yes" |
7588 else | 7627 else |
7589 echo "configure: failed program was:" >&5 | 7628 echo "configure: failed program was:" >&5 |
7590 cat conftest.$ac_ext >&5 | 7629 cat conftest.$ac_ext >&5 |
7607 | 7646 |
7608 else | 7647 else |
7609 echo "$ac_t""no" 1>&6 | 7648 echo "$ac_t""no" 1>&6 |
7610 | 7649 |
7611 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7650 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7612 echo "configure:7613: checking for dld_init in -ldld" >&5 | 7651 echo "configure:7652: checking for dld_init in -ldld" >&5 |
7613 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7652 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7614 | 7653 |
7615 xe_check_libs=" -ldld " | 7654 xe_check_libs=" -ldld " |
7616 cat > conftest.$ac_ext <<EOF | 7655 cat > conftest.$ac_ext <<EOF |
7617 #line 7618 "configure" | 7656 #line 7657 "configure" |
7618 #include "confdefs.h" | 7657 #include "confdefs.h" |
7619 /* Override any gcc2 internal prototype to avoid an error. */ | 7658 /* Override any gcc2 internal prototype to avoid an error. */ |
7620 /* We use char because int might match the return type of a gcc2 | 7659 /* We use char because int might match the return type of a gcc2 |
7621 builtin and then its argument prototype would still apply. */ | 7660 builtin and then its argument prototype would still apply. */ |
7622 char dld_init(); | 7661 char dld_init(); |
7623 | 7662 |
7624 int main() { | 7663 int main() { |
7625 dld_init() | 7664 dld_init() |
7626 ; return 0; } | 7665 ; return 0; } |
7627 EOF | 7666 EOF |
7628 if { (eval echo configure:7629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7667 if { (eval echo configure:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7629 rm -rf conftest* | 7668 rm -rf conftest* |
7630 eval "ac_cv_lib_$ac_lib_var=yes" | 7669 eval "ac_cv_lib_$ac_lib_var=yes" |
7631 else | 7670 else |
7632 echo "configure: failed program was:" >&5 | 7671 echo "configure: failed program was:" >&5 |
7633 cat conftest.$ac_ext >&5 | 7672 cat conftest.$ac_ext >&5 |
7668 ld_dynamic_link_flags= | 7707 ld_dynamic_link_flags= |
7669 xehost=$canonical | 7708 xehost=$canonical |
7670 xealias=$internal_configuration | 7709 xealias=$internal_configuration |
7671 | 7710 |
7672 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7711 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7673 echo "configure:7674: checking how to build dynamic libraries for ${xehost}" >&5 | 7712 echo "configure:7713: checking how to build dynamic libraries for ${xehost}" >&5 |
7674 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7713 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7675 case "$xehost" in | 7714 case "$xehost" in |
7676 *-*-linux-gnu*) ;; | 7715 *-*-linux-gnu*) ;; |
7677 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7716 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7678 esac | 7717 esac |
7696 # Now see if the compiler is really GCC. | 7735 # Now see if the compiler is really GCC. |
7697 if test "$GCC" = "yes"; then | 7736 if test "$GCC" = "yes"; then |
7698 XEGCC=yes | 7737 XEGCC=yes |
7699 else | 7738 else |
7700 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7739 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7701 echo "configure:7702: checking checking whether we are using GNU C" >&5 | 7740 echo "configure:7741: checking checking whether we are using GNU C" >&5 |
7702 cat > conftest.$ac_ext <<EOF | 7741 cat > conftest.$ac_ext <<EOF |
7703 #line 7704 "configure" | 7742 #line 7743 "configure" |
7704 #include "confdefs.h" | 7743 #include "confdefs.h" |
7705 | 7744 |
7706 #ifdef __GNUC__ | 7745 #ifdef __GNUC__ |
7707 yes; | 7746 yes; |
7708 #endif | 7747 #endif |
7720 | 7759 |
7721 echo "$ac_t""${XEGCC}" 1>&6 | 7760 echo "$ac_t""${XEGCC}" 1>&6 |
7722 fi | 7761 fi |
7723 | 7762 |
7724 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7763 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7725 echo "configure:7726: checking how to produce PIC code" >&5 | 7764 echo "configure:7765: checking how to produce PIC code" >&5 |
7726 wl= | 7765 wl= |
7727 | 7766 |
7728 can_build_shared=yes | 7767 can_build_shared=yes |
7729 cygwin_warn= | 7768 cygwin_warn= |
7730 if test "$XEGCC" = yes; then | 7769 if test "$XEGCC" = yes; then |
7826 if test -n "$dll_cflags"; then | 7865 if test -n "$dll_cflags"; then |
7827 echo "$ac_t""${dll_cflags}" 1>&6 | 7866 echo "$ac_t""${dll_cflags}" 1>&6 |
7828 | 7867 |
7829 # Check to make sure the dll_cflags actually works. | 7868 # Check to make sure the dll_cflags actually works. |
7830 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7869 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7831 echo "configure:7832: checking if PIC flag ${dll_cflags} really works" >&5 | 7870 echo "configure:7871: checking if PIC flag ${dll_cflags} really works" >&5 |
7832 save_CFLAGS="$CFLAGS" | 7871 save_CFLAGS="$CFLAGS" |
7833 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7872 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7834 cat > conftest.$ac_ext <<EOF | 7873 cat > conftest.$ac_ext <<EOF |
7835 #line 7836 "configure" | 7874 #line 7875 "configure" |
7836 #include "confdefs.h" | 7875 #include "confdefs.h" |
7837 | 7876 |
7838 int main() { | 7877 int main() { |
7839 int x=0; | 7878 int x=0; |
7840 ; return 0; } | 7879 ; return 0; } |
7841 EOF | 7880 EOF |
7842 if { (eval echo configure:7843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7881 if { (eval echo configure:7882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7843 rm -rf conftest* | 7882 rm -rf conftest* |
7844 | 7883 |
7845 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7884 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7846 # reports no error. So, we need to grep stderr for (Bundled). | 7885 # reports no error. So, we need to grep stderr for (Bundled). |
7847 if grep '(Bundled)' config.log >/dev/null; then | 7886 if grep '(Bundled)' config.log >/dev/null; then |
7872 if test "$can_build_shared" = "yes"; then | 7911 if test "$can_build_shared" = "yes"; then |
7873 cc_produces_so=no | 7912 cc_produces_so=no |
7874 xldf= | 7913 xldf= |
7875 xcldf= | 7914 xcldf= |
7876 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7915 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7877 echo "configure:7878: checking if C compiler can produce shared libraries" >&5 | 7916 echo "configure:7917: checking if C compiler can produce shared libraries" >&5 |
7878 if test "$XEGCC" = yes; then | 7917 if test "$XEGCC" = yes; then |
7879 xcldf="-shared" | 7918 xcldf="-shared" |
7880 xldf="-shared" | 7919 xldf="-shared" |
7881 else # Not using GCC | 7920 else # Not using GCC |
7882 case "$xehost_os" in | 7921 case "$xehost_os" in |
7923 LDFLAGS="$xcldf $LDFLAGS" | 7962 LDFLAGS="$xcldf $LDFLAGS" |
7924 LIBS= | 7963 LIBS= |
7925 xe_libs= | 7964 xe_libs= |
7926 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7965 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7927 cat > conftest.$ac_ext <<EOF | 7966 cat > conftest.$ac_ext <<EOF |
7928 #line 7929 "configure" | 7967 #line 7968 "configure" |
7929 #include "confdefs.h" | 7968 #include "confdefs.h" |
7930 | 7969 |
7931 int main() { | 7970 int main() { |
7932 int x=0; | 7971 int x=0; |
7933 ; return 0; } | 7972 ; return 0; } |
7934 EOF | 7973 EOF |
7935 if { (eval echo configure:7936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7974 if { (eval echo configure:7975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7936 rm -rf conftest* | 7975 rm -rf conftest* |
7937 cc_produces_so=yes | 7976 cc_produces_so=yes |
7938 else | 7977 else |
7939 echo "configure: failed program was:" >&5 | 7978 echo "configure: failed program was:" >&5 |
7940 cat conftest.$ac_ext >&5 | 7979 cat conftest.$ac_ext >&5 |
7955 if test -z "$LTLD"; then | 7994 if test -z "$LTLD"; then |
7956 ac_prog=ld | 7995 ac_prog=ld |
7957 if test "$XEGCC" = yes; then | 7996 if test "$XEGCC" = yes; then |
7958 # Check if gcc -print-prog-name=ld gives a path. | 7997 # Check if gcc -print-prog-name=ld gives a path. |
7959 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7998 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7960 echo "configure:7961: checking for ld used by GCC" >&5 | 7999 echo "configure:8000: checking for ld used by GCC" >&5 |
7961 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8000 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
7962 case "$ac_prog" in | 8001 case "$ac_prog" in |
7963 # Accept absolute paths. | 8002 # Accept absolute paths. |
7964 /*) | 8003 /*) |
7965 if test -z "$LTLD"; then | 8004 if test -z "$LTLD"; then |
7981 with_gnu_ld=unknown | 8020 with_gnu_ld=unknown |
7982 ;; | 8021 ;; |
7983 esac | 8022 esac |
7984 else | 8023 else |
7985 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8024 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
7986 echo "configure:7987: checking for GNU ld" >&5 | 8025 echo "configure:8026: checking for GNU ld" >&5 |
7987 fi | 8026 fi |
7988 | 8027 |
7989 if test -z "$LTLD"; then | 8028 if test -z "$LTLD"; then |
7990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8029 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
7991 for ac_dir in $PATH; do | 8030 for ac_dir in $PATH; do |
8019 | 8058 |
8020 ld_dynamic_link_flags= | 8059 ld_dynamic_link_flags= |
8021 | 8060 |
8022 # Check to see if it really is or isn't GNU ld. | 8061 # Check to see if it really is or isn't GNU ld. |
8023 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8062 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8024 echo "configure:8025: checking if the linker is GNU ld" >&5 | 8063 echo "configure:8064: checking if the linker is GNU ld" >&5 |
8025 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8064 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8026 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8065 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8027 xe_gnu_ld=yes | 8066 xe_gnu_ld=yes |
8028 else | 8067 else |
8029 xe_gnu_ld=no | 8068 xe_gnu_ld=no |
8047 ld_shlibs=yes | 8086 ld_shlibs=yes |
8048 else | 8087 else |
8049 # OK - only NOW do we futz about with ld. | 8088 # OK - only NOW do we futz about with ld. |
8050 # See if the linker supports building shared libraries. | 8089 # See if the linker supports building shared libraries. |
8051 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8090 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8052 echo "configure:8053: checking whether the linker supports shared libraries" >&5 | 8091 echo "configure:8092: checking whether the linker supports shared libraries" >&5 |
8053 dll_ld=$CC | 8092 dll_ld=$CC |
8054 dll_ldflags=$LDFLAGS | 8093 dll_ldflags=$LDFLAGS |
8055 ld_shlibs=yes | 8094 ld_shlibs=yes |
8056 can_build_shared=yes | 8095 can_build_shared=yes |
8057 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8096 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8255 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8294 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8256 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8295 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8257 for ac_func in dlerror _dlerror | 8296 for ac_func in dlerror _dlerror |
8258 do | 8297 do |
8259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8260 echo "configure:8261: checking for $ac_func" >&5 | 8299 echo "configure:8300: checking for $ac_func" >&5 |
8261 | 8300 |
8262 cat > conftest.$ac_ext <<EOF | 8301 cat > conftest.$ac_ext <<EOF |
8263 #line 8264 "configure" | 8302 #line 8303 "configure" |
8264 #include "confdefs.h" | 8303 #include "confdefs.h" |
8265 /* System header to define __stub macros and hopefully few prototypes, | 8304 /* System header to define __stub macros and hopefully few prototypes, |
8266 which can conflict with char $ac_func(); below. */ | 8305 which can conflict with char $ac_func(); below. */ |
8267 #include <assert.h> | 8306 #include <assert.h> |
8268 /* Override any gcc2 internal prototype to avoid an error. */ | 8307 /* Override any gcc2 internal prototype to avoid an error. */ |
8281 $ac_func(); | 8320 $ac_func(); |
8282 #endif | 8321 #endif |
8283 | 8322 |
8284 ; return 0; } | 8323 ; return 0; } |
8285 EOF | 8324 EOF |
8286 if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8325 if { (eval echo configure:8326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8287 rm -rf conftest* | 8326 rm -rf conftest* |
8288 eval "ac_cv_func_$ac_func=yes" | 8327 eval "ac_cv_func_$ac_func=yes" |
8289 else | 8328 else |
8290 echo "configure: failed program was:" >&5 | 8329 echo "configure: failed program was:" >&5 |
8291 cat conftest.$ac_ext >&5 | 8330 cat conftest.$ac_ext >&5 |
8343 | 8382 |
8344 if test "$with_tooltalk" != "no" ; then | 8383 if test "$with_tooltalk" != "no" ; then |
8345 for dir in "" "Tt/" "desktop/" ; do | 8384 for dir in "" "Tt/" "desktop/" ; do |
8346 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8385 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8347 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8386 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8348 echo "configure:8349: checking for ${dir}tt_c.h" >&5 | 8387 echo "configure:8388: checking for ${dir}tt_c.h" >&5 |
8349 | 8388 |
8350 cat > conftest.$ac_ext <<EOF | 8389 cat > conftest.$ac_ext <<EOF |
8351 #line 8352 "configure" | 8390 #line 8391 "configure" |
8352 #include "confdefs.h" | 8391 #include "confdefs.h" |
8353 #include <${dir}tt_c.h> | 8392 #include <${dir}tt_c.h> |
8354 EOF | 8393 EOF |
8355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8356 { (eval echo configure:8357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8395 { (eval echo configure:8396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8358 if test -z "$ac_err"; then | 8397 if test -z "$ac_err"; then |
8359 rm -rf conftest* | 8398 rm -rf conftest* |
8360 eval "ac_cv_header_$ac_safe=yes" | 8399 eval "ac_cv_header_$ac_safe=yes" |
8361 else | 8400 else |
8387 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8426 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8388 | 8427 |
8389 xe_msg_checking="for tt_message_create in -ltt" | 8428 xe_msg_checking="for tt_message_create in -ltt" |
8390 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8429 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8391 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8430 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8392 echo "configure:8393: checking "$xe_msg_checking"" >&5 | 8431 echo "configure:8432: checking "$xe_msg_checking"" >&5 |
8393 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8432 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8394 | 8433 |
8395 xe_check_libs=" -ltt $extra_libs" | 8434 xe_check_libs=" -ltt $extra_libs" |
8396 cat > conftest.$ac_ext <<EOF | 8435 cat > conftest.$ac_ext <<EOF |
8397 #line 8398 "configure" | 8436 #line 8437 "configure" |
8398 #include "confdefs.h" | 8437 #include "confdefs.h" |
8399 /* Override any gcc2 internal prototype to avoid an error. */ | 8438 /* Override any gcc2 internal prototype to avoid an error. */ |
8400 /* We use char because int might match the return type of a gcc2 | 8439 /* We use char because int might match the return type of a gcc2 |
8401 builtin and then its argument prototype would still apply. */ | 8440 builtin and then its argument prototype would still apply. */ |
8402 char tt_message_create(); | 8441 char tt_message_create(); |
8403 | 8442 |
8404 int main() { | 8443 int main() { |
8405 tt_message_create() | 8444 tt_message_create() |
8406 ; return 0; } | 8445 ; return 0; } |
8407 EOF | 8446 EOF |
8408 if { (eval echo configure:8409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8447 if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8409 rm -rf conftest* | 8448 rm -rf conftest* |
8410 eval "ac_cv_lib_$ac_lib_var=yes" | 8449 eval "ac_cv_lib_$ac_lib_var=yes" |
8411 else | 8450 else |
8412 echo "configure: failed program was:" >&5 | 8451 echo "configure: failed program was:" >&5 |
8413 cat conftest.$ac_ext >&5 | 8452 cat conftest.$ac_ext >&5 |
8457 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8496 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8458 fi | 8497 fi |
8459 | 8498 |
8460 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8499 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8461 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8500 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8462 echo "configure:8463: checking for Dt/Dt.h" >&5 | 8501 echo "configure:8502: checking for Dt/Dt.h" >&5 |
8463 | 8502 |
8464 cat > conftest.$ac_ext <<EOF | 8503 cat > conftest.$ac_ext <<EOF |
8465 #line 8466 "configure" | 8504 #line 8505 "configure" |
8466 #include "confdefs.h" | 8505 #include "confdefs.h" |
8467 #include <Dt/Dt.h> | 8506 #include <Dt/Dt.h> |
8468 EOF | 8507 EOF |
8469 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8470 { (eval echo configure:8471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8509 { (eval echo configure:8510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8471 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8472 if test -z "$ac_err"; then | 8511 if test -z "$ac_err"; then |
8473 rm -rf conftest* | 8512 rm -rf conftest* |
8474 eval "ac_cv_header_$ac_safe=yes" | 8513 eval "ac_cv_header_$ac_safe=yes" |
8475 else | 8514 else |
8488 with_cde=no | 8527 with_cde=no |
8489 fi | 8528 fi |
8490 } | 8529 } |
8491 test -z "$with_cde" && { | 8530 test -z "$with_cde" && { |
8492 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8531 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8493 echo "configure:8494: checking for DtDndDragStart in -lDtSvc" >&5 | 8532 echo "configure:8533: checking for DtDndDragStart in -lDtSvc" >&5 |
8494 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8533 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8495 | 8534 |
8496 xe_check_libs=" -lDtSvc " | 8535 xe_check_libs=" -lDtSvc " |
8497 cat > conftest.$ac_ext <<EOF | 8536 cat > conftest.$ac_ext <<EOF |
8498 #line 8499 "configure" | 8537 #line 8538 "configure" |
8499 #include "confdefs.h" | 8538 #include "confdefs.h" |
8500 /* Override any gcc2 internal prototype to avoid an error. */ | 8539 /* Override any gcc2 internal prototype to avoid an error. */ |
8501 /* We use char because int might match the return type of a gcc2 | 8540 /* We use char because int might match the return type of a gcc2 |
8502 builtin and then its argument prototype would still apply. */ | 8541 builtin and then its argument prototype would still apply. */ |
8503 char DtDndDragStart(); | 8542 char DtDndDragStart(); |
8504 | 8543 |
8505 int main() { | 8544 int main() { |
8506 DtDndDragStart() | 8545 DtDndDragStart() |
8507 ; return 0; } | 8546 ; return 0; } |
8508 EOF | 8547 EOF |
8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8548 if { (eval echo configure:8549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8510 rm -rf conftest* | 8549 rm -rf conftest* |
8511 eval "ac_cv_lib_$ac_lib_var=yes" | 8550 eval "ac_cv_lib_$ac_lib_var=yes" |
8512 else | 8551 else |
8513 echo "configure: failed program was:" >&5 | 8552 echo "configure: failed program was:" >&5 |
8514 cat conftest.$ac_ext >&5 | 8553 cat conftest.$ac_ext >&5 |
8585 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8624 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8586 fi | 8625 fi |
8587 | 8626 |
8588 if test "$with_dragndrop" != "no" ; then | 8627 if test "$with_dragndrop" != "no" ; then |
8589 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8628 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8590 echo "configure:8591: checking if drag and drop API is needed" >&5 | 8629 echo "configure:8630: checking if drag and drop API is needed" >&5 |
8591 if test -n "$dragndrop_proto" ; then | 8630 if test -n "$dragndrop_proto" ; then |
8592 with_dragndrop=yes | 8631 with_dragndrop=yes |
8593 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8632 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8594 { test "$extra_verbose" = "yes" && cat << \EOF | 8633 { test "$extra_verbose" = "yes" && cat << \EOF |
8595 Defining HAVE_DRAGNDROP | 8634 Defining HAVE_DRAGNDROP |
8605 echo "$ac_t""no" 1>&6 | 8644 echo "$ac_t""no" 1>&6 |
8606 fi | 8645 fi |
8607 fi | 8646 fi |
8608 | 8647 |
8609 echo "checking for LDAP" 1>&6 | 8648 echo "checking for LDAP" 1>&6 |
8610 echo "configure:8611: checking for LDAP" >&5 | 8649 echo "configure:8650: checking for LDAP" >&5 |
8611 ldap_libs= | 8650 ldap_libs= |
8612 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8651 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8613 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8652 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8614 echo "configure:8615: checking for ldap.h" >&5 | 8653 echo "configure:8654: checking for ldap.h" >&5 |
8615 | 8654 |
8616 cat > conftest.$ac_ext <<EOF | 8655 cat > conftest.$ac_ext <<EOF |
8617 #line 8618 "configure" | 8656 #line 8657 "configure" |
8618 #include "confdefs.h" | 8657 #include "confdefs.h" |
8619 #include <ldap.h> | 8658 #include <ldap.h> |
8620 EOF | 8659 EOF |
8621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8622 { (eval echo configure:8623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8661 { (eval echo configure:8662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8624 if test -z "$ac_err"; then | 8663 if test -z "$ac_err"; then |
8625 rm -rf conftest* | 8664 rm -rf conftest* |
8626 eval "ac_cv_header_$ac_safe=yes" | 8665 eval "ac_cv_header_$ac_safe=yes" |
8627 else | 8666 else |
8640 with_ldap=no | 8679 with_ldap=no |
8641 fi | 8680 fi |
8642 } | 8681 } |
8643 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8682 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8644 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8683 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8645 echo "configure:8646: checking for lber.h" >&5 | 8684 echo "configure:8685: checking for lber.h" >&5 |
8646 | 8685 |
8647 cat > conftest.$ac_ext <<EOF | 8686 cat > conftest.$ac_ext <<EOF |
8648 #line 8649 "configure" | 8687 #line 8688 "configure" |
8649 #include "confdefs.h" | 8688 #include "confdefs.h" |
8650 #include <lber.h> | 8689 #include <lber.h> |
8651 EOF | 8690 EOF |
8652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8653 { (eval echo configure:8654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8692 { (eval echo configure:8693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8655 if test -z "$ac_err"; then | 8694 if test -z "$ac_err"; then |
8656 rm -rf conftest* | 8695 rm -rf conftest* |
8657 eval "ac_cv_header_$ac_safe=yes" | 8696 eval "ac_cv_header_$ac_safe=yes" |
8658 else | 8697 else |
8672 fi | 8711 fi |
8673 } | 8712 } |
8674 if test "$with_ldap" != "no"; then | 8713 if test "$with_ldap" != "no"; then |
8675 | 8714 |
8676 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8715 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8677 echo "configure:8678: checking for ldap_search in -lldap" >&5 | 8716 echo "configure:8717: checking for ldap_search in -lldap" >&5 |
8678 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8717 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8679 | 8718 |
8680 xe_check_libs=" -lldap " | 8719 xe_check_libs=" -lldap " |
8681 cat > conftest.$ac_ext <<EOF | 8720 cat > conftest.$ac_ext <<EOF |
8682 #line 8683 "configure" | 8721 #line 8722 "configure" |
8683 #include "confdefs.h" | 8722 #include "confdefs.h" |
8684 /* Override any gcc2 internal prototype to avoid an error. */ | 8723 /* Override any gcc2 internal prototype to avoid an error. */ |
8685 /* We use char because int might match the return type of a gcc2 | 8724 /* We use char because int might match the return type of a gcc2 |
8686 builtin and then its argument prototype would still apply. */ | 8725 builtin and then its argument prototype would still apply. */ |
8687 char ldap_search(); | 8726 char ldap_search(); |
8688 | 8727 |
8689 int main() { | 8728 int main() { |
8690 ldap_search() | 8729 ldap_search() |
8691 ; return 0; } | 8730 ; return 0; } |
8692 EOF | 8731 EOF |
8693 if { (eval echo configure:8694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8732 if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8694 rm -rf conftest* | 8733 rm -rf conftest* |
8695 eval "ac_cv_lib_$ac_lib_var=yes" | 8734 eval "ac_cv_lib_$ac_lib_var=yes" |
8696 else | 8735 else |
8697 echo "configure: failed program was:" >&5 | 8736 echo "configure: failed program was:" >&5 |
8698 cat conftest.$ac_ext >&5 | 8737 cat conftest.$ac_ext >&5 |
8713 | 8752 |
8714 test "$with_ldap_nolber" = "no" && { | 8753 test "$with_ldap_nolber" = "no" && { |
8715 xe_msg_checking="for ldap_open in -lldap" | 8754 xe_msg_checking="for ldap_open in -lldap" |
8716 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8755 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8717 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8756 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8718 echo "configure:8719: checking "$xe_msg_checking"" >&5 | 8757 echo "configure:8758: checking "$xe_msg_checking"" >&5 |
8719 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8758 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8720 | 8759 |
8721 xe_check_libs=" -lldap -llber" | 8760 xe_check_libs=" -lldap -llber" |
8722 cat > conftest.$ac_ext <<EOF | 8761 cat > conftest.$ac_ext <<EOF |
8723 #line 8724 "configure" | 8762 #line 8763 "configure" |
8724 #include "confdefs.h" | 8763 #include "confdefs.h" |
8725 /* Override any gcc2 internal prototype to avoid an error. */ | 8764 /* Override any gcc2 internal prototype to avoid an error. */ |
8726 /* We use char because int might match the return type of a gcc2 | 8765 /* We use char because int might match the return type of a gcc2 |
8727 builtin and then its argument prototype would still apply. */ | 8766 builtin and then its argument prototype would still apply. */ |
8728 char ldap_open(); | 8767 char ldap_open(); |
8729 | 8768 |
8730 int main() { | 8769 int main() { |
8731 ldap_open() | 8770 ldap_open() |
8732 ; return 0; } | 8771 ; return 0; } |
8733 EOF | 8772 EOF |
8734 if { (eval echo configure:8735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8735 rm -rf conftest* | 8774 rm -rf conftest* |
8736 eval "ac_cv_lib_$ac_lib_var=yes" | 8775 eval "ac_cv_lib_$ac_lib_var=yes" |
8737 else | 8776 else |
8738 echo "configure: failed program was:" >&5 | 8777 echo "configure: failed program was:" >&5 |
8739 cat conftest.$ac_ext >&5 | 8778 cat conftest.$ac_ext >&5 |
8754 } | 8793 } |
8755 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8794 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8756 xe_msg_checking="for ldap_open in -lldap" | 8795 xe_msg_checking="for ldap_open in -lldap" |
8757 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8796 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8797 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8759 echo "configure:8760: checking "$xe_msg_checking"" >&5 | 8798 echo "configure:8799: checking "$xe_msg_checking"" >&5 |
8760 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8799 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8761 | 8800 |
8762 xe_check_libs=" -lldap -llber -lkrb" | 8801 xe_check_libs=" -lldap -llber -lkrb" |
8763 cat > conftest.$ac_ext <<EOF | 8802 cat > conftest.$ac_ext <<EOF |
8764 #line 8765 "configure" | 8803 #line 8804 "configure" |
8765 #include "confdefs.h" | 8804 #include "confdefs.h" |
8766 /* Override any gcc2 internal prototype to avoid an error. */ | 8805 /* Override any gcc2 internal prototype to avoid an error. */ |
8767 /* We use char because int might match the return type of a gcc2 | 8806 /* We use char because int might match the return type of a gcc2 |
8768 builtin and then its argument prototype would still apply. */ | 8807 builtin and then its argument prototype would still apply. */ |
8769 char ldap_open(); | 8808 char ldap_open(); |
8770 | 8809 |
8771 int main() { | 8810 int main() { |
8772 ldap_open() | 8811 ldap_open() |
8773 ; return 0; } | 8812 ; return 0; } |
8774 EOF | 8813 EOF |
8775 if { (eval echo configure:8776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8814 if { (eval echo configure:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8776 rm -rf conftest* | 8815 rm -rf conftest* |
8777 eval "ac_cv_lib_$ac_lib_var=yes" | 8816 eval "ac_cv_lib_$ac_lib_var=yes" |
8778 else | 8817 else |
8779 echo "configure: failed program was:" >&5 | 8818 echo "configure: failed program was:" >&5 |
8780 cat conftest.$ac_ext >&5 | 8819 cat conftest.$ac_ext >&5 |
8795 } | 8834 } |
8796 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8835 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8797 xe_msg_checking="for ldap_open in -lldap" | 8836 xe_msg_checking="for ldap_open in -lldap" |
8798 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8837 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8799 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8838 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8800 echo "configure:8801: checking "$xe_msg_checking"" >&5 | 8839 echo "configure:8840: checking "$xe_msg_checking"" >&5 |
8801 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8840 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8802 | 8841 |
8803 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8842 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8804 cat > conftest.$ac_ext <<EOF | 8843 cat > conftest.$ac_ext <<EOF |
8805 #line 8806 "configure" | 8844 #line 8845 "configure" |
8806 #include "confdefs.h" | 8845 #include "confdefs.h" |
8807 /* Override any gcc2 internal prototype to avoid an error. */ | 8846 /* Override any gcc2 internal prototype to avoid an error. */ |
8808 /* We use char because int might match the return type of a gcc2 | 8847 /* We use char because int might match the return type of a gcc2 |
8809 builtin and then its argument prototype would still apply. */ | 8848 builtin and then its argument prototype would still apply. */ |
8810 char ldap_open(); | 8849 char ldap_open(); |
8811 | 8850 |
8812 int main() { | 8851 int main() { |
8813 ldap_open() | 8852 ldap_open() |
8814 ; return 0; } | 8853 ; return 0; } |
8815 EOF | 8854 EOF |
8816 if { (eval echo configure:8817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8855 if { (eval echo configure:8856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8817 rm -rf conftest* | 8856 rm -rf conftest* |
8818 eval "ac_cv_lib_$ac_lib_var=yes" | 8857 eval "ac_cv_lib_$ac_lib_var=yes" |
8819 else | 8858 else |
8820 echo "configure: failed program was:" >&5 | 8859 echo "configure: failed program was:" >&5 |
8821 cat conftest.$ac_ext >&5 | 8860 cat conftest.$ac_ext >&5 |
8860 fi | 8899 fi |
8861 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8900 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8862 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8901 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8863 do | 8902 do |
8864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8865 echo "configure:8866: checking for $ac_func" >&5 | 8904 echo "configure:8905: checking for $ac_func" >&5 |
8866 | 8905 |
8867 cat > conftest.$ac_ext <<EOF | 8906 cat > conftest.$ac_ext <<EOF |
8868 #line 8869 "configure" | 8907 #line 8908 "configure" |
8869 #include "confdefs.h" | 8908 #include "confdefs.h" |
8870 /* System header to define __stub macros and hopefully few prototypes, | 8909 /* System header to define __stub macros and hopefully few prototypes, |
8871 which can conflict with char $ac_func(); below. */ | 8910 which can conflict with char $ac_func(); below. */ |
8872 #include <assert.h> | 8911 #include <assert.h> |
8873 /* Override any gcc2 internal prototype to avoid an error. */ | 8912 /* Override any gcc2 internal prototype to avoid an error. */ |
8886 $ac_func(); | 8925 $ac_func(); |
8887 #endif | 8926 #endif |
8888 | 8927 |
8889 ; return 0; } | 8928 ; return 0; } |
8890 EOF | 8929 EOF |
8891 if { (eval echo configure:8892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8892 rm -rf conftest* | 8931 rm -rf conftest* |
8893 eval "ac_cv_func_$ac_func=yes" | 8932 eval "ac_cv_func_$ac_func=yes" |
8894 else | 8933 else |
8895 echo "configure: failed program was:" >&5 | 8934 echo "configure: failed program was:" >&5 |
8896 cat conftest.$ac_ext >&5 | 8935 cat conftest.$ac_ext >&5 |
8925 | 8964 |
8926 | 8965 |
8927 postgresql_libs= | 8966 postgresql_libs= |
8928 if test "$with_postgresql" != "no"; then | 8967 if test "$with_postgresql" != "no"; then |
8929 echo "checking for PostgreSQL" 1>&6 | 8968 echo "checking for PostgreSQL" 1>&6 |
8930 echo "configure:8931: checking for PostgreSQL" >&5 | 8969 echo "configure:8970: checking for PostgreSQL" >&5 |
8931 | 8970 |
8932 for header_dir in "" "pgsql/" "postgresql/"; do | 8971 for header_dir in "" "pgsql/" "postgresql/"; do |
8933 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8972 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8934 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8973 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8935 echo "configure:8936: checking for ${header_dir}libpq-fe.h" >&5 | 8974 echo "configure:8975: checking for ${header_dir}libpq-fe.h" >&5 |
8936 | 8975 |
8937 cat > conftest.$ac_ext <<EOF | 8976 cat > conftest.$ac_ext <<EOF |
8938 #line 8939 "configure" | 8977 #line 8978 "configure" |
8939 #include "confdefs.h" | 8978 #include "confdefs.h" |
8940 #include <${header_dir}libpq-fe.h> | 8979 #include <${header_dir}libpq-fe.h> |
8941 EOF | 8980 EOF |
8942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8981 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8943 { (eval echo configure:8944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8982 { (eval echo configure:8983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8983 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8945 if test -z "$ac_err"; then | 8984 if test -z "$ac_err"; then |
8946 rm -rf conftest* | 8985 rm -rf conftest* |
8947 eval "ac_cv_header_$ac_safe=yes" | 8986 eval "ac_cv_header_$ac_safe=yes" |
8948 else | 8987 else |
8962 | 9001 |
8963 done | 9002 done |
8964 | 9003 |
8965 test -n "$libpq_fe_h_file" && { | 9004 test -n "$libpq_fe_h_file" && { |
8966 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9005 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8967 echo "configure:8968: checking for PQconnectdb in -lpq" >&5 | 9006 echo "configure:9007: checking for PQconnectdb in -lpq" >&5 |
8968 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9007 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8969 | 9008 |
8970 xe_check_libs=" -lpq " | 9009 xe_check_libs=" -lpq " |
8971 cat > conftest.$ac_ext <<EOF | 9010 cat > conftest.$ac_ext <<EOF |
8972 #line 8973 "configure" | 9011 #line 9012 "configure" |
8973 #include "confdefs.h" | 9012 #include "confdefs.h" |
8974 /* Override any gcc2 internal prototype to avoid an error. */ | 9013 /* Override any gcc2 internal prototype to avoid an error. */ |
8975 /* We use char because int might match the return type of a gcc2 | 9014 /* We use char because int might match the return type of a gcc2 |
8976 builtin and then its argument prototype would still apply. */ | 9015 builtin and then its argument prototype would still apply. */ |
8977 char PQconnectdb(); | 9016 char PQconnectdb(); |
8978 | 9017 |
8979 int main() { | 9018 int main() { |
8980 PQconnectdb() | 9019 PQconnectdb() |
8981 ; return 0; } | 9020 ; return 0; } |
8982 EOF | 9021 EOF |
8983 if { (eval echo configure:8984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9022 if { (eval echo configure:9023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8984 rm -rf conftest* | 9023 rm -rf conftest* |
8985 eval "ac_cv_lib_$ac_lib_var=yes" | 9024 eval "ac_cv_lib_$ac_lib_var=yes" |
8986 else | 9025 else |
8987 echo "configure: failed program was:" >&5 | 9026 echo "configure: failed program was:" >&5 |
8988 cat conftest.$ac_ext >&5 | 9027 cat conftest.$ac_ext >&5 |
9011 EOF | 9050 EOF |
9012 } | 9051 } |
9013 | 9052 |
9014 | 9053 |
9015 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9054 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9016 echo "configure:9017: checking for PQconnectStart in -lpq" >&5 | 9055 echo "configure:9056: checking for PQconnectStart in -lpq" >&5 |
9017 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9056 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9018 | 9057 |
9019 xe_check_libs=" -lpq " | 9058 xe_check_libs=" -lpq " |
9020 cat > conftest.$ac_ext <<EOF | 9059 cat > conftest.$ac_ext <<EOF |
9021 #line 9022 "configure" | 9060 #line 9061 "configure" |
9022 #include "confdefs.h" | 9061 #include "confdefs.h" |
9023 /* Override any gcc2 internal prototype to avoid an error. */ | 9062 /* Override any gcc2 internal prototype to avoid an error. */ |
9024 /* We use char because int might match the return type of a gcc2 | 9063 /* We use char because int might match the return type of a gcc2 |
9025 builtin and then its argument prototype would still apply. */ | 9064 builtin and then its argument prototype would still apply. */ |
9026 char PQconnectStart(); | 9065 char PQconnectStart(); |
9027 | 9066 |
9028 int main() { | 9067 int main() { |
9029 PQconnectStart() | 9068 PQconnectStart() |
9030 ; return 0; } | 9069 ; return 0; } |
9031 EOF | 9070 EOF |
9032 if { (eval echo configure:9033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9071 if { (eval echo configure:9072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9033 rm -rf conftest* | 9072 rm -rf conftest* |
9034 eval "ac_cv_lib_$ac_lib_var=yes" | 9073 eval "ac_cv_lib_$ac_lib_var=yes" |
9035 else | 9074 else |
9036 echo "configure: failed program was:" >&5 | 9075 echo "configure: failed program was:" >&5 |
9037 cat conftest.$ac_ext >&5 | 9076 cat conftest.$ac_ext >&5 |
9078 | 9117 |
9079 | 9118 |
9080 | 9119 |
9081 if test "$window_system" != "none"; then | 9120 if test "$window_system" != "none"; then |
9082 echo "checking for graphics libraries" 1>&6 | 9121 echo "checking for graphics libraries" 1>&6 |
9083 echo "configure:9084: checking for graphics libraries" >&5 | 9122 echo "configure:9123: checking for graphics libraries" >&5 |
9084 | 9123 |
9085 libpath_xpm= | 9124 libpath_xpm= |
9086 incpath_xpm= | 9125 incpath_xpm= |
9087 case "$opsys" in | 9126 case "$opsys" in |
9088 cygwin*) | 9127 cygwin*) |
9104 xpm_problem="" | 9143 xpm_problem="" |
9105 if test -z "$with_xpm"; then | 9144 if test -z "$with_xpm"; then |
9106 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9145 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9107 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9146 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9108 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9147 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9109 echo "configure:9110: checking for Xpm - no older than 3.4f" >&5 | 9148 echo "configure:9149: checking for Xpm - no older than 3.4f" >&5 |
9110 xe_check_libs=-lXpm | 9149 xe_check_libs=-lXpm |
9111 cat > conftest.$ac_ext <<EOF | 9150 cat > conftest.$ac_ext <<EOF |
9112 #line 9113 "configure" | 9151 #line 9152 "configure" |
9113 #include "confdefs.h" | 9152 #include "confdefs.h" |
9114 #define XPM_NUMBERS | 9153 #define XPM_NUMBERS |
9115 #include <X11/xpm.h> | 9154 #include <X11/xpm.h> |
9116 int main(int c, char **v) { | 9155 int main(int c, char **v) { |
9117 return c == 1 ? 0 : | 9156 return c == 1 ? 0 : |
9118 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9157 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9119 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9158 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9120 EOF | 9159 EOF |
9121 if { (eval echo configure:9122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9160 if { (eval echo configure:9161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9122 then | 9161 then |
9123 ./conftest dummy_arg; xpm_status=$?; | 9162 ./conftest dummy_arg; xpm_status=$?; |
9124 if test "$xpm_status" = "0"; then | 9163 if test "$xpm_status" = "0"; then |
9125 with_xpm=yes; | 9164 with_xpm=yes; |
9126 else | 9165 else |
9160 | 9199 |
9161 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9200 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9162 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9201 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9163 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9202 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9164 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9203 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9165 echo "configure:9166: checking for \"FOR_MSW\" xpm" >&5 | 9204 echo "configure:9205: checking for \"FOR_MSW\" xpm" >&5 |
9166 xe_check_libs=-lXpm | 9205 xe_check_libs=-lXpm |
9167 cat > conftest.$ac_ext <<EOF | 9206 cat > conftest.$ac_ext <<EOF |
9168 #line 9169 "configure" | 9207 #line 9208 "configure" |
9169 #include "confdefs.h" | 9208 #include "confdefs.h" |
9170 | 9209 |
9171 int main() { | 9210 int main() { |
9172 XpmCreatePixmapFromData() | 9211 XpmCreatePixmapFromData() |
9173 ; return 0; } | 9212 ; return 0; } |
9174 EOF | 9213 EOF |
9175 if { (eval echo configure:9176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9176 rm -rf conftest* | 9215 rm -rf conftest* |
9177 xpm_for_msw=no | 9216 xpm_for_msw=no |
9178 else | 9217 else |
9179 echo "configure: failed program was:" >&5 | 9218 echo "configure: failed program was:" >&5 |
9180 cat conftest.$ac_ext >&5 | 9219 cat conftest.$ac_ext >&5 |
9196 fi | 9235 fi |
9197 fi | 9236 fi |
9198 | 9237 |
9199 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9238 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9200 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9239 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9201 echo "configure:9202: checking for compface.h" >&5 | 9240 echo "configure:9241: checking for compface.h" >&5 |
9202 | 9241 |
9203 cat > conftest.$ac_ext <<EOF | 9242 cat > conftest.$ac_ext <<EOF |
9204 #line 9205 "configure" | 9243 #line 9244 "configure" |
9205 #include "confdefs.h" | 9244 #include "confdefs.h" |
9206 #include <compface.h> | 9245 #include <compface.h> |
9207 EOF | 9246 EOF |
9208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9209 { (eval echo configure:9210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9248 { (eval echo configure:9249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9211 if test -z "$ac_err"; then | 9250 if test -z "$ac_err"; then |
9212 rm -rf conftest* | 9251 rm -rf conftest* |
9213 eval "ac_cv_header_$ac_safe=yes" | 9252 eval "ac_cv_header_$ac_safe=yes" |
9214 else | 9253 else |
9227 with_xface=no | 9266 with_xface=no |
9228 fi | 9267 fi |
9229 } | 9268 } |
9230 test -z "$with_xface" && { | 9269 test -z "$with_xface" && { |
9231 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9270 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9232 echo "configure:9233: checking for UnGenFace in -lcompface" >&5 | 9271 echo "configure:9272: checking for UnGenFace in -lcompface" >&5 |
9233 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9272 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9234 | 9273 |
9235 xe_check_libs=" -lcompface " | 9274 xe_check_libs=" -lcompface " |
9236 cat > conftest.$ac_ext <<EOF | 9275 cat > conftest.$ac_ext <<EOF |
9237 #line 9238 "configure" | 9276 #line 9277 "configure" |
9238 #include "confdefs.h" | 9277 #include "confdefs.h" |
9239 /* Override any gcc2 internal prototype to avoid an error. */ | 9278 /* Override any gcc2 internal prototype to avoid an error. */ |
9240 /* We use char because int might match the return type of a gcc2 | 9279 /* We use char because int might match the return type of a gcc2 |
9241 builtin and then its argument prototype would still apply. */ | 9280 builtin and then its argument prototype would still apply. */ |
9242 char UnGenFace(); | 9281 char UnGenFace(); |
9243 | 9282 |
9244 int main() { | 9283 int main() { |
9245 UnGenFace() | 9284 UnGenFace() |
9246 ; return 0; } | 9285 ; return 0; } |
9247 EOF | 9286 EOF |
9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9287 if { (eval echo configure:9288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9249 rm -rf conftest* | 9288 rm -rf conftest* |
9250 eval "ac_cv_lib_$ac_lib_var=yes" | 9289 eval "ac_cv_lib_$ac_lib_var=yes" |
9251 else | 9290 else |
9252 echo "configure: failed program was:" >&5 | 9291 echo "configure: failed program was:" >&5 |
9253 cat conftest.$ac_ext >&5 | 9292 cat conftest.$ac_ext >&5 |
9292 fi | 9331 fi |
9293 | 9332 |
9294 if test "$with_png $with_tiff" != "no no"; then | 9333 if test "$with_png $with_tiff" != "no no"; then |
9295 | 9334 |
9296 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9335 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9297 echo "configure:9298: checking for inflate in -lc" >&5 | 9336 echo "configure:9337: checking for inflate in -lc" >&5 |
9298 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9337 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9299 | 9338 |
9300 xe_check_libs=" -lc " | 9339 xe_check_libs=" -lc " |
9301 cat > conftest.$ac_ext <<EOF | 9340 cat > conftest.$ac_ext <<EOF |
9302 #line 9303 "configure" | 9341 #line 9342 "configure" |
9303 #include "confdefs.h" | 9342 #include "confdefs.h" |
9304 /* Override any gcc2 internal prototype to avoid an error. */ | 9343 /* Override any gcc2 internal prototype to avoid an error. */ |
9305 /* We use char because int might match the return type of a gcc2 | 9344 /* We use char because int might match the return type of a gcc2 |
9306 builtin and then its argument prototype would still apply. */ | 9345 builtin and then its argument prototype would still apply. */ |
9307 char inflate(); | 9346 char inflate(); |
9308 | 9347 |
9309 int main() { | 9348 int main() { |
9310 inflate() | 9349 inflate() |
9311 ; return 0; } | 9350 ; return 0; } |
9312 EOF | 9351 EOF |
9313 if { (eval echo configure:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9352 if { (eval echo configure:9353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9314 rm -rf conftest* | 9353 rm -rf conftest* |
9315 eval "ac_cv_lib_$ac_lib_var=yes" | 9354 eval "ac_cv_lib_$ac_lib_var=yes" |
9316 else | 9355 else |
9317 echo "configure: failed program was:" >&5 | 9356 echo "configure: failed program was:" >&5 |
9318 cat conftest.$ac_ext >&5 | 9357 cat conftest.$ac_ext >&5 |
9327 : | 9366 : |
9328 else | 9367 else |
9329 echo "$ac_t""no" 1>&6 | 9368 echo "$ac_t""no" 1>&6 |
9330 | 9369 |
9331 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9370 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9332 echo "configure:9333: checking for inflate in -lz" >&5 | 9371 echo "configure:9372: checking for inflate in -lz" >&5 |
9333 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9372 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9334 | 9373 |
9335 xe_check_libs=" -lz " | 9374 xe_check_libs=" -lz " |
9336 cat > conftest.$ac_ext <<EOF | 9375 cat > conftest.$ac_ext <<EOF |
9337 #line 9338 "configure" | 9376 #line 9377 "configure" |
9338 #include "confdefs.h" | 9377 #include "confdefs.h" |
9339 /* Override any gcc2 internal prototype to avoid an error. */ | 9378 /* Override any gcc2 internal prototype to avoid an error. */ |
9340 /* We use char because int might match the return type of a gcc2 | 9379 /* We use char because int might match the return type of a gcc2 |
9341 builtin and then its argument prototype would still apply. */ | 9380 builtin and then its argument prototype would still apply. */ |
9342 char inflate(); | 9381 char inflate(); |
9343 | 9382 |
9344 int main() { | 9383 int main() { |
9345 inflate() | 9384 inflate() |
9346 ; return 0; } | 9385 ; return 0; } |
9347 EOF | 9386 EOF |
9348 if { (eval echo configure:9349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9349 rm -rf conftest* | 9388 rm -rf conftest* |
9350 eval "ac_cv_lib_$ac_lib_var=yes" | 9389 eval "ac_cv_lib_$ac_lib_var=yes" |
9351 else | 9390 else |
9352 echo "configure: failed program was:" >&5 | 9391 echo "configure: failed program was:" >&5 |
9353 cat conftest.$ac_ext >&5 | 9392 cat conftest.$ac_ext >&5 |
9362 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9401 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9363 else | 9402 else |
9364 echo "$ac_t""no" 1>&6 | 9403 echo "$ac_t""no" 1>&6 |
9365 | 9404 |
9366 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9405 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9367 echo "configure:9368: checking for inflate in -lgz" >&5 | 9406 echo "configure:9407: checking for inflate in -lgz" >&5 |
9368 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9407 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9369 | 9408 |
9370 xe_check_libs=" -lgz " | 9409 xe_check_libs=" -lgz " |
9371 cat > conftest.$ac_ext <<EOF | 9410 cat > conftest.$ac_ext <<EOF |
9372 #line 9373 "configure" | 9411 #line 9412 "configure" |
9373 #include "confdefs.h" | 9412 #include "confdefs.h" |
9374 /* Override any gcc2 internal prototype to avoid an error. */ | 9413 /* Override any gcc2 internal prototype to avoid an error. */ |
9375 /* We use char because int might match the return type of a gcc2 | 9414 /* We use char because int might match the return type of a gcc2 |
9376 builtin and then its argument prototype would still apply. */ | 9415 builtin and then its argument prototype would still apply. */ |
9377 char inflate(); | 9416 char inflate(); |
9378 | 9417 |
9379 int main() { | 9418 int main() { |
9380 inflate() | 9419 inflate() |
9381 ; return 0; } | 9420 ; return 0; } |
9382 EOF | 9421 EOF |
9383 if { (eval echo configure:9384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9422 if { (eval echo configure:9423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9384 rm -rf conftest* | 9423 rm -rf conftest* |
9385 eval "ac_cv_lib_$ac_lib_var=yes" | 9424 eval "ac_cv_lib_$ac_lib_var=yes" |
9386 else | 9425 else |
9387 echo "configure: failed program was:" >&5 | 9426 echo "configure: failed program was:" >&5 |
9388 cat conftest.$ac_ext >&5 | 9427 cat conftest.$ac_ext >&5 |
9408 | 9447 |
9409 fi | 9448 fi |
9410 | 9449 |
9411 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9450 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9412 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9451 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9413 echo "configure:9414: checking for jpeglib.h" >&5 | 9452 echo "configure:9453: checking for jpeglib.h" >&5 |
9414 | 9453 |
9415 cat > conftest.$ac_ext <<EOF | 9454 cat > conftest.$ac_ext <<EOF |
9416 #line 9417 "configure" | 9455 #line 9456 "configure" |
9417 #include "confdefs.h" | 9456 #include "confdefs.h" |
9418 #include <jpeglib.h> | 9457 #include <jpeglib.h> |
9419 EOF | 9458 EOF |
9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9459 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9460 { (eval echo configure:9461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9461 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9423 if test -z "$ac_err"; then | 9462 if test -z "$ac_err"; then |
9424 rm -rf conftest* | 9463 rm -rf conftest* |
9425 eval "ac_cv_header_$ac_safe=yes" | 9464 eval "ac_cv_header_$ac_safe=yes" |
9426 else | 9465 else |
9439 with_jpeg=no | 9478 with_jpeg=no |
9440 fi | 9479 fi |
9441 } | 9480 } |
9442 test -z "$with_jpeg" && { | 9481 test -z "$with_jpeg" && { |
9443 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9482 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9444 echo "configure:9445: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9483 echo "configure:9484: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9445 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9484 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9446 | 9485 |
9447 xe_check_libs=" -ljpeg " | 9486 xe_check_libs=" -ljpeg " |
9448 cat > conftest.$ac_ext <<EOF | 9487 cat > conftest.$ac_ext <<EOF |
9449 #line 9450 "configure" | 9488 #line 9489 "configure" |
9450 #include "confdefs.h" | 9489 #include "confdefs.h" |
9451 /* Override any gcc2 internal prototype to avoid an error. */ | 9490 /* Override any gcc2 internal prototype to avoid an error. */ |
9452 /* We use char because int might match the return type of a gcc2 | 9491 /* We use char because int might match the return type of a gcc2 |
9453 builtin and then its argument prototype would still apply. */ | 9492 builtin and then its argument prototype would still apply. */ |
9454 char jpeg_destroy_decompress(); | 9493 char jpeg_destroy_decompress(); |
9455 | 9494 |
9456 int main() { | 9495 int main() { |
9457 jpeg_destroy_decompress() | 9496 jpeg_destroy_decompress() |
9458 ; return 0; } | 9497 ; return 0; } |
9459 EOF | 9498 EOF |
9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9461 rm -rf conftest* | 9500 rm -rf conftest* |
9462 eval "ac_cv_lib_$ac_lib_var=yes" | 9501 eval "ac_cv_lib_$ac_lib_var=yes" |
9463 else | 9502 else |
9464 echo "configure: failed program was:" >&5 | 9503 echo "configure: failed program was:" >&5 |
9465 cat conftest.$ac_ext >&5 | 9504 cat conftest.$ac_ext >&5 |
9491 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9530 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9492 fi | 9531 fi |
9493 | 9532 |
9494 png_problem="" | 9533 png_problem="" |
9495 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9534 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9496 echo "configure:9497: checking for pow" >&5 | 9535 echo "configure:9536: checking for pow" >&5 |
9497 | 9536 |
9498 cat > conftest.$ac_ext <<EOF | 9537 cat > conftest.$ac_ext <<EOF |
9499 #line 9500 "configure" | 9538 #line 9539 "configure" |
9500 #include "confdefs.h" | 9539 #include "confdefs.h" |
9501 /* System header to define __stub macros and hopefully few prototypes, | 9540 /* System header to define __stub macros and hopefully few prototypes, |
9502 which can conflict with char pow(); below. */ | 9541 which can conflict with char pow(); below. */ |
9503 #include <assert.h> | 9542 #include <assert.h> |
9504 /* Override any gcc2 internal prototype to avoid an error. */ | 9543 /* Override any gcc2 internal prototype to avoid an error. */ |
9517 pow(); | 9556 pow(); |
9518 #endif | 9557 #endif |
9519 | 9558 |
9520 ; return 0; } | 9559 ; return 0; } |
9521 EOF | 9560 EOF |
9522 if { (eval echo configure:9523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9561 if { (eval echo configure:9562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9523 rm -rf conftest* | 9562 rm -rf conftest* |
9524 eval "ac_cv_func_pow=yes" | 9563 eval "ac_cv_func_pow=yes" |
9525 else | 9564 else |
9526 echo "configure: failed program was:" >&5 | 9565 echo "configure: failed program was:" >&5 |
9527 cat conftest.$ac_ext >&5 | 9566 cat conftest.$ac_ext >&5 |
9538 with_png=no | 9577 with_png=no |
9539 fi | 9578 fi |
9540 } | 9579 } |
9541 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9580 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9542 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9581 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9543 echo "configure:9544: checking for png.h" >&5 | 9582 echo "configure:9583: checking for png.h" >&5 |
9544 | 9583 |
9545 cat > conftest.$ac_ext <<EOF | 9584 cat > conftest.$ac_ext <<EOF |
9546 #line 9547 "configure" | 9585 #line 9586 "configure" |
9547 #include "confdefs.h" | 9586 #include "confdefs.h" |
9548 #include <png.h> | 9587 #include <png.h> |
9549 EOF | 9588 EOF |
9550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9551 { (eval echo configure:9552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9590 { (eval echo configure:9591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9553 if test -z "$ac_err"; then | 9592 if test -z "$ac_err"; then |
9554 rm -rf conftest* | 9593 rm -rf conftest* |
9555 eval "ac_cv_header_$ac_safe=yes" | 9594 eval "ac_cv_header_$ac_safe=yes" |
9556 else | 9595 else |
9569 with_png=no | 9608 with_png=no |
9570 fi | 9609 fi |
9571 } | 9610 } |
9572 test -z "$with_png" && { | 9611 test -z "$with_png" && { |
9573 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9612 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9574 echo "configure:9575: checking for png_read_image in -lpng" >&5 | 9613 echo "configure:9614: checking for png_read_image in -lpng" >&5 |
9575 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9614 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9576 | 9615 |
9577 xe_check_libs=" -lpng " | 9616 xe_check_libs=" -lpng " |
9578 cat > conftest.$ac_ext <<EOF | 9617 cat > conftest.$ac_ext <<EOF |
9579 #line 9580 "configure" | 9618 #line 9619 "configure" |
9580 #include "confdefs.h" | 9619 #include "confdefs.h" |
9581 /* Override any gcc2 internal prototype to avoid an error. */ | 9620 /* Override any gcc2 internal prototype to avoid an error. */ |
9582 /* We use char because int might match the return type of a gcc2 | 9621 /* We use char because int might match the return type of a gcc2 |
9583 builtin and then its argument prototype would still apply. */ | 9622 builtin and then its argument prototype would still apply. */ |
9584 char png_read_image(); | 9623 char png_read_image(); |
9585 | 9624 |
9586 int main() { | 9625 int main() { |
9587 png_read_image() | 9626 png_read_image() |
9588 ; return 0; } | 9627 ; return 0; } |
9589 EOF | 9628 EOF |
9590 if { (eval echo configure:9591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9629 if { (eval echo configure:9630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9591 rm -rf conftest* | 9630 rm -rf conftest* |
9592 eval "ac_cv_lib_$ac_lib_var=yes" | 9631 eval "ac_cv_lib_$ac_lib_var=yes" |
9593 else | 9632 else |
9594 echo "configure: failed program was:" >&5 | 9633 echo "configure: failed program was:" >&5 |
9595 cat conftest.$ac_ext >&5 | 9634 cat conftest.$ac_ext >&5 |
9608 fi | 9647 fi |
9609 | 9648 |
9610 } | 9649 } |
9611 if test -z "$with_png"; then | 9650 if test -z "$with_png"; then |
9612 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9651 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9613 echo "configure:9614: checking for workable png version information" >&5 | 9652 echo "configure:9653: checking for workable png version information" >&5 |
9614 xe_check_libs="-lpng -lz" | 9653 xe_check_libs="-lpng -lz" |
9615 cat > conftest.$ac_ext <<EOF | 9654 cat > conftest.$ac_ext <<EOF |
9616 #line 9617 "configure" | 9655 #line 9656 "configure" |
9617 #include "confdefs.h" | 9656 #include "confdefs.h" |
9618 #include <png.h> | 9657 #include <png.h> |
9619 int main(int c, char **v) { | 9658 int main(int c, char **v) { |
9620 if (c == 1) return 0; | 9659 if (c == 1) return 0; |
9621 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9660 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9622 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9661 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9623 EOF | 9662 EOF |
9624 if { (eval echo configure:9625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9663 if { (eval echo configure:9664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9625 then | 9664 then |
9626 ./conftest dummy_arg; png_status=$?; | 9665 ./conftest dummy_arg; png_status=$?; |
9627 if test "$png_status" = "0"; then | 9666 if test "$png_status" = "0"; then |
9628 with_png=yes; | 9667 with_png=yes; |
9629 else | 9668 else |
9662 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9701 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9663 fi | 9702 fi |
9664 | 9703 |
9665 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9704 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9666 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9705 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9667 echo "configure:9668: checking for tiffio.h" >&5 | 9706 echo "configure:9707: checking for tiffio.h" >&5 |
9668 | 9707 |
9669 cat > conftest.$ac_ext <<EOF | 9708 cat > conftest.$ac_ext <<EOF |
9670 #line 9671 "configure" | 9709 #line 9710 "configure" |
9671 #include "confdefs.h" | 9710 #include "confdefs.h" |
9672 #include <tiffio.h> | 9711 #include <tiffio.h> |
9673 EOF | 9712 EOF |
9674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9675 { (eval echo configure:9676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9714 { (eval echo configure:9715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9677 if test -z "$ac_err"; then | 9716 if test -z "$ac_err"; then |
9678 rm -rf conftest* | 9717 rm -rf conftest* |
9679 eval "ac_cv_header_$ac_safe=yes" | 9718 eval "ac_cv_header_$ac_safe=yes" |
9680 else | 9719 else |
9693 with_tiff=no | 9732 with_tiff=no |
9694 fi | 9733 fi |
9695 } | 9734 } |
9696 test -z "$with_tiff" && { | 9735 test -z "$with_tiff" && { |
9697 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9736 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9698 echo "configure:9699: checking for TIFFClientOpen in -ltiff" >&5 | 9737 echo "configure:9738: checking for TIFFClientOpen in -ltiff" >&5 |
9699 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9738 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9700 | 9739 |
9701 xe_check_libs=" -ltiff " | 9740 xe_check_libs=" -ltiff " |
9702 cat > conftest.$ac_ext <<EOF | 9741 cat > conftest.$ac_ext <<EOF |
9703 #line 9704 "configure" | 9742 #line 9743 "configure" |
9704 #include "confdefs.h" | 9743 #include "confdefs.h" |
9705 /* Override any gcc2 internal prototype to avoid an error. */ | 9744 /* Override any gcc2 internal prototype to avoid an error. */ |
9706 /* We use char because int might match the return type of a gcc2 | 9745 /* We use char because int might match the return type of a gcc2 |
9707 builtin and then its argument prototype would still apply. */ | 9746 builtin and then its argument prototype would still apply. */ |
9708 char TIFFClientOpen(); | 9747 char TIFFClientOpen(); |
9709 | 9748 |
9710 int main() { | 9749 int main() { |
9711 TIFFClientOpen() | 9750 TIFFClientOpen() |
9712 ; return 0; } | 9751 ; return 0; } |
9713 EOF | 9752 EOF |
9714 if { (eval echo configure:9715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9753 if { (eval echo configure:9754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9715 rm -rf conftest* | 9754 rm -rf conftest* |
9716 eval "ac_cv_lib_$ac_lib_var=yes" | 9755 eval "ac_cv_lib_$ac_lib_var=yes" |
9717 else | 9756 else |
9718 echo "configure: failed program was:" >&5 | 9757 echo "configure: failed program was:" >&5 |
9719 cat conftest.$ac_ext >&5 | 9758 cat conftest.$ac_ext >&5 |
9748 | 9787 |
9749 | 9788 |
9750 if test "$with_gtk" = "yes"; then | 9789 if test "$with_gtk" = "yes"; then |
9751 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9790 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9752 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9791 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9753 echo "configure:9754: checking for compface.h" >&5 | 9792 echo "configure:9793: checking for compface.h" >&5 |
9754 | 9793 |
9755 cat > conftest.$ac_ext <<EOF | 9794 cat > conftest.$ac_ext <<EOF |
9756 #line 9757 "configure" | 9795 #line 9796 "configure" |
9757 #include "confdefs.h" | 9796 #include "confdefs.h" |
9758 #include <compface.h> | 9797 #include <compface.h> |
9759 EOF | 9798 EOF |
9760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9761 { (eval echo configure:9762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9800 { (eval echo configure:9801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9763 if test -z "$ac_err"; then | 9802 if test -z "$ac_err"; then |
9764 rm -rf conftest* | 9803 rm -rf conftest* |
9765 eval "ac_cv_header_$ac_safe=yes" | 9804 eval "ac_cv_header_$ac_safe=yes" |
9766 else | 9805 else |
9779 with_xface=no | 9818 with_xface=no |
9780 fi | 9819 fi |
9781 } | 9820 } |
9782 test -z "$with_xface" && { | 9821 test -z "$with_xface" && { |
9783 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9822 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9784 echo "configure:9785: checking for UnGenFace in -lcompface" >&5 | 9823 echo "configure:9824: checking for UnGenFace in -lcompface" >&5 |
9785 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9824 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9786 | 9825 |
9787 xe_check_libs=" -lcompface " | 9826 xe_check_libs=" -lcompface " |
9788 cat > conftest.$ac_ext <<EOF | 9827 cat > conftest.$ac_ext <<EOF |
9789 #line 9790 "configure" | 9828 #line 9829 "configure" |
9790 #include "confdefs.h" | 9829 #include "confdefs.h" |
9791 /* Override any gcc2 internal prototype to avoid an error. */ | 9830 /* Override any gcc2 internal prototype to avoid an error. */ |
9792 /* We use char because int might match the return type of a gcc2 | 9831 /* We use char because int might match the return type of a gcc2 |
9793 builtin and then its argument prototype would still apply. */ | 9832 builtin and then its argument prototype would still apply. */ |
9794 char UnGenFace(); | 9833 char UnGenFace(); |
9795 | 9834 |
9796 int main() { | 9835 int main() { |
9797 UnGenFace() | 9836 UnGenFace() |
9798 ; return 0; } | 9837 ; return 0; } |
9799 EOF | 9838 EOF |
9800 if { (eval echo configure:9801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9839 if { (eval echo configure:9840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9801 rm -rf conftest* | 9840 rm -rf conftest* |
9802 eval "ac_cv_lib_$ac_lib_var=yes" | 9841 eval "ac_cv_lib_$ac_lib_var=yes" |
9803 else | 9842 else |
9804 echo "configure: failed program was:" >&5 | 9843 echo "configure: failed program was:" >&5 |
9805 cat conftest.$ac_ext >&5 | 9844 cat conftest.$ac_ext >&5 |
9834 | 9873 |
9835 | 9874 |
9836 | 9875 |
9837 if test "$with_x11" = "yes"; then | 9876 if test "$with_x11" = "yes"; then |
9838 echo "checking for X11 graphics libraries" 1>&6 | 9877 echo "checking for X11 graphics libraries" 1>&6 |
9839 echo "configure:9840: checking for X11 graphics libraries" >&5 | 9878 echo "configure:9879: checking for X11 graphics libraries" >&5 |
9840 fi | 9879 fi |
9841 | 9880 |
9842 case "$with_widgets" in | 9881 case "$with_widgets" in |
9843 "yes" | "athena") detect_athena=yes ;; | 9882 "yes" | "athena") detect_athena=yes ;; |
9844 *) detect_athena=no ;; | 9883 *) detect_athena=no ;; |
9845 esac | 9884 esac |
9846 | 9885 |
9847 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9886 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9848 echo "checking for the Athena widgets" 1>&6 | 9887 echo "checking for the Athena widgets" 1>&6 |
9849 echo "configure:9850: checking for the Athena widgets" >&5 | 9888 echo "configure:9889: checking for the Athena widgets" >&5 |
9850 | 9889 |
9851 case "$with_athena" in | 9890 case "$with_athena" in |
9852 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9891 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9853 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9892 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9854 "next") athena_variant=neXtaw athena_3d=yes ;; | 9893 "next") athena_variant=neXtaw athena_3d=yes ;; |
9858 esac | 9897 esac |
9859 | 9898 |
9860 if test "$athena_3d" = "no"; then | 9899 if test "$athena_3d" = "no"; then |
9861 | 9900 |
9862 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9901 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9863 echo "configure:9864: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9902 echo "configure:9903: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9864 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9903 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9865 | 9904 |
9866 xe_check_libs=" -l$athena_variant " | 9905 xe_check_libs=" -l$athena_variant " |
9867 cat > conftest.$ac_ext <<EOF | 9906 cat > conftest.$ac_ext <<EOF |
9868 #line 9869 "configure" | 9907 #line 9908 "configure" |
9869 #include "confdefs.h" | 9908 #include "confdefs.h" |
9870 /* Override any gcc2 internal prototype to avoid an error. */ | 9909 /* Override any gcc2 internal prototype to avoid an error. */ |
9871 /* We use char because int might match the return type of a gcc2 | 9910 /* We use char because int might match the return type of a gcc2 |
9872 builtin and then its argument prototype would still apply. */ | 9911 builtin and then its argument prototype would still apply. */ |
9873 char XawScrollbarSetThumb(); | 9912 char XawScrollbarSetThumb(); |
9874 | 9913 |
9875 int main() { | 9914 int main() { |
9876 XawScrollbarSetThumb() | 9915 XawScrollbarSetThumb() |
9877 ; return 0; } | 9916 ; return 0; } |
9878 EOF | 9917 EOF |
9879 if { (eval echo configure:9880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9918 if { (eval echo configure:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9880 rm -rf conftest* | 9919 rm -rf conftest* |
9881 eval "ac_cv_lib_$ac_lib_var=yes" | 9920 eval "ac_cv_lib_$ac_lib_var=yes" |
9882 else | 9921 else |
9883 echo "configure: failed program was:" >&5 | 9922 echo "configure: failed program was:" >&5 |
9884 cat conftest.$ac_ext >&5 | 9923 cat conftest.$ac_ext >&5 |
9890 | 9929 |
9891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9930 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9892 echo "$ac_t""yes" 1>&6 | 9931 echo "$ac_t""yes" 1>&6 |
9893 | 9932 |
9894 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9933 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9895 echo "configure:9896: checking for threeDClassRec in -l$athena_variant" >&5 | 9934 echo "configure:9935: checking for threeDClassRec in -l$athena_variant" >&5 |
9896 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9935 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9897 | 9936 |
9898 xe_check_libs=" -l$athena_variant " | 9937 xe_check_libs=" -l$athena_variant " |
9899 cat > conftest.$ac_ext <<EOF | 9938 cat > conftest.$ac_ext <<EOF |
9900 #line 9901 "configure" | 9939 #line 9940 "configure" |
9901 #include "confdefs.h" | 9940 #include "confdefs.h" |
9902 /* Override any gcc2 internal prototype to avoid an error. */ | 9941 /* Override any gcc2 internal prototype to avoid an error. */ |
9903 /* We use char because int might match the return type of a gcc2 | 9942 /* We use char because int might match the return type of a gcc2 |
9904 builtin and then its argument prototype would still apply. */ | 9943 builtin and then its argument prototype would still apply. */ |
9905 char threeDClassRec(); | 9944 char threeDClassRec(); |
9906 | 9945 |
9907 int main() { | 9946 int main() { |
9908 threeDClassRec() | 9947 threeDClassRec() |
9909 ; return 0; } | 9948 ; return 0; } |
9910 EOF | 9949 EOF |
9911 if { (eval echo configure:9912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9912 rm -rf conftest* | 9951 rm -rf conftest* |
9913 eval "ac_cv_lib_$ac_lib_var=yes" | 9952 eval "ac_cv_lib_$ac_lib_var=yes" |
9914 else | 9953 else |
9915 echo "configure: failed program was:" >&5 | 9954 echo "configure: failed program was:" >&5 |
9916 cat conftest.$ac_ext >&5 | 9955 cat conftest.$ac_ext >&5 |
9937 | 9976 |
9938 | 9977 |
9939 else | 9978 else |
9940 | 9979 |
9941 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9980 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9942 echo "configure:9943: checking for threeDClassRec in -l$athena_variant" >&5 | 9981 echo "configure:9982: checking for threeDClassRec in -l$athena_variant" >&5 |
9943 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9982 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9944 | 9983 |
9945 xe_check_libs=" -l$athena_variant " | 9984 xe_check_libs=" -l$athena_variant " |
9946 cat > conftest.$ac_ext <<EOF | 9985 cat > conftest.$ac_ext <<EOF |
9947 #line 9948 "configure" | 9986 #line 9987 "configure" |
9948 #include "confdefs.h" | 9987 #include "confdefs.h" |
9949 /* Override any gcc2 internal prototype to avoid an error. */ | 9988 /* Override any gcc2 internal prototype to avoid an error. */ |
9950 /* We use char because int might match the return type of a gcc2 | 9989 /* We use char because int might match the return type of a gcc2 |
9951 builtin and then its argument prototype would still apply. */ | 9990 builtin and then its argument prototype would still apply. */ |
9952 char threeDClassRec(); | 9991 char threeDClassRec(); |
9953 | 9992 |
9954 int main() { | 9993 int main() { |
9955 threeDClassRec() | 9994 threeDClassRec() |
9956 ; return 0; } | 9995 ; return 0; } |
9957 EOF | 9996 EOF |
9958 if { (eval echo configure:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9997 if { (eval echo configure:9998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9959 rm -rf conftest* | 9998 rm -rf conftest* |
9960 eval "ac_cv_lib_$ac_lib_var=yes" | 9999 eval "ac_cv_lib_$ac_lib_var=yes" |
9961 else | 10000 else |
9962 echo "configure: failed program was:" >&5 | 10001 echo "configure: failed program was:" >&5 |
9963 cat conftest.$ac_ext >&5 | 10002 cat conftest.$ac_ext >&5 |
9971 echo "$ac_t""yes" 1>&6 | 10010 echo "$ac_t""yes" 1>&6 |
9972 athena_lib=$athena_variant | 10011 athena_lib=$athena_variant |
9973 else | 10012 else |
9974 echo "$ac_t""no" 1>&6 | 10013 echo "$ac_t""no" 1>&6 |
9975 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10014 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9976 echo "configure:9977: checking for threeDClassRec in -lXaw" >&5 | 10015 echo "configure:10016: checking for threeDClassRec in -lXaw" >&5 |
9977 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10016 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9978 | 10017 |
9979 xe_check_libs=" -lXaw " | 10018 xe_check_libs=" -lXaw " |
9980 cat > conftest.$ac_ext <<EOF | 10019 cat > conftest.$ac_ext <<EOF |
9981 #line 9982 "configure" | 10020 #line 10021 "configure" |
9982 #include "confdefs.h" | 10021 #include "confdefs.h" |
9983 /* Override any gcc2 internal prototype to avoid an error. */ | 10022 /* Override any gcc2 internal prototype to avoid an error. */ |
9984 /* We use char because int might match the return type of a gcc2 | 10023 /* We use char because int might match the return type of a gcc2 |
9985 builtin and then its argument prototype would still apply. */ | 10024 builtin and then its argument prototype would still apply. */ |
9986 char threeDClassRec(); | 10025 char threeDClassRec(); |
9987 | 10026 |
9988 int main() { | 10027 int main() { |
9989 threeDClassRec() | 10028 threeDClassRec() |
9990 ; return 0; } | 10029 ; return 0; } |
9991 EOF | 10030 EOF |
9992 if { (eval echo configure:9993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9993 rm -rf conftest* | 10032 rm -rf conftest* |
9994 eval "ac_cv_lib_$ac_lib_var=yes" | 10033 eval "ac_cv_lib_$ac_lib_var=yes" |
9995 else | 10034 else |
9996 echo "configure: failed program was:" >&5 | 10035 echo "configure: failed program was:" >&5 |
9997 cat conftest.$ac_ext >&5 | 10036 cat conftest.$ac_ext >&5 |
10018 fi | 10057 fi |
10019 | 10058 |
10020 if test "$athena_3d" = "no"; then | 10059 if test "$athena_3d" = "no"; then |
10021 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10060 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10022 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10061 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10023 echo "configure:10024: checking for X11/Xaw/ThreeD.h" >&5 | 10062 echo "configure:10063: checking for X11/Xaw/ThreeD.h" >&5 |
10024 | 10063 |
10025 cat > conftest.$ac_ext <<EOF | 10064 cat > conftest.$ac_ext <<EOF |
10026 #line 10027 "configure" | 10065 #line 10066 "configure" |
10027 #include "confdefs.h" | 10066 #include "confdefs.h" |
10028 #include <X11/Xaw/ThreeD.h> | 10067 #include <X11/Xaw/ThreeD.h> |
10029 EOF | 10068 EOF |
10030 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10031 { (eval echo configure:10032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10070 { (eval echo configure:10071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10032 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10033 if test -z "$ac_err"; then | 10072 if test -z "$ac_err"; then |
10034 rm -rf conftest* | 10073 rm -rf conftest* |
10035 eval "ac_cv_header_$ac_safe=yes" | 10074 eval "ac_cv_header_$ac_safe=yes" |
10036 else | 10075 else |
10046 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10085 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10047 else | 10086 else |
10048 echo "$ac_t""no" 1>&6 | 10087 echo "$ac_t""no" 1>&6 |
10049 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10088 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10050 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10089 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10051 echo "configure:10052: checking for X11/Xaw/XawInit.h" >&5 | 10090 echo "configure:10091: checking for X11/Xaw/XawInit.h" >&5 |
10052 | 10091 |
10053 cat > conftest.$ac_ext <<EOF | 10092 cat > conftest.$ac_ext <<EOF |
10054 #line 10055 "configure" | 10093 #line 10094 "configure" |
10055 #include "confdefs.h" | 10094 #include "confdefs.h" |
10056 #include <X11/Xaw/XawInit.h> | 10095 #include <X11/Xaw/XawInit.h> |
10057 EOF | 10096 EOF |
10058 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10059 { (eval echo configure:10060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10098 { (eval echo configure:10099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10060 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10061 if test -z "$ac_err"; then | 10100 if test -z "$ac_err"; then |
10062 rm -rf conftest* | 10101 rm -rf conftest* |
10063 eval "ac_cv_header_$ac_safe=yes" | 10102 eval "ac_cv_header_$ac_safe=yes" |
10064 else | 10103 else |
10080 fi | 10119 fi |
10081 | 10120 |
10082 else | 10121 else |
10083 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10122 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10084 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10123 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10085 echo "configure:10086: checking for X11/$athena_variant/XawInit.h" >&5 | 10124 echo "configure:10125: checking for X11/$athena_variant/XawInit.h" >&5 |
10086 | 10125 |
10087 cat > conftest.$ac_ext <<EOF | 10126 cat > conftest.$ac_ext <<EOF |
10088 #line 10089 "configure" | 10127 #line 10128 "configure" |
10089 #include "confdefs.h" | 10128 #include "confdefs.h" |
10090 #include <X11/$athena_variant/XawInit.h> | 10129 #include <X11/$athena_variant/XawInit.h> |
10091 EOF | 10130 EOF |
10092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10093 { (eval echo configure:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10132 { (eval echo configure:10133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10095 if test -z "$ac_err"; then | 10134 if test -z "$ac_err"; then |
10096 rm -rf conftest* | 10135 rm -rf conftest* |
10097 eval "ac_cv_header_$ac_safe=yes" | 10136 eval "ac_cv_header_$ac_safe=yes" |
10098 else | 10137 else |
10105 rm -f conftest* | 10144 rm -f conftest* |
10106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10107 echo "$ac_t""yes" 1>&6 | 10146 echo "$ac_t""yes" 1>&6 |
10108 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10147 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10109 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10148 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10110 echo "configure:10111: checking for X11/$athena_variant/ThreeD.h" >&5 | 10149 echo "configure:10150: checking for X11/$athena_variant/ThreeD.h" >&5 |
10111 | 10150 |
10112 cat > conftest.$ac_ext <<EOF | 10151 cat > conftest.$ac_ext <<EOF |
10113 #line 10114 "configure" | 10152 #line 10153 "configure" |
10114 #include "confdefs.h" | 10153 #include "confdefs.h" |
10115 #include <X11/$athena_variant/ThreeD.h> | 10154 #include <X11/$athena_variant/ThreeD.h> |
10116 EOF | 10155 EOF |
10117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10118 { (eval echo configure:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10157 { (eval echo configure:10158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10120 if test -z "$ac_err"; then | 10159 if test -z "$ac_err"; then |
10121 rm -rf conftest* | 10160 rm -rf conftest* |
10122 eval "ac_cv_header_$ac_safe=yes" | 10161 eval "ac_cv_header_$ac_safe=yes" |
10123 else | 10162 else |
10141 | 10180 |
10142 | 10181 |
10143 if test -z "$athena_h_path"; then | 10182 if test -z "$athena_h_path"; then |
10144 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10183 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10145 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10184 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10146 echo "configure:10147: checking for $athena_variant/XawInit.h" >&5 | 10185 echo "configure:10186: checking for $athena_variant/XawInit.h" >&5 |
10147 | 10186 |
10148 cat > conftest.$ac_ext <<EOF | 10187 cat > conftest.$ac_ext <<EOF |
10149 #line 10150 "configure" | 10188 #line 10189 "configure" |
10150 #include "confdefs.h" | 10189 #include "confdefs.h" |
10151 #include <$athena_variant/XawInit.h> | 10190 #include <$athena_variant/XawInit.h> |
10152 EOF | 10191 EOF |
10153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10154 { (eval echo configure:10155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10193 { (eval echo configure:10194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10156 if test -z "$ac_err"; then | 10195 if test -z "$ac_err"; then |
10157 rm -rf conftest* | 10196 rm -rf conftest* |
10158 eval "ac_cv_header_$ac_safe=yes" | 10197 eval "ac_cv_header_$ac_safe=yes" |
10159 else | 10198 else |
10166 rm -f conftest* | 10205 rm -f conftest* |
10167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10168 echo "$ac_t""yes" 1>&6 | 10207 echo "$ac_t""yes" 1>&6 |
10169 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10208 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10170 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10209 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10171 echo "configure:10172: checking for $athena_variant/ThreeD.h" >&5 | 10210 echo "configure:10211: checking for $athena_variant/ThreeD.h" >&5 |
10172 | 10211 |
10173 cat > conftest.$ac_ext <<EOF | 10212 cat > conftest.$ac_ext <<EOF |
10174 #line 10175 "configure" | 10213 #line 10214 "configure" |
10175 #include "confdefs.h" | 10214 #include "confdefs.h" |
10176 #include <$athena_variant/ThreeD.h> | 10215 #include <$athena_variant/ThreeD.h> |
10177 EOF | 10216 EOF |
10178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10179 { (eval echo configure:10180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10218 { (eval echo configure:10219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10181 if test -z "$ac_err"; then | 10220 if test -z "$ac_err"; then |
10182 rm -rf conftest* | 10221 rm -rf conftest* |
10183 eval "ac_cv_header_$ac_safe=yes" | 10222 eval "ac_cv_header_$ac_safe=yes" |
10184 else | 10223 else |
10203 fi | 10242 fi |
10204 | 10243 |
10205 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10244 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10206 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10245 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10207 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10246 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10208 echo "configure:10209: checking for X11/Xaw3d/XawInit.h" >&5 | 10247 echo "configure:10248: checking for X11/Xaw3d/XawInit.h" >&5 |
10209 | 10248 |
10210 cat > conftest.$ac_ext <<EOF | 10249 cat > conftest.$ac_ext <<EOF |
10211 #line 10212 "configure" | 10250 #line 10251 "configure" |
10212 #include "confdefs.h" | 10251 #include "confdefs.h" |
10213 #include <X11/Xaw3d/XawInit.h> | 10252 #include <X11/Xaw3d/XawInit.h> |
10214 EOF | 10253 EOF |
10215 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" |
10216 { (eval echo configure:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10218 if test -z "$ac_err"; then | 10257 if test -z "$ac_err"; then |
10219 rm -rf conftest* | 10258 rm -rf conftest* |
10220 eval "ac_cv_header_$ac_safe=yes" | 10259 eval "ac_cv_header_$ac_safe=yes" |
10221 else | 10260 else |
10228 rm -f conftest* | 10267 rm -f conftest* |
10229 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10230 echo "$ac_t""yes" 1>&6 | 10269 echo "$ac_t""yes" 1>&6 |
10231 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10270 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10232 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10271 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10233 echo "configure:10234: checking for X11/Xaw3d/ThreeD.h" >&5 | 10272 echo "configure:10273: checking for X11/Xaw3d/ThreeD.h" >&5 |
10234 | 10273 |
10235 cat > conftest.$ac_ext <<EOF | 10274 cat > conftest.$ac_ext <<EOF |
10236 #line 10237 "configure" | 10275 #line 10276 "configure" |
10237 #include "confdefs.h" | 10276 #include "confdefs.h" |
10238 #include <X11/Xaw3d/ThreeD.h> | 10277 #include <X11/Xaw3d/ThreeD.h> |
10239 EOF | 10278 EOF |
10240 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10241 { (eval echo configure:10242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10280 { (eval echo configure:10281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10242 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10243 if test -z "$ac_err"; then | 10282 if test -z "$ac_err"; then |
10244 rm -rf conftest* | 10283 rm -rf conftest* |
10245 eval "ac_cv_header_$ac_safe=yes" | 10284 eval "ac_cv_header_$ac_safe=yes" |
10246 else | 10285 else |
10268 fi | 10307 fi |
10269 | 10308 |
10270 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10309 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10271 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10310 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10272 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10311 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10273 echo "configure:10274: checking for Xaw3d/XawInit.h" >&5 | 10312 echo "configure:10313: checking for Xaw3d/XawInit.h" >&5 |
10274 | 10313 |
10275 cat > conftest.$ac_ext <<EOF | 10314 cat > conftest.$ac_ext <<EOF |
10276 #line 10277 "configure" | 10315 #line 10316 "configure" |
10277 #include "confdefs.h" | 10316 #include "confdefs.h" |
10278 #include <Xaw3d/XawInit.h> | 10317 #include <Xaw3d/XawInit.h> |
10279 EOF | 10318 EOF |
10280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10281 { (eval echo configure:10282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10320 { (eval echo configure:10321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10283 if test -z "$ac_err"; then | 10322 if test -z "$ac_err"; then |
10284 rm -rf conftest* | 10323 rm -rf conftest* |
10285 eval "ac_cv_header_$ac_safe=yes" | 10324 eval "ac_cv_header_$ac_safe=yes" |
10286 else | 10325 else |
10293 rm -f conftest* | 10332 rm -f conftest* |
10294 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10333 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10295 echo "$ac_t""yes" 1>&6 | 10334 echo "$ac_t""yes" 1>&6 |
10296 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10335 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10297 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10336 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10298 echo "configure:10299: checking for Xaw3d/ThreeD.h" >&5 | 10337 echo "configure:10338: checking for Xaw3d/ThreeD.h" >&5 |
10299 | 10338 |
10300 cat > conftest.$ac_ext <<EOF | 10339 cat > conftest.$ac_ext <<EOF |
10301 #line 10302 "configure" | 10340 #line 10341 "configure" |
10302 #include "confdefs.h" | 10341 #include "confdefs.h" |
10303 #include <Xaw3d/ThreeD.h> | 10342 #include <Xaw3d/ThreeD.h> |
10304 EOF | 10343 EOF |
10305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10306 { (eval echo configure:10307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10345 { (eval echo configure:10346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10308 if test -z "$ac_err"; then | 10347 if test -z "$ac_err"; then |
10309 rm -rf conftest* | 10348 rm -rf conftest* |
10310 eval "ac_cv_header_$ac_safe=yes" | 10349 eval "ac_cv_header_$ac_safe=yes" |
10311 else | 10350 else |
10333 fi | 10372 fi |
10334 | 10373 |
10335 if test -z "$athena_h_path"; then | 10374 if test -z "$athena_h_path"; then |
10336 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10375 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10337 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10376 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10338 echo "configure:10339: checking for X11/Xaw/ThreeD.h" >&5 | 10377 echo "configure:10378: checking for X11/Xaw/ThreeD.h" >&5 |
10339 | 10378 |
10340 cat > conftest.$ac_ext <<EOF | 10379 cat > conftest.$ac_ext <<EOF |
10341 #line 10342 "configure" | 10380 #line 10381 "configure" |
10342 #include "confdefs.h" | 10381 #include "confdefs.h" |
10343 #include <X11/Xaw/ThreeD.h> | 10382 #include <X11/Xaw/ThreeD.h> |
10344 EOF | 10383 EOF |
10345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10346 { (eval echo configure:10347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10385 { (eval echo configure:10386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10348 if test -z "$ac_err"; then | 10387 if test -z "$ac_err"; then |
10349 rm -rf conftest* | 10388 rm -rf conftest* |
10350 eval "ac_cv_header_$ac_safe=yes" | 10389 eval "ac_cv_header_$ac_safe=yes" |
10351 else | 10390 else |
10380 have_xaw=no | 10419 have_xaw=no |
10381 fi | 10420 fi |
10382 if test "$with_x11" = "yes"; then | 10421 if test "$with_x11" = "yes"; then |
10383 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10422 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10384 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10423 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10385 echo "configure:10386: checking for Xm/Xm.h" >&5 | 10424 echo "configure:10425: checking for Xm/Xm.h" >&5 |
10386 | 10425 |
10387 cat > conftest.$ac_ext <<EOF | 10426 cat > conftest.$ac_ext <<EOF |
10388 #line 10389 "configure" | 10427 #line 10428 "configure" |
10389 #include "confdefs.h" | 10428 #include "confdefs.h" |
10390 #include <Xm/Xm.h> | 10429 #include <Xm/Xm.h> |
10391 EOF | 10430 EOF |
10392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10393 { (eval echo configure:10394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10432 { (eval echo configure:10433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10395 if test -z "$ac_err"; then | 10434 if test -z "$ac_err"; then |
10396 rm -rf conftest* | 10435 rm -rf conftest* |
10397 eval "ac_cv_header_$ac_safe=yes" | 10436 eval "ac_cv_header_$ac_safe=yes" |
10398 else | 10437 else |
10405 rm -f conftest* | 10444 rm -f conftest* |
10406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10445 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10407 echo "$ac_t""yes" 1>&6 | 10446 echo "$ac_t""yes" 1>&6 |
10408 | 10447 |
10409 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10448 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10410 echo "configure:10411: checking for XmStringFree in -lXm" >&5 | 10449 echo "configure:10450: checking for XmStringFree in -lXm" >&5 |
10411 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10450 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10412 | 10451 |
10413 xe_check_libs=" -lXm " | 10452 xe_check_libs=" -lXm " |
10414 cat > conftest.$ac_ext <<EOF | 10453 cat > conftest.$ac_ext <<EOF |
10415 #line 10416 "configure" | 10454 #line 10455 "configure" |
10416 #include "confdefs.h" | 10455 #include "confdefs.h" |
10417 /* Override any gcc2 internal prototype to avoid an error. */ | 10456 /* Override any gcc2 internal prototype to avoid an error. */ |
10418 /* We use char because int might match the return type of a gcc2 | 10457 /* We use char because int might match the return type of a gcc2 |
10419 builtin and then its argument prototype would still apply. */ | 10458 builtin and then its argument prototype would still apply. */ |
10420 char XmStringFree(); | 10459 char XmStringFree(); |
10421 | 10460 |
10422 int main() { | 10461 int main() { |
10423 XmStringFree() | 10462 XmStringFree() |
10424 ; return 0; } | 10463 ; return 0; } |
10425 EOF | 10464 EOF |
10426 if { (eval echo configure:10427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10465 if { (eval echo configure:10466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10427 rm -rf conftest* | 10466 rm -rf conftest* |
10428 eval "ac_cv_lib_$ac_lib_var=yes" | 10467 eval "ac_cv_lib_$ac_lib_var=yes" |
10429 else | 10468 else |
10430 echo "configure: failed program was:" >&5 | 10469 echo "configure: failed program was:" >&5 |
10431 cat conftest.$ac_ext >&5 | 10470 cat conftest.$ac_ext >&5 |
10450 fi | 10489 fi |
10451 | 10490 |
10452 | 10491 |
10453 if test "$have_motif" = "yes"; then | 10492 if test "$have_motif" = "yes"; then |
10454 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10493 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10455 echo "configure:10456: checking for Lesstif" >&5 | 10494 echo "configure:10495: checking for Lesstif" >&5 |
10456 cat > conftest.$ac_ext <<EOF | 10495 cat > conftest.$ac_ext <<EOF |
10457 #line 10458 "configure" | 10496 #line 10497 "configure" |
10458 #include "confdefs.h" | 10497 #include "confdefs.h" |
10459 #include <Xm/Xm.h> | 10498 #include <Xm/Xm.h> |
10460 #ifdef LESSTIF_VERSION | 10499 #ifdef LESSTIF_VERSION |
10461 yes | 10500 yes |
10462 #endif | 10501 #endif |
10825 | 10864 |
10826 fi | 10865 fi |
10827 | 10866 |
10828 if test "$with_mule" = "yes" ; then | 10867 if test "$with_mule" = "yes" ; then |
10829 echo "checking for Mule-related features" 1>&6 | 10868 echo "checking for Mule-related features" 1>&6 |
10830 echo "configure:10831: checking for Mule-related features" >&5 | 10869 echo "configure:10870: checking for Mule-related features" >&5 |
10831 { test "$extra_verbose" = "yes" && cat << \EOF | 10870 { test "$extra_verbose" = "yes" && cat << \EOF |
10832 Defining MULE | 10871 Defining MULE |
10833 EOF | 10872 EOF |
10834 cat >> confdefs.h <<\EOF | 10873 cat >> confdefs.h <<\EOF |
10835 #define MULE 1 | 10874 #define MULE 1 |
10839 | 10878 |
10840 for ac_hdr in libintl.h | 10879 for ac_hdr in libintl.h |
10841 do | 10880 do |
10842 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10881 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10843 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10882 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10844 echo "configure:10845: checking for $ac_hdr" >&5 | 10883 echo "configure:10884: checking for $ac_hdr" >&5 |
10845 | 10884 |
10846 cat > conftest.$ac_ext <<EOF | 10885 cat > conftest.$ac_ext <<EOF |
10847 #line 10848 "configure" | 10886 #line 10887 "configure" |
10848 #include "confdefs.h" | 10887 #include "confdefs.h" |
10849 #include <$ac_hdr> | 10888 #include <$ac_hdr> |
10850 EOF | 10889 EOF |
10851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10852 { (eval echo configure:10853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10891 { (eval echo configure:10892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10854 if test -z "$ac_err"; then | 10893 if test -z "$ac_err"; then |
10855 rm -rf conftest* | 10894 rm -rf conftest* |
10856 eval "ac_cv_header_$ac_safe=yes" | 10895 eval "ac_cv_header_$ac_safe=yes" |
10857 else | 10896 else |
10878 fi | 10917 fi |
10879 done | 10918 done |
10880 | 10919 |
10881 | 10920 |
10882 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10921 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10883 echo "configure:10884: checking for strerror in -lintl" >&5 | 10922 echo "configure:10923: checking for strerror in -lintl" >&5 |
10884 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10923 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10885 | 10924 |
10886 xe_check_libs=" -lintl " | 10925 xe_check_libs=" -lintl " |
10887 cat > conftest.$ac_ext <<EOF | 10926 cat > conftest.$ac_ext <<EOF |
10888 #line 10889 "configure" | 10927 #line 10928 "configure" |
10889 #include "confdefs.h" | 10928 #include "confdefs.h" |
10890 /* Override any gcc2 internal prototype to avoid an error. */ | 10929 /* Override any gcc2 internal prototype to avoid an error. */ |
10891 /* We use char because int might match the return type of a gcc2 | 10930 /* We use char because int might match the return type of a gcc2 |
10892 builtin and then its argument prototype would still apply. */ | 10931 builtin and then its argument prototype would still apply. */ |
10893 char strerror(); | 10932 char strerror(); |
10894 | 10933 |
10895 int main() { | 10934 int main() { |
10896 strerror() | 10935 strerror() |
10897 ; return 0; } | 10936 ; return 0; } |
10898 EOF | 10937 EOF |
10899 if { (eval echo configure:10900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10938 if { (eval echo configure:10939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10900 rm -rf conftest* | 10939 rm -rf conftest* |
10901 eval "ac_cv_lib_$ac_lib_var=yes" | 10940 eval "ac_cv_lib_$ac_lib_var=yes" |
10902 else | 10941 else |
10903 echo "configure: failed program was:" >&5 | 10942 echo "configure: failed program was:" >&5 |
10904 cat conftest.$ac_ext >&5 | 10943 cat conftest.$ac_ext >&5 |
10927 fi | 10966 fi |
10928 | 10967 |
10929 | 10968 |
10930 | 10969 |
10931 echo "checking for Mule input methods" 1>&6 | 10970 echo "checking for Mule input methods" 1>&6 |
10932 echo "configure:10933: checking for Mule input methods" >&5 | 10971 echo "configure:10972: checking for Mule input methods" >&5 |
10933 case "$with_xim" in "" | "yes" ) | 10972 case "$with_xim" in "" | "yes" ) |
10934 echo "checking for XIM" 1>&6 | 10973 echo "checking for XIM" 1>&6 |
10935 echo "configure:10936: checking for XIM" >&5 | 10974 echo "configure:10975: checking for XIM" >&5 |
10936 | 10975 |
10937 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10976 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10938 echo "configure:10939: checking for XOpenIM in -lX11" >&5 | 10977 echo "configure:10978: checking for XOpenIM in -lX11" >&5 |
10939 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10978 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10940 | 10979 |
10941 xe_check_libs=" -lX11 " | 10980 xe_check_libs=" -lX11 " |
10942 cat > conftest.$ac_ext <<EOF | 10981 cat > conftest.$ac_ext <<EOF |
10943 #line 10944 "configure" | 10982 #line 10983 "configure" |
10944 #include "confdefs.h" | 10983 #include "confdefs.h" |
10945 /* Override any gcc2 internal prototype to avoid an error. */ | 10984 /* Override any gcc2 internal prototype to avoid an error. */ |
10946 /* We use char because int might match the return type of a gcc2 | 10985 /* We use char because int might match the return type of a gcc2 |
10947 builtin and then its argument prototype would still apply. */ | 10986 builtin and then its argument prototype would still apply. */ |
10948 char XOpenIM(); | 10987 char XOpenIM(); |
10949 | 10988 |
10950 int main() { | 10989 int main() { |
10951 XOpenIM() | 10990 XOpenIM() |
10952 ; return 0; } | 10991 ; return 0; } |
10953 EOF | 10992 EOF |
10954 if { (eval echo configure:10955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10993 if { (eval echo configure:10994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10955 rm -rf conftest* | 10994 rm -rf conftest* |
10956 eval "ac_cv_lib_$ac_lib_var=yes" | 10995 eval "ac_cv_lib_$ac_lib_var=yes" |
10957 else | 10996 else |
10958 echo "configure: failed program was:" >&5 | 10997 echo "configure: failed program was:" >&5 |
10959 cat conftest.$ac_ext >&5 | 10998 cat conftest.$ac_ext >&5 |
10973 | 11012 |
10974 | 11013 |
10975 if test "$have_motif $have_lesstif" = "yes no"; then | 11014 if test "$have_motif $have_lesstif" = "yes no"; then |
10976 | 11015 |
10977 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11016 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10978 echo "configure:10979: checking for XmImMbLookupString in -lXm" >&5 | 11017 echo "configure:11018: checking for XmImMbLookupString in -lXm" >&5 |
10979 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11018 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10980 | 11019 |
10981 xe_check_libs=" -lXm " | 11020 xe_check_libs=" -lXm " |
10982 cat > conftest.$ac_ext <<EOF | 11021 cat > conftest.$ac_ext <<EOF |
10983 #line 10984 "configure" | 11022 #line 11023 "configure" |
10984 #include "confdefs.h" | 11023 #include "confdefs.h" |
10985 /* Override any gcc2 internal prototype to avoid an error. */ | 11024 /* Override any gcc2 internal prototype to avoid an error. */ |
10986 /* We use char because int might match the return type of a gcc2 | 11025 /* We use char because int might match the return type of a gcc2 |
10987 builtin and then its argument prototype would still apply. */ | 11026 builtin and then its argument prototype would still apply. */ |
10988 char XmImMbLookupString(); | 11027 char XmImMbLookupString(); |
10989 | 11028 |
10990 int main() { | 11029 int main() { |
10991 XmImMbLookupString() | 11030 XmImMbLookupString() |
10992 ; return 0; } | 11031 ; return 0; } |
10993 EOF | 11032 EOF |
10994 if { (eval echo configure:10995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11033 if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10995 rm -rf conftest* | 11034 rm -rf conftest* |
10996 eval "ac_cv_lib_$ac_lib_var=yes" | 11035 eval "ac_cv_lib_$ac_lib_var=yes" |
10997 else | 11036 else |
10998 echo "configure: failed program was:" >&5 | 11037 echo "configure: failed program was:" >&5 |
10999 cat conftest.$ac_ext >&5 | 11038 cat conftest.$ac_ext >&5 |
11054 fi | 11093 fi |
11055 fi | 11094 fi |
11056 | 11095 |
11057 if test "$with_xfs" = "yes" ; then | 11096 if test "$with_xfs" = "yes" ; then |
11058 echo "checking for XFontSet" 1>&6 | 11097 echo "checking for XFontSet" 1>&6 |
11059 echo "configure:11060: checking for XFontSet" >&5 | 11098 echo "configure:11099: checking for XFontSet" >&5 |
11060 | 11099 |
11061 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11100 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11062 echo "configure:11063: checking for XmbDrawString in -lX11" >&5 | 11101 echo "configure:11102: checking for XmbDrawString in -lX11" >&5 |
11063 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11102 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11064 | 11103 |
11065 xe_check_libs=" -lX11 " | 11104 xe_check_libs=" -lX11 " |
11066 cat > conftest.$ac_ext <<EOF | 11105 cat > conftest.$ac_ext <<EOF |
11067 #line 11068 "configure" | 11106 #line 11107 "configure" |
11068 #include "confdefs.h" | 11107 #include "confdefs.h" |
11069 /* Override any gcc2 internal prototype to avoid an error. */ | 11108 /* Override any gcc2 internal prototype to avoid an error. */ |
11070 /* We use char because int might match the return type of a gcc2 | 11109 /* We use char because int might match the return type of a gcc2 |
11071 builtin and then its argument prototype would still apply. */ | 11110 builtin and then its argument prototype would still apply. */ |
11072 char XmbDrawString(); | 11111 char XmbDrawString(); |
11073 | 11112 |
11074 int main() { | 11113 int main() { |
11075 XmbDrawString() | 11114 XmbDrawString() |
11076 ; return 0; } | 11115 ; return 0; } |
11077 EOF | 11116 EOF |
11078 if { (eval echo configure:11079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11117 if { (eval echo configure:11118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11079 rm -rf conftest* | 11118 rm -rf conftest* |
11080 eval "ac_cv_lib_$ac_lib_var=yes" | 11119 eval "ac_cv_lib_$ac_lib_var=yes" |
11081 else | 11120 else |
11082 echo "configure: failed program was:" >&5 | 11121 echo "configure: failed program was:" >&5 |
11083 cat conftest.$ac_ext >&5 | 11122 cat conftest.$ac_ext >&5 |
11113 fi | 11152 fi |
11114 fi | 11153 fi |
11115 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11154 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11116 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11155 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11117 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11156 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11118 echo "configure:11119: checking for wnn/jllib.h" >&5 | 11157 echo "configure:11158: checking for wnn/jllib.h" >&5 |
11119 | 11158 |
11120 cat > conftest.$ac_ext <<EOF | 11159 cat > conftest.$ac_ext <<EOF |
11121 #line 11122 "configure" | 11160 #line 11161 "configure" |
11122 #include "confdefs.h" | 11161 #include "confdefs.h" |
11123 #include <wnn/jllib.h> | 11162 #include <wnn/jllib.h> |
11124 EOF | 11163 EOF |
11125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11126 { (eval echo configure:11127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11165 { (eval echo configure:11166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11128 if test -z "$ac_err"; then | 11167 if test -z "$ac_err"; then |
11129 rm -rf conftest* | 11168 rm -rf conftest* |
11130 eval "ac_cv_header_$ac_safe=yes" | 11169 eval "ac_cv_header_$ac_safe=yes" |
11131 else | 11170 else |
11144 with_wnn=no | 11183 with_wnn=no |
11145 fi | 11184 fi |
11146 } | 11185 } |
11147 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11186 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11148 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11187 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11149 echo "configure:11150: checking for wnn/commonhd.h" >&5 | 11188 echo "configure:11189: checking for wnn/commonhd.h" >&5 |
11150 | 11189 |
11151 cat > conftest.$ac_ext <<EOF | 11190 cat > conftest.$ac_ext <<EOF |
11152 #line 11153 "configure" | 11191 #line 11192 "configure" |
11153 #include "confdefs.h" | 11192 #include "confdefs.h" |
11154 #include <wnn/commonhd.h> | 11193 #include <wnn/commonhd.h> |
11155 EOF | 11194 EOF |
11156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11157 { (eval echo configure:11158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11196 { (eval echo configure:11197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11159 if test -z "$ac_err"; then | 11198 if test -z "$ac_err"; then |
11160 rm -rf conftest* | 11199 rm -rf conftest* |
11161 eval "ac_cv_header_$ac_safe=yes" | 11200 eval "ac_cv_header_$ac_safe=yes" |
11162 else | 11201 else |
11177 } | 11216 } |
11178 if test "$with_wnn" != "no"; then | 11217 if test "$with_wnn" != "no"; then |
11179 for ac_func in crypt | 11218 for ac_func in crypt |
11180 do | 11219 do |
11181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11182 echo "configure:11183: checking for $ac_func" >&5 | 11221 echo "configure:11222: checking for $ac_func" >&5 |
11183 | 11222 |
11184 cat > conftest.$ac_ext <<EOF | 11223 cat > conftest.$ac_ext <<EOF |
11185 #line 11186 "configure" | 11224 #line 11225 "configure" |
11186 #include "confdefs.h" | 11225 #include "confdefs.h" |
11187 /* System header to define __stub macros and hopefully few prototypes, | 11226 /* System header to define __stub macros and hopefully few prototypes, |
11188 which can conflict with char $ac_func(); below. */ | 11227 which can conflict with char $ac_func(); below. */ |
11189 #include <assert.h> | 11228 #include <assert.h> |
11190 /* Override any gcc2 internal prototype to avoid an error. */ | 11229 /* Override any gcc2 internal prototype to avoid an error. */ |
11203 $ac_func(); | 11242 $ac_func(); |
11204 #endif | 11243 #endif |
11205 | 11244 |
11206 ; return 0; } | 11245 ; return 0; } |
11207 EOF | 11246 EOF |
11208 if { (eval echo configure:11209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11247 if { (eval echo configure:11248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11209 rm -rf conftest* | 11248 rm -rf conftest* |
11210 eval "ac_cv_func_$ac_func=yes" | 11249 eval "ac_cv_func_$ac_func=yes" |
11211 else | 11250 else |
11212 echo "configure: failed program was:" >&5 | 11251 echo "configure: failed program was:" >&5 |
11213 cat conftest.$ac_ext >&5 | 11252 cat conftest.$ac_ext >&5 |
11232 fi | 11271 fi |
11233 done | 11272 done |
11234 | 11273 |
11235 test "$ac_cv_func_crypt" != "yes" && { | 11274 test "$ac_cv_func_crypt" != "yes" && { |
11236 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11275 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11237 echo "configure:11238: checking for crypt in -lcrypt" >&5 | 11276 echo "configure:11277: checking for crypt in -lcrypt" >&5 |
11238 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11277 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11239 | 11278 |
11240 xe_check_libs=" -lcrypt " | 11279 xe_check_libs=" -lcrypt " |
11241 cat > conftest.$ac_ext <<EOF | 11280 cat > conftest.$ac_ext <<EOF |
11242 #line 11243 "configure" | 11281 #line 11282 "configure" |
11243 #include "confdefs.h" | 11282 #include "confdefs.h" |
11244 /* Override any gcc2 internal prototype to avoid an error. */ | 11283 /* Override any gcc2 internal prototype to avoid an error. */ |
11245 /* We use char because int might match the return type of a gcc2 | 11284 /* We use char because int might match the return type of a gcc2 |
11246 builtin and then its argument prototype would still apply. */ | 11285 builtin and then its argument prototype would still apply. */ |
11247 char crypt(); | 11286 char crypt(); |
11248 | 11287 |
11249 int main() { | 11288 int main() { |
11250 crypt() | 11289 crypt() |
11251 ; return 0; } | 11290 ; return 0; } |
11252 EOF | 11291 EOF |
11253 if { (eval echo configure:11254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11292 if { (eval echo configure:11293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11254 rm -rf conftest* | 11293 rm -rf conftest* |
11255 eval "ac_cv_lib_$ac_lib_var=yes" | 11294 eval "ac_cv_lib_$ac_lib_var=yes" |
11256 else | 11295 else |
11257 echo "configure: failed program was:" >&5 | 11296 echo "configure: failed program was:" >&5 |
11258 cat conftest.$ac_ext >&5 | 11297 cat conftest.$ac_ext >&5 |
11283 } | 11322 } |
11284 fi | 11323 fi |
11285 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11324 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11286 | 11325 |
11287 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11326 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11288 echo "configure:11289: checking for jl_dic_list_e in -lwnn" >&5 | 11327 echo "configure:11328: checking for jl_dic_list_e in -lwnn" >&5 |
11289 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11328 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11290 | 11329 |
11291 xe_check_libs=" -lwnn " | 11330 xe_check_libs=" -lwnn " |
11292 cat > conftest.$ac_ext <<EOF | 11331 cat > conftest.$ac_ext <<EOF |
11293 #line 11294 "configure" | 11332 #line 11333 "configure" |
11294 #include "confdefs.h" | 11333 #include "confdefs.h" |
11295 /* Override any gcc2 internal prototype to avoid an error. */ | 11334 /* Override any gcc2 internal prototype to avoid an error. */ |
11296 /* We use char because int might match the return type of a gcc2 | 11335 /* We use char because int might match the return type of a gcc2 |
11297 builtin and then its argument prototype would still apply. */ | 11336 builtin and then its argument prototype would still apply. */ |
11298 char jl_dic_list_e(); | 11337 char jl_dic_list_e(); |
11299 | 11338 |
11300 int main() { | 11339 int main() { |
11301 jl_dic_list_e() | 11340 jl_dic_list_e() |
11302 ; return 0; } | 11341 ; return 0; } |
11303 EOF | 11342 EOF |
11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11343 if { (eval echo configure:11344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11305 rm -rf conftest* | 11344 rm -rf conftest* |
11306 eval "ac_cv_lib_$ac_lib_var=yes" | 11345 eval "ac_cv_lib_$ac_lib_var=yes" |
11307 else | 11346 else |
11308 echo "configure: failed program was:" >&5 | 11347 echo "configure: failed program was:" >&5 |
11309 cat conftest.$ac_ext >&5 | 11348 cat conftest.$ac_ext >&5 |
11317 echo "$ac_t""yes" 1>&6 | 11356 echo "$ac_t""yes" 1>&6 |
11318 libwnn=wnn | 11357 libwnn=wnn |
11319 else | 11358 else |
11320 echo "$ac_t""no" 1>&6 | 11359 echo "$ac_t""no" 1>&6 |
11321 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11360 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11322 echo "configure:11323: checking for jl_dic_list_e in -lwnn4" >&5 | 11361 echo "configure:11362: checking for jl_dic_list_e in -lwnn4" >&5 |
11323 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11362 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11324 | 11363 |
11325 xe_check_libs=" -lwnn4 " | 11364 xe_check_libs=" -lwnn4 " |
11326 cat > conftest.$ac_ext <<EOF | 11365 cat > conftest.$ac_ext <<EOF |
11327 #line 11328 "configure" | 11366 #line 11367 "configure" |
11328 #include "confdefs.h" | 11367 #include "confdefs.h" |
11329 /* Override any gcc2 internal prototype to avoid an error. */ | 11368 /* Override any gcc2 internal prototype to avoid an error. */ |
11330 /* We use char because int might match the return type of a gcc2 | 11369 /* We use char because int might match the return type of a gcc2 |
11331 builtin and then its argument prototype would still apply. */ | 11370 builtin and then its argument prototype would still apply. */ |
11332 char jl_dic_list_e(); | 11371 char jl_dic_list_e(); |
11333 | 11372 |
11334 int main() { | 11373 int main() { |
11335 jl_dic_list_e() | 11374 jl_dic_list_e() |
11336 ; return 0; } | 11375 ; return 0; } |
11337 EOF | 11376 EOF |
11338 if { (eval echo configure:11339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11377 if { (eval echo configure:11378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11339 rm -rf conftest* | 11378 rm -rf conftest* |
11340 eval "ac_cv_lib_$ac_lib_var=yes" | 11379 eval "ac_cv_lib_$ac_lib_var=yes" |
11341 else | 11380 else |
11342 echo "configure: failed program was:" >&5 | 11381 echo "configure: failed program was:" >&5 |
11343 cat conftest.$ac_ext >&5 | 11382 cat conftest.$ac_ext >&5 |
11351 echo "$ac_t""yes" 1>&6 | 11390 echo "$ac_t""yes" 1>&6 |
11352 libwnn=wnn4 | 11391 libwnn=wnn4 |
11353 else | 11392 else |
11354 echo "$ac_t""no" 1>&6 | 11393 echo "$ac_t""no" 1>&6 |
11355 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11394 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11356 echo "configure:11357: checking for jl_dic_list_e in -lwnn6" >&5 | 11395 echo "configure:11396: checking for jl_dic_list_e in -lwnn6" >&5 |
11357 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11396 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11358 | 11397 |
11359 xe_check_libs=" -lwnn6 " | 11398 xe_check_libs=" -lwnn6 " |
11360 cat > conftest.$ac_ext <<EOF | 11399 cat > conftest.$ac_ext <<EOF |
11361 #line 11362 "configure" | 11400 #line 11401 "configure" |
11362 #include "confdefs.h" | 11401 #include "confdefs.h" |
11363 /* Override any gcc2 internal prototype to avoid an error. */ | 11402 /* Override any gcc2 internal prototype to avoid an error. */ |
11364 /* We use char because int might match the return type of a gcc2 | 11403 /* We use char because int might match the return type of a gcc2 |
11365 builtin and then its argument prototype would still apply. */ | 11404 builtin and then its argument prototype would still apply. */ |
11366 char jl_dic_list_e(); | 11405 char jl_dic_list_e(); |
11367 | 11406 |
11368 int main() { | 11407 int main() { |
11369 jl_dic_list_e() | 11408 jl_dic_list_e() |
11370 ; return 0; } | 11409 ; return 0; } |
11371 EOF | 11410 EOF |
11372 if { (eval echo configure:11373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11411 if { (eval echo configure:11412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11373 rm -rf conftest* | 11412 rm -rf conftest* |
11374 eval "ac_cv_lib_$ac_lib_var=yes" | 11413 eval "ac_cv_lib_$ac_lib_var=yes" |
11375 else | 11414 else |
11376 echo "configure: failed program was:" >&5 | 11415 echo "configure: failed program was:" >&5 |
11377 cat conftest.$ac_ext >&5 | 11416 cat conftest.$ac_ext >&5 |
11385 echo "$ac_t""yes" 1>&6 | 11424 echo "$ac_t""yes" 1>&6 |
11386 libwnn=wnn6 | 11425 libwnn=wnn6 |
11387 else | 11426 else |
11388 echo "$ac_t""no" 1>&6 | 11427 echo "$ac_t""no" 1>&6 |
11389 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11428 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11390 echo "configure:11391: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11429 echo "configure:11430: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11391 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11430 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11392 | 11431 |
11393 xe_check_libs=" -lwnn6_fromsrc " | 11432 xe_check_libs=" -lwnn6_fromsrc " |
11394 cat > conftest.$ac_ext <<EOF | 11433 cat > conftest.$ac_ext <<EOF |
11395 #line 11396 "configure" | 11434 #line 11435 "configure" |
11396 #include "confdefs.h" | 11435 #include "confdefs.h" |
11397 /* Override any gcc2 internal prototype to avoid an error. */ | 11436 /* Override any gcc2 internal prototype to avoid an error. */ |
11398 /* We use char because int might match the return type of a gcc2 | 11437 /* We use char because int might match the return type of a gcc2 |
11399 builtin and then its argument prototype would still apply. */ | 11438 builtin and then its argument prototype would still apply. */ |
11400 char dic_list_e(); | 11439 char dic_list_e(); |
11401 | 11440 |
11402 int main() { | 11441 int main() { |
11403 dic_list_e() | 11442 dic_list_e() |
11404 ; return 0; } | 11443 ; return 0; } |
11405 EOF | 11444 EOF |
11406 if { (eval echo configure:11407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11445 if { (eval echo configure:11446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11407 rm -rf conftest* | 11446 rm -rf conftest* |
11408 eval "ac_cv_lib_$ac_lib_var=yes" | 11447 eval "ac_cv_lib_$ac_lib_var=yes" |
11409 else | 11448 else |
11410 echo "configure: failed program was:" >&5 | 11449 echo "configure: failed program was:" >&5 |
11411 cat conftest.$ac_ext >&5 | 11450 cat conftest.$ac_ext >&5 |
11446 | 11485 |
11447 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11486 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11448 if test "$with_wnn6" != "no"; then | 11487 if test "$with_wnn6" != "no"; then |
11449 | 11488 |
11450 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11489 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11451 echo "configure:11452: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11490 echo "configure:11491: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11452 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11491 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11453 | 11492 |
11454 xe_check_libs=" -l$libwnn " | 11493 xe_check_libs=" -l$libwnn " |
11455 cat > conftest.$ac_ext <<EOF | 11494 cat > conftest.$ac_ext <<EOF |
11456 #line 11457 "configure" | 11495 #line 11496 "configure" |
11457 #include "confdefs.h" | 11496 #include "confdefs.h" |
11458 /* Override any gcc2 internal prototype to avoid an error. */ | 11497 /* Override any gcc2 internal prototype to avoid an error. */ |
11459 /* We use char because int might match the return type of a gcc2 | 11498 /* We use char because int might match the return type of a gcc2 |
11460 builtin and then its argument prototype would still apply. */ | 11499 builtin and then its argument prototype would still apply. */ |
11461 char jl_fi_dic_list(); | 11500 char jl_fi_dic_list(); |
11462 | 11501 |
11463 int main() { | 11502 int main() { |
11464 jl_fi_dic_list() | 11503 jl_fi_dic_list() |
11465 ; return 0; } | 11504 ; return 0; } |
11466 EOF | 11505 EOF |
11467 if { (eval echo configure:11468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11506 if { (eval echo configure:11507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11468 rm -rf conftest* | 11507 rm -rf conftest* |
11469 eval "ac_cv_lib_$ac_lib_var=yes" | 11508 eval "ac_cv_lib_$ac_lib_var=yes" |
11470 else | 11509 else |
11471 echo "configure: failed program was:" >&5 | 11510 echo "configure: failed program was:" >&5 |
11472 cat conftest.$ac_ext >&5 | 11511 cat conftest.$ac_ext >&5 |
11497 | 11536 |
11498 canna_includes_found=no | 11537 canna_includes_found=no |
11499 if test "$with_canna" != "no"; then | 11538 if test "$with_canna" != "no"; then |
11500 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11539 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11501 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11540 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11502 echo "configure:11503: checking for canna/jrkanji.h" >&5 | 11541 echo "configure:11542: checking for canna/jrkanji.h" >&5 |
11503 | 11542 |
11504 cat > conftest.$ac_ext <<EOF | 11543 cat > conftest.$ac_ext <<EOF |
11505 #line 11506 "configure" | 11544 #line 11545 "configure" |
11506 #include "confdefs.h" | 11545 #include "confdefs.h" |
11507 #include <canna/jrkanji.h> | 11546 #include <canna/jrkanji.h> |
11508 EOF | 11547 EOF |
11509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11510 { (eval echo configure:11511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11549 { (eval echo configure:11550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11512 if test -z "$ac_err"; then | 11551 if test -z "$ac_err"; then |
11513 rm -rf conftest* | 11552 rm -rf conftest* |
11514 eval "ac_cv_header_$ac_safe=yes" | 11553 eval "ac_cv_header_$ac_safe=yes" |
11515 else | 11554 else |
11532 -d "/usr/local/canna/include"; then | 11571 -d "/usr/local/canna/include"; then |
11533 save_c_switch_site="$c_switch_site" | 11572 save_c_switch_site="$c_switch_site" |
11534 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11573 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11535 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11574 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11536 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11575 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11537 echo "configure:11538: checking for canna/jrkanji.h" >&5 | 11576 echo "configure:11577: checking for canna/jrkanji.h" >&5 |
11538 | 11577 |
11539 cat > conftest.$ac_ext <<EOF | 11578 cat > conftest.$ac_ext <<EOF |
11540 #line 11541 "configure" | 11579 #line 11580 "configure" |
11541 #include "confdefs.h" | 11580 #include "confdefs.h" |
11542 #include <canna/jrkanji.h> | 11581 #include <canna/jrkanji.h> |
11543 EOF | 11582 EOF |
11544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11545 { (eval echo configure:11546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11584 { (eval echo configure:11585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11547 if test -z "$ac_err"; then | 11586 if test -z "$ac_err"; then |
11548 rm -rf conftest* | 11587 rm -rf conftest* |
11549 eval "ac_cv_header_$ac_safe=yes" | 11588 eval "ac_cv_header_$ac_safe=yes" |
11550 else | 11589 else |
11568 fi | 11607 fi |
11569 fi | 11608 fi |
11570 | 11609 |
11571 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11610 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11572 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11611 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11573 echo "configure:11574: checking for canna/RK.h" >&5 | 11612 echo "configure:11613: checking for canna/RK.h" >&5 |
11574 | 11613 |
11575 cat > conftest.$ac_ext <<EOF | 11614 cat > conftest.$ac_ext <<EOF |
11576 #line 11577 "configure" | 11615 #line 11616 "configure" |
11577 #include "confdefs.h" | 11616 #include "confdefs.h" |
11578 #include <canna/RK.h> | 11617 #include <canna/RK.h> |
11579 EOF | 11618 EOF |
11580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11581 { (eval echo configure:11582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11620 { (eval echo configure:11621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11582 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11583 if test -z "$ac_err"; then | 11622 if test -z "$ac_err"; then |
11584 rm -rf conftest* | 11623 rm -rf conftest* |
11585 eval "ac_cv_header_$ac_safe=yes" | 11624 eval "ac_cv_header_$ac_safe=yes" |
11586 else | 11625 else |
11599 with_canna=no | 11638 with_canna=no |
11600 fi | 11639 fi |
11601 } | 11640 } |
11602 test -z "$with_canna" && { | 11641 test -z "$with_canna" && { |
11603 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11642 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11604 echo "configure:11605: checking for RkBgnBun in -lRKC" >&5 | 11643 echo "configure:11644: checking for RkBgnBun in -lRKC" >&5 |
11605 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11644 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11606 | 11645 |
11607 xe_check_libs=" -lRKC " | 11646 xe_check_libs=" -lRKC " |
11608 cat > conftest.$ac_ext <<EOF | 11647 cat > conftest.$ac_ext <<EOF |
11609 #line 11610 "configure" | 11648 #line 11649 "configure" |
11610 #include "confdefs.h" | 11649 #include "confdefs.h" |
11611 /* Override any gcc2 internal prototype to avoid an error. */ | 11650 /* Override any gcc2 internal prototype to avoid an error. */ |
11612 /* We use char because int might match the return type of a gcc2 | 11651 /* We use char because int might match the return type of a gcc2 |
11613 builtin and then its argument prototype would still apply. */ | 11652 builtin and then its argument prototype would still apply. */ |
11614 char RkBgnBun(); | 11653 char RkBgnBun(); |
11615 | 11654 |
11616 int main() { | 11655 int main() { |
11617 RkBgnBun() | 11656 RkBgnBun() |
11618 ; return 0; } | 11657 ; return 0; } |
11619 EOF | 11658 EOF |
11620 if { (eval echo configure:11621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11659 if { (eval echo configure:11660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11621 rm -rf conftest* | 11660 rm -rf conftest* |
11622 eval "ac_cv_lib_$ac_lib_var=yes" | 11661 eval "ac_cv_lib_$ac_lib_var=yes" |
11623 else | 11662 else |
11624 echo "configure: failed program was:" >&5 | 11663 echo "configure: failed program was:" >&5 |
11625 cat conftest.$ac_ext >&5 | 11664 cat conftest.$ac_ext >&5 |
11638 fi | 11677 fi |
11639 | 11678 |
11640 } | 11679 } |
11641 test -z "$with_canna" && { | 11680 test -z "$with_canna" && { |
11642 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11681 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11643 echo "configure:11644: checking for jrKanjiControl in -lcanna" >&5 | 11682 echo "configure:11683: checking for jrKanjiControl in -lcanna" >&5 |
11644 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11683 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11645 | 11684 |
11646 xe_check_libs=" -lcanna " | 11685 xe_check_libs=" -lcanna " |
11647 cat > conftest.$ac_ext <<EOF | 11686 cat > conftest.$ac_ext <<EOF |
11648 #line 11649 "configure" | 11687 #line 11688 "configure" |
11649 #include "confdefs.h" | 11688 #include "confdefs.h" |
11650 /* Override any gcc2 internal prototype to avoid an error. */ | 11689 /* Override any gcc2 internal prototype to avoid an error. */ |
11651 /* We use char because int might match the return type of a gcc2 | 11690 /* We use char because int might match the return type of a gcc2 |
11652 builtin and then its argument prototype would still apply. */ | 11691 builtin and then its argument prototype would still apply. */ |
11653 char jrKanjiControl(); | 11692 char jrKanjiControl(); |
11654 | 11693 |
11655 int main() { | 11694 int main() { |
11656 jrKanjiControl() | 11695 jrKanjiControl() |
11657 ; return 0; } | 11696 ; return 0; } |
11658 EOF | 11697 EOF |
11659 if { (eval echo configure:11660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11698 if { (eval echo configure:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11660 rm -rf conftest* | 11699 rm -rf conftest* |
11661 eval "ac_cv_lib_$ac_lib_var=yes" | 11700 eval "ac_cv_lib_$ac_lib_var=yes" |
11662 else | 11701 else |
11663 echo "configure: failed program was:" >&5 | 11702 echo "configure: failed program was:" >&5 |
11664 cat conftest.$ac_ext >&5 | 11703 cat conftest.$ac_ext >&5 |
11700 | 11739 |
11701 if test "$need_motif" = "yes" ; then | 11740 if test "$need_motif" = "yes" ; then |
11702 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11741 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11703 | 11742 |
11704 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11743 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11705 echo "configure:11706: checking for layout_object_getvalue in -li18n" >&5 | 11744 echo "configure:11745: checking for layout_object_getvalue in -li18n" >&5 |
11706 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11745 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11707 | 11746 |
11708 xe_check_libs=" -li18n " | 11747 xe_check_libs=" -li18n " |
11709 cat > conftest.$ac_ext <<EOF | 11748 cat > conftest.$ac_ext <<EOF |
11710 #line 11711 "configure" | 11749 #line 11750 "configure" |
11711 #include "confdefs.h" | 11750 #include "confdefs.h" |
11712 /* Override any gcc2 internal prototype to avoid an error. */ | 11751 /* Override any gcc2 internal prototype to avoid an error. */ |
11713 /* We use char because int might match the return type of a gcc2 | 11752 /* We use char because int might match the return type of a gcc2 |
11714 builtin and then its argument prototype would still apply. */ | 11753 builtin and then its argument prototype would still apply. */ |
11715 char layout_object_getvalue(); | 11754 char layout_object_getvalue(); |
11716 | 11755 |
11717 int main() { | 11756 int main() { |
11718 layout_object_getvalue() | 11757 layout_object_getvalue() |
11719 ; return 0; } | 11758 ; return 0; } |
11720 EOF | 11759 EOF |
11721 if { (eval echo configure:11722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11760 if { (eval echo configure:11761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11722 rm -rf conftest* | 11761 rm -rf conftest* |
11723 eval "ac_cv_lib_$ac_lib_var=yes" | 11762 eval "ac_cv_lib_$ac_lib_var=yes" |
11724 else | 11763 else |
11725 echo "configure: failed program was:" >&5 | 11764 echo "configure: failed program was:" >&5 |
11726 cat conftest.$ac_ext >&5 | 11765 cat conftest.$ac_ext >&5 |
11803 | 11842 |
11804 | 11843 |
11805 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 | 11844 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 |
11806 do | 11845 do |
11807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11808 echo "configure:11809: checking for $ac_func" >&5 | 11847 echo "configure:11848: checking for $ac_func" >&5 |
11809 | 11848 |
11810 cat > conftest.$ac_ext <<EOF | 11849 cat > conftest.$ac_ext <<EOF |
11811 #line 11812 "configure" | 11850 #line 11851 "configure" |
11812 #include "confdefs.h" | 11851 #include "confdefs.h" |
11813 /* System header to define __stub macros and hopefully few prototypes, | 11852 /* System header to define __stub macros and hopefully few prototypes, |
11814 which can conflict with char $ac_func(); below. */ | 11853 which can conflict with char $ac_func(); below. */ |
11815 #include <assert.h> | 11854 #include <assert.h> |
11816 /* Override any gcc2 internal prototype to avoid an error. */ | 11855 /* Override any gcc2 internal prototype to avoid an error. */ |
11829 $ac_func(); | 11868 $ac_func(); |
11830 #endif | 11869 #endif |
11831 | 11870 |
11832 ; return 0; } | 11871 ; return 0; } |
11833 EOF | 11872 EOF |
11834 if { (eval echo configure:11835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11873 if { (eval echo configure:11874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11835 rm -rf conftest* | 11874 rm -rf conftest* |
11836 eval "ac_cv_func_$ac_func=yes" | 11875 eval "ac_cv_func_$ac_func=yes" |
11837 else | 11876 else |
11838 echo "configure: failed program was:" >&5 | 11877 echo "configure: failed program was:" >&5 |
11839 cat conftest.$ac_ext >&5 | 11878 cat conftest.$ac_ext >&5 |
11870 | 11909 |
11871 | 11910 |
11872 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11911 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11873 do | 11912 do |
11874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11875 echo "configure:11876: checking for $ac_func" >&5 | 11914 echo "configure:11915: checking for $ac_func" >&5 |
11876 | 11915 |
11877 cat > conftest.$ac_ext <<EOF | 11916 cat > conftest.$ac_ext <<EOF |
11878 #line 11879 "configure" | 11917 #line 11918 "configure" |
11879 #include "confdefs.h" | 11918 #include "confdefs.h" |
11880 /* System header to define __stub macros and hopefully few prototypes, | 11919 /* System header to define __stub macros and hopefully few prototypes, |
11881 which can conflict with char $ac_func(); below. */ | 11920 which can conflict with char $ac_func(); below. */ |
11882 #include <assert.h> | 11921 #include <assert.h> |
11883 /* Override any gcc2 internal prototype to avoid an error. */ | 11922 /* Override any gcc2 internal prototype to avoid an error. */ |
11896 $ac_func(); | 11935 $ac_func(); |
11897 #endif | 11936 #endif |
11898 | 11937 |
11899 ; return 0; } | 11938 ; return 0; } |
11900 EOF | 11939 EOF |
11901 if { (eval echo configure:11902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11940 if { (eval echo configure:11941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11902 rm -rf conftest* | 11941 rm -rf conftest* |
11903 eval "ac_cv_func_$ac_func=yes" | 11942 eval "ac_cv_func_$ac_func=yes" |
11904 else | 11943 else |
11905 echo "configure: failed program was:" >&5 | 11944 echo "configure: failed program was:" >&5 |
11906 cat conftest.$ac_ext >&5 | 11945 cat conftest.$ac_ext >&5 |
11925 fi | 11964 fi |
11926 done | 11965 done |
11927 | 11966 |
11928 | 11967 |
11929 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11968 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11930 echo "configure:11931: checking for openpty" >&5 | 11969 echo "configure:11970: checking for openpty" >&5 |
11931 | 11970 |
11932 cat > conftest.$ac_ext <<EOF | 11971 cat > conftest.$ac_ext <<EOF |
11933 #line 11934 "configure" | 11972 #line 11973 "configure" |
11934 #include "confdefs.h" | 11973 #include "confdefs.h" |
11935 /* System header to define __stub macros and hopefully few prototypes, | 11974 /* System header to define __stub macros and hopefully few prototypes, |
11936 which can conflict with char openpty(); below. */ | 11975 which can conflict with char openpty(); below. */ |
11937 #include <assert.h> | 11976 #include <assert.h> |
11938 /* Override any gcc2 internal prototype to avoid an error. */ | 11977 /* Override any gcc2 internal prototype to avoid an error. */ |
11951 openpty(); | 11990 openpty(); |
11952 #endif | 11991 #endif |
11953 | 11992 |
11954 ; return 0; } | 11993 ; return 0; } |
11955 EOF | 11994 EOF |
11956 if { (eval echo configure:11957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11995 if { (eval echo configure:11996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11957 rm -rf conftest* | 11996 rm -rf conftest* |
11958 eval "ac_cv_func_openpty=yes" | 11997 eval "ac_cv_func_openpty=yes" |
11959 else | 11998 else |
11960 echo "configure: failed program was:" >&5 | 11999 echo "configure: failed program was:" >&5 |
11961 cat conftest.$ac_ext >&5 | 12000 cat conftest.$ac_ext >&5 |
11970 else | 12009 else |
11971 echo "$ac_t""no" 1>&6 | 12010 echo "$ac_t""no" 1>&6 |
11972 | 12011 |
11973 | 12012 |
11974 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12013 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11975 echo "configure:11976: checking for openpty in -lutil" >&5 | 12014 echo "configure:12015: checking for openpty in -lutil" >&5 |
11976 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12015 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11977 | 12016 |
11978 xe_check_libs=" -lutil " | 12017 xe_check_libs=" -lutil " |
11979 cat > conftest.$ac_ext <<EOF | 12018 cat > conftest.$ac_ext <<EOF |
11980 #line 11981 "configure" | 12019 #line 12020 "configure" |
11981 #include "confdefs.h" | 12020 #include "confdefs.h" |
11982 /* Override any gcc2 internal prototype to avoid an error. */ | 12021 /* Override any gcc2 internal prototype to avoid an error. */ |
11983 /* We use char because int might match the return type of a gcc2 | 12022 /* We use char because int might match the return type of a gcc2 |
11984 builtin and then its argument prototype would still apply. */ | 12023 builtin and then its argument prototype would still apply. */ |
11985 char openpty(); | 12024 char openpty(); |
11986 | 12025 |
11987 int main() { | 12026 int main() { |
11988 openpty() | 12027 openpty() |
11989 ; return 0; } | 12028 ; return 0; } |
11990 EOF | 12029 EOF |
11991 if { (eval echo configure:11992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12030 if { (eval echo configure:12031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11992 rm -rf conftest* | 12031 rm -rf conftest* |
11993 eval "ac_cv_lib_$ac_lib_var=yes" | 12032 eval "ac_cv_lib_$ac_lib_var=yes" |
11994 else | 12033 else |
11995 echo "configure: failed program was:" >&5 | 12034 echo "configure: failed program was:" >&5 |
11996 cat conftest.$ac_ext >&5 | 12035 cat conftest.$ac_ext >&5 |
12021 | 12060 |
12022 for ac_hdr in libutil.h util.h | 12061 for ac_hdr in libutil.h util.h |
12023 do | 12062 do |
12024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12064 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12026 echo "configure:12027: checking for $ac_hdr" >&5 | 12065 echo "configure:12066: checking for $ac_hdr" >&5 |
12027 | 12066 |
12028 cat > conftest.$ac_ext <<EOF | 12067 cat > conftest.$ac_ext <<EOF |
12029 #line 12030 "configure" | 12068 #line 12069 "configure" |
12030 #include "confdefs.h" | 12069 #include "confdefs.h" |
12031 #include <$ac_hdr> | 12070 #include <$ac_hdr> |
12032 EOF | 12071 EOF |
12033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12034 { (eval echo configure:12035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12073 { (eval echo configure:12074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12036 if test -z "$ac_err"; then | 12075 if test -z "$ac_err"; then |
12037 rm -rf conftest* | 12076 rm -rf conftest* |
12038 eval "ac_cv_header_$ac_safe=yes" | 12077 eval "ac_cv_header_$ac_safe=yes" |
12039 else | 12078 else |
12066 case "$opsys" in | 12105 case "$opsys" in |
12067 hpux*) for ac_hdr in sys/ptyio.h | 12106 hpux*) for ac_hdr in sys/ptyio.h |
12068 do | 12107 do |
12069 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12070 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12071 echo "configure:12072: checking for $ac_hdr" >&5 | 12110 echo "configure:12111: checking for $ac_hdr" >&5 |
12072 | 12111 |
12073 cat > conftest.$ac_ext <<EOF | 12112 cat > conftest.$ac_ext <<EOF |
12074 #line 12075 "configure" | 12113 #line 12114 "configure" |
12075 #include "confdefs.h" | 12114 #include "confdefs.h" |
12076 #include <$ac_hdr> | 12115 #include <$ac_hdr> |
12077 EOF | 12116 EOF |
12078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12079 { (eval echo configure:12080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12118 { (eval echo configure:12119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12081 if test -z "$ac_err"; then | 12120 if test -z "$ac_err"; then |
12082 rm -rf conftest* | 12121 rm -rf conftest* |
12083 eval "ac_cv_header_$ac_safe=yes" | 12122 eval "ac_cv_header_$ac_safe=yes" |
12084 else | 12123 else |
12107 ;; | 12146 ;; |
12108 *) for ac_hdr in pty.h | 12147 *) for ac_hdr in pty.h |
12109 do | 12148 do |
12110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12149 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12112 echo "configure:12113: checking for $ac_hdr" >&5 | 12151 echo "configure:12152: checking for $ac_hdr" >&5 |
12113 | 12152 |
12114 cat > conftest.$ac_ext <<EOF | 12153 cat > conftest.$ac_ext <<EOF |
12115 #line 12116 "configure" | 12154 #line 12155 "configure" |
12116 #include "confdefs.h" | 12155 #include "confdefs.h" |
12117 #include <$ac_hdr> | 12156 #include <$ac_hdr> |
12118 EOF | 12157 EOF |
12119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12120 { (eval echo configure:12121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12159 { (eval echo configure:12160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12122 if test -z "$ac_err"; then | 12161 if test -z "$ac_err"; then |
12123 rm -rf conftest* | 12162 rm -rf conftest* |
12124 eval "ac_cv_header_$ac_safe=yes" | 12163 eval "ac_cv_header_$ac_safe=yes" |
12125 else | 12164 else |
12148 | 12187 |
12149 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12188 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12150 do | 12189 do |
12151 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12152 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12153 echo "configure:12154: checking for $ac_hdr" >&5 | 12192 echo "configure:12193: checking for $ac_hdr" >&5 |
12154 | 12193 |
12155 cat > conftest.$ac_ext <<EOF | 12194 cat > conftest.$ac_ext <<EOF |
12156 #line 12157 "configure" | 12195 #line 12196 "configure" |
12157 #include "confdefs.h" | 12196 #include "confdefs.h" |
12158 #include <$ac_hdr> | 12197 #include <$ac_hdr> |
12159 EOF | 12198 EOF |
12160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12161 { (eval echo configure:12162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12200 { (eval echo configure:12201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12163 if test -z "$ac_err"; then | 12202 if test -z "$ac_err"; then |
12164 rm -rf conftest* | 12203 rm -rf conftest* |
12165 eval "ac_cv_header_$ac_safe=yes" | 12204 eval "ac_cv_header_$ac_safe=yes" |
12166 else | 12205 else |
12192 | 12231 |
12193 for ac_hdr in stropts.h | 12232 for ac_hdr in stropts.h |
12194 do | 12233 do |
12195 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12234 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12197 echo "configure:12198: checking for $ac_hdr" >&5 | 12236 echo "configure:12237: checking for $ac_hdr" >&5 |
12198 | 12237 |
12199 cat > conftest.$ac_ext <<EOF | 12238 cat > conftest.$ac_ext <<EOF |
12200 #line 12201 "configure" | 12239 #line 12240 "configure" |
12201 #include "confdefs.h" | 12240 #include "confdefs.h" |
12202 #include <$ac_hdr> | 12241 #include <$ac_hdr> |
12203 EOF | 12242 EOF |
12204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12205 { (eval echo configure:12206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12244 { (eval echo configure:12245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12207 if test -z "$ac_err"; then | 12246 if test -z "$ac_err"; then |
12208 rm -rf conftest* | 12247 rm -rf conftest* |
12209 eval "ac_cv_header_$ac_safe=yes" | 12248 eval "ac_cv_header_$ac_safe=yes" |
12210 else | 12249 else |
12233 | 12272 |
12234 if test "$ac_cv_header_stropts_h" = "yes"; then | 12273 if test "$ac_cv_header_stropts_h" = "yes"; then |
12235 for ac_func in isastream | 12274 for ac_func in isastream |
12236 do | 12275 do |
12237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12238 echo "configure:12239: checking for $ac_func" >&5 | 12277 echo "configure:12278: checking for $ac_func" >&5 |
12239 | 12278 |
12240 cat > conftest.$ac_ext <<EOF | 12279 cat > conftest.$ac_ext <<EOF |
12241 #line 12242 "configure" | 12280 #line 12281 "configure" |
12242 #include "confdefs.h" | 12281 #include "confdefs.h" |
12243 /* System header to define __stub macros and hopefully few prototypes, | 12282 /* System header to define __stub macros and hopefully few prototypes, |
12244 which can conflict with char $ac_func(); below. */ | 12283 which can conflict with char $ac_func(); below. */ |
12245 #include <assert.h> | 12284 #include <assert.h> |
12246 /* Override any gcc2 internal prototype to avoid an error. */ | 12285 /* Override any gcc2 internal prototype to avoid an error. */ |
12259 $ac_func(); | 12298 $ac_func(); |
12260 #endif | 12299 #endif |
12261 | 12300 |
12262 ; return 0; } | 12301 ; return 0; } |
12263 EOF | 12302 EOF |
12264 if { (eval echo configure:12265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12303 if { (eval echo configure:12304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12265 rm -rf conftest* | 12304 rm -rf conftest* |
12266 eval "ac_cv_func_$ac_func=yes" | 12305 eval "ac_cv_func_$ac_func=yes" |
12267 else | 12306 else |
12268 echo "configure: failed program was:" >&5 | 12307 echo "configure: failed program was:" >&5 |
12269 cat conftest.$ac_ext >&5 | 12308 cat conftest.$ac_ext >&5 |
12290 | 12329 |
12291 for ac_hdr in strtio.h | 12330 for ac_hdr in strtio.h |
12292 do | 12331 do |
12293 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12295 echo "configure:12296: checking for $ac_hdr" >&5 | 12334 echo "configure:12335: checking for $ac_hdr" >&5 |
12296 | 12335 |
12297 cat > conftest.$ac_ext <<EOF | 12336 cat > conftest.$ac_ext <<EOF |
12298 #line 12299 "configure" | 12337 #line 12338 "configure" |
12299 #include "confdefs.h" | 12338 #include "confdefs.h" |
12300 #include <$ac_hdr> | 12339 #include <$ac_hdr> |
12301 EOF | 12340 EOF |
12302 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" |
12303 { (eval echo configure:12304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12342 { (eval echo configure:12343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12305 if test -z "$ac_err"; then | 12344 if test -z "$ac_err"; then |
12306 rm -rf conftest* | 12345 rm -rf conftest* |
12307 eval "ac_cv_header_$ac_safe=yes" | 12346 eval "ac_cv_header_$ac_safe=yes" |
12308 else | 12347 else |
12331 fi | 12370 fi |
12332 | 12371 |
12333 for ac_func in getloadavg | 12372 for ac_func in getloadavg |
12334 do | 12373 do |
12335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12336 echo "configure:12337: checking for $ac_func" >&5 | 12375 echo "configure:12376: checking for $ac_func" >&5 |
12337 | 12376 |
12338 cat > conftest.$ac_ext <<EOF | 12377 cat > conftest.$ac_ext <<EOF |
12339 #line 12340 "configure" | 12378 #line 12379 "configure" |
12340 #include "confdefs.h" | 12379 #include "confdefs.h" |
12341 /* System header to define __stub macros and hopefully few prototypes, | 12380 /* System header to define __stub macros and hopefully few prototypes, |
12342 which can conflict with char $ac_func(); below. */ | 12381 which can conflict with char $ac_func(); below. */ |
12343 #include <assert.h> | 12382 #include <assert.h> |
12344 /* Override any gcc2 internal prototype to avoid an error. */ | 12383 /* Override any gcc2 internal prototype to avoid an error. */ |
12357 $ac_func(); | 12396 $ac_func(); |
12358 #endif | 12397 #endif |
12359 | 12398 |
12360 ; return 0; } | 12399 ; return 0; } |
12361 EOF | 12400 EOF |
12362 if { (eval echo configure:12363: \"$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 |
12363 rm -rf conftest* | 12402 rm -rf conftest* |
12364 eval "ac_cv_func_$ac_func=yes" | 12403 eval "ac_cv_func_$ac_func=yes" |
12365 else | 12404 else |
12366 echo "configure: failed program was:" >&5 | 12405 echo "configure: failed program was:" >&5 |
12367 cat conftest.$ac_ext >&5 | 12406 cat conftest.$ac_ext >&5 |
12390 if test "$ac_cv_func_getloadavg" = "yes"; then | 12429 if test "$ac_cv_func_getloadavg" = "yes"; then |
12391 for ac_hdr in sys/loadavg.h | 12430 for ac_hdr in sys/loadavg.h |
12392 do | 12431 do |
12393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12432 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12433 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12395 echo "configure:12396: checking for $ac_hdr" >&5 | 12434 echo "configure:12435: checking for $ac_hdr" >&5 |
12396 | 12435 |
12397 cat > conftest.$ac_ext <<EOF | 12436 cat > conftest.$ac_ext <<EOF |
12398 #line 12399 "configure" | 12437 #line 12438 "configure" |
12399 #include "confdefs.h" | 12438 #include "confdefs.h" |
12400 #include <$ac_hdr> | 12439 #include <$ac_hdr> |
12401 EOF | 12440 EOF |
12402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12403 { (eval echo configure:12404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12442 { (eval echo configure:12443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12405 if test -z "$ac_err"; then | 12444 if test -z "$ac_err"; then |
12406 rm -rf conftest* | 12445 rm -rf conftest* |
12407 eval "ac_cv_header_$ac_safe=yes" | 12446 eval "ac_cv_header_$ac_safe=yes" |
12408 else | 12447 else |
12434 echo " xemacs will be linked with \"getloadavg.o\"" | 12473 echo " xemacs will be linked with \"getloadavg.o\"" |
12435 fi | 12474 fi |
12436 | 12475 |
12437 | 12476 |
12438 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12477 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12439 echo "configure:12440: checking for kstat_open in -lkstat" >&5 | 12478 echo "configure:12479: checking for kstat_open in -lkstat" >&5 |
12440 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12479 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12441 | 12480 |
12442 xe_check_libs=" -lkstat " | 12481 xe_check_libs=" -lkstat " |
12443 cat > conftest.$ac_ext <<EOF | 12482 cat > conftest.$ac_ext <<EOF |
12444 #line 12445 "configure" | 12483 #line 12484 "configure" |
12445 #include "confdefs.h" | 12484 #include "confdefs.h" |
12446 /* Override any gcc2 internal prototype to avoid an error. */ | 12485 /* Override any gcc2 internal prototype to avoid an error. */ |
12447 /* We use char because int might match the return type of a gcc2 | 12486 /* We use char because int might match the return type of a gcc2 |
12448 builtin and then its argument prototype would still apply. */ | 12487 builtin and then its argument prototype would still apply. */ |
12449 char kstat_open(); | 12488 char kstat_open(); |
12450 | 12489 |
12451 int main() { | 12490 int main() { |
12452 kstat_open() | 12491 kstat_open() |
12453 ; return 0; } | 12492 ; return 0; } |
12454 EOF | 12493 EOF |
12455 if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12494 if { (eval echo configure:12495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12456 rm -rf conftest* | 12495 rm -rf conftest* |
12457 eval "ac_cv_lib_$ac_lib_var=yes" | 12496 eval "ac_cv_lib_$ac_lib_var=yes" |
12458 else | 12497 else |
12459 echo "configure: failed program was:" >&5 | 12498 echo "configure: failed program was:" >&5 |
12460 cat conftest.$ac_ext >&5 | 12499 cat conftest.$ac_ext >&5 |
12485 | 12524 |
12486 for ac_hdr in kstat.h | 12525 for ac_hdr in kstat.h |
12487 do | 12526 do |
12488 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12527 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12489 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12528 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12490 echo "configure:12491: checking for $ac_hdr" >&5 | 12529 echo "configure:12530: checking for $ac_hdr" >&5 |
12491 | 12530 |
12492 cat > conftest.$ac_ext <<EOF | 12531 cat > conftest.$ac_ext <<EOF |
12493 #line 12494 "configure" | 12532 #line 12533 "configure" |
12494 #include "confdefs.h" | 12533 #include "confdefs.h" |
12495 #include <$ac_hdr> | 12534 #include <$ac_hdr> |
12496 EOF | 12535 EOF |
12497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12498 { (eval echo configure:12499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12537 { (eval echo configure:12538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12500 if test -z "$ac_err"; then | 12539 if test -z "$ac_err"; then |
12501 rm -rf conftest* | 12540 rm -rf conftest* |
12502 eval "ac_cv_header_$ac_safe=yes" | 12541 eval "ac_cv_header_$ac_safe=yes" |
12503 else | 12542 else |
12525 done | 12564 done |
12526 | 12565 |
12527 | 12566 |
12528 | 12567 |
12529 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12568 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12530 echo "configure:12531: checking for kvm_read in -lkvm" >&5 | 12569 echo "configure:12570: checking for kvm_read in -lkvm" >&5 |
12531 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12570 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12532 | 12571 |
12533 xe_check_libs=" -lkvm " | 12572 xe_check_libs=" -lkvm " |
12534 cat > conftest.$ac_ext <<EOF | 12573 cat > conftest.$ac_ext <<EOF |
12535 #line 12536 "configure" | 12574 #line 12575 "configure" |
12536 #include "confdefs.h" | 12575 #include "confdefs.h" |
12537 /* Override any gcc2 internal prototype to avoid an error. */ | 12576 /* Override any gcc2 internal prototype to avoid an error. */ |
12538 /* We use char because int might match the return type of a gcc2 | 12577 /* We use char because int might match the return type of a gcc2 |
12539 builtin and then its argument prototype would still apply. */ | 12578 builtin and then its argument prototype would still apply. */ |
12540 char kvm_read(); | 12579 char kvm_read(); |
12541 | 12580 |
12542 int main() { | 12581 int main() { |
12543 kvm_read() | 12582 kvm_read() |
12544 ; return 0; } | 12583 ; return 0; } |
12545 EOF | 12584 EOF |
12546 if { (eval echo configure:12547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12585 if { (eval echo configure:12586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12547 rm -rf conftest* | 12586 rm -rf conftest* |
12548 eval "ac_cv_lib_$ac_lib_var=yes" | 12587 eval "ac_cv_lib_$ac_lib_var=yes" |
12549 else | 12588 else |
12550 echo "configure: failed program was:" >&5 | 12589 echo "configure: failed program was:" >&5 |
12551 cat conftest.$ac_ext >&5 | 12590 cat conftest.$ac_ext >&5 |
12575 | 12614 |
12576 | 12615 |
12577 fi | 12616 fi |
12578 | 12617 |
12579 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12618 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12580 echo "configure:12581: checking whether netdb declares h_errno" >&5 | 12619 echo "configure:12620: checking whether netdb declares h_errno" >&5 |
12581 cat > conftest.$ac_ext <<EOF | 12620 cat > conftest.$ac_ext <<EOF |
12582 #line 12583 "configure" | 12621 #line 12622 "configure" |
12583 #include "confdefs.h" | 12622 #include "confdefs.h" |
12584 #include <netdb.h> | 12623 #include <netdb.h> |
12585 int main() { | 12624 int main() { |
12586 return h_errno; | 12625 return h_errno; |
12587 ; return 0; } | 12626 ; return 0; } |
12588 EOF | 12627 EOF |
12589 if { (eval echo configure:12590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12628 if { (eval echo configure:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12590 rm -rf conftest* | 12629 rm -rf conftest* |
12591 echo "$ac_t""yes" 1>&6 | 12630 echo "$ac_t""yes" 1>&6 |
12592 { test "$extra_verbose" = "yes" && cat << \EOF | 12631 { test "$extra_verbose" = "yes" && cat << \EOF |
12593 Defining HAVE_H_ERRNO | 12632 Defining HAVE_H_ERRNO |
12594 EOF | 12633 EOF |
12604 echo "$ac_t""no" 1>&6 | 12643 echo "$ac_t""no" 1>&6 |
12605 fi | 12644 fi |
12606 rm -f conftest* | 12645 rm -f conftest* |
12607 | 12646 |
12608 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12647 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12609 echo "configure:12610: checking for sigsetjmp" >&5 | 12648 echo "configure:12649: checking for sigsetjmp" >&5 |
12610 cat > conftest.$ac_ext <<EOF | 12649 cat > conftest.$ac_ext <<EOF |
12611 #line 12612 "configure" | 12650 #line 12651 "configure" |
12612 #include "confdefs.h" | 12651 #include "confdefs.h" |
12613 #include <setjmp.h> | 12652 #include <setjmp.h> |
12614 int main() { | 12653 int main() { |
12615 sigjmp_buf bar; sigsetjmp (bar, 0); | 12654 sigjmp_buf bar; sigsetjmp (bar, 0); |
12616 ; return 0; } | 12655 ; return 0; } |
12617 EOF | 12656 EOF |
12618 if { (eval echo configure:12619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12657 if { (eval echo configure:12658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12619 rm -rf conftest* | 12658 rm -rf conftest* |
12620 echo "$ac_t""yes" 1>&6 | 12659 echo "$ac_t""yes" 1>&6 |
12621 { test "$extra_verbose" = "yes" && cat << \EOF | 12660 { test "$extra_verbose" = "yes" && cat << \EOF |
12622 Defining HAVE_SIGSETJMP | 12661 Defining HAVE_SIGSETJMP |
12623 EOF | 12662 EOF |
12633 echo "$ac_t""no" 1>&6 | 12672 echo "$ac_t""no" 1>&6 |
12634 fi | 12673 fi |
12635 rm -f conftest* | 12674 rm -f conftest* |
12636 | 12675 |
12637 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12676 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12638 echo "configure:12639: checking whether localtime caches TZ" >&5 | 12677 echo "configure:12678: checking whether localtime caches TZ" >&5 |
12639 | 12678 |
12640 if test "$ac_cv_func_tzset" = "yes"; then | 12679 if test "$ac_cv_func_tzset" = "yes"; then |
12641 cat > conftest.$ac_ext <<EOF | 12680 cat > conftest.$ac_ext <<EOF |
12642 #line 12643 "configure" | 12681 #line 12682 "configure" |
12643 #include "confdefs.h" | 12682 #include "confdefs.h" |
12644 #include <time.h> | 12683 #include <time.h> |
12645 #if STDC_HEADERS | 12684 #if STDC_HEADERS |
12646 # include <stdlib.h> | 12685 # include <stdlib.h> |
12647 #endif | 12686 #endif |
12672 if (localtime (&now)->tm_hour != hour_unset) | 12711 if (localtime (&now)->tm_hour != hour_unset) |
12673 exit (1); | 12712 exit (1); |
12674 exit (0); | 12713 exit (0); |
12675 } | 12714 } |
12676 EOF | 12715 EOF |
12677 if { (eval echo configure:12678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12716 if { (eval echo configure:12717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12678 then | 12717 then |
12679 emacs_cv_localtime_cache=no | 12718 emacs_cv_localtime_cache=no |
12680 else | 12719 else |
12681 conftest_rc="$?" | 12720 conftest_rc="$?" |
12682 echo "configure: failed program was:" >&5 | 12721 echo "configure: failed program was:" >&5 |
12702 | 12741 |
12703 fi | 12742 fi |
12704 | 12743 |
12705 if test "$HAVE_TIMEVAL" = "yes"; then | 12744 if test "$HAVE_TIMEVAL" = "yes"; then |
12706 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12745 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12707 echo "configure:12708: checking whether gettimeofday accepts one or two arguments" >&5 | 12746 echo "configure:12747: checking whether gettimeofday accepts one or two arguments" >&5 |
12708 cat > conftest.$ac_ext <<EOF | 12747 cat > conftest.$ac_ext <<EOF |
12709 #line 12710 "configure" | 12748 #line 12749 "configure" |
12710 #include "confdefs.h" | 12749 #include "confdefs.h" |
12711 | 12750 |
12712 #ifdef TIME_WITH_SYS_TIME | 12751 #ifdef TIME_WITH_SYS_TIME |
12713 #include <sys/time.h> | 12752 #include <sys/time.h> |
12714 #include <time.h> | 12753 #include <time.h> |
12725 struct timeval time; | 12764 struct timeval time; |
12726 gettimeofday (&time, 0); | 12765 gettimeofday (&time, 0); |
12727 | 12766 |
12728 ; return 0; } | 12767 ; return 0; } |
12729 EOF | 12768 EOF |
12730 if { (eval echo configure:12731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12769 if { (eval echo configure:12770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12731 rm -rf conftest* | 12770 rm -rf conftest* |
12732 echo "$ac_t""two" 1>&6 | 12771 echo "$ac_t""two" 1>&6 |
12733 else | 12772 else |
12734 echo "configure: failed program was:" >&5 | 12773 echo "configure: failed program was:" >&5 |
12735 cat conftest.$ac_ext >&5 | 12774 cat conftest.$ac_ext >&5 |
12747 rm -f conftest* | 12786 rm -f conftest* |
12748 fi | 12787 fi |
12749 | 12788 |
12750 | 12789 |
12751 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12790 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12752 echo "configure:12753: checking for inline" >&5 | 12791 echo "configure:12792: checking for inline" >&5 |
12753 | 12792 |
12754 ac_cv_c_inline=no | 12793 ac_cv_c_inline=no |
12755 for ac_kw in inline __inline__ __inline; do | 12794 for ac_kw in inline __inline__ __inline; do |
12756 cat > conftest.$ac_ext <<EOF | 12795 cat > conftest.$ac_ext <<EOF |
12757 #line 12758 "configure" | 12796 #line 12797 "configure" |
12758 #include "confdefs.h" | 12797 #include "confdefs.h" |
12759 | 12798 |
12760 int main() { | 12799 int main() { |
12761 } $ac_kw foo() { | 12800 } $ac_kw foo() { |
12762 ; return 0; } | 12801 ; return 0; } |
12763 EOF | 12802 EOF |
12764 if { (eval echo configure:12765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12803 if { (eval echo configure:12804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12765 rm -rf conftest* | 12804 rm -rf conftest* |
12766 ac_cv_c_inline=$ac_kw; break | 12805 ac_cv_c_inline=$ac_kw; break |
12767 else | 12806 else |
12768 echo "configure: failed program was:" >&5 | 12807 echo "configure: failed program was:" >&5 |
12769 cat conftest.$ac_ext >&5 | 12808 cat conftest.$ac_ext >&5 |
12800 | 12839 |
12801 if test "$__DECC" != "yes"; then | 12840 if test "$__DECC" != "yes"; then |
12802 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12841 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12803 # for constant arguments. Useless! | 12842 # for constant arguments. Useless! |
12804 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12843 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12805 echo "configure:12806: checking for working alloca.h" >&5 | 12844 echo "configure:12845: checking for working alloca.h" >&5 |
12806 | 12845 |
12807 cat > conftest.$ac_ext <<EOF | 12846 cat > conftest.$ac_ext <<EOF |
12808 #line 12809 "configure" | 12847 #line 12848 "configure" |
12809 #include "confdefs.h" | 12848 #include "confdefs.h" |
12810 #include <alloca.h> | 12849 #include <alloca.h> |
12811 int main() { | 12850 int main() { |
12812 char *p = alloca(2 * sizeof(int)); | 12851 char *p = alloca(2 * sizeof(int)); |
12813 ; return 0; } | 12852 ; return 0; } |
12814 EOF | 12853 EOF |
12815 if { (eval echo configure:12816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12854 if { (eval echo configure:12855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12816 rm -rf conftest* | 12855 rm -rf conftest* |
12817 ac_cv_header_alloca_h=yes | 12856 ac_cv_header_alloca_h=yes |
12818 else | 12857 else |
12819 echo "configure: failed program was:" >&5 | 12858 echo "configure: failed program was:" >&5 |
12820 cat conftest.$ac_ext >&5 | 12859 cat conftest.$ac_ext >&5 |
12834 } | 12873 } |
12835 | 12874 |
12836 fi | 12875 fi |
12837 | 12876 |
12838 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12877 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12839 echo "configure:12840: checking for alloca" >&5 | 12878 echo "configure:12879: checking for alloca" >&5 |
12840 | 12879 |
12841 cat > conftest.$ac_ext <<EOF | 12880 cat > conftest.$ac_ext <<EOF |
12842 #line 12843 "configure" | 12881 #line 12882 "configure" |
12843 #include "confdefs.h" | 12882 #include "confdefs.h" |
12844 | 12883 |
12845 #ifdef __GNUC__ | 12884 #ifdef __GNUC__ |
12846 # define alloca __builtin_alloca | 12885 # define alloca __builtin_alloca |
12847 #else | 12886 #else |
12865 | 12904 |
12866 int main() { | 12905 int main() { |
12867 char *p = (char *) alloca(1); | 12906 char *p = (char *) alloca(1); |
12868 ; return 0; } | 12907 ; return 0; } |
12869 EOF | 12908 EOF |
12870 if { (eval echo configure:12871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12909 if { (eval echo configure:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12871 rm -rf conftest* | 12910 rm -rf conftest* |
12872 ac_cv_func_alloca_works=yes | 12911 ac_cv_func_alloca_works=yes |
12873 else | 12912 else |
12874 echo "configure: failed program was:" >&5 | 12913 echo "configure: failed program was:" >&5 |
12875 cat conftest.$ac_ext >&5 | 12914 cat conftest.$ac_ext >&5 |
12904 EOF | 12943 EOF |
12905 } | 12944 } |
12906 | 12945 |
12907 | 12946 |
12908 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12947 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12909 echo "configure:12910: checking whether alloca needs Cray hooks" >&5 | 12948 echo "configure:12949: checking whether alloca needs Cray hooks" >&5 |
12910 | 12949 |
12911 cat > conftest.$ac_ext <<EOF | 12950 cat > conftest.$ac_ext <<EOF |
12912 #line 12913 "configure" | 12951 #line 12952 "configure" |
12913 #include "confdefs.h" | 12952 #include "confdefs.h" |
12914 #if defined(CRAY) && ! defined(CRAY2) | 12953 #if defined(CRAY) && ! defined(CRAY2) |
12915 webecray | 12954 webecray |
12916 #else | 12955 #else |
12917 wenotbecray | 12956 wenotbecray |
12931 | 12970 |
12932 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12971 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12933 if test $ac_cv_os_cray = yes; then | 12972 if test $ac_cv_os_cray = yes; then |
12934 for ac_func in _getb67 GETB67 getb67; do | 12973 for ac_func in _getb67 GETB67 getb67; do |
12935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12936 echo "configure:12937: checking for $ac_func" >&5 | 12975 echo "configure:12976: checking for $ac_func" >&5 |
12937 | 12976 |
12938 cat > conftest.$ac_ext <<EOF | 12977 cat > conftest.$ac_ext <<EOF |
12939 #line 12940 "configure" | 12978 #line 12979 "configure" |
12940 #include "confdefs.h" | 12979 #include "confdefs.h" |
12941 /* System header to define __stub macros and hopefully few prototypes, | 12980 /* System header to define __stub macros and hopefully few prototypes, |
12942 which can conflict with char $ac_func(); below. */ | 12981 which can conflict with char $ac_func(); below. */ |
12943 #include <assert.h> | 12982 #include <assert.h> |
12944 /* Override any gcc2 internal prototype to avoid an error. */ | 12983 /* Override any gcc2 internal prototype to avoid an error. */ |
12957 $ac_func(); | 12996 $ac_func(); |
12958 #endif | 12997 #endif |
12959 | 12998 |
12960 ; return 0; } | 12999 ; return 0; } |
12961 EOF | 13000 EOF |
12962 if { (eval echo configure:12963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13001 if { (eval echo configure:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12963 rm -rf conftest* | 13002 rm -rf conftest* |
12964 eval "ac_cv_func_$ac_func=yes" | 13003 eval "ac_cv_func_$ac_func=yes" |
12965 else | 13004 else |
12966 echo "configure: failed program was:" >&5 | 13005 echo "configure: failed program was:" >&5 |
12967 cat conftest.$ac_ext >&5 | 13006 cat conftest.$ac_ext >&5 |
12987 | 13026 |
12988 done | 13027 done |
12989 fi | 13028 fi |
12990 | 13029 |
12991 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13030 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12992 echo "configure:12993: checking stack direction for C alloca" >&5 | 13031 echo "configure:13032: checking stack direction for C alloca" >&5 |
12993 | 13032 |
12994 cat > conftest.$ac_ext <<EOF | 13033 cat > conftest.$ac_ext <<EOF |
12995 #line 12996 "configure" | 13034 #line 13035 "configure" |
12996 #include "confdefs.h" | 13035 #include "confdefs.h" |
12997 find_stack_direction () | 13036 find_stack_direction () |
12998 { | 13037 { |
12999 static char *addr = 0; | 13038 static char *addr = 0; |
13000 auto char dummy; | 13039 auto char dummy; |
13009 main () | 13048 main () |
13010 { | 13049 { |
13011 exit (find_stack_direction() < 0); | 13050 exit (find_stack_direction() < 0); |
13012 } | 13051 } |
13013 EOF | 13052 EOF |
13014 if { (eval echo configure:13015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13053 if { (eval echo configure:13054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13015 then | 13054 then |
13016 ac_cv_c_stack_direction=1 | 13055 ac_cv_c_stack_direction=1 |
13017 else | 13056 else |
13018 conftest_rc="$?" | 13057 conftest_rc="$?" |
13019 echo "configure: failed program was:" >&5 | 13058 echo "configure: failed program was:" >&5 |
13038 echo " xemacs will be linked with \"$ALLOCA\"" | 13077 echo " xemacs will be linked with \"$ALLOCA\"" |
13039 fi | 13078 fi |
13040 fi | 13079 fi |
13041 | 13080 |
13042 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13081 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13043 echo "configure:13044: checking for working alloca in function calls" >&5 | 13082 echo "configure:13083: checking for working alloca in function calls" >&5 |
13044 cat > conftest.$ac_ext <<EOF | 13083 cat > conftest.$ac_ext <<EOF |
13045 #line 13046 "configure" | 13084 #line 13085 "configure" |
13046 #include "confdefs.h" | 13085 #include "confdefs.h" |
13047 | 13086 |
13048 #if defined (__CYGWIN__) | 13087 #if defined (__CYGWIN__) |
13049 #include <alloca.h> | 13088 #include <alloca.h> |
13050 #elif defined (__GNUC__) | 13089 #elif defined (__GNUC__) |
13093 return 1; | 13132 return 1; |
13094 return 0; | 13133 return 0; |
13095 } | 13134 } |
13096 | 13135 |
13097 EOF | 13136 EOF |
13098 if { (eval echo configure:13099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13137 if { (eval echo configure:13138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13099 then | 13138 then |
13100 working_alloca_in_function_calls=yes | 13139 working_alloca_in_function_calls=yes |
13101 else | 13140 else |
13102 conftest_rc="$?" | 13141 conftest_rc="$?" |
13103 echo "configure: failed program was:" >&5 | 13142 echo "configure: failed program was:" >&5 |
13116 EOF | 13155 EOF |
13117 } | 13156 } |
13118 | 13157 |
13119 | 13158 |
13120 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13159 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13121 echo "configure:13122: checking for working strcoll" >&5 | 13160 echo "configure:13161: checking for working strcoll" >&5 |
13122 | 13161 |
13123 cat > conftest.$ac_ext <<EOF | 13162 cat > conftest.$ac_ext <<EOF |
13124 #line 13125 "configure" | 13163 #line 13164 "configure" |
13125 #include "confdefs.h" | 13164 #include "confdefs.h" |
13126 #include <string.h> | 13165 #include <string.h> |
13127 main () | 13166 main () |
13128 { | 13167 { |
13129 exit (strcoll ("abc", "def") >= 0 || | 13168 exit (strcoll ("abc", "def") >= 0 || |
13130 strcoll ("ABC", "DEF") >= 0 || | 13169 strcoll ("ABC", "DEF") >= 0 || |
13131 strcoll ("123", "456") >= 0); | 13170 strcoll ("123", "456") >= 0); |
13132 } | 13171 } |
13133 EOF | 13172 EOF |
13134 if { (eval echo configure:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13173 if { (eval echo configure:13174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13135 then | 13174 then |
13136 ac_cv_func_strcoll_works=yes | 13175 ac_cv_func_strcoll_works=yes |
13137 else | 13176 else |
13138 conftest_rc="$?" | 13177 conftest_rc="$?" |
13139 echo "configure: failed program was:" >&5 | 13178 echo "configure: failed program was:" >&5 |
13157 | 13196 |
13158 | 13197 |
13159 for ac_func in getpgrp | 13198 for ac_func in getpgrp |
13160 do | 13199 do |
13161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13162 echo "configure:13163: checking for $ac_func" >&5 | 13201 echo "configure:13202: checking for $ac_func" >&5 |
13163 | 13202 |
13164 cat > conftest.$ac_ext <<EOF | 13203 cat > conftest.$ac_ext <<EOF |
13165 #line 13166 "configure" | 13204 #line 13205 "configure" |
13166 #include "confdefs.h" | 13205 #include "confdefs.h" |
13167 /* System header to define __stub macros and hopefully few prototypes, | 13206 /* System header to define __stub macros and hopefully few prototypes, |
13168 which can conflict with char $ac_func(); below. */ | 13207 which can conflict with char $ac_func(); below. */ |
13169 #include <assert.h> | 13208 #include <assert.h> |
13170 /* Override any gcc2 internal prototype to avoid an error. */ | 13209 /* Override any gcc2 internal prototype to avoid an error. */ |
13183 $ac_func(); | 13222 $ac_func(); |
13184 #endif | 13223 #endif |
13185 | 13224 |
13186 ; return 0; } | 13225 ; return 0; } |
13187 EOF | 13226 EOF |
13188 if { (eval echo configure:13189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13227 if { (eval echo configure:13228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13189 rm -rf conftest* | 13228 rm -rf conftest* |
13190 eval "ac_cv_func_$ac_func=yes" | 13229 eval "ac_cv_func_$ac_func=yes" |
13191 else | 13230 else |
13192 echo "configure: failed program was:" >&5 | 13231 echo "configure: failed program was:" >&5 |
13193 cat conftest.$ac_ext >&5 | 13232 cat conftest.$ac_ext >&5 |
13211 echo "$ac_t""no" 1>&6 | 13250 echo "$ac_t""no" 1>&6 |
13212 fi | 13251 fi |
13213 done | 13252 done |
13214 | 13253 |
13215 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13254 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13216 echo "configure:13217: checking whether getpgrp takes no argument" >&5 | 13255 echo "configure:13256: checking whether getpgrp takes no argument" >&5 |
13217 | 13256 |
13218 cat > conftest.$ac_ext <<EOF | 13257 cat > conftest.$ac_ext <<EOF |
13219 #line 13220 "configure" | 13258 #line 13259 "configure" |
13220 #include "confdefs.h" | 13259 #include "confdefs.h" |
13221 | 13260 |
13222 /* | 13261 /* |
13223 * If this system has a BSD-style getpgrp(), | 13262 * If this system has a BSD-style getpgrp(), |
13224 * which takes a pid argument, exit unsuccessfully. | 13263 * which takes a pid argument, exit unsuccessfully. |
13269 exit(s>>8); | 13308 exit(s>>8); |
13270 } | 13309 } |
13271 } | 13310 } |
13272 | 13311 |
13273 EOF | 13312 EOF |
13274 if { (eval echo configure:13275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13275 then | 13314 then |
13276 ac_cv_func_getpgrp_void=yes | 13315 ac_cv_func_getpgrp_void=yes |
13277 else | 13316 else |
13278 conftest_rc="$?" | 13317 conftest_rc="$?" |
13279 echo "configure: failed program was:" >&5 | 13318 echo "configure: failed program was:" >&5 |
13296 | 13335 |
13297 fi | 13336 fi |
13298 | 13337 |
13299 | 13338 |
13300 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13339 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13301 echo "configure:13302: checking for working mmap" >&5 | 13340 echo "configure:13341: checking for working mmap" >&5 |
13302 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13341 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13303 cat > conftest.$ac_ext <<EOF | 13342 cat > conftest.$ac_ext <<EOF |
13304 #line 13305 "configure" | 13343 #line 13344 "configure" |
13305 #include "confdefs.h" | 13344 #include "confdefs.h" |
13306 #include <stdio.h> | 13345 #include <stdio.h> |
13307 #include <unistd.h> | 13346 #include <unistd.h> |
13308 #include <fcntl.h> | 13347 #include <fcntl.h> |
13309 #include <sys/mman.h> | 13348 #include <sys/mman.h> |
13332 return 0; | 13371 return 0; |
13333 perror ("conftest: mmap failed"); | 13372 perror ("conftest: mmap failed"); |
13334 return 1; | 13373 return 1; |
13335 } | 13374 } |
13336 EOF | 13375 EOF |
13337 if { (eval echo configure:13338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13376 if { (eval echo configure:13377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13338 then | 13377 then |
13339 have_mmap=yes | 13378 have_mmap=yes |
13340 else | 13379 else |
13341 conftest_rc="$?" | 13380 conftest_rc="$?" |
13342 echo "configure: failed program was:" >&5 | 13381 echo "configure: failed program was:" >&5 |
13361 esac | 13400 esac |
13362 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13401 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13363 if test "$rel_alloc $have_mmap" = "default yes"; then | 13402 if test "$rel_alloc $have_mmap" = "default yes"; then |
13364 if test "$doug_lea_malloc" = "yes"; then | 13403 if test "$doug_lea_malloc" = "yes"; then |
13365 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13404 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13366 echo "configure:13367: checking for M_MMAP_THRESHOLD" >&5 | 13405 echo "configure:13406: checking for M_MMAP_THRESHOLD" >&5 |
13367 cat > conftest.$ac_ext <<EOF | 13406 cat > conftest.$ac_ext <<EOF |
13368 #line 13369 "configure" | 13407 #line 13408 "configure" |
13369 #include "confdefs.h" | 13408 #include "confdefs.h" |
13370 #include <malloc.h> | 13409 #include <malloc.h> |
13371 int main() { | 13410 int main() { |
13372 | 13411 |
13373 #ifndef M_MMAP_THRESHOLD | 13412 #ifndef M_MMAP_THRESHOLD |
13375 !@+$%^&*_)(_ - unlikely to compile... | 13414 !@+$%^&*_)(_ - unlikely to compile... |
13376 #endif | 13415 #endif |
13377 | 13416 |
13378 ; return 0; } | 13417 ; return 0; } |
13379 EOF | 13418 EOF |
13380 if { (eval echo configure:13381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13419 if { (eval echo configure:13420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13381 rm -rf conftest* | 13420 rm -rf conftest* |
13382 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13421 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13383 else | 13422 else |
13384 echo "configure: failed program was:" >&5 | 13423 echo "configure: failed program was:" >&5 |
13385 cat conftest.$ac_ext >&5 | 13424 cat conftest.$ac_ext >&5 |
13400 } | 13439 } |
13401 | 13440 |
13402 | 13441 |
13403 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13442 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13404 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13443 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13405 echo "configure:13406: checking for termios.h" >&5 | 13444 echo "configure:13445: checking for termios.h" >&5 |
13406 | 13445 |
13407 cat > conftest.$ac_ext <<EOF | 13446 cat > conftest.$ac_ext <<EOF |
13408 #line 13409 "configure" | 13447 #line 13448 "configure" |
13409 #include "confdefs.h" | 13448 #include "confdefs.h" |
13410 #include <termios.h> | 13449 #include <termios.h> |
13411 EOF | 13450 EOF |
13412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13413 { (eval echo configure:13414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13452 { (eval echo configure:13453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13415 if test -z "$ac_err"; then | 13454 if test -z "$ac_err"; then |
13416 rm -rf conftest* | 13455 rm -rf conftest* |
13417 eval "ac_cv_header_$ac_safe=yes" | 13456 eval "ac_cv_header_$ac_safe=yes" |
13418 else | 13457 else |
13451 | 13490 |
13452 else | 13491 else |
13453 echo "$ac_t""no" 1>&6 | 13492 echo "$ac_t""no" 1>&6 |
13454 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13493 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13455 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13494 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13456 echo "configure:13457: checking for termio.h" >&5 | 13495 echo "configure:13496: checking for termio.h" >&5 |
13457 | 13496 |
13458 cat > conftest.$ac_ext <<EOF | 13497 cat > conftest.$ac_ext <<EOF |
13459 #line 13460 "configure" | 13498 #line 13499 "configure" |
13460 #include "confdefs.h" | 13499 #include "confdefs.h" |
13461 #include <termio.h> | 13500 #include <termio.h> |
13462 EOF | 13501 EOF |
13463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13464 { (eval echo configure:13465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13503 { (eval echo configure:13504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13466 if test -z "$ac_err"; then | 13505 if test -z "$ac_err"; then |
13467 rm -rf conftest* | 13506 rm -rf conftest* |
13468 eval "ac_cv_header_$ac_safe=yes" | 13507 eval "ac_cv_header_$ac_safe=yes" |
13469 else | 13508 else |
13491 fi | 13530 fi |
13492 | 13531 |
13493 | 13532 |
13494 | 13533 |
13495 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13534 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13496 echo "configure:13497: checking for socket" >&5 | 13535 echo "configure:13536: checking for socket" >&5 |
13497 | 13536 |
13498 cat > conftest.$ac_ext <<EOF | 13537 cat > conftest.$ac_ext <<EOF |
13499 #line 13500 "configure" | 13538 #line 13539 "configure" |
13500 #include "confdefs.h" | 13539 #include "confdefs.h" |
13501 /* System header to define __stub macros and hopefully few prototypes, | 13540 /* System header to define __stub macros and hopefully few prototypes, |
13502 which can conflict with char socket(); below. */ | 13541 which can conflict with char socket(); below. */ |
13503 #include <assert.h> | 13542 #include <assert.h> |
13504 /* Override any gcc2 internal prototype to avoid an error. */ | 13543 /* Override any gcc2 internal prototype to avoid an error. */ |
13517 socket(); | 13556 socket(); |
13518 #endif | 13557 #endif |
13519 | 13558 |
13520 ; return 0; } | 13559 ; return 0; } |
13521 EOF | 13560 EOF |
13522 if { (eval echo configure:13523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13561 if { (eval echo configure:13562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13523 rm -rf conftest* | 13562 rm -rf conftest* |
13524 eval "ac_cv_func_socket=yes" | 13563 eval "ac_cv_func_socket=yes" |
13525 else | 13564 else |
13526 echo "configure: failed program was:" >&5 | 13565 echo "configure: failed program was:" >&5 |
13527 cat conftest.$ac_ext >&5 | 13566 cat conftest.$ac_ext >&5 |
13532 | 13571 |
13533 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13572 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13534 echo "$ac_t""yes" 1>&6 | 13573 echo "$ac_t""yes" 1>&6 |
13535 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13574 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13536 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13575 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13537 echo "configure:13538: checking for netinet/in.h" >&5 | 13576 echo "configure:13577: checking for netinet/in.h" >&5 |
13538 | 13577 |
13539 cat > conftest.$ac_ext <<EOF | 13578 cat > conftest.$ac_ext <<EOF |
13540 #line 13541 "configure" | 13579 #line 13580 "configure" |
13541 #include "confdefs.h" | 13580 #include "confdefs.h" |
13542 #include <netinet/in.h> | 13581 #include <netinet/in.h> |
13543 EOF | 13582 EOF |
13544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13545 { (eval echo configure:13546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13584 { (eval echo configure:13585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13547 if test -z "$ac_err"; then | 13586 if test -z "$ac_err"; then |
13548 rm -rf conftest* | 13587 rm -rf conftest* |
13549 eval "ac_cv_header_$ac_safe=yes" | 13588 eval "ac_cv_header_$ac_safe=yes" |
13550 else | 13589 else |
13557 rm -f conftest* | 13596 rm -f conftest* |
13558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13597 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13559 echo "$ac_t""yes" 1>&6 | 13598 echo "$ac_t""yes" 1>&6 |
13560 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13599 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13561 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13600 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13562 echo "configure:13563: checking for arpa/inet.h" >&5 | 13601 echo "configure:13602: checking for arpa/inet.h" >&5 |
13563 | 13602 |
13564 cat > conftest.$ac_ext <<EOF | 13603 cat > conftest.$ac_ext <<EOF |
13565 #line 13566 "configure" | 13604 #line 13605 "configure" |
13566 #include "confdefs.h" | 13605 #include "confdefs.h" |
13567 #include <arpa/inet.h> | 13606 #include <arpa/inet.h> |
13568 EOF | 13607 EOF |
13569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13570 { (eval echo configure:13571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13609 { (eval echo configure:13610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13572 if test -z "$ac_err"; then | 13611 if test -z "$ac_err"; then |
13573 rm -rf conftest* | 13612 rm -rf conftest* |
13574 eval "ac_cv_header_$ac_safe=yes" | 13613 eval "ac_cv_header_$ac_safe=yes" |
13575 else | 13614 else |
13590 #define HAVE_SOCKETS 1 | 13629 #define HAVE_SOCKETS 1 |
13591 EOF | 13630 EOF |
13592 } | 13631 } |
13593 | 13632 |
13594 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13633 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13595 echo "configure:13596: checking "for sun_len member in struct sockaddr_un"" >&5 | 13634 echo "configure:13635: checking "for sun_len member in struct sockaddr_un"" >&5 |
13596 cat > conftest.$ac_ext <<EOF | 13635 cat > conftest.$ac_ext <<EOF |
13597 #line 13598 "configure" | 13636 #line 13637 "configure" |
13598 #include "confdefs.h" | 13637 #include "confdefs.h" |
13599 | 13638 |
13600 #include <sys/types.h> | 13639 #include <sys/types.h> |
13601 #include <sys/socket.h> | 13640 #include <sys/socket.h> |
13602 #include <sys/un.h> | 13641 #include <sys/un.h> |
13603 | 13642 |
13604 int main() { | 13643 int main() { |
13605 static struct sockaddr_un x; x.sun_len = 1; | 13644 static struct sockaddr_un x; x.sun_len = 1; |
13606 ; return 0; } | 13645 ; return 0; } |
13607 EOF | 13646 EOF |
13608 if { (eval echo configure:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13647 if { (eval echo configure:13648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13609 rm -rf conftest* | 13648 rm -rf conftest* |
13610 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13649 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13611 Defining HAVE_SOCKADDR_SUN_LEN | 13650 Defining HAVE_SOCKADDR_SUN_LEN |
13612 EOF | 13651 EOF |
13613 cat >> confdefs.h <<\EOF | 13652 cat >> confdefs.h <<\EOF |
13621 rm -rf conftest* | 13660 rm -rf conftest* |
13622 echo "$ac_t""no" 1>&6 | 13661 echo "$ac_t""no" 1>&6 |
13623 fi | 13662 fi |
13624 rm -f conftest* | 13663 rm -f conftest* |
13625 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13664 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13626 echo "configure:13627: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13665 echo "configure:13666: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13627 cat > conftest.$ac_ext <<EOF | 13666 cat > conftest.$ac_ext <<EOF |
13628 #line 13629 "configure" | 13667 #line 13668 "configure" |
13629 #include "confdefs.h" | 13668 #include "confdefs.h" |
13630 | 13669 |
13631 #include <sys/types.h> | 13670 #include <sys/types.h> |
13632 #include <netinet/in.h> | 13671 #include <netinet/in.h> |
13633 | 13672 |
13634 int main() { | 13673 int main() { |
13635 static struct ip_mreq x; | 13674 static struct ip_mreq x; |
13636 ; return 0; } | 13675 ; return 0; } |
13637 EOF | 13676 EOF |
13638 if { (eval echo configure:13639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13677 if { (eval echo configure:13678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13639 rm -rf conftest* | 13678 rm -rf conftest* |
13640 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13679 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13641 Defining HAVE_MULTICAST | 13680 Defining HAVE_MULTICAST |
13642 EOF | 13681 EOF |
13643 cat >> confdefs.h <<\EOF | 13682 cat >> confdefs.h <<\EOF |
13664 echo "$ac_t""no" 1>&6 | 13703 echo "$ac_t""no" 1>&6 |
13665 fi | 13704 fi |
13666 | 13705 |
13667 | 13706 |
13668 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13707 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13669 echo "configure:13670: checking for msgget" >&5 | 13708 echo "configure:13709: checking for msgget" >&5 |
13670 | 13709 |
13671 cat > conftest.$ac_ext <<EOF | 13710 cat > conftest.$ac_ext <<EOF |
13672 #line 13673 "configure" | 13711 #line 13712 "configure" |
13673 #include "confdefs.h" | 13712 #include "confdefs.h" |
13674 /* System header to define __stub macros and hopefully few prototypes, | 13713 /* System header to define __stub macros and hopefully few prototypes, |
13675 which can conflict with char msgget(); below. */ | 13714 which can conflict with char msgget(); below. */ |
13676 #include <assert.h> | 13715 #include <assert.h> |
13677 /* Override any gcc2 internal prototype to avoid an error. */ | 13716 /* Override any gcc2 internal prototype to avoid an error. */ |
13690 msgget(); | 13729 msgget(); |
13691 #endif | 13730 #endif |
13692 | 13731 |
13693 ; return 0; } | 13732 ; return 0; } |
13694 EOF | 13733 EOF |
13695 if { (eval echo configure:13696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13734 if { (eval echo configure:13735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13696 rm -rf conftest* | 13735 rm -rf conftest* |
13697 eval "ac_cv_func_msgget=yes" | 13736 eval "ac_cv_func_msgget=yes" |
13698 else | 13737 else |
13699 echo "configure: failed program was:" >&5 | 13738 echo "configure: failed program was:" >&5 |
13700 cat conftest.$ac_ext >&5 | 13739 cat conftest.$ac_ext >&5 |
13705 | 13744 |
13706 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13745 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13707 echo "$ac_t""yes" 1>&6 | 13746 echo "$ac_t""yes" 1>&6 |
13708 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13747 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13709 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13748 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13710 echo "configure:13711: checking for sys/ipc.h" >&5 | 13749 echo "configure:13750: checking for sys/ipc.h" >&5 |
13711 | 13750 |
13712 cat > conftest.$ac_ext <<EOF | 13751 cat > conftest.$ac_ext <<EOF |
13713 #line 13714 "configure" | 13752 #line 13753 "configure" |
13714 #include "confdefs.h" | 13753 #include "confdefs.h" |
13715 #include <sys/ipc.h> | 13754 #include <sys/ipc.h> |
13716 EOF | 13755 EOF |
13717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13718 { (eval echo configure:13719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13757 { (eval echo configure:13758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13720 if test -z "$ac_err"; then | 13759 if test -z "$ac_err"; then |
13721 rm -rf conftest* | 13760 rm -rf conftest* |
13722 eval "ac_cv_header_$ac_safe=yes" | 13761 eval "ac_cv_header_$ac_safe=yes" |
13723 else | 13762 else |
13730 rm -f conftest* | 13769 rm -f conftest* |
13731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13732 echo "$ac_t""yes" 1>&6 | 13771 echo "$ac_t""yes" 1>&6 |
13733 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13772 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13734 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13773 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13735 echo "configure:13736: checking for sys/msg.h" >&5 | 13774 echo "configure:13775: checking for sys/msg.h" >&5 |
13736 | 13775 |
13737 cat > conftest.$ac_ext <<EOF | 13776 cat > conftest.$ac_ext <<EOF |
13738 #line 13739 "configure" | 13777 #line 13778 "configure" |
13739 #include "confdefs.h" | 13778 #include "confdefs.h" |
13740 #include <sys/msg.h> | 13779 #include <sys/msg.h> |
13741 EOF | 13780 EOF |
13742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13743 { (eval echo configure:13744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13782 { (eval echo configure:13783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13745 if test -z "$ac_err"; then | 13784 if test -z "$ac_err"; then |
13746 rm -rf conftest* | 13785 rm -rf conftest* |
13747 eval "ac_cv_header_$ac_safe=yes" | 13786 eval "ac_cv_header_$ac_safe=yes" |
13748 else | 13787 else |
13776 fi | 13815 fi |
13777 | 13816 |
13778 | 13817 |
13779 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13818 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13780 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13819 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13781 echo "configure:13782: checking for dirent.h" >&5 | 13820 echo "configure:13821: checking for dirent.h" >&5 |
13782 | 13821 |
13783 cat > conftest.$ac_ext <<EOF | 13822 cat > conftest.$ac_ext <<EOF |
13784 #line 13785 "configure" | 13823 #line 13824 "configure" |
13785 #include "confdefs.h" | 13824 #include "confdefs.h" |
13786 #include <dirent.h> | 13825 #include <dirent.h> |
13787 EOF | 13826 EOF |
13788 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13789 { (eval echo configure:13790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13828 { (eval echo configure:13829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13790 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13791 if test -z "$ac_err"; then | 13830 if test -z "$ac_err"; then |
13792 rm -rf conftest* | 13831 rm -rf conftest* |
13793 eval "ac_cv_header_$ac_safe=yes" | 13832 eval "ac_cv_header_$ac_safe=yes" |
13794 else | 13833 else |
13811 | 13850 |
13812 else | 13851 else |
13813 echo "$ac_t""no" 1>&6 | 13852 echo "$ac_t""no" 1>&6 |
13814 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13853 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13815 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13854 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13816 echo "configure:13817: checking for sys/dir.h" >&5 | 13855 echo "configure:13856: checking for sys/dir.h" >&5 |
13817 | 13856 |
13818 cat > conftest.$ac_ext <<EOF | 13857 cat > conftest.$ac_ext <<EOF |
13819 #line 13820 "configure" | 13858 #line 13859 "configure" |
13820 #include "confdefs.h" | 13859 #include "confdefs.h" |
13821 #include <sys/dir.h> | 13860 #include <sys/dir.h> |
13822 EOF | 13861 EOF |
13823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13824 { (eval echo configure:13825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13863 { (eval echo configure:13864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13826 if test -z "$ac_err"; then | 13865 if test -z "$ac_err"; then |
13827 rm -rf conftest* | 13866 rm -rf conftest* |
13828 eval "ac_cv_header_$ac_safe=yes" | 13867 eval "ac_cv_header_$ac_safe=yes" |
13829 else | 13868 else |
13852 fi | 13891 fi |
13853 | 13892 |
13854 | 13893 |
13855 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13894 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13856 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13895 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13857 echo "configure:13858: checking for nlist.h" >&5 | 13896 echo "configure:13897: checking for nlist.h" >&5 |
13858 | 13897 |
13859 cat > conftest.$ac_ext <<EOF | 13898 cat > conftest.$ac_ext <<EOF |
13860 #line 13861 "configure" | 13899 #line 13900 "configure" |
13861 #include "confdefs.h" | 13900 #include "confdefs.h" |
13862 #include <nlist.h> | 13901 #include <nlist.h> |
13863 EOF | 13902 EOF |
13864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13865 { (eval echo configure:13866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13904 { (eval echo configure:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13867 if test -z "$ac_err"; then | 13906 if test -z "$ac_err"; then |
13868 rm -rf conftest* | 13907 rm -rf conftest* |
13869 eval "ac_cv_header_$ac_safe=yes" | 13908 eval "ac_cv_header_$ac_safe=yes" |
13870 else | 13909 else |
13890 fi | 13929 fi |
13891 | 13930 |
13892 | 13931 |
13893 | 13932 |
13894 echo "checking "for sound support"" 1>&6 | 13933 echo "checking "for sound support"" 1>&6 |
13895 echo "configure:13896: checking "for sound support"" >&5 | 13934 echo "configure:13935: checking "for sound support"" >&5 |
13896 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13935 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13897 | 13936 |
13898 if test "$with_native_sound" != "no"; then | 13937 if test "$with_native_sound" != "no"; then |
13899 if test -n "$native_sound_lib"; then | 13938 if test -n "$native_sound_lib"; then |
13900 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13939 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13901 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13940 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13902 echo "configure:13903: checking for multimedia/audio_device.h" >&5 | 13941 echo "configure:13942: checking for multimedia/audio_device.h" >&5 |
13903 | 13942 |
13904 cat > conftest.$ac_ext <<EOF | 13943 cat > conftest.$ac_ext <<EOF |
13905 #line 13906 "configure" | 13944 #line 13945 "configure" |
13906 #include "confdefs.h" | 13945 #include "confdefs.h" |
13907 #include <multimedia/audio_device.h> | 13946 #include <multimedia/audio_device.h> |
13908 EOF | 13947 EOF |
13909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13910 { (eval echo configure:13911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13949 { (eval echo configure:13950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13912 if test -z "$ac_err"; then | 13951 if test -z "$ac_err"; then |
13913 rm -rf conftest* | 13952 rm -rf conftest* |
13914 eval "ac_cv_header_$ac_safe=yes" | 13953 eval "ac_cv_header_$ac_safe=yes" |
13915 else | 13954 else |
13953 case "$canonical" in | 13992 case "$canonical" in |
13954 *-sgi-* ) | 13993 *-sgi-* ) |
13955 if test -z "$native_sound_lib"; then | 13994 if test -z "$native_sound_lib"; then |
13956 | 13995 |
13957 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13996 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13958 echo "configure:13959: checking for ALopenport in -laudio" >&5 | 13997 echo "configure:13998: checking for ALopenport in -laudio" >&5 |
13959 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13998 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13960 | 13999 |
13961 xe_check_libs=" -laudio " | 14000 xe_check_libs=" -laudio " |
13962 cat > conftest.$ac_ext <<EOF | 14001 cat > conftest.$ac_ext <<EOF |
13963 #line 13964 "configure" | 14002 #line 14003 "configure" |
13964 #include "confdefs.h" | 14003 #include "confdefs.h" |
13965 /* Override any gcc2 internal prototype to avoid an error. */ | 14004 /* Override any gcc2 internal prototype to avoid an error. */ |
13966 /* We use char because int might match the return type of a gcc2 | 14005 /* We use char because int might match the return type of a gcc2 |
13967 builtin and then its argument prototype would still apply. */ | 14006 builtin and then its argument prototype would still apply. */ |
13968 char ALopenport(); | 14007 char ALopenport(); |
13969 | 14008 |
13970 int main() { | 14009 int main() { |
13971 ALopenport() | 14010 ALopenport() |
13972 ; return 0; } | 14011 ; return 0; } |
13973 EOF | 14012 EOF |
13974 if { (eval echo configure:13975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14013 if { (eval echo configure:14014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13975 rm -rf conftest* | 14014 rm -rf conftest* |
13976 eval "ac_cv_lib_$ac_lib_var=yes" | 14015 eval "ac_cv_lib_$ac_lib_var=yes" |
13977 else | 14016 else |
13978 echo "configure: failed program was:" >&5 | 14017 echo "configure: failed program was:" >&5 |
13979 cat conftest.$ac_ext >&5 | 14018 cat conftest.$ac_ext >&5 |
14000 fi ;; | 14039 fi ;; |
14001 hppa*-hp-hpux* ) | 14040 hppa*-hp-hpux* ) |
14002 if test -z "$native_sound_lib"; then | 14041 if test -z "$native_sound_lib"; then |
14003 | 14042 |
14004 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14043 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14005 echo "configure:14006: checking for AOpenAudio in -lAlib" >&5 | 14044 echo "configure:14045: checking for AOpenAudio in -lAlib" >&5 |
14006 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14045 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14007 | 14046 |
14008 xe_check_libs=" -lAlib " | 14047 xe_check_libs=" -lAlib " |
14009 cat > conftest.$ac_ext <<EOF | 14048 cat > conftest.$ac_ext <<EOF |
14010 #line 14011 "configure" | 14049 #line 14050 "configure" |
14011 #include "confdefs.h" | 14050 #include "confdefs.h" |
14012 /* Override any gcc2 internal prototype to avoid an error. */ | 14051 /* Override any gcc2 internal prototype to avoid an error. */ |
14013 /* We use char because int might match the return type of a gcc2 | 14052 /* We use char because int might match the return type of a gcc2 |
14014 builtin and then its argument prototype would still apply. */ | 14053 builtin and then its argument prototype would still apply. */ |
14015 char AOpenAudio(); | 14054 char AOpenAudio(); |
14016 | 14055 |
14017 int main() { | 14056 int main() { |
14018 AOpenAudio() | 14057 AOpenAudio() |
14019 ; return 0; } | 14058 ; return 0; } |
14020 EOF | 14059 EOF |
14021 if { (eval echo configure:14022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14060 if { (eval echo configure:14061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14022 rm -rf conftest* | 14061 rm -rf conftest* |
14023 eval "ac_cv_lib_$ac_lib_var=yes" | 14062 eval "ac_cv_lib_$ac_lib_var=yes" |
14024 else | 14063 else |
14025 echo "configure: failed program was:" >&5 | 14064 echo "configure: failed program was:" >&5 |
14026 cat conftest.$ac_ext >&5 | 14065 cat conftest.$ac_ext >&5 |
14064 | 14103 |
14065 if test -z "$sound_found"; then | 14104 if test -z "$sound_found"; then |
14066 for dir in "machine" "sys" "linux"; do | 14105 for dir in "machine" "sys" "linux"; do |
14067 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14106 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14068 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14107 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14069 echo "configure:14070: checking for ${dir}/soundcard.h" >&5 | 14108 echo "configure:14109: checking for ${dir}/soundcard.h" >&5 |
14070 | 14109 |
14071 cat > conftest.$ac_ext <<EOF | 14110 cat > conftest.$ac_ext <<EOF |
14072 #line 14073 "configure" | 14111 #line 14112 "configure" |
14073 #include "confdefs.h" | 14112 #include "confdefs.h" |
14074 #include <${dir}/soundcard.h> | 14113 #include <${dir}/soundcard.h> |
14075 EOF | 14114 EOF |
14076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14077 { (eval echo configure:14078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14116 { (eval echo configure:14117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14079 if test -z "$ac_err"; then | 14118 if test -z "$ac_err"; then |
14080 rm -rf conftest* | 14119 rm -rf conftest* |
14081 eval "ac_cv_header_$ac_safe=yes" | 14120 eval "ac_cv_header_$ac_safe=yes" |
14082 else | 14121 else |
14126 fi | 14165 fi |
14127 | 14166 |
14128 if test "$with_nas_sound" != "no"; then | 14167 if test "$with_nas_sound" != "no"; then |
14129 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14168 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14130 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14169 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14131 echo "configure:14132: checking for audio/audiolib.h" >&5 | 14170 echo "configure:14171: checking for audio/audiolib.h" >&5 |
14132 | 14171 |
14133 cat > conftest.$ac_ext <<EOF | 14172 cat > conftest.$ac_ext <<EOF |
14134 #line 14135 "configure" | 14173 #line 14174 "configure" |
14135 #include "confdefs.h" | 14174 #include "confdefs.h" |
14136 #include <audio/audiolib.h> | 14175 #include <audio/audiolib.h> |
14137 EOF | 14176 EOF |
14138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14139 { (eval echo configure:14140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14178 { (eval echo configure:14179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14140 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14141 if test -z "$ac_err"; then | 14180 if test -z "$ac_err"; then |
14142 rm -rf conftest* | 14181 rm -rf conftest* |
14143 eval "ac_cv_header_$ac_safe=yes" | 14182 eval "ac_cv_header_$ac_safe=yes" |
14144 else | 14183 else |
14152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14153 echo "$ac_t""yes" 1>&6 | 14192 echo "$ac_t""yes" 1>&6 |
14154 | 14193 |
14155 | 14194 |
14156 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14195 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14157 echo "configure:14158: checking for AuOpenServer in -laudio" >&5 | 14196 echo "configure:14197: checking for AuOpenServer in -laudio" >&5 |
14158 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14197 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14159 | 14198 |
14160 xe_check_libs=" -laudio " | 14199 xe_check_libs=" -laudio " |
14161 cat > conftest.$ac_ext <<EOF | 14200 cat > conftest.$ac_ext <<EOF |
14162 #line 14163 "configure" | 14201 #line 14202 "configure" |
14163 #include "confdefs.h" | 14202 #include "confdefs.h" |
14164 /* Override any gcc2 internal prototype to avoid an error. */ | 14203 /* Override any gcc2 internal prototype to avoid an error. */ |
14165 /* We use char because int might match the return type of a gcc2 | 14204 /* We use char because int might match the return type of a gcc2 |
14166 builtin and then its argument prototype would still apply. */ | 14205 builtin and then its argument prototype would still apply. */ |
14167 char AuOpenServer(); | 14206 char AuOpenServer(); |
14168 | 14207 |
14169 int main() { | 14208 int main() { |
14170 AuOpenServer() | 14209 AuOpenServer() |
14171 ; return 0; } | 14210 ; return 0; } |
14172 EOF | 14211 EOF |
14173 if { (eval echo configure:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14212 if { (eval echo configure:14213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14174 rm -rf conftest* | 14213 rm -rf conftest* |
14175 eval "ac_cv_lib_$ac_lib_var=yes" | 14214 eval "ac_cv_lib_$ac_lib_var=yes" |
14176 else | 14215 else |
14177 echo "configure: failed program was:" >&5 | 14216 echo "configure: failed program was:" >&5 |
14178 cat conftest.$ac_ext >&5 | 14217 cat conftest.$ac_ext >&5 |
14207 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14246 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14208 echo " xemacs will be linked with \"nas.o\"" | 14247 echo " xemacs will be linked with \"nas.o\"" |
14209 fi | 14248 fi |
14210 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14249 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14211 cat > conftest.$ac_ext <<EOF | 14250 cat > conftest.$ac_ext <<EOF |
14212 #line 14213 "configure" | 14251 #line 14252 "configure" |
14213 #include "confdefs.h" | 14252 #include "confdefs.h" |
14214 #include <audio/Xtutil.h> | 14253 #include <audio/Xtutil.h> |
14215 EOF | 14254 EOF |
14216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14217 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14256 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14238 | 14277 |
14239 if test "$with_esd_sound" != "no"; then | 14278 if test "$with_esd_sound" != "no"; then |
14240 # Extract the first word of "esd-config", so it can be a program name with args. | 14279 # Extract the first word of "esd-config", so it can be a program name with args. |
14241 set dummy esd-config; ac_word=$2 | 14280 set dummy esd-config; ac_word=$2 |
14242 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14243 echo "configure:14244: checking for $ac_word" >&5 | 14282 echo "configure:14283: checking for $ac_word" >&5 |
14244 | 14283 |
14245 if test -n "$have_esd_config"; then | 14284 if test -n "$have_esd_config"; then |
14246 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14285 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14247 else | 14286 else |
14248 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14287 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14267 if test "$have_esd_config" = "yes"; then | 14306 if test "$have_esd_config" = "yes"; then |
14268 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14307 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14269 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 | 14308 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 |
14270 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14309 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14271 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14310 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14272 echo "configure:14273: checking for esd_play_stream" >&5 | 14311 echo "configure:14312: checking for esd_play_stream" >&5 |
14273 | 14312 |
14274 cat > conftest.$ac_ext <<EOF | 14313 cat > conftest.$ac_ext <<EOF |
14275 #line 14276 "configure" | 14314 #line 14315 "configure" |
14276 #include "confdefs.h" | 14315 #include "confdefs.h" |
14277 /* System header to define __stub macros and hopefully few prototypes, | 14316 /* System header to define __stub macros and hopefully few prototypes, |
14278 which can conflict with char esd_play_stream(); below. */ | 14317 which can conflict with char esd_play_stream(); below. */ |
14279 #include <assert.h> | 14318 #include <assert.h> |
14280 /* Override any gcc2 internal prototype to avoid an error. */ | 14319 /* Override any gcc2 internal prototype to avoid an error. */ |
14293 esd_play_stream(); | 14332 esd_play_stream(); |
14294 #endif | 14333 #endif |
14295 | 14334 |
14296 ; return 0; } | 14335 ; return 0; } |
14297 EOF | 14336 EOF |
14298 if { (eval echo configure:14299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14337 if { (eval echo configure:14338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14299 rm -rf conftest* | 14338 rm -rf conftest* |
14300 eval "ac_cv_func_esd_play_stream=yes" | 14339 eval "ac_cv_func_esd_play_stream=yes" |
14301 else | 14340 else |
14302 echo "configure: failed program was:" >&5 | 14341 echo "configure: failed program was:" >&5 |
14303 cat conftest.$ac_ext >&5 | 14342 cat conftest.$ac_ext >&5 |
14344 | 14383 |
14345 test -z "$with_tty" && with_tty=yes | 14384 test -z "$with_tty" && with_tty=yes |
14346 | 14385 |
14347 if test "$with_tty" = "yes" ; then | 14386 if test "$with_tty" = "yes" ; then |
14348 echo "checking for TTY-related features" 1>&6 | 14387 echo "checking for TTY-related features" 1>&6 |
14349 echo "configure:14350: checking for TTY-related features" >&5 | 14388 echo "configure:14389: checking for TTY-related features" >&5 |
14350 { test "$extra_verbose" = "yes" && cat << \EOF | 14389 { test "$extra_verbose" = "yes" && cat << \EOF |
14351 Defining HAVE_TTY | 14390 Defining HAVE_TTY |
14352 EOF | 14391 EOF |
14353 cat >> confdefs.h <<\EOF | 14392 cat >> confdefs.h <<\EOF |
14354 #define HAVE_TTY 1 | 14393 #define HAVE_TTY 1 |
14357 | 14396 |
14358 | 14397 |
14359 if test -z "$with_ncurses"; then | 14398 if test -z "$with_ncurses"; then |
14360 | 14399 |
14361 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14400 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14362 echo "configure:14363: checking for tgetent in -lncurses" >&5 | 14401 echo "configure:14402: checking for tgetent in -lncurses" >&5 |
14363 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14402 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14364 | 14403 |
14365 xe_check_libs=" -lncurses " | 14404 xe_check_libs=" -lncurses " |
14366 cat > conftest.$ac_ext <<EOF | 14405 cat > conftest.$ac_ext <<EOF |
14367 #line 14368 "configure" | 14406 #line 14407 "configure" |
14368 #include "confdefs.h" | 14407 #include "confdefs.h" |
14369 /* Override any gcc2 internal prototype to avoid an error. */ | 14408 /* Override any gcc2 internal prototype to avoid an error. */ |
14370 /* We use char because int might match the return type of a gcc2 | 14409 /* We use char because int might match the return type of a gcc2 |
14371 builtin and then its argument prototype would still apply. */ | 14410 builtin and then its argument prototype would still apply. */ |
14372 char tgetent(); | 14411 char tgetent(); |
14373 | 14412 |
14374 int main() { | 14413 int main() { |
14375 tgetent() | 14414 tgetent() |
14376 ; return 0; } | 14415 ; return 0; } |
14377 EOF | 14416 EOF |
14378 if { (eval echo configure:14379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14417 if { (eval echo configure:14418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14379 rm -rf conftest* | 14418 rm -rf conftest* |
14380 eval "ac_cv_lib_$ac_lib_var=yes" | 14419 eval "ac_cv_lib_$ac_lib_var=yes" |
14381 else | 14420 else |
14382 echo "configure: failed program was:" >&5 | 14421 echo "configure: failed program was:" >&5 |
14383 cat conftest.$ac_ext >&5 | 14422 cat conftest.$ac_ext >&5 |
14406 EOF | 14445 EOF |
14407 } | 14446 } |
14408 | 14447 |
14409 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14448 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14410 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14449 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14411 echo "configure:14412: checking for ncurses/curses.h" >&5 | 14450 echo "configure:14451: checking for ncurses/curses.h" >&5 |
14412 | 14451 |
14413 cat > conftest.$ac_ext <<EOF | 14452 cat > conftest.$ac_ext <<EOF |
14414 #line 14415 "configure" | 14453 #line 14454 "configure" |
14415 #include "confdefs.h" | 14454 #include "confdefs.h" |
14416 #include <ncurses/curses.h> | 14455 #include <ncurses/curses.h> |
14417 EOF | 14456 EOF |
14418 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14419 { (eval echo configure:14420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14458 { (eval echo configure:14459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14420 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14421 if test -z "$ac_err"; then | 14460 if test -z "$ac_err"; then |
14422 rm -rf conftest* | 14461 rm -rf conftest* |
14423 eval "ac_cv_header_$ac_safe=yes" | 14462 eval "ac_cv_header_$ac_safe=yes" |
14424 else | 14463 else |
14436 echo "$ac_t""no" 1>&6 | 14475 echo "$ac_t""no" 1>&6 |
14437 fi | 14476 fi |
14438 | 14477 |
14439 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14478 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14440 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14479 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14441 echo "configure:14442: checking for ncurses/term.h" >&5 | 14480 echo "configure:14481: checking for ncurses/term.h" >&5 |
14442 | 14481 |
14443 cat > conftest.$ac_ext <<EOF | 14482 cat > conftest.$ac_ext <<EOF |
14444 #line 14445 "configure" | 14483 #line 14484 "configure" |
14445 #include "confdefs.h" | 14484 #include "confdefs.h" |
14446 #include <ncurses/term.h> | 14485 #include <ncurses/term.h> |
14447 EOF | 14486 EOF |
14448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14449 { (eval echo configure:14450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14488 { (eval echo configure:14489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14451 if test -z "$ac_err"; then | 14490 if test -z "$ac_err"; then |
14452 rm -rf conftest* | 14491 rm -rf conftest* |
14453 eval "ac_cv_header_$ac_safe=yes" | 14492 eval "ac_cv_header_$ac_safe=yes" |
14454 else | 14493 else |
14474 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14513 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14475 save_c_switch_site="$c_switch_site" | 14514 save_c_switch_site="$c_switch_site" |
14476 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14515 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14477 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14516 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14478 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14517 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14479 echo "configure:14480: checking for ncurses/curses.h" >&5 | 14518 echo "configure:14519: checking for ncurses/curses.h" >&5 |
14480 | 14519 |
14481 cat > conftest.$ac_ext <<EOF | 14520 cat > conftest.$ac_ext <<EOF |
14482 #line 14483 "configure" | 14521 #line 14522 "configure" |
14483 #include "confdefs.h" | 14522 #include "confdefs.h" |
14484 #include <ncurses/curses.h> | 14523 #include <ncurses/curses.h> |
14485 EOF | 14524 EOF |
14486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14487 { (eval echo configure:14488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14526 { (eval echo configure:14527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14489 if test -z "$ac_err"; then | 14528 if test -z "$ac_err"; then |
14490 rm -rf conftest* | 14529 rm -rf conftest* |
14491 eval "ac_cv_header_$ac_safe=yes" | 14530 eval "ac_cv_header_$ac_safe=yes" |
14492 else | 14531 else |
14517 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14556 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14518 else | 14557 else |
14519 for lib in curses termlib termcap; do | 14558 for lib in curses termlib termcap; do |
14520 | 14559 |
14521 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14560 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14522 echo "configure:14523: checking for tgetent in -l$lib" >&5 | 14561 echo "configure:14562: checking for tgetent in -l$lib" >&5 |
14523 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14562 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14524 | 14563 |
14525 xe_check_libs=" -l$lib " | 14564 xe_check_libs=" -l$lib " |
14526 cat > conftest.$ac_ext <<EOF | 14565 cat > conftest.$ac_ext <<EOF |
14527 #line 14528 "configure" | 14566 #line 14567 "configure" |
14528 #include "confdefs.h" | 14567 #include "confdefs.h" |
14529 /* Override any gcc2 internal prototype to avoid an error. */ | 14568 /* Override any gcc2 internal prototype to avoid an error. */ |
14530 /* We use char because int might match the return type of a gcc2 | 14569 /* We use char because int might match the return type of a gcc2 |
14531 builtin and then its argument prototype would still apply. */ | 14570 builtin and then its argument prototype would still apply. */ |
14532 char tgetent(); | 14571 char tgetent(); |
14533 | 14572 |
14534 int main() { | 14573 int main() { |
14535 tgetent() | 14574 tgetent() |
14536 ; return 0; } | 14575 ; return 0; } |
14537 EOF | 14576 EOF |
14538 if { (eval echo configure:14539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14577 if { (eval echo configure:14578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14539 rm -rf conftest* | 14578 rm -rf conftest* |
14540 eval "ac_cv_lib_$ac_lib_var=yes" | 14579 eval "ac_cv_lib_$ac_lib_var=yes" |
14541 else | 14580 else |
14542 echo "configure: failed program was:" >&5 | 14581 echo "configure: failed program was:" >&5 |
14543 cat conftest.$ac_ext >&5 | 14582 cat conftest.$ac_ext >&5 |
14564 if test -n "$libs_termcap"; then | 14603 if test -n "$libs_termcap"; then |
14565 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14604 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14566 else | 14605 else |
14567 | 14606 |
14568 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14607 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14569 echo "configure:14570: checking for tgetent in -lcurses" >&5 | 14608 echo "configure:14609: checking for tgetent in -lcurses" >&5 |
14570 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14609 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14571 | 14610 |
14572 xe_check_libs=" -lcurses " | 14611 xe_check_libs=" -lcurses " |
14573 cat > conftest.$ac_ext <<EOF | 14612 cat > conftest.$ac_ext <<EOF |
14574 #line 14575 "configure" | 14613 #line 14614 "configure" |
14575 #include "confdefs.h" | 14614 #include "confdefs.h" |
14576 /* Override any gcc2 internal prototype to avoid an error. */ | 14615 /* Override any gcc2 internal prototype to avoid an error. */ |
14577 /* We use char because int might match the return type of a gcc2 | 14616 /* We use char because int might match the return type of a gcc2 |
14578 builtin and then its argument prototype would still apply. */ | 14617 builtin and then its argument prototype would still apply. */ |
14579 char tgetent(); | 14618 char tgetent(); |
14580 | 14619 |
14581 int main() { | 14620 int main() { |
14582 tgetent() | 14621 tgetent() |
14583 ; return 0; } | 14622 ; return 0; } |
14584 EOF | 14623 EOF |
14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14624 if { (eval echo configure:14625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14586 rm -rf conftest* | 14625 rm -rf conftest* |
14587 eval "ac_cv_lib_$ac_lib_var=yes" | 14626 eval "ac_cv_lib_$ac_lib_var=yes" |
14588 else | 14627 else |
14589 echo "configure: failed program was:" >&5 | 14628 echo "configure: failed program was:" >&5 |
14590 cat conftest.$ac_ext >&5 | 14629 cat conftest.$ac_ext >&5 |
14598 echo "$ac_t""yes" 1>&6 | 14637 echo "$ac_t""yes" 1>&6 |
14599 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14638 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14600 else | 14639 else |
14601 echo "$ac_t""no" 1>&6 | 14640 echo "$ac_t""no" 1>&6 |
14602 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14641 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14603 echo "configure:14604: checking for tgetent in -ltermcap" >&5 | 14642 echo "configure:14643: checking for tgetent in -ltermcap" >&5 |
14604 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14643 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14605 | 14644 |
14606 xe_check_libs=" -ltermcap " | 14645 xe_check_libs=" -ltermcap " |
14607 cat > conftest.$ac_ext <<EOF | 14646 cat > conftest.$ac_ext <<EOF |
14608 #line 14609 "configure" | 14647 #line 14648 "configure" |
14609 #include "confdefs.h" | 14648 #include "confdefs.h" |
14610 /* Override any gcc2 internal prototype to avoid an error. */ | 14649 /* Override any gcc2 internal prototype to avoid an error. */ |
14611 /* We use char because int might match the return type of a gcc2 | 14650 /* We use char because int might match the return type of a gcc2 |
14612 builtin and then its argument prototype would still apply. */ | 14651 builtin and then its argument prototype would still apply. */ |
14613 char tgetent(); | 14652 char tgetent(); |
14614 | 14653 |
14615 int main() { | 14654 int main() { |
14616 tgetent() | 14655 tgetent() |
14617 ; return 0; } | 14656 ; return 0; } |
14618 EOF | 14657 EOF |
14619 if { (eval echo configure:14620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14658 if { (eval echo configure:14659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14620 rm -rf conftest* | 14659 rm -rf conftest* |
14621 eval "ac_cv_lib_$ac_lib_var=yes" | 14660 eval "ac_cv_lib_$ac_lib_var=yes" |
14622 else | 14661 else |
14623 echo "configure: failed program was:" >&5 | 14662 echo "configure: failed program was:" >&5 |
14624 cat conftest.$ac_ext >&5 | 14663 cat conftest.$ac_ext >&5 |
14662 } | 14701 } |
14663 | 14702 |
14664 | 14703 |
14665 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14704 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14666 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14705 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14667 echo "configure:14668: checking for gpm.h" >&5 | 14706 echo "configure:14707: checking for gpm.h" >&5 |
14668 | 14707 |
14669 cat > conftest.$ac_ext <<EOF | 14708 cat > conftest.$ac_ext <<EOF |
14670 #line 14671 "configure" | 14709 #line 14710 "configure" |
14671 #include "confdefs.h" | 14710 #include "confdefs.h" |
14672 #include <gpm.h> | 14711 #include <gpm.h> |
14673 EOF | 14712 EOF |
14674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14675 { (eval echo configure:14676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14714 { (eval echo configure:14715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14677 if test -z "$ac_err"; then | 14716 if test -z "$ac_err"; then |
14678 rm -rf conftest* | 14717 rm -rf conftest* |
14679 eval "ac_cv_header_$ac_safe=yes" | 14718 eval "ac_cv_header_$ac_safe=yes" |
14680 else | 14719 else |
14693 with_gpm=no | 14732 with_gpm=no |
14694 fi | 14733 fi |
14695 } | 14734 } |
14696 test -z "$with_gpm" && { | 14735 test -z "$with_gpm" && { |
14697 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14736 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14698 echo "configure:14699: checking for Gpm_Open in -lgpm" >&5 | 14737 echo "configure:14738: checking for Gpm_Open in -lgpm" >&5 |
14699 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14738 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14700 | 14739 |
14701 xe_check_libs=" -lgpm " | 14740 xe_check_libs=" -lgpm " |
14702 cat > conftest.$ac_ext <<EOF | 14741 cat > conftest.$ac_ext <<EOF |
14703 #line 14704 "configure" | 14742 #line 14743 "configure" |
14704 #include "confdefs.h" | 14743 #include "confdefs.h" |
14705 /* Override any gcc2 internal prototype to avoid an error. */ | 14744 /* Override any gcc2 internal prototype to avoid an error. */ |
14706 /* We use char because int might match the return type of a gcc2 | 14745 /* We use char because int might match the return type of a gcc2 |
14707 builtin and then its argument prototype would still apply. */ | 14746 builtin and then its argument prototype would still apply. */ |
14708 char Gpm_Open(); | 14747 char Gpm_Open(); |
14709 | 14748 |
14710 int main() { | 14749 int main() { |
14711 Gpm_Open() | 14750 Gpm_Open() |
14712 ; return 0; } | 14751 ; return 0; } |
14713 EOF | 14752 EOF |
14714 if { (eval echo configure:14715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14753 if { (eval echo configure:14754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14715 rm -rf conftest* | 14754 rm -rf conftest* |
14716 eval "ac_cv_lib_$ac_lib_var=yes" | 14755 eval "ac_cv_lib_$ac_lib_var=yes" |
14717 else | 14756 else |
14718 echo "configure: failed program was:" >&5 | 14757 echo "configure: failed program was:" >&5 |
14719 cat conftest.$ac_ext >&5 | 14758 cat conftest.$ac_ext >&5 |
14752 done | 14791 done |
14753 fi | 14792 fi |
14754 | 14793 |
14755 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14794 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14756 != "no no no" && echo "checking for database support" 1>&6 | 14795 != "no no no" && echo "checking for database support" 1>&6 |
14757 echo "configure:14758: checking for database support" >&5 | 14796 echo "configure:14797: checking for database support" >&5 |
14758 | 14797 |
14759 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14798 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14760 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14799 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14761 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14800 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14762 echo "configure:14763: checking for ndbm.h" >&5 | 14801 echo "configure:14802: checking for ndbm.h" >&5 |
14763 | 14802 |
14764 cat > conftest.$ac_ext <<EOF | 14803 cat > conftest.$ac_ext <<EOF |
14765 #line 14766 "configure" | 14804 #line 14805 "configure" |
14766 #include "confdefs.h" | 14805 #include "confdefs.h" |
14767 #include <ndbm.h> | 14806 #include <ndbm.h> |
14768 EOF | 14807 EOF |
14769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14770 { (eval echo configure:14771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14809 { (eval echo configure:14810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14772 if test -z "$ac_err"; then | 14811 if test -z "$ac_err"; then |
14773 rm -rf conftest* | 14812 rm -rf conftest* |
14774 eval "ac_cv_header_$ac_safe=yes" | 14813 eval "ac_cv_header_$ac_safe=yes" |
14775 else | 14814 else |
14795 fi | 14834 fi |
14796 | 14835 |
14797 if test "$with_database_gdbm" != "no"; then | 14836 if test "$with_database_gdbm" != "no"; then |
14798 | 14837 |
14799 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14838 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14800 echo "configure:14801: checking for dbm_open in -lgdbm" >&5 | 14839 echo "configure:14840: checking for dbm_open in -lgdbm" >&5 |
14801 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14840 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14802 | 14841 |
14803 xe_check_libs=" -lgdbm " | 14842 xe_check_libs=" -lgdbm " |
14804 cat > conftest.$ac_ext <<EOF | 14843 cat > conftest.$ac_ext <<EOF |
14805 #line 14806 "configure" | 14844 #line 14845 "configure" |
14806 #include "confdefs.h" | 14845 #include "confdefs.h" |
14807 /* Override any gcc2 internal prototype to avoid an error. */ | 14846 /* Override any gcc2 internal prototype to avoid an error. */ |
14808 /* We use char because int might match the return type of a gcc2 | 14847 /* We use char because int might match the return type of a gcc2 |
14809 builtin and then its argument prototype would still apply. */ | 14848 builtin and then its argument prototype would still apply. */ |
14810 char dbm_open(); | 14849 char dbm_open(); |
14811 | 14850 |
14812 int main() { | 14851 int main() { |
14813 dbm_open() | 14852 dbm_open() |
14814 ; return 0; } | 14853 ; return 0; } |
14815 EOF | 14854 EOF |
14816 if { (eval echo configure:14817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14855 if { (eval echo configure:14856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14817 rm -rf conftest* | 14856 rm -rf conftest* |
14818 eval "ac_cv_lib_$ac_lib_var=yes" | 14857 eval "ac_cv_lib_$ac_lib_var=yes" |
14819 else | 14858 else |
14820 echo "configure: failed program was:" >&5 | 14859 echo "configure: failed program was:" >&5 |
14821 cat conftest.$ac_ext >&5 | 14860 cat conftest.$ac_ext >&5 |
14839 | 14878 |
14840 fi | 14879 fi |
14841 | 14880 |
14842 if test "$with_database_dbm" != "no"; then | 14881 if test "$with_database_dbm" != "no"; then |
14843 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14882 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14844 echo "configure:14845: checking for dbm_open" >&5 | 14883 echo "configure:14884: checking for dbm_open" >&5 |
14845 | 14884 |
14846 cat > conftest.$ac_ext <<EOF | 14885 cat > conftest.$ac_ext <<EOF |
14847 #line 14848 "configure" | 14886 #line 14887 "configure" |
14848 #include "confdefs.h" | 14887 #include "confdefs.h" |
14849 /* System header to define __stub macros and hopefully few prototypes, | 14888 /* System header to define __stub macros and hopefully few prototypes, |
14850 which can conflict with char dbm_open(); below. */ | 14889 which can conflict with char dbm_open(); below. */ |
14851 #include <assert.h> | 14890 #include <assert.h> |
14852 /* Override any gcc2 internal prototype to avoid an error. */ | 14891 /* Override any gcc2 internal prototype to avoid an error. */ |
14865 dbm_open(); | 14904 dbm_open(); |
14866 #endif | 14905 #endif |
14867 | 14906 |
14868 ; return 0; } | 14907 ; return 0; } |
14869 EOF | 14908 EOF |
14870 if { (eval echo configure:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14909 if { (eval echo configure:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14871 rm -rf conftest* | 14910 rm -rf conftest* |
14872 eval "ac_cv_func_dbm_open=yes" | 14911 eval "ac_cv_func_dbm_open=yes" |
14873 else | 14912 else |
14874 echo "configure: failed program was:" >&5 | 14913 echo "configure: failed program was:" >&5 |
14875 cat conftest.$ac_ext >&5 | 14914 cat conftest.$ac_ext >&5 |
14884 else | 14923 else |
14885 echo "$ac_t""no" 1>&6 | 14924 echo "$ac_t""no" 1>&6 |
14886 | 14925 |
14887 | 14926 |
14888 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14927 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14889 echo "configure:14890: checking for dbm_open in -ldbm" >&5 | 14928 echo "configure:14929: checking for dbm_open in -ldbm" >&5 |
14890 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14929 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14891 | 14930 |
14892 xe_check_libs=" -ldbm " | 14931 xe_check_libs=" -ldbm " |
14893 cat > conftest.$ac_ext <<EOF | 14932 cat > conftest.$ac_ext <<EOF |
14894 #line 14895 "configure" | 14933 #line 14934 "configure" |
14895 #include "confdefs.h" | 14934 #include "confdefs.h" |
14896 /* Override any gcc2 internal prototype to avoid an error. */ | 14935 /* Override any gcc2 internal prototype to avoid an error. */ |
14897 /* We use char because int might match the return type of a gcc2 | 14936 /* We use char because int might match the return type of a gcc2 |
14898 builtin and then its argument prototype would still apply. */ | 14937 builtin and then its argument prototype would still apply. */ |
14899 char dbm_open(); | 14938 char dbm_open(); |
14900 | 14939 |
14901 int main() { | 14940 int main() { |
14902 dbm_open() | 14941 dbm_open() |
14903 ; return 0; } | 14942 ; return 0; } |
14904 EOF | 14943 EOF |
14905 if { (eval echo configure:14906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14944 if { (eval echo configure:14945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14906 rm -rf conftest* | 14945 rm -rf conftest* |
14907 eval "ac_cv_lib_$ac_lib_var=yes" | 14946 eval "ac_cv_lib_$ac_lib_var=yes" |
14908 else | 14947 else |
14909 echo "configure: failed program was:" >&5 | 14948 echo "configure: failed program was:" >&5 |
14910 cat conftest.$ac_ext >&5 | 14949 cat conftest.$ac_ext >&5 |
14941 } | 14980 } |
14942 | 14981 |
14943 | 14982 |
14944 if test "$with_database_berkdb" != "no"; then | 14983 if test "$with_database_berkdb" != "no"; then |
14945 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14984 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14946 echo "configure:14947: checking for Berkeley db.h" >&5 | 14985 echo "configure:14986: checking for Berkeley db.h" >&5 |
14947 for header in "db/db.h" "db.h"; do | 14986 for header in "db/db.h" "db.h"; do |
14948 cat > conftest.$ac_ext <<EOF | 14987 cat > conftest.$ac_ext <<EOF |
14949 #line 14950 "configure" | 14988 #line 14989 "configure" |
14950 #include "confdefs.h" | 14989 #include "confdefs.h" |
14951 | 14990 |
14952 #include <stdlib.h> | 14991 #include <stdlib.h> |
14953 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14992 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14954 #ifdef HAVE_INTTYPES_H | 14993 #ifdef HAVE_INTTYPES_H |
14966 | 15005 |
14967 int main() { | 15006 int main() { |
14968 | 15007 |
14969 ; return 0; } | 15008 ; return 0; } |
14970 EOF | 15009 EOF |
14971 if { (eval echo configure:14972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15010 if { (eval echo configure:15011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14972 rm -rf conftest* | 15011 rm -rf conftest* |
14973 db_h_file="$header"; break | 15012 db_h_file="$header"; break |
14974 else | 15013 else |
14975 echo "configure: failed program was:" >&5 | 15014 echo "configure: failed program was:" >&5 |
14976 cat conftest.$ac_ext >&5 | 15015 cat conftest.$ac_ext >&5 |
14982 else echo "$ac_t""$db_h_file" 1>&6 | 15021 else echo "$ac_t""$db_h_file" 1>&6 |
14983 fi | 15022 fi |
14984 | 15023 |
14985 if test "$with_database_berkdb" != "no"; then | 15024 if test "$with_database_berkdb" != "no"; then |
14986 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15025 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14987 echo "configure:14988: checking for Berkeley DB version" >&5 | 15026 echo "configure:15027: checking for Berkeley DB version" >&5 |
14988 cat > conftest.$ac_ext <<EOF | 15027 cat > conftest.$ac_ext <<EOF |
14989 #line 14990 "configure" | 15028 #line 15029 "configure" |
14990 #include "confdefs.h" | 15029 #include "confdefs.h" |
14991 #include <$db_h_file> | 15030 #include <$db_h_file> |
14992 #if DB_VERSION_MAJOR > 1 | 15031 #if DB_VERSION_MAJOR > 1 |
14993 yes | 15032 yes |
14994 #endif | 15033 #endif |
14996 EOF | 15035 EOF |
14997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14998 egrep "yes" >/dev/null 2>&1; then | 15037 egrep "yes" >/dev/null 2>&1; then |
14999 rm -rf conftest* | 15038 rm -rf conftest* |
15000 cat > conftest.$ac_ext <<EOF | 15039 cat > conftest.$ac_ext <<EOF |
15001 #line 15002 "configure" | 15040 #line 15041 "configure" |
15002 #include "confdefs.h" | 15041 #include "confdefs.h" |
15003 #include <$db_h_file> | 15042 #include <$db_h_file> |
15004 #if DB_VERSION_MAJOR > 2 | 15043 #if DB_VERSION_MAJOR > 2 |
15005 yes | 15044 yes |
15006 #endif | 15045 #endif |
15007 | 15046 |
15008 EOF | 15047 EOF |
15009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15010 egrep "yes" >/dev/null 2>&1; then | 15049 egrep "yes" >/dev/null 2>&1; then |
15011 rm -rf conftest* | 15050 rm -rf conftest* |
15012 echo "$ac_t""3" 1>&6; dbfunc=db_create | 15051 cat > conftest.$ac_ext <<EOF |
15052 #line 15053 "configure" | |
15053 #include "confdefs.h" | |
15054 #include <$db_h_file> | |
15055 #if DB_VERSION_MAJOR > 3 | |
15056 yes | |
15057 #endif | |
15058 | |
15059 EOF | |
15060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
15061 egrep "yes" >/dev/null 2>&1; then | |
15062 rm -rf conftest* | |
15063 echo "$ac_t""4" 1>&6; dbfunc=db_create; dbver=4 | |
15013 else | 15064 else |
15014 rm -rf conftest* | 15065 rm -rf conftest* |
15015 | 15066 |
15016 echo "$ac_t""2" 1>&6; dbfunc=db_open | 15067 echo "$ac_t""3" 1>&6; dbfunc=db_create; dbver=3 |
15017 fi | 15068 fi |
15018 rm -f conftest* | 15069 rm -f conftest* |
15019 | 15070 |
15020 else | 15071 else |
15021 rm -rf conftest* | 15072 rm -rf conftest* |
15022 | 15073 |
15023 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 15074 echo "$ac_t""2" 1>&6; dbfunc=db_open; dbver=2 |
15075 fi | |
15076 rm -f conftest* | |
15077 | |
15078 else | |
15079 rm -rf conftest* | |
15080 | |
15081 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | |
15024 fi | 15082 fi |
15025 rm -f conftest* | 15083 rm -f conftest* |
15026 | 15084 |
15027 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15085 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15028 echo "configure:15029: checking for $dbfunc" >&5 | 15086 echo "configure:15087: checking for $dbfunc" >&5 |
15029 | 15087 |
15030 cat > conftest.$ac_ext <<EOF | 15088 cat > conftest.$ac_ext <<EOF |
15031 #line 15032 "configure" | 15089 #line 15090 "configure" |
15032 #include "confdefs.h" | 15090 #include "confdefs.h" |
15033 /* System header to define __stub macros and hopefully few prototypes, | 15091 /* System header to define __stub macros and hopefully few prototypes, |
15034 which can conflict with char $dbfunc(); below. */ | 15092 which can conflict with char $dbfunc(); below. */ |
15035 #include <assert.h> | 15093 #include <assert.h> |
15036 /* Override any gcc2 internal prototype to avoid an error. */ | 15094 /* Override any gcc2 internal prototype to avoid an error. */ |
15049 $dbfunc(); | 15107 $dbfunc(); |
15050 #endif | 15108 #endif |
15051 | 15109 |
15052 ; return 0; } | 15110 ; return 0; } |
15053 EOF | 15111 EOF |
15054 if { (eval echo configure:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15112 if { (eval echo configure:15113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15055 rm -rf conftest* | 15113 rm -rf conftest* |
15056 eval "ac_cv_func_$dbfunc=yes" | 15114 eval "ac_cv_func_$dbfunc=yes" |
15057 else | 15115 else |
15058 echo "configure: failed program was:" >&5 | 15116 echo "configure: failed program was:" >&5 |
15059 cat conftest.$ac_ext >&5 | 15117 cat conftest.$ac_ext >&5 |
15068 else | 15126 else |
15069 echo "$ac_t""no" 1>&6 | 15127 echo "$ac_t""no" 1>&6 |
15070 | 15128 |
15071 | 15129 |
15072 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15130 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15073 echo "configure:15074: checking for $dbfunc in -ldb" >&5 | 15131 echo "configure:15132: checking for $dbfunc in -ldb" >&5 |
15074 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15132 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15075 | 15133 |
15076 xe_check_libs=" -ldb " | 15134 xe_check_libs=" -ldb " |
15077 cat > conftest.$ac_ext <<EOF | 15135 cat > conftest.$ac_ext <<EOF |
15078 #line 15079 "configure" | 15136 #line 15137 "configure" |
15079 #include "confdefs.h" | 15137 #include "confdefs.h" |
15080 /* Override any gcc2 internal prototype to avoid an error. */ | 15138 /* Override any gcc2 internal prototype to avoid an error. */ |
15081 /* We use char because int might match the return type of a gcc2 | 15139 /* We use char because int might match the return type of a gcc2 |
15082 builtin and then its argument prototype would still apply. */ | 15140 builtin and then its argument prototype would still apply. */ |
15083 char $dbfunc(); | 15141 char $dbfunc(); |
15084 | 15142 |
15085 int main() { | 15143 int main() { |
15086 $dbfunc() | 15144 $dbfunc() |
15087 ; return 0; } | 15145 ; return 0; } |
15088 EOF | 15146 EOF |
15089 if { (eval echo configure:15090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15147 if { (eval echo configure:15148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15090 rm -rf conftest* | 15148 rm -rf conftest* |
15091 eval "ac_cv_lib_$ac_lib_var=yes" | 15149 eval "ac_cv_lib_$ac_lib_var=yes" |
15092 else | 15150 else |
15093 echo "configure: failed program was:" >&5 | 15151 echo "configure: failed program was:" >&5 |
15094 cat conftest.$ac_ext >&5 | 15152 cat conftest.$ac_ext >&5 |
15105 echo "$ac_t""no" 1>&6 | 15163 echo "$ac_t""no" 1>&6 |
15106 fi | 15164 fi |
15107 | 15165 |
15108 | 15166 |
15109 fi | 15167 fi |
15168 | |
15169 fi | |
15170 | |
15171 if test "$with_database_berkdb" != "yes" -a "$dbver" = "4"; then | |
15172 rm -f $tempcname | |
15173 echo "#include <$db_h_file>" > $tempcname | |
15174 echo "configure___ dbfunc=db_create" >> $tempcname | |
15175 eval `$CPP -Isrc $tempcname \ | |
15176 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | |
15177 rm -f $tempcname | |
15178 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | |
15179 | |
15180 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | |
15181 echo "configure:15182: checking for $dbfunc in -ldb" >&5 | |
15182 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | |
15183 | |
15184 xe_check_libs=" -ldb " | |
15185 cat > conftest.$ac_ext <<EOF | |
15186 #line 15187 "configure" | |
15187 #include "confdefs.h" | |
15188 /* Override any gcc2 internal prototype to avoid an error. */ | |
15189 /* We use char because int might match the return type of a gcc2 | |
15190 builtin and then its argument prototype would still apply. */ | |
15191 char $dbfunc(); | |
15192 | |
15193 int main() { | |
15194 $dbfunc() | |
15195 ; return 0; } | |
15196 EOF | |
15197 if { (eval echo configure:15198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15198 rm -rf conftest* | |
15199 eval "ac_cv_lib_$ac_lib_var=yes" | |
15200 else | |
15201 echo "configure: failed program was:" >&5 | |
15202 cat conftest.$ac_ext >&5 | |
15203 rm -rf conftest* | |
15204 eval "ac_cv_lib_$ac_lib_var=no" | |
15205 fi | |
15206 rm -f conftest* | |
15207 xe_check_libs="" | |
15208 | |
15209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15210 echo "$ac_t""yes" 1>&6 | |
15211 with_database_berkdb=yes need_libdb=yes | |
15212 else | |
15213 echo "$ac_t""no" 1>&6 | |
15214 fi | |
15215 | |
15110 | 15216 |
15111 fi | 15217 fi |
15112 | 15218 |
15113 if test "$with_database_berkdb" = "yes"; then | 15219 if test "$with_database_berkdb" = "yes"; then |
15114 { test "$extra_verbose" = "yes" && cat << EOF | 15220 { test "$extra_verbose" = "yes" && cat << EOF |
15145 fi | 15251 fi |
15146 | 15252 |
15147 if test "$with_socks" = "yes"; then | 15253 if test "$with_socks" = "yes"; then |
15148 | 15254 |
15149 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15255 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15150 echo "configure:15151: checking for SOCKSinit in -lsocks" >&5 | 15256 echo "configure:15257: checking for SOCKSinit in -lsocks" >&5 |
15151 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15257 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15152 | 15258 |
15153 xe_check_libs=" -lsocks " | 15259 xe_check_libs=" -lsocks " |
15154 cat > conftest.$ac_ext <<EOF | 15260 cat > conftest.$ac_ext <<EOF |
15155 #line 15156 "configure" | 15261 #line 15262 "configure" |
15156 #include "confdefs.h" | 15262 #include "confdefs.h" |
15157 /* Override any gcc2 internal prototype to avoid an error. */ | 15263 /* Override any gcc2 internal prototype to avoid an error. */ |
15158 /* We use char because int might match the return type of a gcc2 | 15264 /* We use char because int might match the return type of a gcc2 |
15159 builtin and then its argument prototype would still apply. */ | 15265 builtin and then its argument prototype would still apply. */ |
15160 char SOCKSinit(); | 15266 char SOCKSinit(); |
15161 | 15267 |
15162 int main() { | 15268 int main() { |
15163 SOCKSinit() | 15269 SOCKSinit() |
15164 ; return 0; } | 15270 ; return 0; } |
15165 EOF | 15271 EOF |
15166 if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15272 if { (eval echo configure:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15167 rm -rf conftest* | 15273 rm -rf conftest* |
15168 eval "ac_cv_lib_$ac_lib_var=yes" | 15274 eval "ac_cv_lib_$ac_lib_var=yes" |
15169 else | 15275 else |
15170 echo "configure: failed program was:" >&5 | 15276 echo "configure: failed program was:" >&5 |
15171 cat conftest.$ac_ext >&5 | 15277 cat conftest.$ac_ext >&5 |
15215 | 15321 |
15216 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15322 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15217 fi | 15323 fi |
15218 | 15324 |
15219 cat > conftest.$ac_ext <<EOF | 15325 cat > conftest.$ac_ext <<EOF |
15220 #line 15221 "configure" | 15326 #line 15327 "configure" |
15221 #include "confdefs.h" | 15327 #include "confdefs.h" |
15222 int main(int c,char *v[]){return 0;} | 15328 int main(int c,char *v[]){return 0;} |
15223 EOF | 15329 EOF |
15224 if { (eval echo configure:15225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15330 if { (eval echo configure:15331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15225 then | 15331 then |
15226 : | 15332 : |
15227 else | 15333 else |
15228 conftest_rc="$?" | 15334 conftest_rc="$?" |
15229 echo "configure: failed program was:" >&5 | 15335 echo "configure: failed program was:" >&5 |