Mercurial > hg > xemacs-beta
comparison configure @ 867:804517e16990
[xemacs-hg @ 2002-06-05 09:54:39 by ben]
Textual renaming: text/char names
abbrev.c, alloc.c, buffer.c, buffer.h, bytecode.c, callint.c, casefiddle.c, casetab.c, charset.h, chartab.c, chartab.h, cmds.c, console-gtk.h, console-msw.c, console-msw.h, console-stream.c, console-tty.c, console-x.c, console-x.h, console.h, data.c, device-msw.c, device-x.c, dialog-msw.c, dired-msw.c, dired.c, doc.c, doprnt.c, editfns.c, eldap.c, emodules.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-unixoid.c, events.c, events.h, file-coding.c, file-coding.h, fileio.c, filelock.c, fns.c, font-lock.c, frame-gtk.c, frame-msw.c, frame-x.c, frame.c, glyphs-eimage.c, glyphs-msw.c, glyphs-x.c, glyphs.c, glyphs.h, gpmevent.c, gui-x.c, gui-x.h, gui.c, gui.h, hpplay.c, indent.c, insdel.c, insdel.h, intl-win32.c, keymap.c, line-number.c, line-number.h, lisp-disunion.h, lisp-union.h, lisp.h, lread.c, lrecord.h, lstream.c, lstream.h, md5.c, menubar-msw.c, menubar-x.c, menubar.c, minibuf.c, mule-ccl.c, mule-charset.c, mule-coding.c, mule-wnnfns.c, ndir.h, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-tty.c, objects-x.c, objects.c, objects.h, postgresql.c, print.c, process-nt.c, process-unix.c, process.c, procimpl.h, realpath.c, redisplay-gtk.c, redisplay-msw.c, redisplay-output.c, redisplay-tty.c, redisplay-x.c, redisplay.c, redisplay.h, regex.c, search.c, select-common.h, select-gtk.c, select-x.c, sound.h, symbols.c, syntax.c, syntax.h, sysdep.c, sysdep.h, sysdir.h, sysfile.h, sysproc.h, syspwd.h, systime.h, syswindows.h, termcap.c, tests.c, text.c, text.h, toolbar-common.c, tooltalk.c, ui-gtk.c, unexnt.c, unicode.c, win32.c: Text/char naming rationalization.
[a] distinguish between "charptr" when it refers to operations on
the pointer itself and when it refers to operations on text; and
[b] use consistent naming for everything referring to internal
format, i.e.
Itext == text in internal format
Ibyte == a byte in such text
Ichar == a char as represented in internal character format
thus e.g.
set_charptr_emchar -> set_itext_ichar
The pre and post tags on either side of this change are:
pre-internal-format-textual-renaming
post-internal-format-textual-renaming
See the Internals Manual for details of exactly how this was done,
how to handle the change in your workspace, etc.
author | ben |
---|---|
date | Wed, 05 Jun 2002 09:58:45 +0000 |
parents | 2b6fa2618f76 |
children | 2367ca81af28 |
comparison
equal
deleted
inserted
replaced
866:613552a02607 | 867:804517e16990 |
---|---|
589 ;; | 589 ;; |
590 | 590 |
591 | 591 |
592 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 592 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
593 mandir | infodir | infopath | lispdir | etcdir | pkgdir | \ | 593 mandir | infodir | infopath | lispdir | etcdir | pkgdir | \ |
594 archlibdir | docdir | package_path ) | 594 archlibdir | docdir | package_path | moduledir ) |
595 if test "$valomitted" = "yes"; then | 595 if test "$valomitted" = "yes"; then |
596 if test "$#" = 0; then | 596 if test "$#" = 0; then |
597 (echo "$progname: Usage error:" | 597 (echo "$progname: Usage error:" |
598 echo " " "The \`--$optname' option requires a value." | 598 echo " " "The \`--$optname' option requires a value." |
599 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; | 599 echo " Use \`$progname --help' to show usage.") >&2 && exit 1; |
1259 machine=convex opsys=bsd4-3 | 1259 machine=convex opsys=bsd4-3 |
1260 NON_GNU_CPP="cc -E -P" | 1260 NON_GNU_CPP="cc -E -P" |
1261 ;; | 1261 ;; |
1262 | 1262 |
1263 i[3-9]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; | 1263 i[3-9]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; |
1264 | |
1265 *-*-darwin*) | |
1266 opsys=darwin | |
1267 RANLIB="ranlib -c" pdump=yes ;; | |
1264 | 1268 |
1265 i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; | 1269 i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; |
1266 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) opsys=dgux5-4r3 ;; | 1270 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) opsys=dgux5-4r3 ;; |
1267 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) opsys=dgux5-4r2 ;; | 1271 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) opsys=dgux5-4r2 ;; |
1268 m88k-dg-dgux* ) opsys=dgux ;; | 1272 m88k-dg-dgux* ) opsys=dgux ;; |
1639 xe_save_CFLAGS="$CFLAGS" | 1643 xe_save_CFLAGS="$CFLAGS" |
1640 | 1644 |
1641 # Extract the first word of "gcc", so it can be a program name with args. | 1645 # Extract the first word of "gcc", so it can be a program name with args. |
1642 set dummy gcc; ac_word=$2 | 1646 set dummy gcc; ac_word=$2 |
1643 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1644 echo "configure:1645: checking for $ac_word" >&5 | 1648 echo "configure:1649: checking for $ac_word" >&5 |
1645 | 1649 |
1646 if test -n "$CC"; then | 1650 if test -n "$CC"; then |
1647 ac_cv_prog_CC="$CC" # Let the user override the test. | 1651 ac_cv_prog_CC="$CC" # Let the user override the test. |
1648 else | 1652 else |
1649 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1666 | 1670 |
1667 if test -z "$CC"; then | 1671 if test -z "$CC"; then |
1668 # Extract the first word of "cc", so it can be a program name with args. | 1672 # Extract the first word of "cc", so it can be a program name with args. |
1669 set dummy cc; ac_word=$2 | 1673 set dummy cc; ac_word=$2 |
1670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1674 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1671 echo "configure:1672: checking for $ac_word" >&5 | 1675 echo "configure:1676: checking for $ac_word" >&5 |
1672 | 1676 |
1673 if test -n "$CC"; then | 1677 if test -n "$CC"; then |
1674 ac_cv_prog_CC="$CC" # Let the user override the test. | 1678 ac_cv_prog_CC="$CC" # Let the user override the test. |
1675 else | 1679 else |
1676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1714 case "`uname -s`" in | 1718 case "`uname -s`" in |
1715 *win32* | *WIN32*) | 1719 *win32* | *WIN32*) |
1716 # Extract the first word of "cl", so it can be a program name with args. | 1720 # Extract the first word of "cl", so it can be a program name with args. |
1717 set dummy cl; ac_word=$2 | 1721 set dummy cl; ac_word=$2 |
1718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1719 echo "configure:1720: checking for $ac_word" >&5 | 1723 echo "configure:1724: checking for $ac_word" >&5 |
1720 | 1724 |
1721 if test -n "$CC"; then | 1725 if test -n "$CC"; then |
1722 ac_cv_prog_CC="$CC" # Let the user override the test. | 1726 ac_cv_prog_CC="$CC" # Let the user override the test. |
1723 else | 1727 else |
1724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1743 fi | 1747 fi |
1744 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1748 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1745 fi | 1749 fi |
1746 | 1750 |
1747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1748 echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1752 echo "configure:1753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1749 | 1753 |
1750 ac_ext=c | 1754 ac_ext=c |
1751 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1755 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1752 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1756 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1753 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' | 1757 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' |
1756 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1760 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1757 cross_compiling=no | 1761 cross_compiling=no |
1758 | 1762 |
1759 cat > conftest.$ac_ext << EOF | 1763 cat > conftest.$ac_ext << EOF |
1760 | 1764 |
1761 #line 1762 "configure" | 1765 #line 1766 "configure" |
1762 #include "confdefs.h" | 1766 #include "confdefs.h" |
1763 | 1767 |
1764 main(){return(0);} | 1768 main(){return(0);} |
1765 EOF | 1769 EOF |
1766 if { (eval echo configure:1767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1770 if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1767 ac_cv_prog_cc_works=yes | 1771 ac_cv_prog_cc_works=yes |
1768 # If we can't run a trivial program, we are probably using a cross compiler. | 1772 # If we can't run a trivial program, we are probably using a cross compiler. |
1769 if (./conftest; exit) 2>/dev/null; then | 1773 if (./conftest; exit) 2>/dev/null; then |
1770 ac_cv_prog_cc_cross=no | 1774 ac_cv_prog_cc_cross=no |
1771 else | 1775 else |
1789 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1793 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1790 if test $ac_cv_prog_cc_works = no; then | 1794 if test $ac_cv_prog_cc_works = no; then |
1791 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1795 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1792 fi | 1796 fi |
1793 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1797 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1794 echo "configure:1795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1798 echo "configure:1799: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1795 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1799 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1796 cross_compiling=$ac_cv_prog_cc_cross | 1800 cross_compiling=$ac_cv_prog_cc_cross |
1797 | 1801 |
1798 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1802 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1799 echo "configure:1800: checking whether we are using GNU C" >&5 | 1803 echo "configure:1804: checking whether we are using GNU C" >&5 |
1800 | 1804 |
1801 cat > conftest.c <<EOF | 1805 cat > conftest.c <<EOF |
1802 #ifdef __GNUC__ | 1806 #ifdef __GNUC__ |
1803 yes; | 1807 yes; |
1804 #endif | 1808 #endif |
1805 EOF | 1809 EOF |
1806 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1810 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1807 ac_cv_prog_gcc=yes | 1811 ac_cv_prog_gcc=yes |
1808 else | 1812 else |
1809 ac_cv_prog_gcc=no | 1813 ac_cv_prog_gcc=no |
1810 fi | 1814 fi |
1811 | 1815 |
1819 | 1823 |
1820 ac_test_CFLAGS="${CFLAGS+set}" | 1824 ac_test_CFLAGS="${CFLAGS+set}" |
1821 ac_save_CFLAGS="$CFLAGS" | 1825 ac_save_CFLAGS="$CFLAGS" |
1822 CFLAGS= | 1826 CFLAGS= |
1823 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1827 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1824 echo "configure:1825: checking whether ${CC-cc} accepts -g" >&5 | 1828 echo "configure:1829: checking whether ${CC-cc} accepts -g" >&5 |
1825 | 1829 |
1826 echo 'void f(){}' > conftest.c | 1830 echo 'void f(){}' > conftest.c |
1827 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1831 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1828 ac_cv_prog_cc_g=yes | 1832 ac_cv_prog_cc_g=yes |
1829 else | 1833 else |
1852 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1856 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1853 CC=${NON_GNU_CC-cc} | 1857 CC=${NON_GNU_CC-cc} |
1854 # Extract the first word of "gcc", so it can be a program name with args. | 1858 # Extract the first word of "gcc", so it can be a program name with args. |
1855 set dummy gcc; ac_word=$2 | 1859 set dummy gcc; ac_word=$2 |
1856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1860 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1857 echo "configure:1858: checking for $ac_word" >&5 | 1861 echo "configure:1862: checking for $ac_word" >&5 |
1858 | 1862 |
1859 if test -n "$CC"; then | 1863 if test -n "$CC"; then |
1860 ac_cv_prog_CC="$CC" # Let the user override the test. | 1864 ac_cv_prog_CC="$CC" # Let the user override the test. |
1861 else | 1865 else |
1862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1879 | 1883 |
1880 if test -z "$CC"; then | 1884 if test -z "$CC"; then |
1881 # Extract the first word of "cc", so it can be a program name with args. | 1885 # Extract the first word of "cc", so it can be a program name with args. |
1882 set dummy cc; ac_word=$2 | 1886 set dummy cc; ac_word=$2 |
1883 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1884 echo "configure:1885: checking for $ac_word" >&5 | 1888 echo "configure:1889: checking for $ac_word" >&5 |
1885 | 1889 |
1886 if test -n "$CC"; then | 1890 if test -n "$CC"; then |
1887 ac_cv_prog_CC="$CC" # Let the user override the test. | 1891 ac_cv_prog_CC="$CC" # Let the user override the test. |
1888 else | 1892 else |
1889 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1927 case "`uname -s`" in | 1931 case "`uname -s`" in |
1928 *win32* | *WIN32*) | 1932 *win32* | *WIN32*) |
1929 # Extract the first word of "cl", so it can be a program name with args. | 1933 # Extract the first word of "cl", so it can be a program name with args. |
1930 set dummy cl; ac_word=$2 | 1934 set dummy cl; ac_word=$2 |
1931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1932 echo "configure:1933: checking for $ac_word" >&5 | 1936 echo "configure:1937: checking for $ac_word" >&5 |
1933 | 1937 |
1934 if test -n "$CC"; then | 1938 if test -n "$CC"; then |
1935 ac_cv_prog_CC="$CC" # Let the user override the test. | 1939 ac_cv_prog_CC="$CC" # Let the user override the test. |
1936 else | 1940 else |
1937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1956 fi | 1960 fi |
1957 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1961 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1958 fi | 1962 fi |
1959 | 1963 |
1960 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1964 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1961 echo "configure:1962: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1965 echo "configure:1966: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1962 | 1966 |
1963 ac_ext=c | 1967 ac_ext=c |
1964 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1968 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1965 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1969 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1966 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' | 1970 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' |
1969 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1973 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1970 cross_compiling=no | 1974 cross_compiling=no |
1971 | 1975 |
1972 cat > conftest.$ac_ext << EOF | 1976 cat > conftest.$ac_ext << EOF |
1973 | 1977 |
1974 #line 1975 "configure" | 1978 #line 1979 "configure" |
1975 #include "confdefs.h" | 1979 #include "confdefs.h" |
1976 | 1980 |
1977 main(){return(0);} | 1981 main(){return(0);} |
1978 EOF | 1982 EOF |
1979 if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1983 if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1980 ac_cv_prog_cc_works=yes | 1984 ac_cv_prog_cc_works=yes |
1981 # If we can't run a trivial program, we are probably using a cross compiler. | 1985 # If we can't run a trivial program, we are probably using a cross compiler. |
1982 if (./conftest; exit) 2>/dev/null; then | 1986 if (./conftest; exit) 2>/dev/null; then |
1983 ac_cv_prog_cc_cross=no | 1987 ac_cv_prog_cc_cross=no |
1984 else | 1988 else |
2002 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2006 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2003 if test $ac_cv_prog_cc_works = no; then | 2007 if test $ac_cv_prog_cc_works = no; then |
2004 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2008 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2005 fi | 2009 fi |
2006 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2010 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2007 echo "configure:2008: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2011 echo "configure:2012: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2008 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2012 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2009 cross_compiling=$ac_cv_prog_cc_cross | 2013 cross_compiling=$ac_cv_prog_cc_cross |
2010 | 2014 |
2011 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2015 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2012 echo "configure:2013: checking whether we are using GNU C" >&5 | 2016 echo "configure:2017: checking whether we are using GNU C" >&5 |
2013 | 2017 |
2014 cat > conftest.c <<EOF | 2018 cat > conftest.c <<EOF |
2015 #ifdef __GNUC__ | 2019 #ifdef __GNUC__ |
2016 yes; | 2020 yes; |
2017 #endif | 2021 #endif |
2018 EOF | 2022 EOF |
2019 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2023 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2020 ac_cv_prog_gcc=yes | 2024 ac_cv_prog_gcc=yes |
2021 else | 2025 else |
2022 ac_cv_prog_gcc=no | 2026 ac_cv_prog_gcc=no |
2023 fi | 2027 fi |
2024 | 2028 |
2032 | 2036 |
2033 ac_test_CFLAGS="${CFLAGS+set}" | 2037 ac_test_CFLAGS="${CFLAGS+set}" |
2034 ac_save_CFLAGS="$CFLAGS" | 2038 ac_save_CFLAGS="$CFLAGS" |
2035 CFLAGS= | 2039 CFLAGS= |
2036 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2040 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2037 echo "configure:2038: checking whether ${CC-cc} accepts -g" >&5 | 2041 echo "configure:2042: checking whether ${CC-cc} accepts -g" >&5 |
2038 | 2042 |
2039 echo 'void f(){}' > conftest.c | 2043 echo 'void f(){}' > conftest.c |
2040 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2044 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2041 ac_cv_prog_cc_g=yes | 2045 ac_cv_prog_cc_g=yes |
2042 else | 2046 else |
2065 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2069 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2066 CC=gcc | 2070 CC=gcc |
2067 # Extract the first word of "gcc", so it can be a program name with args. | 2071 # Extract the first word of "gcc", so it can be a program name with args. |
2068 set dummy gcc; ac_word=$2 | 2072 set dummy gcc; ac_word=$2 |
2069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2070 echo "configure:2071: checking for $ac_word" >&5 | 2074 echo "configure:2075: checking for $ac_word" >&5 |
2071 | 2075 |
2072 if test -n "$CC"; then | 2076 if test -n "$CC"; then |
2073 ac_cv_prog_CC="$CC" # Let the user override the test. | 2077 ac_cv_prog_CC="$CC" # Let the user override the test. |
2074 else | 2078 else |
2075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2092 | 2096 |
2093 if test -z "$CC"; then | 2097 if test -z "$CC"; then |
2094 # Extract the first word of "cc", so it can be a program name with args. | 2098 # Extract the first word of "cc", so it can be a program name with args. |
2095 set dummy cc; ac_word=$2 | 2099 set dummy cc; ac_word=$2 |
2096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2097 echo "configure:2098: checking for $ac_word" >&5 | 2101 echo "configure:2102: checking for $ac_word" >&5 |
2098 | 2102 |
2099 if test -n "$CC"; then | 2103 if test -n "$CC"; then |
2100 ac_cv_prog_CC="$CC" # Let the user override the test. | 2104 ac_cv_prog_CC="$CC" # Let the user override the test. |
2101 else | 2105 else |
2102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2140 case "`uname -s`" in | 2144 case "`uname -s`" in |
2141 *win32* | *WIN32*) | 2145 *win32* | *WIN32*) |
2142 # Extract the first word of "cl", so it can be a program name with args. | 2146 # Extract the first word of "cl", so it can be a program name with args. |
2143 set dummy cl; ac_word=$2 | 2147 set dummy cl; ac_word=$2 |
2144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2145 echo "configure:2146: checking for $ac_word" >&5 | 2149 echo "configure:2150: checking for $ac_word" >&5 |
2146 | 2150 |
2147 if test -n "$CC"; then | 2151 if test -n "$CC"; then |
2148 ac_cv_prog_CC="$CC" # Let the user override the test. | 2152 ac_cv_prog_CC="$CC" # Let the user override the test. |
2149 else | 2153 else |
2150 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2154 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2169 fi | 2173 fi |
2170 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2174 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2171 fi | 2175 fi |
2172 | 2176 |
2173 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2177 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2174 echo "configure:2175: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2178 echo "configure:2179: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2175 | 2179 |
2176 ac_ext=c | 2180 ac_ext=c |
2177 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2181 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2178 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2182 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2179 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' | 2183 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' |
2182 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2186 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2183 cross_compiling=no | 2187 cross_compiling=no |
2184 | 2188 |
2185 cat > conftest.$ac_ext << EOF | 2189 cat > conftest.$ac_ext << EOF |
2186 | 2190 |
2187 #line 2188 "configure" | 2191 #line 2192 "configure" |
2188 #include "confdefs.h" | 2192 #include "confdefs.h" |
2189 | 2193 |
2190 main(){return(0);} | 2194 main(){return(0);} |
2191 EOF | 2195 EOF |
2192 if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2196 if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2193 ac_cv_prog_cc_works=yes | 2197 ac_cv_prog_cc_works=yes |
2194 # If we can't run a trivial program, we are probably using a cross compiler. | 2198 # If we can't run a trivial program, we are probably using a cross compiler. |
2195 if (./conftest; exit) 2>/dev/null; then | 2199 if (./conftest; exit) 2>/dev/null; then |
2196 ac_cv_prog_cc_cross=no | 2200 ac_cv_prog_cc_cross=no |
2197 else | 2201 else |
2215 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2219 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2216 if test $ac_cv_prog_cc_works = no; then | 2220 if test $ac_cv_prog_cc_works = no; then |
2217 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2221 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2218 fi | 2222 fi |
2219 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2223 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2220 echo "configure:2221: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2224 echo "configure:2225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2221 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2225 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2222 cross_compiling=$ac_cv_prog_cc_cross | 2226 cross_compiling=$ac_cv_prog_cc_cross |
2223 | 2227 |
2224 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2228 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2225 echo "configure:2226: checking whether we are using GNU C" >&5 | 2229 echo "configure:2230: checking whether we are using GNU C" >&5 |
2226 | 2230 |
2227 cat > conftest.c <<EOF | 2231 cat > conftest.c <<EOF |
2228 #ifdef __GNUC__ | 2232 #ifdef __GNUC__ |
2229 yes; | 2233 yes; |
2230 #endif | 2234 #endif |
2231 EOF | 2235 EOF |
2232 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2236 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2233 ac_cv_prog_gcc=yes | 2237 ac_cv_prog_gcc=yes |
2234 else | 2238 else |
2235 ac_cv_prog_gcc=no | 2239 ac_cv_prog_gcc=no |
2236 fi | 2240 fi |
2237 | 2241 |
2245 | 2249 |
2246 ac_test_CFLAGS="${CFLAGS+set}" | 2250 ac_test_CFLAGS="${CFLAGS+set}" |
2247 ac_save_CFLAGS="$CFLAGS" | 2251 ac_save_CFLAGS="$CFLAGS" |
2248 CFLAGS= | 2252 CFLAGS= |
2249 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2253 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2250 echo "configure:2251: checking whether ${CC-cc} accepts -g" >&5 | 2254 echo "configure:2255: checking whether ${CC-cc} accepts -g" >&5 |
2251 | 2255 |
2252 echo 'void f(){}' > conftest.c | 2256 echo 'void f(){}' > conftest.c |
2253 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2257 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2254 ac_cv_prog_cc_g=yes | 2258 ac_cv_prog_cc_g=yes |
2255 else | 2259 else |
2282 test -n "$CPP" -a -d "$CPP" && CPP= | 2286 test -n "$CPP" -a -d "$CPP" && CPP= |
2283 | 2287 |
2284 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2288 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2285 | 2289 |
2286 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2290 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2287 echo "configure:2288: checking how to run the C preprocessor" >&5 | 2291 echo "configure:2292: checking how to run the C preprocessor" >&5 |
2288 # On Suns, sometimes $CPP names a directory. | 2292 # On Suns, sometimes $CPP names a directory. |
2289 if test -n "$CPP" && test -d "$CPP"; then | 2293 if test -n "$CPP" && test -d "$CPP"; then |
2290 CPP= | 2294 CPP= |
2291 fi | 2295 fi |
2292 if test -z "$CPP"; then | 2296 if test -z "$CPP"; then |
2295 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2299 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2296 CPP="${CC-cc} -E" | 2300 CPP="${CC-cc} -E" |
2297 # On the NeXT, cc -E runs the code through the compiler's parser, | 2301 # On the NeXT, cc -E runs the code through the compiler's parser, |
2298 # not just through cpp. | 2302 # not just through cpp. |
2299 cat > conftest.$ac_ext <<EOF | 2303 cat > conftest.$ac_ext <<EOF |
2300 #line 2301 "configure" | 2304 #line 2305 "configure" |
2301 #include "confdefs.h" | 2305 #include "confdefs.h" |
2302 #include <assert.h> | 2306 #include <assert.h> |
2303 Syntax Error | 2307 Syntax Error |
2304 EOF | 2308 EOF |
2305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2306 { (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2310 { (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2308 if test -z "$ac_err"; then | 2312 if test -z "$ac_err"; then |
2309 : | 2313 : |
2310 else | 2314 else |
2311 echo "$ac_err" >&5 | 2315 echo "$ac_err" >&5 |
2312 echo "configure: failed program was:" >&5 | 2316 echo "configure: failed program was:" >&5 |
2313 cat conftest.$ac_ext >&5 | 2317 cat conftest.$ac_ext >&5 |
2314 rm -rf conftest* | 2318 rm -rf conftest* |
2315 CPP="${CC-cc} -E -traditional-cpp" | 2319 CPP="${CC-cc} -E -traditional-cpp" |
2316 cat > conftest.$ac_ext <<EOF | 2320 cat > conftest.$ac_ext <<EOF |
2317 #line 2318 "configure" | 2321 #line 2322 "configure" |
2318 #include "confdefs.h" | 2322 #include "confdefs.h" |
2319 #include <assert.h> | 2323 #include <assert.h> |
2320 Syntax Error | 2324 Syntax Error |
2321 EOF | 2325 EOF |
2322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2323 { (eval echo configure:2324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2327 { (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2325 if test -z "$ac_err"; then | 2329 if test -z "$ac_err"; then |
2326 : | 2330 : |
2327 else | 2331 else |
2328 echo "$ac_err" >&5 | 2332 echo "$ac_err" >&5 |
2329 echo "configure: failed program was:" >&5 | 2333 echo "configure: failed program was:" >&5 |
2330 cat conftest.$ac_ext >&5 | 2334 cat conftest.$ac_ext >&5 |
2331 rm -rf conftest* | 2335 rm -rf conftest* |
2332 CPP="${CC-cc} -nologo -E" | 2336 CPP="${CC-cc} -nologo -E" |
2333 cat > conftest.$ac_ext <<EOF | 2337 cat > conftest.$ac_ext <<EOF |
2334 #line 2335 "configure" | 2338 #line 2339 "configure" |
2335 #include "confdefs.h" | 2339 #include "confdefs.h" |
2336 #include <assert.h> | 2340 #include <assert.h> |
2337 Syntax Error | 2341 Syntax Error |
2338 EOF | 2342 EOF |
2339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2340 { (eval echo configure:2341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2344 { (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2342 if test -z "$ac_err"; then | 2346 if test -z "$ac_err"; then |
2343 : | 2347 : |
2344 else | 2348 else |
2345 echo "$ac_err" >&5 | 2349 echo "$ac_err" >&5 |
2361 echo "$ac_t""$CPP" 1>&6 | 2365 echo "$ac_t""$CPP" 1>&6 |
2362 | 2366 |
2363 | 2367 |
2364 | 2368 |
2365 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2369 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2366 echo "configure:2367: checking for AIX" >&5 | 2370 echo "configure:2371: checking for AIX" >&5 |
2367 cat > conftest.$ac_ext <<EOF | 2371 cat > conftest.$ac_ext <<EOF |
2368 #line 2369 "configure" | 2372 #line 2373 "configure" |
2369 #include "confdefs.h" | 2373 #include "confdefs.h" |
2370 #ifdef _AIX | 2374 #ifdef _AIX |
2371 yes | 2375 yes |
2372 #endif | 2376 #endif |
2373 | 2377 |
2390 rm -f conftest* | 2394 rm -f conftest* |
2391 | 2395 |
2392 | 2396 |
2393 | 2397 |
2394 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2398 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2395 echo "configure:2396: checking for GNU libc" >&5 | 2399 echo "configure:2400: checking for GNU libc" >&5 |
2396 cat > conftest.$ac_ext <<EOF | 2400 cat > conftest.$ac_ext <<EOF |
2397 #line 2398 "configure" | 2401 #line 2402 "configure" |
2398 #include "confdefs.h" | 2402 #include "confdefs.h" |
2399 #include <features.h> | 2403 #include <features.h> |
2400 int main() { | 2404 int main() { |
2401 | 2405 |
2402 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2406 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2404 ******* ======= ******** &&&&&&&& | 2408 ******* ======= ******** &&&&&&&& |
2405 #endif | 2409 #endif |
2406 | 2410 |
2407 ; return 0; } | 2411 ; return 0; } |
2408 EOF | 2412 EOF |
2409 if { (eval echo configure:2410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2410 rm -rf conftest* | 2414 rm -rf conftest* |
2411 have_glibc=yes | 2415 have_glibc=yes |
2412 else | 2416 else |
2413 echo "configure: failed program was:" >&5 | 2417 echo "configure: failed program was:" >&5 |
2414 cat conftest.$ac_ext >&5 | 2418 cat conftest.$ac_ext >&5 |
2481 | 2485 |
2482 ;; | 2486 ;; |
2483 esac | 2487 esac |
2484 | 2488 |
2485 cat > conftest.$ac_ext <<EOF | 2489 cat > conftest.$ac_ext <<EOF |
2486 #line 2487 "configure" | 2490 #line 2491 "configure" |
2487 #include "confdefs.h" | 2491 #include "confdefs.h" |
2488 int main () { | 2492 int main () { |
2489 #if defined __SUNPRO_C | 2493 #if defined __SUNPRO_C |
2490 return 11; | 2494 return 11; |
2491 #elif defined __DECC | 2495 #elif defined __DECC |
2495 #else | 2499 #else |
2496 return 0; | 2500 return 0; |
2497 #endif | 2501 #endif |
2498 } | 2502 } |
2499 EOF | 2503 EOF |
2500 if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2504 if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2501 then | 2505 then |
2502 : | 2506 : |
2503 else | 2507 else |
2504 conftest_rc="$?" | 2508 conftest_rc="$?" |
2505 echo "configure: failed program was:" >&5 | 2509 echo "configure: failed program was:" >&5 |
2747 | 2751 |
2748 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2752 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2749 | 2753 |
2750 if test "$__USLC__" = yes; then | 2754 if test "$__USLC__" = yes; then |
2751 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2755 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2752 echo "configure:2753: checking for whether the -Kalloca compiler flag is needed" >&5 | 2756 echo "configure:2757: checking for whether the -Kalloca compiler flag is needed" >&5 |
2753 need_kalloca=no | 2757 need_kalloca=no |
2754 cat > conftest.$ac_ext <<EOF | 2758 cat > conftest.$ac_ext <<EOF |
2755 #line 2756 "configure" | 2759 #line 2760 "configure" |
2756 #include "confdefs.h" | 2760 #include "confdefs.h" |
2757 | 2761 |
2758 int main() { | 2762 int main() { |
2759 void *x = alloca(4); | 2763 void *x = alloca(4); |
2760 ; return 0; } | 2764 ; return 0; } |
2761 EOF | 2765 EOF |
2762 if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2766 if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2763 rm -rf conftest* | 2767 rm -rf conftest* |
2764 : | 2768 : |
2765 else | 2769 else |
2766 echo "configure: failed program was:" >&5 | 2770 echo "configure: failed program was:" >&5 |
2767 cat conftest.$ac_ext >&5 | 2771 cat conftest.$ac_ext >&5 |
2768 rm -rf conftest* | 2772 rm -rf conftest* |
2769 | 2773 |
2770 xe_save_c_switch_system="$c_switch_system" | 2774 xe_save_c_switch_system="$c_switch_system" |
2771 c_switch_system="$c_switch_system -Kalloca" | 2775 c_switch_system="$c_switch_system -Kalloca" |
2772 cat > conftest.$ac_ext <<EOF | 2776 cat > conftest.$ac_ext <<EOF |
2773 #line 2774 "configure" | 2777 #line 2778 "configure" |
2774 #include "confdefs.h" | 2778 #include "confdefs.h" |
2775 | 2779 |
2776 int main() { | 2780 int main() { |
2777 void *x = alloca(4); | 2781 void *x = alloca(4); |
2778 ; return 0; } | 2782 ; return 0; } |
2779 EOF | 2783 EOF |
2780 if { (eval echo configure:2781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2784 if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2781 rm -rf conftest* | 2785 rm -rf conftest* |
2782 need_kalloca=yes | 2786 need_kalloca=yes |
2783 else | 2787 else |
2784 echo "configure: failed program was:" >&5 | 2788 echo "configure: failed program was:" >&5 |
2785 cat conftest.$ac_ext >&5 | 2789 cat conftest.$ac_ext >&5 |
2813 CFLAGS="-O" ; fi | 2817 CFLAGS="-O" ; fi |
2814 fi | 2818 fi |
2815 | 2819 |
2816 if test "$GCC" = "yes"; then | 2820 if test "$GCC" = "yes"; then |
2817 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2821 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2818 echo "configure:2819: checking for buggy gcc versions" >&5 | 2822 echo "configure:2823: checking for buggy gcc versions" >&5 |
2819 GCC_VERSION=`$CC --version` | 2823 GCC_VERSION=`$CC --version` |
2820 case `uname -s`:`uname -m`:$GCC_VERSION in | 2824 case `uname -s`:`uname -m`:$GCC_VERSION in |
2821 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2825 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2822 case "$CFLAGS" in | 2826 case "$CFLAGS" in |
2823 *-O2*|*-O3*) | 2827 *-O2*|*-O3*) |
2871 echo "$ac_t""no" 1>&6 | 2875 echo "$ac_t""no" 1>&6 |
2872 fi | 2876 fi |
2873 | 2877 |
2874 if test "$pdump" != "yes"; then | 2878 if test "$pdump" != "yes"; then |
2875 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2879 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2876 echo "configure:2877: checking for \"-z nocombreloc\" linker flag" >&5 | 2880 echo "configure:2881: checking for \"-z nocombreloc\" linker flag" >&5 |
2877 case "`ld --help 2>&1`" in | 2881 case "`ld --help 2>&1`" in |
2878 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2882 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2879 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2883 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2880 *) echo "$ac_t""no" 1>&6 ;; | 2884 *) echo "$ac_t""no" 1>&6 ;; |
2881 esac | 2885 esac |
2960 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2964 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2961 echo " xemacs will be linked with \"dumper.o\"" | 2965 echo " xemacs will be linked with \"dumper.o\"" |
2962 fi | 2966 fi |
2963 | 2967 |
2964 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2968 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2965 echo "configure:2966: checking for dynodump" >&5 | 2969 echo "configure:2970: checking for dynodump" >&5 |
2966 if test "$unexec" != "unexsol2.o"; then | 2970 if test "$unexec" != "unexsol2.o"; then |
2967 echo "$ac_t""no" 1>&6 | 2971 echo "$ac_t""no" 1>&6 |
2968 else | 2972 else |
2969 echo "$ac_t""yes" 1>&6 | 2973 echo "$ac_t""yes" 1>&6 |
2970 { test "$extra_verbose" = "yes" && cat << \EOF | 2974 { test "$extra_verbose" = "yes" && cat << \EOF |
2998 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3002 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2999 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3003 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3000 done | 3004 done |
3001 | 3005 |
3002 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3006 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3003 echo "configure:3004: checking for terminateAndUnload in -lC" >&5 | 3007 echo "configure:3008: checking for terminateAndUnload in -lC" >&5 |
3004 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3008 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3005 | 3009 |
3006 xe_check_libs=" -lC " | 3010 xe_check_libs=" -lC " |
3007 cat > conftest.$ac_ext <<EOF | 3011 cat > conftest.$ac_ext <<EOF |
3008 #line 3009 "configure" | 3012 #line 3013 "configure" |
3009 #include "confdefs.h" | 3013 #include "confdefs.h" |
3010 /* Override any gcc2 internal prototype to avoid an error. */ | 3014 /* Override any gcc2 internal prototype to avoid an error. */ |
3011 /* We use char because int might match the return type of a gcc2 | 3015 /* We use char because int might match the return type of a gcc2 |
3012 builtin and then its argument prototype would still apply. */ | 3016 builtin and then its argument prototype would still apply. */ |
3013 char terminateAndUnload(); | 3017 char terminateAndUnload(); |
3014 | 3018 |
3015 int main() { | 3019 int main() { |
3016 terminateAndUnload() | 3020 terminateAndUnload() |
3017 ; return 0; } | 3021 ; return 0; } |
3018 EOF | 3022 EOF |
3019 if { (eval echo configure:3020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3023 if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3020 rm -rf conftest* | 3024 rm -rf conftest* |
3021 eval "ac_cv_lib_$ac_lib_var=yes" | 3025 eval "ac_cv_lib_$ac_lib_var=yes" |
3022 else | 3026 else |
3023 echo "configure: failed program was:" >&5 | 3027 echo "configure: failed program was:" >&5 |
3024 cat conftest.$ac_ext >&5 | 3028 cat conftest.$ac_ext >&5 |
3122 esac | 3126 esac |
3123 fi | 3127 fi |
3124 | 3128 |
3125 if test "$add_runtime_path" = "yes"; then | 3129 if test "$add_runtime_path" = "yes"; then |
3126 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3130 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3127 echo "configure:3128: checking "for runtime libraries flag"" >&5 | 3131 echo "configure:3132: checking "for runtime libraries flag"" >&5 |
3128 case "$opsys" in | 3132 case "$opsys" in |
3129 sol2 ) dash_r="-R" ;; | 3133 sol2 ) dash_r="-R" ;; |
3130 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3134 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3131 *) | 3135 *) |
3132 dash_r="" | 3136 dash_r="" |
3144 esac | 3148 esac |
3145 shift | 3149 shift |
3146 done | 3150 done |
3147 fi | 3151 fi |
3148 cat > conftest.$ac_ext <<EOF | 3152 cat > conftest.$ac_ext <<EOF |
3149 #line 3150 "configure" | 3153 #line 3154 "configure" |
3150 #include "confdefs.h" | 3154 #include "confdefs.h" |
3151 | 3155 |
3152 int main() { | 3156 int main() { |
3153 | 3157 |
3154 ; return 0; } | 3158 ; return 0; } |
3155 EOF | 3159 EOF |
3156 if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3160 if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3157 rm -rf conftest* | 3161 rm -rf conftest* |
3158 dash_r="$try_dash_r" | 3162 dash_r="$try_dash_r" |
3159 else | 3163 else |
3160 echo "configure: failed program was:" >&5 | 3164 echo "configure: failed program was:" >&5 |
3161 cat conftest.$ac_ext >&5 | 3165 cat conftest.$ac_ext >&5 |
3252 else | 3256 else |
3253 doug_lea_malloc=no | 3257 doug_lea_malloc=no |
3254 fi | 3258 fi |
3255 after_morecore_hook_exists=yes | 3259 after_morecore_hook_exists=yes |
3256 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3260 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3257 echo "configure:3258: checking for malloc_set_state" >&5 | 3261 echo "configure:3262: checking for malloc_set_state" >&5 |
3258 | 3262 |
3259 cat > conftest.$ac_ext <<EOF | 3263 cat > conftest.$ac_ext <<EOF |
3260 #line 3261 "configure" | 3264 #line 3265 "configure" |
3261 #include "confdefs.h" | 3265 #include "confdefs.h" |
3262 /* System header to define __stub macros and hopefully few prototypes, | 3266 /* System header to define __stub macros and hopefully few prototypes, |
3263 which can conflict with char malloc_set_state(); below. */ | 3267 which can conflict with char malloc_set_state(); below. */ |
3264 #include <assert.h> | 3268 #include <assert.h> |
3265 /* Override any gcc2 internal prototype to avoid an error. */ | 3269 /* Override any gcc2 internal prototype to avoid an error. */ |
3278 malloc_set_state(); | 3282 malloc_set_state(); |
3279 #endif | 3283 #endif |
3280 | 3284 |
3281 ; return 0; } | 3285 ; return 0; } |
3282 EOF | 3286 EOF |
3283 if { (eval echo configure:3284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3287 if { (eval echo configure:3288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3284 rm -rf conftest* | 3288 rm -rf conftest* |
3285 eval "ac_cv_func_malloc_set_state=yes" | 3289 eval "ac_cv_func_malloc_set_state=yes" |
3286 else | 3290 else |
3287 echo "configure: failed program was:" >&5 | 3291 echo "configure: failed program was:" >&5 |
3288 cat conftest.$ac_ext >&5 | 3292 cat conftest.$ac_ext >&5 |
3298 echo "$ac_t""no" 1>&6 | 3302 echo "$ac_t""no" 1>&6 |
3299 doug_lea_malloc=no | 3303 doug_lea_malloc=no |
3300 fi | 3304 fi |
3301 | 3305 |
3302 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3306 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3303 echo "configure:3304: checking whether __after_morecore_hook exists" >&5 | 3307 echo "configure:3308: checking whether __after_morecore_hook exists" >&5 |
3304 cat > conftest.$ac_ext <<EOF | 3308 cat > conftest.$ac_ext <<EOF |
3305 #line 3306 "configure" | 3309 #line 3310 "configure" |
3306 #include "confdefs.h" | 3310 #include "confdefs.h" |
3307 extern void (* __after_morecore_hook)(); | 3311 extern void (* __after_morecore_hook)(); |
3308 int main() { | 3312 int main() { |
3309 __after_morecore_hook = 0 | 3313 __after_morecore_hook = 0 |
3310 ; return 0; } | 3314 ; return 0; } |
3311 EOF | 3315 EOF |
3312 if { (eval echo configure:3313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3316 if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3313 rm -rf conftest* | 3317 rm -rf conftest* |
3314 echo "$ac_t""yes" 1>&6 | 3318 echo "$ac_t""yes" 1>&6 |
3315 else | 3319 else |
3316 echo "configure: failed program was:" >&5 | 3320 echo "configure: failed program was:" >&5 |
3317 cat conftest.$ac_ext >&5 | 3321 cat conftest.$ac_ext >&5 |
3363 | 3367 |
3364 | 3368 |
3365 # Extract the first word of "ranlib", so it can be a program name with args. | 3369 # Extract the first word of "ranlib", so it can be a program name with args. |
3366 set dummy ranlib; ac_word=$2 | 3370 set dummy ranlib; ac_word=$2 |
3367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3368 echo "configure:3369: checking for $ac_word" >&5 | 3372 echo "configure:3373: checking for $ac_word" >&5 |
3369 | 3373 |
3370 if test -n "$RANLIB"; then | 3374 if test -n "$RANLIB"; then |
3371 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3375 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3372 else | 3376 else |
3373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3377 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3421 # ./install, which can be erroneously created by make from ./install.sh. | 3425 # ./install, which can be erroneously created by make from ./install.sh. |
3422 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3426 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3423 echo "configure:3424: checking for a BSD compatible install" >&5 | 3427 echo "configure:3428: checking for a BSD compatible install" >&5 |
3424 if test -z "$INSTALL"; then | 3428 if test -z "$INSTALL"; then |
3425 | 3429 |
3426 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3430 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3427 for ac_dir in $PATH; do | 3431 for ac_dir in $PATH; do |
3428 # Account for people who put trailing slashes in PATH elements. | 3432 # Account for people who put trailing slashes in PATH elements. |
3472 for ac_prog in 'bison -y' byacc | 3476 for ac_prog in 'bison -y' byacc |
3473 do | 3477 do |
3474 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3478 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3475 set dummy $ac_prog; ac_word=$2 | 3479 set dummy $ac_prog; ac_word=$2 |
3476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3480 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3477 echo "configure:3478: checking for $ac_word" >&5 | 3481 echo "configure:3482: checking for $ac_word" >&5 |
3478 | 3482 |
3479 if test -n "$YACC"; then | 3483 if test -n "$YACC"; then |
3480 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3484 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3481 else | 3485 else |
3482 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3504 | 3508 |
3505 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3509 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3506 do | 3510 do |
3507 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3508 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3509 echo "configure:3510: checking for $ac_hdr" >&5 | 3513 echo "configure:3514: checking for $ac_hdr" >&5 |
3510 | 3514 |
3511 cat > conftest.$ac_ext <<EOF | 3515 cat > conftest.$ac_ext <<EOF |
3512 #line 3513 "configure" | 3516 #line 3517 "configure" |
3513 #include "confdefs.h" | 3517 #include "confdefs.h" |
3514 #include <$ac_hdr> | 3518 #include <$ac_hdr> |
3515 EOF | 3519 EOF |
3516 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3517 { (eval echo configure:3518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3521 { (eval echo configure:3522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3518 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3519 if test -z "$ac_err"; then | 3523 if test -z "$ac_err"; then |
3520 rm -rf conftest* | 3524 rm -rf conftest* |
3521 eval "ac_cv_header_$ac_safe=yes" | 3525 eval "ac_cv_header_$ac_safe=yes" |
3522 else | 3526 else |
3542 echo "$ac_t""no" 1>&6 | 3546 echo "$ac_t""no" 1>&6 |
3543 fi | 3547 fi |
3544 done | 3548 done |
3545 | 3549 |
3546 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3550 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3547 echo "configure:3548: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3551 echo "configure:3552: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3548 | 3552 |
3549 cat > conftest.$ac_ext <<EOF | 3553 cat > conftest.$ac_ext <<EOF |
3550 #line 3551 "configure" | 3554 #line 3555 "configure" |
3551 #include "confdefs.h" | 3555 #include "confdefs.h" |
3552 #include <sys/types.h> | 3556 #include <sys/types.h> |
3553 #include <sys/wait.h> | 3557 #include <sys/wait.h> |
3554 #ifndef WEXITSTATUS | 3558 #ifndef WEXITSTATUS |
3555 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3559 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3561 int s; | 3565 int s; |
3562 wait (&s); | 3566 wait (&s); |
3563 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3567 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3564 ; return 0; } | 3568 ; return 0; } |
3565 EOF | 3569 EOF |
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3570 if { (eval echo configure:3571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3567 rm -rf conftest* | 3571 rm -rf conftest* |
3568 ac_cv_header_sys_wait_h=yes | 3572 ac_cv_header_sys_wait_h=yes |
3569 else | 3573 else |
3570 echo "configure: failed program was:" >&5 | 3574 echo "configure: failed program was:" >&5 |
3571 cat conftest.$ac_ext >&5 | 3575 cat conftest.$ac_ext >&5 |
3585 } | 3589 } |
3586 | 3590 |
3587 fi | 3591 fi |
3588 | 3592 |
3589 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3593 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3590 echo "configure:3591: checking for ANSI C header files" >&5 | 3594 echo "configure:3595: checking for ANSI C header files" >&5 |
3591 | 3595 |
3592 cat > conftest.$ac_ext <<EOF | 3596 cat > conftest.$ac_ext <<EOF |
3593 #line 3594 "configure" | 3597 #line 3598 "configure" |
3594 #include "confdefs.h" | 3598 #include "confdefs.h" |
3595 #include <stdlib.h> | 3599 #include <stdlib.h> |
3596 #include <stdarg.h> | 3600 #include <stdarg.h> |
3597 #include <string.h> | 3601 #include <string.h> |
3598 #include <float.h> | 3602 #include <float.h> |
3599 EOF | 3603 EOF |
3600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3601 { (eval echo configure:3602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3605 { (eval echo configure:3606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3603 if test -z "$ac_err"; then | 3607 if test -z "$ac_err"; then |
3604 rm -rf conftest* | 3608 rm -rf conftest* |
3605 ac_cv_header_stdc=yes | 3609 ac_cv_header_stdc=yes |
3606 else | 3610 else |
3613 rm -f conftest* | 3617 rm -f conftest* |
3614 | 3618 |
3615 if test $ac_cv_header_stdc = yes; then | 3619 if test $ac_cv_header_stdc = yes; then |
3616 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3617 cat > conftest.$ac_ext <<EOF | 3621 cat > conftest.$ac_ext <<EOF |
3618 #line 3619 "configure" | 3622 #line 3623 "configure" |
3619 #include "confdefs.h" | 3623 #include "confdefs.h" |
3620 #include <string.h> | 3624 #include <string.h> |
3621 EOF | 3625 EOF |
3622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3623 egrep "memchr" >/dev/null 2>&1; then | 3627 egrep "memchr" >/dev/null 2>&1; then |
3631 fi | 3635 fi |
3632 | 3636 |
3633 if test $ac_cv_header_stdc = yes; then | 3637 if test $ac_cv_header_stdc = yes; then |
3634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3635 cat > conftest.$ac_ext <<EOF | 3639 cat > conftest.$ac_ext <<EOF |
3636 #line 3637 "configure" | 3640 #line 3641 "configure" |
3637 #include "confdefs.h" | 3641 #include "confdefs.h" |
3638 #include <stdlib.h> | 3642 #include <stdlib.h> |
3639 EOF | 3643 EOF |
3640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3641 egrep "free" >/dev/null 2>&1; then | 3645 egrep "free" >/dev/null 2>&1; then |
3649 fi | 3653 fi |
3650 | 3654 |
3651 if test $ac_cv_header_stdc = yes; then | 3655 if test $ac_cv_header_stdc = yes; then |
3652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3656 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3653 cat > conftest.$ac_ext <<EOF | 3657 cat > conftest.$ac_ext <<EOF |
3654 #line 3655 "configure" | 3658 #line 3659 "configure" |
3655 #include "confdefs.h" | 3659 #include "confdefs.h" |
3656 #include <ctype.h> | 3660 #include <ctype.h> |
3657 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3661 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3658 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3662 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3659 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3660 int main () { int i; for (i = 0; i < 256; i++) | 3664 int main () { int i; for (i = 0; i < 256; i++) |
3661 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3665 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3662 exit (0); } | 3666 exit (0); } |
3663 | 3667 |
3664 EOF | 3668 EOF |
3665 if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3669 if { (eval echo configure:3670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3666 then | 3670 then |
3667 : | 3671 : |
3668 else | 3672 else |
3669 conftest_rc="$?" | 3673 conftest_rc="$?" |
3670 echo "configure: failed program was:" >&5 | 3674 echo "configure: failed program was:" >&5 |
3686 } | 3690 } |
3687 | 3691 |
3688 fi | 3692 fi |
3689 | 3693 |
3690 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3694 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3691 echo "configure:3692: checking whether time.h and sys/time.h may both be included" >&5 | 3695 echo "configure:3696: checking whether time.h and sys/time.h may both be included" >&5 |
3692 | 3696 |
3693 cat > conftest.$ac_ext <<EOF | 3697 cat > conftest.$ac_ext <<EOF |
3694 #line 3695 "configure" | 3698 #line 3699 "configure" |
3695 #include "confdefs.h" | 3699 #include "confdefs.h" |
3696 #include <sys/types.h> | 3700 #include <sys/types.h> |
3697 #include <sys/time.h> | 3701 #include <sys/time.h> |
3698 #include <time.h> | 3702 #include <time.h> |
3699 int main() { | 3703 int main() { |
3700 struct tm *tp; | 3704 struct tm *tp; |
3701 ; return 0; } | 3705 ; return 0; } |
3702 EOF | 3706 EOF |
3703 if { (eval echo configure:3704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3707 if { (eval echo configure:3708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3704 rm -rf conftest* | 3708 rm -rf conftest* |
3705 ac_cv_header_time=yes | 3709 ac_cv_header_time=yes |
3706 else | 3710 else |
3707 echo "configure: failed program was:" >&5 | 3711 echo "configure: failed program was:" >&5 |
3708 cat conftest.$ac_ext >&5 | 3712 cat conftest.$ac_ext >&5 |
3722 } | 3726 } |
3723 | 3727 |
3724 fi | 3728 fi |
3725 | 3729 |
3726 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3730 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3727 echo "configure:3728: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3731 echo "configure:3732: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3728 | 3732 |
3729 cat > conftest.$ac_ext <<EOF | 3733 cat > conftest.$ac_ext <<EOF |
3730 #line 3731 "configure" | 3734 #line 3735 "configure" |
3731 #include "confdefs.h" | 3735 #include "confdefs.h" |
3732 #include <sys/types.h> | 3736 #include <sys/types.h> |
3733 #include <signal.h> | 3737 #include <signal.h> |
3734 /* NetBSD declares sys_siglist in unistd.h. */ | 3738 /* NetBSD declares sys_siglist in unistd.h. */ |
3735 #ifdef HAVE_UNISTD_H | 3739 #ifdef HAVE_UNISTD_H |
3737 #endif | 3741 #endif |
3738 int main() { | 3742 int main() { |
3739 char *msg = *(sys_siglist + 1); | 3743 char *msg = *(sys_siglist + 1); |
3740 ; return 0; } | 3744 ; return 0; } |
3741 EOF | 3745 EOF |
3742 if { (eval echo configure:3743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3746 if { (eval echo configure:3747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3743 rm -rf conftest* | 3747 rm -rf conftest* |
3744 ac_cv_decl_sys_siglist=yes | 3748 ac_cv_decl_sys_siglist=yes |
3745 else | 3749 else |
3746 echo "configure: failed program was:" >&5 | 3750 echo "configure: failed program was:" >&5 |
3747 cat conftest.$ac_ext >&5 | 3751 cat conftest.$ac_ext >&5 |
3763 fi | 3767 fi |
3764 | 3768 |
3765 | 3769 |
3766 | 3770 |
3767 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3771 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3768 echo "configure:3769: checking for utime" >&5 | 3772 echo "configure:3773: checking for utime" >&5 |
3769 cat > conftest.$ac_ext <<EOF | 3773 cat > conftest.$ac_ext <<EOF |
3770 #line 3771 "configure" | 3774 #line 3775 "configure" |
3771 #include "confdefs.h" | 3775 #include "confdefs.h" |
3772 #include <sys/types.h> | 3776 #include <sys/types.h> |
3773 #include <utime.h> | 3777 #include <utime.h> |
3774 int main() { | 3778 int main() { |
3775 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3779 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3776 ; return 0; } | 3780 ; return 0; } |
3777 EOF | 3781 EOF |
3778 if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3782 if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3779 rm -rf conftest* | 3783 rm -rf conftest* |
3780 echo "$ac_t""yes" 1>&6 | 3784 echo "$ac_t""yes" 1>&6 |
3781 { test "$extra_verbose" = "yes" && cat << \EOF | 3785 { test "$extra_verbose" = "yes" && cat << \EOF |
3782 Defining HAVE_UTIME | 3786 Defining HAVE_UTIME |
3783 EOF | 3787 EOF |
3792 rm -rf conftest* | 3796 rm -rf conftest* |
3793 echo "$ac_t""no" 1>&6 | 3797 echo "$ac_t""no" 1>&6 |
3794 for ac_func in utimes | 3798 for ac_func in utimes |
3795 do | 3799 do |
3796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3797 echo "configure:3798: checking for $ac_func" >&5 | 3801 echo "configure:3802: checking for $ac_func" >&5 |
3798 | 3802 |
3799 cat > conftest.$ac_ext <<EOF | 3803 cat > conftest.$ac_ext <<EOF |
3800 #line 3801 "configure" | 3804 #line 3805 "configure" |
3801 #include "confdefs.h" | 3805 #include "confdefs.h" |
3802 /* System header to define __stub macros and hopefully few prototypes, | 3806 /* System header to define __stub macros and hopefully few prototypes, |
3803 which can conflict with char $ac_func(); below. */ | 3807 which can conflict with char $ac_func(); below. */ |
3804 #include <assert.h> | 3808 #include <assert.h> |
3805 /* Override any gcc2 internal prototype to avoid an error. */ | 3809 /* Override any gcc2 internal prototype to avoid an error. */ |
3818 $ac_func(); | 3822 $ac_func(); |
3819 #endif | 3823 #endif |
3820 | 3824 |
3821 ; return 0; } | 3825 ; return 0; } |
3822 EOF | 3826 EOF |
3823 if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3827 if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3824 rm -rf conftest* | 3828 rm -rf conftest* |
3825 eval "ac_cv_func_$ac_func=yes" | 3829 eval "ac_cv_func_$ac_func=yes" |
3826 else | 3830 else |
3827 echo "configure: failed program was:" >&5 | 3831 echo "configure: failed program was:" >&5 |
3828 cat conftest.$ac_ext >&5 | 3832 cat conftest.$ac_ext >&5 |
3850 fi | 3854 fi |
3851 rm -f conftest* | 3855 rm -f conftest* |
3852 | 3856 |
3853 | 3857 |
3854 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3858 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3855 echo "configure:3856: checking return type of signal handlers" >&5 | 3859 echo "configure:3860: checking return type of signal handlers" >&5 |
3856 | 3860 |
3857 cat > conftest.$ac_ext <<EOF | 3861 cat > conftest.$ac_ext <<EOF |
3858 #line 3859 "configure" | 3862 #line 3863 "configure" |
3859 #include "confdefs.h" | 3863 #include "confdefs.h" |
3860 #include <sys/types.h> | 3864 #include <sys/types.h> |
3861 #include <signal.h> | 3865 #include <signal.h> |
3862 #ifdef signal | 3866 #ifdef signal |
3863 #undef signal | 3867 #undef signal |
3870 | 3874 |
3871 int main() { | 3875 int main() { |
3872 int i; | 3876 int i; |
3873 ; return 0; } | 3877 ; return 0; } |
3874 EOF | 3878 EOF |
3875 if { (eval echo configure:3876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3879 if { (eval echo configure:3880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3876 rm -rf conftest* | 3880 rm -rf conftest* |
3877 ac_cv_type_signal=void | 3881 ac_cv_type_signal=void |
3878 else | 3882 else |
3879 echo "configure: failed program was:" >&5 | 3883 echo "configure: failed program was:" >&5 |
3880 cat conftest.$ac_ext >&5 | 3884 cat conftest.$ac_ext >&5 |
3892 EOF | 3896 EOF |
3893 } | 3897 } |
3894 | 3898 |
3895 | 3899 |
3896 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3900 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3897 echo "configure:3898: checking for size_t" >&5 | 3901 echo "configure:3902: checking for size_t" >&5 |
3898 | 3902 |
3899 cat > conftest.$ac_ext <<EOF | 3903 cat > conftest.$ac_ext <<EOF |
3900 #line 3901 "configure" | 3904 #line 3905 "configure" |
3901 #include "confdefs.h" | 3905 #include "confdefs.h" |
3902 #include <sys/types.h> | 3906 #include <sys/types.h> |
3903 #if STDC_HEADERS | 3907 #if STDC_HEADERS |
3904 #include <stdlib.h> | 3908 #include <stdlib.h> |
3905 #include <stddef.h> | 3909 #include <stddef.h> |
3926 } | 3930 } |
3927 | 3931 |
3928 fi | 3932 fi |
3929 | 3933 |
3930 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3934 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3931 echo "configure:3932: checking for pid_t" >&5 | 3935 echo "configure:3936: checking for pid_t" >&5 |
3932 | 3936 |
3933 cat > conftest.$ac_ext <<EOF | 3937 cat > conftest.$ac_ext <<EOF |
3934 #line 3935 "configure" | 3938 #line 3939 "configure" |
3935 #include "confdefs.h" | 3939 #include "confdefs.h" |
3936 #include <sys/types.h> | 3940 #include <sys/types.h> |
3937 #if STDC_HEADERS | 3941 #if STDC_HEADERS |
3938 #include <stdlib.h> | 3942 #include <stdlib.h> |
3939 #include <stddef.h> | 3943 #include <stddef.h> |
3960 } | 3964 } |
3961 | 3965 |
3962 fi | 3966 fi |
3963 | 3967 |
3964 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3968 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3965 echo "configure:3966: checking for uid_t in sys/types.h" >&5 | 3969 echo "configure:3970: checking for uid_t in sys/types.h" >&5 |
3966 | 3970 |
3967 cat > conftest.$ac_ext <<EOF | 3971 cat > conftest.$ac_ext <<EOF |
3968 #line 3969 "configure" | 3972 #line 3973 "configure" |
3969 #include "confdefs.h" | 3973 #include "confdefs.h" |
3970 #include <sys/types.h> | 3974 #include <sys/types.h> |
3971 EOF | 3975 EOF |
3972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3973 egrep "uid_t" >/dev/null 2>&1; then | 3977 egrep "uid_t" >/dev/null 2>&1; then |
3999 } | 4003 } |
4000 | 4004 |
4001 fi | 4005 fi |
4002 | 4006 |
4003 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4007 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4004 echo "configure:4005: checking for mode_t" >&5 | 4008 echo "configure:4009: checking for mode_t" >&5 |
4005 | 4009 |
4006 cat > conftest.$ac_ext <<EOF | 4010 cat > conftest.$ac_ext <<EOF |
4007 #line 4008 "configure" | 4011 #line 4012 "configure" |
4008 #include "confdefs.h" | 4012 #include "confdefs.h" |
4009 #include <sys/types.h> | 4013 #include <sys/types.h> |
4010 #if STDC_HEADERS | 4014 #if STDC_HEADERS |
4011 #include <stdlib.h> | 4015 #include <stdlib.h> |
4012 #include <stddef.h> | 4016 #include <stddef.h> |
4033 } | 4037 } |
4034 | 4038 |
4035 fi | 4039 fi |
4036 | 4040 |
4037 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4041 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4038 echo "configure:4039: checking for off_t" >&5 | 4042 echo "configure:4043: checking for off_t" >&5 |
4039 | 4043 |
4040 cat > conftest.$ac_ext <<EOF | 4044 cat > conftest.$ac_ext <<EOF |
4041 #line 4042 "configure" | 4045 #line 4046 "configure" |
4042 #include "confdefs.h" | 4046 #include "confdefs.h" |
4043 #include <sys/types.h> | 4047 #include <sys/types.h> |
4044 #if STDC_HEADERS | 4048 #if STDC_HEADERS |
4045 #include <stdlib.h> | 4049 #include <stdlib.h> |
4046 #include <stddef.h> | 4050 #include <stddef.h> |
4067 } | 4071 } |
4068 | 4072 |
4069 fi | 4073 fi |
4070 | 4074 |
4071 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4075 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4072 echo "configure:4073: checking for ssize_t" >&5 | 4076 echo "configure:4077: checking for ssize_t" >&5 |
4073 | 4077 |
4074 cat > conftest.$ac_ext <<EOF | 4078 cat > conftest.$ac_ext <<EOF |
4075 #line 4076 "configure" | 4079 #line 4080 "configure" |
4076 #include "confdefs.h" | 4080 #include "confdefs.h" |
4077 #include <sys/types.h> | 4081 #include <sys/types.h> |
4078 #if STDC_HEADERS | 4082 #if STDC_HEADERS |
4079 #include <stdlib.h> | 4083 #include <stdlib.h> |
4080 #include <stddef.h> | 4084 #include <stddef.h> |
4102 | 4106 |
4103 fi | 4107 fi |
4104 | 4108 |
4105 | 4109 |
4106 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4110 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4107 echo "configure:4108: checking for socklen_t" >&5 | 4111 echo "configure:4112: checking for socklen_t" >&5 |
4108 cat > conftest.$ac_ext <<EOF | 4112 cat > conftest.$ac_ext <<EOF |
4109 #line 4110 "configure" | 4113 #line 4114 "configure" |
4110 #include "confdefs.h" | 4114 #include "confdefs.h" |
4111 #include <sys/socket.h> | 4115 #include <sys/socket.h> |
4112 socklen_t x; | 4116 socklen_t x; |
4113 | 4117 |
4114 int main() { | 4118 int main() { |
4115 | 4119 |
4116 ; return 0; } | 4120 ; return 0; } |
4117 EOF | 4121 EOF |
4118 if { (eval echo configure:4119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4122 if { (eval echo configure:4123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4119 rm -rf conftest* | 4123 rm -rf conftest* |
4120 echo "$ac_t""yes" 1>&6 | 4124 echo "$ac_t""yes" 1>&6 |
4121 else | 4125 else |
4122 echo "configure: failed program was:" >&5 | 4126 echo "configure: failed program was:" >&5 |
4123 cat conftest.$ac_ext >&5 | 4127 cat conftest.$ac_ext >&5 |
4124 rm -rf conftest* | 4128 rm -rf conftest* |
4125 | 4129 |
4126 cat > conftest.$ac_ext <<EOF | 4130 cat > conftest.$ac_ext <<EOF |
4127 #line 4128 "configure" | 4131 #line 4132 "configure" |
4128 #include "confdefs.h" | 4132 #include "confdefs.h" |
4129 #include <sys/socket.h> | 4133 #include <sys/socket.h> |
4130 int accept (int, struct sockaddr *, size_t *); | 4134 int accept (int, struct sockaddr *, size_t *); |
4131 | 4135 |
4132 int main() { | 4136 int main() { |
4133 | 4137 |
4134 ; return 0; } | 4138 ; return 0; } |
4135 EOF | 4139 EOF |
4136 if { (eval echo configure:4137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4140 if { (eval echo configure:4141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4137 rm -rf conftest* | 4141 rm -rf conftest* |
4138 | 4142 |
4139 echo "$ac_t""size_t" 1>&6 | 4143 echo "$ac_t""size_t" 1>&6 |
4140 { test "$extra_verbose" = "yes" && cat << \EOF | 4144 { test "$extra_verbose" = "yes" && cat << \EOF |
4141 Defining socklen_t = size_t | 4145 Defining socklen_t = size_t |
4163 rm -f conftest* | 4167 rm -f conftest* |
4164 fi | 4168 fi |
4165 rm -f conftest* | 4169 rm -f conftest* |
4166 | 4170 |
4167 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4171 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4168 echo "configure:4169: checking for struct timeval" >&5 | 4172 echo "configure:4173: checking for struct timeval" >&5 |
4169 cat > conftest.$ac_ext <<EOF | 4173 cat > conftest.$ac_ext <<EOF |
4170 #line 4171 "configure" | 4174 #line 4175 "configure" |
4171 #include "confdefs.h" | 4175 #include "confdefs.h" |
4172 #ifdef TIME_WITH_SYS_TIME | 4176 #ifdef TIME_WITH_SYS_TIME |
4173 #include <sys/time.h> | 4177 #include <sys/time.h> |
4174 #include <time.h> | 4178 #include <time.h> |
4175 #else | 4179 #else |
4181 #endif | 4185 #endif |
4182 int main() { | 4186 int main() { |
4183 static struct timeval x; x.tv_sec = x.tv_usec; | 4187 static struct timeval x; x.tv_sec = x.tv_usec; |
4184 ; return 0; } | 4188 ; return 0; } |
4185 EOF | 4189 EOF |
4186 if { (eval echo configure:4187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4190 if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4187 rm -rf conftest* | 4191 rm -rf conftest* |
4188 echo "$ac_t""yes" 1>&6 | 4192 echo "$ac_t""yes" 1>&6 |
4189 HAVE_TIMEVAL=yes | 4193 HAVE_TIMEVAL=yes |
4190 { test "$extra_verbose" = "yes" && cat << \EOF | 4194 { test "$extra_verbose" = "yes" && cat << \EOF |
4191 Defining HAVE_TIMEVAL | 4195 Defining HAVE_TIMEVAL |
4203 HAVE_TIMEVAL=no | 4207 HAVE_TIMEVAL=no |
4204 fi | 4208 fi |
4205 rm -f conftest* | 4209 rm -f conftest* |
4206 | 4210 |
4207 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4211 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4208 echo "configure:4209: checking whether struct tm is in sys/time.h or time.h" >&5 | 4212 echo "configure:4213: checking whether struct tm is in sys/time.h or time.h" >&5 |
4209 | 4213 |
4210 cat > conftest.$ac_ext <<EOF | 4214 cat > conftest.$ac_ext <<EOF |
4211 #line 4212 "configure" | 4215 #line 4216 "configure" |
4212 #include "confdefs.h" | 4216 #include "confdefs.h" |
4213 #include <sys/types.h> | 4217 #include <sys/types.h> |
4214 #include <time.h> | 4218 #include <time.h> |
4215 int main() { | 4219 int main() { |
4216 struct tm *tp; tp->tm_sec; | 4220 struct tm *tp; tp->tm_sec; |
4217 ; return 0; } | 4221 ; return 0; } |
4218 EOF | 4222 EOF |
4219 if { (eval echo configure:4220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4223 if { (eval echo configure:4224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4220 rm -rf conftest* | 4224 rm -rf conftest* |
4221 ac_cv_struct_tm=time.h | 4225 ac_cv_struct_tm=time.h |
4222 else | 4226 else |
4223 echo "configure: failed program was:" >&5 | 4227 echo "configure: failed program was:" >&5 |
4224 cat conftest.$ac_ext >&5 | 4228 cat conftest.$ac_ext >&5 |
4238 } | 4242 } |
4239 | 4243 |
4240 fi | 4244 fi |
4241 | 4245 |
4242 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4246 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4243 echo "configure:4244: checking for tm_zone in struct tm" >&5 | 4247 echo "configure:4248: checking for tm_zone in struct tm" >&5 |
4244 | 4248 |
4245 cat > conftest.$ac_ext <<EOF | 4249 cat > conftest.$ac_ext <<EOF |
4246 #line 4247 "configure" | 4250 #line 4251 "configure" |
4247 #include "confdefs.h" | 4251 #include "confdefs.h" |
4248 #include <sys/types.h> | 4252 #include <sys/types.h> |
4249 #include <$ac_cv_struct_tm> | 4253 #include <$ac_cv_struct_tm> |
4250 int main() { | 4254 int main() { |
4251 struct tm tm; tm.tm_zone; | 4255 struct tm tm; tm.tm_zone; |
4252 ; return 0; } | 4256 ; return 0; } |
4253 EOF | 4257 EOF |
4254 if { (eval echo configure:4255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4258 if { (eval echo configure:4259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4255 rm -rf conftest* | 4259 rm -rf conftest* |
4256 ac_cv_struct_tm_zone=yes | 4260 ac_cv_struct_tm_zone=yes |
4257 else | 4261 else |
4258 echo "configure: failed program was:" >&5 | 4262 echo "configure: failed program was:" >&5 |
4259 cat conftest.$ac_ext >&5 | 4263 cat conftest.$ac_ext >&5 |
4272 EOF | 4276 EOF |
4273 } | 4277 } |
4274 | 4278 |
4275 else | 4279 else |
4276 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4280 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4277 echo "configure:4278: checking for tzname" >&5 | 4281 echo "configure:4282: checking for tzname" >&5 |
4278 | 4282 |
4279 cat > conftest.$ac_ext <<EOF | 4283 cat > conftest.$ac_ext <<EOF |
4280 #line 4281 "configure" | 4284 #line 4285 "configure" |
4281 #include "confdefs.h" | 4285 #include "confdefs.h" |
4282 #include <time.h> | 4286 #include <time.h> |
4283 #ifndef tzname /* For SGI. */ | 4287 #ifndef tzname /* For SGI. */ |
4284 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4288 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4285 #endif | 4289 #endif |
4286 int main() { | 4290 int main() { |
4287 atoi(*tzname); | 4291 atoi(*tzname); |
4288 ; return 0; } | 4292 ; return 0; } |
4289 EOF | 4293 EOF |
4290 if { (eval echo configure:4291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4294 if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4291 rm -rf conftest* | 4295 rm -rf conftest* |
4292 ac_cv_var_tzname=yes | 4296 ac_cv_var_tzname=yes |
4293 else | 4297 else |
4294 echo "configure: failed program was:" >&5 | 4298 echo "configure: failed program was:" >&5 |
4295 cat conftest.$ac_ext >&5 | 4299 cat conftest.$ac_ext >&5 |
4311 fi | 4315 fi |
4312 fi | 4316 fi |
4313 | 4317 |
4314 | 4318 |
4315 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4319 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4316 echo "configure:4317: checking for working const" >&5 | 4320 echo "configure:4321: checking for working const" >&5 |
4317 | 4321 |
4318 cat > conftest.$ac_ext <<EOF | 4322 cat > conftest.$ac_ext <<EOF |
4319 #line 4320 "configure" | 4323 #line 4324 "configure" |
4320 #include "confdefs.h" | 4324 #include "confdefs.h" |
4321 | 4325 |
4322 int main() { | 4326 int main() { |
4323 | 4327 |
4324 /* Ultrix mips cc rejects this. */ | 4328 /* Ultrix mips cc rejects this. */ |
4363 const int foo = 10; | 4367 const int foo = 10; |
4364 } | 4368 } |
4365 | 4369 |
4366 ; return 0; } | 4370 ; return 0; } |
4367 EOF | 4371 EOF |
4368 if { (eval echo configure:4369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4372 if { (eval echo configure:4373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4369 rm -rf conftest* | 4373 rm -rf conftest* |
4370 ac_cv_c_const=yes | 4374 ac_cv_c_const=yes |
4371 else | 4375 else |
4372 echo "configure: failed program was:" >&5 | 4376 echo "configure: failed program was:" >&5 |
4373 cat conftest.$ac_ext >&5 | 4377 cat conftest.$ac_ext >&5 |
4388 | 4392 |
4389 fi | 4393 fi |
4390 | 4394 |
4391 | 4395 |
4392 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4396 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4393 echo "configure:4394: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4397 echo "configure:4398: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4394 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4398 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4395 | 4399 |
4396 cat > conftestmake <<\EOF | 4400 cat > conftestmake <<\EOF |
4397 all: | 4401 all: |
4398 @echo 'ac_maketemp="${MAKE}"' | 4402 @echo 'ac_maketemp="${MAKE}"' |
4413 SET_MAKE="MAKE=${MAKE-make}" | 4417 SET_MAKE="MAKE=${MAKE-make}" |
4414 fi | 4418 fi |
4415 | 4419 |
4416 | 4420 |
4417 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4421 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4418 echo "configure:4419: checking whether byte ordering is bigendian" >&5 | 4422 echo "configure:4423: checking whether byte ordering is bigendian" >&5 |
4419 | 4423 |
4420 ac_cv_c_bigendian=unknown | 4424 ac_cv_c_bigendian=unknown |
4421 # See if sys/param.h defines the BYTE_ORDER macro. | 4425 # See if sys/param.h defines the BYTE_ORDER macro. |
4422 cat > conftest.$ac_ext <<EOF | 4426 cat > conftest.$ac_ext <<EOF |
4423 #line 4424 "configure" | 4427 #line 4428 "configure" |
4424 #include "confdefs.h" | 4428 #include "confdefs.h" |
4425 #include <sys/types.h> | 4429 #include <sys/types.h> |
4426 #include <sys/param.h> | 4430 #include <sys/param.h> |
4427 int main() { | 4431 int main() { |
4428 | 4432 |
4429 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4433 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4430 bogus endian macros | 4434 bogus endian macros |
4431 #endif | 4435 #endif |
4432 ; return 0; } | 4436 ; return 0; } |
4433 EOF | 4437 EOF |
4434 if { (eval echo configure:4435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4438 if { (eval echo configure:4439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4435 rm -rf conftest* | 4439 rm -rf conftest* |
4436 # It does; now see whether it defined to BIG_ENDIAN or not. | 4440 # It does; now see whether it defined to BIG_ENDIAN or not. |
4437 cat > conftest.$ac_ext <<EOF | 4441 cat > conftest.$ac_ext <<EOF |
4438 #line 4439 "configure" | 4442 #line 4443 "configure" |
4439 #include "confdefs.h" | 4443 #include "confdefs.h" |
4440 #include <sys/types.h> | 4444 #include <sys/types.h> |
4441 #include <sys/param.h> | 4445 #include <sys/param.h> |
4442 int main() { | 4446 int main() { |
4443 | 4447 |
4444 #if BYTE_ORDER != BIG_ENDIAN | 4448 #if BYTE_ORDER != BIG_ENDIAN |
4445 not big endian | 4449 not big endian |
4446 #endif | 4450 #endif |
4447 ; return 0; } | 4451 ; return 0; } |
4448 EOF | 4452 EOF |
4449 if { (eval echo configure:4450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4453 if { (eval echo configure:4454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4450 rm -rf conftest* | 4454 rm -rf conftest* |
4451 ac_cv_c_bigendian=yes | 4455 ac_cv_c_bigendian=yes |
4452 else | 4456 else |
4453 echo "configure: failed program was:" >&5 | 4457 echo "configure: failed program was:" >&5 |
4454 cat conftest.$ac_ext >&5 | 4458 cat conftest.$ac_ext >&5 |
4461 cat conftest.$ac_ext >&5 | 4465 cat conftest.$ac_ext >&5 |
4462 fi | 4466 fi |
4463 rm -f conftest* | 4467 rm -f conftest* |
4464 if test $ac_cv_c_bigendian = unknown; then | 4468 if test $ac_cv_c_bigendian = unknown; then |
4465 cat > conftest.$ac_ext <<EOF | 4469 cat > conftest.$ac_ext <<EOF |
4466 #line 4467 "configure" | 4470 #line 4471 "configure" |
4467 #include "confdefs.h" | 4471 #include "confdefs.h" |
4468 main () { | 4472 main () { |
4469 /* Are we little or big endian? From Harbison&Steele. */ | 4473 /* Are we little or big endian? From Harbison&Steele. */ |
4470 union | 4474 union |
4471 { | 4475 { |
4474 } u; | 4478 } u; |
4475 u.l = 1; | 4479 u.l = 1; |
4476 exit (u.c[sizeof (long) - 1] == 1); | 4480 exit (u.c[sizeof (long) - 1] == 1); |
4477 } | 4481 } |
4478 EOF | 4482 EOF |
4479 if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4483 if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4480 then | 4484 then |
4481 ac_cv_c_bigendian=no | 4485 ac_cv_c_bigendian=no |
4482 else | 4486 else |
4483 conftest_rc="$?" | 4487 conftest_rc="$?" |
4484 echo "configure: failed program was:" >&5 | 4488 echo "configure: failed program was:" >&5 |
4501 | 4505 |
4502 fi | 4506 fi |
4503 | 4507 |
4504 | 4508 |
4505 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4509 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4506 echo "configure:4507: checking size of short" >&5 | 4510 echo "configure:4511: checking size of short" >&5 |
4507 | 4511 |
4508 cat > conftest.$ac_ext <<EOF | 4512 cat > conftest.$ac_ext <<EOF |
4509 #line 4510 "configure" | 4513 #line 4514 "configure" |
4510 #include "confdefs.h" | 4514 #include "confdefs.h" |
4511 #include <stdio.h> | 4515 #include <stdio.h> |
4512 main() | 4516 main() |
4513 { | 4517 { |
4514 FILE *f=fopen("conftestval", "w"); | 4518 FILE *f=fopen("conftestval", "w"); |
4515 if (!f) exit(1); | 4519 if (!f) exit(1); |
4516 fprintf(f, "%d\n", sizeof(short)); | 4520 fprintf(f, "%d\n", sizeof(short)); |
4517 exit(0); | 4521 exit(0); |
4518 } | 4522 } |
4519 EOF | 4523 EOF |
4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4521 then | 4525 then |
4522 ac_cv_sizeof_short=`cat conftestval` | 4526 ac_cv_sizeof_short=`cat conftestval` |
4523 else | 4527 else |
4524 conftest_rc="$?" | 4528 conftest_rc="$?" |
4525 echo "configure: failed program was:" >&5 | 4529 echo "configure: failed program was:" >&5 |
4543 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4547 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4544 echo "*** PANIC *** Please examine config.log for compilation errors." | 4548 echo "*** PANIC *** Please examine config.log for compilation errors." |
4545 exit 1 | 4549 exit 1 |
4546 fi | 4550 fi |
4547 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4551 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4548 echo "configure:4549: checking size of int" >&5 | 4552 echo "configure:4553: checking size of int" >&5 |
4549 | 4553 |
4550 cat > conftest.$ac_ext <<EOF | 4554 cat > conftest.$ac_ext <<EOF |
4551 #line 4552 "configure" | 4555 #line 4556 "configure" |
4552 #include "confdefs.h" | 4556 #include "confdefs.h" |
4553 #include <stdio.h> | 4557 #include <stdio.h> |
4554 main() | 4558 main() |
4555 { | 4559 { |
4556 FILE *f=fopen("conftestval", "w"); | 4560 FILE *f=fopen("conftestval", "w"); |
4557 if (!f) exit(1); | 4561 if (!f) exit(1); |
4558 fprintf(f, "%d\n", sizeof(int)); | 4562 fprintf(f, "%d\n", sizeof(int)); |
4559 exit(0); | 4563 exit(0); |
4560 } | 4564 } |
4561 EOF | 4565 EOF |
4562 if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4563 then | 4567 then |
4564 ac_cv_sizeof_int=`cat conftestval` | 4568 ac_cv_sizeof_int=`cat conftestval` |
4565 else | 4569 else |
4566 conftest_rc="$?" | 4570 conftest_rc="$?" |
4567 echo "configure: failed program was:" >&5 | 4571 echo "configure: failed program was:" >&5 |
4579 EOF | 4583 EOF |
4580 } | 4584 } |
4581 | 4585 |
4582 | 4586 |
4583 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4587 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4584 echo "configure:4585: checking size of long" >&5 | 4588 echo "configure:4589: checking size of long" >&5 |
4585 | 4589 |
4586 cat > conftest.$ac_ext <<EOF | 4590 cat > conftest.$ac_ext <<EOF |
4587 #line 4588 "configure" | 4591 #line 4592 "configure" |
4588 #include "confdefs.h" | 4592 #include "confdefs.h" |
4589 #include <stdio.h> | 4593 #include <stdio.h> |
4590 main() | 4594 main() |
4591 { | 4595 { |
4592 FILE *f=fopen("conftestval", "w"); | 4596 FILE *f=fopen("conftestval", "w"); |
4593 if (!f) exit(1); | 4597 if (!f) exit(1); |
4594 fprintf(f, "%d\n", sizeof(long)); | 4598 fprintf(f, "%d\n", sizeof(long)); |
4595 exit(0); | 4599 exit(0); |
4596 } | 4600 } |
4597 EOF | 4601 EOF |
4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4602 if { (eval echo configure:4603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4599 then | 4603 then |
4600 ac_cv_sizeof_long=`cat conftestval` | 4604 ac_cv_sizeof_long=`cat conftestval` |
4601 else | 4605 else |
4602 conftest_rc="$?" | 4606 conftest_rc="$?" |
4603 echo "configure: failed program was:" >&5 | 4607 echo "configure: failed program was:" >&5 |
4615 EOF | 4619 EOF |
4616 } | 4620 } |
4617 | 4621 |
4618 | 4622 |
4619 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4623 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4620 echo "configure:4621: checking size of long long" >&5 | 4624 echo "configure:4625: checking size of long long" >&5 |
4621 | 4625 |
4622 cat > conftest.$ac_ext <<EOF | 4626 cat > conftest.$ac_ext <<EOF |
4623 #line 4624 "configure" | 4627 #line 4628 "configure" |
4624 #include "confdefs.h" | 4628 #include "confdefs.h" |
4625 #include <stdio.h> | 4629 #include <stdio.h> |
4626 main() | 4630 main() |
4627 { | 4631 { |
4628 FILE *f=fopen("conftestval", "w"); | 4632 FILE *f=fopen("conftestval", "w"); |
4629 if (!f) exit(1); | 4633 if (!f) exit(1); |
4630 fprintf(f, "%d\n", sizeof(long long)); | 4634 fprintf(f, "%d\n", sizeof(long long)); |
4631 exit(0); | 4635 exit(0); |
4632 } | 4636 } |
4633 EOF | 4637 EOF |
4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4638 if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4635 then | 4639 then |
4636 ac_cv_sizeof_long_long=`cat conftestval` | 4640 ac_cv_sizeof_long_long=`cat conftestval` |
4637 else | 4641 else |
4638 conftest_rc="$?" | 4642 conftest_rc="$?" |
4639 echo "configure: failed program was:" >&5 | 4643 echo "configure: failed program was:" >&5 |
4651 EOF | 4655 EOF |
4652 } | 4656 } |
4653 | 4657 |
4654 | 4658 |
4655 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4659 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4656 echo "configure:4657: checking size of void *" >&5 | 4660 echo "configure:4661: checking size of void *" >&5 |
4657 | 4661 |
4658 cat > conftest.$ac_ext <<EOF | 4662 cat > conftest.$ac_ext <<EOF |
4659 #line 4660 "configure" | 4663 #line 4664 "configure" |
4660 #include "confdefs.h" | 4664 #include "confdefs.h" |
4661 #include <stdio.h> | 4665 #include <stdio.h> |
4662 main() | 4666 main() |
4663 { | 4667 { |
4664 FILE *f=fopen("conftestval", "w"); | 4668 FILE *f=fopen("conftestval", "w"); |
4665 if (!f) exit(1); | 4669 if (!f) exit(1); |
4666 fprintf(f, "%d\n", sizeof(void *)); | 4670 fprintf(f, "%d\n", sizeof(void *)); |
4667 exit(0); | 4671 exit(0); |
4668 } | 4672 } |
4669 EOF | 4673 EOF |
4670 if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4671 then | 4675 then |
4672 ac_cv_sizeof_void_p=`cat conftestval` | 4676 ac_cv_sizeof_void_p=`cat conftestval` |
4673 else | 4677 else |
4674 conftest_rc="$?" | 4678 conftest_rc="$?" |
4675 echo "configure: failed program was:" >&5 | 4679 echo "configure: failed program was:" >&5 |
4688 } | 4692 } |
4689 | 4693 |
4690 | 4694 |
4691 | 4695 |
4692 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4696 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4693 echo "configure:4694: checking for long file names" >&5 | 4697 echo "configure:4698: checking for long file names" >&5 |
4694 | 4698 |
4695 ac_cv_sys_long_file_names=yes | 4699 ac_cv_sys_long_file_names=yes |
4696 # Test for long file names in all the places we know might matter: | 4700 # Test for long file names in all the places we know might matter: |
4697 # . the current directory, where building will happen | 4701 # . the current directory, where building will happen |
4698 # $prefix/lib where we will be installing things | 4702 # $prefix/lib where we will be installing things |
4734 | 4738 |
4735 fi | 4739 fi |
4736 | 4740 |
4737 | 4741 |
4738 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4742 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4739 echo "configure:4740: checking for sin" >&5 | 4743 echo "configure:4744: checking for sin" >&5 |
4740 | 4744 |
4741 cat > conftest.$ac_ext <<EOF | 4745 cat > conftest.$ac_ext <<EOF |
4742 #line 4743 "configure" | 4746 #line 4747 "configure" |
4743 #include "confdefs.h" | 4747 #include "confdefs.h" |
4744 /* System header to define __stub macros and hopefully few prototypes, | 4748 /* System header to define __stub macros and hopefully few prototypes, |
4745 which can conflict with char sin(); below. */ | 4749 which can conflict with char sin(); below. */ |
4746 #include <assert.h> | 4750 #include <assert.h> |
4747 /* Override any gcc2 internal prototype to avoid an error. */ | 4751 /* Override any gcc2 internal prototype to avoid an error. */ |
4760 sin(); | 4764 sin(); |
4761 #endif | 4765 #endif |
4762 | 4766 |
4763 ; return 0; } | 4767 ; return 0; } |
4764 EOF | 4768 EOF |
4765 if { (eval echo configure:4766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4766 rm -rf conftest* | 4770 rm -rf conftest* |
4767 eval "ac_cv_func_sin=yes" | 4771 eval "ac_cv_func_sin=yes" |
4768 else | 4772 else |
4769 echo "configure: failed program was:" >&5 | 4773 echo "configure: failed program was:" >&5 |
4770 cat conftest.$ac_ext >&5 | 4774 cat conftest.$ac_ext >&5 |
4778 : | 4782 : |
4779 else | 4783 else |
4780 echo "$ac_t""no" 1>&6 | 4784 echo "$ac_t""no" 1>&6 |
4781 | 4785 |
4782 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4786 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4783 echo "configure:4784: checking for sin in -lm" >&5 | 4787 echo "configure:4788: checking for sin in -lm" >&5 |
4784 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4788 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4785 | 4789 |
4786 xe_check_libs=" -lm " | 4790 xe_check_libs=" -lm " |
4787 cat > conftest.$ac_ext <<EOF | 4791 cat > conftest.$ac_ext <<EOF |
4788 #line 4789 "configure" | 4792 #line 4793 "configure" |
4789 #include "confdefs.h" | 4793 #include "confdefs.h" |
4790 /* Override any gcc2 internal prototype to avoid an error. */ | 4794 /* Override any gcc2 internal prototype to avoid an error. */ |
4791 /* We use char because int might match the return type of a gcc2 | 4795 /* We use char because int might match the return type of a gcc2 |
4792 builtin and then its argument prototype would still apply. */ | 4796 builtin and then its argument prototype would still apply. */ |
4793 char sin(); | 4797 char sin(); |
4794 | 4798 |
4795 int main() { | 4799 int main() { |
4796 sin() | 4800 sin() |
4797 ; return 0; } | 4801 ; return 0; } |
4798 EOF | 4802 EOF |
4799 if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4803 if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4800 rm -rf conftest* | 4804 rm -rf conftest* |
4801 eval "ac_cv_lib_$ac_lib_var=yes" | 4805 eval "ac_cv_lib_$ac_lib_var=yes" |
4802 else | 4806 else |
4803 echo "configure: failed program was:" >&5 | 4807 echo "configure: failed program was:" >&5 |
4804 cat conftest.$ac_ext >&5 | 4808 cat conftest.$ac_ext >&5 |
4838 EOF | 4842 EOF |
4839 } | 4843 } |
4840 | 4844 |
4841 | 4845 |
4842 cat > conftest.$ac_ext <<EOF | 4846 cat > conftest.$ac_ext <<EOF |
4843 #line 4844 "configure" | 4847 #line 4848 "configure" |
4844 #include "confdefs.h" | 4848 #include "confdefs.h" |
4845 #include <math.h> | 4849 #include <math.h> |
4846 int main() { | 4850 int main() { |
4847 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4851 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4848 ; return 0; } | 4852 ; return 0; } |
4849 EOF | 4853 EOF |
4850 if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4851 rm -rf conftest* | 4855 rm -rf conftest* |
4852 { test "$extra_verbose" = "yes" && cat << \EOF | 4856 { test "$extra_verbose" = "yes" && cat << \EOF |
4853 Defining HAVE_INVERSE_HYPERBOLIC | 4857 Defining HAVE_INVERSE_HYPERBOLIC |
4854 EOF | 4858 EOF |
4855 cat >> confdefs.h <<\EOF | 4859 cat >> confdefs.h <<\EOF |
4864 rm -f conftest* | 4868 rm -f conftest* |
4865 | 4869 |
4866 for ac_func in mkstemp | 4870 for ac_func in mkstemp |
4867 do | 4871 do |
4868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4869 echo "configure:4870: checking for $ac_func" >&5 | 4873 echo "configure:4874: checking for $ac_func" >&5 |
4870 | 4874 |
4871 cat > conftest.$ac_ext <<EOF | 4875 cat > conftest.$ac_ext <<EOF |
4872 #line 4873 "configure" | 4876 #line 4877 "configure" |
4873 #include "confdefs.h" | 4877 #include "confdefs.h" |
4874 /* System header to define __stub macros and hopefully few prototypes, | 4878 /* System header to define __stub macros and hopefully few prototypes, |
4875 which can conflict with char $ac_func(); below. */ | 4879 which can conflict with char $ac_func(); below. */ |
4876 #include <assert.h> | 4880 #include <assert.h> |
4877 /* Override any gcc2 internal prototype to avoid an error. */ | 4881 /* Override any gcc2 internal prototype to avoid an error. */ |
4890 $ac_func(); | 4894 $ac_func(); |
4891 #endif | 4895 #endif |
4892 | 4896 |
4893 ; return 0; } | 4897 ; return 0; } |
4894 EOF | 4898 EOF |
4895 if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4899 if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4896 rm -rf conftest* | 4900 rm -rf conftest* |
4897 eval "ac_cv_func_$ac_func=yes" | 4901 eval "ac_cv_func_$ac_func=yes" |
4898 else | 4902 else |
4899 echo "configure: failed program was:" >&5 | 4903 echo "configure: failed program was:" >&5 |
4900 cat conftest.$ac_ext >&5 | 4904 cat conftest.$ac_ext >&5 |
4919 fi | 4923 fi |
4920 done | 4924 done |
4921 | 4925 |
4922 | 4926 |
4923 echo "checking type of mail spool file locking" 1>&6 | 4927 echo "checking type of mail spool file locking" 1>&6 |
4924 echo "configure:4925: checking type of mail spool file locking" >&5 | 4928 echo "configure:4929: checking type of mail spool file locking" >&5 |
4925 for ac_func in lockf flock | 4929 for ac_func in lockf flock |
4926 do | 4930 do |
4927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4928 echo "configure:4929: checking for $ac_func" >&5 | 4932 echo "configure:4933: checking for $ac_func" >&5 |
4929 | 4933 |
4930 cat > conftest.$ac_ext <<EOF | 4934 cat > conftest.$ac_ext <<EOF |
4931 #line 4932 "configure" | 4935 #line 4936 "configure" |
4932 #include "confdefs.h" | 4936 #include "confdefs.h" |
4933 /* System header to define __stub macros and hopefully few prototypes, | 4937 /* System header to define __stub macros and hopefully few prototypes, |
4934 which can conflict with char $ac_func(); below. */ | 4938 which can conflict with char $ac_func(); below. */ |
4935 #include <assert.h> | 4939 #include <assert.h> |
4936 /* Override any gcc2 internal prototype to avoid an error. */ | 4940 /* Override any gcc2 internal prototype to avoid an error. */ |
4949 $ac_func(); | 4953 $ac_func(); |
4950 #endif | 4954 #endif |
4951 | 4955 |
4952 ; return 0; } | 4956 ; return 0; } |
4953 EOF | 4957 EOF |
4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4958 if { (eval echo configure:4959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4955 rm -rf conftest* | 4959 rm -rf conftest* |
4956 eval "ac_cv_func_$ac_func=yes" | 4960 eval "ac_cv_func_$ac_func=yes" |
4957 else | 4961 else |
4958 echo "configure: failed program was:" >&5 | 4962 echo "configure: failed program was:" >&5 |
4959 cat conftest.$ac_ext >&5 | 4963 cat conftest.$ac_ext >&5 |
5031 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5035 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5032 | 5036 |
5033 case "$opsys" in decosf*) | 5037 case "$opsys" in decosf*) |
5034 | 5038 |
5035 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5039 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5036 echo "configure:5037: checking for cma_open in -lpthreads" >&5 | 5040 echo "configure:5041: checking for cma_open in -lpthreads" >&5 |
5037 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5041 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5038 | 5042 |
5039 xe_check_libs=" -lpthreads " | 5043 xe_check_libs=" -lpthreads " |
5040 cat > conftest.$ac_ext <<EOF | 5044 cat > conftest.$ac_ext <<EOF |
5041 #line 5042 "configure" | 5045 #line 5046 "configure" |
5042 #include "confdefs.h" | 5046 #include "confdefs.h" |
5043 /* Override any gcc2 internal prototype to avoid an error. */ | 5047 /* Override any gcc2 internal prototype to avoid an error. */ |
5044 /* We use char because int might match the return type of a gcc2 | 5048 /* We use char because int might match the return type of a gcc2 |
5045 builtin and then its argument prototype would still apply. */ | 5049 builtin and then its argument prototype would still apply. */ |
5046 char cma_open(); | 5050 char cma_open(); |
5047 | 5051 |
5048 int main() { | 5052 int main() { |
5049 cma_open() | 5053 cma_open() |
5050 ; return 0; } | 5054 ; return 0; } |
5051 EOF | 5055 EOF |
5052 if { (eval echo configure:5053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5056 if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5053 rm -rf conftest* | 5057 rm -rf conftest* |
5054 eval "ac_cv_lib_$ac_lib_var=yes" | 5058 eval "ac_cv_lib_$ac_lib_var=yes" |
5055 else | 5059 else |
5056 echo "configure: failed program was:" >&5 | 5060 echo "configure: failed program was:" >&5 |
5057 cat conftest.$ac_ext >&5 | 5061 cat conftest.$ac_ext >&5 |
5084 c_switch_site="$c_switch_site -threads" ;; | 5088 c_switch_site="$c_switch_site -threads" ;; |
5085 esac | 5089 esac |
5086 | 5090 |
5087 | 5091 |
5088 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5092 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5089 echo "configure:5090: checking whether the -xildoff compiler flag is required" >&5 | 5093 echo "configure:5094: checking whether the -xildoff compiler flag is required" >&5 |
5090 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5094 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5091 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5095 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5092 then echo "$ac_t""no" 1>&6; | 5096 then echo "$ac_t""no" 1>&6; |
5093 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 | 5097 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 |
5094 fi | 5098 fi |
5096 fi | 5100 fi |
5097 | 5101 |
5098 if test "$opsys" = "sol2"; then | 5102 if test "$opsys" = "sol2"; then |
5099 if test "$os_release" -ge 56; then | 5103 if test "$os_release" -ge 56; then |
5100 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5104 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5101 echo "configure:5102: checking for \"-z ignore\" linker flag" >&5 | 5105 echo "configure:5106: checking for \"-z ignore\" linker flag" >&5 |
5102 case "`ld -h 2>&1`" in | 5106 case "`ld -h 2>&1`" in |
5103 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5107 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5104 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5108 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5105 *) echo "$ac_t""no" 1>&6 ;; | 5109 *) echo "$ac_t""no" 1>&6 ;; |
5106 esac | 5110 esac |
5107 fi | 5111 fi |
5108 fi | 5112 fi |
5109 | 5113 |
5110 | 5114 |
5111 echo "checking "for specified window system"" 1>&6 | 5115 echo "checking "for specified window system"" 1>&6 |
5112 echo "configure:5113: checking "for specified window system"" >&5 | 5116 echo "configure:5117: checking "for specified window system"" >&5 |
5113 | 5117 |
5114 | 5118 |
5115 GNOME_CONFIG=no | 5119 GNOME_CONFIG=no |
5116 GTK_CONFIG=no | 5120 GTK_CONFIG=no |
5117 | 5121 |
5118 if test "$with_gnome" != "no"; then | 5122 if test "$with_gnome" != "no"; then |
5119 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5123 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5120 echo "configure:5121: checking for GNOME configuration script" >&5 | 5124 echo "configure:5125: checking for GNOME configuration script" >&5 |
5121 for possible in gnome-config | 5125 for possible in gnome-config |
5122 do | 5126 do |
5123 possible_version=`${possible} --version 2> /dev/null` | 5127 possible_version=`${possible} --version 2> /dev/null` |
5124 if test "x${possible_version}" != "x"; then | 5128 if test "x${possible_version}" != "x"; then |
5125 GNOME_CONFIG="${possible}" | 5129 GNOME_CONFIG="${possible}" |
5146 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5150 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5147 fi | 5151 fi |
5148 | 5152 |
5149 if test "$with_gtk" != "no";then | 5153 if test "$with_gtk" != "no";then |
5150 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5154 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5151 echo "configure:5152: checking for GTK configuration script" >&5 | 5155 echo "configure:5156: checking for GTK configuration script" >&5 |
5152 for possible in gtk12-config gtk14-config gtk-config | 5156 for possible in gtk12-config gtk14-config gtk-config |
5153 do | 5157 do |
5154 possible_version=`${possible} --version 2> /dev/null` | 5158 possible_version=`${possible} --version 2> /dev/null` |
5155 if test "x${possible_version}" != "x"; then | 5159 if test "x${possible_version}" != "x"; then |
5156 GTK_CONFIG="${possible}" | 5160 GTK_CONFIG="${possible}" |
5168 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5172 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5169 fi | 5173 fi |
5170 | 5174 |
5171 if test "${GTK_CONFIG}" != "no"; then | 5175 if test "${GTK_CONFIG}" != "no"; then |
5172 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5176 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5173 echo "configure:5174: checking gtk version" >&5 | 5177 echo "configure:5178: checking gtk version" >&5 |
5174 GTK_VERSION=`${GTK_CONFIG} --version` | 5178 GTK_VERSION=`${GTK_CONFIG} --version` |
5175 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5179 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5176 | 5180 |
5177 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5181 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5178 echo "configure:5179: checking gtk libs" >&5 | 5182 echo "configure:5183: checking gtk libs" >&5 |
5179 GTK_LIBS=`${GTK_CONFIG} --libs` | 5183 GTK_LIBS=`${GTK_CONFIG} --libs` |
5180 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5184 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5181 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5185 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5182 | 5186 |
5183 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5187 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5184 echo "configure:5185: checking gtk cflags" >&5 | 5188 echo "configure:5189: checking gtk cflags" >&5 |
5185 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5189 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5186 if test "$GCC" = "yes"; then | 5190 if test "$GCC" = "yes"; then |
5187 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5191 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5188 fi | 5192 fi |
5189 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5193 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5190 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5194 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5191 | 5195 |
5192 | 5196 |
5193 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5197 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5194 echo "configure:5195: checking for main in -lgdk_imlib" >&5 | 5198 echo "configure:5199: checking for main in -lgdk_imlib" >&5 |
5195 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5199 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5196 | 5200 |
5197 xe_check_libs=" -lgdk_imlib " | 5201 xe_check_libs=" -lgdk_imlib " |
5198 cat > conftest.$ac_ext <<EOF | 5202 cat > conftest.$ac_ext <<EOF |
5199 #line 5200 "configure" | 5203 #line 5204 "configure" |
5200 #include "confdefs.h" | 5204 #include "confdefs.h" |
5201 | 5205 |
5202 int main() { | 5206 int main() { |
5203 main() | 5207 main() |
5204 ; return 0; } | 5208 ; return 0; } |
5205 EOF | 5209 EOF |
5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5207 rm -rf conftest* | 5211 rm -rf conftest* |
5208 eval "ac_cv_lib_$ac_lib_var=yes" | 5212 eval "ac_cv_lib_$ac_lib_var=yes" |
5209 else | 5213 else |
5210 echo "configure: failed program was:" >&5 | 5214 echo "configure: failed program was:" >&5 |
5211 cat conftest.$ac_ext >&5 | 5215 cat conftest.$ac_ext >&5 |
5223 fi | 5227 fi |
5224 | 5228 |
5225 | 5229 |
5226 | 5230 |
5227 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5231 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5228 echo "configure:5229: checking for Imlib_init in -lImlib" >&5 | 5232 echo "configure:5233: checking for Imlib_init in -lImlib" >&5 |
5229 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5233 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5230 | 5234 |
5231 xe_check_libs=" -lImlib " | 5235 xe_check_libs=" -lImlib " |
5232 cat > conftest.$ac_ext <<EOF | 5236 cat > conftest.$ac_ext <<EOF |
5233 #line 5234 "configure" | 5237 #line 5238 "configure" |
5234 #include "confdefs.h" | 5238 #include "confdefs.h" |
5235 /* Override any gcc2 internal prototype to avoid an error. */ | 5239 /* Override any gcc2 internal prototype to avoid an error. */ |
5236 /* We use char because int might match the return type of a gcc2 | 5240 /* We use char because int might match the return type of a gcc2 |
5237 builtin and then its argument prototype would still apply. */ | 5241 builtin and then its argument prototype would still apply. */ |
5238 char Imlib_init(); | 5242 char Imlib_init(); |
5239 | 5243 |
5240 int main() { | 5244 int main() { |
5241 Imlib_init() | 5245 Imlib_init() |
5242 ; return 0; } | 5246 ; return 0; } |
5243 EOF | 5247 EOF |
5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5248 if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5245 rm -rf conftest* | 5249 rm -rf conftest* |
5246 eval "ac_cv_lib_$ac_lib_var=yes" | 5250 eval "ac_cv_lib_$ac_lib_var=yes" |
5247 else | 5251 else |
5248 echo "configure: failed program was:" >&5 | 5252 echo "configure: failed program was:" >&5 |
5249 cat conftest.$ac_ext >&5 | 5253 cat conftest.$ac_ext >&5 |
5262 | 5266 |
5263 | 5267 |
5264 for ac_func in gdk_imlib_init | 5268 for ac_func in gdk_imlib_init |
5265 do | 5269 do |
5266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5267 echo "configure:5268: checking for $ac_func" >&5 | 5271 echo "configure:5272: checking for $ac_func" >&5 |
5268 | 5272 |
5269 cat > conftest.$ac_ext <<EOF | 5273 cat > conftest.$ac_ext <<EOF |
5270 #line 5271 "configure" | 5274 #line 5275 "configure" |
5271 #include "confdefs.h" | 5275 #include "confdefs.h" |
5272 /* System header to define __stub macros and hopefully few prototypes, | 5276 /* System header to define __stub macros and hopefully few prototypes, |
5273 which can conflict with char $ac_func(); below. */ | 5277 which can conflict with char $ac_func(); below. */ |
5274 #include <assert.h> | 5278 #include <assert.h> |
5275 /* Override any gcc2 internal prototype to avoid an error. */ | 5279 /* Override any gcc2 internal prototype to avoid an error. */ |
5288 $ac_func(); | 5292 $ac_func(); |
5289 #endif | 5293 #endif |
5290 | 5294 |
5291 ; return 0; } | 5295 ; return 0; } |
5292 EOF | 5296 EOF |
5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5297 if { (eval echo configure:5298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5294 rm -rf conftest* | 5298 rm -rf conftest* |
5295 eval "ac_cv_func_$ac_func=yes" | 5299 eval "ac_cv_func_$ac_func=yes" |
5296 else | 5300 else |
5297 echo "configure: failed program was:" >&5 | 5301 echo "configure: failed program was:" >&5 |
5298 cat conftest.$ac_ext >&5 | 5302 cat conftest.$ac_ext >&5 |
5354 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5358 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5355 for ac_hdr in glade/glade.h glade.h | 5359 for ac_hdr in glade/glade.h glade.h |
5356 do | 5360 do |
5357 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5358 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5359 echo "configure:5360: checking for $ac_hdr" >&5 | 5363 echo "configure:5364: checking for $ac_hdr" >&5 |
5360 | 5364 |
5361 cat > conftest.$ac_ext <<EOF | 5365 cat > conftest.$ac_ext <<EOF |
5362 #line 5363 "configure" | 5366 #line 5367 "configure" |
5363 #include "confdefs.h" | 5367 #include "confdefs.h" |
5364 #include <$ac_hdr> | 5368 #include <$ac_hdr> |
5365 EOF | 5369 EOF |
5366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5367 { (eval echo configure:5368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5371 { (eval echo configure:5372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5369 if test -z "$ac_err"; then | 5373 if test -z "$ac_err"; then |
5370 rm -rf conftest* | 5374 rm -rf conftest* |
5371 eval "ac_cv_header_$ac_safe=yes" | 5375 eval "ac_cv_header_$ac_safe=yes" |
5372 else | 5376 else |
5393 fi | 5397 fi |
5394 done | 5398 done |
5395 | 5399 |
5396 | 5400 |
5397 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5401 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5398 echo "configure:5399: checking for main in -lxml" >&5 | 5402 echo "configure:5403: checking for main in -lxml" >&5 |
5399 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5403 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5400 | 5404 |
5401 xe_check_libs=" -lxml " | 5405 xe_check_libs=" -lxml " |
5402 cat > conftest.$ac_ext <<EOF | 5406 cat > conftest.$ac_ext <<EOF |
5403 #line 5404 "configure" | 5407 #line 5408 "configure" |
5404 #include "confdefs.h" | 5408 #include "confdefs.h" |
5405 | 5409 |
5406 int main() { | 5410 int main() { |
5407 main() | 5411 main() |
5408 ; return 0; } | 5412 ; return 0; } |
5409 EOF | 5413 EOF |
5410 if { (eval echo configure:5411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5414 if { (eval echo configure:5415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5411 rm -rf conftest* | 5415 rm -rf conftest* |
5412 eval "ac_cv_lib_$ac_lib_var=yes" | 5416 eval "ac_cv_lib_$ac_lib_var=yes" |
5413 else | 5417 else |
5414 echo "configure: failed program was:" >&5 | 5418 echo "configure: failed program was:" >&5 |
5415 cat conftest.$ac_ext >&5 | 5419 cat conftest.$ac_ext >&5 |
5427 fi | 5431 fi |
5428 | 5432 |
5429 | 5433 |
5430 | 5434 |
5431 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5435 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5432 echo "configure:5433: checking for main in -lglade" >&5 | 5436 echo "configure:5437: checking for main in -lglade" >&5 |
5433 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5437 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5434 | 5438 |
5435 xe_check_libs=" -lglade " | 5439 xe_check_libs=" -lglade " |
5436 cat > conftest.$ac_ext <<EOF | 5440 cat > conftest.$ac_ext <<EOF |
5437 #line 5438 "configure" | 5441 #line 5442 "configure" |
5438 #include "confdefs.h" | 5442 #include "confdefs.h" |
5439 | 5443 |
5440 int main() { | 5444 int main() { |
5441 main() | 5445 main() |
5442 ; return 0; } | 5446 ; return 0; } |
5443 EOF | 5447 EOF |
5444 if { (eval echo configure:5445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5448 if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5445 rm -rf conftest* | 5449 rm -rf conftest* |
5446 eval "ac_cv_lib_$ac_lib_var=yes" | 5450 eval "ac_cv_lib_$ac_lib_var=yes" |
5447 else | 5451 else |
5448 echo "configure: failed program was:" >&5 | 5452 echo "configure: failed program was:" >&5 |
5449 cat conftest.$ac_ext >&5 | 5453 cat conftest.$ac_ext >&5 |
5461 fi | 5465 fi |
5462 | 5466 |
5463 | 5467 |
5464 | 5468 |
5465 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5469 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5466 echo "configure:5467: checking for main in -lglade-gnome" >&5 | 5470 echo "configure:5471: checking for main in -lglade-gnome" >&5 |
5467 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5471 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5468 | 5472 |
5469 xe_check_libs=" -lglade-gnome " | 5473 xe_check_libs=" -lglade-gnome " |
5470 cat > conftest.$ac_ext <<EOF | 5474 cat > conftest.$ac_ext <<EOF |
5471 #line 5472 "configure" | 5475 #line 5476 "configure" |
5472 #include "confdefs.h" | 5476 #include "confdefs.h" |
5473 | 5477 |
5474 int main() { | 5478 int main() { |
5475 main() | 5479 main() |
5476 ; return 0; } | 5480 ; return 0; } |
5477 EOF | 5481 EOF |
5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5479 rm -rf conftest* | 5483 rm -rf conftest* |
5480 eval "ac_cv_lib_$ac_lib_var=yes" | 5484 eval "ac_cv_lib_$ac_lib_var=yes" |
5481 else | 5485 else |
5482 echo "configure: failed program was:" >&5 | 5486 echo "configure: failed program was:" >&5 |
5483 cat conftest.$ac_ext >&5 | 5487 cat conftest.$ac_ext >&5 |
5494 echo "$ac_t""no" 1>&6 | 5498 echo "$ac_t""no" 1>&6 |
5495 fi | 5499 fi |
5496 | 5500 |
5497 | 5501 |
5498 cat > conftest.$ac_ext <<EOF | 5502 cat > conftest.$ac_ext <<EOF |
5499 #line 5500 "configure" | 5503 #line 5504 "configure" |
5500 #include "confdefs.h" | 5504 #include "confdefs.h" |
5501 #include <glade/glade-xml.h> | 5505 #include <glade/glade-xml.h> |
5502 EOF | 5506 EOF |
5503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5504 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5508 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5553 # If we find X, set shell vars x_includes and x_libraries to the | 5557 # If we find X, set shell vars x_includes and x_libraries to the |
5554 # paths, otherwise set no_x=yes. | 5558 # paths, otherwise set no_x=yes. |
5555 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5559 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5556 # --without-x overrides everything else, but does not touch the cache. | 5560 # --without-x overrides everything else, but does not touch the cache. |
5557 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5561 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5558 echo "configure:5559: checking for X" >&5 | 5562 echo "configure:5563: checking for X" >&5 |
5559 | 5563 |
5560 # Check whether --with-x or --without-x was given. | 5564 # Check whether --with-x or --without-x was given. |
5561 if test "${with_x+set}" = set; then | 5565 if test "${with_x+set}" = set; then |
5562 withval="$with_x" | 5566 withval="$with_x" |
5563 : | 5567 : |
5613 # Guess where to find include files, by looking for this one X11 .h file. | 5617 # Guess where to find include files, by looking for this one X11 .h file. |
5614 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5618 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5615 | 5619 |
5616 # First, try using that file with no special directory specified. | 5620 # First, try using that file with no special directory specified. |
5617 cat > conftest.$ac_ext <<EOF | 5621 cat > conftest.$ac_ext <<EOF |
5618 #line 5619 "configure" | 5622 #line 5623 "configure" |
5619 #include "confdefs.h" | 5623 #include "confdefs.h" |
5620 #include <$x_direct_test_include> | 5624 #include <$x_direct_test_include> |
5621 EOF | 5625 EOF |
5622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5623 { (eval echo configure:5624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5627 { (eval echo configure:5628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5625 if test -z "$ac_err"; then | 5629 if test -z "$ac_err"; then |
5626 rm -rf conftest* | 5630 rm -rf conftest* |
5627 # We can compile using X headers with no special include directory. | 5631 # We can compile using X headers with no special include directory. |
5628 ac_x_includes= | 5632 ac_x_includes= |
5687 # See if we find them without any special options. | 5691 # See if we find them without any special options. |
5688 # Don't add to $LIBS permanently. | 5692 # Don't add to $LIBS permanently. |
5689 ac_save_LIBS="$LIBS" | 5693 ac_save_LIBS="$LIBS" |
5690 LIBS="-l$x_direct_test_library $LIBS" | 5694 LIBS="-l$x_direct_test_library $LIBS" |
5691 cat > conftest.$ac_ext <<EOF | 5695 cat > conftest.$ac_ext <<EOF |
5692 #line 5693 "configure" | 5696 #line 5697 "configure" |
5693 #include "confdefs.h" | 5697 #include "confdefs.h" |
5694 | 5698 |
5695 int main() { | 5699 int main() { |
5696 ${x_direct_test_function}() | 5700 ${x_direct_test_function}() |
5697 ; return 0; } | 5701 ; return 0; } |
5698 EOF | 5702 EOF |
5699 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5703 if { (eval echo configure:5704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5700 rm -rf conftest* | 5704 rm -rf conftest* |
5701 LIBS="$ac_save_LIBS" | 5705 LIBS="$ac_save_LIBS" |
5702 # We can link X programs with no special library path. | 5706 # We can link X programs with no special library path. |
5703 ac_x_libraries= | 5707 ac_x_libraries= |
5704 else | 5708 else |
5803 # For Solaris; some versions of Sun CC require a space after -R and | 5807 # For Solaris; some versions of Sun CC require a space after -R and |
5804 # others require no space. Words are not sufficient . . . . | 5808 # others require no space. Words are not sufficient . . . . |
5805 case "`(uname -sr) 2>/dev/null`" in | 5809 case "`(uname -sr) 2>/dev/null`" in |
5806 "SunOS 5"*) | 5810 "SunOS 5"*) |
5807 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5811 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5808 echo "configure:5809: checking whether -R must be followed by a space" >&5 | 5812 echo "configure:5813: checking whether -R must be followed by a space" >&5 |
5809 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5813 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5810 cat > conftest.$ac_ext <<EOF | 5814 cat > conftest.$ac_ext <<EOF |
5811 #line 5812 "configure" | 5815 #line 5816 "configure" |
5812 #include "confdefs.h" | 5816 #include "confdefs.h" |
5813 | 5817 |
5814 int main() { | 5818 int main() { |
5815 | 5819 |
5816 ; return 0; } | 5820 ; return 0; } |
5817 EOF | 5821 EOF |
5818 if { (eval echo configure:5819: \"$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 |
5819 rm -rf conftest* | 5823 rm -rf conftest* |
5820 ac_R_nospace=yes | 5824 ac_R_nospace=yes |
5821 else | 5825 else |
5822 echo "configure: failed program was:" >&5 | 5826 echo "configure: failed program was:" >&5 |
5823 cat conftest.$ac_ext >&5 | 5827 cat conftest.$ac_ext >&5 |
5829 echo "$ac_t""no" 1>&6 | 5833 echo "$ac_t""no" 1>&6 |
5830 X_LIBS="$X_LIBS -R$x_libraries" | 5834 X_LIBS="$X_LIBS -R$x_libraries" |
5831 else | 5835 else |
5832 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5836 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5833 cat > conftest.$ac_ext <<EOF | 5837 cat > conftest.$ac_ext <<EOF |
5834 #line 5835 "configure" | 5838 #line 5839 "configure" |
5835 #include "confdefs.h" | 5839 #include "confdefs.h" |
5836 | 5840 |
5837 int main() { | 5841 int main() { |
5838 | 5842 |
5839 ; return 0; } | 5843 ; return 0; } |
5840 EOF | 5844 EOF |
5841 if { (eval echo configure:5842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5845 if { (eval echo configure:5846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5842 rm -rf conftest* | 5846 rm -rf conftest* |
5843 ac_R_space=yes | 5847 ac_R_space=yes |
5844 else | 5848 else |
5845 echo "configure: failed program was:" >&5 | 5849 echo "configure: failed program was:" >&5 |
5846 cat conftest.$ac_ext >&5 | 5850 cat conftest.$ac_ext >&5 |
5872 if test "$with_dnet" = "no" ; then | 5876 if test "$with_dnet" = "no" ; then |
5873 ac_cv_lib_dnet_dnet_ntoa=no | 5877 ac_cv_lib_dnet_dnet_ntoa=no |
5874 else | 5878 else |
5875 | 5879 |
5876 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5880 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5877 echo "configure:5878: checking for dnet_ntoa in -ldnet" >&5 | 5881 echo "configure:5882: checking for dnet_ntoa in -ldnet" >&5 |
5878 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5882 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5879 | 5883 |
5880 xe_check_libs=" -ldnet " | 5884 xe_check_libs=" -ldnet " |
5881 cat > conftest.$ac_ext <<EOF | 5885 cat > conftest.$ac_ext <<EOF |
5882 #line 5883 "configure" | 5886 #line 5887 "configure" |
5883 #include "confdefs.h" | 5887 #include "confdefs.h" |
5884 /* Override any gcc2 internal prototype to avoid an error. */ | 5888 /* Override any gcc2 internal prototype to avoid an error. */ |
5885 /* We use char because int might match the return type of a gcc2 | 5889 /* We use char because int might match the return type of a gcc2 |
5886 builtin and then its argument prototype would still apply. */ | 5890 builtin and then its argument prototype would still apply. */ |
5887 char dnet_ntoa(); | 5891 char dnet_ntoa(); |
5888 | 5892 |
5889 int main() { | 5893 int main() { |
5890 dnet_ntoa() | 5894 dnet_ntoa() |
5891 ; return 0; } | 5895 ; return 0; } |
5892 EOF | 5896 EOF |
5893 if { (eval echo configure:5894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5894 rm -rf conftest* | 5898 rm -rf conftest* |
5895 eval "ac_cv_lib_$ac_lib_var=yes" | 5899 eval "ac_cv_lib_$ac_lib_var=yes" |
5896 else | 5900 else |
5897 echo "configure: failed program was:" >&5 | 5901 echo "configure: failed program was:" >&5 |
5898 cat conftest.$ac_ext >&5 | 5902 cat conftest.$ac_ext >&5 |
5912 fi | 5916 fi |
5913 | 5917 |
5914 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5918 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5915 | 5919 |
5916 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5920 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5917 echo "configure:5918: checking for dnet_ntoa in -ldnet_stub" >&5 | 5921 echo "configure:5922: checking for dnet_ntoa in -ldnet_stub" >&5 |
5918 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5922 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5919 | 5923 |
5920 xe_check_libs=" -ldnet_stub " | 5924 xe_check_libs=" -ldnet_stub " |
5921 cat > conftest.$ac_ext <<EOF | 5925 cat > conftest.$ac_ext <<EOF |
5922 #line 5923 "configure" | 5926 #line 5927 "configure" |
5923 #include "confdefs.h" | 5927 #include "confdefs.h" |
5924 /* Override any gcc2 internal prototype to avoid an error. */ | 5928 /* Override any gcc2 internal prototype to avoid an error. */ |
5925 /* We use char because int might match the return type of a gcc2 | 5929 /* We use char because int might match the return type of a gcc2 |
5926 builtin and then its argument prototype would still apply. */ | 5930 builtin and then its argument prototype would still apply. */ |
5927 char dnet_ntoa(); | 5931 char dnet_ntoa(); |
5928 | 5932 |
5929 int main() { | 5933 int main() { |
5930 dnet_ntoa() | 5934 dnet_ntoa() |
5931 ; return 0; } | 5935 ; return 0; } |
5932 EOF | 5936 EOF |
5933 if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5934 rm -rf conftest* | 5938 rm -rf conftest* |
5935 eval "ac_cv_lib_$ac_lib_var=yes" | 5939 eval "ac_cv_lib_$ac_lib_var=yes" |
5936 else | 5940 else |
5937 echo "configure: failed program was:" >&5 | 5941 echo "configure: failed program was:" >&5 |
5938 cat conftest.$ac_ext >&5 | 5942 cat conftest.$ac_ext >&5 |
5957 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5961 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5958 # needs -lnsl. | 5962 # needs -lnsl. |
5959 # The nsl library prevents programs from opening the X display | 5963 # The nsl library prevents programs from opening the X display |
5960 # on Irix 5.2, according to dickey@clark.net. | 5964 # on Irix 5.2, according to dickey@clark.net. |
5961 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5965 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5962 echo "configure:5963: checking for gethostbyname" >&5 | 5966 echo "configure:5967: checking for gethostbyname" >&5 |
5963 | 5967 |
5964 cat > conftest.$ac_ext <<EOF | 5968 cat > conftest.$ac_ext <<EOF |
5965 #line 5966 "configure" | 5969 #line 5970 "configure" |
5966 #include "confdefs.h" | 5970 #include "confdefs.h" |
5967 /* System header to define __stub macros and hopefully few prototypes, | 5971 /* System header to define __stub macros and hopefully few prototypes, |
5968 which can conflict with char gethostbyname(); below. */ | 5972 which can conflict with char gethostbyname(); below. */ |
5969 #include <assert.h> | 5973 #include <assert.h> |
5970 /* Override any gcc2 internal prototype to avoid an error. */ | 5974 /* Override any gcc2 internal prototype to avoid an error. */ |
5983 gethostbyname(); | 5987 gethostbyname(); |
5984 #endif | 5988 #endif |
5985 | 5989 |
5986 ; return 0; } | 5990 ; return 0; } |
5987 EOF | 5991 EOF |
5988 if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5992 if { (eval echo configure:5993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5989 rm -rf conftest* | 5993 rm -rf conftest* |
5990 eval "ac_cv_func_gethostbyname=yes" | 5994 eval "ac_cv_func_gethostbyname=yes" |
5991 else | 5995 else |
5992 echo "configure: failed program was:" >&5 | 5996 echo "configure: failed program was:" >&5 |
5993 cat conftest.$ac_ext >&5 | 5997 cat conftest.$ac_ext >&5 |
6004 fi | 6008 fi |
6005 | 6009 |
6006 if test $ac_cv_func_gethostbyname = no; then | 6010 if test $ac_cv_func_gethostbyname = no; then |
6007 | 6011 |
6008 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6012 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6009 echo "configure:6010: checking for gethostbyname in -lnsl" >&5 | 6013 echo "configure:6014: checking for gethostbyname in -lnsl" >&5 |
6010 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6014 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6011 | 6015 |
6012 xe_check_libs=" -lnsl " | 6016 xe_check_libs=" -lnsl " |
6013 cat > conftest.$ac_ext <<EOF | 6017 cat > conftest.$ac_ext <<EOF |
6014 #line 6015 "configure" | 6018 #line 6019 "configure" |
6015 #include "confdefs.h" | 6019 #include "confdefs.h" |
6016 /* Override any gcc2 internal prototype to avoid an error. */ | 6020 /* Override any gcc2 internal prototype to avoid an error. */ |
6017 /* We use char because int might match the return type of a gcc2 | 6021 /* We use char because int might match the return type of a gcc2 |
6018 builtin and then its argument prototype would still apply. */ | 6022 builtin and then its argument prototype would still apply. */ |
6019 char gethostbyname(); | 6023 char gethostbyname(); |
6020 | 6024 |
6021 int main() { | 6025 int main() { |
6022 gethostbyname() | 6026 gethostbyname() |
6023 ; return 0; } | 6027 ; return 0; } |
6024 EOF | 6028 EOF |
6025 if { (eval echo configure:6026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6029 if { (eval echo configure:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6026 rm -rf conftest* | 6030 rm -rf conftest* |
6027 eval "ac_cv_lib_$ac_lib_var=yes" | 6031 eval "ac_cv_lib_$ac_lib_var=yes" |
6028 else | 6032 else |
6029 echo "configure: failed program was:" >&5 | 6033 echo "configure: failed program was:" >&5 |
6030 cat conftest.$ac_ext >&5 | 6034 cat conftest.$ac_ext >&5 |
6050 # on later versions), says simon@lia.di.epfl.ch: it contains | 6054 # on later versions), says simon@lia.di.epfl.ch: it contains |
6051 # gethostby* variants that don't use the nameserver (or something). | 6055 # gethostby* variants that don't use the nameserver (or something). |
6052 # -lsocket must be given before -lnsl if both are needed. | 6056 # -lsocket must be given before -lnsl if both are needed. |
6053 # We assume that if connect needs -lnsl, so does gethostbyname. | 6057 # We assume that if connect needs -lnsl, so does gethostbyname. |
6054 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6058 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6055 echo "configure:6056: checking for connect" >&5 | 6059 echo "configure:6060: checking for connect" >&5 |
6056 | 6060 |
6057 cat > conftest.$ac_ext <<EOF | 6061 cat > conftest.$ac_ext <<EOF |
6058 #line 6059 "configure" | 6062 #line 6063 "configure" |
6059 #include "confdefs.h" | 6063 #include "confdefs.h" |
6060 /* System header to define __stub macros and hopefully few prototypes, | 6064 /* System header to define __stub macros and hopefully few prototypes, |
6061 which can conflict with char connect(); below. */ | 6065 which can conflict with char connect(); below. */ |
6062 #include <assert.h> | 6066 #include <assert.h> |
6063 /* Override any gcc2 internal prototype to avoid an error. */ | 6067 /* Override any gcc2 internal prototype to avoid an error. */ |
6076 connect(); | 6080 connect(); |
6077 #endif | 6081 #endif |
6078 | 6082 |
6079 ; return 0; } | 6083 ; return 0; } |
6080 EOF | 6084 EOF |
6081 if { (eval echo configure:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6082 rm -rf conftest* | 6086 rm -rf conftest* |
6083 eval "ac_cv_func_connect=yes" | 6087 eval "ac_cv_func_connect=yes" |
6084 else | 6088 else |
6085 echo "configure: failed program was:" >&5 | 6089 echo "configure: failed program was:" >&5 |
6086 cat conftest.$ac_ext >&5 | 6090 cat conftest.$ac_ext >&5 |
6099 if test $ac_cv_func_connect = no; then | 6103 if test $ac_cv_func_connect = no; then |
6100 | 6104 |
6101 xe_msg_checking="for connect in -lsocket" | 6105 xe_msg_checking="for connect in -lsocket" |
6102 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6106 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6103 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6107 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6104 echo "configure:6105: checking "$xe_msg_checking"" >&5 | 6108 echo "configure:6109: checking "$xe_msg_checking"" >&5 |
6105 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6109 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6106 | 6110 |
6107 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6111 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6108 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
6109 #line 6110 "configure" | 6113 #line 6114 "configure" |
6110 #include "confdefs.h" | 6114 #include "confdefs.h" |
6111 /* Override any gcc2 internal prototype to avoid an error. */ | 6115 /* Override any gcc2 internal prototype to avoid an error. */ |
6112 /* We use char because int might match the return type of a gcc2 | 6116 /* We use char because int might match the return type of a gcc2 |
6113 builtin and then its argument prototype would still apply. */ | 6117 builtin and then its argument prototype would still apply. */ |
6114 char connect(); | 6118 char connect(); |
6115 | 6119 |
6116 int main() { | 6120 int main() { |
6117 connect() | 6121 connect() |
6118 ; return 0; } | 6122 ; return 0; } |
6119 EOF | 6123 EOF |
6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6124 if { (eval echo configure:6125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6121 rm -rf conftest* | 6125 rm -rf conftest* |
6122 eval "ac_cv_lib_$ac_lib_var=yes" | 6126 eval "ac_cv_lib_$ac_lib_var=yes" |
6123 else | 6127 else |
6124 echo "configure: failed program was:" >&5 | 6128 echo "configure: failed program was:" >&5 |
6125 cat conftest.$ac_ext >&5 | 6129 cat conftest.$ac_ext >&5 |
6139 | 6143 |
6140 fi | 6144 fi |
6141 | 6145 |
6142 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6146 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6143 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6147 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6144 echo "configure:6145: checking for remove" >&5 | 6148 echo "configure:6149: checking for remove" >&5 |
6145 | 6149 |
6146 cat > conftest.$ac_ext <<EOF | 6150 cat > conftest.$ac_ext <<EOF |
6147 #line 6148 "configure" | 6151 #line 6152 "configure" |
6148 #include "confdefs.h" | 6152 #include "confdefs.h" |
6149 /* System header to define __stub macros and hopefully few prototypes, | 6153 /* System header to define __stub macros and hopefully few prototypes, |
6150 which can conflict with char remove(); below. */ | 6154 which can conflict with char remove(); below. */ |
6151 #include <assert.h> | 6155 #include <assert.h> |
6152 /* Override any gcc2 internal prototype to avoid an error. */ | 6156 /* Override any gcc2 internal prototype to avoid an error. */ |
6165 remove(); | 6169 remove(); |
6166 #endif | 6170 #endif |
6167 | 6171 |
6168 ; return 0; } | 6172 ; return 0; } |
6169 EOF | 6173 EOF |
6170 if { (eval echo configure:6171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6174 if { (eval echo configure:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6171 rm -rf conftest* | 6175 rm -rf conftest* |
6172 eval "ac_cv_func_remove=yes" | 6176 eval "ac_cv_func_remove=yes" |
6173 else | 6177 else |
6174 echo "configure: failed program was:" >&5 | 6178 echo "configure: failed program was:" >&5 |
6175 cat conftest.$ac_ext >&5 | 6179 cat conftest.$ac_ext >&5 |
6186 fi | 6190 fi |
6187 | 6191 |
6188 if test $ac_cv_func_remove = no; then | 6192 if test $ac_cv_func_remove = no; then |
6189 | 6193 |
6190 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6194 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6191 echo "configure:6192: checking for remove in -lposix" >&5 | 6195 echo "configure:6196: checking for remove in -lposix" >&5 |
6192 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6196 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6193 | 6197 |
6194 xe_check_libs=" -lposix " | 6198 xe_check_libs=" -lposix " |
6195 cat > conftest.$ac_ext <<EOF | 6199 cat > conftest.$ac_ext <<EOF |
6196 #line 6197 "configure" | 6200 #line 6201 "configure" |
6197 #include "confdefs.h" | 6201 #include "confdefs.h" |
6198 /* Override any gcc2 internal prototype to avoid an error. */ | 6202 /* Override any gcc2 internal prototype to avoid an error. */ |
6199 /* We use char because int might match the return type of a gcc2 | 6203 /* We use char because int might match the return type of a gcc2 |
6200 builtin and then its argument prototype would still apply. */ | 6204 builtin and then its argument prototype would still apply. */ |
6201 char remove(); | 6205 char remove(); |
6202 | 6206 |
6203 int main() { | 6207 int main() { |
6204 remove() | 6208 remove() |
6205 ; return 0; } | 6209 ; return 0; } |
6206 EOF | 6210 EOF |
6207 if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6211 if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6208 rm -rf conftest* | 6212 rm -rf conftest* |
6209 eval "ac_cv_lib_$ac_lib_var=yes" | 6213 eval "ac_cv_lib_$ac_lib_var=yes" |
6210 else | 6214 else |
6211 echo "configure: failed program was:" >&5 | 6215 echo "configure: failed program was:" >&5 |
6212 cat conftest.$ac_ext >&5 | 6216 cat conftest.$ac_ext >&5 |
6226 | 6230 |
6227 fi | 6231 fi |
6228 | 6232 |
6229 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6233 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6230 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6234 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6231 echo "configure:6232: checking for shmat" >&5 | 6235 echo "configure:6236: checking for shmat" >&5 |
6232 | 6236 |
6233 cat > conftest.$ac_ext <<EOF | 6237 cat > conftest.$ac_ext <<EOF |
6234 #line 6235 "configure" | 6238 #line 6239 "configure" |
6235 #include "confdefs.h" | 6239 #include "confdefs.h" |
6236 /* System header to define __stub macros and hopefully few prototypes, | 6240 /* System header to define __stub macros and hopefully few prototypes, |
6237 which can conflict with char shmat(); below. */ | 6241 which can conflict with char shmat(); below. */ |
6238 #include <assert.h> | 6242 #include <assert.h> |
6239 /* Override any gcc2 internal prototype to avoid an error. */ | 6243 /* Override any gcc2 internal prototype to avoid an error. */ |
6252 shmat(); | 6256 shmat(); |
6253 #endif | 6257 #endif |
6254 | 6258 |
6255 ; return 0; } | 6259 ; return 0; } |
6256 EOF | 6260 EOF |
6257 if { (eval echo configure:6258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6261 if { (eval echo configure:6262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6258 rm -rf conftest* | 6262 rm -rf conftest* |
6259 eval "ac_cv_func_shmat=yes" | 6263 eval "ac_cv_func_shmat=yes" |
6260 else | 6264 else |
6261 echo "configure: failed program was:" >&5 | 6265 echo "configure: failed program was:" >&5 |
6262 cat conftest.$ac_ext >&5 | 6266 cat conftest.$ac_ext >&5 |
6273 fi | 6277 fi |
6274 | 6278 |
6275 if test $ac_cv_func_shmat = no; then | 6279 if test $ac_cv_func_shmat = no; then |
6276 | 6280 |
6277 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6281 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6278 echo "configure:6279: checking for shmat in -lipc" >&5 | 6282 echo "configure:6283: checking for shmat in -lipc" >&5 |
6279 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6283 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6280 | 6284 |
6281 xe_check_libs=" -lipc " | 6285 xe_check_libs=" -lipc " |
6282 cat > conftest.$ac_ext <<EOF | 6286 cat > conftest.$ac_ext <<EOF |
6283 #line 6284 "configure" | 6287 #line 6288 "configure" |
6284 #include "confdefs.h" | 6288 #include "confdefs.h" |
6285 /* Override any gcc2 internal prototype to avoid an error. */ | 6289 /* Override any gcc2 internal prototype to avoid an error. */ |
6286 /* We use char because int might match the return type of a gcc2 | 6290 /* We use char because int might match the return type of a gcc2 |
6287 builtin and then its argument prototype would still apply. */ | 6291 builtin and then its argument prototype would still apply. */ |
6288 char shmat(); | 6292 char shmat(); |
6289 | 6293 |
6290 int main() { | 6294 int main() { |
6291 shmat() | 6295 shmat() |
6292 ; return 0; } | 6296 ; return 0; } |
6293 EOF | 6297 EOF |
6294 if { (eval echo configure:6295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6298 if { (eval echo configure:6299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6295 rm -rf conftest* | 6299 rm -rf conftest* |
6296 eval "ac_cv_lib_$ac_lib_var=yes" | 6300 eval "ac_cv_lib_$ac_lib_var=yes" |
6297 else | 6301 else |
6298 echo "configure: failed program was:" >&5 | 6302 echo "configure: failed program was:" >&5 |
6299 cat conftest.$ac_ext >&5 | 6303 cat conftest.$ac_ext >&5 |
6325 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6329 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6326 | 6330 |
6327 xe_msg_checking="for IceConnectionNumber in -lICE" | 6331 xe_msg_checking="for IceConnectionNumber in -lICE" |
6328 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6332 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6329 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6333 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6330 echo "configure:6331: checking "$xe_msg_checking"" >&5 | 6334 echo "configure:6335: checking "$xe_msg_checking"" >&5 |
6331 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6335 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6332 | 6336 |
6333 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6337 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6334 cat > conftest.$ac_ext <<EOF | 6338 cat > conftest.$ac_ext <<EOF |
6335 #line 6336 "configure" | 6339 #line 6340 "configure" |
6336 #include "confdefs.h" | 6340 #include "confdefs.h" |
6337 /* Override any gcc2 internal prototype to avoid an error. */ | 6341 /* Override any gcc2 internal prototype to avoid an error. */ |
6338 /* We use char because int might match the return type of a gcc2 | 6342 /* We use char because int might match the return type of a gcc2 |
6339 builtin and then its argument prototype would still apply. */ | 6343 builtin and then its argument prototype would still apply. */ |
6340 char IceConnectionNumber(); | 6344 char IceConnectionNumber(); |
6341 | 6345 |
6342 int main() { | 6346 int main() { |
6343 IceConnectionNumber() | 6347 IceConnectionNumber() |
6344 ; return 0; } | 6348 ; return 0; } |
6345 EOF | 6349 EOF |
6346 if { (eval echo configure:6347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6350 if { (eval echo configure:6351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6347 rm -rf conftest* | 6351 rm -rf conftest* |
6348 eval "ac_cv_lib_$ac_lib_var=yes" | 6352 eval "ac_cv_lib_$ac_lib_var=yes" |
6349 else | 6353 else |
6350 echo "configure: failed program was:" >&5 | 6354 echo "configure: failed program was:" >&5 |
6351 cat conftest.$ac_ext >&5 | 6355 cat conftest.$ac_ext >&5 |
6508 EOF | 6512 EOF |
6509 } | 6513 } |
6510 | 6514 |
6511 | 6515 |
6512 echo "checking for X defines extracted by xmkmf" 1>&6 | 6516 echo "checking for X defines extracted by xmkmf" 1>&6 |
6513 echo "configure:6514: checking for X defines extracted by xmkmf" >&5 | 6517 echo "configure:6518: checking for X defines extracted by xmkmf" >&5 |
6514 rm -fr conftestdir | 6518 rm -fr conftestdir |
6515 if mkdir conftestdir; then | 6519 if mkdir conftestdir; then |
6516 cd conftestdir | 6520 cd conftestdir |
6517 cat > Imakefile <<'EOF' | 6521 cat > Imakefile <<'EOF' |
6518 xetest: | 6522 xetest: |
6557 done | 6561 done |
6558 fi | 6562 fi |
6559 | 6563 |
6560 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6564 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6561 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6565 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6562 echo "configure:6563: checking for X11/Intrinsic.h" >&5 | 6566 echo "configure:6567: checking for X11/Intrinsic.h" >&5 |
6563 | 6567 |
6564 cat > conftest.$ac_ext <<EOF | 6568 cat > conftest.$ac_ext <<EOF |
6565 #line 6566 "configure" | 6569 #line 6570 "configure" |
6566 #include "confdefs.h" | 6570 #include "confdefs.h" |
6567 #include <X11/Intrinsic.h> | 6571 #include <X11/Intrinsic.h> |
6568 EOF | 6572 EOF |
6569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6570 { (eval echo configure:6571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6574 { (eval echo configure:6575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6572 if test -z "$ac_err"; then | 6576 if test -z "$ac_err"; then |
6573 rm -rf conftest* | 6577 rm -rf conftest* |
6574 eval "ac_cv_header_$ac_safe=yes" | 6578 eval "ac_cv_header_$ac_safe=yes" |
6575 else | 6579 else |
6589 fi | 6593 fi |
6590 | 6594 |
6591 | 6595 |
6592 | 6596 |
6593 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6594 echo "configure:6595: checking for XOpenDisplay in -lX11" >&5 | 6598 echo "configure:6599: checking for XOpenDisplay in -lX11" >&5 |
6595 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6599 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6596 | 6600 |
6597 xe_check_libs=" -lX11 " | 6601 xe_check_libs=" -lX11 " |
6598 cat > conftest.$ac_ext <<EOF | 6602 cat > conftest.$ac_ext <<EOF |
6599 #line 6600 "configure" | 6603 #line 6604 "configure" |
6600 #include "confdefs.h" | 6604 #include "confdefs.h" |
6601 /* Override any gcc2 internal prototype to avoid an error. */ | 6605 /* Override any gcc2 internal prototype to avoid an error. */ |
6602 /* We use char because int might match the return type of a gcc2 | 6606 /* We use char because int might match the return type of a gcc2 |
6603 builtin and then its argument prototype would still apply. */ | 6607 builtin and then its argument prototype would still apply. */ |
6604 char XOpenDisplay(); | 6608 char XOpenDisplay(); |
6605 | 6609 |
6606 int main() { | 6610 int main() { |
6607 XOpenDisplay() | 6611 XOpenDisplay() |
6608 ; return 0; } | 6612 ; return 0; } |
6609 EOF | 6613 EOF |
6610 if { (eval echo configure:6611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6614 if { (eval echo configure:6615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6611 rm -rf conftest* | 6615 rm -rf conftest* |
6612 eval "ac_cv_lib_$ac_lib_var=yes" | 6616 eval "ac_cv_lib_$ac_lib_var=yes" |
6613 else | 6617 else |
6614 echo "configure: failed program was:" >&5 | 6618 echo "configure: failed program was:" >&5 |
6615 cat conftest.$ac_ext >&5 | 6619 cat conftest.$ac_ext >&5 |
6630 if test "$have_lib_x11" != "yes"; then | 6634 if test "$have_lib_x11" != "yes"; then |
6631 | 6635 |
6632 xe_msg_checking="for XGetFontProperty in -lX11" | 6636 xe_msg_checking="for XGetFontProperty in -lX11" |
6633 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6637 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6634 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6638 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6635 echo "configure:6636: checking "$xe_msg_checking"" >&5 | 6639 echo "configure:6640: checking "$xe_msg_checking"" >&5 |
6636 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6640 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6637 | 6641 |
6638 xe_check_libs=" -lX11 -b i486-linuxaout" | 6642 xe_check_libs=" -lX11 -b i486-linuxaout" |
6639 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6640 #line 6641 "configure" | 6644 #line 6645 "configure" |
6641 #include "confdefs.h" | 6645 #include "confdefs.h" |
6642 /* Override any gcc2 internal prototype to avoid an error. */ | 6646 /* Override any gcc2 internal prototype to avoid an error. */ |
6643 /* We use char because int might match the return type of a gcc2 | 6647 /* We use char because int might match the return type of a gcc2 |
6644 builtin and then its argument prototype would still apply. */ | 6648 builtin and then its argument prototype would still apply. */ |
6645 char XGetFontProperty(); | 6649 char XGetFontProperty(); |
6646 | 6650 |
6647 int main() { | 6651 int main() { |
6648 XGetFontProperty() | 6652 XGetFontProperty() |
6649 ; return 0; } | 6653 ; return 0; } |
6650 EOF | 6654 EOF |
6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6655 if { (eval echo configure:6656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6652 rm -rf conftest* | 6656 rm -rf conftest* |
6653 eval "ac_cv_lib_$ac_lib_var=yes" | 6657 eval "ac_cv_lib_$ac_lib_var=yes" |
6654 else | 6658 else |
6655 echo "configure: failed program was:" >&5 | 6659 echo "configure: failed program was:" >&5 |
6656 cat conftest.$ac_ext >&5 | 6660 cat conftest.$ac_ext >&5 |
6673 libs_x="-lX11" | 6677 libs_x="-lX11" |
6674 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6678 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6675 | 6679 |
6676 | 6680 |
6677 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6681 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6678 echo "configure:6679: checking for XShapeSelectInput in -lXext" >&5 | 6682 echo "configure:6683: checking for XShapeSelectInput in -lXext" >&5 |
6679 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6683 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6680 | 6684 |
6681 xe_check_libs=" -lXext " | 6685 xe_check_libs=" -lXext " |
6682 cat > conftest.$ac_ext <<EOF | 6686 cat > conftest.$ac_ext <<EOF |
6683 #line 6684 "configure" | 6687 #line 6688 "configure" |
6684 #include "confdefs.h" | 6688 #include "confdefs.h" |
6685 /* Override any gcc2 internal prototype to avoid an error. */ | 6689 /* Override any gcc2 internal prototype to avoid an error. */ |
6686 /* We use char because int might match the return type of a gcc2 | 6690 /* We use char because int might match the return type of a gcc2 |
6687 builtin and then its argument prototype would still apply. */ | 6691 builtin and then its argument prototype would still apply. */ |
6688 char XShapeSelectInput(); | 6692 char XShapeSelectInput(); |
6689 | 6693 |
6690 int main() { | 6694 int main() { |
6691 XShapeSelectInput() | 6695 XShapeSelectInput() |
6692 ; return 0; } | 6696 ; return 0; } |
6693 EOF | 6697 EOF |
6694 if { (eval echo configure:6695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6695 rm -rf conftest* | 6699 rm -rf conftest* |
6696 eval "ac_cv_lib_$ac_lib_var=yes" | 6700 eval "ac_cv_lib_$ac_lib_var=yes" |
6697 else | 6701 else |
6698 echo "configure: failed program was:" >&5 | 6702 echo "configure: failed program was:" >&5 |
6699 cat conftest.$ac_ext >&5 | 6703 cat conftest.$ac_ext >&5 |
6712 | 6716 |
6713 | 6717 |
6714 | 6718 |
6715 | 6719 |
6716 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6720 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6717 echo "configure:6718: checking for XtOpenDisplay in -lXt" >&5 | 6721 echo "configure:6722: checking for XtOpenDisplay in -lXt" >&5 |
6718 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6722 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6719 | 6723 |
6720 xe_check_libs=" -lXt " | 6724 xe_check_libs=" -lXt " |
6721 cat > conftest.$ac_ext <<EOF | 6725 cat > conftest.$ac_ext <<EOF |
6722 #line 6723 "configure" | 6726 #line 6727 "configure" |
6723 #include "confdefs.h" | 6727 #include "confdefs.h" |
6724 /* Override any gcc2 internal prototype to avoid an error. */ | 6728 /* Override any gcc2 internal prototype to avoid an error. */ |
6725 /* We use char because int might match the return type of a gcc2 | 6729 /* We use char because int might match the return type of a gcc2 |
6726 builtin and then its argument prototype would still apply. */ | 6730 builtin and then its argument prototype would still apply. */ |
6727 char XtOpenDisplay(); | 6731 char XtOpenDisplay(); |
6728 | 6732 |
6729 int main() { | 6733 int main() { |
6730 XtOpenDisplay() | 6734 XtOpenDisplay() |
6731 ; return 0; } | 6735 ; return 0; } |
6732 EOF | 6736 EOF |
6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6734 rm -rf conftest* | 6738 rm -rf conftest* |
6735 eval "ac_cv_lib_$ac_lib_var=yes" | 6739 eval "ac_cv_lib_$ac_lib_var=yes" |
6736 else | 6740 else |
6737 echo "configure: failed program was:" >&5 | 6741 echo "configure: failed program was:" >&5 |
6738 cat conftest.$ac_ext >&5 | 6742 cat conftest.$ac_ext >&5 |
6751 fi | 6755 fi |
6752 | 6756 |
6753 | 6757 |
6754 | 6758 |
6755 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6759 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6756 echo "configure:6757: checking the version of X11 being used" >&5 | 6760 echo "configure:6761: checking the version of X11 being used" >&5 |
6757 cat > conftest.$ac_ext <<EOF | 6761 cat > conftest.$ac_ext <<EOF |
6758 #line 6759 "configure" | 6762 #line 6763 "configure" |
6759 #include "confdefs.h" | 6763 #include "confdefs.h" |
6760 #include <X11/Intrinsic.h> | 6764 #include <X11/Intrinsic.h> |
6761 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6765 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6762 EOF | 6766 EOF |
6763 if { (eval echo configure:6764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6767 if { (eval echo configure:6768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6764 then | 6768 then |
6765 ./conftest foobar; x11_release=$? | 6769 ./conftest foobar; x11_release=$? |
6766 else | 6770 else |
6767 conftest_rc="$?" | 6771 conftest_rc="$?" |
6768 echo "configure: failed program was:" >&5 | 6772 echo "configure: failed program was:" >&5 |
6789 fi | 6793 fi |
6790 | 6794 |
6791 for ac_func in XConvertCase | 6795 for ac_func in XConvertCase |
6792 do | 6796 do |
6793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6794 echo "configure:6795: checking for $ac_func" >&5 | 6798 echo "configure:6799: checking for $ac_func" >&5 |
6795 | 6799 |
6796 cat > conftest.$ac_ext <<EOF | 6800 cat > conftest.$ac_ext <<EOF |
6797 #line 6798 "configure" | 6801 #line 6802 "configure" |
6798 #include "confdefs.h" | 6802 #include "confdefs.h" |
6799 /* System header to define __stub macros and hopefully few prototypes, | 6803 /* System header to define __stub macros and hopefully few prototypes, |
6800 which can conflict with char $ac_func(); below. */ | 6804 which can conflict with char $ac_func(); below. */ |
6801 #include <assert.h> | 6805 #include <assert.h> |
6802 /* Override any gcc2 internal prototype to avoid an error. */ | 6806 /* Override any gcc2 internal prototype to avoid an error. */ |
6815 $ac_func(); | 6819 $ac_func(); |
6816 #endif | 6820 #endif |
6817 | 6821 |
6818 ; return 0; } | 6822 ; return 0; } |
6819 EOF | 6823 EOF |
6820 if { (eval echo configure:6821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6821 rm -rf conftest* | 6825 rm -rf conftest* |
6822 eval "ac_cv_func_$ac_func=yes" | 6826 eval "ac_cv_func_$ac_func=yes" |
6823 else | 6827 else |
6824 echo "configure: failed program was:" >&5 | 6828 echo "configure: failed program was:" >&5 |
6825 cat conftest.$ac_ext >&5 | 6829 cat conftest.$ac_ext >&5 |
6847 | 6851 |
6848 for ac_hdr in X11/Xlocale.h | 6852 for ac_hdr in X11/Xlocale.h |
6849 do | 6853 do |
6850 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6854 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6851 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6855 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6852 echo "configure:6853: checking for $ac_hdr" >&5 | 6856 echo "configure:6857: checking for $ac_hdr" >&5 |
6853 | 6857 |
6854 cat > conftest.$ac_ext <<EOF | 6858 cat > conftest.$ac_ext <<EOF |
6855 #line 6856 "configure" | 6859 #line 6860 "configure" |
6856 #include "confdefs.h" | 6860 #include "confdefs.h" |
6857 #include <$ac_hdr> | 6861 #include <$ac_hdr> |
6858 EOF | 6862 EOF |
6859 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6860 { (eval echo configure:6861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6861 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6862 if test -z "$ac_err"; then | 6866 if test -z "$ac_err"; then |
6863 rm -rf conftest* | 6867 rm -rf conftest* |
6864 eval "ac_cv_header_$ac_safe=yes" | 6868 eval "ac_cv_header_$ac_safe=yes" |
6865 else | 6869 else |
6888 | 6892 |
6889 | 6893 |
6890 for ac_func in XRegisterIMInstantiateCallback | 6894 for ac_func in XRegisterIMInstantiateCallback |
6891 do | 6895 do |
6892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6893 echo "configure:6894: checking for $ac_func" >&5 | 6897 echo "configure:6898: checking for $ac_func" >&5 |
6894 | 6898 |
6895 cat > conftest.$ac_ext <<EOF | 6899 cat > conftest.$ac_ext <<EOF |
6896 #line 6897 "configure" | 6900 #line 6901 "configure" |
6897 #include "confdefs.h" | 6901 #include "confdefs.h" |
6898 /* System header to define __stub macros and hopefully few prototypes, | 6902 /* System header to define __stub macros and hopefully few prototypes, |
6899 which can conflict with char $ac_func(); below. */ | 6903 which can conflict with char $ac_func(); below. */ |
6900 #include <assert.h> | 6904 #include <assert.h> |
6901 /* Override any gcc2 internal prototype to avoid an error. */ | 6905 /* Override any gcc2 internal prototype to avoid an error. */ |
6914 $ac_func(); | 6918 $ac_func(); |
6915 #endif | 6919 #endif |
6916 | 6920 |
6917 ; return 0; } | 6921 ; return 0; } |
6918 EOF | 6922 EOF |
6919 if { (eval echo configure:6920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6920 rm -rf conftest* | 6924 rm -rf conftest* |
6921 eval "ac_cv_func_$ac_func=yes" | 6925 eval "ac_cv_func_$ac_func=yes" |
6922 else | 6926 else |
6923 echo "configure: failed program was:" >&5 | 6927 echo "configure: failed program was:" >&5 |
6924 cat conftest.$ac_ext >&5 | 6928 cat conftest.$ac_ext >&5 |
6942 echo "$ac_t""no" 1>&6 | 6946 echo "$ac_t""no" 1>&6 |
6943 fi | 6947 fi |
6944 done | 6948 done |
6945 | 6949 |
6946 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6950 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6947 echo "configure:6948: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6951 echo "configure:6952: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6948 cat > conftest.$ac_ext <<EOF | 6952 cat > conftest.$ac_ext <<EOF |
6949 #line 6950 "configure" | 6953 #line 6954 "configure" |
6950 #include "confdefs.h" | 6954 #include "confdefs.h" |
6951 | 6955 |
6952 #define NeedFunctionPrototypes 1 | 6956 #define NeedFunctionPrototypes 1 |
6953 #include <X11/Xlib.h> | 6957 #include <X11/Xlib.h> |
6954 extern Bool XRegisterIMInstantiateCallback( | 6958 extern Bool XRegisterIMInstantiateCallback( |
6956 | 6960 |
6957 int main() { | 6961 int main() { |
6958 | 6962 |
6959 ; return 0; } | 6963 ; return 0; } |
6960 EOF | 6964 EOF |
6961 if { (eval echo configure:6962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6965 if { (eval echo configure:6966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6962 rm -rf conftest* | 6966 rm -rf conftest* |
6963 echo "$ac_t""yes" 1>&6 | 6967 echo "$ac_t""yes" 1>&6 |
6964 else | 6968 else |
6965 echo "configure: failed program was:" >&5 | 6969 echo "configure: failed program was:" >&5 |
6966 cat conftest.$ac_ext >&5 | 6970 cat conftest.$ac_ext >&5 |
6977 fi | 6981 fi |
6978 rm -f conftest* | 6982 rm -f conftest* |
6979 | 6983 |
6980 test -z "$with_xmu" && { | 6984 test -z "$with_xmu" && { |
6981 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6985 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6982 echo "configure:6983: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6986 echo "configure:6987: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6983 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6987 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6984 | 6988 |
6985 xe_check_libs=" -lXmu " | 6989 xe_check_libs=" -lXmu " |
6986 cat > conftest.$ac_ext <<EOF | 6990 cat > conftest.$ac_ext <<EOF |
6987 #line 6988 "configure" | 6991 #line 6992 "configure" |
6988 #include "confdefs.h" | 6992 #include "confdefs.h" |
6989 /* Override any gcc2 internal prototype to avoid an error. */ | 6993 /* Override any gcc2 internal prototype to avoid an error. */ |
6990 /* We use char because int might match the return type of a gcc2 | 6994 /* We use char because int might match the return type of a gcc2 |
6991 builtin and then its argument prototype would still apply. */ | 6995 builtin and then its argument prototype would still apply. */ |
6992 char XmuReadBitmapDataFromFile(); | 6996 char XmuReadBitmapDataFromFile(); |
6993 | 6997 |
6994 int main() { | 6998 int main() { |
6995 XmuReadBitmapDataFromFile() | 6999 XmuReadBitmapDataFromFile() |
6996 ; return 0; } | 7000 ; return 0; } |
6997 EOF | 7001 EOF |
6998 if { (eval echo configure:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6999 rm -rf conftest* | 7003 rm -rf conftest* |
7000 eval "ac_cv_lib_$ac_lib_var=yes" | 7004 eval "ac_cv_lib_$ac_lib_var=yes" |
7001 else | 7005 else |
7002 echo "configure: failed program was:" >&5 | 7006 echo "configure: failed program was:" >&5 |
7003 cat conftest.$ac_ext >&5 | 7007 cat conftest.$ac_ext >&5 |
7032 | 7036 |
7033 fi | 7037 fi |
7034 | 7038 |
7035 | 7039 |
7036 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7040 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7037 echo "configure:7038: checking for main in -lXbsd" >&5 | 7041 echo "configure:7042: checking for main in -lXbsd" >&5 |
7038 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7042 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7039 | 7043 |
7040 xe_check_libs=" -lXbsd " | 7044 xe_check_libs=" -lXbsd " |
7041 cat > conftest.$ac_ext <<EOF | 7045 cat > conftest.$ac_ext <<EOF |
7042 #line 7043 "configure" | 7046 #line 7047 "configure" |
7043 #include "confdefs.h" | 7047 #include "confdefs.h" |
7044 | 7048 |
7045 int main() { | 7049 int main() { |
7046 main() | 7050 main() |
7047 ; return 0; } | 7051 ; return 0; } |
7048 EOF | 7052 EOF |
7049 if { (eval echo configure:7050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7050 rm -rf conftest* | 7054 rm -rf conftest* |
7051 eval "ac_cv_lib_$ac_lib_var=yes" | 7055 eval "ac_cv_lib_$ac_lib_var=yes" |
7052 else | 7056 else |
7053 echo "configure: failed program was:" >&5 | 7057 echo "configure: failed program was:" >&5 |
7054 cat conftest.$ac_ext >&5 | 7058 cat conftest.$ac_ext >&5 |
7081 fi | 7085 fi |
7082 | 7086 |
7083 fi | 7087 fi |
7084 if test "$with_msw" != "no"; then | 7088 if test "$with_msw" != "no"; then |
7085 echo "checking for MS-Windows" 1>&6 | 7089 echo "checking for MS-Windows" 1>&6 |
7086 echo "configure:7087: checking for MS-Windows" >&5 | 7090 echo "configure:7091: checking for MS-Windows" >&5 |
7087 | 7091 |
7088 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7092 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7089 echo "configure:7090: checking for main in -lgdi32" >&5 | 7093 echo "configure:7094: checking for main in -lgdi32" >&5 |
7090 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7094 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7091 | 7095 |
7092 xe_check_libs=" -lgdi32 " | 7096 xe_check_libs=" -lgdi32 " |
7093 cat > conftest.$ac_ext <<EOF | 7097 cat > conftest.$ac_ext <<EOF |
7094 #line 7095 "configure" | 7098 #line 7099 "configure" |
7095 #include "confdefs.h" | 7099 #include "confdefs.h" |
7096 | 7100 |
7097 int main() { | 7101 int main() { |
7098 main() | 7102 main() |
7099 ; return 0; } | 7103 ; return 0; } |
7100 EOF | 7104 EOF |
7101 if { (eval echo configure:7102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7105 if { (eval echo configure:7106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7102 rm -rf conftest* | 7106 rm -rf conftest* |
7103 eval "ac_cv_lib_$ac_lib_var=yes" | 7107 eval "ac_cv_lib_$ac_lib_var=yes" |
7104 else | 7108 else |
7105 echo "configure: failed program was:" >&5 | 7109 echo "configure: failed program was:" >&5 |
7106 cat conftest.$ac_ext >&5 | 7110 cat conftest.$ac_ext >&5 |
7147 test "$with_toolbars" != "no" && with_toolbars=msw | 7151 test "$with_toolbars" != "no" && with_toolbars=msw |
7148 test "$with_dialogs" != "no" && with_dialogs=msw | 7152 test "$with_dialogs" != "no" && with_dialogs=msw |
7149 test "$with_widgets" != "no" && with_widgets=msw | 7153 test "$with_widgets" != "no" && with_widgets=msw |
7150 fi | 7154 fi |
7151 cat > conftest.$ac_ext <<EOF | 7155 cat > conftest.$ac_ext <<EOF |
7152 #line 7153 "configure" | 7156 #line 7157 "configure" |
7153 #include "confdefs.h" | 7157 #include "confdefs.h" |
7154 #include <fcntl.h> | 7158 #include <fcntl.h> |
7155 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7159 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7156 EOF | 7160 EOF |
7157 if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7161 if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7158 then | 7162 then |
7159 { test "$extra_verbose" = "yes" && cat << \EOF | 7163 { test "$extra_verbose" = "yes" && cat << \EOF |
7160 Defining HAVE_MSG_SELECT | 7164 Defining HAVE_MSG_SELECT |
7161 EOF | 7165 EOF |
7162 cat >> confdefs.h <<\EOF | 7166 cat >> confdefs.h <<\EOF |
7213 fi | 7217 fi |
7214 | 7218 |
7215 if test "$with_x11" = "yes"; then | 7219 if test "$with_x11" = "yes"; then |
7216 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7220 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7217 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7221 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7218 echo "configure:7219: checking for X11/extensions/shape.h" >&5 | 7222 echo "configure:7223: checking for X11/extensions/shape.h" >&5 |
7219 | 7223 |
7220 cat > conftest.$ac_ext <<EOF | 7224 cat > conftest.$ac_ext <<EOF |
7221 #line 7222 "configure" | 7225 #line 7226 "configure" |
7222 #include "confdefs.h" | 7226 #include "confdefs.h" |
7223 #include <X11/extensions/shape.h> | 7227 #include <X11/extensions/shape.h> |
7224 EOF | 7228 EOF |
7225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7226 { (eval echo configure:7227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7230 { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7228 if test -z "$ac_err"; then | 7232 if test -z "$ac_err"; then |
7229 rm -rf conftest* | 7233 rm -rf conftest* |
7230 eval "ac_cv_header_$ac_safe=yes" | 7234 eval "ac_cv_header_$ac_safe=yes" |
7231 else | 7235 else |
7271 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7275 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7272 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7276 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7273 esac | 7277 esac |
7274 | 7278 |
7275 echo "checking for WM_COMMAND option" 1>&6 | 7279 echo "checking for WM_COMMAND option" 1>&6 |
7276 echo "configure:7277: checking for WM_COMMAND option" >&5; | 7280 echo "configure:7281: checking for WM_COMMAND option" >&5; |
7277 if test "$with_wmcommand" != "no"; then | 7281 if test "$with_wmcommand" != "no"; then |
7278 { test "$extra_verbose" = "yes" && cat << \EOF | 7282 { test "$extra_verbose" = "yes" && cat << \EOF |
7279 Defining HAVE_WMCOMMAND | 7283 Defining HAVE_WMCOMMAND |
7280 EOF | 7284 EOF |
7281 cat >> confdefs.h <<\EOF | 7285 cat >> confdefs.h <<\EOF |
7286 fi | 7290 fi |
7287 | 7291 |
7288 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7292 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7289 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7293 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7290 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7294 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7291 echo "configure:7292: checking for X11/Xauth.h" >&5 | 7295 echo "configure:7296: checking for X11/Xauth.h" >&5 |
7292 | 7296 |
7293 cat > conftest.$ac_ext <<EOF | 7297 cat > conftest.$ac_ext <<EOF |
7294 #line 7295 "configure" | 7298 #line 7299 "configure" |
7295 #include "confdefs.h" | 7299 #include "confdefs.h" |
7296 #include <X11/Xauth.h> | 7300 #include <X11/Xauth.h> |
7297 EOF | 7301 EOF |
7298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7299 { (eval echo configure:7300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7303 { (eval echo configure:7304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7301 if test -z "$ac_err"; then | 7305 if test -z "$ac_err"; then |
7302 rm -rf conftest* | 7306 rm -rf conftest* |
7303 eval "ac_cv_header_$ac_safe=yes" | 7307 eval "ac_cv_header_$ac_safe=yes" |
7304 else | 7308 else |
7317 with_xauth=no | 7321 with_xauth=no |
7318 fi | 7322 fi |
7319 } | 7323 } |
7320 test -z "$with_xauth" && { | 7324 test -z "$with_xauth" && { |
7321 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7325 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7322 echo "configure:7323: checking for XauGetAuthByAddr in -lXau" >&5 | 7326 echo "configure:7327: checking for XauGetAuthByAddr in -lXau" >&5 |
7323 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7327 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7324 | 7328 |
7325 xe_check_libs=" -lXau " | 7329 xe_check_libs=" -lXau " |
7326 cat > conftest.$ac_ext <<EOF | 7330 cat > conftest.$ac_ext <<EOF |
7327 #line 7328 "configure" | 7331 #line 7332 "configure" |
7328 #include "confdefs.h" | 7332 #include "confdefs.h" |
7329 /* Override any gcc2 internal prototype to avoid an error. */ | 7333 /* Override any gcc2 internal prototype to avoid an error. */ |
7330 /* We use char because int might match the return type of a gcc2 | 7334 /* We use char because int might match the return type of a gcc2 |
7331 builtin and then its argument prototype would still apply. */ | 7335 builtin and then its argument prototype would still apply. */ |
7332 char XauGetAuthByAddr(); | 7336 char XauGetAuthByAddr(); |
7333 | 7337 |
7334 int main() { | 7338 int main() { |
7335 XauGetAuthByAddr() | 7339 XauGetAuthByAddr() |
7336 ; return 0; } | 7340 ; return 0; } |
7337 EOF | 7341 EOF |
7338 if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7342 if { (eval echo configure:7343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7339 rm -rf conftest* | 7343 rm -rf conftest* |
7340 eval "ac_cv_lib_$ac_lib_var=yes" | 7344 eval "ac_cv_lib_$ac_lib_var=yes" |
7341 else | 7345 else |
7342 echo "configure: failed program was:" >&5 | 7346 echo "configure: failed program was:" >&5 |
7343 cat conftest.$ac_ext >&5 | 7347 cat conftest.$ac_ext >&5 |
7378 | 7382 |
7379 if test "$with_tooltalk" != "no" ; then | 7383 if test "$with_tooltalk" != "no" ; then |
7380 for dir in "" "Tt/" "desktop/" ; do | 7384 for dir in "" "Tt/" "desktop/" ; do |
7381 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7385 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7382 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7386 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7383 echo "configure:7384: checking for ${dir}tt_c.h" >&5 | 7387 echo "configure:7388: checking for ${dir}tt_c.h" >&5 |
7384 | 7388 |
7385 cat > conftest.$ac_ext <<EOF | 7389 cat > conftest.$ac_ext <<EOF |
7386 #line 7387 "configure" | 7390 #line 7391 "configure" |
7387 #include "confdefs.h" | 7391 #include "confdefs.h" |
7388 #include <${dir}tt_c.h> | 7392 #include <${dir}tt_c.h> |
7389 EOF | 7393 EOF |
7390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7391 { (eval echo configure:7392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7395 { (eval echo configure:7396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7393 if test -z "$ac_err"; then | 7397 if test -z "$ac_err"; then |
7394 rm -rf conftest* | 7398 rm -rf conftest* |
7395 eval "ac_cv_header_$ac_safe=yes" | 7399 eval "ac_cv_header_$ac_safe=yes" |
7396 else | 7400 else |
7422 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7426 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7423 | 7427 |
7424 xe_msg_checking="for tt_message_create in -ltt" | 7428 xe_msg_checking="for tt_message_create in -ltt" |
7425 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7429 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7426 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7430 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7427 echo "configure:7428: checking "$xe_msg_checking"" >&5 | 7431 echo "configure:7432: checking "$xe_msg_checking"" >&5 |
7428 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7432 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7429 | 7433 |
7430 xe_check_libs=" -ltt $extra_libs" | 7434 xe_check_libs=" -ltt $extra_libs" |
7431 cat > conftest.$ac_ext <<EOF | 7435 cat > conftest.$ac_ext <<EOF |
7432 #line 7433 "configure" | 7436 #line 7437 "configure" |
7433 #include "confdefs.h" | 7437 #include "confdefs.h" |
7434 /* Override any gcc2 internal prototype to avoid an error. */ | 7438 /* Override any gcc2 internal prototype to avoid an error. */ |
7435 /* We use char because int might match the return type of a gcc2 | 7439 /* We use char because int might match the return type of a gcc2 |
7436 builtin and then its argument prototype would still apply. */ | 7440 builtin and then its argument prototype would still apply. */ |
7437 char tt_message_create(); | 7441 char tt_message_create(); |
7438 | 7442 |
7439 int main() { | 7443 int main() { |
7440 tt_message_create() | 7444 tt_message_create() |
7441 ; return 0; } | 7445 ; return 0; } |
7442 EOF | 7446 EOF |
7443 if { (eval echo configure:7444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7447 if { (eval echo configure:7448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7444 rm -rf conftest* | 7448 rm -rf conftest* |
7445 eval "ac_cv_lib_$ac_lib_var=yes" | 7449 eval "ac_cv_lib_$ac_lib_var=yes" |
7446 else | 7450 else |
7447 echo "configure: failed program was:" >&5 | 7451 echo "configure: failed program was:" >&5 |
7448 cat conftest.$ac_ext >&5 | 7452 cat conftest.$ac_ext >&5 |
7492 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7496 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7493 fi | 7497 fi |
7494 | 7498 |
7495 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7499 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7496 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7500 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7497 echo "configure:7498: checking for Dt/Dt.h" >&5 | 7501 echo "configure:7502: checking for Dt/Dt.h" >&5 |
7498 | 7502 |
7499 cat > conftest.$ac_ext <<EOF | 7503 cat > conftest.$ac_ext <<EOF |
7500 #line 7501 "configure" | 7504 #line 7505 "configure" |
7501 #include "confdefs.h" | 7505 #include "confdefs.h" |
7502 #include <Dt/Dt.h> | 7506 #include <Dt/Dt.h> |
7503 EOF | 7507 EOF |
7504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7505 { (eval echo configure:7506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7509 { (eval echo configure:7510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7507 if test -z "$ac_err"; then | 7511 if test -z "$ac_err"; then |
7508 rm -rf conftest* | 7512 rm -rf conftest* |
7509 eval "ac_cv_header_$ac_safe=yes" | 7513 eval "ac_cv_header_$ac_safe=yes" |
7510 else | 7514 else |
7523 with_cde=no | 7527 with_cde=no |
7524 fi | 7528 fi |
7525 } | 7529 } |
7526 test -z "$with_cde" && { | 7530 test -z "$with_cde" && { |
7527 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7531 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7528 echo "configure:7529: checking for DtDndDragStart in -lDtSvc" >&5 | 7532 echo "configure:7533: checking for DtDndDragStart in -lDtSvc" >&5 |
7529 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7533 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7530 | 7534 |
7531 xe_check_libs=" -lDtSvc " | 7535 xe_check_libs=" -lDtSvc " |
7532 cat > conftest.$ac_ext <<EOF | 7536 cat > conftest.$ac_ext <<EOF |
7533 #line 7534 "configure" | 7537 #line 7538 "configure" |
7534 #include "confdefs.h" | 7538 #include "confdefs.h" |
7535 /* Override any gcc2 internal prototype to avoid an error. */ | 7539 /* Override any gcc2 internal prototype to avoid an error. */ |
7536 /* We use char because int might match the return type of a gcc2 | 7540 /* We use char because int might match the return type of a gcc2 |
7537 builtin and then its argument prototype would still apply. */ | 7541 builtin and then its argument prototype would still apply. */ |
7538 char DtDndDragStart(); | 7542 char DtDndDragStart(); |
7539 | 7543 |
7540 int main() { | 7544 int main() { |
7541 DtDndDragStart() | 7545 DtDndDragStart() |
7542 ; return 0; } | 7546 ; return 0; } |
7543 EOF | 7547 EOF |
7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7548 if { (eval echo configure:7549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7545 rm -rf conftest* | 7549 rm -rf conftest* |
7546 eval "ac_cv_lib_$ac_lib_var=yes" | 7550 eval "ac_cv_lib_$ac_lib_var=yes" |
7547 else | 7551 else |
7548 echo "configure: failed program was:" >&5 | 7552 echo "configure: failed program was:" >&5 |
7549 cat conftest.$ac_ext >&5 | 7553 cat conftest.$ac_ext >&5 |
7620 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7624 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7621 fi | 7625 fi |
7622 | 7626 |
7623 if test "$with_dragndrop" != "no" ; then | 7627 if test "$with_dragndrop" != "no" ; then |
7624 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7628 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7625 echo "configure:7626: checking if drag and drop API is needed" >&5 | 7629 echo "configure:7630: checking if drag and drop API is needed" >&5 |
7626 if test -n "$dragndrop_proto" ; then | 7630 if test -n "$dragndrop_proto" ; then |
7627 with_dragndrop=yes | 7631 with_dragndrop=yes |
7628 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7632 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7629 { test "$extra_verbose" = "yes" && cat << \EOF | 7633 { test "$extra_verbose" = "yes" && cat << \EOF |
7630 Defining HAVE_DRAGNDROP | 7634 Defining HAVE_DRAGNDROP |
7640 echo "$ac_t""no" 1>&6 | 7644 echo "$ac_t""no" 1>&6 |
7641 fi | 7645 fi |
7642 fi | 7646 fi |
7643 | 7647 |
7644 echo "checking for LDAP" 1>&6 | 7648 echo "checking for LDAP" 1>&6 |
7645 echo "configure:7646: checking for LDAP" >&5 | 7649 echo "configure:7650: checking for LDAP" >&5 |
7646 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7650 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7647 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7651 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7648 echo "configure:7649: checking for ldap.h" >&5 | 7652 echo "configure:7653: checking for ldap.h" >&5 |
7649 | 7653 |
7650 cat > conftest.$ac_ext <<EOF | 7654 cat > conftest.$ac_ext <<EOF |
7651 #line 7652 "configure" | 7655 #line 7656 "configure" |
7652 #include "confdefs.h" | 7656 #include "confdefs.h" |
7653 #include <ldap.h> | 7657 #include <ldap.h> |
7654 EOF | 7658 EOF |
7655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7656 { (eval echo configure:7657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7660 { (eval echo configure:7661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7658 if test -z "$ac_err"; then | 7662 if test -z "$ac_err"; then |
7659 rm -rf conftest* | 7663 rm -rf conftest* |
7660 eval "ac_cv_header_$ac_safe=yes" | 7664 eval "ac_cv_header_$ac_safe=yes" |
7661 else | 7665 else |
7674 with_ldap=no | 7678 with_ldap=no |
7675 fi | 7679 fi |
7676 } | 7680 } |
7677 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7681 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7678 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7682 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7679 echo "configure:7680: checking for lber.h" >&5 | 7683 echo "configure:7684: checking for lber.h" >&5 |
7680 | 7684 |
7681 cat > conftest.$ac_ext <<EOF | 7685 cat > conftest.$ac_ext <<EOF |
7682 #line 7683 "configure" | 7686 #line 7687 "configure" |
7683 #include "confdefs.h" | 7687 #include "confdefs.h" |
7684 #include <lber.h> | 7688 #include <lber.h> |
7685 EOF | 7689 EOF |
7686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7687 { (eval echo configure:7688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7691 { (eval echo configure:7692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7689 if test -z "$ac_err"; then | 7693 if test -z "$ac_err"; then |
7690 rm -rf conftest* | 7694 rm -rf conftest* |
7691 eval "ac_cv_header_$ac_safe=yes" | 7695 eval "ac_cv_header_$ac_safe=yes" |
7692 else | 7696 else |
7706 fi | 7710 fi |
7707 } | 7711 } |
7708 if test "$with_ldap" != "no"; then | 7712 if test "$with_ldap" != "no"; then |
7709 | 7713 |
7710 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7714 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7711 echo "configure:7712: checking for ldap_search in -lldap" >&5 | 7715 echo "configure:7716: checking for ldap_search in -lldap" >&5 |
7712 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7716 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7713 | 7717 |
7714 xe_check_libs=" -lldap " | 7718 xe_check_libs=" -lldap " |
7715 cat > conftest.$ac_ext <<EOF | 7719 cat > conftest.$ac_ext <<EOF |
7716 #line 7717 "configure" | 7720 #line 7721 "configure" |
7717 #include "confdefs.h" | 7721 #include "confdefs.h" |
7718 /* Override any gcc2 internal prototype to avoid an error. */ | 7722 /* Override any gcc2 internal prototype to avoid an error. */ |
7719 /* We use char because int might match the return type of a gcc2 | 7723 /* We use char because int might match the return type of a gcc2 |
7720 builtin and then its argument prototype would still apply. */ | 7724 builtin and then its argument prototype would still apply. */ |
7721 char ldap_search(); | 7725 char ldap_search(); |
7722 | 7726 |
7723 int main() { | 7727 int main() { |
7724 ldap_search() | 7728 ldap_search() |
7725 ; return 0; } | 7729 ; return 0; } |
7726 EOF | 7730 EOF |
7727 if { (eval echo configure:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7728 rm -rf conftest* | 7732 rm -rf conftest* |
7729 eval "ac_cv_lib_$ac_lib_var=yes" | 7733 eval "ac_cv_lib_$ac_lib_var=yes" |
7730 else | 7734 else |
7731 echo "configure: failed program was:" >&5 | 7735 echo "configure: failed program was:" >&5 |
7732 cat conftest.$ac_ext >&5 | 7736 cat conftest.$ac_ext >&5 |
7747 | 7751 |
7748 test "$with_ldap_nolber" = "no" && { | 7752 test "$with_ldap_nolber" = "no" && { |
7749 xe_msg_checking="for ldap_open in -lldap" | 7753 xe_msg_checking="for ldap_open in -lldap" |
7750 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7754 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7751 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7755 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7752 echo "configure:7753: checking "$xe_msg_checking"" >&5 | 7756 echo "configure:7757: checking "$xe_msg_checking"" >&5 |
7753 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7757 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7754 | 7758 |
7755 xe_check_libs=" -lldap -llber" | 7759 xe_check_libs=" -lldap -llber" |
7756 cat > conftest.$ac_ext <<EOF | 7760 cat > conftest.$ac_ext <<EOF |
7757 #line 7758 "configure" | 7761 #line 7762 "configure" |
7758 #include "confdefs.h" | 7762 #include "confdefs.h" |
7759 /* Override any gcc2 internal prototype to avoid an error. */ | 7763 /* Override any gcc2 internal prototype to avoid an error. */ |
7760 /* We use char because int might match the return type of a gcc2 | 7764 /* We use char because int might match the return type of a gcc2 |
7761 builtin and then its argument prototype would still apply. */ | 7765 builtin and then its argument prototype would still apply. */ |
7762 char ldap_open(); | 7766 char ldap_open(); |
7763 | 7767 |
7764 int main() { | 7768 int main() { |
7765 ldap_open() | 7769 ldap_open() |
7766 ; return 0; } | 7770 ; return 0; } |
7767 EOF | 7771 EOF |
7768 if { (eval echo configure:7769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7769 rm -rf conftest* | 7773 rm -rf conftest* |
7770 eval "ac_cv_lib_$ac_lib_var=yes" | 7774 eval "ac_cv_lib_$ac_lib_var=yes" |
7771 else | 7775 else |
7772 echo "configure: failed program was:" >&5 | 7776 echo "configure: failed program was:" >&5 |
7773 cat conftest.$ac_ext >&5 | 7777 cat conftest.$ac_ext >&5 |
7788 } | 7792 } |
7789 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7793 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7790 xe_msg_checking="for ldap_open in -lldap" | 7794 xe_msg_checking="for ldap_open in -lldap" |
7791 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7795 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7792 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7796 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7793 echo "configure:7794: checking "$xe_msg_checking"" >&5 | 7797 echo "configure:7798: checking "$xe_msg_checking"" >&5 |
7794 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7798 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7795 | 7799 |
7796 xe_check_libs=" -lldap -llber -lkrb" | 7800 xe_check_libs=" -lldap -llber -lkrb" |
7797 cat > conftest.$ac_ext <<EOF | 7801 cat > conftest.$ac_ext <<EOF |
7798 #line 7799 "configure" | 7802 #line 7803 "configure" |
7799 #include "confdefs.h" | 7803 #include "confdefs.h" |
7800 /* Override any gcc2 internal prototype to avoid an error. */ | 7804 /* Override any gcc2 internal prototype to avoid an error. */ |
7801 /* We use char because int might match the return type of a gcc2 | 7805 /* We use char because int might match the return type of a gcc2 |
7802 builtin and then its argument prototype would still apply. */ | 7806 builtin and then its argument prototype would still apply. */ |
7803 char ldap_open(); | 7807 char ldap_open(); |
7804 | 7808 |
7805 int main() { | 7809 int main() { |
7806 ldap_open() | 7810 ldap_open() |
7807 ; return 0; } | 7811 ; return 0; } |
7808 EOF | 7812 EOF |
7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7810 rm -rf conftest* | 7814 rm -rf conftest* |
7811 eval "ac_cv_lib_$ac_lib_var=yes" | 7815 eval "ac_cv_lib_$ac_lib_var=yes" |
7812 else | 7816 else |
7813 echo "configure: failed program was:" >&5 | 7817 echo "configure: failed program was:" >&5 |
7814 cat conftest.$ac_ext >&5 | 7818 cat conftest.$ac_ext >&5 |
7829 } | 7833 } |
7830 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7834 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7831 xe_msg_checking="for ldap_open in -lldap" | 7835 xe_msg_checking="for ldap_open in -lldap" |
7832 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7836 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7833 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7837 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7834 echo "configure:7835: checking "$xe_msg_checking"" >&5 | 7838 echo "configure:7839: checking "$xe_msg_checking"" >&5 |
7835 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7839 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7836 | 7840 |
7837 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7841 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7838 cat > conftest.$ac_ext <<EOF | 7842 cat > conftest.$ac_ext <<EOF |
7839 #line 7840 "configure" | 7843 #line 7844 "configure" |
7840 #include "confdefs.h" | 7844 #include "confdefs.h" |
7841 /* Override any gcc2 internal prototype to avoid an error. */ | 7845 /* Override any gcc2 internal prototype to avoid an error. */ |
7842 /* We use char because int might match the return type of a gcc2 | 7846 /* We use char because int might match the return type of a gcc2 |
7843 builtin and then its argument prototype would still apply. */ | 7847 builtin and then its argument prototype would still apply. */ |
7844 char ldap_open(); | 7848 char ldap_open(); |
7845 | 7849 |
7846 int main() { | 7850 int main() { |
7847 ldap_open() | 7851 ldap_open() |
7848 ; return 0; } | 7852 ; return 0; } |
7849 EOF | 7853 EOF |
7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7854 if { (eval echo configure:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7851 rm -rf conftest* | 7855 rm -rf conftest* |
7852 eval "ac_cv_lib_$ac_lib_var=yes" | 7856 eval "ac_cv_lib_$ac_lib_var=yes" |
7853 else | 7857 else |
7854 echo "configure: failed program was:" >&5 | 7858 echo "configure: failed program was:" >&5 |
7855 cat conftest.$ac_ext >&5 | 7859 cat conftest.$ac_ext >&5 |
7893 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7897 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7894 fi | 7898 fi |
7895 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7899 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7896 do | 7900 do |
7897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7898 echo "configure:7899: checking for $ac_func" >&5 | 7902 echo "configure:7903: checking for $ac_func" >&5 |
7899 | 7903 |
7900 cat > conftest.$ac_ext <<EOF | 7904 cat > conftest.$ac_ext <<EOF |
7901 #line 7902 "configure" | 7905 #line 7906 "configure" |
7902 #include "confdefs.h" | 7906 #include "confdefs.h" |
7903 /* System header to define __stub macros and hopefully few prototypes, | 7907 /* System header to define __stub macros and hopefully few prototypes, |
7904 which can conflict with char $ac_func(); below. */ | 7908 which can conflict with char $ac_func(); below. */ |
7905 #include <assert.h> | 7909 #include <assert.h> |
7906 /* Override any gcc2 internal prototype to avoid an error. */ | 7910 /* Override any gcc2 internal prototype to avoid an error. */ |
7919 $ac_func(); | 7923 $ac_func(); |
7920 #endif | 7924 #endif |
7921 | 7925 |
7922 ; return 0; } | 7926 ; return 0; } |
7923 EOF | 7927 EOF |
7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7928 if { (eval echo configure:7929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7925 rm -rf conftest* | 7929 rm -rf conftest* |
7926 eval "ac_cv_func_$ac_func=yes" | 7930 eval "ac_cv_func_$ac_func=yes" |
7927 else | 7931 else |
7928 echo "configure: failed program was:" >&5 | 7932 echo "configure: failed program was:" >&5 |
7929 cat conftest.$ac_ext >&5 | 7933 cat conftest.$ac_ext >&5 |
7950 | 7954 |
7951 fi | 7955 fi |
7952 | 7956 |
7953 if test "$with_postgresql" != "no"; then | 7957 if test "$with_postgresql" != "no"; then |
7954 echo "checking for PostgreSQL" 1>&6 | 7958 echo "checking for PostgreSQL" 1>&6 |
7955 echo "configure:7956: checking for PostgreSQL" >&5 | 7959 echo "configure:7960: checking for PostgreSQL" >&5 |
7956 | 7960 |
7957 for header_dir in "" "pgsql/" "postgresql/"; do | 7961 for header_dir in "" "pgsql/" "postgresql/"; do |
7958 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7962 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7959 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7963 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7960 echo "configure:7961: checking for ${header_dir}libpq-fe.h" >&5 | 7964 echo "configure:7965: checking for ${header_dir}libpq-fe.h" >&5 |
7961 | 7965 |
7962 cat > conftest.$ac_ext <<EOF | 7966 cat > conftest.$ac_ext <<EOF |
7963 #line 7964 "configure" | 7967 #line 7968 "configure" |
7964 #include "confdefs.h" | 7968 #include "confdefs.h" |
7965 #include <${header_dir}libpq-fe.h> | 7969 #include <${header_dir}libpq-fe.h> |
7966 EOF | 7970 EOF |
7967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7968 { (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7972 { (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7970 if test -z "$ac_err"; then | 7974 if test -z "$ac_err"; then |
7971 rm -rf conftest* | 7975 rm -rf conftest* |
7972 eval "ac_cv_header_$ac_safe=yes" | 7976 eval "ac_cv_header_$ac_safe=yes" |
7973 else | 7977 else |
7987 | 7991 |
7988 done | 7992 done |
7989 | 7993 |
7990 test -n "$libpq_fe_h_file" && { | 7994 test -n "$libpq_fe_h_file" && { |
7991 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7995 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7992 echo "configure:7993: checking for PQconnectdb in -lpq" >&5 | 7996 echo "configure:7997: checking for PQconnectdb in -lpq" >&5 |
7993 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7997 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7994 | 7998 |
7995 xe_check_libs=" -lpq " | 7999 xe_check_libs=" -lpq " |
7996 cat > conftest.$ac_ext <<EOF | 8000 cat > conftest.$ac_ext <<EOF |
7997 #line 7998 "configure" | 8001 #line 8002 "configure" |
7998 #include "confdefs.h" | 8002 #include "confdefs.h" |
7999 /* Override any gcc2 internal prototype to avoid an error. */ | 8003 /* Override any gcc2 internal prototype to avoid an error. */ |
8000 /* We use char because int might match the return type of a gcc2 | 8004 /* We use char because int might match the return type of a gcc2 |
8001 builtin and then its argument prototype would still apply. */ | 8005 builtin and then its argument prototype would still apply. */ |
8002 char PQconnectdb(); | 8006 char PQconnectdb(); |
8003 | 8007 |
8004 int main() { | 8008 int main() { |
8005 PQconnectdb() | 8009 PQconnectdb() |
8006 ; return 0; } | 8010 ; return 0; } |
8007 EOF | 8011 EOF |
8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8009 rm -rf conftest* | 8013 rm -rf conftest* |
8010 eval "ac_cv_lib_$ac_lib_var=yes" | 8014 eval "ac_cv_lib_$ac_lib_var=yes" |
8011 else | 8015 else |
8012 echo "configure: failed program was:" >&5 | 8016 echo "configure: failed program was:" >&5 |
8013 cat conftest.$ac_ext >&5 | 8017 cat conftest.$ac_ext >&5 |
8036 EOF | 8040 EOF |
8037 } | 8041 } |
8038 | 8042 |
8039 | 8043 |
8040 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8044 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8041 echo "configure:8042: checking for PQconnectStart in -lpq" >&5 | 8045 echo "configure:8046: checking for PQconnectStart in -lpq" >&5 |
8042 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8046 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8043 | 8047 |
8044 xe_check_libs=" -lpq " | 8048 xe_check_libs=" -lpq " |
8045 cat > conftest.$ac_ext <<EOF | 8049 cat > conftest.$ac_ext <<EOF |
8046 #line 8047 "configure" | 8050 #line 8051 "configure" |
8047 #include "confdefs.h" | 8051 #include "confdefs.h" |
8048 /* Override any gcc2 internal prototype to avoid an error. */ | 8052 /* Override any gcc2 internal prototype to avoid an error. */ |
8049 /* We use char because int might match the return type of a gcc2 | 8053 /* We use char because int might match the return type of a gcc2 |
8050 builtin and then its argument prototype would still apply. */ | 8054 builtin and then its argument prototype would still apply. */ |
8051 char PQconnectStart(); | 8055 char PQconnectStart(); |
8052 | 8056 |
8053 int main() { | 8057 int main() { |
8054 PQconnectStart() | 8058 PQconnectStart() |
8055 ; return 0; } | 8059 ; return 0; } |
8056 EOF | 8060 EOF |
8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8058 rm -rf conftest* | 8062 rm -rf conftest* |
8059 eval "ac_cv_lib_$ac_lib_var=yes" | 8063 eval "ac_cv_lib_$ac_lib_var=yes" |
8060 else | 8064 else |
8061 echo "configure: failed program was:" >&5 | 8065 echo "configure: failed program was:" >&5 |
8062 cat conftest.$ac_ext >&5 | 8066 cat conftest.$ac_ext >&5 |
8097 fi | 8101 fi |
8098 | 8102 |
8099 | 8103 |
8100 if test "$window_system" != "none"; then | 8104 if test "$window_system" != "none"; then |
8101 echo "checking for graphics libraries" 1>&6 | 8105 echo "checking for graphics libraries" 1>&6 |
8102 echo "configure:8103: checking for graphics libraries" >&5 | 8106 echo "configure:8107: checking for graphics libraries" >&5 |
8103 | 8107 |
8104 libpath_xpm= | 8108 libpath_xpm= |
8105 incpath_xpm= | 8109 incpath_xpm= |
8106 case "$opsys" in | 8110 case "$opsys" in |
8107 cygwin*) | 8111 cygwin*) |
8123 xpm_problem="" | 8127 xpm_problem="" |
8124 if test -z "$with_xpm"; then | 8128 if test -z "$with_xpm"; then |
8125 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8129 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8126 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8130 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8127 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8131 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8128 echo "configure:8129: checking for Xpm - no older than 3.4f" >&5 | 8132 echo "configure:8133: checking for Xpm - no older than 3.4f" >&5 |
8129 xe_check_libs=-lXpm | 8133 xe_check_libs=-lXpm |
8130 cat > conftest.$ac_ext <<EOF | 8134 cat > conftest.$ac_ext <<EOF |
8131 #line 8132 "configure" | 8135 #line 8136 "configure" |
8132 #include "confdefs.h" | 8136 #include "confdefs.h" |
8133 #define XPM_NUMBERS | 8137 #define XPM_NUMBERS |
8134 #include <X11/xpm.h> | 8138 #include <X11/xpm.h> |
8135 int main(int c, char **v) { | 8139 int main(int c, char **v) { |
8136 return c == 1 ? 0 : | 8140 return c == 1 ? 0 : |
8137 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8141 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8138 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8142 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8139 EOF | 8143 EOF |
8140 if { (eval echo configure:8141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8144 if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8141 then | 8145 then |
8142 ./conftest dummy_arg; xpm_status=$?; | 8146 ./conftest dummy_arg; xpm_status=$?; |
8143 if test "$xpm_status" = "0"; then | 8147 if test "$xpm_status" = "0"; then |
8144 with_xpm=yes; | 8148 with_xpm=yes; |
8145 else | 8149 else |
8179 | 8183 |
8180 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8184 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8181 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8185 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8182 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8186 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8183 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8187 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8184 echo "configure:8185: checking for \"FOR_MSW\" xpm" >&5 | 8188 echo "configure:8189: checking for \"FOR_MSW\" xpm" >&5 |
8185 xe_check_libs=-lXpm | 8189 xe_check_libs=-lXpm |
8186 cat > conftest.$ac_ext <<EOF | 8190 cat > conftest.$ac_ext <<EOF |
8187 #line 8188 "configure" | 8191 #line 8192 "configure" |
8188 #include "confdefs.h" | 8192 #include "confdefs.h" |
8189 | 8193 |
8190 int main() { | 8194 int main() { |
8191 XpmCreatePixmapFromData() | 8195 XpmCreatePixmapFromData() |
8192 ; return 0; } | 8196 ; return 0; } |
8193 EOF | 8197 EOF |
8194 if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8198 if { (eval echo configure:8199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8195 rm -rf conftest* | 8199 rm -rf conftest* |
8196 xpm_for_msw=no | 8200 xpm_for_msw=no |
8197 else | 8201 else |
8198 echo "configure: failed program was:" >&5 | 8202 echo "configure: failed program was:" >&5 |
8199 cat conftest.$ac_ext >&5 | 8203 cat conftest.$ac_ext >&5 |
8215 fi | 8219 fi |
8216 fi | 8220 fi |
8217 | 8221 |
8218 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8222 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8219 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8223 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8220 echo "configure:8221: checking for compface.h" >&5 | 8224 echo "configure:8225: checking for compface.h" >&5 |
8221 | 8225 |
8222 cat > conftest.$ac_ext <<EOF | 8226 cat > conftest.$ac_ext <<EOF |
8223 #line 8224 "configure" | 8227 #line 8228 "configure" |
8224 #include "confdefs.h" | 8228 #include "confdefs.h" |
8225 #include <compface.h> | 8229 #include <compface.h> |
8226 EOF | 8230 EOF |
8227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8228 { (eval echo configure:8229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8232 { (eval echo configure:8233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8230 if test -z "$ac_err"; then | 8234 if test -z "$ac_err"; then |
8231 rm -rf conftest* | 8235 rm -rf conftest* |
8232 eval "ac_cv_header_$ac_safe=yes" | 8236 eval "ac_cv_header_$ac_safe=yes" |
8233 else | 8237 else |
8246 with_xface=no | 8250 with_xface=no |
8247 fi | 8251 fi |
8248 } | 8252 } |
8249 test -z "$with_xface" && { | 8253 test -z "$with_xface" && { |
8250 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8254 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8251 echo "configure:8252: checking for UnGenFace in -lcompface" >&5 | 8255 echo "configure:8256: checking for UnGenFace in -lcompface" >&5 |
8252 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8256 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8253 | 8257 |
8254 xe_check_libs=" -lcompface " | 8258 xe_check_libs=" -lcompface " |
8255 cat > conftest.$ac_ext <<EOF | 8259 cat > conftest.$ac_ext <<EOF |
8256 #line 8257 "configure" | 8260 #line 8261 "configure" |
8257 #include "confdefs.h" | 8261 #include "confdefs.h" |
8258 /* Override any gcc2 internal prototype to avoid an error. */ | 8262 /* Override any gcc2 internal prototype to avoid an error. */ |
8259 /* We use char because int might match the return type of a gcc2 | 8263 /* We use char because int might match the return type of a gcc2 |
8260 builtin and then its argument prototype would still apply. */ | 8264 builtin and then its argument prototype would still apply. */ |
8261 char UnGenFace(); | 8265 char UnGenFace(); |
8262 | 8266 |
8263 int main() { | 8267 int main() { |
8264 UnGenFace() | 8268 UnGenFace() |
8265 ; return 0; } | 8269 ; return 0; } |
8266 EOF | 8270 EOF |
8267 if { (eval echo configure:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8271 if { (eval echo configure:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8268 rm -rf conftest* | 8272 rm -rf conftest* |
8269 eval "ac_cv_lib_$ac_lib_var=yes" | 8273 eval "ac_cv_lib_$ac_lib_var=yes" |
8270 else | 8274 else |
8271 echo "configure: failed program was:" >&5 | 8275 echo "configure: failed program was:" >&5 |
8272 cat conftest.$ac_ext >&5 | 8276 cat conftest.$ac_ext >&5 |
8311 fi | 8315 fi |
8312 | 8316 |
8313 if test "$with_png $with_tiff" != "no no"; then | 8317 if test "$with_png $with_tiff" != "no no"; then |
8314 | 8318 |
8315 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8319 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8316 echo "configure:8317: checking for inflate in -lc" >&5 | 8320 echo "configure:8321: checking for inflate in -lc" >&5 |
8317 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8321 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8318 | 8322 |
8319 xe_check_libs=" -lc " | 8323 xe_check_libs=" -lc " |
8320 cat > conftest.$ac_ext <<EOF | 8324 cat > conftest.$ac_ext <<EOF |
8321 #line 8322 "configure" | 8325 #line 8326 "configure" |
8322 #include "confdefs.h" | 8326 #include "confdefs.h" |
8323 /* Override any gcc2 internal prototype to avoid an error. */ | 8327 /* Override any gcc2 internal prototype to avoid an error. */ |
8324 /* We use char because int might match the return type of a gcc2 | 8328 /* We use char because int might match the return type of a gcc2 |
8325 builtin and then its argument prototype would still apply. */ | 8329 builtin and then its argument prototype would still apply. */ |
8326 char inflate(); | 8330 char inflate(); |
8327 | 8331 |
8328 int main() { | 8332 int main() { |
8329 inflate() | 8333 inflate() |
8330 ; return 0; } | 8334 ; return 0; } |
8331 EOF | 8335 EOF |
8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8333 rm -rf conftest* | 8337 rm -rf conftest* |
8334 eval "ac_cv_lib_$ac_lib_var=yes" | 8338 eval "ac_cv_lib_$ac_lib_var=yes" |
8335 else | 8339 else |
8336 echo "configure: failed program was:" >&5 | 8340 echo "configure: failed program was:" >&5 |
8337 cat conftest.$ac_ext >&5 | 8341 cat conftest.$ac_ext >&5 |
8346 : | 8350 : |
8347 else | 8351 else |
8348 echo "$ac_t""no" 1>&6 | 8352 echo "$ac_t""no" 1>&6 |
8349 | 8353 |
8350 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8354 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8351 echo "configure:8352: checking for inflate in -lz" >&5 | 8355 echo "configure:8356: checking for inflate in -lz" >&5 |
8352 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8356 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8353 | 8357 |
8354 xe_check_libs=" -lz " | 8358 xe_check_libs=" -lz " |
8355 cat > conftest.$ac_ext <<EOF | 8359 cat > conftest.$ac_ext <<EOF |
8356 #line 8357 "configure" | 8360 #line 8361 "configure" |
8357 #include "confdefs.h" | 8361 #include "confdefs.h" |
8358 /* Override any gcc2 internal prototype to avoid an error. */ | 8362 /* Override any gcc2 internal prototype to avoid an error. */ |
8359 /* We use char because int might match the return type of a gcc2 | 8363 /* We use char because int might match the return type of a gcc2 |
8360 builtin and then its argument prototype would still apply. */ | 8364 builtin and then its argument prototype would still apply. */ |
8361 char inflate(); | 8365 char inflate(); |
8362 | 8366 |
8363 int main() { | 8367 int main() { |
8364 inflate() | 8368 inflate() |
8365 ; return 0; } | 8369 ; return 0; } |
8366 EOF | 8370 EOF |
8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8371 if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8368 rm -rf conftest* | 8372 rm -rf conftest* |
8369 eval "ac_cv_lib_$ac_lib_var=yes" | 8373 eval "ac_cv_lib_$ac_lib_var=yes" |
8370 else | 8374 else |
8371 echo "configure: failed program was:" >&5 | 8375 echo "configure: failed program was:" >&5 |
8372 cat conftest.$ac_ext >&5 | 8376 cat conftest.$ac_ext >&5 |
8381 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8385 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8382 else | 8386 else |
8383 echo "$ac_t""no" 1>&6 | 8387 echo "$ac_t""no" 1>&6 |
8384 | 8388 |
8385 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8389 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8386 echo "configure:8387: checking for inflate in -lgz" >&5 | 8390 echo "configure:8391: checking for inflate in -lgz" >&5 |
8387 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8391 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8388 | 8392 |
8389 xe_check_libs=" -lgz " | 8393 xe_check_libs=" -lgz " |
8390 cat > conftest.$ac_ext <<EOF | 8394 cat > conftest.$ac_ext <<EOF |
8391 #line 8392 "configure" | 8395 #line 8396 "configure" |
8392 #include "confdefs.h" | 8396 #include "confdefs.h" |
8393 /* Override any gcc2 internal prototype to avoid an error. */ | 8397 /* Override any gcc2 internal prototype to avoid an error. */ |
8394 /* We use char because int might match the return type of a gcc2 | 8398 /* We use char because int might match the return type of a gcc2 |
8395 builtin and then its argument prototype would still apply. */ | 8399 builtin and then its argument prototype would still apply. */ |
8396 char inflate(); | 8400 char inflate(); |
8397 | 8401 |
8398 int main() { | 8402 int main() { |
8399 inflate() | 8403 inflate() |
8400 ; return 0; } | 8404 ; return 0; } |
8401 EOF | 8405 EOF |
8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8406 if { (eval echo configure:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8403 rm -rf conftest* | 8407 rm -rf conftest* |
8404 eval "ac_cv_lib_$ac_lib_var=yes" | 8408 eval "ac_cv_lib_$ac_lib_var=yes" |
8405 else | 8409 else |
8406 echo "configure: failed program was:" >&5 | 8410 echo "configure: failed program was:" >&5 |
8407 cat conftest.$ac_ext >&5 | 8411 cat conftest.$ac_ext >&5 |
8427 | 8431 |
8428 fi | 8432 fi |
8429 | 8433 |
8430 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8434 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8431 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8435 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8432 echo "configure:8433: checking for jpeglib.h" >&5 | 8436 echo "configure:8437: checking for jpeglib.h" >&5 |
8433 | 8437 |
8434 cat > conftest.$ac_ext <<EOF | 8438 cat > conftest.$ac_ext <<EOF |
8435 #line 8436 "configure" | 8439 #line 8440 "configure" |
8436 #include "confdefs.h" | 8440 #include "confdefs.h" |
8437 #include <jpeglib.h> | 8441 #include <jpeglib.h> |
8438 EOF | 8442 EOF |
8439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8440 { (eval echo configure:8441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8444 { (eval echo configure:8445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8442 if test -z "$ac_err"; then | 8446 if test -z "$ac_err"; then |
8443 rm -rf conftest* | 8447 rm -rf conftest* |
8444 eval "ac_cv_header_$ac_safe=yes" | 8448 eval "ac_cv_header_$ac_safe=yes" |
8445 else | 8449 else |
8458 with_jpeg=no | 8462 with_jpeg=no |
8459 fi | 8463 fi |
8460 } | 8464 } |
8461 test -z "$with_jpeg" && { | 8465 test -z "$with_jpeg" && { |
8462 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8466 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8463 echo "configure:8464: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8467 echo "configure:8468: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8464 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8468 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8465 | 8469 |
8466 xe_check_libs=" -ljpeg " | 8470 xe_check_libs=" -ljpeg " |
8467 cat > conftest.$ac_ext <<EOF | 8471 cat > conftest.$ac_ext <<EOF |
8468 #line 8469 "configure" | 8472 #line 8473 "configure" |
8469 #include "confdefs.h" | 8473 #include "confdefs.h" |
8470 /* Override any gcc2 internal prototype to avoid an error. */ | 8474 /* Override any gcc2 internal prototype to avoid an error. */ |
8471 /* We use char because int might match the return type of a gcc2 | 8475 /* We use char because int might match the return type of a gcc2 |
8472 builtin and then its argument prototype would still apply. */ | 8476 builtin and then its argument prototype would still apply. */ |
8473 char jpeg_destroy_decompress(); | 8477 char jpeg_destroy_decompress(); |
8474 | 8478 |
8475 int main() { | 8479 int main() { |
8476 jpeg_destroy_decompress() | 8480 jpeg_destroy_decompress() |
8477 ; return 0; } | 8481 ; return 0; } |
8478 EOF | 8482 EOF |
8479 if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8483 if { (eval echo configure:8484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8480 rm -rf conftest* | 8484 rm -rf conftest* |
8481 eval "ac_cv_lib_$ac_lib_var=yes" | 8485 eval "ac_cv_lib_$ac_lib_var=yes" |
8482 else | 8486 else |
8483 echo "configure: failed program was:" >&5 | 8487 echo "configure: failed program was:" >&5 |
8484 cat conftest.$ac_ext >&5 | 8488 cat conftest.$ac_ext >&5 |
8510 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8514 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8511 fi | 8515 fi |
8512 | 8516 |
8513 png_problem="" | 8517 png_problem="" |
8514 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8518 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8515 echo "configure:8516: checking for pow" >&5 | 8519 echo "configure:8520: checking for pow" >&5 |
8516 | 8520 |
8517 cat > conftest.$ac_ext <<EOF | 8521 cat > conftest.$ac_ext <<EOF |
8518 #line 8519 "configure" | 8522 #line 8523 "configure" |
8519 #include "confdefs.h" | 8523 #include "confdefs.h" |
8520 /* System header to define __stub macros and hopefully few prototypes, | 8524 /* System header to define __stub macros and hopefully few prototypes, |
8521 which can conflict with char pow(); below. */ | 8525 which can conflict with char pow(); below. */ |
8522 #include <assert.h> | 8526 #include <assert.h> |
8523 /* Override any gcc2 internal prototype to avoid an error. */ | 8527 /* Override any gcc2 internal prototype to avoid an error. */ |
8536 pow(); | 8540 pow(); |
8537 #endif | 8541 #endif |
8538 | 8542 |
8539 ; return 0; } | 8543 ; return 0; } |
8540 EOF | 8544 EOF |
8541 if { (eval echo configure:8542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8542 rm -rf conftest* | 8546 rm -rf conftest* |
8543 eval "ac_cv_func_pow=yes" | 8547 eval "ac_cv_func_pow=yes" |
8544 else | 8548 else |
8545 echo "configure: failed program was:" >&5 | 8549 echo "configure: failed program was:" >&5 |
8546 cat conftest.$ac_ext >&5 | 8550 cat conftest.$ac_ext >&5 |
8557 with_png=no | 8561 with_png=no |
8558 fi | 8562 fi |
8559 } | 8563 } |
8560 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8564 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8561 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8565 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8562 echo "configure:8563: checking for png.h" >&5 | 8566 echo "configure:8567: checking for png.h" >&5 |
8563 | 8567 |
8564 cat > conftest.$ac_ext <<EOF | 8568 cat > conftest.$ac_ext <<EOF |
8565 #line 8566 "configure" | 8569 #line 8570 "configure" |
8566 #include "confdefs.h" | 8570 #include "confdefs.h" |
8567 #include <png.h> | 8571 #include <png.h> |
8568 EOF | 8572 EOF |
8569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8570 { (eval echo configure:8571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8574 { (eval echo configure:8575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8572 if test -z "$ac_err"; then | 8576 if test -z "$ac_err"; then |
8573 rm -rf conftest* | 8577 rm -rf conftest* |
8574 eval "ac_cv_header_$ac_safe=yes" | 8578 eval "ac_cv_header_$ac_safe=yes" |
8575 else | 8579 else |
8588 with_png=no | 8592 with_png=no |
8589 fi | 8593 fi |
8590 } | 8594 } |
8591 test -z "$with_png" && { | 8595 test -z "$with_png" && { |
8592 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8596 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8593 echo "configure:8594: checking for png_read_image in -lpng" >&5 | 8597 echo "configure:8598: checking for png_read_image in -lpng" >&5 |
8594 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8598 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8595 | 8599 |
8596 xe_check_libs=" -lpng " | 8600 xe_check_libs=" -lpng " |
8597 cat > conftest.$ac_ext <<EOF | 8601 cat > conftest.$ac_ext <<EOF |
8598 #line 8599 "configure" | 8602 #line 8603 "configure" |
8599 #include "confdefs.h" | 8603 #include "confdefs.h" |
8600 /* Override any gcc2 internal prototype to avoid an error. */ | 8604 /* Override any gcc2 internal prototype to avoid an error. */ |
8601 /* We use char because int might match the return type of a gcc2 | 8605 /* We use char because int might match the return type of a gcc2 |
8602 builtin and then its argument prototype would still apply. */ | 8606 builtin and then its argument prototype would still apply. */ |
8603 char png_read_image(); | 8607 char png_read_image(); |
8604 | 8608 |
8605 int main() { | 8609 int main() { |
8606 png_read_image() | 8610 png_read_image() |
8607 ; return 0; } | 8611 ; return 0; } |
8608 EOF | 8612 EOF |
8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8613 if { (eval echo configure:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8610 rm -rf conftest* | 8614 rm -rf conftest* |
8611 eval "ac_cv_lib_$ac_lib_var=yes" | 8615 eval "ac_cv_lib_$ac_lib_var=yes" |
8612 else | 8616 else |
8613 echo "configure: failed program was:" >&5 | 8617 echo "configure: failed program was:" >&5 |
8614 cat conftest.$ac_ext >&5 | 8618 cat conftest.$ac_ext >&5 |
8627 fi | 8631 fi |
8628 | 8632 |
8629 } | 8633 } |
8630 if test -z "$with_png"; then | 8634 if test -z "$with_png"; then |
8631 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8635 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8632 echo "configure:8633: checking for workable png version information" >&5 | 8636 echo "configure:8637: checking for workable png version information" >&5 |
8633 xe_check_libs="-lpng -lz" | 8637 xe_check_libs="-lpng -lz" |
8634 cat > conftest.$ac_ext <<EOF | 8638 cat > conftest.$ac_ext <<EOF |
8635 #line 8636 "configure" | 8639 #line 8640 "configure" |
8636 #include "confdefs.h" | 8640 #include "confdefs.h" |
8637 #include <png.h> | 8641 #include <png.h> |
8638 int main(int c, char **v) { | 8642 int main(int c, char **v) { |
8639 if (c == 1) return 0; | 8643 if (c == 1) return 0; |
8640 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8644 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8641 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8645 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8642 EOF | 8646 EOF |
8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8647 if { (eval echo configure:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8644 then | 8648 then |
8645 ./conftest dummy_arg; png_status=$?; | 8649 ./conftest dummy_arg; png_status=$?; |
8646 if test "$png_status" = "0"; then | 8650 if test "$png_status" = "0"; then |
8647 with_png=yes; | 8651 with_png=yes; |
8648 else | 8652 else |
8681 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8685 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8682 fi | 8686 fi |
8683 | 8687 |
8684 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8688 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8685 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8689 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8686 echo "configure:8687: checking for tiffio.h" >&5 | 8690 echo "configure:8691: checking for tiffio.h" >&5 |
8687 | 8691 |
8688 cat > conftest.$ac_ext <<EOF | 8692 cat > conftest.$ac_ext <<EOF |
8689 #line 8690 "configure" | 8693 #line 8694 "configure" |
8690 #include "confdefs.h" | 8694 #include "confdefs.h" |
8691 #include <tiffio.h> | 8695 #include <tiffio.h> |
8692 EOF | 8696 EOF |
8693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8694 { (eval echo configure:8695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8698 { (eval echo configure:8699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8696 if test -z "$ac_err"; then | 8700 if test -z "$ac_err"; then |
8697 rm -rf conftest* | 8701 rm -rf conftest* |
8698 eval "ac_cv_header_$ac_safe=yes" | 8702 eval "ac_cv_header_$ac_safe=yes" |
8699 else | 8703 else |
8712 with_tiff=no | 8716 with_tiff=no |
8713 fi | 8717 fi |
8714 } | 8718 } |
8715 test -z "$with_tiff" && { | 8719 test -z "$with_tiff" && { |
8716 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8720 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8717 echo "configure:8718: checking for TIFFClientOpen in -ltiff" >&5 | 8721 echo "configure:8722: checking for TIFFClientOpen in -ltiff" >&5 |
8718 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8722 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8719 | 8723 |
8720 xe_check_libs=" -ltiff " | 8724 xe_check_libs=" -ltiff " |
8721 cat > conftest.$ac_ext <<EOF | 8725 cat > conftest.$ac_ext <<EOF |
8722 #line 8723 "configure" | 8726 #line 8727 "configure" |
8723 #include "confdefs.h" | 8727 #include "confdefs.h" |
8724 /* Override any gcc2 internal prototype to avoid an error. */ | 8728 /* Override any gcc2 internal prototype to avoid an error. */ |
8725 /* We use char because int might match the return type of a gcc2 | 8729 /* We use char because int might match the return type of a gcc2 |
8726 builtin and then its argument prototype would still apply. */ | 8730 builtin and then its argument prototype would still apply. */ |
8727 char TIFFClientOpen(); | 8731 char TIFFClientOpen(); |
8728 | 8732 |
8729 int main() { | 8733 int main() { |
8730 TIFFClientOpen() | 8734 TIFFClientOpen() |
8731 ; return 0; } | 8735 ; return 0; } |
8732 EOF | 8736 EOF |
8733 if { (eval echo configure:8734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8734 rm -rf conftest* | 8738 rm -rf conftest* |
8735 eval "ac_cv_lib_$ac_lib_var=yes" | 8739 eval "ac_cv_lib_$ac_lib_var=yes" |
8736 else | 8740 else |
8737 echo "configure: failed program was:" >&5 | 8741 echo "configure: failed program was:" >&5 |
8738 cat conftest.$ac_ext >&5 | 8742 cat conftest.$ac_ext >&5 |
8767 | 8771 |
8768 | 8772 |
8769 if test "$with_gtk" = "yes"; then | 8773 if test "$with_gtk" = "yes"; then |
8770 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8774 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8771 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8775 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8772 echo "configure:8773: checking for compface.h" >&5 | 8776 echo "configure:8777: checking for compface.h" >&5 |
8773 | 8777 |
8774 cat > conftest.$ac_ext <<EOF | 8778 cat > conftest.$ac_ext <<EOF |
8775 #line 8776 "configure" | 8779 #line 8780 "configure" |
8776 #include "confdefs.h" | 8780 #include "confdefs.h" |
8777 #include <compface.h> | 8781 #include <compface.h> |
8778 EOF | 8782 EOF |
8779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8780 { (eval echo configure:8781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8784 { (eval echo configure:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8782 if test -z "$ac_err"; then | 8786 if test -z "$ac_err"; then |
8783 rm -rf conftest* | 8787 rm -rf conftest* |
8784 eval "ac_cv_header_$ac_safe=yes" | 8788 eval "ac_cv_header_$ac_safe=yes" |
8785 else | 8789 else |
8798 with_xface=no | 8802 with_xface=no |
8799 fi | 8803 fi |
8800 } | 8804 } |
8801 test -z "$with_xface" && { | 8805 test -z "$with_xface" && { |
8802 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8806 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8803 echo "configure:8804: checking for UnGenFace in -lcompface" >&5 | 8807 echo "configure:8808: checking for UnGenFace in -lcompface" >&5 |
8804 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8808 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8805 | 8809 |
8806 xe_check_libs=" -lcompface " | 8810 xe_check_libs=" -lcompface " |
8807 cat > conftest.$ac_ext <<EOF | 8811 cat > conftest.$ac_ext <<EOF |
8808 #line 8809 "configure" | 8812 #line 8813 "configure" |
8809 #include "confdefs.h" | 8813 #include "confdefs.h" |
8810 /* Override any gcc2 internal prototype to avoid an error. */ | 8814 /* Override any gcc2 internal prototype to avoid an error. */ |
8811 /* We use char because int might match the return type of a gcc2 | 8815 /* We use char because int might match the return type of a gcc2 |
8812 builtin and then its argument prototype would still apply. */ | 8816 builtin and then its argument prototype would still apply. */ |
8813 char UnGenFace(); | 8817 char UnGenFace(); |
8814 | 8818 |
8815 int main() { | 8819 int main() { |
8816 UnGenFace() | 8820 UnGenFace() |
8817 ; return 0; } | 8821 ; return 0; } |
8818 EOF | 8822 EOF |
8819 if { (eval echo configure:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8823 if { (eval echo configure:8824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8820 rm -rf conftest* | 8824 rm -rf conftest* |
8821 eval "ac_cv_lib_$ac_lib_var=yes" | 8825 eval "ac_cv_lib_$ac_lib_var=yes" |
8822 else | 8826 else |
8823 echo "configure: failed program was:" >&5 | 8827 echo "configure: failed program was:" >&5 |
8824 cat conftest.$ac_ext >&5 | 8828 cat conftest.$ac_ext >&5 |
8853 | 8857 |
8854 | 8858 |
8855 | 8859 |
8856 if test "$with_x11" = "yes"; then | 8860 if test "$with_x11" = "yes"; then |
8857 echo "checking for X11 graphics libraries" 1>&6 | 8861 echo "checking for X11 graphics libraries" 1>&6 |
8858 echo "configure:8859: checking for X11 graphics libraries" >&5 | 8862 echo "configure:8863: checking for X11 graphics libraries" >&5 |
8859 fi | 8863 fi |
8860 | 8864 |
8861 case "$with_widgets" in | 8865 case "$with_widgets" in |
8862 "yes" | "athena") detect_athena=yes ;; | 8866 "yes" | "athena") detect_athena=yes ;; |
8863 *) detect_athena=no ;; | 8867 *) detect_athena=no ;; |
8864 esac | 8868 esac |
8865 | 8869 |
8866 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8870 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8867 echo "checking for the Athena widgets" 1>&6 | 8871 echo "checking for the Athena widgets" 1>&6 |
8868 echo "configure:8869: checking for the Athena widgets" >&5 | 8872 echo "configure:8873: checking for the Athena widgets" >&5 |
8869 | 8873 |
8870 case "$with_athena" in | 8874 case "$with_athena" in |
8871 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8875 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8872 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8876 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8873 "next") athena_variant=neXtaw athena_3d=yes ;; | 8877 "next") athena_variant=neXtaw athena_3d=yes ;; |
8877 esac | 8881 esac |
8878 | 8882 |
8879 if test "$athena_3d" = "no"; then | 8883 if test "$athena_3d" = "no"; then |
8880 | 8884 |
8881 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8885 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8882 echo "configure:8883: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8886 echo "configure:8887: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8883 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8887 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8884 | 8888 |
8885 xe_check_libs=" -l$athena_variant " | 8889 xe_check_libs=" -l$athena_variant " |
8886 cat > conftest.$ac_ext <<EOF | 8890 cat > conftest.$ac_ext <<EOF |
8887 #line 8888 "configure" | 8891 #line 8892 "configure" |
8888 #include "confdefs.h" | 8892 #include "confdefs.h" |
8889 /* Override any gcc2 internal prototype to avoid an error. */ | 8893 /* Override any gcc2 internal prototype to avoid an error. */ |
8890 /* We use char because int might match the return type of a gcc2 | 8894 /* We use char because int might match the return type of a gcc2 |
8891 builtin and then its argument prototype would still apply. */ | 8895 builtin and then its argument prototype would still apply. */ |
8892 char XawScrollbarSetThumb(); | 8896 char XawScrollbarSetThumb(); |
8893 | 8897 |
8894 int main() { | 8898 int main() { |
8895 XawScrollbarSetThumb() | 8899 XawScrollbarSetThumb() |
8896 ; return 0; } | 8900 ; return 0; } |
8897 EOF | 8901 EOF |
8898 if { (eval echo configure:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8902 if { (eval echo configure:8903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8899 rm -rf conftest* | 8903 rm -rf conftest* |
8900 eval "ac_cv_lib_$ac_lib_var=yes" | 8904 eval "ac_cv_lib_$ac_lib_var=yes" |
8901 else | 8905 else |
8902 echo "configure: failed program was:" >&5 | 8906 echo "configure: failed program was:" >&5 |
8903 cat conftest.$ac_ext >&5 | 8907 cat conftest.$ac_ext >&5 |
8909 | 8913 |
8910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8911 echo "$ac_t""yes" 1>&6 | 8915 echo "$ac_t""yes" 1>&6 |
8912 | 8916 |
8913 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8917 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8914 echo "configure:8915: checking for threeDClassRec in -l$athena_variant" >&5 | 8918 echo "configure:8919: checking for threeDClassRec in -l$athena_variant" >&5 |
8915 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8919 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8916 | 8920 |
8917 xe_check_libs=" -l$athena_variant " | 8921 xe_check_libs=" -l$athena_variant " |
8918 cat > conftest.$ac_ext <<EOF | 8922 cat > conftest.$ac_ext <<EOF |
8919 #line 8920 "configure" | 8923 #line 8924 "configure" |
8920 #include "confdefs.h" | 8924 #include "confdefs.h" |
8921 /* Override any gcc2 internal prototype to avoid an error. */ | 8925 /* Override any gcc2 internal prototype to avoid an error. */ |
8922 /* We use char because int might match the return type of a gcc2 | 8926 /* We use char because int might match the return type of a gcc2 |
8923 builtin and then its argument prototype would still apply. */ | 8927 builtin and then its argument prototype would still apply. */ |
8924 char threeDClassRec(); | 8928 char threeDClassRec(); |
8925 | 8929 |
8926 int main() { | 8930 int main() { |
8927 threeDClassRec() | 8931 threeDClassRec() |
8928 ; return 0; } | 8932 ; return 0; } |
8929 EOF | 8933 EOF |
8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8931 rm -rf conftest* | 8935 rm -rf conftest* |
8932 eval "ac_cv_lib_$ac_lib_var=yes" | 8936 eval "ac_cv_lib_$ac_lib_var=yes" |
8933 else | 8937 else |
8934 echo "configure: failed program was:" >&5 | 8938 echo "configure: failed program was:" >&5 |
8935 cat conftest.$ac_ext >&5 | 8939 cat conftest.$ac_ext >&5 |
8956 | 8960 |
8957 | 8961 |
8958 else | 8962 else |
8959 | 8963 |
8960 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8964 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8961 echo "configure:8962: checking for threeDClassRec in -l$athena_variant" >&5 | 8965 echo "configure:8966: checking for threeDClassRec in -l$athena_variant" >&5 |
8962 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8966 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8963 | 8967 |
8964 xe_check_libs=" -l$athena_variant " | 8968 xe_check_libs=" -l$athena_variant " |
8965 cat > conftest.$ac_ext <<EOF | 8969 cat > conftest.$ac_ext <<EOF |
8966 #line 8967 "configure" | 8970 #line 8971 "configure" |
8967 #include "confdefs.h" | 8971 #include "confdefs.h" |
8968 /* Override any gcc2 internal prototype to avoid an error. */ | 8972 /* Override any gcc2 internal prototype to avoid an error. */ |
8969 /* We use char because int might match the return type of a gcc2 | 8973 /* We use char because int might match the return type of a gcc2 |
8970 builtin and then its argument prototype would still apply. */ | 8974 builtin and then its argument prototype would still apply. */ |
8971 char threeDClassRec(); | 8975 char threeDClassRec(); |
8972 | 8976 |
8973 int main() { | 8977 int main() { |
8974 threeDClassRec() | 8978 threeDClassRec() |
8975 ; return 0; } | 8979 ; return 0; } |
8976 EOF | 8980 EOF |
8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8981 if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8978 rm -rf conftest* | 8982 rm -rf conftest* |
8979 eval "ac_cv_lib_$ac_lib_var=yes" | 8983 eval "ac_cv_lib_$ac_lib_var=yes" |
8980 else | 8984 else |
8981 echo "configure: failed program was:" >&5 | 8985 echo "configure: failed program was:" >&5 |
8982 cat conftest.$ac_ext >&5 | 8986 cat conftest.$ac_ext >&5 |
8990 echo "$ac_t""yes" 1>&6 | 8994 echo "$ac_t""yes" 1>&6 |
8991 athena_lib=$athena_variant | 8995 athena_lib=$athena_variant |
8992 else | 8996 else |
8993 echo "$ac_t""no" 1>&6 | 8997 echo "$ac_t""no" 1>&6 |
8994 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8998 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8995 echo "configure:8996: checking for threeDClassRec in -lXaw" >&5 | 8999 echo "configure:9000: checking for threeDClassRec in -lXaw" >&5 |
8996 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9000 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8997 | 9001 |
8998 xe_check_libs=" -lXaw " | 9002 xe_check_libs=" -lXaw " |
8999 cat > conftest.$ac_ext <<EOF | 9003 cat > conftest.$ac_ext <<EOF |
9000 #line 9001 "configure" | 9004 #line 9005 "configure" |
9001 #include "confdefs.h" | 9005 #include "confdefs.h" |
9002 /* Override any gcc2 internal prototype to avoid an error. */ | 9006 /* Override any gcc2 internal prototype to avoid an error. */ |
9003 /* We use char because int might match the return type of a gcc2 | 9007 /* We use char because int might match the return type of a gcc2 |
9004 builtin and then its argument prototype would still apply. */ | 9008 builtin and then its argument prototype would still apply. */ |
9005 char threeDClassRec(); | 9009 char threeDClassRec(); |
9006 | 9010 |
9007 int main() { | 9011 int main() { |
9008 threeDClassRec() | 9012 threeDClassRec() |
9009 ; return 0; } | 9013 ; return 0; } |
9010 EOF | 9014 EOF |
9011 if { (eval echo configure:9012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9015 if { (eval echo configure:9016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9012 rm -rf conftest* | 9016 rm -rf conftest* |
9013 eval "ac_cv_lib_$ac_lib_var=yes" | 9017 eval "ac_cv_lib_$ac_lib_var=yes" |
9014 else | 9018 else |
9015 echo "configure: failed program was:" >&5 | 9019 echo "configure: failed program was:" >&5 |
9016 cat conftest.$ac_ext >&5 | 9020 cat conftest.$ac_ext >&5 |
9037 fi | 9041 fi |
9038 | 9042 |
9039 if test "$athena_3d" = "no"; then | 9043 if test "$athena_3d" = "no"; then |
9040 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9044 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9041 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9045 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9042 echo "configure:9043: checking for X11/Xaw/ThreeD.h" >&5 | 9046 echo "configure:9047: checking for X11/Xaw/ThreeD.h" >&5 |
9043 | 9047 |
9044 cat > conftest.$ac_ext <<EOF | 9048 cat > conftest.$ac_ext <<EOF |
9045 #line 9046 "configure" | 9049 #line 9050 "configure" |
9046 #include "confdefs.h" | 9050 #include "confdefs.h" |
9047 #include <X11/Xaw/ThreeD.h> | 9051 #include <X11/Xaw/ThreeD.h> |
9048 EOF | 9052 EOF |
9049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9050 { (eval echo configure:9051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9054 { (eval echo configure:9055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9052 if test -z "$ac_err"; then | 9056 if test -z "$ac_err"; then |
9053 rm -rf conftest* | 9057 rm -rf conftest* |
9054 eval "ac_cv_header_$ac_safe=yes" | 9058 eval "ac_cv_header_$ac_safe=yes" |
9055 else | 9059 else |
9065 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9069 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9066 else | 9070 else |
9067 echo "$ac_t""no" 1>&6 | 9071 echo "$ac_t""no" 1>&6 |
9068 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9072 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9069 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9073 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9070 echo "configure:9071: checking for X11/Xaw/XawInit.h" >&5 | 9074 echo "configure:9075: checking for X11/Xaw/XawInit.h" >&5 |
9071 | 9075 |
9072 cat > conftest.$ac_ext <<EOF | 9076 cat > conftest.$ac_ext <<EOF |
9073 #line 9074 "configure" | 9077 #line 9078 "configure" |
9074 #include "confdefs.h" | 9078 #include "confdefs.h" |
9075 #include <X11/Xaw/XawInit.h> | 9079 #include <X11/Xaw/XawInit.h> |
9076 EOF | 9080 EOF |
9077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9078 { (eval echo configure:9079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9082 { (eval echo configure:9083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9080 if test -z "$ac_err"; then | 9084 if test -z "$ac_err"; then |
9081 rm -rf conftest* | 9085 rm -rf conftest* |
9082 eval "ac_cv_header_$ac_safe=yes" | 9086 eval "ac_cv_header_$ac_safe=yes" |
9083 else | 9087 else |
9099 fi | 9103 fi |
9100 | 9104 |
9101 else | 9105 else |
9102 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9106 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9103 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9107 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9104 echo "configure:9105: checking for X11/$athena_variant/XawInit.h" >&5 | 9108 echo "configure:9109: checking for X11/$athena_variant/XawInit.h" >&5 |
9105 | 9109 |
9106 cat > conftest.$ac_ext <<EOF | 9110 cat > conftest.$ac_ext <<EOF |
9107 #line 9108 "configure" | 9111 #line 9112 "configure" |
9108 #include "confdefs.h" | 9112 #include "confdefs.h" |
9109 #include <X11/$athena_variant/XawInit.h> | 9113 #include <X11/$athena_variant/XawInit.h> |
9110 EOF | 9114 EOF |
9111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9112 { (eval echo configure:9113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9116 { (eval echo configure:9117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9114 if test -z "$ac_err"; then | 9118 if test -z "$ac_err"; then |
9115 rm -rf conftest* | 9119 rm -rf conftest* |
9116 eval "ac_cv_header_$ac_safe=yes" | 9120 eval "ac_cv_header_$ac_safe=yes" |
9117 else | 9121 else |
9124 rm -f conftest* | 9128 rm -f conftest* |
9125 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9126 echo "$ac_t""yes" 1>&6 | 9130 echo "$ac_t""yes" 1>&6 |
9127 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9131 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9128 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9132 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9129 echo "configure:9130: checking for X11/$athena_variant/ThreeD.h" >&5 | 9133 echo "configure:9134: checking for X11/$athena_variant/ThreeD.h" >&5 |
9130 | 9134 |
9131 cat > conftest.$ac_ext <<EOF | 9135 cat > conftest.$ac_ext <<EOF |
9132 #line 9133 "configure" | 9136 #line 9137 "configure" |
9133 #include "confdefs.h" | 9137 #include "confdefs.h" |
9134 #include <X11/$athena_variant/ThreeD.h> | 9138 #include <X11/$athena_variant/ThreeD.h> |
9135 EOF | 9139 EOF |
9136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9137 { (eval echo configure:9138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9141 { (eval echo configure:9142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9139 if test -z "$ac_err"; then | 9143 if test -z "$ac_err"; then |
9140 rm -rf conftest* | 9144 rm -rf conftest* |
9141 eval "ac_cv_header_$ac_safe=yes" | 9145 eval "ac_cv_header_$ac_safe=yes" |
9142 else | 9146 else |
9160 | 9164 |
9161 | 9165 |
9162 if test -z "$athena_h_path"; then | 9166 if test -z "$athena_h_path"; then |
9163 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9167 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9164 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9168 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9165 echo "configure:9166: checking for $athena_variant/XawInit.h" >&5 | 9169 echo "configure:9170: checking for $athena_variant/XawInit.h" >&5 |
9166 | 9170 |
9167 cat > conftest.$ac_ext <<EOF | 9171 cat > conftest.$ac_ext <<EOF |
9168 #line 9169 "configure" | 9172 #line 9173 "configure" |
9169 #include "confdefs.h" | 9173 #include "confdefs.h" |
9170 #include <$athena_variant/XawInit.h> | 9174 #include <$athena_variant/XawInit.h> |
9171 EOF | 9175 EOF |
9172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9176 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9173 { (eval echo configure:9174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9177 { (eval echo configure:9178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9178 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9175 if test -z "$ac_err"; then | 9179 if test -z "$ac_err"; then |
9176 rm -rf conftest* | 9180 rm -rf conftest* |
9177 eval "ac_cv_header_$ac_safe=yes" | 9181 eval "ac_cv_header_$ac_safe=yes" |
9178 else | 9182 else |
9185 rm -f conftest* | 9189 rm -f conftest* |
9186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9187 echo "$ac_t""yes" 1>&6 | 9191 echo "$ac_t""yes" 1>&6 |
9188 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9192 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9189 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9193 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9190 echo "configure:9191: checking for $athena_variant/ThreeD.h" >&5 | 9194 echo "configure:9195: checking for $athena_variant/ThreeD.h" >&5 |
9191 | 9195 |
9192 cat > conftest.$ac_ext <<EOF | 9196 cat > conftest.$ac_ext <<EOF |
9193 #line 9194 "configure" | 9197 #line 9198 "configure" |
9194 #include "confdefs.h" | 9198 #include "confdefs.h" |
9195 #include <$athena_variant/ThreeD.h> | 9199 #include <$athena_variant/ThreeD.h> |
9196 EOF | 9200 EOF |
9197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9198 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9202 { (eval echo configure:9203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9200 if test -z "$ac_err"; then | 9204 if test -z "$ac_err"; then |
9201 rm -rf conftest* | 9205 rm -rf conftest* |
9202 eval "ac_cv_header_$ac_safe=yes" | 9206 eval "ac_cv_header_$ac_safe=yes" |
9203 else | 9207 else |
9222 fi | 9226 fi |
9223 | 9227 |
9224 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9228 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9225 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9229 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9226 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9230 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9227 echo "configure:9228: checking for X11/Xaw3d/XawInit.h" >&5 | 9231 echo "configure:9232: checking for X11/Xaw3d/XawInit.h" >&5 |
9228 | 9232 |
9229 cat > conftest.$ac_ext <<EOF | 9233 cat > conftest.$ac_ext <<EOF |
9230 #line 9231 "configure" | 9234 #line 9235 "configure" |
9231 #include "confdefs.h" | 9235 #include "confdefs.h" |
9232 #include <X11/Xaw3d/XawInit.h> | 9236 #include <X11/Xaw3d/XawInit.h> |
9233 EOF | 9237 EOF |
9234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9235 { (eval echo configure:9236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9239 { (eval echo configure:9240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9237 if test -z "$ac_err"; then | 9241 if test -z "$ac_err"; then |
9238 rm -rf conftest* | 9242 rm -rf conftest* |
9239 eval "ac_cv_header_$ac_safe=yes" | 9243 eval "ac_cv_header_$ac_safe=yes" |
9240 else | 9244 else |
9247 rm -f conftest* | 9251 rm -f conftest* |
9248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9249 echo "$ac_t""yes" 1>&6 | 9253 echo "$ac_t""yes" 1>&6 |
9250 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9254 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9251 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9255 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9252 echo "configure:9253: checking for X11/Xaw3d/ThreeD.h" >&5 | 9256 echo "configure:9257: checking for X11/Xaw3d/ThreeD.h" >&5 |
9253 | 9257 |
9254 cat > conftest.$ac_ext <<EOF | 9258 cat > conftest.$ac_ext <<EOF |
9255 #line 9256 "configure" | 9259 #line 9260 "configure" |
9256 #include "confdefs.h" | 9260 #include "confdefs.h" |
9257 #include <X11/Xaw3d/ThreeD.h> | 9261 #include <X11/Xaw3d/ThreeD.h> |
9258 EOF | 9262 EOF |
9259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9260 { (eval echo configure:9261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9264 { (eval echo configure:9265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9262 if test -z "$ac_err"; then | 9266 if test -z "$ac_err"; then |
9263 rm -rf conftest* | 9267 rm -rf conftest* |
9264 eval "ac_cv_header_$ac_safe=yes" | 9268 eval "ac_cv_header_$ac_safe=yes" |
9265 else | 9269 else |
9287 fi | 9291 fi |
9288 | 9292 |
9289 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9293 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9290 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9294 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9291 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9295 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9292 echo "configure:9293: checking for Xaw3d/XawInit.h" >&5 | 9296 echo "configure:9297: checking for Xaw3d/XawInit.h" >&5 |
9293 | 9297 |
9294 cat > conftest.$ac_ext <<EOF | 9298 cat > conftest.$ac_ext <<EOF |
9295 #line 9296 "configure" | 9299 #line 9300 "configure" |
9296 #include "confdefs.h" | 9300 #include "confdefs.h" |
9297 #include <Xaw3d/XawInit.h> | 9301 #include <Xaw3d/XawInit.h> |
9298 EOF | 9302 EOF |
9299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9300 { (eval echo configure:9301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9304 { (eval echo configure:9305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9302 if test -z "$ac_err"; then | 9306 if test -z "$ac_err"; then |
9303 rm -rf conftest* | 9307 rm -rf conftest* |
9304 eval "ac_cv_header_$ac_safe=yes" | 9308 eval "ac_cv_header_$ac_safe=yes" |
9305 else | 9309 else |
9312 rm -f conftest* | 9316 rm -f conftest* |
9313 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9314 echo "$ac_t""yes" 1>&6 | 9318 echo "$ac_t""yes" 1>&6 |
9315 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9319 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9316 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9317 echo "configure:9318: checking for Xaw3d/ThreeD.h" >&5 | 9321 echo "configure:9322: checking for Xaw3d/ThreeD.h" >&5 |
9318 | 9322 |
9319 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
9320 #line 9321 "configure" | 9324 #line 9325 "configure" |
9321 #include "confdefs.h" | 9325 #include "confdefs.h" |
9322 #include <Xaw3d/ThreeD.h> | 9326 #include <Xaw3d/ThreeD.h> |
9323 EOF | 9327 EOF |
9324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9325 { (eval echo configure:9326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9329 { (eval echo configure:9330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9327 if test -z "$ac_err"; then | 9331 if test -z "$ac_err"; then |
9328 rm -rf conftest* | 9332 rm -rf conftest* |
9329 eval "ac_cv_header_$ac_safe=yes" | 9333 eval "ac_cv_header_$ac_safe=yes" |
9330 else | 9334 else |
9352 fi | 9356 fi |
9353 | 9357 |
9354 if test -z "$athena_h_path"; then | 9358 if test -z "$athena_h_path"; then |
9355 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9359 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9356 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9360 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9357 echo "configure:9358: checking for X11/Xaw/ThreeD.h" >&5 | 9361 echo "configure:9362: checking for X11/Xaw/ThreeD.h" >&5 |
9358 | 9362 |
9359 cat > conftest.$ac_ext <<EOF | 9363 cat > conftest.$ac_ext <<EOF |
9360 #line 9361 "configure" | 9364 #line 9365 "configure" |
9361 #include "confdefs.h" | 9365 #include "confdefs.h" |
9362 #include <X11/Xaw/ThreeD.h> | 9366 #include <X11/Xaw/ThreeD.h> |
9363 EOF | 9367 EOF |
9364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9365 { (eval echo configure:9366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9369 { (eval echo configure:9370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9367 if test -z "$ac_err"; then | 9371 if test -z "$ac_err"; then |
9368 rm -rf conftest* | 9372 rm -rf conftest* |
9369 eval "ac_cv_header_$ac_safe=yes" | 9373 eval "ac_cv_header_$ac_safe=yes" |
9370 else | 9374 else |
9399 have_xaw=no | 9403 have_xaw=no |
9400 fi | 9404 fi |
9401 if test "$with_x11" = "yes"; then | 9405 if test "$with_x11" = "yes"; then |
9402 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9406 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9403 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9407 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9404 echo "configure:9405: checking for Xm/Xm.h" >&5 | 9408 echo "configure:9409: checking for Xm/Xm.h" >&5 |
9405 | 9409 |
9406 cat > conftest.$ac_ext <<EOF | 9410 cat > conftest.$ac_ext <<EOF |
9407 #line 9408 "configure" | 9411 #line 9412 "configure" |
9408 #include "confdefs.h" | 9412 #include "confdefs.h" |
9409 #include <Xm/Xm.h> | 9413 #include <Xm/Xm.h> |
9410 EOF | 9414 EOF |
9411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9412 { (eval echo configure:9413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9416 { (eval echo configure:9417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9414 if test -z "$ac_err"; then | 9418 if test -z "$ac_err"; then |
9415 rm -rf conftest* | 9419 rm -rf conftest* |
9416 eval "ac_cv_header_$ac_safe=yes" | 9420 eval "ac_cv_header_$ac_safe=yes" |
9417 else | 9421 else |
9424 rm -f conftest* | 9428 rm -f conftest* |
9425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9426 echo "$ac_t""yes" 1>&6 | 9430 echo "$ac_t""yes" 1>&6 |
9427 | 9431 |
9428 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9432 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9429 echo "configure:9430: checking for XmStringFree in -lXm" >&5 | 9433 echo "configure:9434: checking for XmStringFree in -lXm" >&5 |
9430 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9434 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9431 | 9435 |
9432 xe_check_libs=" -lXm " | 9436 xe_check_libs=" -lXm " |
9433 cat > conftest.$ac_ext <<EOF | 9437 cat > conftest.$ac_ext <<EOF |
9434 #line 9435 "configure" | 9438 #line 9439 "configure" |
9435 #include "confdefs.h" | 9439 #include "confdefs.h" |
9436 /* Override any gcc2 internal prototype to avoid an error. */ | 9440 /* Override any gcc2 internal prototype to avoid an error. */ |
9437 /* We use char because int might match the return type of a gcc2 | 9441 /* We use char because int might match the return type of a gcc2 |
9438 builtin and then its argument prototype would still apply. */ | 9442 builtin and then its argument prototype would still apply. */ |
9439 char XmStringFree(); | 9443 char XmStringFree(); |
9440 | 9444 |
9441 int main() { | 9445 int main() { |
9442 XmStringFree() | 9446 XmStringFree() |
9443 ; return 0; } | 9447 ; return 0; } |
9444 EOF | 9448 EOF |
9445 if { (eval echo configure:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9446 rm -rf conftest* | 9450 rm -rf conftest* |
9447 eval "ac_cv_lib_$ac_lib_var=yes" | 9451 eval "ac_cv_lib_$ac_lib_var=yes" |
9448 else | 9452 else |
9449 echo "configure: failed program was:" >&5 | 9453 echo "configure: failed program was:" >&5 |
9450 cat conftest.$ac_ext >&5 | 9454 cat conftest.$ac_ext >&5 |
9469 fi | 9473 fi |
9470 | 9474 |
9471 | 9475 |
9472 if test "$have_motif" = "yes"; then | 9476 if test "$have_motif" = "yes"; then |
9473 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9477 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9474 echo "configure:9475: checking for Lesstif" >&5 | 9478 echo "configure:9479: checking for Lesstif" >&5 |
9475 cat > conftest.$ac_ext <<EOF | 9479 cat > conftest.$ac_ext <<EOF |
9476 #line 9477 "configure" | 9480 #line 9481 "configure" |
9477 #include "confdefs.h" | 9481 #include "confdefs.h" |
9478 #include <Xm/Xm.h> | 9482 #include <Xm/Xm.h> |
9479 #ifdef LESSTIF_VERSION | 9483 #ifdef LESSTIF_VERSION |
9480 yes | 9484 yes |
9481 #endif | 9485 #endif |
9844 | 9848 |
9845 fi | 9849 fi |
9846 | 9850 |
9847 if test "$with_mule" = "yes" ; then | 9851 if test "$with_mule" = "yes" ; then |
9848 echo "checking for Mule-related features" 1>&6 | 9852 echo "checking for Mule-related features" 1>&6 |
9849 echo "configure:9850: checking for Mule-related features" >&5 | 9853 echo "configure:9854: checking for Mule-related features" >&5 |
9850 { test "$extra_verbose" = "yes" && cat << \EOF | 9854 { test "$extra_verbose" = "yes" && cat << \EOF |
9851 Defining MULE | 9855 Defining MULE |
9852 EOF | 9856 EOF |
9853 cat >> confdefs.h <<\EOF | 9857 cat >> confdefs.h <<\EOF |
9854 #define MULE 1 | 9858 #define MULE 1 |
9858 | 9862 |
9859 for ac_hdr in libintl.h | 9863 for ac_hdr in libintl.h |
9860 do | 9864 do |
9861 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9865 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9862 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9863 echo "configure:9864: checking for $ac_hdr" >&5 | 9867 echo "configure:9868: checking for $ac_hdr" >&5 |
9864 | 9868 |
9865 cat > conftest.$ac_ext <<EOF | 9869 cat > conftest.$ac_ext <<EOF |
9866 #line 9867 "configure" | 9870 #line 9871 "configure" |
9867 #include "confdefs.h" | 9871 #include "confdefs.h" |
9868 #include <$ac_hdr> | 9872 #include <$ac_hdr> |
9869 EOF | 9873 EOF |
9870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9871 { (eval echo configure:9872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9875 { (eval echo configure:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9873 if test -z "$ac_err"; then | 9877 if test -z "$ac_err"; then |
9874 rm -rf conftest* | 9878 rm -rf conftest* |
9875 eval "ac_cv_header_$ac_safe=yes" | 9879 eval "ac_cv_header_$ac_safe=yes" |
9876 else | 9880 else |
9897 fi | 9901 fi |
9898 done | 9902 done |
9899 | 9903 |
9900 | 9904 |
9901 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9905 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9902 echo "configure:9903: checking for strerror in -lintl" >&5 | 9906 echo "configure:9907: checking for strerror in -lintl" >&5 |
9903 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9907 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9904 | 9908 |
9905 xe_check_libs=" -lintl " | 9909 xe_check_libs=" -lintl " |
9906 cat > conftest.$ac_ext <<EOF | 9910 cat > conftest.$ac_ext <<EOF |
9907 #line 9908 "configure" | 9911 #line 9912 "configure" |
9908 #include "confdefs.h" | 9912 #include "confdefs.h" |
9909 /* Override any gcc2 internal prototype to avoid an error. */ | 9913 /* Override any gcc2 internal prototype to avoid an error. */ |
9910 /* We use char because int might match the return type of a gcc2 | 9914 /* We use char because int might match the return type of a gcc2 |
9911 builtin and then its argument prototype would still apply. */ | 9915 builtin and then its argument prototype would still apply. */ |
9912 char strerror(); | 9916 char strerror(); |
9913 | 9917 |
9914 int main() { | 9918 int main() { |
9915 strerror() | 9919 strerror() |
9916 ; return 0; } | 9920 ; return 0; } |
9917 EOF | 9921 EOF |
9918 if { (eval echo configure:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9922 if { (eval echo configure:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9919 rm -rf conftest* | 9923 rm -rf conftest* |
9920 eval "ac_cv_lib_$ac_lib_var=yes" | 9924 eval "ac_cv_lib_$ac_lib_var=yes" |
9921 else | 9925 else |
9922 echo "configure: failed program was:" >&5 | 9926 echo "configure: failed program was:" >&5 |
9923 cat conftest.$ac_ext >&5 | 9927 cat conftest.$ac_ext >&5 |
9946 fi | 9950 fi |
9947 | 9951 |
9948 | 9952 |
9949 | 9953 |
9950 echo "checking for Mule input methods" 1>&6 | 9954 echo "checking for Mule input methods" 1>&6 |
9951 echo "configure:9952: checking for Mule input methods" >&5 | 9955 echo "configure:9956: checking for Mule input methods" >&5 |
9952 case "$with_xim" in "" | "yes" ) | 9956 case "$with_xim" in "" | "yes" ) |
9953 echo "checking for XIM" 1>&6 | 9957 echo "checking for XIM" 1>&6 |
9954 echo "configure:9955: checking for XIM" >&5 | 9958 echo "configure:9959: checking for XIM" >&5 |
9955 | 9959 |
9956 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9960 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9957 echo "configure:9958: checking for XOpenIM in -lX11" >&5 | 9961 echo "configure:9962: checking for XOpenIM in -lX11" >&5 |
9958 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9962 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9959 | 9963 |
9960 xe_check_libs=" -lX11 " | 9964 xe_check_libs=" -lX11 " |
9961 cat > conftest.$ac_ext <<EOF | 9965 cat > conftest.$ac_ext <<EOF |
9962 #line 9963 "configure" | 9966 #line 9967 "configure" |
9963 #include "confdefs.h" | 9967 #include "confdefs.h" |
9964 /* Override any gcc2 internal prototype to avoid an error. */ | 9968 /* Override any gcc2 internal prototype to avoid an error. */ |
9965 /* We use char because int might match the return type of a gcc2 | 9969 /* We use char because int might match the return type of a gcc2 |
9966 builtin and then its argument prototype would still apply. */ | 9970 builtin and then its argument prototype would still apply. */ |
9967 char XOpenIM(); | 9971 char XOpenIM(); |
9968 | 9972 |
9969 int main() { | 9973 int main() { |
9970 XOpenIM() | 9974 XOpenIM() |
9971 ; return 0; } | 9975 ; return 0; } |
9972 EOF | 9976 EOF |
9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9974 rm -rf conftest* | 9978 rm -rf conftest* |
9975 eval "ac_cv_lib_$ac_lib_var=yes" | 9979 eval "ac_cv_lib_$ac_lib_var=yes" |
9976 else | 9980 else |
9977 echo "configure: failed program was:" >&5 | 9981 echo "configure: failed program was:" >&5 |
9978 cat conftest.$ac_ext >&5 | 9982 cat conftest.$ac_ext >&5 |
9992 | 9996 |
9993 | 9997 |
9994 if test "$have_motif $have_lesstif" = "yes no"; then | 9998 if test "$have_motif $have_lesstif" = "yes no"; then |
9995 | 9999 |
9996 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10000 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9997 echo "configure:9998: checking for XmImMbLookupString in -lXm" >&5 | 10001 echo "configure:10002: checking for XmImMbLookupString in -lXm" >&5 |
9998 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10002 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9999 | 10003 |
10000 xe_check_libs=" -lXm " | 10004 xe_check_libs=" -lXm " |
10001 cat > conftest.$ac_ext <<EOF | 10005 cat > conftest.$ac_ext <<EOF |
10002 #line 10003 "configure" | 10006 #line 10007 "configure" |
10003 #include "confdefs.h" | 10007 #include "confdefs.h" |
10004 /* Override any gcc2 internal prototype to avoid an error. */ | 10008 /* Override any gcc2 internal prototype to avoid an error. */ |
10005 /* We use char because int might match the return type of a gcc2 | 10009 /* We use char because int might match the return type of a gcc2 |
10006 builtin and then its argument prototype would still apply. */ | 10010 builtin and then its argument prototype would still apply. */ |
10007 char XmImMbLookupString(); | 10011 char XmImMbLookupString(); |
10008 | 10012 |
10009 int main() { | 10013 int main() { |
10010 XmImMbLookupString() | 10014 XmImMbLookupString() |
10011 ; return 0; } | 10015 ; return 0; } |
10012 EOF | 10016 EOF |
10013 if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10017 if { (eval echo configure:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10014 rm -rf conftest* | 10018 rm -rf conftest* |
10015 eval "ac_cv_lib_$ac_lib_var=yes" | 10019 eval "ac_cv_lib_$ac_lib_var=yes" |
10016 else | 10020 else |
10017 echo "configure: failed program was:" >&5 | 10021 echo "configure: failed program was:" >&5 |
10018 cat conftest.$ac_ext >&5 | 10022 cat conftest.$ac_ext >&5 |
10073 fi | 10077 fi |
10074 fi | 10078 fi |
10075 | 10079 |
10076 if test "$with_xfs" = "yes" ; then | 10080 if test "$with_xfs" = "yes" ; then |
10077 echo "checking for XFontSet" 1>&6 | 10081 echo "checking for XFontSet" 1>&6 |
10078 echo "configure:10079: checking for XFontSet" >&5 | 10082 echo "configure:10083: checking for XFontSet" >&5 |
10079 | 10083 |
10080 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10084 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10081 echo "configure:10082: checking for XmbDrawString in -lX11" >&5 | 10085 echo "configure:10086: checking for XmbDrawString in -lX11" >&5 |
10082 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10086 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10083 | 10087 |
10084 xe_check_libs=" -lX11 " | 10088 xe_check_libs=" -lX11 " |
10085 cat > conftest.$ac_ext <<EOF | 10089 cat > conftest.$ac_ext <<EOF |
10086 #line 10087 "configure" | 10090 #line 10091 "configure" |
10087 #include "confdefs.h" | 10091 #include "confdefs.h" |
10088 /* Override any gcc2 internal prototype to avoid an error. */ | 10092 /* Override any gcc2 internal prototype to avoid an error. */ |
10089 /* We use char because int might match the return type of a gcc2 | 10093 /* We use char because int might match the return type of a gcc2 |
10090 builtin and then its argument prototype would still apply. */ | 10094 builtin and then its argument prototype would still apply. */ |
10091 char XmbDrawString(); | 10095 char XmbDrawString(); |
10092 | 10096 |
10093 int main() { | 10097 int main() { |
10094 XmbDrawString() | 10098 XmbDrawString() |
10095 ; return 0; } | 10099 ; return 0; } |
10096 EOF | 10100 EOF |
10097 if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10101 if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10098 rm -rf conftest* | 10102 rm -rf conftest* |
10099 eval "ac_cv_lib_$ac_lib_var=yes" | 10103 eval "ac_cv_lib_$ac_lib_var=yes" |
10100 else | 10104 else |
10101 echo "configure: failed program was:" >&5 | 10105 echo "configure: failed program was:" >&5 |
10102 cat conftest.$ac_ext >&5 | 10106 cat conftest.$ac_ext >&5 |
10132 fi | 10136 fi |
10133 fi | 10137 fi |
10134 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10138 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10135 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10139 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10136 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10140 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10137 echo "configure:10138: checking for wnn/jllib.h" >&5 | 10141 echo "configure:10142: checking for wnn/jllib.h" >&5 |
10138 | 10142 |
10139 cat > conftest.$ac_ext <<EOF | 10143 cat > conftest.$ac_ext <<EOF |
10140 #line 10141 "configure" | 10144 #line 10145 "configure" |
10141 #include "confdefs.h" | 10145 #include "confdefs.h" |
10142 #include <wnn/jllib.h> | 10146 #include <wnn/jllib.h> |
10143 EOF | 10147 EOF |
10144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10145 { (eval echo configure:10146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10149 { (eval echo configure:10150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10146 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10150 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10147 if test -z "$ac_err"; then | 10151 if test -z "$ac_err"; then |
10148 rm -rf conftest* | 10152 rm -rf conftest* |
10149 eval "ac_cv_header_$ac_safe=yes" | 10153 eval "ac_cv_header_$ac_safe=yes" |
10150 else | 10154 else |
10163 with_wnn=no | 10167 with_wnn=no |
10164 fi | 10168 fi |
10165 } | 10169 } |
10166 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10170 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10167 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10171 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10168 echo "configure:10169: checking for wnn/commonhd.h" >&5 | 10172 echo "configure:10173: checking for wnn/commonhd.h" >&5 |
10169 | 10173 |
10170 cat > conftest.$ac_ext <<EOF | 10174 cat > conftest.$ac_ext <<EOF |
10171 #line 10172 "configure" | 10175 #line 10176 "configure" |
10172 #include "confdefs.h" | 10176 #include "confdefs.h" |
10173 #include <wnn/commonhd.h> | 10177 #include <wnn/commonhd.h> |
10174 EOF | 10178 EOF |
10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10180 { (eval echo configure:10181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10178 if test -z "$ac_err"; then | 10182 if test -z "$ac_err"; then |
10179 rm -rf conftest* | 10183 rm -rf conftest* |
10180 eval "ac_cv_header_$ac_safe=yes" | 10184 eval "ac_cv_header_$ac_safe=yes" |
10181 else | 10185 else |
10196 } | 10200 } |
10197 if test "$with_wnn" != "no"; then | 10201 if test "$with_wnn" != "no"; then |
10198 for ac_func in crypt | 10202 for ac_func in crypt |
10199 do | 10203 do |
10200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10201 echo "configure:10202: checking for $ac_func" >&5 | 10205 echo "configure:10206: checking for $ac_func" >&5 |
10202 | 10206 |
10203 cat > conftest.$ac_ext <<EOF | 10207 cat > conftest.$ac_ext <<EOF |
10204 #line 10205 "configure" | 10208 #line 10209 "configure" |
10205 #include "confdefs.h" | 10209 #include "confdefs.h" |
10206 /* System header to define __stub macros and hopefully few prototypes, | 10210 /* System header to define __stub macros and hopefully few prototypes, |
10207 which can conflict with char $ac_func(); below. */ | 10211 which can conflict with char $ac_func(); below. */ |
10208 #include <assert.h> | 10212 #include <assert.h> |
10209 /* Override any gcc2 internal prototype to avoid an error. */ | 10213 /* Override any gcc2 internal prototype to avoid an error. */ |
10222 $ac_func(); | 10226 $ac_func(); |
10223 #endif | 10227 #endif |
10224 | 10228 |
10225 ; return 0; } | 10229 ; return 0; } |
10226 EOF | 10230 EOF |
10227 if { (eval echo configure:10228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10228 rm -rf conftest* | 10232 rm -rf conftest* |
10229 eval "ac_cv_func_$ac_func=yes" | 10233 eval "ac_cv_func_$ac_func=yes" |
10230 else | 10234 else |
10231 echo "configure: failed program was:" >&5 | 10235 echo "configure: failed program was:" >&5 |
10232 cat conftest.$ac_ext >&5 | 10236 cat conftest.$ac_ext >&5 |
10251 fi | 10255 fi |
10252 done | 10256 done |
10253 | 10257 |
10254 test "$ac_cv_func_crypt" != "yes" && { | 10258 test "$ac_cv_func_crypt" != "yes" && { |
10255 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10259 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10256 echo "configure:10257: checking for crypt in -lcrypt" >&5 | 10260 echo "configure:10261: checking for crypt in -lcrypt" >&5 |
10257 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10261 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10258 | 10262 |
10259 xe_check_libs=" -lcrypt " | 10263 xe_check_libs=" -lcrypt " |
10260 cat > conftest.$ac_ext <<EOF | 10264 cat > conftest.$ac_ext <<EOF |
10261 #line 10262 "configure" | 10265 #line 10266 "configure" |
10262 #include "confdefs.h" | 10266 #include "confdefs.h" |
10263 /* Override any gcc2 internal prototype to avoid an error. */ | 10267 /* Override any gcc2 internal prototype to avoid an error. */ |
10264 /* We use char because int might match the return type of a gcc2 | 10268 /* We use char because int might match the return type of a gcc2 |
10265 builtin and then its argument prototype would still apply. */ | 10269 builtin and then its argument prototype would still apply. */ |
10266 char crypt(); | 10270 char crypt(); |
10267 | 10271 |
10268 int main() { | 10272 int main() { |
10269 crypt() | 10273 crypt() |
10270 ; return 0; } | 10274 ; return 0; } |
10271 EOF | 10275 EOF |
10272 if { (eval echo configure:10273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10276 if { (eval echo configure:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10273 rm -rf conftest* | 10277 rm -rf conftest* |
10274 eval "ac_cv_lib_$ac_lib_var=yes" | 10278 eval "ac_cv_lib_$ac_lib_var=yes" |
10275 else | 10279 else |
10276 echo "configure: failed program was:" >&5 | 10280 echo "configure: failed program was:" >&5 |
10277 cat conftest.$ac_ext >&5 | 10281 cat conftest.$ac_ext >&5 |
10302 } | 10306 } |
10303 fi | 10307 fi |
10304 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10308 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10305 | 10309 |
10306 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10310 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10307 echo "configure:10308: checking for jl_dic_list_e in -lwnn" >&5 | 10311 echo "configure:10312: checking for jl_dic_list_e in -lwnn" >&5 |
10308 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10312 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10309 | 10313 |
10310 xe_check_libs=" -lwnn " | 10314 xe_check_libs=" -lwnn " |
10311 cat > conftest.$ac_ext <<EOF | 10315 cat > conftest.$ac_ext <<EOF |
10312 #line 10313 "configure" | 10316 #line 10317 "configure" |
10313 #include "confdefs.h" | 10317 #include "confdefs.h" |
10314 /* Override any gcc2 internal prototype to avoid an error. */ | 10318 /* Override any gcc2 internal prototype to avoid an error. */ |
10315 /* We use char because int might match the return type of a gcc2 | 10319 /* We use char because int might match the return type of a gcc2 |
10316 builtin and then its argument prototype would still apply. */ | 10320 builtin and then its argument prototype would still apply. */ |
10317 char jl_dic_list_e(); | 10321 char jl_dic_list_e(); |
10318 | 10322 |
10319 int main() { | 10323 int main() { |
10320 jl_dic_list_e() | 10324 jl_dic_list_e() |
10321 ; return 0; } | 10325 ; return 0; } |
10322 EOF | 10326 EOF |
10323 if { (eval echo configure:10324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10324 rm -rf conftest* | 10328 rm -rf conftest* |
10325 eval "ac_cv_lib_$ac_lib_var=yes" | 10329 eval "ac_cv_lib_$ac_lib_var=yes" |
10326 else | 10330 else |
10327 echo "configure: failed program was:" >&5 | 10331 echo "configure: failed program was:" >&5 |
10328 cat conftest.$ac_ext >&5 | 10332 cat conftest.$ac_ext >&5 |
10336 echo "$ac_t""yes" 1>&6 | 10340 echo "$ac_t""yes" 1>&6 |
10337 libwnn=wnn | 10341 libwnn=wnn |
10338 else | 10342 else |
10339 echo "$ac_t""no" 1>&6 | 10343 echo "$ac_t""no" 1>&6 |
10340 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10341 echo "configure:10342: checking for jl_dic_list_e in -lwnn4" >&5 | 10345 echo "configure:10346: checking for jl_dic_list_e in -lwnn4" >&5 |
10342 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10346 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10343 | 10347 |
10344 xe_check_libs=" -lwnn4 " | 10348 xe_check_libs=" -lwnn4 " |
10345 cat > conftest.$ac_ext <<EOF | 10349 cat > conftest.$ac_ext <<EOF |
10346 #line 10347 "configure" | 10350 #line 10351 "configure" |
10347 #include "confdefs.h" | 10351 #include "confdefs.h" |
10348 /* Override any gcc2 internal prototype to avoid an error. */ | 10352 /* Override any gcc2 internal prototype to avoid an error. */ |
10349 /* We use char because int might match the return type of a gcc2 | 10353 /* We use char because int might match the return type of a gcc2 |
10350 builtin and then its argument prototype would still apply. */ | 10354 builtin and then its argument prototype would still apply. */ |
10351 char jl_dic_list_e(); | 10355 char jl_dic_list_e(); |
10352 | 10356 |
10353 int main() { | 10357 int main() { |
10354 jl_dic_list_e() | 10358 jl_dic_list_e() |
10355 ; return 0; } | 10359 ; return 0; } |
10356 EOF | 10360 EOF |
10357 if { (eval echo configure:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10361 if { (eval echo configure:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10358 rm -rf conftest* | 10362 rm -rf conftest* |
10359 eval "ac_cv_lib_$ac_lib_var=yes" | 10363 eval "ac_cv_lib_$ac_lib_var=yes" |
10360 else | 10364 else |
10361 echo "configure: failed program was:" >&5 | 10365 echo "configure: failed program was:" >&5 |
10362 cat conftest.$ac_ext >&5 | 10366 cat conftest.$ac_ext >&5 |
10370 echo "$ac_t""yes" 1>&6 | 10374 echo "$ac_t""yes" 1>&6 |
10371 libwnn=wnn4 | 10375 libwnn=wnn4 |
10372 else | 10376 else |
10373 echo "$ac_t""no" 1>&6 | 10377 echo "$ac_t""no" 1>&6 |
10374 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10378 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10375 echo "configure:10376: checking for jl_dic_list_e in -lwnn6" >&5 | 10379 echo "configure:10380: checking for jl_dic_list_e in -lwnn6" >&5 |
10376 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10380 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10377 | 10381 |
10378 xe_check_libs=" -lwnn6 " | 10382 xe_check_libs=" -lwnn6 " |
10379 cat > conftest.$ac_ext <<EOF | 10383 cat > conftest.$ac_ext <<EOF |
10380 #line 10381 "configure" | 10384 #line 10385 "configure" |
10381 #include "confdefs.h" | 10385 #include "confdefs.h" |
10382 /* Override any gcc2 internal prototype to avoid an error. */ | 10386 /* Override any gcc2 internal prototype to avoid an error. */ |
10383 /* We use char because int might match the return type of a gcc2 | 10387 /* We use char because int might match the return type of a gcc2 |
10384 builtin and then its argument prototype would still apply. */ | 10388 builtin and then its argument prototype would still apply. */ |
10385 char jl_dic_list_e(); | 10389 char jl_dic_list_e(); |
10386 | 10390 |
10387 int main() { | 10391 int main() { |
10388 jl_dic_list_e() | 10392 jl_dic_list_e() |
10389 ; return 0; } | 10393 ; return 0; } |
10390 EOF | 10394 EOF |
10391 if { (eval echo configure:10392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10395 if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10392 rm -rf conftest* | 10396 rm -rf conftest* |
10393 eval "ac_cv_lib_$ac_lib_var=yes" | 10397 eval "ac_cv_lib_$ac_lib_var=yes" |
10394 else | 10398 else |
10395 echo "configure: failed program was:" >&5 | 10399 echo "configure: failed program was:" >&5 |
10396 cat conftest.$ac_ext >&5 | 10400 cat conftest.$ac_ext >&5 |
10404 echo "$ac_t""yes" 1>&6 | 10408 echo "$ac_t""yes" 1>&6 |
10405 libwnn=wnn6 | 10409 libwnn=wnn6 |
10406 else | 10410 else |
10407 echo "$ac_t""no" 1>&6 | 10411 echo "$ac_t""no" 1>&6 |
10408 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10412 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10409 echo "configure:10410: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10413 echo "configure:10414: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10410 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10414 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10411 | 10415 |
10412 xe_check_libs=" -lwnn6_fromsrc " | 10416 xe_check_libs=" -lwnn6_fromsrc " |
10413 cat > conftest.$ac_ext <<EOF | 10417 cat > conftest.$ac_ext <<EOF |
10414 #line 10415 "configure" | 10418 #line 10419 "configure" |
10415 #include "confdefs.h" | 10419 #include "confdefs.h" |
10416 /* Override any gcc2 internal prototype to avoid an error. */ | 10420 /* Override any gcc2 internal prototype to avoid an error. */ |
10417 /* We use char because int might match the return type of a gcc2 | 10421 /* We use char because int might match the return type of a gcc2 |
10418 builtin and then its argument prototype would still apply. */ | 10422 builtin and then its argument prototype would still apply. */ |
10419 char dic_list_e(); | 10423 char dic_list_e(); |
10420 | 10424 |
10421 int main() { | 10425 int main() { |
10422 dic_list_e() | 10426 dic_list_e() |
10423 ; return 0; } | 10427 ; return 0; } |
10424 EOF | 10428 EOF |
10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10429 if { (eval echo configure:10430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10426 rm -rf conftest* | 10430 rm -rf conftest* |
10427 eval "ac_cv_lib_$ac_lib_var=yes" | 10431 eval "ac_cv_lib_$ac_lib_var=yes" |
10428 else | 10432 else |
10429 echo "configure: failed program was:" >&5 | 10433 echo "configure: failed program was:" >&5 |
10430 cat conftest.$ac_ext >&5 | 10434 cat conftest.$ac_ext >&5 |
10465 | 10469 |
10466 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10470 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10467 if test "$with_wnn6" != "no"; then | 10471 if test "$with_wnn6" != "no"; then |
10468 | 10472 |
10469 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10473 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10470 echo "configure:10471: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10474 echo "configure:10475: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10471 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10475 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10472 | 10476 |
10473 xe_check_libs=" -l$libwnn " | 10477 xe_check_libs=" -l$libwnn " |
10474 cat > conftest.$ac_ext <<EOF | 10478 cat > conftest.$ac_ext <<EOF |
10475 #line 10476 "configure" | 10479 #line 10480 "configure" |
10476 #include "confdefs.h" | 10480 #include "confdefs.h" |
10477 /* Override any gcc2 internal prototype to avoid an error. */ | 10481 /* Override any gcc2 internal prototype to avoid an error. */ |
10478 /* We use char because int might match the return type of a gcc2 | 10482 /* We use char because int might match the return type of a gcc2 |
10479 builtin and then its argument prototype would still apply. */ | 10483 builtin and then its argument prototype would still apply. */ |
10480 char jl_fi_dic_list(); | 10484 char jl_fi_dic_list(); |
10481 | 10485 |
10482 int main() { | 10486 int main() { |
10483 jl_fi_dic_list() | 10487 jl_fi_dic_list() |
10484 ; return 0; } | 10488 ; return 0; } |
10485 EOF | 10489 EOF |
10486 if { (eval echo configure:10487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10490 if { (eval echo configure:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10487 rm -rf conftest* | 10491 rm -rf conftest* |
10488 eval "ac_cv_lib_$ac_lib_var=yes" | 10492 eval "ac_cv_lib_$ac_lib_var=yes" |
10489 else | 10493 else |
10490 echo "configure: failed program was:" >&5 | 10494 echo "configure: failed program was:" >&5 |
10491 cat conftest.$ac_ext >&5 | 10495 cat conftest.$ac_ext >&5 |
10516 | 10520 |
10517 canna_includes_found=no | 10521 canna_includes_found=no |
10518 if test "$with_canna" != "no"; then | 10522 if test "$with_canna" != "no"; then |
10519 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10523 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10520 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10524 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10521 echo "configure:10522: checking for canna/jrkanji.h" >&5 | 10525 echo "configure:10526: checking for canna/jrkanji.h" >&5 |
10522 | 10526 |
10523 cat > conftest.$ac_ext <<EOF | 10527 cat > conftest.$ac_ext <<EOF |
10524 #line 10525 "configure" | 10528 #line 10529 "configure" |
10525 #include "confdefs.h" | 10529 #include "confdefs.h" |
10526 #include <canna/jrkanji.h> | 10530 #include <canna/jrkanji.h> |
10527 EOF | 10531 EOF |
10528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10529 { (eval echo configure:10530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10533 { (eval echo configure:10534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10531 if test -z "$ac_err"; then | 10535 if test -z "$ac_err"; then |
10532 rm -rf conftest* | 10536 rm -rf conftest* |
10533 eval "ac_cv_header_$ac_safe=yes" | 10537 eval "ac_cv_header_$ac_safe=yes" |
10534 else | 10538 else |
10551 -d "/usr/local/canna/include"; then | 10555 -d "/usr/local/canna/include"; then |
10552 save_c_switch_site="$c_switch_site" | 10556 save_c_switch_site="$c_switch_site" |
10553 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10557 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10554 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10558 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10555 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10559 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10556 echo "configure:10557: checking for canna/jrkanji.h" >&5 | 10560 echo "configure:10561: checking for canna/jrkanji.h" >&5 |
10557 | 10561 |
10558 cat > conftest.$ac_ext <<EOF | 10562 cat > conftest.$ac_ext <<EOF |
10559 #line 10560 "configure" | 10563 #line 10564 "configure" |
10560 #include "confdefs.h" | 10564 #include "confdefs.h" |
10561 #include <canna/jrkanji.h> | 10565 #include <canna/jrkanji.h> |
10562 EOF | 10566 EOF |
10563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10564 { (eval echo configure:10565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10568 { (eval echo configure:10569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10566 if test -z "$ac_err"; then | 10570 if test -z "$ac_err"; then |
10567 rm -rf conftest* | 10571 rm -rf conftest* |
10568 eval "ac_cv_header_$ac_safe=yes" | 10572 eval "ac_cv_header_$ac_safe=yes" |
10569 else | 10573 else |
10587 fi | 10591 fi |
10588 fi | 10592 fi |
10589 | 10593 |
10590 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10594 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10591 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10595 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10592 echo "configure:10593: checking for canna/RK.h" >&5 | 10596 echo "configure:10597: checking for canna/RK.h" >&5 |
10593 | 10597 |
10594 cat > conftest.$ac_ext <<EOF | 10598 cat > conftest.$ac_ext <<EOF |
10595 #line 10596 "configure" | 10599 #line 10600 "configure" |
10596 #include "confdefs.h" | 10600 #include "confdefs.h" |
10597 #include <canna/RK.h> | 10601 #include <canna/RK.h> |
10598 EOF | 10602 EOF |
10599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10600 { (eval echo configure:10601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10604 { (eval echo configure:10605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10602 if test -z "$ac_err"; then | 10606 if test -z "$ac_err"; then |
10603 rm -rf conftest* | 10607 rm -rf conftest* |
10604 eval "ac_cv_header_$ac_safe=yes" | 10608 eval "ac_cv_header_$ac_safe=yes" |
10605 else | 10609 else |
10618 with_canna=no | 10622 with_canna=no |
10619 fi | 10623 fi |
10620 } | 10624 } |
10621 test -z "$with_canna" && { | 10625 test -z "$with_canna" && { |
10622 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10626 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10623 echo "configure:10624: checking for RkBgnBun in -lRKC" >&5 | 10627 echo "configure:10628: checking for RkBgnBun in -lRKC" >&5 |
10624 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10628 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10625 | 10629 |
10626 xe_check_libs=" -lRKC " | 10630 xe_check_libs=" -lRKC " |
10627 cat > conftest.$ac_ext <<EOF | 10631 cat > conftest.$ac_ext <<EOF |
10628 #line 10629 "configure" | 10632 #line 10633 "configure" |
10629 #include "confdefs.h" | 10633 #include "confdefs.h" |
10630 /* Override any gcc2 internal prototype to avoid an error. */ | 10634 /* Override any gcc2 internal prototype to avoid an error. */ |
10631 /* We use char because int might match the return type of a gcc2 | 10635 /* We use char because int might match the return type of a gcc2 |
10632 builtin and then its argument prototype would still apply. */ | 10636 builtin and then its argument prototype would still apply. */ |
10633 char RkBgnBun(); | 10637 char RkBgnBun(); |
10634 | 10638 |
10635 int main() { | 10639 int main() { |
10636 RkBgnBun() | 10640 RkBgnBun() |
10637 ; return 0; } | 10641 ; return 0; } |
10638 EOF | 10642 EOF |
10639 if { (eval echo configure:10640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10643 if { (eval echo configure:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10640 rm -rf conftest* | 10644 rm -rf conftest* |
10641 eval "ac_cv_lib_$ac_lib_var=yes" | 10645 eval "ac_cv_lib_$ac_lib_var=yes" |
10642 else | 10646 else |
10643 echo "configure: failed program was:" >&5 | 10647 echo "configure: failed program was:" >&5 |
10644 cat conftest.$ac_ext >&5 | 10648 cat conftest.$ac_ext >&5 |
10657 fi | 10661 fi |
10658 | 10662 |
10659 } | 10663 } |
10660 test -z "$with_canna" && { | 10664 test -z "$with_canna" && { |
10661 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10665 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10662 echo "configure:10663: checking for jrKanjiControl in -lcanna" >&5 | 10666 echo "configure:10667: checking for jrKanjiControl in -lcanna" >&5 |
10663 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10667 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10664 | 10668 |
10665 xe_check_libs=" -lcanna " | 10669 xe_check_libs=" -lcanna " |
10666 cat > conftest.$ac_ext <<EOF | 10670 cat > conftest.$ac_ext <<EOF |
10667 #line 10668 "configure" | 10671 #line 10672 "configure" |
10668 #include "confdefs.h" | 10672 #include "confdefs.h" |
10669 /* Override any gcc2 internal prototype to avoid an error. */ | 10673 /* Override any gcc2 internal prototype to avoid an error. */ |
10670 /* We use char because int might match the return type of a gcc2 | 10674 /* We use char because int might match the return type of a gcc2 |
10671 builtin and then its argument prototype would still apply. */ | 10675 builtin and then its argument prototype would still apply. */ |
10672 char jrKanjiControl(); | 10676 char jrKanjiControl(); |
10673 | 10677 |
10674 int main() { | 10678 int main() { |
10675 jrKanjiControl() | 10679 jrKanjiControl() |
10676 ; return 0; } | 10680 ; return 0; } |
10677 EOF | 10681 EOF |
10678 if { (eval echo configure:10679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10682 if { (eval echo configure:10683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10679 rm -rf conftest* | 10683 rm -rf conftest* |
10680 eval "ac_cv_lib_$ac_lib_var=yes" | 10684 eval "ac_cv_lib_$ac_lib_var=yes" |
10681 else | 10685 else |
10682 echo "configure: failed program was:" >&5 | 10686 echo "configure: failed program was:" >&5 |
10683 cat conftest.$ac_ext >&5 | 10687 cat conftest.$ac_ext >&5 |
10719 | 10723 |
10720 if test "$need_motif" = "yes" ; then | 10724 if test "$need_motif" = "yes" ; then |
10721 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10725 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10722 | 10726 |
10723 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10727 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10724 echo "configure:10725: checking for layout_object_getvalue in -li18n" >&5 | 10728 echo "configure:10729: checking for layout_object_getvalue in -li18n" >&5 |
10725 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10729 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10726 | 10730 |
10727 xe_check_libs=" -li18n " | 10731 xe_check_libs=" -li18n " |
10728 cat > conftest.$ac_ext <<EOF | 10732 cat > conftest.$ac_ext <<EOF |
10729 #line 10730 "configure" | 10733 #line 10734 "configure" |
10730 #include "confdefs.h" | 10734 #include "confdefs.h" |
10731 /* Override any gcc2 internal prototype to avoid an error. */ | 10735 /* Override any gcc2 internal prototype to avoid an error. */ |
10732 /* We use char because int might match the return type of a gcc2 | 10736 /* We use char because int might match the return type of a gcc2 |
10733 builtin and then its argument prototype would still apply. */ | 10737 builtin and then its argument prototype would still apply. */ |
10734 char layout_object_getvalue(); | 10738 char layout_object_getvalue(); |
10735 | 10739 |
10736 int main() { | 10740 int main() { |
10737 layout_object_getvalue() | 10741 layout_object_getvalue() |
10738 ; return 0; } | 10742 ; return 0; } |
10739 EOF | 10743 EOF |
10740 if { (eval echo configure:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10744 if { (eval echo configure:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10741 rm -rf conftest* | 10745 rm -rf conftest* |
10742 eval "ac_cv_lib_$ac_lib_var=yes" | 10746 eval "ac_cv_lib_$ac_lib_var=yes" |
10743 else | 10747 else |
10744 echo "configure: failed program was:" >&5 | 10748 echo "configure: failed program was:" >&5 |
10745 cat conftest.$ac_ext >&5 | 10749 cat conftest.$ac_ext >&5 |
10821 fi | 10825 fi |
10822 | 10826 |
10823 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 symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10827 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 symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10824 do | 10828 do |
10825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10826 echo "configure:10827: checking for $ac_func" >&5 | 10830 echo "configure:10831: checking for $ac_func" >&5 |
10827 | 10831 |
10828 cat > conftest.$ac_ext <<EOF | 10832 cat > conftest.$ac_ext <<EOF |
10829 #line 10830 "configure" | 10833 #line 10834 "configure" |
10830 #include "confdefs.h" | 10834 #include "confdefs.h" |
10831 /* System header to define __stub macros and hopefully few prototypes, | 10835 /* System header to define __stub macros and hopefully few prototypes, |
10832 which can conflict with char $ac_func(); below. */ | 10836 which can conflict with char $ac_func(); below. */ |
10833 #include <assert.h> | 10837 #include <assert.h> |
10834 /* Override any gcc2 internal prototype to avoid an error. */ | 10838 /* Override any gcc2 internal prototype to avoid an error. */ |
10847 $ac_func(); | 10851 $ac_func(); |
10848 #endif | 10852 #endif |
10849 | 10853 |
10850 ; return 0; } | 10854 ; return 0; } |
10851 EOF | 10855 EOF |
10852 if { (eval echo configure:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10856 if { (eval echo configure:10857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10853 rm -rf conftest* | 10857 rm -rf conftest* |
10854 eval "ac_cv_func_$ac_func=yes" | 10858 eval "ac_cv_func_$ac_func=yes" |
10855 else | 10859 else |
10856 echo "configure: failed program was:" >&5 | 10860 echo "configure: failed program was:" >&5 |
10857 cat conftest.$ac_ext >&5 | 10861 cat conftest.$ac_ext >&5 |
10879 | 10883 |
10880 | 10884 |
10881 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10885 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10882 do | 10886 do |
10883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10884 echo "configure:10885: checking for $ac_func" >&5 | 10888 echo "configure:10889: checking for $ac_func" >&5 |
10885 | 10889 |
10886 cat > conftest.$ac_ext <<EOF | 10890 cat > conftest.$ac_ext <<EOF |
10887 #line 10888 "configure" | 10891 #line 10892 "configure" |
10888 #include "confdefs.h" | 10892 #include "confdefs.h" |
10889 /* System header to define __stub macros and hopefully few prototypes, | 10893 /* System header to define __stub macros and hopefully few prototypes, |
10890 which can conflict with char $ac_func(); below. */ | 10894 which can conflict with char $ac_func(); below. */ |
10891 #include <assert.h> | 10895 #include <assert.h> |
10892 /* Override any gcc2 internal prototype to avoid an error. */ | 10896 /* Override any gcc2 internal prototype to avoid an error. */ |
10905 $ac_func(); | 10909 $ac_func(); |
10906 #endif | 10910 #endif |
10907 | 10911 |
10908 ; return 0; } | 10912 ; return 0; } |
10909 EOF | 10913 EOF |
10910 if { (eval echo configure:10911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10914 if { (eval echo configure:10915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10911 rm -rf conftest* | 10915 rm -rf conftest* |
10912 eval "ac_cv_func_$ac_func=yes" | 10916 eval "ac_cv_func_$ac_func=yes" |
10913 else | 10917 else |
10914 echo "configure: failed program was:" >&5 | 10918 echo "configure: failed program was:" >&5 |
10915 cat conftest.$ac_ext >&5 | 10919 cat conftest.$ac_ext >&5 |
10934 fi | 10938 fi |
10935 done | 10939 done |
10936 | 10940 |
10937 | 10941 |
10938 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10942 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10939 echo "configure:10940: checking for openpty" >&5 | 10943 echo "configure:10944: checking for openpty" >&5 |
10940 | 10944 |
10941 cat > conftest.$ac_ext <<EOF | 10945 cat > conftest.$ac_ext <<EOF |
10942 #line 10943 "configure" | 10946 #line 10947 "configure" |
10943 #include "confdefs.h" | 10947 #include "confdefs.h" |
10944 /* System header to define __stub macros and hopefully few prototypes, | 10948 /* System header to define __stub macros and hopefully few prototypes, |
10945 which can conflict with char openpty(); below. */ | 10949 which can conflict with char openpty(); below. */ |
10946 #include <assert.h> | 10950 #include <assert.h> |
10947 /* Override any gcc2 internal prototype to avoid an error. */ | 10951 /* Override any gcc2 internal prototype to avoid an error. */ |
10960 openpty(); | 10964 openpty(); |
10961 #endif | 10965 #endif |
10962 | 10966 |
10963 ; return 0; } | 10967 ; return 0; } |
10964 EOF | 10968 EOF |
10965 if { (eval echo configure:10966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10969 if { (eval echo configure:10970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10966 rm -rf conftest* | 10970 rm -rf conftest* |
10967 eval "ac_cv_func_openpty=yes" | 10971 eval "ac_cv_func_openpty=yes" |
10968 else | 10972 else |
10969 echo "configure: failed program was:" >&5 | 10973 echo "configure: failed program was:" >&5 |
10970 cat conftest.$ac_ext >&5 | 10974 cat conftest.$ac_ext >&5 |
10979 else | 10983 else |
10980 echo "$ac_t""no" 1>&6 | 10984 echo "$ac_t""no" 1>&6 |
10981 | 10985 |
10982 | 10986 |
10983 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10987 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10984 echo "configure:10985: checking for openpty in -lutil" >&5 | 10988 echo "configure:10989: checking for openpty in -lutil" >&5 |
10985 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10989 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10986 | 10990 |
10987 xe_check_libs=" -lutil " | 10991 xe_check_libs=" -lutil " |
10988 cat > conftest.$ac_ext <<EOF | 10992 cat > conftest.$ac_ext <<EOF |
10989 #line 10990 "configure" | 10993 #line 10994 "configure" |
10990 #include "confdefs.h" | 10994 #include "confdefs.h" |
10991 /* Override any gcc2 internal prototype to avoid an error. */ | 10995 /* Override any gcc2 internal prototype to avoid an error. */ |
10992 /* We use char because int might match the return type of a gcc2 | 10996 /* We use char because int might match the return type of a gcc2 |
10993 builtin and then its argument prototype would still apply. */ | 10997 builtin and then its argument prototype would still apply. */ |
10994 char openpty(); | 10998 char openpty(); |
10995 | 10999 |
10996 int main() { | 11000 int main() { |
10997 openpty() | 11001 openpty() |
10998 ; return 0; } | 11002 ; return 0; } |
10999 EOF | 11003 EOF |
11000 if { (eval echo configure:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11001 rm -rf conftest* | 11005 rm -rf conftest* |
11002 eval "ac_cv_lib_$ac_lib_var=yes" | 11006 eval "ac_cv_lib_$ac_lib_var=yes" |
11003 else | 11007 else |
11004 echo "configure: failed program was:" >&5 | 11008 echo "configure: failed program was:" >&5 |
11005 cat conftest.$ac_ext >&5 | 11009 cat conftest.$ac_ext >&5 |
11030 | 11034 |
11031 for ac_hdr in libutil.h util.h | 11035 for ac_hdr in libutil.h util.h |
11032 do | 11036 do |
11033 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11037 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11034 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11038 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11035 echo "configure:11036: checking for $ac_hdr" >&5 | 11039 echo "configure:11040: checking for $ac_hdr" >&5 |
11036 | 11040 |
11037 cat > conftest.$ac_ext <<EOF | 11041 cat > conftest.$ac_ext <<EOF |
11038 #line 11039 "configure" | 11042 #line 11043 "configure" |
11039 #include "confdefs.h" | 11043 #include "confdefs.h" |
11040 #include <$ac_hdr> | 11044 #include <$ac_hdr> |
11041 EOF | 11045 EOF |
11042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11043 { (eval echo configure:11044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11047 { (eval echo configure:11048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11045 if test -z "$ac_err"; then | 11049 if test -z "$ac_err"; then |
11046 rm -rf conftest* | 11050 rm -rf conftest* |
11047 eval "ac_cv_header_$ac_safe=yes" | 11051 eval "ac_cv_header_$ac_safe=yes" |
11048 else | 11052 else |
11075 case "$opsys" in | 11079 case "$opsys" in |
11076 hpux*) for ac_hdr in sys/ptyio.h | 11080 hpux*) for ac_hdr in sys/ptyio.h |
11077 do | 11081 do |
11078 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11082 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11079 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11080 echo "configure:11081: checking for $ac_hdr" >&5 | 11084 echo "configure:11085: checking for $ac_hdr" >&5 |
11081 | 11085 |
11082 cat > conftest.$ac_ext <<EOF | 11086 cat > conftest.$ac_ext <<EOF |
11083 #line 11084 "configure" | 11087 #line 11088 "configure" |
11084 #include "confdefs.h" | 11088 #include "confdefs.h" |
11085 #include <$ac_hdr> | 11089 #include <$ac_hdr> |
11086 EOF | 11090 EOF |
11087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11088 { (eval echo configure:11089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11092 { (eval echo configure:11093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11090 if test -z "$ac_err"; then | 11094 if test -z "$ac_err"; then |
11091 rm -rf conftest* | 11095 rm -rf conftest* |
11092 eval "ac_cv_header_$ac_safe=yes" | 11096 eval "ac_cv_header_$ac_safe=yes" |
11093 else | 11097 else |
11116 ;; | 11120 ;; |
11117 *) for ac_hdr in pty.h | 11121 *) for ac_hdr in pty.h |
11118 do | 11122 do |
11119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11121 echo "configure:11122: checking for $ac_hdr" >&5 | 11125 echo "configure:11126: checking for $ac_hdr" >&5 |
11122 | 11126 |
11123 cat > conftest.$ac_ext <<EOF | 11127 cat > conftest.$ac_ext <<EOF |
11124 #line 11125 "configure" | 11128 #line 11129 "configure" |
11125 #include "confdefs.h" | 11129 #include "confdefs.h" |
11126 #include <$ac_hdr> | 11130 #include <$ac_hdr> |
11127 EOF | 11131 EOF |
11128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11129 { (eval echo configure:11130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11133 { (eval echo configure:11134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11131 if test -z "$ac_err"; then | 11135 if test -z "$ac_err"; then |
11132 rm -rf conftest* | 11136 rm -rf conftest* |
11133 eval "ac_cv_header_$ac_safe=yes" | 11137 eval "ac_cv_header_$ac_safe=yes" |
11134 else | 11138 else |
11157 | 11161 |
11158 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11162 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11159 do | 11163 do |
11160 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11164 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11161 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11165 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11162 echo "configure:11163: checking for $ac_hdr" >&5 | 11166 echo "configure:11167: checking for $ac_hdr" >&5 |
11163 | 11167 |
11164 cat > conftest.$ac_ext <<EOF | 11168 cat > conftest.$ac_ext <<EOF |
11165 #line 11166 "configure" | 11169 #line 11170 "configure" |
11166 #include "confdefs.h" | 11170 #include "confdefs.h" |
11167 #include <$ac_hdr> | 11171 #include <$ac_hdr> |
11168 EOF | 11172 EOF |
11169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11170 { (eval echo configure:11171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11174 { (eval echo configure:11175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11172 if test -z "$ac_err"; then | 11176 if test -z "$ac_err"; then |
11173 rm -rf conftest* | 11177 rm -rf conftest* |
11174 eval "ac_cv_header_$ac_safe=yes" | 11178 eval "ac_cv_header_$ac_safe=yes" |
11175 else | 11179 else |
11201 | 11205 |
11202 for ac_hdr in stropts.h | 11206 for ac_hdr in stropts.h |
11203 do | 11207 do |
11204 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11208 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11205 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11209 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11206 echo "configure:11207: checking for $ac_hdr" >&5 | 11210 echo "configure:11211: checking for $ac_hdr" >&5 |
11207 | 11211 |
11208 cat > conftest.$ac_ext <<EOF | 11212 cat > conftest.$ac_ext <<EOF |
11209 #line 11210 "configure" | 11213 #line 11214 "configure" |
11210 #include "confdefs.h" | 11214 #include "confdefs.h" |
11211 #include <$ac_hdr> | 11215 #include <$ac_hdr> |
11212 EOF | 11216 EOF |
11213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11214 { (eval echo configure:11215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11218 { (eval echo configure:11219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11216 if test -z "$ac_err"; then | 11220 if test -z "$ac_err"; then |
11217 rm -rf conftest* | 11221 rm -rf conftest* |
11218 eval "ac_cv_header_$ac_safe=yes" | 11222 eval "ac_cv_header_$ac_safe=yes" |
11219 else | 11223 else |
11242 | 11246 |
11243 if test "$ac_cv_header_stropts_h" = "yes"; then | 11247 if test "$ac_cv_header_stropts_h" = "yes"; then |
11244 for ac_func in isastream | 11248 for ac_func in isastream |
11245 do | 11249 do |
11246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11247 echo "configure:11248: checking for $ac_func" >&5 | 11251 echo "configure:11252: checking for $ac_func" >&5 |
11248 | 11252 |
11249 cat > conftest.$ac_ext <<EOF | 11253 cat > conftest.$ac_ext <<EOF |
11250 #line 11251 "configure" | 11254 #line 11255 "configure" |
11251 #include "confdefs.h" | 11255 #include "confdefs.h" |
11252 /* System header to define __stub macros and hopefully few prototypes, | 11256 /* System header to define __stub macros and hopefully few prototypes, |
11253 which can conflict with char $ac_func(); below. */ | 11257 which can conflict with char $ac_func(); below. */ |
11254 #include <assert.h> | 11258 #include <assert.h> |
11255 /* Override any gcc2 internal prototype to avoid an error. */ | 11259 /* Override any gcc2 internal prototype to avoid an error. */ |
11268 $ac_func(); | 11272 $ac_func(); |
11269 #endif | 11273 #endif |
11270 | 11274 |
11271 ; return 0; } | 11275 ; return 0; } |
11272 EOF | 11276 EOF |
11273 if { (eval echo configure:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11277 if { (eval echo configure:11278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11274 rm -rf conftest* | 11278 rm -rf conftest* |
11275 eval "ac_cv_func_$ac_func=yes" | 11279 eval "ac_cv_func_$ac_func=yes" |
11276 else | 11280 else |
11277 echo "configure: failed program was:" >&5 | 11281 echo "configure: failed program was:" >&5 |
11278 cat conftest.$ac_ext >&5 | 11282 cat conftest.$ac_ext >&5 |
11299 | 11303 |
11300 for ac_hdr in strtio.h | 11304 for ac_hdr in strtio.h |
11301 do | 11305 do |
11302 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11306 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11307 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11304 echo "configure:11305: checking for $ac_hdr" >&5 | 11308 echo "configure:11309: checking for $ac_hdr" >&5 |
11305 | 11309 |
11306 cat > conftest.$ac_ext <<EOF | 11310 cat > conftest.$ac_ext <<EOF |
11307 #line 11308 "configure" | 11311 #line 11312 "configure" |
11308 #include "confdefs.h" | 11312 #include "confdefs.h" |
11309 #include <$ac_hdr> | 11313 #include <$ac_hdr> |
11310 EOF | 11314 EOF |
11311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11312 { (eval echo configure:11313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11316 { (eval echo configure:11317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11314 if test -z "$ac_err"; then | 11318 if test -z "$ac_err"; then |
11315 rm -rf conftest* | 11319 rm -rf conftest* |
11316 eval "ac_cv_header_$ac_safe=yes" | 11320 eval "ac_cv_header_$ac_safe=yes" |
11317 else | 11321 else |
11340 fi | 11344 fi |
11341 | 11345 |
11342 for ac_func in getloadavg | 11346 for ac_func in getloadavg |
11343 do | 11347 do |
11344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11345 echo "configure:11346: checking for $ac_func" >&5 | 11349 echo "configure:11350: checking for $ac_func" >&5 |
11346 | 11350 |
11347 cat > conftest.$ac_ext <<EOF | 11351 cat > conftest.$ac_ext <<EOF |
11348 #line 11349 "configure" | 11352 #line 11353 "configure" |
11349 #include "confdefs.h" | 11353 #include "confdefs.h" |
11350 /* System header to define __stub macros and hopefully few prototypes, | 11354 /* System header to define __stub macros and hopefully few prototypes, |
11351 which can conflict with char $ac_func(); below. */ | 11355 which can conflict with char $ac_func(); below. */ |
11352 #include <assert.h> | 11356 #include <assert.h> |
11353 /* Override any gcc2 internal prototype to avoid an error. */ | 11357 /* Override any gcc2 internal prototype to avoid an error. */ |
11366 $ac_func(); | 11370 $ac_func(); |
11367 #endif | 11371 #endif |
11368 | 11372 |
11369 ; return 0; } | 11373 ; return 0; } |
11370 EOF | 11374 EOF |
11371 if { (eval echo configure:11372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11372 rm -rf conftest* | 11376 rm -rf conftest* |
11373 eval "ac_cv_func_$ac_func=yes" | 11377 eval "ac_cv_func_$ac_func=yes" |
11374 else | 11378 else |
11375 echo "configure: failed program was:" >&5 | 11379 echo "configure: failed program was:" >&5 |
11376 cat conftest.$ac_ext >&5 | 11380 cat conftest.$ac_ext >&5 |
11399 if test "$ac_cv_func_getloadavg" = "yes"; then | 11403 if test "$ac_cv_func_getloadavg" = "yes"; then |
11400 for ac_hdr in sys/loadavg.h | 11404 for ac_hdr in sys/loadavg.h |
11401 do | 11405 do |
11402 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11406 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11404 echo "configure:11405: checking for $ac_hdr" >&5 | 11408 echo "configure:11409: checking for $ac_hdr" >&5 |
11405 | 11409 |
11406 cat > conftest.$ac_ext <<EOF | 11410 cat > conftest.$ac_ext <<EOF |
11407 #line 11408 "configure" | 11411 #line 11412 "configure" |
11408 #include "confdefs.h" | 11412 #include "confdefs.h" |
11409 #include <$ac_hdr> | 11413 #include <$ac_hdr> |
11410 EOF | 11414 EOF |
11411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11412 { (eval echo configure:11413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11416 { (eval echo configure:11417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11414 if test -z "$ac_err"; then | 11418 if test -z "$ac_err"; then |
11415 rm -rf conftest* | 11419 rm -rf conftest* |
11416 eval "ac_cv_header_$ac_safe=yes" | 11420 eval "ac_cv_header_$ac_safe=yes" |
11417 else | 11421 else |
11443 echo " xemacs will be linked with \"getloadavg.o\"" | 11447 echo " xemacs will be linked with \"getloadavg.o\"" |
11444 fi | 11448 fi |
11445 | 11449 |
11446 | 11450 |
11447 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11451 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11448 echo "configure:11449: checking for kstat_open in -lkstat" >&5 | 11452 echo "configure:11453: checking for kstat_open in -lkstat" >&5 |
11449 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11453 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11450 | 11454 |
11451 xe_check_libs=" -lkstat " | 11455 xe_check_libs=" -lkstat " |
11452 cat > conftest.$ac_ext <<EOF | 11456 cat > conftest.$ac_ext <<EOF |
11453 #line 11454 "configure" | 11457 #line 11458 "configure" |
11454 #include "confdefs.h" | 11458 #include "confdefs.h" |
11455 /* Override any gcc2 internal prototype to avoid an error. */ | 11459 /* Override any gcc2 internal prototype to avoid an error. */ |
11456 /* We use char because int might match the return type of a gcc2 | 11460 /* We use char because int might match the return type of a gcc2 |
11457 builtin and then its argument prototype would still apply. */ | 11461 builtin and then its argument prototype would still apply. */ |
11458 char kstat_open(); | 11462 char kstat_open(); |
11459 | 11463 |
11460 int main() { | 11464 int main() { |
11461 kstat_open() | 11465 kstat_open() |
11462 ; return 0; } | 11466 ; return 0; } |
11463 EOF | 11467 EOF |
11464 if { (eval echo configure:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11465 rm -rf conftest* | 11469 rm -rf conftest* |
11466 eval "ac_cv_lib_$ac_lib_var=yes" | 11470 eval "ac_cv_lib_$ac_lib_var=yes" |
11467 else | 11471 else |
11468 echo "configure: failed program was:" >&5 | 11472 echo "configure: failed program was:" >&5 |
11469 cat conftest.$ac_ext >&5 | 11473 cat conftest.$ac_ext >&5 |
11494 | 11498 |
11495 for ac_hdr in kstat.h | 11499 for ac_hdr in kstat.h |
11496 do | 11500 do |
11497 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11498 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11499 echo "configure:11500: checking for $ac_hdr" >&5 | 11503 echo "configure:11504: checking for $ac_hdr" >&5 |
11500 | 11504 |
11501 cat > conftest.$ac_ext <<EOF | 11505 cat > conftest.$ac_ext <<EOF |
11502 #line 11503 "configure" | 11506 #line 11507 "configure" |
11503 #include "confdefs.h" | 11507 #include "confdefs.h" |
11504 #include <$ac_hdr> | 11508 #include <$ac_hdr> |
11505 EOF | 11509 EOF |
11506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11507 { (eval echo configure:11508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11511 { (eval echo configure:11512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11509 if test -z "$ac_err"; then | 11513 if test -z "$ac_err"; then |
11510 rm -rf conftest* | 11514 rm -rf conftest* |
11511 eval "ac_cv_header_$ac_safe=yes" | 11515 eval "ac_cv_header_$ac_safe=yes" |
11512 else | 11516 else |
11534 done | 11538 done |
11535 | 11539 |
11536 | 11540 |
11537 | 11541 |
11538 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11542 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11539 echo "configure:11540: checking for kvm_read in -lkvm" >&5 | 11543 echo "configure:11544: checking for kvm_read in -lkvm" >&5 |
11540 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11544 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11541 | 11545 |
11542 xe_check_libs=" -lkvm " | 11546 xe_check_libs=" -lkvm " |
11543 cat > conftest.$ac_ext <<EOF | 11547 cat > conftest.$ac_ext <<EOF |
11544 #line 11545 "configure" | 11548 #line 11549 "configure" |
11545 #include "confdefs.h" | 11549 #include "confdefs.h" |
11546 /* Override any gcc2 internal prototype to avoid an error. */ | 11550 /* Override any gcc2 internal prototype to avoid an error. */ |
11547 /* We use char because int might match the return type of a gcc2 | 11551 /* We use char because int might match the return type of a gcc2 |
11548 builtin and then its argument prototype would still apply. */ | 11552 builtin and then its argument prototype would still apply. */ |
11549 char kvm_read(); | 11553 char kvm_read(); |
11550 | 11554 |
11551 int main() { | 11555 int main() { |
11552 kvm_read() | 11556 kvm_read() |
11553 ; return 0; } | 11557 ; return 0; } |
11554 EOF | 11558 EOF |
11555 if { (eval echo configure:11556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11559 if { (eval echo configure:11560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11556 rm -rf conftest* | 11560 rm -rf conftest* |
11557 eval "ac_cv_lib_$ac_lib_var=yes" | 11561 eval "ac_cv_lib_$ac_lib_var=yes" |
11558 else | 11562 else |
11559 echo "configure: failed program was:" >&5 | 11563 echo "configure: failed program was:" >&5 |
11560 cat conftest.$ac_ext >&5 | 11564 cat conftest.$ac_ext >&5 |
11584 | 11588 |
11585 | 11589 |
11586 fi | 11590 fi |
11587 | 11591 |
11588 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11592 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11589 echo "configure:11590: checking whether netdb declares h_errno" >&5 | 11593 echo "configure:11594: checking whether netdb declares h_errno" >&5 |
11590 cat > conftest.$ac_ext <<EOF | 11594 cat > conftest.$ac_ext <<EOF |
11591 #line 11592 "configure" | 11595 #line 11596 "configure" |
11592 #include "confdefs.h" | 11596 #include "confdefs.h" |
11593 #include <netdb.h> | 11597 #include <netdb.h> |
11594 int main() { | 11598 int main() { |
11595 return h_errno; | 11599 return h_errno; |
11596 ; return 0; } | 11600 ; return 0; } |
11597 EOF | 11601 EOF |
11598 if { (eval echo configure:11599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11602 if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11599 rm -rf conftest* | 11603 rm -rf conftest* |
11600 echo "$ac_t""yes" 1>&6 | 11604 echo "$ac_t""yes" 1>&6 |
11601 { test "$extra_verbose" = "yes" && cat << \EOF | 11605 { test "$extra_verbose" = "yes" && cat << \EOF |
11602 Defining HAVE_H_ERRNO | 11606 Defining HAVE_H_ERRNO |
11603 EOF | 11607 EOF |
11613 echo "$ac_t""no" 1>&6 | 11617 echo "$ac_t""no" 1>&6 |
11614 fi | 11618 fi |
11615 rm -f conftest* | 11619 rm -f conftest* |
11616 | 11620 |
11617 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11621 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11618 echo "configure:11619: checking for sigsetjmp" >&5 | 11622 echo "configure:11623: checking for sigsetjmp" >&5 |
11619 cat > conftest.$ac_ext <<EOF | 11623 cat > conftest.$ac_ext <<EOF |
11620 #line 11621 "configure" | 11624 #line 11625 "configure" |
11621 #include "confdefs.h" | 11625 #include "confdefs.h" |
11622 #include <setjmp.h> | 11626 #include <setjmp.h> |
11623 int main() { | 11627 int main() { |
11624 sigjmp_buf bar; sigsetjmp (bar, 0); | 11628 sigjmp_buf bar; sigsetjmp (bar, 0); |
11625 ; return 0; } | 11629 ; return 0; } |
11626 EOF | 11630 EOF |
11627 if { (eval echo configure:11628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11631 if { (eval echo configure:11632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11628 rm -rf conftest* | 11632 rm -rf conftest* |
11629 echo "$ac_t""yes" 1>&6 | 11633 echo "$ac_t""yes" 1>&6 |
11630 { test "$extra_verbose" = "yes" && cat << \EOF | 11634 { test "$extra_verbose" = "yes" && cat << \EOF |
11631 Defining HAVE_SIGSETJMP | 11635 Defining HAVE_SIGSETJMP |
11632 EOF | 11636 EOF |
11642 echo "$ac_t""no" 1>&6 | 11646 echo "$ac_t""no" 1>&6 |
11643 fi | 11647 fi |
11644 rm -f conftest* | 11648 rm -f conftest* |
11645 | 11649 |
11646 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11650 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11647 echo "configure:11648: checking whether localtime caches TZ" >&5 | 11651 echo "configure:11652: checking whether localtime caches TZ" >&5 |
11648 | 11652 |
11649 if test "$ac_cv_func_tzset" = "yes"; then | 11653 if test "$ac_cv_func_tzset" = "yes"; then |
11650 cat > conftest.$ac_ext <<EOF | 11654 cat > conftest.$ac_ext <<EOF |
11651 #line 11652 "configure" | 11655 #line 11656 "configure" |
11652 #include "confdefs.h" | 11656 #include "confdefs.h" |
11653 #include <time.h> | 11657 #include <time.h> |
11654 #if STDC_HEADERS | 11658 #if STDC_HEADERS |
11655 # include <stdlib.h> | 11659 # include <stdlib.h> |
11656 #endif | 11660 #endif |
11681 if (localtime (&now)->tm_hour != hour_unset) | 11685 if (localtime (&now)->tm_hour != hour_unset) |
11682 exit (1); | 11686 exit (1); |
11683 exit (0); | 11687 exit (0); |
11684 } | 11688 } |
11685 EOF | 11689 EOF |
11686 if { (eval echo configure:11687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11690 if { (eval echo configure:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11687 then | 11691 then |
11688 emacs_cv_localtime_cache=no | 11692 emacs_cv_localtime_cache=no |
11689 else | 11693 else |
11690 conftest_rc="$?" | 11694 conftest_rc="$?" |
11691 echo "configure: failed program was:" >&5 | 11695 echo "configure: failed program was:" >&5 |
11711 | 11715 |
11712 fi | 11716 fi |
11713 | 11717 |
11714 if test "$HAVE_TIMEVAL" = "yes"; then | 11718 if test "$HAVE_TIMEVAL" = "yes"; then |
11715 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11719 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11716 echo "configure:11717: checking whether gettimeofday accepts one or two arguments" >&5 | 11720 echo "configure:11721: checking whether gettimeofday accepts one or two arguments" >&5 |
11717 cat > conftest.$ac_ext <<EOF | 11721 cat > conftest.$ac_ext <<EOF |
11718 #line 11719 "configure" | 11722 #line 11723 "configure" |
11719 #include "confdefs.h" | 11723 #include "confdefs.h" |
11720 | 11724 |
11721 #ifdef TIME_WITH_SYS_TIME | 11725 #ifdef TIME_WITH_SYS_TIME |
11722 #include <sys/time.h> | 11726 #include <sys/time.h> |
11723 #include <time.h> | 11727 #include <time.h> |
11734 struct timeval time; | 11738 struct timeval time; |
11735 gettimeofday (&time, 0); | 11739 gettimeofday (&time, 0); |
11736 | 11740 |
11737 ; return 0; } | 11741 ; return 0; } |
11738 EOF | 11742 EOF |
11739 if { (eval echo configure:11740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11743 if { (eval echo configure:11744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11740 rm -rf conftest* | 11744 rm -rf conftest* |
11741 echo "$ac_t""two" 1>&6 | 11745 echo "$ac_t""two" 1>&6 |
11742 else | 11746 else |
11743 echo "configure: failed program was:" >&5 | 11747 echo "configure: failed program was:" >&5 |
11744 cat conftest.$ac_ext >&5 | 11748 cat conftest.$ac_ext >&5 |
11756 rm -f conftest* | 11760 rm -f conftest* |
11757 fi | 11761 fi |
11758 | 11762 |
11759 | 11763 |
11760 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11764 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11761 echo "configure:11762: checking for inline" >&5 | 11765 echo "configure:11766: checking for inline" >&5 |
11762 | 11766 |
11763 ac_cv_c_inline=no | 11767 ac_cv_c_inline=no |
11764 for ac_kw in inline __inline__ __inline; do | 11768 for ac_kw in inline __inline__ __inline; do |
11765 cat > conftest.$ac_ext <<EOF | 11769 cat > conftest.$ac_ext <<EOF |
11766 #line 11767 "configure" | 11770 #line 11771 "configure" |
11767 #include "confdefs.h" | 11771 #include "confdefs.h" |
11768 | 11772 |
11769 int main() { | 11773 int main() { |
11770 } $ac_kw foo() { | 11774 } $ac_kw foo() { |
11771 ; return 0; } | 11775 ; return 0; } |
11772 EOF | 11776 EOF |
11773 if { (eval echo configure:11774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11777 if { (eval echo configure:11778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11774 rm -rf conftest* | 11778 rm -rf conftest* |
11775 ac_cv_c_inline=$ac_kw; break | 11779 ac_cv_c_inline=$ac_kw; break |
11776 else | 11780 else |
11777 echo "configure: failed program was:" >&5 | 11781 echo "configure: failed program was:" >&5 |
11778 cat conftest.$ac_ext >&5 | 11782 cat conftest.$ac_ext >&5 |
11809 | 11813 |
11810 if test "$__DECC" != "yes"; then | 11814 if test "$__DECC" != "yes"; then |
11811 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11815 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11812 # for constant arguments. Useless! | 11816 # for constant arguments. Useless! |
11813 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11817 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11814 echo "configure:11815: checking for working alloca.h" >&5 | 11818 echo "configure:11819: checking for working alloca.h" >&5 |
11815 | 11819 |
11816 cat > conftest.$ac_ext <<EOF | 11820 cat > conftest.$ac_ext <<EOF |
11817 #line 11818 "configure" | 11821 #line 11822 "configure" |
11818 #include "confdefs.h" | 11822 #include "confdefs.h" |
11819 #include <alloca.h> | 11823 #include <alloca.h> |
11820 int main() { | 11824 int main() { |
11821 char *p = alloca(2 * sizeof(int)); | 11825 char *p = alloca(2 * sizeof(int)); |
11822 ; return 0; } | 11826 ; return 0; } |
11823 EOF | 11827 EOF |
11824 if { (eval echo configure:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11825 rm -rf conftest* | 11829 rm -rf conftest* |
11826 ac_cv_header_alloca_h=yes | 11830 ac_cv_header_alloca_h=yes |
11827 else | 11831 else |
11828 echo "configure: failed program was:" >&5 | 11832 echo "configure: failed program was:" >&5 |
11829 cat conftest.$ac_ext >&5 | 11833 cat conftest.$ac_ext >&5 |
11843 } | 11847 } |
11844 | 11848 |
11845 fi | 11849 fi |
11846 | 11850 |
11847 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11851 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11848 echo "configure:11849: checking for alloca" >&5 | 11852 echo "configure:11853: checking for alloca" >&5 |
11849 | 11853 |
11850 cat > conftest.$ac_ext <<EOF | 11854 cat > conftest.$ac_ext <<EOF |
11851 #line 11852 "configure" | 11855 #line 11856 "configure" |
11852 #include "confdefs.h" | 11856 #include "confdefs.h" |
11853 | 11857 |
11854 #ifdef __GNUC__ | 11858 #ifdef __GNUC__ |
11855 # define alloca __builtin_alloca | 11859 # define alloca __builtin_alloca |
11856 #else | 11860 #else |
11874 | 11878 |
11875 int main() { | 11879 int main() { |
11876 char *p = (char *) alloca(1); | 11880 char *p = (char *) alloca(1); |
11877 ; return 0; } | 11881 ; return 0; } |
11878 EOF | 11882 EOF |
11879 if { (eval echo configure:11880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11880 rm -rf conftest* | 11884 rm -rf conftest* |
11881 ac_cv_func_alloca_works=yes | 11885 ac_cv_func_alloca_works=yes |
11882 else | 11886 else |
11883 echo "configure: failed program was:" >&5 | 11887 echo "configure: failed program was:" >&5 |
11884 cat conftest.$ac_ext >&5 | 11888 cat conftest.$ac_ext >&5 |
11913 EOF | 11917 EOF |
11914 } | 11918 } |
11915 | 11919 |
11916 | 11920 |
11917 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11921 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11918 echo "configure:11919: checking whether alloca needs Cray hooks" >&5 | 11922 echo "configure:11923: checking whether alloca needs Cray hooks" >&5 |
11919 | 11923 |
11920 cat > conftest.$ac_ext <<EOF | 11924 cat > conftest.$ac_ext <<EOF |
11921 #line 11922 "configure" | 11925 #line 11926 "configure" |
11922 #include "confdefs.h" | 11926 #include "confdefs.h" |
11923 #if defined(CRAY) && ! defined(CRAY2) | 11927 #if defined(CRAY) && ! defined(CRAY2) |
11924 webecray | 11928 webecray |
11925 #else | 11929 #else |
11926 wenotbecray | 11930 wenotbecray |
11940 | 11944 |
11941 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11945 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11942 if test $ac_cv_os_cray = yes; then | 11946 if test $ac_cv_os_cray = yes; then |
11943 for ac_func in _getb67 GETB67 getb67; do | 11947 for ac_func in _getb67 GETB67 getb67; do |
11944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11945 echo "configure:11946: checking for $ac_func" >&5 | 11949 echo "configure:11950: checking for $ac_func" >&5 |
11946 | 11950 |
11947 cat > conftest.$ac_ext <<EOF | 11951 cat > conftest.$ac_ext <<EOF |
11948 #line 11949 "configure" | 11952 #line 11953 "configure" |
11949 #include "confdefs.h" | 11953 #include "confdefs.h" |
11950 /* System header to define __stub macros and hopefully few prototypes, | 11954 /* System header to define __stub macros and hopefully few prototypes, |
11951 which can conflict with char $ac_func(); below. */ | 11955 which can conflict with char $ac_func(); below. */ |
11952 #include <assert.h> | 11956 #include <assert.h> |
11953 /* Override any gcc2 internal prototype to avoid an error. */ | 11957 /* Override any gcc2 internal prototype to avoid an error. */ |
11966 $ac_func(); | 11970 $ac_func(); |
11967 #endif | 11971 #endif |
11968 | 11972 |
11969 ; return 0; } | 11973 ; return 0; } |
11970 EOF | 11974 EOF |
11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11975 if { (eval echo configure:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11972 rm -rf conftest* | 11976 rm -rf conftest* |
11973 eval "ac_cv_func_$ac_func=yes" | 11977 eval "ac_cv_func_$ac_func=yes" |
11974 else | 11978 else |
11975 echo "configure: failed program was:" >&5 | 11979 echo "configure: failed program was:" >&5 |
11976 cat conftest.$ac_ext >&5 | 11980 cat conftest.$ac_ext >&5 |
11996 | 12000 |
11997 done | 12001 done |
11998 fi | 12002 fi |
11999 | 12003 |
12000 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12004 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12001 echo "configure:12002: checking stack direction for C alloca" >&5 | 12005 echo "configure:12006: checking stack direction for C alloca" >&5 |
12002 | 12006 |
12003 cat > conftest.$ac_ext <<EOF | 12007 cat > conftest.$ac_ext <<EOF |
12004 #line 12005 "configure" | 12008 #line 12009 "configure" |
12005 #include "confdefs.h" | 12009 #include "confdefs.h" |
12006 find_stack_direction () | 12010 find_stack_direction () |
12007 { | 12011 { |
12008 static char *addr = 0; | 12012 static char *addr = 0; |
12009 auto char dummy; | 12013 auto char dummy; |
12018 main () | 12022 main () |
12019 { | 12023 { |
12020 exit (find_stack_direction() < 0); | 12024 exit (find_stack_direction() < 0); |
12021 } | 12025 } |
12022 EOF | 12026 EOF |
12023 if { (eval echo configure:12024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12024 then | 12028 then |
12025 ac_cv_c_stack_direction=1 | 12029 ac_cv_c_stack_direction=1 |
12026 else | 12030 else |
12027 conftest_rc="$?" | 12031 conftest_rc="$?" |
12028 echo "configure: failed program was:" >&5 | 12032 echo "configure: failed program was:" >&5 |
12047 echo " xemacs will be linked with \"$ALLOCA\"" | 12051 echo " xemacs will be linked with \"$ALLOCA\"" |
12048 fi | 12052 fi |
12049 fi | 12053 fi |
12050 | 12054 |
12051 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12055 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12052 echo "configure:12053: checking for working strcoll" >&5 | 12056 echo "configure:12057: checking for working strcoll" >&5 |
12053 | 12057 |
12054 cat > conftest.$ac_ext <<EOF | 12058 cat > conftest.$ac_ext <<EOF |
12055 #line 12056 "configure" | 12059 #line 12060 "configure" |
12056 #include "confdefs.h" | 12060 #include "confdefs.h" |
12057 #include <string.h> | 12061 #include <string.h> |
12058 main () | 12062 main () |
12059 { | 12063 { |
12060 exit (strcoll ("abc", "def") >= 0 || | 12064 exit (strcoll ("abc", "def") >= 0 || |
12061 strcoll ("ABC", "DEF") >= 0 || | 12065 strcoll ("ABC", "DEF") >= 0 || |
12062 strcoll ("123", "456") >= 0); | 12066 strcoll ("123", "456") >= 0); |
12063 } | 12067 } |
12064 EOF | 12068 EOF |
12065 if { (eval echo configure:12066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12069 if { (eval echo configure:12070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12066 then | 12070 then |
12067 ac_cv_func_strcoll_works=yes | 12071 ac_cv_func_strcoll_works=yes |
12068 else | 12072 else |
12069 conftest_rc="$?" | 12073 conftest_rc="$?" |
12070 echo "configure: failed program was:" >&5 | 12074 echo "configure: failed program was:" >&5 |
12088 | 12092 |
12089 | 12093 |
12090 for ac_func in getpgrp | 12094 for ac_func in getpgrp |
12091 do | 12095 do |
12092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12093 echo "configure:12094: checking for $ac_func" >&5 | 12097 echo "configure:12098: checking for $ac_func" >&5 |
12094 | 12098 |
12095 cat > conftest.$ac_ext <<EOF | 12099 cat > conftest.$ac_ext <<EOF |
12096 #line 12097 "configure" | 12100 #line 12101 "configure" |
12097 #include "confdefs.h" | 12101 #include "confdefs.h" |
12098 /* System header to define __stub macros and hopefully few prototypes, | 12102 /* System header to define __stub macros and hopefully few prototypes, |
12099 which can conflict with char $ac_func(); below. */ | 12103 which can conflict with char $ac_func(); below. */ |
12100 #include <assert.h> | 12104 #include <assert.h> |
12101 /* Override any gcc2 internal prototype to avoid an error. */ | 12105 /* Override any gcc2 internal prototype to avoid an error. */ |
12114 $ac_func(); | 12118 $ac_func(); |
12115 #endif | 12119 #endif |
12116 | 12120 |
12117 ; return 0; } | 12121 ; return 0; } |
12118 EOF | 12122 EOF |
12119 if { (eval echo configure:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12123 if { (eval echo configure:12124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12120 rm -rf conftest* | 12124 rm -rf conftest* |
12121 eval "ac_cv_func_$ac_func=yes" | 12125 eval "ac_cv_func_$ac_func=yes" |
12122 else | 12126 else |
12123 echo "configure: failed program was:" >&5 | 12127 echo "configure: failed program was:" >&5 |
12124 cat conftest.$ac_ext >&5 | 12128 cat conftest.$ac_ext >&5 |
12142 echo "$ac_t""no" 1>&6 | 12146 echo "$ac_t""no" 1>&6 |
12143 fi | 12147 fi |
12144 done | 12148 done |
12145 | 12149 |
12146 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12150 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12147 echo "configure:12148: checking whether getpgrp takes no argument" >&5 | 12151 echo "configure:12152: checking whether getpgrp takes no argument" >&5 |
12148 | 12152 |
12149 cat > conftest.$ac_ext <<EOF | 12153 cat > conftest.$ac_ext <<EOF |
12150 #line 12151 "configure" | 12154 #line 12155 "configure" |
12151 #include "confdefs.h" | 12155 #include "confdefs.h" |
12152 | 12156 |
12153 /* | 12157 /* |
12154 * If this system has a BSD-style getpgrp(), | 12158 * If this system has a BSD-style getpgrp(), |
12155 * which takes a pid argument, exit unsuccessfully. | 12159 * which takes a pid argument, exit unsuccessfully. |
12200 exit(s>>8); | 12204 exit(s>>8); |
12201 } | 12205 } |
12202 } | 12206 } |
12203 | 12207 |
12204 EOF | 12208 EOF |
12205 if { (eval echo configure:12206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12209 if { (eval echo configure:12210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12206 then | 12210 then |
12207 ac_cv_func_getpgrp_void=yes | 12211 ac_cv_func_getpgrp_void=yes |
12208 else | 12212 else |
12209 conftest_rc="$?" | 12213 conftest_rc="$?" |
12210 echo "configure: failed program was:" >&5 | 12214 echo "configure: failed program was:" >&5 |
12227 | 12231 |
12228 fi | 12232 fi |
12229 | 12233 |
12230 | 12234 |
12231 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12232 echo "configure:12233: checking for working mmap" >&5 | 12236 echo "configure:12237: checking for working mmap" >&5 |
12233 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12237 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12234 cat > conftest.$ac_ext <<EOF | 12238 cat > conftest.$ac_ext <<EOF |
12235 #line 12236 "configure" | 12239 #line 12240 "configure" |
12236 #include "confdefs.h" | 12240 #include "confdefs.h" |
12237 #include <stdio.h> | 12241 #include <stdio.h> |
12238 #include <unistd.h> | 12242 #include <unistd.h> |
12239 #include <fcntl.h> | 12243 #include <fcntl.h> |
12240 #include <sys/mman.h> | 12244 #include <sys/mman.h> |
12263 return 0; | 12267 return 0; |
12264 perror ("conftest: mmap failed"); | 12268 perror ("conftest: mmap failed"); |
12265 return 1; | 12269 return 1; |
12266 } | 12270 } |
12267 EOF | 12271 EOF |
12268 if { (eval echo configure:12269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12272 if { (eval echo configure:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12269 then | 12273 then |
12270 have_mmap=yes | 12274 have_mmap=yes |
12271 else | 12275 else |
12272 conftest_rc="$?" | 12276 conftest_rc="$?" |
12273 echo "configure: failed program was:" >&5 | 12277 echo "configure: failed program was:" >&5 |
12292 esac | 12296 esac |
12293 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12297 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12294 if test "$rel_alloc $have_mmap" = "default yes"; then | 12298 if test "$rel_alloc $have_mmap" = "default yes"; then |
12295 if test "$doug_lea_malloc" = "yes"; then | 12299 if test "$doug_lea_malloc" = "yes"; then |
12296 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12300 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12297 echo "configure:12298: checking for M_MMAP_THRESHOLD" >&5 | 12301 echo "configure:12302: checking for M_MMAP_THRESHOLD" >&5 |
12298 cat > conftest.$ac_ext <<EOF | 12302 cat > conftest.$ac_ext <<EOF |
12299 #line 12300 "configure" | 12303 #line 12304 "configure" |
12300 #include "confdefs.h" | 12304 #include "confdefs.h" |
12301 #include <malloc.h> | 12305 #include <malloc.h> |
12302 int main() { | 12306 int main() { |
12303 | 12307 |
12304 #ifndef M_MMAP_THRESHOLD | 12308 #ifndef M_MMAP_THRESHOLD |
12306 !@+$%^&*_)(_ - unlikely to compile... | 12310 !@+$%^&*_)(_ - unlikely to compile... |
12307 #endif | 12311 #endif |
12308 | 12312 |
12309 ; return 0; } | 12313 ; return 0; } |
12310 EOF | 12314 EOF |
12311 if { (eval echo configure:12312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12315 if { (eval echo configure:12316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12312 rm -rf conftest* | 12316 rm -rf conftest* |
12313 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12317 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12314 else | 12318 else |
12315 echo "configure: failed program was:" >&5 | 12319 echo "configure: failed program was:" >&5 |
12316 cat conftest.$ac_ext >&5 | 12320 cat conftest.$ac_ext >&5 |
12331 } | 12335 } |
12332 | 12336 |
12333 | 12337 |
12334 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12338 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12335 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12339 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12336 echo "configure:12337: checking for termios.h" >&5 | 12340 echo "configure:12341: checking for termios.h" >&5 |
12337 | 12341 |
12338 cat > conftest.$ac_ext <<EOF | 12342 cat > conftest.$ac_ext <<EOF |
12339 #line 12340 "configure" | 12343 #line 12344 "configure" |
12340 #include "confdefs.h" | 12344 #include "confdefs.h" |
12341 #include <termios.h> | 12345 #include <termios.h> |
12342 EOF | 12346 EOF |
12343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12344 { (eval echo configure:12345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12348 { (eval echo configure:12349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12346 if test -z "$ac_err"; then | 12350 if test -z "$ac_err"; then |
12347 rm -rf conftest* | 12351 rm -rf conftest* |
12348 eval "ac_cv_header_$ac_safe=yes" | 12352 eval "ac_cv_header_$ac_safe=yes" |
12349 else | 12353 else |
12382 | 12386 |
12383 else | 12387 else |
12384 echo "$ac_t""no" 1>&6 | 12388 echo "$ac_t""no" 1>&6 |
12385 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12389 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12386 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12390 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12387 echo "configure:12388: checking for termio.h" >&5 | 12391 echo "configure:12392: checking for termio.h" >&5 |
12388 | 12392 |
12389 cat > conftest.$ac_ext <<EOF | 12393 cat > conftest.$ac_ext <<EOF |
12390 #line 12391 "configure" | 12394 #line 12395 "configure" |
12391 #include "confdefs.h" | 12395 #include "confdefs.h" |
12392 #include <termio.h> | 12396 #include <termio.h> |
12393 EOF | 12397 EOF |
12394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12395 { (eval echo configure:12396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12399 { (eval echo configure:12400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12397 if test -z "$ac_err"; then | 12401 if test -z "$ac_err"; then |
12398 rm -rf conftest* | 12402 rm -rf conftest* |
12399 eval "ac_cv_header_$ac_safe=yes" | 12403 eval "ac_cv_header_$ac_safe=yes" |
12400 else | 12404 else |
12422 fi | 12426 fi |
12423 | 12427 |
12424 | 12428 |
12425 | 12429 |
12426 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12430 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12427 echo "configure:12428: checking for socket" >&5 | 12431 echo "configure:12432: checking for socket" >&5 |
12428 | 12432 |
12429 cat > conftest.$ac_ext <<EOF | 12433 cat > conftest.$ac_ext <<EOF |
12430 #line 12431 "configure" | 12434 #line 12435 "configure" |
12431 #include "confdefs.h" | 12435 #include "confdefs.h" |
12432 /* System header to define __stub macros and hopefully few prototypes, | 12436 /* System header to define __stub macros and hopefully few prototypes, |
12433 which can conflict with char socket(); below. */ | 12437 which can conflict with char socket(); below. */ |
12434 #include <assert.h> | 12438 #include <assert.h> |
12435 /* Override any gcc2 internal prototype to avoid an error. */ | 12439 /* Override any gcc2 internal prototype to avoid an error. */ |
12448 socket(); | 12452 socket(); |
12449 #endif | 12453 #endif |
12450 | 12454 |
12451 ; return 0; } | 12455 ; return 0; } |
12452 EOF | 12456 EOF |
12453 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12457 if { (eval echo configure:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12454 rm -rf conftest* | 12458 rm -rf conftest* |
12455 eval "ac_cv_func_socket=yes" | 12459 eval "ac_cv_func_socket=yes" |
12456 else | 12460 else |
12457 echo "configure: failed program was:" >&5 | 12461 echo "configure: failed program was:" >&5 |
12458 cat conftest.$ac_ext >&5 | 12462 cat conftest.$ac_ext >&5 |
12463 | 12467 |
12464 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12468 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12465 echo "$ac_t""yes" 1>&6 | 12469 echo "$ac_t""yes" 1>&6 |
12466 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12470 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12467 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12471 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12468 echo "configure:12469: checking for netinet/in.h" >&5 | 12472 echo "configure:12473: checking for netinet/in.h" >&5 |
12469 | 12473 |
12470 cat > conftest.$ac_ext <<EOF | 12474 cat > conftest.$ac_ext <<EOF |
12471 #line 12472 "configure" | 12475 #line 12476 "configure" |
12472 #include "confdefs.h" | 12476 #include "confdefs.h" |
12473 #include <netinet/in.h> | 12477 #include <netinet/in.h> |
12474 EOF | 12478 EOF |
12475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12476 { (eval echo configure:12477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12480 { (eval echo configure:12481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12478 if test -z "$ac_err"; then | 12482 if test -z "$ac_err"; then |
12479 rm -rf conftest* | 12483 rm -rf conftest* |
12480 eval "ac_cv_header_$ac_safe=yes" | 12484 eval "ac_cv_header_$ac_safe=yes" |
12481 else | 12485 else |
12488 rm -f conftest* | 12492 rm -f conftest* |
12489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12493 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12490 echo "$ac_t""yes" 1>&6 | 12494 echo "$ac_t""yes" 1>&6 |
12491 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12495 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12492 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12496 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12493 echo "configure:12494: checking for arpa/inet.h" >&5 | 12497 echo "configure:12498: checking for arpa/inet.h" >&5 |
12494 | 12498 |
12495 cat > conftest.$ac_ext <<EOF | 12499 cat > conftest.$ac_ext <<EOF |
12496 #line 12497 "configure" | 12500 #line 12501 "configure" |
12497 #include "confdefs.h" | 12501 #include "confdefs.h" |
12498 #include <arpa/inet.h> | 12502 #include <arpa/inet.h> |
12499 EOF | 12503 EOF |
12500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12501 { (eval echo configure:12502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12505 { (eval echo configure:12506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12503 if test -z "$ac_err"; then | 12507 if test -z "$ac_err"; then |
12504 rm -rf conftest* | 12508 rm -rf conftest* |
12505 eval "ac_cv_header_$ac_safe=yes" | 12509 eval "ac_cv_header_$ac_safe=yes" |
12506 else | 12510 else |
12521 #define HAVE_SOCKETS 1 | 12525 #define HAVE_SOCKETS 1 |
12522 EOF | 12526 EOF |
12523 } | 12527 } |
12524 | 12528 |
12525 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12529 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12526 echo "configure:12527: checking "for sun_len member in struct sockaddr_un"" >&5 | 12530 echo "configure:12531: checking "for sun_len member in struct sockaddr_un"" >&5 |
12527 cat > conftest.$ac_ext <<EOF | 12531 cat > conftest.$ac_ext <<EOF |
12528 #line 12529 "configure" | 12532 #line 12533 "configure" |
12529 #include "confdefs.h" | 12533 #include "confdefs.h" |
12530 | 12534 |
12531 #include <sys/types.h> | 12535 #include <sys/types.h> |
12532 #include <sys/socket.h> | 12536 #include <sys/socket.h> |
12533 #include <sys/un.h> | 12537 #include <sys/un.h> |
12534 | 12538 |
12535 int main() { | 12539 int main() { |
12536 static struct sockaddr_un x; x.sun_len = 1; | 12540 static struct sockaddr_un x; x.sun_len = 1; |
12537 ; return 0; } | 12541 ; return 0; } |
12538 EOF | 12542 EOF |
12539 if { (eval echo configure:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12543 if { (eval echo configure:12544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12540 rm -rf conftest* | 12544 rm -rf conftest* |
12541 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12545 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12542 Defining HAVE_SOCKADDR_SUN_LEN | 12546 Defining HAVE_SOCKADDR_SUN_LEN |
12543 EOF | 12547 EOF |
12544 cat >> confdefs.h <<\EOF | 12548 cat >> confdefs.h <<\EOF |
12552 rm -rf conftest* | 12556 rm -rf conftest* |
12553 echo "$ac_t""no" 1>&6 | 12557 echo "$ac_t""no" 1>&6 |
12554 fi | 12558 fi |
12555 rm -f conftest* | 12559 rm -f conftest* |
12556 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12560 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12557 echo "configure:12558: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12561 echo "configure:12562: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12558 cat > conftest.$ac_ext <<EOF | 12562 cat > conftest.$ac_ext <<EOF |
12559 #line 12560 "configure" | 12563 #line 12564 "configure" |
12560 #include "confdefs.h" | 12564 #include "confdefs.h" |
12561 | 12565 |
12562 #include <sys/types.h> | 12566 #include <sys/types.h> |
12563 #include <netinet/in.h> | 12567 #include <netinet/in.h> |
12564 | 12568 |
12565 int main() { | 12569 int main() { |
12566 static struct ip_mreq x; | 12570 static struct ip_mreq x; |
12567 ; return 0; } | 12571 ; return 0; } |
12568 EOF | 12572 EOF |
12569 if { (eval echo configure:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12573 if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12570 rm -rf conftest* | 12574 rm -rf conftest* |
12571 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12575 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12572 Defining HAVE_MULTICAST | 12576 Defining HAVE_MULTICAST |
12573 EOF | 12577 EOF |
12574 cat >> confdefs.h <<\EOF | 12578 cat >> confdefs.h <<\EOF |
12595 echo "$ac_t""no" 1>&6 | 12599 echo "$ac_t""no" 1>&6 |
12596 fi | 12600 fi |
12597 | 12601 |
12598 | 12602 |
12599 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12603 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12600 echo "configure:12601: checking for msgget" >&5 | 12604 echo "configure:12605: checking for msgget" >&5 |
12601 | 12605 |
12602 cat > conftest.$ac_ext <<EOF | 12606 cat > conftest.$ac_ext <<EOF |
12603 #line 12604 "configure" | 12607 #line 12608 "configure" |
12604 #include "confdefs.h" | 12608 #include "confdefs.h" |
12605 /* System header to define __stub macros and hopefully few prototypes, | 12609 /* System header to define __stub macros and hopefully few prototypes, |
12606 which can conflict with char msgget(); below. */ | 12610 which can conflict with char msgget(); below. */ |
12607 #include <assert.h> | 12611 #include <assert.h> |
12608 /* Override any gcc2 internal prototype to avoid an error. */ | 12612 /* Override any gcc2 internal prototype to avoid an error. */ |
12621 msgget(); | 12625 msgget(); |
12622 #endif | 12626 #endif |
12623 | 12627 |
12624 ; return 0; } | 12628 ; return 0; } |
12625 EOF | 12629 EOF |
12626 if { (eval echo configure:12627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12630 if { (eval echo configure:12631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12627 rm -rf conftest* | 12631 rm -rf conftest* |
12628 eval "ac_cv_func_msgget=yes" | 12632 eval "ac_cv_func_msgget=yes" |
12629 else | 12633 else |
12630 echo "configure: failed program was:" >&5 | 12634 echo "configure: failed program was:" >&5 |
12631 cat conftest.$ac_ext >&5 | 12635 cat conftest.$ac_ext >&5 |
12636 | 12640 |
12637 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12641 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12638 echo "$ac_t""yes" 1>&6 | 12642 echo "$ac_t""yes" 1>&6 |
12639 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12643 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12640 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12644 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12641 echo "configure:12642: checking for sys/ipc.h" >&5 | 12645 echo "configure:12646: checking for sys/ipc.h" >&5 |
12642 | 12646 |
12643 cat > conftest.$ac_ext <<EOF | 12647 cat > conftest.$ac_ext <<EOF |
12644 #line 12645 "configure" | 12648 #line 12649 "configure" |
12645 #include "confdefs.h" | 12649 #include "confdefs.h" |
12646 #include <sys/ipc.h> | 12650 #include <sys/ipc.h> |
12647 EOF | 12651 EOF |
12648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12649 { (eval echo configure:12650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12653 { (eval echo configure:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12651 if test -z "$ac_err"; then | 12655 if test -z "$ac_err"; then |
12652 rm -rf conftest* | 12656 rm -rf conftest* |
12653 eval "ac_cv_header_$ac_safe=yes" | 12657 eval "ac_cv_header_$ac_safe=yes" |
12654 else | 12658 else |
12661 rm -f conftest* | 12665 rm -f conftest* |
12662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12666 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12663 echo "$ac_t""yes" 1>&6 | 12667 echo "$ac_t""yes" 1>&6 |
12664 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12668 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12665 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12669 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12666 echo "configure:12667: checking for sys/msg.h" >&5 | 12670 echo "configure:12671: checking for sys/msg.h" >&5 |
12667 | 12671 |
12668 cat > conftest.$ac_ext <<EOF | 12672 cat > conftest.$ac_ext <<EOF |
12669 #line 12670 "configure" | 12673 #line 12674 "configure" |
12670 #include "confdefs.h" | 12674 #include "confdefs.h" |
12671 #include <sys/msg.h> | 12675 #include <sys/msg.h> |
12672 EOF | 12676 EOF |
12673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12674 { (eval echo configure:12675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12678 { (eval echo configure:12679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12676 if test -z "$ac_err"; then | 12680 if test -z "$ac_err"; then |
12677 rm -rf conftest* | 12681 rm -rf conftest* |
12678 eval "ac_cv_header_$ac_safe=yes" | 12682 eval "ac_cv_header_$ac_safe=yes" |
12679 else | 12683 else |
12707 fi | 12711 fi |
12708 | 12712 |
12709 | 12713 |
12710 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12714 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12711 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12715 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12712 echo "configure:12713: checking for dirent.h" >&5 | 12716 echo "configure:12717: checking for dirent.h" >&5 |
12713 | 12717 |
12714 cat > conftest.$ac_ext <<EOF | 12718 cat > conftest.$ac_ext <<EOF |
12715 #line 12716 "configure" | 12719 #line 12720 "configure" |
12716 #include "confdefs.h" | 12720 #include "confdefs.h" |
12717 #include <dirent.h> | 12721 #include <dirent.h> |
12718 EOF | 12722 EOF |
12719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12720 { (eval echo configure:12721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12724 { (eval echo configure:12725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12722 if test -z "$ac_err"; then | 12726 if test -z "$ac_err"; then |
12723 rm -rf conftest* | 12727 rm -rf conftest* |
12724 eval "ac_cv_header_$ac_safe=yes" | 12728 eval "ac_cv_header_$ac_safe=yes" |
12725 else | 12729 else |
12742 | 12746 |
12743 else | 12747 else |
12744 echo "$ac_t""no" 1>&6 | 12748 echo "$ac_t""no" 1>&6 |
12745 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12749 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12746 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12750 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12747 echo "configure:12748: checking for sys/dir.h" >&5 | 12751 echo "configure:12752: checking for sys/dir.h" >&5 |
12748 | 12752 |
12749 cat > conftest.$ac_ext <<EOF | 12753 cat > conftest.$ac_ext <<EOF |
12750 #line 12751 "configure" | 12754 #line 12755 "configure" |
12751 #include "confdefs.h" | 12755 #include "confdefs.h" |
12752 #include <sys/dir.h> | 12756 #include <sys/dir.h> |
12753 EOF | 12757 EOF |
12754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12755 { (eval echo configure:12756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12759 { (eval echo configure:12760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12757 if test -z "$ac_err"; then | 12761 if test -z "$ac_err"; then |
12758 rm -rf conftest* | 12762 rm -rf conftest* |
12759 eval "ac_cv_header_$ac_safe=yes" | 12763 eval "ac_cv_header_$ac_safe=yes" |
12760 else | 12764 else |
12783 fi | 12787 fi |
12784 | 12788 |
12785 | 12789 |
12786 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12790 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12787 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12791 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12788 echo "configure:12789: checking for nlist.h" >&5 | 12792 echo "configure:12793: checking for nlist.h" >&5 |
12789 | 12793 |
12790 cat > conftest.$ac_ext <<EOF | 12794 cat > conftest.$ac_ext <<EOF |
12791 #line 12792 "configure" | 12795 #line 12796 "configure" |
12792 #include "confdefs.h" | 12796 #include "confdefs.h" |
12793 #include <nlist.h> | 12797 #include <nlist.h> |
12794 EOF | 12798 EOF |
12795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12796 { (eval echo configure:12797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12800 { (eval echo configure:12801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12798 if test -z "$ac_err"; then | 12802 if test -z "$ac_err"; then |
12799 rm -rf conftest* | 12803 rm -rf conftest* |
12800 eval "ac_cv_header_$ac_safe=yes" | 12804 eval "ac_cv_header_$ac_safe=yes" |
12801 else | 12805 else |
12821 fi | 12825 fi |
12822 | 12826 |
12823 | 12827 |
12824 | 12828 |
12825 echo "checking "for sound support"" 1>&6 | 12829 echo "checking "for sound support"" 1>&6 |
12826 echo "configure:12827: checking "for sound support"" >&5 | 12830 echo "configure:12831: checking "for sound support"" >&5 |
12827 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12831 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12828 | 12832 |
12829 if test "$with_native_sound" != "no"; then | 12833 if test "$with_native_sound" != "no"; then |
12830 if test -n "$native_sound_lib"; then | 12834 if test -n "$native_sound_lib"; then |
12831 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12835 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12832 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12836 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12833 echo "configure:12834: checking for multimedia/audio_device.h" >&5 | 12837 echo "configure:12838: checking for multimedia/audio_device.h" >&5 |
12834 | 12838 |
12835 cat > conftest.$ac_ext <<EOF | 12839 cat > conftest.$ac_ext <<EOF |
12836 #line 12837 "configure" | 12840 #line 12841 "configure" |
12837 #include "confdefs.h" | 12841 #include "confdefs.h" |
12838 #include <multimedia/audio_device.h> | 12842 #include <multimedia/audio_device.h> |
12839 EOF | 12843 EOF |
12840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12841 { (eval echo configure:12842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12845 { (eval echo configure:12846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12843 if test -z "$ac_err"; then | 12847 if test -z "$ac_err"; then |
12844 rm -rf conftest* | 12848 rm -rf conftest* |
12845 eval "ac_cv_header_$ac_safe=yes" | 12849 eval "ac_cv_header_$ac_safe=yes" |
12846 else | 12850 else |
12884 case "$canonical" in | 12888 case "$canonical" in |
12885 *-sgi-* ) | 12889 *-sgi-* ) |
12886 if test -z "$native_sound_lib"; then | 12890 if test -z "$native_sound_lib"; then |
12887 | 12891 |
12888 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12892 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12889 echo "configure:12890: checking for ALopenport in -laudio" >&5 | 12893 echo "configure:12894: checking for ALopenport in -laudio" >&5 |
12890 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12894 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12891 | 12895 |
12892 xe_check_libs=" -laudio " | 12896 xe_check_libs=" -laudio " |
12893 cat > conftest.$ac_ext <<EOF | 12897 cat > conftest.$ac_ext <<EOF |
12894 #line 12895 "configure" | 12898 #line 12899 "configure" |
12895 #include "confdefs.h" | 12899 #include "confdefs.h" |
12896 /* Override any gcc2 internal prototype to avoid an error. */ | 12900 /* Override any gcc2 internal prototype to avoid an error. */ |
12897 /* We use char because int might match the return type of a gcc2 | 12901 /* We use char because int might match the return type of a gcc2 |
12898 builtin and then its argument prototype would still apply. */ | 12902 builtin and then its argument prototype would still apply. */ |
12899 char ALopenport(); | 12903 char ALopenport(); |
12900 | 12904 |
12901 int main() { | 12905 int main() { |
12902 ALopenport() | 12906 ALopenport() |
12903 ; return 0; } | 12907 ; return 0; } |
12904 EOF | 12908 EOF |
12905 if { (eval echo configure:12906: \"$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 |
12906 rm -rf conftest* | 12910 rm -rf conftest* |
12907 eval "ac_cv_lib_$ac_lib_var=yes" | 12911 eval "ac_cv_lib_$ac_lib_var=yes" |
12908 else | 12912 else |
12909 echo "configure: failed program was:" >&5 | 12913 echo "configure: failed program was:" >&5 |
12910 cat conftest.$ac_ext >&5 | 12914 cat conftest.$ac_ext >&5 |
12931 fi ;; | 12935 fi ;; |
12932 hppa*-hp-hpux* ) | 12936 hppa*-hp-hpux* ) |
12933 if test -z "$native_sound_lib"; then | 12937 if test -z "$native_sound_lib"; then |
12934 | 12938 |
12935 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12939 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12936 echo "configure:12937: checking for AOpenAudio in -lAlib" >&5 | 12940 echo "configure:12941: checking for AOpenAudio in -lAlib" >&5 |
12937 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12941 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12938 | 12942 |
12939 xe_check_libs=" -lAlib " | 12943 xe_check_libs=" -lAlib " |
12940 cat > conftest.$ac_ext <<EOF | 12944 cat > conftest.$ac_ext <<EOF |
12941 #line 12942 "configure" | 12945 #line 12946 "configure" |
12942 #include "confdefs.h" | 12946 #include "confdefs.h" |
12943 /* Override any gcc2 internal prototype to avoid an error. */ | 12947 /* Override any gcc2 internal prototype to avoid an error. */ |
12944 /* We use char because int might match the return type of a gcc2 | 12948 /* We use char because int might match the return type of a gcc2 |
12945 builtin and then its argument prototype would still apply. */ | 12949 builtin and then its argument prototype would still apply. */ |
12946 char AOpenAudio(); | 12950 char AOpenAudio(); |
12947 | 12951 |
12948 int main() { | 12952 int main() { |
12949 AOpenAudio() | 12953 AOpenAudio() |
12950 ; return 0; } | 12954 ; return 0; } |
12951 EOF | 12955 EOF |
12952 if { (eval echo configure:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12953 rm -rf conftest* | 12957 rm -rf conftest* |
12954 eval "ac_cv_lib_$ac_lib_var=yes" | 12958 eval "ac_cv_lib_$ac_lib_var=yes" |
12955 else | 12959 else |
12956 echo "configure: failed program was:" >&5 | 12960 echo "configure: failed program was:" >&5 |
12957 cat conftest.$ac_ext >&5 | 12961 cat conftest.$ac_ext >&5 |
12995 | 12999 |
12996 if test -z "$sound_found"; then | 13000 if test -z "$sound_found"; then |
12997 for dir in "machine" "sys" "linux"; do | 13001 for dir in "machine" "sys" "linux"; do |
12998 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13002 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12999 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13003 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13000 echo "configure:13001: checking for ${dir}/soundcard.h" >&5 | 13004 echo "configure:13005: checking for ${dir}/soundcard.h" >&5 |
13001 | 13005 |
13002 cat > conftest.$ac_ext <<EOF | 13006 cat > conftest.$ac_ext <<EOF |
13003 #line 13004 "configure" | 13007 #line 13008 "configure" |
13004 #include "confdefs.h" | 13008 #include "confdefs.h" |
13005 #include <${dir}/soundcard.h> | 13009 #include <${dir}/soundcard.h> |
13006 EOF | 13010 EOF |
13007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13008 { (eval echo configure:13009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13012 { (eval echo configure:13013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13010 if test -z "$ac_err"; then | 13014 if test -z "$ac_err"; then |
13011 rm -rf conftest* | 13015 rm -rf conftest* |
13012 eval "ac_cv_header_$ac_safe=yes" | 13016 eval "ac_cv_header_$ac_safe=yes" |
13013 else | 13017 else |
13057 fi | 13061 fi |
13058 | 13062 |
13059 if test "$with_nas_sound" != "no"; then | 13063 if test "$with_nas_sound" != "no"; then |
13060 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13064 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13061 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13065 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13062 echo "configure:13063: checking for audio/audiolib.h" >&5 | 13066 echo "configure:13067: checking for audio/audiolib.h" >&5 |
13063 | 13067 |
13064 cat > conftest.$ac_ext <<EOF | 13068 cat > conftest.$ac_ext <<EOF |
13065 #line 13066 "configure" | 13069 #line 13070 "configure" |
13066 #include "confdefs.h" | 13070 #include "confdefs.h" |
13067 #include <audio/audiolib.h> | 13071 #include <audio/audiolib.h> |
13068 EOF | 13072 EOF |
13069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13070 { (eval echo configure:13071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13074 { (eval echo configure:13075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13072 if test -z "$ac_err"; then | 13076 if test -z "$ac_err"; then |
13073 rm -rf conftest* | 13077 rm -rf conftest* |
13074 eval "ac_cv_header_$ac_safe=yes" | 13078 eval "ac_cv_header_$ac_safe=yes" |
13075 else | 13079 else |
13083 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13084 echo "$ac_t""yes" 1>&6 | 13088 echo "$ac_t""yes" 1>&6 |
13085 | 13089 |
13086 | 13090 |
13087 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13091 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13088 echo "configure:13089: checking for AuOpenServer in -laudio" >&5 | 13092 echo "configure:13093: checking for AuOpenServer in -laudio" >&5 |
13089 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13093 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13090 | 13094 |
13091 xe_check_libs=" -laudio " | 13095 xe_check_libs=" -laudio " |
13092 cat > conftest.$ac_ext <<EOF | 13096 cat > conftest.$ac_ext <<EOF |
13093 #line 13094 "configure" | 13097 #line 13098 "configure" |
13094 #include "confdefs.h" | 13098 #include "confdefs.h" |
13095 /* Override any gcc2 internal prototype to avoid an error. */ | 13099 /* Override any gcc2 internal prototype to avoid an error. */ |
13096 /* We use char because int might match the return type of a gcc2 | 13100 /* We use char because int might match the return type of a gcc2 |
13097 builtin and then its argument prototype would still apply. */ | 13101 builtin and then its argument prototype would still apply. */ |
13098 char AuOpenServer(); | 13102 char AuOpenServer(); |
13099 | 13103 |
13100 int main() { | 13104 int main() { |
13101 AuOpenServer() | 13105 AuOpenServer() |
13102 ; return 0; } | 13106 ; return 0; } |
13103 EOF | 13107 EOF |
13104 if { (eval echo configure:13105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13108 if { (eval echo configure:13109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13105 rm -rf conftest* | 13109 rm -rf conftest* |
13106 eval "ac_cv_lib_$ac_lib_var=yes" | 13110 eval "ac_cv_lib_$ac_lib_var=yes" |
13107 else | 13111 else |
13108 echo "configure: failed program was:" >&5 | 13112 echo "configure: failed program was:" >&5 |
13109 cat conftest.$ac_ext >&5 | 13113 cat conftest.$ac_ext >&5 |
13138 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13142 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13139 echo " xemacs will be linked with \"nas.o\"" | 13143 echo " xemacs will be linked with \"nas.o\"" |
13140 fi | 13144 fi |
13141 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13145 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13142 cat > conftest.$ac_ext <<EOF | 13146 cat > conftest.$ac_ext <<EOF |
13143 #line 13144 "configure" | 13147 #line 13148 "configure" |
13144 #include "confdefs.h" | 13148 #include "confdefs.h" |
13145 #include <audio/Xtutil.h> | 13149 #include <audio/Xtutil.h> |
13146 EOF | 13150 EOF |
13147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13148 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13152 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13169 | 13173 |
13170 if test "$with_esd_sound" != "no"; then | 13174 if test "$with_esd_sound" != "no"; then |
13171 # Extract the first word of "esd-config", so it can be a program name with args. | 13175 # Extract the first word of "esd-config", so it can be a program name with args. |
13172 set dummy esd-config; ac_word=$2 | 13176 set dummy esd-config; ac_word=$2 |
13173 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13174 echo "configure:13175: checking for $ac_word" >&5 | 13178 echo "configure:13179: checking for $ac_word" >&5 |
13175 | 13179 |
13176 if test -n "$have_esd_config"; then | 13180 if test -n "$have_esd_config"; then |
13177 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13181 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13178 else | 13182 else |
13179 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13198 if test "$have_esd_config" = "yes"; then | 13202 if test "$have_esd_config" = "yes"; then |
13199 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13203 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13200 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 | 13204 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 |
13201 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13205 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13202 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13206 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13203 echo "configure:13204: checking for esd_play_stream" >&5 | 13207 echo "configure:13208: checking for esd_play_stream" >&5 |
13204 | 13208 |
13205 cat > conftest.$ac_ext <<EOF | 13209 cat > conftest.$ac_ext <<EOF |
13206 #line 13207 "configure" | 13210 #line 13211 "configure" |
13207 #include "confdefs.h" | 13211 #include "confdefs.h" |
13208 /* System header to define __stub macros and hopefully few prototypes, | 13212 /* System header to define __stub macros and hopefully few prototypes, |
13209 which can conflict with char esd_play_stream(); below. */ | 13213 which can conflict with char esd_play_stream(); below. */ |
13210 #include <assert.h> | 13214 #include <assert.h> |
13211 /* Override any gcc2 internal prototype to avoid an error. */ | 13215 /* Override any gcc2 internal prototype to avoid an error. */ |
13224 esd_play_stream(); | 13228 esd_play_stream(); |
13225 #endif | 13229 #endif |
13226 | 13230 |
13227 ; return 0; } | 13231 ; return 0; } |
13228 EOF | 13232 EOF |
13229 if { (eval echo configure:13230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13233 if { (eval echo configure:13234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13230 rm -rf conftest* | 13234 rm -rf conftest* |
13231 eval "ac_cv_func_esd_play_stream=yes" | 13235 eval "ac_cv_func_esd_play_stream=yes" |
13232 else | 13236 else |
13233 echo "configure: failed program was:" >&5 | 13237 echo "configure: failed program was:" >&5 |
13234 cat conftest.$ac_ext >&5 | 13238 cat conftest.$ac_ext >&5 |
13275 | 13279 |
13276 test -z "$with_tty" && with_tty=yes | 13280 test -z "$with_tty" && with_tty=yes |
13277 | 13281 |
13278 if test "$with_tty" = "yes" ; then | 13282 if test "$with_tty" = "yes" ; then |
13279 echo "checking for TTY-related features" 1>&6 | 13283 echo "checking for TTY-related features" 1>&6 |
13280 echo "configure:13281: checking for TTY-related features" >&5 | 13284 echo "configure:13285: checking for TTY-related features" >&5 |
13281 { test "$extra_verbose" = "yes" && cat << \EOF | 13285 { test "$extra_verbose" = "yes" && cat << \EOF |
13282 Defining HAVE_TTY | 13286 Defining HAVE_TTY |
13283 EOF | 13287 EOF |
13284 cat >> confdefs.h <<\EOF | 13288 cat >> confdefs.h <<\EOF |
13285 #define HAVE_TTY 1 | 13289 #define HAVE_TTY 1 |
13288 | 13292 |
13289 | 13293 |
13290 if test -z "$with_ncurses"; then | 13294 if test -z "$with_ncurses"; then |
13291 | 13295 |
13292 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13296 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13293 echo "configure:13294: checking for tgetent in -lncurses" >&5 | 13297 echo "configure:13298: checking for tgetent in -lncurses" >&5 |
13294 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13298 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13295 | 13299 |
13296 xe_check_libs=" -lncurses " | 13300 xe_check_libs=" -lncurses " |
13297 cat > conftest.$ac_ext <<EOF | 13301 cat > conftest.$ac_ext <<EOF |
13298 #line 13299 "configure" | 13302 #line 13303 "configure" |
13299 #include "confdefs.h" | 13303 #include "confdefs.h" |
13300 /* Override any gcc2 internal prototype to avoid an error. */ | 13304 /* Override any gcc2 internal prototype to avoid an error. */ |
13301 /* We use char because int might match the return type of a gcc2 | 13305 /* We use char because int might match the return type of a gcc2 |
13302 builtin and then its argument prototype would still apply. */ | 13306 builtin and then its argument prototype would still apply. */ |
13303 char tgetent(); | 13307 char tgetent(); |
13304 | 13308 |
13305 int main() { | 13309 int main() { |
13306 tgetent() | 13310 tgetent() |
13307 ; return 0; } | 13311 ; return 0; } |
13308 EOF | 13312 EOF |
13309 if { (eval echo configure:13310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13310 rm -rf conftest* | 13314 rm -rf conftest* |
13311 eval "ac_cv_lib_$ac_lib_var=yes" | 13315 eval "ac_cv_lib_$ac_lib_var=yes" |
13312 else | 13316 else |
13313 echo "configure: failed program was:" >&5 | 13317 echo "configure: failed program was:" >&5 |
13314 cat conftest.$ac_ext >&5 | 13318 cat conftest.$ac_ext >&5 |
13337 EOF | 13341 EOF |
13338 } | 13342 } |
13339 | 13343 |
13340 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13344 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13341 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13345 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13342 echo "configure:13343: checking for ncurses/curses.h" >&5 | 13346 echo "configure:13347: checking for ncurses/curses.h" >&5 |
13343 | 13347 |
13344 cat > conftest.$ac_ext <<EOF | 13348 cat > conftest.$ac_ext <<EOF |
13345 #line 13346 "configure" | 13349 #line 13350 "configure" |
13346 #include "confdefs.h" | 13350 #include "confdefs.h" |
13347 #include <ncurses/curses.h> | 13351 #include <ncurses/curses.h> |
13348 EOF | 13352 EOF |
13349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13350 { (eval echo configure:13351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13354 { (eval echo configure:13355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13352 if test -z "$ac_err"; then | 13356 if test -z "$ac_err"; then |
13353 rm -rf conftest* | 13357 rm -rf conftest* |
13354 eval "ac_cv_header_$ac_safe=yes" | 13358 eval "ac_cv_header_$ac_safe=yes" |
13355 else | 13359 else |
13367 echo "$ac_t""no" 1>&6 | 13371 echo "$ac_t""no" 1>&6 |
13368 fi | 13372 fi |
13369 | 13373 |
13370 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13374 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13371 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13375 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13372 echo "configure:13373: checking for ncurses/term.h" >&5 | 13376 echo "configure:13377: checking for ncurses/term.h" >&5 |
13373 | 13377 |
13374 cat > conftest.$ac_ext <<EOF | 13378 cat > conftest.$ac_ext <<EOF |
13375 #line 13376 "configure" | 13379 #line 13380 "configure" |
13376 #include "confdefs.h" | 13380 #include "confdefs.h" |
13377 #include <ncurses/term.h> | 13381 #include <ncurses/term.h> |
13378 EOF | 13382 EOF |
13379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13380 { (eval echo configure:13381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13384 { (eval echo configure:13385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13382 if test -z "$ac_err"; then | 13386 if test -z "$ac_err"; then |
13383 rm -rf conftest* | 13387 rm -rf conftest* |
13384 eval "ac_cv_header_$ac_safe=yes" | 13388 eval "ac_cv_header_$ac_safe=yes" |
13385 else | 13389 else |
13405 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13409 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13406 save_c_switch_site="$c_switch_site" | 13410 save_c_switch_site="$c_switch_site" |
13407 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13411 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13408 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13412 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13409 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13413 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13410 echo "configure:13411: checking for ncurses/curses.h" >&5 | 13414 echo "configure:13415: checking for ncurses/curses.h" >&5 |
13411 | 13415 |
13412 cat > conftest.$ac_ext <<EOF | 13416 cat > conftest.$ac_ext <<EOF |
13413 #line 13414 "configure" | 13417 #line 13418 "configure" |
13414 #include "confdefs.h" | 13418 #include "confdefs.h" |
13415 #include <ncurses/curses.h> | 13419 #include <ncurses/curses.h> |
13416 EOF | 13420 EOF |
13417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13418 { (eval echo configure:13419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13422 { (eval echo configure:13423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13420 if test -z "$ac_err"; then | 13424 if test -z "$ac_err"; then |
13421 rm -rf conftest* | 13425 rm -rf conftest* |
13422 eval "ac_cv_header_$ac_safe=yes" | 13426 eval "ac_cv_header_$ac_safe=yes" |
13423 else | 13427 else |
13448 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13452 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13449 else | 13453 else |
13450 for lib in curses termlib termcap; do | 13454 for lib in curses termlib termcap; do |
13451 | 13455 |
13452 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13456 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13453 echo "configure:13454: checking for tgetent in -l$lib" >&5 | 13457 echo "configure:13458: checking for tgetent in -l$lib" >&5 |
13454 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13458 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13455 | 13459 |
13456 xe_check_libs=" -l$lib " | 13460 xe_check_libs=" -l$lib " |
13457 cat > conftest.$ac_ext <<EOF | 13461 cat > conftest.$ac_ext <<EOF |
13458 #line 13459 "configure" | 13462 #line 13463 "configure" |
13459 #include "confdefs.h" | 13463 #include "confdefs.h" |
13460 /* Override any gcc2 internal prototype to avoid an error. */ | 13464 /* Override any gcc2 internal prototype to avoid an error. */ |
13461 /* We use char because int might match the return type of a gcc2 | 13465 /* We use char because int might match the return type of a gcc2 |
13462 builtin and then its argument prototype would still apply. */ | 13466 builtin and then its argument prototype would still apply. */ |
13463 char tgetent(); | 13467 char tgetent(); |
13464 | 13468 |
13465 int main() { | 13469 int main() { |
13466 tgetent() | 13470 tgetent() |
13467 ; return 0; } | 13471 ; return 0; } |
13468 EOF | 13472 EOF |
13469 if { (eval echo configure:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13473 if { (eval echo configure:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13470 rm -rf conftest* | 13474 rm -rf conftest* |
13471 eval "ac_cv_lib_$ac_lib_var=yes" | 13475 eval "ac_cv_lib_$ac_lib_var=yes" |
13472 else | 13476 else |
13473 echo "configure: failed program was:" >&5 | 13477 echo "configure: failed program was:" >&5 |
13474 cat conftest.$ac_ext >&5 | 13478 cat conftest.$ac_ext >&5 |
13495 if test -n "$libs_termcap"; then | 13499 if test -n "$libs_termcap"; then |
13496 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13500 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13497 else | 13501 else |
13498 | 13502 |
13499 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13503 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13500 echo "configure:13501: checking for tgetent in -lcurses" >&5 | 13504 echo "configure:13505: checking for tgetent in -lcurses" >&5 |
13501 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13505 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13502 | 13506 |
13503 xe_check_libs=" -lcurses " | 13507 xe_check_libs=" -lcurses " |
13504 cat > conftest.$ac_ext <<EOF | 13508 cat > conftest.$ac_ext <<EOF |
13505 #line 13506 "configure" | 13509 #line 13510 "configure" |
13506 #include "confdefs.h" | 13510 #include "confdefs.h" |
13507 /* Override any gcc2 internal prototype to avoid an error. */ | 13511 /* Override any gcc2 internal prototype to avoid an error. */ |
13508 /* We use char because int might match the return type of a gcc2 | 13512 /* We use char because int might match the return type of a gcc2 |
13509 builtin and then its argument prototype would still apply. */ | 13513 builtin and then its argument prototype would still apply. */ |
13510 char tgetent(); | 13514 char tgetent(); |
13511 | 13515 |
13512 int main() { | 13516 int main() { |
13513 tgetent() | 13517 tgetent() |
13514 ; return 0; } | 13518 ; return 0; } |
13515 EOF | 13519 EOF |
13516 if { (eval echo configure:13517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13520 if { (eval echo configure:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13517 rm -rf conftest* | 13521 rm -rf conftest* |
13518 eval "ac_cv_lib_$ac_lib_var=yes" | 13522 eval "ac_cv_lib_$ac_lib_var=yes" |
13519 else | 13523 else |
13520 echo "configure: failed program was:" >&5 | 13524 echo "configure: failed program was:" >&5 |
13521 cat conftest.$ac_ext >&5 | 13525 cat conftest.$ac_ext >&5 |
13529 echo "$ac_t""yes" 1>&6 | 13533 echo "$ac_t""yes" 1>&6 |
13530 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13534 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13531 else | 13535 else |
13532 echo "$ac_t""no" 1>&6 | 13536 echo "$ac_t""no" 1>&6 |
13533 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13537 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13534 echo "configure:13535: checking for tgetent in -ltermcap" >&5 | 13538 echo "configure:13539: checking for tgetent in -ltermcap" >&5 |
13535 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13539 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13536 | 13540 |
13537 xe_check_libs=" -ltermcap " | 13541 xe_check_libs=" -ltermcap " |
13538 cat > conftest.$ac_ext <<EOF | 13542 cat > conftest.$ac_ext <<EOF |
13539 #line 13540 "configure" | 13543 #line 13544 "configure" |
13540 #include "confdefs.h" | 13544 #include "confdefs.h" |
13541 /* Override any gcc2 internal prototype to avoid an error. */ | 13545 /* Override any gcc2 internal prototype to avoid an error. */ |
13542 /* We use char because int might match the return type of a gcc2 | 13546 /* We use char because int might match the return type of a gcc2 |
13543 builtin and then its argument prototype would still apply. */ | 13547 builtin and then its argument prototype would still apply. */ |
13544 char tgetent(); | 13548 char tgetent(); |
13545 | 13549 |
13546 int main() { | 13550 int main() { |
13547 tgetent() | 13551 tgetent() |
13548 ; return 0; } | 13552 ; return 0; } |
13549 EOF | 13553 EOF |
13550 if { (eval echo configure:13551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13551 rm -rf conftest* | 13555 rm -rf conftest* |
13552 eval "ac_cv_lib_$ac_lib_var=yes" | 13556 eval "ac_cv_lib_$ac_lib_var=yes" |
13553 else | 13557 else |
13554 echo "configure: failed program was:" >&5 | 13558 echo "configure: failed program was:" >&5 |
13555 cat conftest.$ac_ext >&5 | 13559 cat conftest.$ac_ext >&5 |
13593 } | 13597 } |
13594 | 13598 |
13595 | 13599 |
13596 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13600 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13597 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13601 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13598 echo "configure:13599: checking for gpm.h" >&5 | 13602 echo "configure:13603: checking for gpm.h" >&5 |
13599 | 13603 |
13600 cat > conftest.$ac_ext <<EOF | 13604 cat > conftest.$ac_ext <<EOF |
13601 #line 13602 "configure" | 13605 #line 13606 "configure" |
13602 #include "confdefs.h" | 13606 #include "confdefs.h" |
13603 #include <gpm.h> | 13607 #include <gpm.h> |
13604 EOF | 13608 EOF |
13605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13606 { (eval echo configure:13607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13610 { (eval echo configure:13611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13608 if test -z "$ac_err"; then | 13612 if test -z "$ac_err"; then |
13609 rm -rf conftest* | 13613 rm -rf conftest* |
13610 eval "ac_cv_header_$ac_safe=yes" | 13614 eval "ac_cv_header_$ac_safe=yes" |
13611 else | 13615 else |
13624 with_gpm=no | 13628 with_gpm=no |
13625 fi | 13629 fi |
13626 } | 13630 } |
13627 test -z "$with_gpm" && { | 13631 test -z "$with_gpm" && { |
13628 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13632 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13629 echo "configure:13630: checking for Gpm_Open in -lgpm" >&5 | 13633 echo "configure:13634: checking for Gpm_Open in -lgpm" >&5 |
13630 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13634 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13631 | 13635 |
13632 xe_check_libs=" -lgpm " | 13636 xe_check_libs=" -lgpm " |
13633 cat > conftest.$ac_ext <<EOF | 13637 cat > conftest.$ac_ext <<EOF |
13634 #line 13635 "configure" | 13638 #line 13639 "configure" |
13635 #include "confdefs.h" | 13639 #include "confdefs.h" |
13636 /* Override any gcc2 internal prototype to avoid an error. */ | 13640 /* Override any gcc2 internal prototype to avoid an error. */ |
13637 /* We use char because int might match the return type of a gcc2 | 13641 /* We use char because int might match the return type of a gcc2 |
13638 builtin and then its argument prototype would still apply. */ | 13642 builtin and then its argument prototype would still apply. */ |
13639 char Gpm_Open(); | 13643 char Gpm_Open(); |
13640 | 13644 |
13641 int main() { | 13645 int main() { |
13642 Gpm_Open() | 13646 Gpm_Open() |
13643 ; return 0; } | 13647 ; return 0; } |
13644 EOF | 13648 EOF |
13645 if { (eval echo configure:13646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13649 if { (eval echo configure:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13646 rm -rf conftest* | 13650 rm -rf conftest* |
13647 eval "ac_cv_lib_$ac_lib_var=yes" | 13651 eval "ac_cv_lib_$ac_lib_var=yes" |
13648 else | 13652 else |
13649 echo "configure: failed program was:" >&5 | 13653 echo "configure: failed program was:" >&5 |
13650 cat conftest.$ac_ext >&5 | 13654 cat conftest.$ac_ext >&5 |
13683 done | 13687 done |
13684 fi | 13688 fi |
13685 | 13689 |
13686 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13690 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13687 != "no no no" && echo "checking for database support" 1>&6 | 13691 != "no no no" && echo "checking for database support" 1>&6 |
13688 echo "configure:13689: checking for database support" >&5 | 13692 echo "configure:13693: checking for database support" >&5 |
13689 | 13693 |
13690 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13694 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13691 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13695 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13692 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13696 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13693 echo "configure:13694: checking for ndbm.h" >&5 | 13697 echo "configure:13698: checking for ndbm.h" >&5 |
13694 | 13698 |
13695 cat > conftest.$ac_ext <<EOF | 13699 cat > conftest.$ac_ext <<EOF |
13696 #line 13697 "configure" | 13700 #line 13701 "configure" |
13697 #include "confdefs.h" | 13701 #include "confdefs.h" |
13698 #include <ndbm.h> | 13702 #include <ndbm.h> |
13699 EOF | 13703 EOF |
13700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13701 { (eval echo configure:13702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13705 { (eval echo configure:13706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13703 if test -z "$ac_err"; then | 13707 if test -z "$ac_err"; then |
13704 rm -rf conftest* | 13708 rm -rf conftest* |
13705 eval "ac_cv_header_$ac_safe=yes" | 13709 eval "ac_cv_header_$ac_safe=yes" |
13706 else | 13710 else |
13726 fi | 13730 fi |
13727 | 13731 |
13728 if test "$with_database_gdbm" != "no"; then | 13732 if test "$with_database_gdbm" != "no"; then |
13729 | 13733 |
13730 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13734 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13731 echo "configure:13732: checking for dbm_open in -lgdbm" >&5 | 13735 echo "configure:13736: checking for dbm_open in -lgdbm" >&5 |
13732 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13736 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13733 | 13737 |
13734 xe_check_libs=" -lgdbm " | 13738 xe_check_libs=" -lgdbm " |
13735 cat > conftest.$ac_ext <<EOF | 13739 cat > conftest.$ac_ext <<EOF |
13736 #line 13737 "configure" | 13740 #line 13741 "configure" |
13737 #include "confdefs.h" | 13741 #include "confdefs.h" |
13738 /* Override any gcc2 internal prototype to avoid an error. */ | 13742 /* Override any gcc2 internal prototype to avoid an error. */ |
13739 /* We use char because int might match the return type of a gcc2 | 13743 /* We use char because int might match the return type of a gcc2 |
13740 builtin and then its argument prototype would still apply. */ | 13744 builtin and then its argument prototype would still apply. */ |
13741 char dbm_open(); | 13745 char dbm_open(); |
13742 | 13746 |
13743 int main() { | 13747 int main() { |
13744 dbm_open() | 13748 dbm_open() |
13745 ; return 0; } | 13749 ; return 0; } |
13746 EOF | 13750 EOF |
13747 if { (eval echo configure:13748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13751 if { (eval echo configure:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13748 rm -rf conftest* | 13752 rm -rf conftest* |
13749 eval "ac_cv_lib_$ac_lib_var=yes" | 13753 eval "ac_cv_lib_$ac_lib_var=yes" |
13750 else | 13754 else |
13751 echo "configure: failed program was:" >&5 | 13755 echo "configure: failed program was:" >&5 |
13752 cat conftest.$ac_ext >&5 | 13756 cat conftest.$ac_ext >&5 |
13770 | 13774 |
13771 fi | 13775 fi |
13772 | 13776 |
13773 if test "$with_database_dbm" != "no"; then | 13777 if test "$with_database_dbm" != "no"; then |
13774 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13778 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13775 echo "configure:13776: checking for dbm_open" >&5 | 13779 echo "configure:13780: checking for dbm_open" >&5 |
13776 | 13780 |
13777 cat > conftest.$ac_ext <<EOF | 13781 cat > conftest.$ac_ext <<EOF |
13778 #line 13779 "configure" | 13782 #line 13783 "configure" |
13779 #include "confdefs.h" | 13783 #include "confdefs.h" |
13780 /* System header to define __stub macros and hopefully few prototypes, | 13784 /* System header to define __stub macros and hopefully few prototypes, |
13781 which can conflict with char dbm_open(); below. */ | 13785 which can conflict with char dbm_open(); below. */ |
13782 #include <assert.h> | 13786 #include <assert.h> |
13783 /* Override any gcc2 internal prototype to avoid an error. */ | 13787 /* Override any gcc2 internal prototype to avoid an error. */ |
13796 dbm_open(); | 13800 dbm_open(); |
13797 #endif | 13801 #endif |
13798 | 13802 |
13799 ; return 0; } | 13803 ; return 0; } |
13800 EOF | 13804 EOF |
13801 if { (eval echo configure:13802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13802 rm -rf conftest* | 13806 rm -rf conftest* |
13803 eval "ac_cv_func_dbm_open=yes" | 13807 eval "ac_cv_func_dbm_open=yes" |
13804 else | 13808 else |
13805 echo "configure: failed program was:" >&5 | 13809 echo "configure: failed program was:" >&5 |
13806 cat conftest.$ac_ext >&5 | 13810 cat conftest.$ac_ext >&5 |
13815 else | 13819 else |
13816 echo "$ac_t""no" 1>&6 | 13820 echo "$ac_t""no" 1>&6 |
13817 | 13821 |
13818 | 13822 |
13819 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13823 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13820 echo "configure:13821: checking for dbm_open in -ldbm" >&5 | 13824 echo "configure:13825: checking for dbm_open in -ldbm" >&5 |
13821 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13825 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13822 | 13826 |
13823 xe_check_libs=" -ldbm " | 13827 xe_check_libs=" -ldbm " |
13824 cat > conftest.$ac_ext <<EOF | 13828 cat > conftest.$ac_ext <<EOF |
13825 #line 13826 "configure" | 13829 #line 13830 "configure" |
13826 #include "confdefs.h" | 13830 #include "confdefs.h" |
13827 /* Override any gcc2 internal prototype to avoid an error. */ | 13831 /* Override any gcc2 internal prototype to avoid an error. */ |
13828 /* We use char because int might match the return type of a gcc2 | 13832 /* We use char because int might match the return type of a gcc2 |
13829 builtin and then its argument prototype would still apply. */ | 13833 builtin and then its argument prototype would still apply. */ |
13830 char dbm_open(); | 13834 char dbm_open(); |
13831 | 13835 |
13832 int main() { | 13836 int main() { |
13833 dbm_open() | 13837 dbm_open() |
13834 ; return 0; } | 13838 ; return 0; } |
13835 EOF | 13839 EOF |
13836 if { (eval echo configure:13837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13840 if { (eval echo configure:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13837 rm -rf conftest* | 13841 rm -rf conftest* |
13838 eval "ac_cv_lib_$ac_lib_var=yes" | 13842 eval "ac_cv_lib_$ac_lib_var=yes" |
13839 else | 13843 else |
13840 echo "configure: failed program was:" >&5 | 13844 echo "configure: failed program was:" >&5 |
13841 cat conftest.$ac_ext >&5 | 13845 cat conftest.$ac_ext >&5 |
13872 } | 13876 } |
13873 | 13877 |
13874 | 13878 |
13875 if test "$with_database_berkdb" != "no"; then | 13879 if test "$with_database_berkdb" != "no"; then |
13876 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13880 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13877 echo "configure:13878: checking for Berkeley db.h" >&5 | 13881 echo "configure:13882: checking for Berkeley db.h" >&5 |
13878 for header in "db/db.h" "db.h"; do | 13882 for header in "db/db.h" "db.h"; do |
13879 cat > conftest.$ac_ext <<EOF | 13883 cat > conftest.$ac_ext <<EOF |
13880 #line 13881 "configure" | 13884 #line 13885 "configure" |
13881 #include "confdefs.h" | 13885 #include "confdefs.h" |
13882 | 13886 |
13883 #include <stdlib.h> | 13887 #include <stdlib.h> |
13884 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13888 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13885 #ifdef HAVE_INTTYPES_H | 13889 #ifdef HAVE_INTTYPES_H |
13897 | 13901 |
13898 int main() { | 13902 int main() { |
13899 | 13903 |
13900 ; return 0; } | 13904 ; return 0; } |
13901 EOF | 13905 EOF |
13902 if { (eval echo configure:13903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13906 if { (eval echo configure:13907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13903 rm -rf conftest* | 13907 rm -rf conftest* |
13904 db_h_file="$header"; break | 13908 db_h_file="$header"; break |
13905 else | 13909 else |
13906 echo "configure: failed program was:" >&5 | 13910 echo "configure: failed program was:" >&5 |
13907 cat conftest.$ac_ext >&5 | 13911 cat conftest.$ac_ext >&5 |
13913 else echo "$ac_t""$db_h_file" 1>&6 | 13917 else echo "$ac_t""$db_h_file" 1>&6 |
13914 fi | 13918 fi |
13915 | 13919 |
13916 if test "$with_database_berkdb" != "no"; then | 13920 if test "$with_database_berkdb" != "no"; then |
13917 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13921 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13918 echo "configure:13919: checking for Berkeley DB version" >&5 | 13922 echo "configure:13923: checking for Berkeley DB version" >&5 |
13919 cat > conftest.$ac_ext <<EOF | 13923 cat > conftest.$ac_ext <<EOF |
13920 #line 13921 "configure" | 13924 #line 13925 "configure" |
13921 #include "confdefs.h" | 13925 #include "confdefs.h" |
13922 #include <$db_h_file> | 13926 #include <$db_h_file> |
13923 #if DB_VERSION_MAJOR > 1 | 13927 #if DB_VERSION_MAJOR > 1 |
13924 yes | 13928 yes |
13925 #endif | 13929 #endif |
13927 EOF | 13931 EOF |
13928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13929 egrep "yes" >/dev/null 2>&1; then | 13933 egrep "yes" >/dev/null 2>&1; then |
13930 rm -rf conftest* | 13934 rm -rf conftest* |
13931 cat > conftest.$ac_ext <<EOF | 13935 cat > conftest.$ac_ext <<EOF |
13932 #line 13933 "configure" | 13936 #line 13937 "configure" |
13933 #include "confdefs.h" | 13937 #include "confdefs.h" |
13934 #include <$db_h_file> | 13938 #include <$db_h_file> |
13935 #if DB_VERSION_MAJOR > 2 | 13939 #if DB_VERSION_MAJOR > 2 |
13936 yes | 13940 yes |
13937 #endif | 13941 #endif |
13954 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13958 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13955 fi | 13959 fi |
13956 rm -f conftest* | 13960 rm -f conftest* |
13957 | 13961 |
13958 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13962 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13959 echo "configure:13960: checking for $dbfunc" >&5 | 13963 echo "configure:13964: checking for $dbfunc" >&5 |
13960 | 13964 |
13961 cat > conftest.$ac_ext <<EOF | 13965 cat > conftest.$ac_ext <<EOF |
13962 #line 13963 "configure" | 13966 #line 13967 "configure" |
13963 #include "confdefs.h" | 13967 #include "confdefs.h" |
13964 /* System header to define __stub macros and hopefully few prototypes, | 13968 /* System header to define __stub macros and hopefully few prototypes, |
13965 which can conflict with char $dbfunc(); below. */ | 13969 which can conflict with char $dbfunc(); below. */ |
13966 #include <assert.h> | 13970 #include <assert.h> |
13967 /* Override any gcc2 internal prototype to avoid an error. */ | 13971 /* Override any gcc2 internal prototype to avoid an error. */ |
13980 $dbfunc(); | 13984 $dbfunc(); |
13981 #endif | 13985 #endif |
13982 | 13986 |
13983 ; return 0; } | 13987 ; return 0; } |
13984 EOF | 13988 EOF |
13985 if { (eval echo configure:13986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13989 if { (eval echo configure:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13986 rm -rf conftest* | 13990 rm -rf conftest* |
13987 eval "ac_cv_func_$dbfunc=yes" | 13991 eval "ac_cv_func_$dbfunc=yes" |
13988 else | 13992 else |
13989 echo "configure: failed program was:" >&5 | 13993 echo "configure: failed program was:" >&5 |
13990 cat conftest.$ac_ext >&5 | 13994 cat conftest.$ac_ext >&5 |
13999 else | 14003 else |
14000 echo "$ac_t""no" 1>&6 | 14004 echo "$ac_t""no" 1>&6 |
14001 | 14005 |
14002 | 14006 |
14003 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14007 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14004 echo "configure:14005: checking for $dbfunc in -ldb" >&5 | 14008 echo "configure:14009: checking for $dbfunc in -ldb" >&5 |
14005 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14009 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14006 | 14010 |
14007 xe_check_libs=" -ldb " | 14011 xe_check_libs=" -ldb " |
14008 cat > conftest.$ac_ext <<EOF | 14012 cat > conftest.$ac_ext <<EOF |
14009 #line 14010 "configure" | 14013 #line 14014 "configure" |
14010 #include "confdefs.h" | 14014 #include "confdefs.h" |
14011 /* Override any gcc2 internal prototype to avoid an error. */ | 14015 /* Override any gcc2 internal prototype to avoid an error. */ |
14012 /* We use char because int might match the return type of a gcc2 | 14016 /* We use char because int might match the return type of a gcc2 |
14013 builtin and then its argument prototype would still apply. */ | 14017 builtin and then its argument prototype would still apply. */ |
14014 char $dbfunc(); | 14018 char $dbfunc(); |
14015 | 14019 |
14016 int main() { | 14020 int main() { |
14017 $dbfunc() | 14021 $dbfunc() |
14018 ; return 0; } | 14022 ; return 0; } |
14019 EOF | 14023 EOF |
14020 if { (eval echo configure:14021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14024 if { (eval echo configure:14025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14021 rm -rf conftest* | 14025 rm -rf conftest* |
14022 eval "ac_cv_lib_$ac_lib_var=yes" | 14026 eval "ac_cv_lib_$ac_lib_var=yes" |
14023 else | 14027 else |
14024 echo "configure: failed program was:" >&5 | 14028 echo "configure: failed program was:" >&5 |
14025 cat conftest.$ac_ext >&5 | 14029 cat conftest.$ac_ext >&5 |
14076 fi | 14080 fi |
14077 | 14081 |
14078 if test "$with_socks" = "yes"; then | 14082 if test "$with_socks" = "yes"; then |
14079 | 14083 |
14080 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14084 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14081 echo "configure:14082: checking for SOCKSinit in -lsocks" >&5 | 14085 echo "configure:14086: checking for SOCKSinit in -lsocks" >&5 |
14082 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14086 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14083 | 14087 |
14084 xe_check_libs=" -lsocks " | 14088 xe_check_libs=" -lsocks " |
14085 cat > conftest.$ac_ext <<EOF | 14089 cat > conftest.$ac_ext <<EOF |
14086 #line 14087 "configure" | 14090 #line 14091 "configure" |
14087 #include "confdefs.h" | 14091 #include "confdefs.h" |
14088 /* Override any gcc2 internal prototype to avoid an error. */ | 14092 /* Override any gcc2 internal prototype to avoid an error. */ |
14089 /* We use char because int might match the return type of a gcc2 | 14093 /* We use char because int might match the return type of a gcc2 |
14090 builtin and then its argument prototype would still apply. */ | 14094 builtin and then its argument prototype would still apply. */ |
14091 char SOCKSinit(); | 14095 char SOCKSinit(); |
14092 | 14096 |
14093 int main() { | 14097 int main() { |
14094 SOCKSinit() | 14098 SOCKSinit() |
14095 ; return 0; } | 14099 ; return 0; } |
14096 EOF | 14100 EOF |
14097 if { (eval echo configure:14098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14101 if { (eval echo configure:14102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14098 rm -rf conftest* | 14102 rm -rf conftest* |
14099 eval "ac_cv_lib_$ac_lib_var=yes" | 14103 eval "ac_cv_lib_$ac_lib_var=yes" |
14100 else | 14104 else |
14101 echo "configure: failed program was:" >&5 | 14105 echo "configure: failed program was:" >&5 |
14102 cat conftest.$ac_ext >&5 | 14106 cat conftest.$ac_ext >&5 |
14147 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14151 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14148 fi | 14152 fi |
14149 | 14153 |
14150 if test "$with_modules" != "no"; then | 14154 if test "$with_modules" != "no"; then |
14151 echo "checking for module support" 1>&6 | 14155 echo "checking for module support" 1>&6 |
14152 echo "configure:14153: checking for module support" >&5 | 14156 echo "configure:14157: checking for module support" >&5 |
14153 | 14157 |
14154 if test "$with_msw" = "yes"; then | 14158 if test "$with_msw" = "yes"; then |
14155 have_dl=yes; | 14159 have_dl=yes; |
14156 else | 14160 else |
14157 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14161 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14158 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14162 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14159 echo "configure:14160: checking for dlfcn.h" >&5 | 14163 echo "configure:14164: checking for dlfcn.h" >&5 |
14160 | 14164 |
14161 cat > conftest.$ac_ext <<EOF | 14165 cat > conftest.$ac_ext <<EOF |
14162 #line 14163 "configure" | 14166 #line 14167 "configure" |
14163 #include "confdefs.h" | 14167 #include "confdefs.h" |
14164 #include <dlfcn.h> | 14168 #include <dlfcn.h> |
14165 EOF | 14169 EOF |
14166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14167 { (eval echo configure:14168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14169 if test -z "$ac_err"; then | 14173 if test -z "$ac_err"; then |
14170 rm -rf conftest* | 14174 rm -rf conftest* |
14171 eval "ac_cv_header_$ac_safe=yes" | 14175 eval "ac_cv_header_$ac_safe=yes" |
14172 else | 14176 else |
14179 rm -f conftest* | 14183 rm -f conftest* |
14180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14184 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14181 echo "$ac_t""yes" 1>&6 | 14185 echo "$ac_t""yes" 1>&6 |
14182 | 14186 |
14183 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14187 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14184 echo "configure:14185: checking for dlopen in -lc" >&5 | 14188 echo "configure:14189: checking for dlopen in -lc" >&5 |
14185 cat > conftest.$ac_ext <<EOF | 14189 cat > conftest.$ac_ext <<EOF |
14186 #line 14187 "configure" | 14190 #line 14191 "configure" |
14187 #include "confdefs.h" | 14191 #include "confdefs.h" |
14188 #include <dlfcn.h> | 14192 #include <dlfcn.h> |
14189 int main() { | 14193 int main() { |
14190 dlopen ("", 0); | 14194 dlopen ("", 0); |
14191 ; return 0; } | 14195 ; return 0; } |
14192 EOF | 14196 EOF |
14193 if { (eval echo configure:14194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14197 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14194 rm -rf conftest* | 14198 rm -rf conftest* |
14195 have_dl=yes | 14199 have_dl=yes |
14196 else | 14200 else |
14197 echo "configure: failed program was:" >&5 | 14201 echo "configure: failed program was:" >&5 |
14198 cat conftest.$ac_ext >&5 | 14202 cat conftest.$ac_ext >&5 |
14199 rm -rf conftest* | 14203 rm -rf conftest* |
14200 | 14204 |
14201 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14205 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14202 echo "configure:14203: checking for dlopen in -ldl" >&5 | 14206 echo "configure:14207: checking for dlopen in -ldl" >&5 |
14203 ac_save_LIBS="$LIBS" | 14207 ac_save_LIBS="$LIBS" |
14204 LIBS="-ldl $LIBS" | 14208 LIBS="-ldl $LIBS" |
14205 cat > conftest.$ac_ext <<EOF | 14209 cat > conftest.$ac_ext <<EOF |
14206 #line 14207 "configure" | 14210 #line 14211 "configure" |
14207 #include "confdefs.h" | 14211 #include "confdefs.h" |
14208 #include <dlfcn.h> | 14212 #include <dlfcn.h> |
14209 int main() { | 14213 int main() { |
14210 dlopen ("", 0); | 14214 dlopen ("", 0); |
14211 ; return 0; } | 14215 ; return 0; } |
14212 EOF | 14216 EOF |
14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14217 if { (eval echo configure:14218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14214 rm -rf conftest* | 14218 rm -rf conftest* |
14215 have_dl=yes | 14219 have_dl=yes |
14216 else | 14220 else |
14217 echo "configure: failed program was:" >&5 | 14221 echo "configure: failed program was:" >&5 |
14218 cat conftest.$ac_ext >&5 | 14222 cat conftest.$ac_ext >&5 |
14237 } | 14241 } |
14238 | 14242 |
14239 else | 14243 else |
14240 | 14244 |
14241 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14245 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14242 echo "configure:14243: checking for shl_load in -ldld" >&5 | 14246 echo "configure:14247: checking for shl_load in -ldld" >&5 |
14243 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14247 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14244 | 14248 |
14245 xe_check_libs=" -ldld " | 14249 xe_check_libs=" -ldld " |
14246 cat > conftest.$ac_ext <<EOF | 14250 cat > conftest.$ac_ext <<EOF |
14247 #line 14248 "configure" | 14251 #line 14252 "configure" |
14248 #include "confdefs.h" | 14252 #include "confdefs.h" |
14249 /* Override any gcc2 internal prototype to avoid an error. */ | 14253 /* Override any gcc2 internal prototype to avoid an error. */ |
14250 /* We use char because int might match the return type of a gcc2 | 14254 /* We use char because int might match the return type of a gcc2 |
14251 builtin and then its argument prototype would still apply. */ | 14255 builtin and then its argument prototype would still apply. */ |
14252 char shl_load(); | 14256 char shl_load(); |
14253 | 14257 |
14254 int main() { | 14258 int main() { |
14255 shl_load() | 14259 shl_load() |
14256 ; return 0; } | 14260 ; return 0; } |
14257 EOF | 14261 EOF |
14258 if { (eval echo configure:14259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14262 if { (eval echo configure:14263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14259 rm -rf conftest* | 14263 rm -rf conftest* |
14260 eval "ac_cv_lib_$ac_lib_var=yes" | 14264 eval "ac_cv_lib_$ac_lib_var=yes" |
14261 else | 14265 else |
14262 echo "configure: failed program was:" >&5 | 14266 echo "configure: failed program was:" >&5 |
14263 cat conftest.$ac_ext >&5 | 14267 cat conftest.$ac_ext >&5 |
14280 | 14284 |
14281 else | 14285 else |
14282 echo "$ac_t""no" 1>&6 | 14286 echo "$ac_t""no" 1>&6 |
14283 | 14287 |
14284 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14288 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14285 echo "configure:14286: checking for dld_init in -ldld" >&5 | 14289 echo "configure:14290: checking for dld_init in -ldld" >&5 |
14286 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14290 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14287 | 14291 |
14288 xe_check_libs=" -ldld " | 14292 xe_check_libs=" -ldld " |
14289 cat > conftest.$ac_ext <<EOF | 14293 cat > conftest.$ac_ext <<EOF |
14290 #line 14291 "configure" | 14294 #line 14295 "configure" |
14291 #include "confdefs.h" | 14295 #include "confdefs.h" |
14292 /* Override any gcc2 internal prototype to avoid an error. */ | 14296 /* Override any gcc2 internal prototype to avoid an error. */ |
14293 /* We use char because int might match the return type of a gcc2 | 14297 /* We use char because int might match the return type of a gcc2 |
14294 builtin and then its argument prototype would still apply. */ | 14298 builtin and then its argument prototype would still apply. */ |
14295 char dld_init(); | 14299 char dld_init(); |
14296 | 14300 |
14297 int main() { | 14301 int main() { |
14298 dld_init() | 14302 dld_init() |
14299 ; return 0; } | 14303 ; return 0; } |
14300 EOF | 14304 EOF |
14301 if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14305 if { (eval echo configure:14306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14302 rm -rf conftest* | 14306 rm -rf conftest* |
14303 eval "ac_cv_lib_$ac_lib_var=yes" | 14307 eval "ac_cv_lib_$ac_lib_var=yes" |
14304 else | 14308 else |
14305 echo "configure: failed program was:" >&5 | 14309 echo "configure: failed program was:" >&5 |
14306 cat conftest.$ac_ext >&5 | 14310 cat conftest.$ac_ext >&5 |
14341 ld_dynamic_link_flags= | 14345 ld_dynamic_link_flags= |
14342 xehost=$canonical | 14346 xehost=$canonical |
14343 xealias=$internal_configuration | 14347 xealias=$internal_configuration |
14344 | 14348 |
14345 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14349 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14346 echo "configure:14347: checking how to build dynamic libraries for ${xehost}" >&5 | 14350 echo "configure:14351: checking how to build dynamic libraries for ${xehost}" >&5 |
14347 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14351 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14348 case "$xehost" in | 14352 case "$xehost" in |
14349 *-*-linux-gnu*) ;; | 14353 *-*-linux-gnu*) ;; |
14350 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14354 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14351 esac | 14355 esac |
14369 # Now see if the compiler is really GCC. | 14373 # Now see if the compiler is really GCC. |
14370 if test "$GCC" = "yes"; then | 14374 if test "$GCC" = "yes"; then |
14371 XEGCC=yes | 14375 XEGCC=yes |
14372 else | 14376 else |
14373 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14377 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14374 echo "configure:14375: checking checking whether we are using GNU C" >&5 | 14378 echo "configure:14379: checking checking whether we are using GNU C" >&5 |
14375 cat > conftest.$ac_ext <<EOF | 14379 cat > conftest.$ac_ext <<EOF |
14376 #line 14377 "configure" | 14380 #line 14381 "configure" |
14377 #include "confdefs.h" | 14381 #include "confdefs.h" |
14378 | 14382 |
14379 #ifdef __GNUC__ | 14383 #ifdef __GNUC__ |
14380 yes; | 14384 yes; |
14381 #endif | 14385 #endif |
14393 | 14397 |
14394 echo "$ac_t""${XEGCC}" 1>&6 | 14398 echo "$ac_t""${XEGCC}" 1>&6 |
14395 fi | 14399 fi |
14396 | 14400 |
14397 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14401 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14398 echo "configure:14399: checking how to produce PIC code" >&5 | 14402 echo "configure:14403: checking how to produce PIC code" >&5 |
14399 wl= | 14403 wl= |
14400 | 14404 |
14401 can_build_shared=yes | 14405 can_build_shared=yes |
14402 if test "$XEGCC" = yes; then | 14406 if test "$XEGCC" = yes; then |
14403 wl='-Wl,' | 14407 wl='-Wl,' |
14494 if test -n "$dll_cflags"; then | 14498 if test -n "$dll_cflags"; then |
14495 echo "$ac_t""${dll_cflags}" 1>&6 | 14499 echo "$ac_t""${dll_cflags}" 1>&6 |
14496 | 14500 |
14497 # Check to make sure the dll_cflags actually works. | 14501 # Check to make sure the dll_cflags actually works. |
14498 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14502 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14499 echo "configure:14500: checking if PIC flag ${dll_cflags} really works" >&5 | 14503 echo "configure:14504: checking if PIC flag ${dll_cflags} really works" >&5 |
14500 save_CFLAGS="$CFLAGS" | 14504 save_CFLAGS="$CFLAGS" |
14501 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14505 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14502 cat > conftest.$ac_ext <<EOF | 14506 cat > conftest.$ac_ext <<EOF |
14503 #line 14504 "configure" | 14507 #line 14508 "configure" |
14504 #include "confdefs.h" | 14508 #include "confdefs.h" |
14505 | 14509 |
14506 int main() { | 14510 int main() { |
14507 int x=0; | 14511 int x=0; |
14508 ; return 0; } | 14512 ; return 0; } |
14509 EOF | 14513 EOF |
14510 if { (eval echo configure:14511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14514 if { (eval echo configure:14515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14511 rm -rf conftest* | 14515 rm -rf conftest* |
14512 | 14516 |
14513 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14517 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14514 # reports no error. So, we need to grep stderr for (Bundled). | 14518 # reports no error. So, we need to grep stderr for (Bundled). |
14515 if grep '(Bundled)' config.log >/dev/null; then | 14519 if grep '(Bundled)' config.log >/dev/null; then |
14536 if test "$can_build_shared" = "yes"; then | 14540 if test "$can_build_shared" = "yes"; then |
14537 cc_produces_so=no | 14541 cc_produces_so=no |
14538 xldf= | 14542 xldf= |
14539 xcldf= | 14543 xcldf= |
14540 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14544 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14541 echo "configure:14542: checking if C compiler can produce shared libraries" >&5 | 14545 echo "configure:14546: checking if C compiler can produce shared libraries" >&5 |
14542 if test "$XEGCC" = yes; then | 14546 if test "$XEGCC" = yes; then |
14543 xcldf="-shared" | 14547 xcldf="-shared" |
14544 xldf="-shared" | 14548 xldf="-shared" |
14545 else # Not using GCC | 14549 else # Not using GCC |
14546 case "$xehost_os" in | 14550 case "$xehost_os" in |
14587 LDFLAGS="$xcldf $LDFLAGS" | 14591 LDFLAGS="$xcldf $LDFLAGS" |
14588 LIBS= | 14592 LIBS= |
14589 xe_libs= | 14593 xe_libs= |
14590 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14594 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14591 cat > conftest.$ac_ext <<EOF | 14595 cat > conftest.$ac_ext <<EOF |
14592 #line 14593 "configure" | 14596 #line 14597 "configure" |
14593 #include "confdefs.h" | 14597 #include "confdefs.h" |
14594 | 14598 |
14595 int main() { | 14599 int main() { |
14596 int x=0; | 14600 int x=0; |
14597 ; return 0; } | 14601 ; return 0; } |
14598 EOF | 14602 EOF |
14599 if { (eval echo configure:14600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14603 if { (eval echo configure:14604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14600 rm -rf conftest* | 14604 rm -rf conftest* |
14601 cc_produces_so=yes | 14605 cc_produces_so=yes |
14602 else | 14606 else |
14603 echo "configure: failed program was:" >&5 | 14607 echo "configure: failed program was:" >&5 |
14604 cat conftest.$ac_ext >&5 | 14608 cat conftest.$ac_ext >&5 |
14619 if test -z "$LTLD"; then | 14623 if test -z "$LTLD"; then |
14620 ac_prog=ld | 14624 ac_prog=ld |
14621 if test "$XEGCC" = yes; then | 14625 if test "$XEGCC" = yes; then |
14622 # Check if gcc -print-prog-name=ld gives a path. | 14626 # Check if gcc -print-prog-name=ld gives a path. |
14623 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14627 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14624 echo "configure:14625: checking for ld used by GCC" >&5 | 14628 echo "configure:14629: checking for ld used by GCC" >&5 |
14625 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14629 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14626 case "$ac_prog" in | 14630 case "$ac_prog" in |
14627 # Accept absolute paths. | 14631 # Accept absolute paths. |
14628 /*) | 14632 /*) |
14629 if test -z "$LTLD"; then | 14633 if test -z "$LTLD"; then |
14645 with_gnu_ld=unknown | 14649 with_gnu_ld=unknown |
14646 ;; | 14650 ;; |
14647 esac | 14651 esac |
14648 else | 14652 else |
14649 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14653 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14650 echo "configure:14651: checking for GNU ld" >&5 | 14654 echo "configure:14655: checking for GNU ld" >&5 |
14651 fi | 14655 fi |
14652 | 14656 |
14653 if test -z "$LTLD"; then | 14657 if test -z "$LTLD"; then |
14654 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14655 for ac_dir in $PATH; do | 14659 for ac_dir in $PATH; do |
14683 | 14687 |
14684 ld_dynamic_link_flags= | 14688 ld_dynamic_link_flags= |
14685 | 14689 |
14686 # Check to see if it really is or isn't GNU ld. | 14690 # Check to see if it really is or isn't GNU ld. |
14687 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14691 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14688 echo "configure:14689: checking if the linker is GNU ld" >&5 | 14692 echo "configure:14693: checking if the linker is GNU ld" >&5 |
14689 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14693 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14690 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14694 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14691 xe_gnu_ld=yes | 14695 xe_gnu_ld=yes |
14692 else | 14696 else |
14693 xe_gnu_ld=no | 14697 xe_gnu_ld=no |
14711 ld_shlibs=yes | 14715 ld_shlibs=yes |
14712 else | 14716 else |
14713 # OK - only NOW do we futz about with ld. | 14717 # OK - only NOW do we futz about with ld. |
14714 # See if the linker supports building shared libraries. | 14718 # See if the linker supports building shared libraries. |
14715 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14719 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14716 echo "configure:14717: checking whether the linker supports shared libraries" >&5 | 14720 echo "configure:14721: checking whether the linker supports shared libraries" >&5 |
14717 dll_ld=$CC | 14721 dll_ld=$CC |
14718 dll_ldflags=$LDFLAGS | 14722 dll_ldflags=$LDFLAGS |
14719 ld_shlibs=yes | 14723 ld_shlibs=yes |
14720 can_build_shared=yes | 14724 can_build_shared=yes |
14721 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14725 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14919 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14923 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14920 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14924 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14921 for ac_func in dlerror _dlerror | 14925 for ac_func in dlerror _dlerror |
14922 do | 14926 do |
14923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14924 echo "configure:14925: checking for $ac_func" >&5 | 14928 echo "configure:14929: checking for $ac_func" >&5 |
14925 | 14929 |
14926 cat > conftest.$ac_ext <<EOF | 14930 cat > conftest.$ac_ext <<EOF |
14927 #line 14928 "configure" | 14931 #line 14932 "configure" |
14928 #include "confdefs.h" | 14932 #include "confdefs.h" |
14929 /* System header to define __stub macros and hopefully few prototypes, | 14933 /* System header to define __stub macros and hopefully few prototypes, |
14930 which can conflict with char $ac_func(); below. */ | 14934 which can conflict with char $ac_func(); below. */ |
14931 #include <assert.h> | 14935 #include <assert.h> |
14932 /* Override any gcc2 internal prototype to avoid an error. */ | 14936 /* Override any gcc2 internal prototype to avoid an error. */ |
14945 $ac_func(); | 14949 $ac_func(); |
14946 #endif | 14950 #endif |
14947 | 14951 |
14948 ; return 0; } | 14952 ; return 0; } |
14949 EOF | 14953 EOF |
14950 if { (eval echo configure:14951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14954 if { (eval echo configure:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14951 rm -rf conftest* | 14955 rm -rf conftest* |
14952 eval "ac_cv_func_$ac_func=yes" | 14956 eval "ac_cv_func_$ac_func=yes" |
14953 else | 14957 else |
14954 echo "configure: failed program was:" >&5 | 14958 echo "configure: failed program was:" >&5 |
14955 cat conftest.$ac_ext >&5 | 14959 cat conftest.$ac_ext >&5 |
14984 with_modules=no | 14988 with_modules=no |
14985 fi | 14989 fi |
14986 fi | 14990 fi |
14987 | 14991 |
14988 cat > conftest.$ac_ext <<EOF | 14992 cat > conftest.$ac_ext <<EOF |
14989 #line 14990 "configure" | 14993 #line 14994 "configure" |
14990 #include "confdefs.h" | 14994 #include "confdefs.h" |
14991 int main(int c,char *v[]){return 0;} | 14995 int main(int c,char *v[]){return 0;} |
14992 EOF | 14996 EOF |
14993 if { (eval echo configure:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14994 then | 14998 then |
14995 : | 14999 : |
14996 else | 15000 else |
14997 conftest_rc="$?" | 15001 conftest_rc="$?" |
14998 echo "configure: failed program was:" >&5 | 15002 echo "configure: failed program was:" >&5 |