Mercurial > hg > xemacs-beta
comparison configure @ 1889:bf8be6575eae
[xemacs-hg @ 2004-01-28 11:20:34 by stephent]
configure fixes <87ektkgw4y.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Wed, 28 Jan 2004 11:20:42 +0000 |
parents | b37a2b08a901 |
children | 84785da441f9 |
comparison
equal
deleted
inserted
replaced
1888:71e9a0048be8 | 1889:bf8be6575eae |
---|---|
60 unset CDPATH | 60 unset CDPATH |
61 else | 61 else |
62 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi | 62 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi |
63 fi | 63 fi |
64 | 64 |
65 for xe_parse_arg in ""; do | 65 for xe_parse_arg; do |
66 case $xe_parse_arg in | 66 case $xe_parse_arg in |
67 --srcdir) (echo "$progname: Usage error:" | 67 --srcdir) (echo "$progname: Usage error:" |
68 echo " " "The \`--srcdir' option requires a boolean value: \`yes' or \`no'." | 68 echo " " "The \`--srcdir' option requires a string value." |
69 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 69 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
70 --srcdir=*) srcdir=`echo $xe_parse_arg | sed -e 's/--srcdir=//'` ;; | 70 --srcdir=*) srcdir=`echo $xe_parse_arg | sed -e 's/--srcdir=//'` ;; |
71 *) ;; | 71 *) ;; |
72 esac | 72 esac |
73 done | 73 done |
87 verbose= | 87 verbose= |
88 x_includes=NONE | 88 x_includes=NONE |
89 x_libraries=NONE | 89 x_libraries=NONE |
90 | 90 |
91 subdirs= | 91 subdirs= |
92 MFLAGS= MAKEFLAGS= | 92 MFLAGS= |
93 MAKEFLAGS= | |
93 SHELL=${CONFIG_SHELL-/bin/sh} | 94 SHELL=${CONFIG_SHELL-/bin/sh} |
94 ac_max_here_lines=12 | 95 ac_max_here_lines=12 |
95 | 96 |
96 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 97 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
97 | 98 |
209 ac_n=-n ac_c= ac_t= | 210 ac_n=-n ac_c= ac_t= |
210 fi | 211 fi |
211 else | 212 else |
212 ac_n= ac_c='\c' ac_t= | 213 ac_n= ac_c='\c' ac_t= |
213 fi | 214 fi |
215 | |
214 | 216 |
215 | 217 |
216 progname="`echo $0 | sed 's:^\./\./:\./:'`" | 218 progname="`echo $0 | sed 's:^\./\./:\./:'`" |
217 | 219 |
218 | 220 |
290 | 292 |
291 while test $# != 0; do | 293 while test $# != 0; do |
292 arg="$1"; shift | 294 arg="$1"; shift |
293 case "$arg" in | 295 case "$arg" in |
294 --no-create|--no-recursion) ;; | 296 --no-create|--no-recursion) ;; |
295 --srcdir=*) ;; | 297 --srcdir=*) ;; -* ) |
296 -* ) | |
297 case "$arg" in | 298 case "$arg" in |
298 -*=*) | 299 -*=*) |
299 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\([^=]*\)=.*$:\1:'` | 300 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\([^=]*\)=.*$:\1:'` |
300 val=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*[^=]*=\(.*\)$:\1:'` | 301 val=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*[^=]*=\(.*\)$:\1:'` |
301 valomitted=no | 302 valomitted=no |
598 fi | 599 fi |
599 echeck_notfirst=true | 600 echeck_notfirst=true |
600 done | 601 done |
601 ;; | 602 ;; |
602 | 603 |
603 | |
604 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 604 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
605 mandir | infodir | infopath | lispdir | etcdir | \ | 605 mandir | infodir | infopath | lispdir | etcdir | \ |
606 archlibdir | docdir | package_path | moduledir ) | 606 archlibdir | docdir | package_path | moduledir ) |
607 if test "$valomitted" = "yes"; then | 607 if test "$valomitted" = "yes"; then |
608 if test "$#" = 0; then | 608 if test "$#" = 0; then |
821 elif test "$with_tooltalk" = "no" ; then with_cde=no | 821 elif test "$with_tooltalk" = "no" ; then with_cde=no |
822 elif test "$with_cde" = "yes"; then with_tooltalk=yes | 822 elif test "$with_cde" = "yes"; then with_tooltalk=yes |
823 fi | 823 fi |
824 | 824 |
825 | 825 |
826 case "$srcdir" in | |
827 | |
828 "" ) | |
829 for dir in "`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'`" "." ".." ; do | |
830 if test -f "$dir/src/lisp.h" -a \ | |
831 -f "$dir/lisp/version.el" ; then | |
832 srcdir="$dir" | |
833 break | |
834 fi | |
835 done | |
836 if test -z "$srcdir" ; then | |
837 (echo "$progname: Usage error:" | |
838 echo " " "None of the path to configure, the current directory, | |
839 and its parent seem to contain the XEmacs sources. If you do not want | |
840 to build XEmacs in its source tree, you should run \`$progname' in the | |
841 directory in which you wish to build XEmacs, using the \`--srcdir' option | |
842 to say where the sources may be found." | |
843 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
844 fi | |
845 ;; | |
846 | |
847 * ) | |
848 if test ! -f "$srcdir/src/lisp.h" -o \ | |
849 ! -f "$srcdir/lisp/version.el" ; then | |
850 (echo "$progname: Usage error:" | |
851 echo " " "The directory specified with the \`--srcdir' option, | |
852 \`$srcdir', doesn't seem to contain the XEmacs sources. You should | |
853 either run the \`$progname' script at the top of the XEmacs source | |
854 tree, or use the \`--srcdir' option to specify the XEmacs source directory." | |
855 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | |
856 fi | |
857 ;; | |
858 esac | |
859 | |
860 if test -z "$configuration"; then | 826 if test -z "$configuration"; then |
861 configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess` | 827 configuration=`${CONFIG_SHELL-/bin/sh} $srcdir/config.guess` |
862 if test -z "$configuration"; then | 828 if test -z "$configuration"; then |
863 (echo "$progname: Usage error:" | 829 (echo "$progname: Usage error:" |
864 echo " " "XEmacs has not been ported to this host type. | 830 echo " " "XEmacs has not been ported to this host type. |
866 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 832 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
867 fi | 833 fi |
868 fi | 834 fi |
869 | 835 |
870 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 836 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
871 echo "configure:872: checking whether ln -s works" >&5 | 837 echo "configure:838: checking whether ln -s works" >&5 |
872 | 838 |
873 rm -f conftestdata | 839 rm -f conftestdata |
874 if ln -s X conftestdata 2>/dev/null | 840 if ln -s X conftestdata 2>/dev/null |
875 then | 841 then |
876 rm -f conftestdata | 842 rm -f conftestdata |
981 cat >> confdefs.h <<EOF | 947 cat >> confdefs.h <<EOF |
982 #define XEMACS_CODENAME "$xemacs_codename" | 948 #define XEMACS_CODENAME "$xemacs_codename" |
983 EOF | 949 EOF |
984 } | 950 } |
985 | 951 |
986 if test "X$xemacs_extra_name" != "X"; then | 952 if test "$xemacs_extra_name" != ""; then |
987 { test "$extra_verbose" = "yes" && cat << EOF | 953 { test "$extra_verbose" = "yes" && cat << EOF |
988 Defining XEMACS_EXTRA_NAME = "$xemacs_extra_name" | 954 Defining XEMACS_EXTRA_NAME = "$xemacs_extra_name" |
989 EOF | 955 EOF |
990 cat >> confdefs.h <<EOF | 956 cat >> confdefs.h <<EOF |
991 #define XEMACS_EXTRA_NAME "$xemacs_extra_name" | 957 #define XEMACS_EXTRA_NAME "$xemacs_extra_name" |
1152 } | 1118 } |
1153 | 1119 |
1154 | 1120 |
1155 | 1121 |
1156 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1122 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1157 echo "configure:1158: checking "host system type"" >&5 | 1123 echo "configure:1124: checking "host system type"" >&5 |
1158 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1124 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1159 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1125 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1160 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1126 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1161 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1127 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1162 echo "$ac_t""$configuration" 1>&6 | 1128 echo "$ac_t""$configuration" 1>&6 |
1690 xe_save_CFLAGS="$CFLAGS" | 1656 xe_save_CFLAGS="$CFLAGS" |
1691 | 1657 |
1692 # Extract the first word of "gcc", so it can be a program name with args. | 1658 # Extract the first word of "gcc", so it can be a program name with args. |
1693 set dummy gcc; ac_word=$2 | 1659 set dummy gcc; ac_word=$2 |
1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1695 echo "configure:1696: checking for $ac_word" >&5 | 1661 echo "configure:1662: checking for $ac_word" >&5 |
1696 | 1662 |
1697 if test -n "$CC"; then | 1663 if test -n "$CC"; then |
1698 ac_cv_prog_CC="$CC" # Let the user override the test. | 1664 ac_cv_prog_CC="$CC" # Let the user override the test. |
1699 else | 1665 else |
1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1666 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1717 | 1683 |
1718 if test -z "$CC"; then | 1684 if test -z "$CC"; then |
1719 # Extract the first word of "cc", so it can be a program name with args. | 1685 # Extract the first word of "cc", so it can be a program name with args. |
1720 set dummy cc; ac_word=$2 | 1686 set dummy cc; ac_word=$2 |
1721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1722 echo "configure:1723: checking for $ac_word" >&5 | 1688 echo "configure:1689: checking for $ac_word" >&5 |
1723 | 1689 |
1724 if test -n "$CC"; then | 1690 if test -n "$CC"; then |
1725 ac_cv_prog_CC="$CC" # Let the user override the test. | 1691 ac_cv_prog_CC="$CC" # Let the user override the test. |
1726 else | 1692 else |
1727 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1693 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1765 case "`uname -s`" in | 1731 case "`uname -s`" in |
1766 *win32* | *WIN32*) | 1732 *win32* | *WIN32*) |
1767 # Extract the first word of "cl", so it can be a program name with args. | 1733 # Extract the first word of "cl", so it can be a program name with args. |
1768 set dummy cl; ac_word=$2 | 1734 set dummy cl; ac_word=$2 |
1769 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1770 echo "configure:1771: checking for $ac_word" >&5 | 1736 echo "configure:1737: checking for $ac_word" >&5 |
1771 | 1737 |
1772 if test -n "$CC"; then | 1738 if test -n "$CC"; then |
1773 ac_cv_prog_CC="$CC" # Let the user override the test. | 1739 ac_cv_prog_CC="$CC" # Let the user override the test. |
1774 else | 1740 else |
1775 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1741 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1794 fi | 1760 fi |
1795 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1761 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1796 fi | 1762 fi |
1797 | 1763 |
1798 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1764 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1799 echo "configure:1800: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1765 echo "configure:1766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1800 | 1766 |
1801 ac_ext=c | 1767 ac_ext=c |
1802 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1768 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1803 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1769 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1804 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1770 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' |
1807 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1773 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1808 cross_compiling=no | 1774 cross_compiling=no |
1809 | 1775 |
1810 cat > conftest.$ac_ext << EOF | 1776 cat > conftest.$ac_ext << EOF |
1811 | 1777 |
1812 #line 1813 "configure" | 1778 #line 1779 "configure" |
1813 #include "confdefs.h" | 1779 #include "confdefs.h" |
1814 | 1780 |
1815 main(){return(0);} | 1781 main(){return(0);} |
1816 EOF | 1782 EOF |
1817 if { (eval echo configure:1818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1783 if { (eval echo configure:1784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1818 ac_cv_prog_cc_works=yes | 1784 ac_cv_prog_cc_works=yes |
1819 # If we can't run a trivial program, we are probably using a cross compiler. | 1785 # If we can't run a trivial program, we are probably using a cross compiler. |
1820 if (./conftest; exit) 2>/dev/null; then | 1786 if (./conftest; exit) 2>/dev/null; then |
1821 ac_cv_prog_cc_cross=no | 1787 ac_cv_prog_cc_cross=no |
1822 else | 1788 else |
1840 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1806 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1841 if test $ac_cv_prog_cc_works = no; then | 1807 if test $ac_cv_prog_cc_works = no; then |
1842 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1808 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1843 fi | 1809 fi |
1844 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1810 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1845 echo "configure:1846: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1811 echo "configure:1812: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1846 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1812 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1847 cross_compiling=$ac_cv_prog_cc_cross | 1813 cross_compiling=$ac_cv_prog_cc_cross |
1848 | 1814 |
1849 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1815 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1850 echo "configure:1851: checking whether we are using GNU C" >&5 | 1816 echo "configure:1817: checking whether we are using GNU C" >&5 |
1851 | 1817 |
1852 cat > conftest.c <<EOF | 1818 cat > conftest.c <<EOF |
1853 #ifdef __GNUC__ | 1819 #ifdef __GNUC__ |
1854 yes; | 1820 yes; |
1855 #endif | 1821 #endif |
1856 EOF | 1822 EOF |
1857 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1823 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1858 ac_cv_prog_gcc=yes | 1824 ac_cv_prog_gcc=yes |
1859 else | 1825 else |
1860 ac_cv_prog_gcc=no | 1826 ac_cv_prog_gcc=no |
1861 fi | 1827 fi |
1862 | 1828 |
1870 | 1836 |
1871 ac_test_CFLAGS="${CFLAGS+set}" | 1837 ac_test_CFLAGS="${CFLAGS+set}" |
1872 ac_save_CFLAGS="$CFLAGS" | 1838 ac_save_CFLAGS="$CFLAGS" |
1873 CFLAGS= | 1839 CFLAGS= |
1874 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1840 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1875 echo "configure:1876: checking whether ${CC-cc} accepts -g" >&5 | 1841 echo "configure:1842: checking whether ${CC-cc} accepts -g" >&5 |
1876 | 1842 |
1877 echo 'void f(){}' > conftest.c | 1843 echo 'void f(){}' > conftest.c |
1878 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1844 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1879 ac_cv_prog_cc_g=yes | 1845 ac_cv_prog_cc_g=yes |
1880 else | 1846 else |
1903 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1869 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1904 CC=${NON_GNU_CC-cc} | 1870 CC=${NON_GNU_CC-cc} |
1905 # Extract the first word of "gcc", so it can be a program name with args. | 1871 # Extract the first word of "gcc", so it can be a program name with args. |
1906 set dummy gcc; ac_word=$2 | 1872 set dummy gcc; ac_word=$2 |
1907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1908 echo "configure:1909: checking for $ac_word" >&5 | 1874 echo "configure:1875: checking for $ac_word" >&5 |
1909 | 1875 |
1910 if test -n "$CC"; then | 1876 if test -n "$CC"; then |
1911 ac_cv_prog_CC="$CC" # Let the user override the test. | 1877 ac_cv_prog_CC="$CC" # Let the user override the test. |
1912 else | 1878 else |
1913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1879 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1930 | 1896 |
1931 if test -z "$CC"; then | 1897 if test -z "$CC"; then |
1932 # Extract the first word of "cc", so it can be a program name with args. | 1898 # Extract the first word of "cc", so it can be a program name with args. |
1933 set dummy cc; ac_word=$2 | 1899 set dummy cc; ac_word=$2 |
1934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1935 echo "configure:1936: checking for $ac_word" >&5 | 1901 echo "configure:1902: checking for $ac_word" >&5 |
1936 | 1902 |
1937 if test -n "$CC"; then | 1903 if test -n "$CC"; then |
1938 ac_cv_prog_CC="$CC" # Let the user override the test. | 1904 ac_cv_prog_CC="$CC" # Let the user override the test. |
1939 else | 1905 else |
1940 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1906 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1978 case "`uname -s`" in | 1944 case "`uname -s`" in |
1979 *win32* | *WIN32*) | 1945 *win32* | *WIN32*) |
1980 # Extract the first word of "cl", so it can be a program name with args. | 1946 # Extract the first word of "cl", so it can be a program name with args. |
1981 set dummy cl; ac_word=$2 | 1947 set dummy cl; ac_word=$2 |
1982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1983 echo "configure:1984: checking for $ac_word" >&5 | 1949 echo "configure:1950: checking for $ac_word" >&5 |
1984 | 1950 |
1985 if test -n "$CC"; then | 1951 if test -n "$CC"; then |
1986 ac_cv_prog_CC="$CC" # Let the user override the test. | 1952 ac_cv_prog_CC="$CC" # Let the user override the test. |
1987 else | 1953 else |
1988 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1954 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2007 fi | 1973 fi |
2008 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1974 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2009 fi | 1975 fi |
2010 | 1976 |
2011 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1977 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2012 echo "configure:2013: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1978 echo "configure:1979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2013 | 1979 |
2014 ac_ext=c | 1980 ac_ext=c |
2015 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1981 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2016 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1982 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2017 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1983 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' |
2020 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1986 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2021 cross_compiling=no | 1987 cross_compiling=no |
2022 | 1988 |
2023 cat > conftest.$ac_ext << EOF | 1989 cat > conftest.$ac_ext << EOF |
2024 | 1990 |
2025 #line 2026 "configure" | 1991 #line 1992 "configure" |
2026 #include "confdefs.h" | 1992 #include "confdefs.h" |
2027 | 1993 |
2028 main(){return(0);} | 1994 main(){return(0);} |
2029 EOF | 1995 EOF |
2030 if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1996 if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2031 ac_cv_prog_cc_works=yes | 1997 ac_cv_prog_cc_works=yes |
2032 # If we can't run a trivial program, we are probably using a cross compiler. | 1998 # If we can't run a trivial program, we are probably using a cross compiler. |
2033 if (./conftest; exit) 2>/dev/null; then | 1999 if (./conftest; exit) 2>/dev/null; then |
2034 ac_cv_prog_cc_cross=no | 2000 ac_cv_prog_cc_cross=no |
2035 else | 2001 else |
2053 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2019 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2054 if test $ac_cv_prog_cc_works = no; then | 2020 if test $ac_cv_prog_cc_works = no; then |
2055 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2021 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2056 fi | 2022 fi |
2057 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2023 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2058 echo "configure:2059: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2024 echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2059 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2025 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2060 cross_compiling=$ac_cv_prog_cc_cross | 2026 cross_compiling=$ac_cv_prog_cc_cross |
2061 | 2027 |
2062 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2028 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2063 echo "configure:2064: checking whether we are using GNU C" >&5 | 2029 echo "configure:2030: checking whether we are using GNU C" >&5 |
2064 | 2030 |
2065 cat > conftest.c <<EOF | 2031 cat > conftest.c <<EOF |
2066 #ifdef __GNUC__ | 2032 #ifdef __GNUC__ |
2067 yes; | 2033 yes; |
2068 #endif | 2034 #endif |
2069 EOF | 2035 EOF |
2070 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2036 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2071 ac_cv_prog_gcc=yes | 2037 ac_cv_prog_gcc=yes |
2072 else | 2038 else |
2073 ac_cv_prog_gcc=no | 2039 ac_cv_prog_gcc=no |
2074 fi | 2040 fi |
2075 | 2041 |
2083 | 2049 |
2084 ac_test_CFLAGS="${CFLAGS+set}" | 2050 ac_test_CFLAGS="${CFLAGS+set}" |
2085 ac_save_CFLAGS="$CFLAGS" | 2051 ac_save_CFLAGS="$CFLAGS" |
2086 CFLAGS= | 2052 CFLAGS= |
2087 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2053 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2088 echo "configure:2089: checking whether ${CC-cc} accepts -g" >&5 | 2054 echo "configure:2055: checking whether ${CC-cc} accepts -g" >&5 |
2089 | 2055 |
2090 echo 'void f(){}' > conftest.c | 2056 echo 'void f(){}' > conftest.c |
2091 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2057 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2092 ac_cv_prog_cc_g=yes | 2058 ac_cv_prog_cc_g=yes |
2093 else | 2059 else |
2116 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2082 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2117 CC=gcc | 2083 CC=gcc |
2118 # Extract the first word of "gcc", so it can be a program name with args. | 2084 # Extract the first word of "gcc", so it can be a program name with args. |
2119 set dummy gcc; ac_word=$2 | 2085 set dummy gcc; ac_word=$2 |
2120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2121 echo "configure:2122: checking for $ac_word" >&5 | 2087 echo "configure:2088: checking for $ac_word" >&5 |
2122 | 2088 |
2123 if test -n "$CC"; then | 2089 if test -n "$CC"; then |
2124 ac_cv_prog_CC="$CC" # Let the user override the test. | 2090 ac_cv_prog_CC="$CC" # Let the user override the test. |
2125 else | 2091 else |
2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2143 | 2109 |
2144 if test -z "$CC"; then | 2110 if test -z "$CC"; then |
2145 # Extract the first word of "cc", so it can be a program name with args. | 2111 # Extract the first word of "cc", so it can be a program name with args. |
2146 set dummy cc; ac_word=$2 | 2112 set dummy cc; ac_word=$2 |
2147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2113 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2148 echo "configure:2149: checking for $ac_word" >&5 | 2114 echo "configure:2115: checking for $ac_word" >&5 |
2149 | 2115 |
2150 if test -n "$CC"; then | 2116 if test -n "$CC"; then |
2151 ac_cv_prog_CC="$CC" # Let the user override the test. | 2117 ac_cv_prog_CC="$CC" # Let the user override the test. |
2152 else | 2118 else |
2153 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2119 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2191 case "`uname -s`" in | 2157 case "`uname -s`" in |
2192 *win32* | *WIN32*) | 2158 *win32* | *WIN32*) |
2193 # Extract the first word of "cl", so it can be a program name with args. | 2159 # Extract the first word of "cl", so it can be a program name with args. |
2194 set dummy cl; ac_word=$2 | 2160 set dummy cl; ac_word=$2 |
2195 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2196 echo "configure:2197: checking for $ac_word" >&5 | 2162 echo "configure:2163: checking for $ac_word" >&5 |
2197 | 2163 |
2198 if test -n "$CC"; then | 2164 if test -n "$CC"; then |
2199 ac_cv_prog_CC="$CC" # Let the user override the test. | 2165 ac_cv_prog_CC="$CC" # Let the user override the test. |
2200 else | 2166 else |
2201 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2220 fi | 2186 fi |
2221 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2187 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2222 fi | 2188 fi |
2223 | 2189 |
2224 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2190 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2225 echo "configure:2226: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2191 echo "configure:2192: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2226 | 2192 |
2227 ac_ext=c | 2193 ac_ext=c |
2228 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2194 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2229 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2195 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2230 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2196 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' |
2233 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2199 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2234 cross_compiling=no | 2200 cross_compiling=no |
2235 | 2201 |
2236 cat > conftest.$ac_ext << EOF | 2202 cat > conftest.$ac_ext << EOF |
2237 | 2203 |
2238 #line 2239 "configure" | 2204 #line 2205 "configure" |
2239 #include "confdefs.h" | 2205 #include "confdefs.h" |
2240 | 2206 |
2241 main(){return(0);} | 2207 main(){return(0);} |
2242 EOF | 2208 EOF |
2243 if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2209 if { (eval echo configure:2210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2244 ac_cv_prog_cc_works=yes | 2210 ac_cv_prog_cc_works=yes |
2245 # If we can't run a trivial program, we are probably using a cross compiler. | 2211 # If we can't run a trivial program, we are probably using a cross compiler. |
2246 if (./conftest; exit) 2>/dev/null; then | 2212 if (./conftest; exit) 2>/dev/null; then |
2247 ac_cv_prog_cc_cross=no | 2213 ac_cv_prog_cc_cross=no |
2248 else | 2214 else |
2266 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2232 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2267 if test $ac_cv_prog_cc_works = no; then | 2233 if test $ac_cv_prog_cc_works = no; then |
2268 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2234 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2269 fi | 2235 fi |
2270 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2236 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2271 echo "configure:2272: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2237 echo "configure:2238: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2272 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2238 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2273 cross_compiling=$ac_cv_prog_cc_cross | 2239 cross_compiling=$ac_cv_prog_cc_cross |
2274 | 2240 |
2275 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2241 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2276 echo "configure:2277: checking whether we are using GNU C" >&5 | 2242 echo "configure:2243: checking whether we are using GNU C" >&5 |
2277 | 2243 |
2278 cat > conftest.c <<EOF | 2244 cat > conftest.c <<EOF |
2279 #ifdef __GNUC__ | 2245 #ifdef __GNUC__ |
2280 yes; | 2246 yes; |
2281 #endif | 2247 #endif |
2282 EOF | 2248 EOF |
2283 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2249 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2284 ac_cv_prog_gcc=yes | 2250 ac_cv_prog_gcc=yes |
2285 else | 2251 else |
2286 ac_cv_prog_gcc=no | 2252 ac_cv_prog_gcc=no |
2287 fi | 2253 fi |
2288 | 2254 |
2296 | 2262 |
2297 ac_test_CFLAGS="${CFLAGS+set}" | 2263 ac_test_CFLAGS="${CFLAGS+set}" |
2298 ac_save_CFLAGS="$CFLAGS" | 2264 ac_save_CFLAGS="$CFLAGS" |
2299 CFLAGS= | 2265 CFLAGS= |
2300 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2266 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2301 echo "configure:2302: checking whether ${CC-cc} accepts -g" >&5 | 2267 echo "configure:2268: checking whether ${CC-cc} accepts -g" >&5 |
2302 | 2268 |
2303 echo 'void f(){}' > conftest.c | 2269 echo 'void f(){}' > conftest.c |
2304 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2270 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2305 ac_cv_prog_cc_g=yes | 2271 ac_cv_prog_cc_g=yes |
2306 else | 2272 else |
2329 fi | 2295 fi |
2330 CFLAGS="$xe_save_CFLAGS" | 2296 CFLAGS="$xe_save_CFLAGS" |
2331 | 2297 |
2332 if test "$GCC" = "yes"; then | 2298 if test "$GCC" = "yes"; then |
2333 cat > conftest.$ac_ext <<EOF | 2299 cat > conftest.$ac_ext <<EOF |
2334 #line 2335 "configure" | 2300 #line 2301 "configure" |
2335 #include "confdefs.h" | 2301 #include "confdefs.h" |
2336 int main () { | 2302 int main () { |
2337 #if __GNUC__ >= 3 | 2303 #if __GNUC__ >= 3 |
2338 return 11; | 2304 return 11; |
2339 #else | 2305 #else |
2340 return 0; | 2306 return 0; |
2341 #endif | 2307 #endif |
2342 } | 2308 } |
2343 EOF | 2309 EOF |
2344 if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2310 if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2345 then | 2311 then |
2346 : | 2312 : |
2347 else | 2313 else |
2348 conftest_rc="$?" | 2314 conftest_rc="$?" |
2349 echo "configure: failed program was:" >&5 | 2315 echo "configure: failed program was:" >&5 |
2355 fi | 2321 fi |
2356 rm -fr conftest* | 2322 rm -fr conftest* |
2357 fi | 2323 fi |
2358 | 2324 |
2359 | 2325 |
2326 | |
2327 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | |
2328 : ${XEMACS_CC:="$CC"} | |
2329 | |
2330 | |
2360 test -n "$CPP" -a -d "$CPP" && CPP= | 2331 test -n "$CPP" -a -d "$CPP" && CPP= |
2361 | 2332 |
2362 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2333 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2363 | 2334 |
2364 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2335 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2365 echo "configure:2366: checking how to run the C preprocessor" >&5 | 2336 echo "configure:2337: checking how to run the C preprocessor" >&5 |
2366 # On Suns, sometimes $CPP names a directory. | 2337 # On Suns, sometimes $CPP names a directory. |
2367 if test -n "$CPP" && test -d "$CPP"; then | 2338 if test -n "$CPP" && test -d "$CPP"; then |
2368 CPP= | 2339 CPP= |
2369 fi | 2340 fi |
2370 if test -z "$CPP"; then | 2341 if test -z "$CPP"; then |
2373 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2344 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2374 CPP="${CC-cc} -E" | 2345 CPP="${CC-cc} -E" |
2375 # On the NeXT, cc -E runs the code through the compiler's parser, | 2346 # On the NeXT, cc -E runs the code through the compiler's parser, |
2376 # not just through cpp. | 2347 # not just through cpp. |
2377 cat > conftest.$ac_ext <<EOF | 2348 cat > conftest.$ac_ext <<EOF |
2378 #line 2379 "configure" | 2349 #line 2350 "configure" |
2379 #include "confdefs.h" | 2350 #include "confdefs.h" |
2380 #include <assert.h> | 2351 #include <assert.h> |
2381 Syntax Error | 2352 Syntax Error |
2382 EOF | 2353 EOF |
2383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2384 { (eval echo configure:2385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2355 { (eval echo configure:2356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2386 if test -z "$ac_err"; then | 2357 if test -z "$ac_err"; then |
2387 : | 2358 : |
2388 else | 2359 else |
2389 echo "$ac_err" >&5 | 2360 echo "$ac_err" >&5 |
2390 echo "configure: failed program was:" >&5 | 2361 echo "configure: failed program was:" >&5 |
2391 cat conftest.$ac_ext >&5 | 2362 cat conftest.$ac_ext >&5 |
2392 rm -rf conftest* | 2363 rm -rf conftest* |
2393 CPP="${CC-cc} -E -traditional-cpp" | 2364 CPP="${CC-cc} -E -traditional-cpp" |
2394 cat > conftest.$ac_ext <<EOF | 2365 cat > conftest.$ac_ext <<EOF |
2395 #line 2396 "configure" | 2366 #line 2367 "configure" |
2396 #include "confdefs.h" | 2367 #include "confdefs.h" |
2397 #include <assert.h> | 2368 #include <assert.h> |
2398 Syntax Error | 2369 Syntax Error |
2399 EOF | 2370 EOF |
2400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2401 { (eval echo configure:2402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2372 { (eval echo configure:2373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2403 if test -z "$ac_err"; then | 2374 if test -z "$ac_err"; then |
2404 : | 2375 : |
2405 else | 2376 else |
2406 echo "$ac_err" >&5 | 2377 echo "$ac_err" >&5 |
2407 echo "configure: failed program was:" >&5 | 2378 echo "configure: failed program was:" >&5 |
2408 cat conftest.$ac_ext >&5 | 2379 cat conftest.$ac_ext >&5 |
2409 rm -rf conftest* | 2380 rm -rf conftest* |
2410 CPP="${CC-cc} -nologo -E" | 2381 CPP="${CC-cc} -nologo -E" |
2411 cat > conftest.$ac_ext <<EOF | 2382 cat > conftest.$ac_ext <<EOF |
2412 #line 2413 "configure" | 2383 #line 2384 "configure" |
2413 #include "confdefs.h" | 2384 #include "confdefs.h" |
2414 #include <assert.h> | 2385 #include <assert.h> |
2415 Syntax Error | 2386 Syntax Error |
2416 EOF | 2387 EOF |
2417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2418 { (eval echo configure:2419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2389 { (eval echo configure:2390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2420 if test -z "$ac_err"; then | 2391 if test -z "$ac_err"; then |
2421 : | 2392 : |
2422 else | 2393 else |
2423 echo "$ac_err" >&5 | 2394 echo "$ac_err" >&5 |
2439 echo "$ac_t""$CPP" 1>&6 | 2410 echo "$ac_t""$CPP" 1>&6 |
2440 | 2411 |
2441 | 2412 |
2442 | 2413 |
2443 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2414 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2444 echo "configure:2445: checking for AIX" >&5 | 2415 echo "configure:2416: checking for AIX" >&5 |
2445 cat > conftest.$ac_ext <<EOF | 2416 cat > conftest.$ac_ext <<EOF |
2446 #line 2447 "configure" | 2417 #line 2418 "configure" |
2447 #include "confdefs.h" | 2418 #include "confdefs.h" |
2448 #ifdef _AIX | 2419 #ifdef _AIX |
2449 yes | 2420 yes |
2450 #endif | 2421 #endif |
2451 | 2422 |
2468 rm -f conftest* | 2439 rm -f conftest* |
2469 | 2440 |
2470 | 2441 |
2471 | 2442 |
2472 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2443 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2473 echo "configure:2474: checking for GNU libc" >&5 | 2444 echo "configure:2445: checking for GNU libc" >&5 |
2474 cat > conftest.$ac_ext <<EOF | 2445 cat > conftest.$ac_ext <<EOF |
2475 #line 2476 "configure" | 2446 #line 2447 "configure" |
2476 #include "confdefs.h" | 2447 #include "confdefs.h" |
2477 #include <features.h> | 2448 #include <features.h> |
2478 int main() { | 2449 int main() { |
2479 | 2450 |
2480 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2451 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2482 ******* ======= ******** &&&&&&&& | 2453 ******* ======= ******** &&&&&&&& |
2483 #endif | 2454 #endif |
2484 | 2455 |
2485 ; return 0; } | 2456 ; return 0; } |
2486 EOF | 2457 EOF |
2487 if { (eval echo configure:2488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2458 if { (eval echo configure:2459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2488 rm -rf conftest* | 2459 rm -rf conftest* |
2489 have_glibc=yes | 2460 have_glibc=yes |
2490 else | 2461 else |
2491 echo "configure: failed program was:" >&5 | 2462 echo "configure: failed program was:" >&5 |
2492 cat conftest.$ac_ext >&5 | 2463 cat conftest.$ac_ext >&5 |
2559 | 2530 |
2560 ;; | 2531 ;; |
2561 esac | 2532 esac |
2562 | 2533 |
2563 cat > conftest.$ac_ext <<EOF | 2534 cat > conftest.$ac_ext <<EOF |
2564 #line 2565 "configure" | 2535 #line 2536 "configure" |
2565 #include "confdefs.h" | 2536 #include "confdefs.h" |
2566 int main () { | 2537 int main () { |
2567 #if defined __SUNPRO_C | 2538 #if defined __SUNPRO_C |
2568 return 11; | 2539 return 11; |
2569 #elif defined __DECC | 2540 #elif defined __DECC |
2575 #else | 2546 #else |
2576 return 0; | 2547 return 0; |
2577 #endif | 2548 #endif |
2578 } | 2549 } |
2579 EOF | 2550 EOF |
2580 if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2551 if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2581 then | 2552 then |
2582 : | 2553 : |
2583 else | 2554 else |
2584 conftest_rc="$?" | 2555 conftest_rc="$?" |
2585 echo "configure: failed program was:" >&5 | 2556 echo "configure: failed program was:" >&5 |
2829 | 2800 |
2830 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2801 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2831 | 2802 |
2832 if test "$__USLC__" = yes; then | 2803 if test "$__USLC__" = yes; then |
2833 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2804 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2834 echo "configure:2835: checking for whether the -Kalloca compiler flag is needed" >&5 | 2805 echo "configure:2806: checking for whether the -Kalloca compiler flag is needed" >&5 |
2835 need_kalloca=no | 2806 need_kalloca=no |
2836 cat > conftest.$ac_ext <<EOF | 2807 cat > conftest.$ac_ext <<EOF |
2837 #line 2838 "configure" | 2808 #line 2809 "configure" |
2838 #include "confdefs.h" | 2809 #include "confdefs.h" |
2839 | 2810 |
2840 int main() { | 2811 int main() { |
2841 void *x = alloca(4); | 2812 void *x = alloca(4); |
2842 ; return 0; } | 2813 ; return 0; } |
2843 EOF | 2814 EOF |
2844 if { (eval echo configure:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2815 if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2845 rm -rf conftest* | 2816 rm -rf conftest* |
2846 : | 2817 : |
2847 else | 2818 else |
2848 echo "configure: failed program was:" >&5 | 2819 echo "configure: failed program was:" >&5 |
2849 cat conftest.$ac_ext >&5 | 2820 cat conftest.$ac_ext >&5 |
2850 rm -rf conftest* | 2821 rm -rf conftest* |
2851 | 2822 |
2852 xe_save_c_switch_system="$c_switch_system" | 2823 xe_save_c_switch_system="$c_switch_system" |
2853 c_switch_system="$c_switch_system -Kalloca" | 2824 c_switch_system="$c_switch_system -Kalloca" |
2854 cat > conftest.$ac_ext <<EOF | 2825 cat > conftest.$ac_ext <<EOF |
2855 #line 2856 "configure" | 2826 #line 2827 "configure" |
2856 #include "confdefs.h" | 2827 #include "confdefs.h" |
2857 | 2828 |
2858 int main() { | 2829 int main() { |
2859 void *x = alloca(4); | 2830 void *x = alloca(4); |
2860 ; return 0; } | 2831 ; return 0; } |
2861 EOF | 2832 EOF |
2862 if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2833 if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2863 rm -rf conftest* | 2834 rm -rf conftest* |
2864 need_kalloca=yes | 2835 need_kalloca=yes |
2865 else | 2836 else |
2866 echo "configure: failed program was:" >&5 | 2837 echo "configure: failed program was:" >&5 |
2867 cat conftest.$ac_ext >&5 | 2838 cat conftest.$ac_ext >&5 |
2871 fi | 2842 fi |
2872 rm -f conftest* | 2843 rm -f conftest* |
2873 echo "$ac_t""$need_kalloca" 1>&6 | 2844 echo "$ac_t""$need_kalloca" 1>&6 |
2874 test "$need_kalloca" = "yes" && c_switch_system="$c_switch_system -Kalloca" && if test "$extra_verbose" = "yes"; then echo " Appending \"-Kalloca\" to \$c_switch_system"; fi | 2845 test "$need_kalloca" = "yes" && c_switch_system="$c_switch_system -Kalloca" && if test "$extra_verbose" = "yes"; then echo " Appending \"-Kalloca\" to \$c_switch_system"; fi |
2875 fi | 2846 fi |
2847 | |
2848 if test "$CC" != "$XEMACS_CC"; then | |
2849 if test "$XEMACS_CC" = "g++" -a "$GCC" != "yes"; then | |
2850 echo "configure: warning: CC and g++ are mismatched; XE_CFLAGS may be wrong" 1>&2 | |
2851 xemacs_cc_cc_mismatch=yes | |
2852 elif test -n "$GCC" -a "$XEMACS_CC" != "g++"; then | |
2853 echo "configure: warning: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" 1>&2 | |
2854 xemacs_cc_cc_mismatch=yes | |
2855 else | |
2856 xemacs_cc_cc_mismatch=no | |
2857 fi | |
2858 fi | |
2859 | |
2876 | 2860 |
2877 if test "$cflags_specified" = "no"; then | 2861 if test "$cflags_specified" = "no"; then |
2878 if test "$GCC" = "yes"; then | 2862 if test "$GCC" = "yes"; then |
2879 CFLAGS="-g -O3" | 2863 CFLAGS="-g -O3" |
2880 elif test "$__SUNPRO_C" = "yes"; then | 2864 elif test "$__SUNPRO_C" = "yes"; then |
2881 case "$opsys" in | 2865 case "$opsys" in |
2882 sol2 ) CFLAGS="-xO4" ;; | 2866 sol2 ) CFLAGS="-xO4" ;; |
2883 sunos4* ) CFLAGS="-xO2" ;; | 2867 sunos4* ) CFLAGS="-xO2" ;; |
2884 esac | 2868 esac |
2885 elif test "$__DECC" = "yes"; then | 2869 elif test "$__DECC" = "yes"; then |
2891 else | 2875 else |
2892 CFLAGS="-O" ; fi | 2876 CFLAGS="-O" ; fi |
2893 fi | 2877 fi |
2894 | 2878 |
2895 | 2879 |
2880 xe_cflags_warning="" | |
2881 | |
2896 if test "$cflags_warning_specified" = "no"; then | 2882 if test "$cflags_warning_specified" = "no"; then |
2897 if test "$GCC" = "yes"; then | 2883 if test "$__SUNPRO_C" = "yes"; then |
2898 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes" | |
2899 cflags_warning="$cflags_warning -Wsign-compare" | |
2900 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" | |
2901 if test "$__GCC3" = "yes"; then | |
2902 cflags_warning="$cflags_warning -Wpacked" | |
2903 fi | |
2904 if test "$xemacs_compiler" != "g++"; then | |
2905 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations" | |
2906 else | |
2907 cflags_warning="$cflags_warning -Weffc++" | |
2908 fi | |
2909 test "$have_glibc" != "yes" && \ | |
2910 cflags_warning="$cflags_warning -Wpointer-arith" | |
2911 elif test "$__SUNPRO_C" = "yes"; then | |
2912 case "$opsys" in | 2884 case "$opsys" in |
2913 sol2 ) cflags_warning="-v" ;; | 2885 sol2 ) cflags_warning="-v" ;; |
2914 esac | 2886 esac |
2915 elif test "$CC" = "xlc"; then | 2887 elif test "$CC" = "xlc"; then |
2916 cflags_warning="-qinfo" | 2888 cflags_warning="-qinfo" |
2889 elif test "$GCC" = "yes"; then | |
2890 cflags_warning="-Wall -Wno-switch -Winline -Wmissing-prototypes" | |
2891 cflags_warning="$cflags_warning -Wsign-compare" | |
2892 cflags_warning="$cflags_warning -Wundef -Wstrict-prototypes" | |
2893 if test "$__GCC3" = "yes"; then | |
2894 cflags_warning="$cflags_warning -Wpacked" | |
2895 fi | |
2896 test "$xemacs_compiler" = "g++" && \ | |
2897 xe_cflags_warning="$cflags_warning -Weffc++" | |
2898 cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations" | |
2899 test "$have_glibc" != "yes" && \ | |
2900 cflags_warning="$cflags_warning -Wpointer-arith" | |
2917 elif test "$__ICC" = "yes"; then | 2901 elif test "$__ICC" = "yes"; then |
2918 cflags_warning="-Wall -w1" | 2902 cflags_warning="-Wall -w1" |
2919 fi | 2903 fi |
2920 fi | 2904 fi |
2921 | 2905 |
2922 CFLAGS="$cflags_warning $CFLAGS" | 2906 CFLAGS="$cflags_warning $CFLAGS" |
2907 test -z "xe_cflags_warning" && xe_cflags_warning=cflags_warning | |
2908 XE_CFLAGS="$xe_cflags_warning $CFLAGS" | |
2923 | 2909 |
2924 if test "$GCC" = "yes"; then | 2910 if test "$GCC" = "yes"; then |
2925 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2911 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2926 echo "configure:2927: checking for buggy gcc versions" >&5 | 2912 echo "configure:2913: checking for buggy gcc versions" >&5 |
2927 GCC_VERSION=`$CC --version` | 2913 GCC_VERSION=`$CC --version` |
2928 case `uname -s`:`uname -m`:$GCC_VERSION in | 2914 case `uname -s`:`uname -m`:$GCC_VERSION in |
2929 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2915 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2930 case "$CFLAGS" in | 2916 case "$CFLAGS" in |
2931 *-O2*|*-O3*) | 2917 *-O2*|*-O3*) |
2979 echo "$ac_t""no" 1>&6 | 2965 echo "$ac_t""no" 1>&6 |
2980 fi | 2966 fi |
2981 | 2967 |
2982 if test "$pdump" != "yes"; then | 2968 if test "$pdump" != "yes"; then |
2983 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2969 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2984 echo "configure:2985: checking for \"-z nocombreloc\" linker flag" >&5 | 2970 echo "configure:2971: checking for \"-z nocombreloc\" linker flag" >&5 |
2985 case "`ld --help 2>&1`" in | 2971 case "`ld --help 2>&1`" in |
2986 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2972 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2987 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2973 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2988 *) echo "$ac_t""no" 1>&6 ;; | 2974 *) echo "$ac_t""no" 1>&6 ;; |
2989 esac | 2975 esac |
3068 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3054 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3069 echo " xemacs will be linked with \"dumper.o\"" | 3055 echo " xemacs will be linked with \"dumper.o\"" |
3070 fi | 3056 fi |
3071 | 3057 |
3072 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3058 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3073 echo "configure:3074: checking for dynodump" >&5 | 3059 echo "configure:3060: checking for dynodump" >&5 |
3074 if test "$unexec" != "unexsol2.o"; then | 3060 if test "$unexec" != "unexsol2.o"; then |
3075 echo "$ac_t""no" 1>&6 | 3061 echo "$ac_t""no" 1>&6 |
3076 else | 3062 else |
3077 echo "$ac_t""yes" 1>&6 | 3063 echo "$ac_t""yes" 1>&6 |
3078 { test "$extra_verbose" = "yes" && cat << \EOF | 3064 { test "$extra_verbose" = "yes" && cat << \EOF |
3106 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3092 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3107 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3093 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3108 done | 3094 done |
3109 | 3095 |
3110 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3096 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3111 echo "configure:3112: checking for terminateAndUnload in -lC" >&5 | 3097 echo "configure:3098: checking for terminateAndUnload in -lC" >&5 |
3112 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3098 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3113 | 3099 |
3114 xe_check_libs=" -lC " | 3100 xe_check_libs=" -lC " |
3115 cat > conftest.$ac_ext <<EOF | 3101 cat > conftest.$ac_ext <<EOF |
3116 #line 3117 "configure" | 3102 #line 3103 "configure" |
3117 #include "confdefs.h" | 3103 #include "confdefs.h" |
3118 /* Override any gcc2 internal prototype to avoid an error. */ | 3104 /* Override any gcc2 internal prototype to avoid an error. */ |
3119 /* We use char because int might match the return type of a gcc2 | 3105 /* We use char because int might match the return type of a gcc2 |
3120 builtin and then its argument prototype would still apply. */ | 3106 builtin and then its argument prototype would still apply. */ |
3121 char terminateAndUnload(); | 3107 char terminateAndUnload(); |
3122 | 3108 |
3123 int main() { | 3109 int main() { |
3124 terminateAndUnload() | 3110 terminateAndUnload() |
3125 ; return 0; } | 3111 ; return 0; } |
3126 EOF | 3112 EOF |
3127 if { (eval echo configure:3128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3113 if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3128 rm -rf conftest* | 3114 rm -rf conftest* |
3129 eval "ac_cv_lib_$ac_lib_var=yes" | 3115 eval "ac_cv_lib_$ac_lib_var=yes" |
3130 else | 3116 else |
3131 echo "configure: failed program was:" >&5 | 3117 echo "configure: failed program was:" >&5 |
3132 cat conftest.$ac_ext >&5 | 3118 cat conftest.$ac_ext >&5 |
3157 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-libgcc-file-name`' | 3143 test -z "$lib_gcc" && lib_gcc='`$(CC) -print-libgcc-file-name`' |
3158 fi | 3144 fi |
3159 test "$GCC" != "yes" && lib_gcc= | 3145 test "$GCC" != "yes" && lib_gcc= |
3160 | 3146 |
3161 | 3147 |
3148 | |
3149 | |
3150 compiler_version="" | |
3151 gcc_compiler_specs="" | |
3152 libc_version="" | |
3153 | |
3154 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | |
3155 echo "configure:3156: checking for compiler version information" >&5 | |
3156 | |
3157 if test "$GCC" = "yes"; then | |
3158 compiler_version=`$XEMACS_CC --version | head -1` | |
3159 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | |
3160 else case "$XEMACS_CC" in | |
3161 icc*) | |
3162 compiler_version=`icc -V 2>&1 | head -1` | |
3163 ;; | |
3164 *) case "$canonical" in | |
3165 *-*-aix* ) | |
3166 realcc=`which $XEMACS_CC` | |
3167 if test -L $realcc ; then | |
3168 ccdir=`dirname $realcc` | |
3169 ccprog=`/bin/ls -l $realcc | sed 's/.* \([^ ]\)/\1/'` | |
3170 case $ccprog in | |
3171 */*) realcc=$ccprog;; | |
3172 *) realcc=$ccdir/$ccprog;; | |
3173 esac | |
3174 fi | |
3175 lpp=`lslpp -wqc $realcc | cut -f2 -d:` | |
3176 if test ! -z "$lpp" ; then | |
3177 lppstr=`lslpp -Lqc $lpp` | |
3178 lpplev=`echo "$lppstr" | cut -f3 -d:` | |
3179 lppdesc=`echo "$lppstr" | cut -f8 -d:` | |
3180 fi | |
3181 if test ! -z "$lpplev" ; then | |
3182 compiler_version="$lpp $lpplev - $lppdesc" | |
3183 fi | |
3184 ;; | |
3185 | |
3186 *-*-solaris*) | |
3187 compiler_version=`$XEMACS_CC -V 2>&1 | head -1` | |
3188 ;; | |
3189 | |
3190 alpha*-dec-osf*) | |
3191 compiler_version=`$XEMACS_CC -V | tr '\n' ' '` | |
3192 ;; | |
3193 | |
3194 mips-sgi-irix*) | |
3195 compiler_version=`$XEMACS_CC -version` | |
3196 ;; | |
3197 esac | |
3198 esac | |
3199 fi | |
3200 | |
3201 if test -z "$compiler_version"; then | |
3202 compiler_version="detection failed (please report this)" | |
3203 fi | |
3204 | |
3205 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | |
3206 echo "configure:3207: checking for compiler version information" >&5 | |
3207 | |
3208 case "$canonical" in | |
3209 *-*-linux*) | |
3210 if test -f /etc/redhat-release ; then | |
3211 libc_version=`rpm -q glibc` | |
3212 elif test -f /etc/debian_version ; then | |
3213 libc_version=`dpkg-query --showformat='${version}' --show libc6` | |
3214 libc_version="GNU libc $libc_version (Debian)" | |
3215 fi | |
3216 if test -z "$libc_version"; then | |
3217 libc_version=`ls /lib/libc-*.so | sed -e 's,/lib/libc-\(.*\)\.so,\1,'` | |
3218 fi | |
3219 ;; | |
3220 | |
3221 *-*-aix*) | |
3222 libc_version="bos.rte.libc `lslpp -Lqc bos.rte.libc | cut -f3 -d:`" | |
3223 ;; | |
3224 | |
3225 *-*-solaris*) | |
3226 libc=`pkginfo -l SUNWcsl | grep VERSION: | awk '{print $2}'` | |
3227 libc_version="SUNWcsl $libc" | |
3228 | |
3229 ;; | |
3230 | |
3231 mips-sgi-irix*) | |
3232 libc_version="IRIX libc `uname -sRm`" | |
3233 ;; | |
3234 | |
3235 alpha*-dec-osf*) | |
3236 (cd /usr/.smdb.; | |
3237 libc_version=` grep -h libc.so *.inv | awk '$9 == "f" {print $12}' | tr '\n' ','` | |
3238 ) | |
3239 ;; | |
3240 esac | |
3241 | |
3242 if test -z "libc_version"; then | |
3243 libc_version="detection failed (please report this)" | |
3244 fi | |
3162 | 3245 |
3163 | 3246 |
3164 | 3247 |
3165 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac | 3248 case "$site_libraries" in *:* ) site_libraries="`echo '' $site_libraries | sed -e 's/^ //' -e 's/:/ /g'`";; esac |
3166 if test -n "$site_libraries"; then | 3249 if test -n "$site_libraries"; then |
3230 esac | 3313 esac |
3231 fi | 3314 fi |
3232 | 3315 |
3233 if test "$add_runtime_path" = "yes"; then | 3316 if test "$add_runtime_path" = "yes"; then |
3234 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3317 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3235 echo "configure:3236: checking "for runtime libraries flag"" >&5 | 3318 echo "configure:3319: checking "for runtime libraries flag"" >&5 |
3236 case "$opsys" in | 3319 case "$opsys" in |
3237 sol2 ) dash_r="-R" ;; | 3320 sol2 ) dash_r="-R" ;; |
3238 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3321 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3239 *) | 3322 *) |
3240 dash_r="" | 3323 dash_r="" |
3252 esac | 3335 esac |
3253 shift | 3336 shift |
3254 done | 3337 done |
3255 fi | 3338 fi |
3256 cat > conftest.$ac_ext <<EOF | 3339 cat > conftest.$ac_ext <<EOF |
3257 #line 3258 "configure" | 3340 #line 3341 "configure" |
3258 #include "confdefs.h" | 3341 #include "confdefs.h" |
3259 | 3342 |
3260 int main() { | 3343 int main() { |
3261 | 3344 |
3262 ; return 0; } | 3345 ; return 0; } |
3263 EOF | 3346 EOF |
3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3347 if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3265 rm -rf conftest* | 3348 rm -rf conftest* |
3266 dash_r="$try_dash_r" | 3349 dash_r="$try_dash_r" |
3267 else | 3350 else |
3268 echo "configure: failed program was:" >&5 | 3351 echo "configure: failed program was:" >&5 |
3269 cat conftest.$ac_ext >&5 | 3352 cat conftest.$ac_ext >&5 |
3360 else | 3443 else |
3361 doug_lea_malloc=no | 3444 doug_lea_malloc=no |
3362 fi | 3445 fi |
3363 after_morecore_hook_exists=yes | 3446 after_morecore_hook_exists=yes |
3364 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3447 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3365 echo "configure:3366: checking for malloc_set_state" >&5 | 3448 echo "configure:3449: checking for malloc_set_state" >&5 |
3366 | 3449 |
3367 cat > conftest.$ac_ext <<EOF | 3450 cat > conftest.$ac_ext <<EOF |
3368 #line 3369 "configure" | 3451 #line 3452 "configure" |
3369 #include "confdefs.h" | 3452 #include "confdefs.h" |
3370 /* System header to define __stub macros and hopefully few prototypes, | 3453 /* System header to define __stub macros and hopefully few prototypes, |
3371 which can conflict with char malloc_set_state(); below. */ | 3454 which can conflict with char malloc_set_state(); below. */ |
3372 #include <assert.h> | 3455 #include <assert.h> |
3373 /* Override any gcc2 internal prototype to avoid an error. */ | 3456 /* Override any gcc2 internal prototype to avoid an error. */ |
3386 malloc_set_state(); | 3469 malloc_set_state(); |
3387 #endif | 3470 #endif |
3388 | 3471 |
3389 ; return 0; } | 3472 ; return 0; } |
3390 EOF | 3473 EOF |
3391 if { (eval echo configure:3392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3392 rm -rf conftest* | 3475 rm -rf conftest* |
3393 eval "ac_cv_func_malloc_set_state=yes" | 3476 eval "ac_cv_func_malloc_set_state=yes" |
3394 else | 3477 else |
3395 echo "configure: failed program was:" >&5 | 3478 echo "configure: failed program was:" >&5 |
3396 cat conftest.$ac_ext >&5 | 3479 cat conftest.$ac_ext >&5 |
3406 echo "$ac_t""no" 1>&6 | 3489 echo "$ac_t""no" 1>&6 |
3407 doug_lea_malloc=no | 3490 doug_lea_malloc=no |
3408 fi | 3491 fi |
3409 | 3492 |
3410 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3493 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3411 echo "configure:3412: checking whether __after_morecore_hook exists" >&5 | 3494 echo "configure:3495: checking whether __after_morecore_hook exists" >&5 |
3412 cat > conftest.$ac_ext <<EOF | 3495 cat > conftest.$ac_ext <<EOF |
3413 #line 3414 "configure" | 3496 #line 3497 "configure" |
3414 #include "confdefs.h" | 3497 #include "confdefs.h" |
3415 extern void (* __after_morecore_hook)(); | 3498 extern void (* __after_morecore_hook)(); |
3416 int main() { | 3499 int main() { |
3417 __after_morecore_hook = 0 | 3500 __after_morecore_hook = 0 |
3418 ; return 0; } | 3501 ; return 0; } |
3419 EOF | 3502 EOF |
3420 if { (eval echo configure:3421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3503 if { (eval echo configure:3504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3421 rm -rf conftest* | 3504 rm -rf conftest* |
3422 echo "$ac_t""yes" 1>&6 | 3505 echo "$ac_t""yes" 1>&6 |
3423 else | 3506 else |
3424 echo "configure: failed program was:" >&5 | 3507 echo "configure: failed program was:" >&5 |
3425 cat conftest.$ac_ext >&5 | 3508 cat conftest.$ac_ext >&5 |
3471 | 3554 |
3472 | 3555 |
3473 # Extract the first word of "ranlib", so it can be a program name with args. | 3556 # Extract the first word of "ranlib", so it can be a program name with args. |
3474 set dummy ranlib; ac_word=$2 | 3557 set dummy ranlib; ac_word=$2 |
3475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3476 echo "configure:3477: checking for $ac_word" >&5 | 3559 echo "configure:3560: checking for $ac_word" >&5 |
3477 | 3560 |
3478 if test -n "$RANLIB"; then | 3561 if test -n "$RANLIB"; then |
3479 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3480 else | 3563 else |
3481 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3564 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3529 # ./install, which can be erroneously created by make from ./install.sh. | 3612 # ./install, which can be erroneously created by make from ./install.sh. |
3530 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3613 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3531 echo "configure:3532: checking for a BSD compatible install" >&5 | 3614 echo "configure:3615: checking for a BSD compatible install" >&5 |
3532 if test -z "$INSTALL"; then | 3615 if test -z "$INSTALL"; then |
3533 | 3616 |
3534 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3617 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3535 for ac_dir in $PATH; do | 3618 for ac_dir in $PATH; do |
3536 # Account for people who put trailing slashes in PATH elements. | 3619 # Account for people who put trailing slashes in PATH elements. |
3580 for ac_prog in 'bison -y' byacc | 3663 for ac_prog in 'bison -y' byacc |
3581 do | 3664 do |
3582 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3665 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3583 set dummy $ac_prog; ac_word=$2 | 3666 set dummy $ac_prog; ac_word=$2 |
3584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3585 echo "configure:3586: checking for $ac_word" >&5 | 3668 echo "configure:3669: checking for $ac_word" >&5 |
3586 | 3669 |
3587 if test -n "$YACC"; then | 3670 if test -n "$YACC"; then |
3588 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3671 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3589 else | 3672 else |
3590 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3673 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3612 | 3695 |
3613 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3696 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3614 do | 3697 do |
3615 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3698 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3616 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3617 echo "configure:3618: checking for $ac_hdr" >&5 | 3700 echo "configure:3701: checking for $ac_hdr" >&5 |
3618 | 3701 |
3619 cat > conftest.$ac_ext <<EOF | 3702 cat > conftest.$ac_ext <<EOF |
3620 #line 3621 "configure" | 3703 #line 3704 "configure" |
3621 #include "confdefs.h" | 3704 #include "confdefs.h" |
3622 #include <$ac_hdr> | 3705 #include <$ac_hdr> |
3623 EOF | 3706 EOF |
3624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3625 { (eval echo configure:3626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3708 { (eval echo configure:3709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3627 if test -z "$ac_err"; then | 3710 if test -z "$ac_err"; then |
3628 rm -rf conftest* | 3711 rm -rf conftest* |
3629 eval "ac_cv_header_$ac_safe=yes" | 3712 eval "ac_cv_header_$ac_safe=yes" |
3630 else | 3713 else |
3650 echo "$ac_t""no" 1>&6 | 3733 echo "$ac_t""no" 1>&6 |
3651 fi | 3734 fi |
3652 done | 3735 done |
3653 | 3736 |
3654 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3737 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3655 echo "configure:3656: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3738 echo "configure:3739: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3656 | 3739 |
3657 cat > conftest.$ac_ext <<EOF | 3740 cat > conftest.$ac_ext <<EOF |
3658 #line 3659 "configure" | 3741 #line 3742 "configure" |
3659 #include "confdefs.h" | 3742 #include "confdefs.h" |
3660 #include <sys/types.h> | 3743 #include <sys/types.h> |
3661 #include <sys/wait.h> | 3744 #include <sys/wait.h> |
3662 #ifndef WEXITSTATUS | 3745 #ifndef WEXITSTATUS |
3663 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3746 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3669 int s; | 3752 int s; |
3670 wait (&s); | 3753 wait (&s); |
3671 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3754 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3672 ; return 0; } | 3755 ; return 0; } |
3673 EOF | 3756 EOF |
3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3675 rm -rf conftest* | 3758 rm -rf conftest* |
3676 ac_cv_header_sys_wait_h=yes | 3759 ac_cv_header_sys_wait_h=yes |
3677 else | 3760 else |
3678 echo "configure: failed program was:" >&5 | 3761 echo "configure: failed program was:" >&5 |
3679 cat conftest.$ac_ext >&5 | 3762 cat conftest.$ac_ext >&5 |
3693 } | 3776 } |
3694 | 3777 |
3695 fi | 3778 fi |
3696 | 3779 |
3697 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3780 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3698 echo "configure:3699: checking for ANSI C header files" >&5 | 3781 echo "configure:3782: checking for ANSI C header files" >&5 |
3699 | 3782 |
3700 cat > conftest.$ac_ext <<EOF | 3783 cat > conftest.$ac_ext <<EOF |
3701 #line 3702 "configure" | 3784 #line 3785 "configure" |
3702 #include "confdefs.h" | 3785 #include "confdefs.h" |
3703 #include <stdlib.h> | 3786 #include <stdlib.h> |
3704 #include <stdarg.h> | 3787 #include <stdarg.h> |
3705 #include <string.h> | 3788 #include <string.h> |
3706 #include <float.h> | 3789 #include <float.h> |
3707 EOF | 3790 EOF |
3708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3709 { (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3792 { (eval echo configure:3793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3711 if test -z "$ac_err"; then | 3794 if test -z "$ac_err"; then |
3712 rm -rf conftest* | 3795 rm -rf conftest* |
3713 ac_cv_header_stdc=yes | 3796 ac_cv_header_stdc=yes |
3714 else | 3797 else |
3721 rm -f conftest* | 3804 rm -f conftest* |
3722 | 3805 |
3723 if test $ac_cv_header_stdc = yes; then | 3806 if test $ac_cv_header_stdc = yes; then |
3724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3725 cat > conftest.$ac_ext <<EOF | 3808 cat > conftest.$ac_ext <<EOF |
3726 #line 3727 "configure" | 3809 #line 3810 "configure" |
3727 #include "confdefs.h" | 3810 #include "confdefs.h" |
3728 #include <string.h> | 3811 #include <string.h> |
3729 EOF | 3812 EOF |
3730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3731 egrep "memchr" >/dev/null 2>&1; then | 3814 egrep "memchr" >/dev/null 2>&1; then |
3739 fi | 3822 fi |
3740 | 3823 |
3741 if test $ac_cv_header_stdc = yes; then | 3824 if test $ac_cv_header_stdc = yes; then |
3742 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3825 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3743 cat > conftest.$ac_ext <<EOF | 3826 cat > conftest.$ac_ext <<EOF |
3744 #line 3745 "configure" | 3827 #line 3828 "configure" |
3745 #include "confdefs.h" | 3828 #include "confdefs.h" |
3746 #include <stdlib.h> | 3829 #include <stdlib.h> |
3747 EOF | 3830 EOF |
3748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3749 egrep "free" >/dev/null 2>&1; then | 3832 egrep "free" >/dev/null 2>&1; then |
3757 fi | 3840 fi |
3758 | 3841 |
3759 if test $ac_cv_header_stdc = yes; then | 3842 if test $ac_cv_header_stdc = yes; then |
3760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3843 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3761 cat > conftest.$ac_ext <<EOF | 3844 cat > conftest.$ac_ext <<EOF |
3762 #line 3763 "configure" | 3845 #line 3846 "configure" |
3763 #include "confdefs.h" | 3846 #include "confdefs.h" |
3764 #include <ctype.h> | 3847 #include <ctype.h> |
3765 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3848 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3766 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3849 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3850 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3768 int main () { int i; for (i = 0; i < 256; i++) | 3851 int main () { int i; for (i = 0; i < 256; i++) |
3769 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3852 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3770 exit (0); } | 3853 exit (0); } |
3771 | 3854 |
3772 EOF | 3855 EOF |
3773 if { (eval echo configure:3774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3774 then | 3857 then |
3775 : | 3858 : |
3776 else | 3859 else |
3777 conftest_rc="$?" | 3860 conftest_rc="$?" |
3778 echo "configure: failed program was:" >&5 | 3861 echo "configure: failed program was:" >&5 |
3794 } | 3877 } |
3795 | 3878 |
3796 fi | 3879 fi |
3797 | 3880 |
3798 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3881 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3799 echo "configure:3800: checking whether time.h and sys/time.h may both be included" >&5 | 3882 echo "configure:3883: checking whether time.h and sys/time.h may both be included" >&5 |
3800 | 3883 |
3801 cat > conftest.$ac_ext <<EOF | 3884 cat > conftest.$ac_ext <<EOF |
3802 #line 3803 "configure" | 3885 #line 3886 "configure" |
3803 #include "confdefs.h" | 3886 #include "confdefs.h" |
3804 #include <sys/types.h> | 3887 #include <sys/types.h> |
3805 #include <sys/time.h> | 3888 #include <sys/time.h> |
3806 #include <time.h> | 3889 #include <time.h> |
3807 int main() { | 3890 int main() { |
3808 struct tm *tp; | 3891 struct tm *tp; |
3809 ; return 0; } | 3892 ; return 0; } |
3810 EOF | 3893 EOF |
3811 if { (eval echo configure:3812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3894 if { (eval echo configure:3895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3812 rm -rf conftest* | 3895 rm -rf conftest* |
3813 ac_cv_header_time=yes | 3896 ac_cv_header_time=yes |
3814 else | 3897 else |
3815 echo "configure: failed program was:" >&5 | 3898 echo "configure: failed program was:" >&5 |
3816 cat conftest.$ac_ext >&5 | 3899 cat conftest.$ac_ext >&5 |
3830 } | 3913 } |
3831 | 3914 |
3832 fi | 3915 fi |
3833 | 3916 |
3834 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3917 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3835 echo "configure:3836: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3918 echo "configure:3919: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3836 | 3919 |
3837 cat > conftest.$ac_ext <<EOF | 3920 cat > conftest.$ac_ext <<EOF |
3838 #line 3839 "configure" | 3921 #line 3922 "configure" |
3839 #include "confdefs.h" | 3922 #include "confdefs.h" |
3840 #include <sys/types.h> | 3923 #include <sys/types.h> |
3841 #include <signal.h> | 3924 #include <signal.h> |
3842 /* NetBSD declares sys_siglist in unistd.h. */ | 3925 /* NetBSD declares sys_siglist in unistd.h. */ |
3843 #ifdef HAVE_UNISTD_H | 3926 #ifdef HAVE_UNISTD_H |
3845 #endif | 3928 #endif |
3846 int main() { | 3929 int main() { |
3847 char *msg = *(sys_siglist + 1); | 3930 char *msg = *(sys_siglist + 1); |
3848 ; return 0; } | 3931 ; return 0; } |
3849 EOF | 3932 EOF |
3850 if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3933 if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3851 rm -rf conftest* | 3934 rm -rf conftest* |
3852 ac_cv_decl_sys_siglist=yes | 3935 ac_cv_decl_sys_siglist=yes |
3853 else | 3936 else |
3854 echo "configure: failed program was:" >&5 | 3937 echo "configure: failed program was:" >&5 |
3855 cat conftest.$ac_ext >&5 | 3938 cat conftest.$ac_ext >&5 |
3871 fi | 3954 fi |
3872 | 3955 |
3873 | 3956 |
3874 | 3957 |
3875 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3958 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3876 echo "configure:3877: checking for utime" >&5 | 3959 echo "configure:3960: checking for utime" >&5 |
3877 cat > conftest.$ac_ext <<EOF | 3960 cat > conftest.$ac_ext <<EOF |
3878 #line 3879 "configure" | 3961 #line 3962 "configure" |
3879 #include "confdefs.h" | 3962 #include "confdefs.h" |
3880 #include <sys/types.h> | 3963 #include <sys/types.h> |
3881 #include <utime.h> | 3964 #include <utime.h> |
3882 int main() { | 3965 int main() { |
3883 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3966 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3884 ; return 0; } | 3967 ; return 0; } |
3885 EOF | 3968 EOF |
3886 if { (eval echo configure:3887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3887 rm -rf conftest* | 3970 rm -rf conftest* |
3888 echo "$ac_t""yes" 1>&6 | 3971 echo "$ac_t""yes" 1>&6 |
3889 { test "$extra_verbose" = "yes" && cat << \EOF | 3972 { test "$extra_verbose" = "yes" && cat << \EOF |
3890 Defining HAVE_UTIME | 3973 Defining HAVE_UTIME |
3891 EOF | 3974 EOF |
3900 rm -rf conftest* | 3983 rm -rf conftest* |
3901 echo "$ac_t""no" 1>&6 | 3984 echo "$ac_t""no" 1>&6 |
3902 for ac_func in utimes | 3985 for ac_func in utimes |
3903 do | 3986 do |
3904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3905 echo "configure:3906: checking for $ac_func" >&5 | 3988 echo "configure:3989: checking for $ac_func" >&5 |
3906 | 3989 |
3907 cat > conftest.$ac_ext <<EOF | 3990 cat > conftest.$ac_ext <<EOF |
3908 #line 3909 "configure" | 3991 #line 3992 "configure" |
3909 #include "confdefs.h" | 3992 #include "confdefs.h" |
3910 /* System header to define __stub macros and hopefully few prototypes, | 3993 /* System header to define __stub macros and hopefully few prototypes, |
3911 which can conflict with char $ac_func(); below. */ | 3994 which can conflict with char $ac_func(); below. */ |
3912 #include <assert.h> | 3995 #include <assert.h> |
3913 /* Override any gcc2 internal prototype to avoid an error. */ | 3996 /* Override any gcc2 internal prototype to avoid an error. */ |
3926 $ac_func(); | 4009 $ac_func(); |
3927 #endif | 4010 #endif |
3928 | 4011 |
3929 ; return 0; } | 4012 ; return 0; } |
3930 EOF | 4013 EOF |
3931 if { (eval echo configure:3932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3932 rm -rf conftest* | 4015 rm -rf conftest* |
3933 eval "ac_cv_func_$ac_func=yes" | 4016 eval "ac_cv_func_$ac_func=yes" |
3934 else | 4017 else |
3935 echo "configure: failed program was:" >&5 | 4018 echo "configure: failed program was:" >&5 |
3936 cat conftest.$ac_ext >&5 | 4019 cat conftest.$ac_ext >&5 |
3958 fi | 4041 fi |
3959 rm -f conftest* | 4042 rm -f conftest* |
3960 | 4043 |
3961 | 4044 |
3962 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4045 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3963 echo "configure:3964: checking return type of signal handlers" >&5 | 4046 echo "configure:4047: checking return type of signal handlers" >&5 |
3964 | 4047 |
3965 cat > conftest.$ac_ext <<EOF | 4048 cat > conftest.$ac_ext <<EOF |
3966 #line 3967 "configure" | 4049 #line 4050 "configure" |
3967 #include "confdefs.h" | 4050 #include "confdefs.h" |
3968 #include <sys/types.h> | 4051 #include <sys/types.h> |
3969 #include <signal.h> | 4052 #include <signal.h> |
3970 #ifdef signal | 4053 #ifdef signal |
3971 #undef signal | 4054 #undef signal |
3978 | 4061 |
3979 int main() { | 4062 int main() { |
3980 int i; | 4063 int i; |
3981 ; return 0; } | 4064 ; return 0; } |
3982 EOF | 4065 EOF |
3983 if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4066 if { (eval echo configure:4067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3984 rm -rf conftest* | 4067 rm -rf conftest* |
3985 ac_cv_type_signal=void | 4068 ac_cv_type_signal=void |
3986 else | 4069 else |
3987 echo "configure: failed program was:" >&5 | 4070 echo "configure: failed program was:" >&5 |
3988 cat conftest.$ac_ext >&5 | 4071 cat conftest.$ac_ext >&5 |
4000 EOF | 4083 EOF |
4001 } | 4084 } |
4002 | 4085 |
4003 | 4086 |
4004 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4087 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4005 echo "configure:4006: checking for size_t" >&5 | 4088 echo "configure:4089: checking for size_t" >&5 |
4006 | 4089 |
4007 cat > conftest.$ac_ext <<EOF | 4090 cat > conftest.$ac_ext <<EOF |
4008 #line 4009 "configure" | 4091 #line 4092 "configure" |
4009 #include "confdefs.h" | 4092 #include "confdefs.h" |
4010 #include <sys/types.h> | 4093 #include <sys/types.h> |
4011 #if STDC_HEADERS | 4094 #if STDC_HEADERS |
4012 #include <stdlib.h> | 4095 #include <stdlib.h> |
4013 #include <stddef.h> | 4096 #include <stddef.h> |
4034 } | 4117 } |
4035 | 4118 |
4036 fi | 4119 fi |
4037 | 4120 |
4038 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4121 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4039 echo "configure:4040: checking for pid_t" >&5 | 4122 echo "configure:4123: checking for pid_t" >&5 |
4040 | 4123 |
4041 cat > conftest.$ac_ext <<EOF | 4124 cat > conftest.$ac_ext <<EOF |
4042 #line 4043 "configure" | 4125 #line 4126 "configure" |
4043 #include "confdefs.h" | 4126 #include "confdefs.h" |
4044 #include <sys/types.h> | 4127 #include <sys/types.h> |
4045 #if STDC_HEADERS | 4128 #if STDC_HEADERS |
4046 #include <stdlib.h> | 4129 #include <stdlib.h> |
4047 #include <stddef.h> | 4130 #include <stddef.h> |
4068 } | 4151 } |
4069 | 4152 |
4070 fi | 4153 fi |
4071 | 4154 |
4072 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4155 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4073 echo "configure:4074: checking for uid_t in sys/types.h" >&5 | 4156 echo "configure:4157: checking for uid_t in sys/types.h" >&5 |
4074 | 4157 |
4075 cat > conftest.$ac_ext <<EOF | 4158 cat > conftest.$ac_ext <<EOF |
4076 #line 4077 "configure" | 4159 #line 4160 "configure" |
4077 #include "confdefs.h" | 4160 #include "confdefs.h" |
4078 #include <sys/types.h> | 4161 #include <sys/types.h> |
4079 EOF | 4162 EOF |
4080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4081 egrep "uid_t" >/dev/null 2>&1; then | 4164 egrep "uid_t" >/dev/null 2>&1; then |
4107 } | 4190 } |
4108 | 4191 |
4109 fi | 4192 fi |
4110 | 4193 |
4111 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4194 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4112 echo "configure:4113: checking for mode_t" >&5 | 4195 echo "configure:4196: checking for mode_t" >&5 |
4113 | 4196 |
4114 cat > conftest.$ac_ext <<EOF | 4197 cat > conftest.$ac_ext <<EOF |
4115 #line 4116 "configure" | 4198 #line 4199 "configure" |
4116 #include "confdefs.h" | 4199 #include "confdefs.h" |
4117 #include <sys/types.h> | 4200 #include <sys/types.h> |
4118 #if STDC_HEADERS | 4201 #if STDC_HEADERS |
4119 #include <stdlib.h> | 4202 #include <stdlib.h> |
4120 #include <stddef.h> | 4203 #include <stddef.h> |
4141 } | 4224 } |
4142 | 4225 |
4143 fi | 4226 fi |
4144 | 4227 |
4145 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4228 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4146 echo "configure:4147: checking for off_t" >&5 | 4229 echo "configure:4230: checking for off_t" >&5 |
4147 | 4230 |
4148 cat > conftest.$ac_ext <<EOF | 4231 cat > conftest.$ac_ext <<EOF |
4149 #line 4150 "configure" | 4232 #line 4233 "configure" |
4150 #include "confdefs.h" | 4233 #include "confdefs.h" |
4151 #include <sys/types.h> | 4234 #include <sys/types.h> |
4152 #if STDC_HEADERS | 4235 #if STDC_HEADERS |
4153 #include <stdlib.h> | 4236 #include <stdlib.h> |
4154 #include <stddef.h> | 4237 #include <stddef.h> |
4175 } | 4258 } |
4176 | 4259 |
4177 fi | 4260 fi |
4178 | 4261 |
4179 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4262 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4180 echo "configure:4181: checking for ssize_t" >&5 | 4263 echo "configure:4264: checking for ssize_t" >&5 |
4181 | 4264 |
4182 cat > conftest.$ac_ext <<EOF | 4265 cat > conftest.$ac_ext <<EOF |
4183 #line 4184 "configure" | 4266 #line 4267 "configure" |
4184 #include "confdefs.h" | 4267 #include "confdefs.h" |
4185 #include <sys/types.h> | 4268 #include <sys/types.h> |
4186 #if STDC_HEADERS | 4269 #if STDC_HEADERS |
4187 #include <stdlib.h> | 4270 #include <stdlib.h> |
4188 #include <stddef.h> | 4271 #include <stddef.h> |
4211 fi | 4294 fi |
4212 | 4295 |
4213 | 4296 |
4214 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4297 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4215 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4298 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4216 echo "configure:4217: checking for intptr_t in sys/types.h" >&5 | 4299 echo "configure:4300: checking for intptr_t in sys/types.h" >&5 |
4217 cat > conftest.$ac_ext <<EOF | 4300 cat > conftest.$ac_ext <<EOF |
4218 #line 4219 "configure" | 4301 #line 4302 "configure" |
4219 #include "confdefs.h" | 4302 #include "confdefs.h" |
4220 #include <sys/types.h> | 4303 #include <sys/types.h> |
4221 intptr_t x; | 4304 intptr_t x; |
4222 | 4305 |
4223 int main() { | 4306 int main() { |
4224 | 4307 |
4225 ; return 0; } | 4308 ; return 0; } |
4226 EOF | 4309 EOF |
4227 if { (eval echo configure:4228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4310 if { (eval echo configure:4311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4228 rm -rf conftest* | 4311 rm -rf conftest* |
4229 echo "$ac_t""yes" 1>&6 | 4312 echo "$ac_t""yes" 1>&6 |
4230 { test "$extra_verbose" = "yes" && cat << \EOF | 4313 { test "$extra_verbose" = "yes" && cat << \EOF |
4231 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4314 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4232 EOF | 4315 EOF |
4243 fi | 4326 fi |
4244 rm -f conftest* | 4327 rm -f conftest* |
4245 fi | 4328 fi |
4246 | 4329 |
4247 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4330 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4248 echo "configure:4249: checking for socklen_t" >&5 | 4331 echo "configure:4332: checking for socklen_t" >&5 |
4249 cat > conftest.$ac_ext <<EOF | 4332 cat > conftest.$ac_ext <<EOF |
4250 #line 4251 "configure" | 4333 #line 4334 "configure" |
4251 #include "confdefs.h" | 4334 #include "confdefs.h" |
4252 #include <sys/types.h> | 4335 #include <sys/types.h> |
4253 #include <sys/socket.h> | 4336 #include <sys/socket.h> |
4254 socklen_t x; | 4337 socklen_t x; |
4255 | 4338 |
4256 int main() { | 4339 int main() { |
4257 | 4340 |
4258 ; return 0; } | 4341 ; return 0; } |
4259 EOF | 4342 EOF |
4260 if { (eval echo configure:4261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4343 if { (eval echo configure:4344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4261 rm -rf conftest* | 4344 rm -rf conftest* |
4262 echo "$ac_t""yes" 1>&6 | 4345 echo "$ac_t""yes" 1>&6 |
4263 else | 4346 else |
4264 echo "configure: failed program was:" >&5 | 4347 echo "configure: failed program was:" >&5 |
4265 cat conftest.$ac_ext >&5 | 4348 cat conftest.$ac_ext >&5 |
4266 rm -rf conftest* | 4349 rm -rf conftest* |
4267 | 4350 |
4268 cat > conftest.$ac_ext <<EOF | 4351 cat > conftest.$ac_ext <<EOF |
4269 #line 4270 "configure" | 4352 #line 4353 "configure" |
4270 #include "confdefs.h" | 4353 #include "confdefs.h" |
4271 #include <sys/types.h> | 4354 #include <sys/types.h> |
4272 #include <sys/socket.h> | 4355 #include <sys/socket.h> |
4273 int accept (int, struct sockaddr *, size_t *); | 4356 int accept (int, struct sockaddr *, size_t *); |
4274 | 4357 |
4275 int main() { | 4358 int main() { |
4276 | 4359 |
4277 ; return 0; } | 4360 ; return 0; } |
4278 EOF | 4361 EOF |
4279 if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4280 rm -rf conftest* | 4363 rm -rf conftest* |
4281 | 4364 |
4282 echo "$ac_t""size_t" 1>&6 | 4365 echo "$ac_t""size_t" 1>&6 |
4283 { test "$extra_verbose" = "yes" && cat << \EOF | 4366 { test "$extra_verbose" = "yes" && cat << \EOF |
4284 Defining socklen_t = size_t | 4367 Defining socklen_t = size_t |
4306 rm -f conftest* | 4389 rm -f conftest* |
4307 fi | 4390 fi |
4308 rm -f conftest* | 4391 rm -f conftest* |
4309 | 4392 |
4310 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4393 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4311 echo "configure:4312: checking for struct timeval" >&5 | 4394 echo "configure:4395: checking for struct timeval" >&5 |
4312 cat > conftest.$ac_ext <<EOF | 4395 cat > conftest.$ac_ext <<EOF |
4313 #line 4314 "configure" | 4396 #line 4397 "configure" |
4314 #include "confdefs.h" | 4397 #include "confdefs.h" |
4315 #ifdef TIME_WITH_SYS_TIME | 4398 #ifdef TIME_WITH_SYS_TIME |
4316 #include <sys/time.h> | 4399 #include <sys/time.h> |
4317 #include <time.h> | 4400 #include <time.h> |
4318 #else | 4401 #else |
4324 #endif | 4407 #endif |
4325 int main() { | 4408 int main() { |
4326 static struct timeval x; x.tv_sec = x.tv_usec; | 4409 static struct timeval x; x.tv_sec = x.tv_usec; |
4327 ; return 0; } | 4410 ; return 0; } |
4328 EOF | 4411 EOF |
4329 if { (eval echo configure:4330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4412 if { (eval echo configure:4413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4330 rm -rf conftest* | 4413 rm -rf conftest* |
4331 echo "$ac_t""yes" 1>&6 | 4414 echo "$ac_t""yes" 1>&6 |
4332 HAVE_TIMEVAL=yes | 4415 HAVE_TIMEVAL=yes |
4333 { test "$extra_verbose" = "yes" && cat << \EOF | 4416 { test "$extra_verbose" = "yes" && cat << \EOF |
4334 Defining HAVE_TIMEVAL | 4417 Defining HAVE_TIMEVAL |
4346 HAVE_TIMEVAL=no | 4429 HAVE_TIMEVAL=no |
4347 fi | 4430 fi |
4348 rm -f conftest* | 4431 rm -f conftest* |
4349 | 4432 |
4350 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4433 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4351 echo "configure:4352: checking whether struct tm is in sys/time.h or time.h" >&5 | 4434 echo "configure:4435: checking whether struct tm is in sys/time.h or time.h" >&5 |
4352 | 4435 |
4353 cat > conftest.$ac_ext <<EOF | 4436 cat > conftest.$ac_ext <<EOF |
4354 #line 4355 "configure" | 4437 #line 4438 "configure" |
4355 #include "confdefs.h" | 4438 #include "confdefs.h" |
4356 #include <sys/types.h> | 4439 #include <sys/types.h> |
4357 #include <time.h> | 4440 #include <time.h> |
4358 int main() { | 4441 int main() { |
4359 struct tm *tp; tp->tm_sec; | 4442 struct tm *tp; tp->tm_sec; |
4360 ; return 0; } | 4443 ; return 0; } |
4361 EOF | 4444 EOF |
4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4445 if { (eval echo configure:4446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4363 rm -rf conftest* | 4446 rm -rf conftest* |
4364 ac_cv_struct_tm=time.h | 4447 ac_cv_struct_tm=time.h |
4365 else | 4448 else |
4366 echo "configure: failed program was:" >&5 | 4449 echo "configure: failed program was:" >&5 |
4367 cat conftest.$ac_ext >&5 | 4450 cat conftest.$ac_ext >&5 |
4381 } | 4464 } |
4382 | 4465 |
4383 fi | 4466 fi |
4384 | 4467 |
4385 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4468 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4386 echo "configure:4387: checking for tm_zone in struct tm" >&5 | 4469 echo "configure:4470: checking for tm_zone in struct tm" >&5 |
4387 | 4470 |
4388 cat > conftest.$ac_ext <<EOF | 4471 cat > conftest.$ac_ext <<EOF |
4389 #line 4390 "configure" | 4472 #line 4473 "configure" |
4390 #include "confdefs.h" | 4473 #include "confdefs.h" |
4391 #include <sys/types.h> | 4474 #include <sys/types.h> |
4392 #include <$ac_cv_struct_tm> | 4475 #include <$ac_cv_struct_tm> |
4393 int main() { | 4476 int main() { |
4394 struct tm tm; tm.tm_zone; | 4477 struct tm tm; tm.tm_zone; |
4395 ; return 0; } | 4478 ; return 0; } |
4396 EOF | 4479 EOF |
4397 if { (eval echo configure:4398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4480 if { (eval echo configure:4481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4398 rm -rf conftest* | 4481 rm -rf conftest* |
4399 ac_cv_struct_tm_zone=yes | 4482 ac_cv_struct_tm_zone=yes |
4400 else | 4483 else |
4401 echo "configure: failed program was:" >&5 | 4484 echo "configure: failed program was:" >&5 |
4402 cat conftest.$ac_ext >&5 | 4485 cat conftest.$ac_ext >&5 |
4415 EOF | 4498 EOF |
4416 } | 4499 } |
4417 | 4500 |
4418 else | 4501 else |
4419 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4502 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4420 echo "configure:4421: checking for tzname" >&5 | 4503 echo "configure:4504: checking for tzname" >&5 |
4421 | 4504 |
4422 cat > conftest.$ac_ext <<EOF | 4505 cat > conftest.$ac_ext <<EOF |
4423 #line 4424 "configure" | 4506 #line 4507 "configure" |
4424 #include "confdefs.h" | 4507 #include "confdefs.h" |
4425 #include <time.h> | 4508 #include <time.h> |
4426 #ifndef tzname /* For SGI. */ | 4509 #ifndef tzname /* For SGI. */ |
4427 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4510 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4428 #endif | 4511 #endif |
4429 int main() { | 4512 int main() { |
4430 atoi(*tzname); | 4513 atoi(*tzname); |
4431 ; return 0; } | 4514 ; return 0; } |
4432 EOF | 4515 EOF |
4433 if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4516 if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4434 rm -rf conftest* | 4517 rm -rf conftest* |
4435 ac_cv_var_tzname=yes | 4518 ac_cv_var_tzname=yes |
4436 else | 4519 else |
4437 echo "configure: failed program was:" >&5 | 4520 echo "configure: failed program was:" >&5 |
4438 cat conftest.$ac_ext >&5 | 4521 cat conftest.$ac_ext >&5 |
4454 fi | 4537 fi |
4455 fi | 4538 fi |
4456 | 4539 |
4457 | 4540 |
4458 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4541 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4459 echo "configure:4460: checking for working const" >&5 | 4542 echo "configure:4543: checking for working const" >&5 |
4460 | 4543 |
4461 cat > conftest.$ac_ext <<EOF | 4544 cat > conftest.$ac_ext <<EOF |
4462 #line 4463 "configure" | 4545 #line 4546 "configure" |
4463 #include "confdefs.h" | 4546 #include "confdefs.h" |
4464 | 4547 |
4465 int main() { | 4548 int main() { |
4466 | 4549 |
4467 /* Ultrix mips cc rejects this. */ | 4550 /* Ultrix mips cc rejects this. */ |
4506 const int foo = 10; | 4589 const int foo = 10; |
4507 } | 4590 } |
4508 | 4591 |
4509 ; return 0; } | 4592 ; return 0; } |
4510 EOF | 4593 EOF |
4511 if { (eval echo configure:4512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4594 if { (eval echo configure:4595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4512 rm -rf conftest* | 4595 rm -rf conftest* |
4513 ac_cv_c_const=yes | 4596 ac_cv_c_const=yes |
4514 else | 4597 else |
4515 echo "configure: failed program was:" >&5 | 4598 echo "configure: failed program was:" >&5 |
4516 cat conftest.$ac_ext >&5 | 4599 cat conftest.$ac_ext >&5 |
4531 | 4614 |
4532 fi | 4615 fi |
4533 | 4616 |
4534 | 4617 |
4535 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4618 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4536 echo "configure:4537: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4619 echo "configure:4620: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4537 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4620 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4538 | 4621 |
4539 cat > conftestmake <<\EOF | 4622 cat > conftestmake <<\EOF |
4540 all: | 4623 all: |
4541 @echo 'ac_maketemp="${MAKE}"' | 4624 @echo 'ac_maketemp="${MAKE}"' |
4556 SET_MAKE="MAKE=${MAKE-make}" | 4639 SET_MAKE="MAKE=${MAKE-make}" |
4557 fi | 4640 fi |
4558 | 4641 |
4559 | 4642 |
4560 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4643 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4561 echo "configure:4562: checking whether byte ordering is bigendian" >&5 | 4644 echo "configure:4645: checking whether byte ordering is bigendian" >&5 |
4562 | 4645 |
4563 ac_cv_c_bigendian=unknown | 4646 ac_cv_c_bigendian=unknown |
4564 # See if sys/param.h defines the BYTE_ORDER macro. | 4647 # See if sys/param.h defines the BYTE_ORDER macro. |
4565 cat > conftest.$ac_ext <<EOF | 4648 cat > conftest.$ac_ext <<EOF |
4566 #line 4567 "configure" | 4649 #line 4650 "configure" |
4567 #include "confdefs.h" | 4650 #include "confdefs.h" |
4568 #include <sys/types.h> | 4651 #include <sys/types.h> |
4569 #include <sys/param.h> | 4652 #include <sys/param.h> |
4570 int main() { | 4653 int main() { |
4571 | 4654 |
4572 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4655 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4573 bogus endian macros | 4656 bogus endian macros |
4574 #endif | 4657 #endif |
4575 ; return 0; } | 4658 ; return 0; } |
4576 EOF | 4659 EOF |
4577 if { (eval echo configure:4578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4660 if { (eval echo configure:4661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4578 rm -rf conftest* | 4661 rm -rf conftest* |
4579 # It does; now see whether it defined to BIG_ENDIAN or not. | 4662 # It does; now see whether it defined to BIG_ENDIAN or not. |
4580 cat > conftest.$ac_ext <<EOF | 4663 cat > conftest.$ac_ext <<EOF |
4581 #line 4582 "configure" | 4664 #line 4665 "configure" |
4582 #include "confdefs.h" | 4665 #include "confdefs.h" |
4583 #include <sys/types.h> | 4666 #include <sys/types.h> |
4584 #include <sys/param.h> | 4667 #include <sys/param.h> |
4585 int main() { | 4668 int main() { |
4586 | 4669 |
4587 #if BYTE_ORDER != BIG_ENDIAN | 4670 #if BYTE_ORDER != BIG_ENDIAN |
4588 not big endian | 4671 not big endian |
4589 #endif | 4672 #endif |
4590 ; return 0; } | 4673 ; return 0; } |
4591 EOF | 4674 EOF |
4592 if { (eval echo configure:4593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4675 if { (eval echo configure:4676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4593 rm -rf conftest* | 4676 rm -rf conftest* |
4594 ac_cv_c_bigendian=yes | 4677 ac_cv_c_bigendian=yes |
4595 else | 4678 else |
4596 echo "configure: failed program was:" >&5 | 4679 echo "configure: failed program was:" >&5 |
4597 cat conftest.$ac_ext >&5 | 4680 cat conftest.$ac_ext >&5 |
4604 cat conftest.$ac_ext >&5 | 4687 cat conftest.$ac_ext >&5 |
4605 fi | 4688 fi |
4606 rm -f conftest* | 4689 rm -f conftest* |
4607 if test $ac_cv_c_bigendian = unknown; then | 4690 if test $ac_cv_c_bigendian = unknown; then |
4608 cat > conftest.$ac_ext <<EOF | 4691 cat > conftest.$ac_ext <<EOF |
4609 #line 4610 "configure" | 4692 #line 4693 "configure" |
4610 #include "confdefs.h" | 4693 #include "confdefs.h" |
4611 main () { | 4694 main () { |
4612 /* Are we little or big endian? From Harbison&Steele. */ | 4695 /* Are we little or big endian? From Harbison&Steele. */ |
4613 union | 4696 union |
4614 { | 4697 { |
4617 } u; | 4700 } u; |
4618 u.l = 1; | 4701 u.l = 1; |
4619 exit (u.c[sizeof (long) - 1] == 1); | 4702 exit (u.c[sizeof (long) - 1] == 1); |
4620 } | 4703 } |
4621 EOF | 4704 EOF |
4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4623 then | 4706 then |
4624 ac_cv_c_bigendian=no | 4707 ac_cv_c_bigendian=no |
4625 else | 4708 else |
4626 conftest_rc="$?" | 4709 conftest_rc="$?" |
4627 echo "configure: failed program was:" >&5 | 4710 echo "configure: failed program was:" >&5 |
4644 | 4727 |
4645 fi | 4728 fi |
4646 | 4729 |
4647 | 4730 |
4648 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4731 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4649 echo "configure:4650: checking size of short" >&5 | 4732 echo "configure:4733: checking size of short" >&5 |
4650 | 4733 |
4651 cat > conftest.$ac_ext <<EOF | 4734 cat > conftest.$ac_ext <<EOF |
4652 #line 4653 "configure" | 4735 #line 4736 "configure" |
4653 #include "confdefs.h" | 4736 #include "confdefs.h" |
4654 #include <stdio.h> | 4737 #include <stdio.h> |
4655 int main() | 4738 #include <sys/types.h> |
4739 main() | |
4656 { | 4740 { |
4657 FILE *f=fopen("conftestval", "w"); | 4741 FILE *f=fopen("conftestval", "w"); |
4658 if (!f) return(1); | 4742 if (!f) exit(1); |
4659 fprintf(f, "%d\n", sizeof(short)); | 4743 fprintf(f, "%d\n", sizeof(short)); |
4660 return(0); | 4744 exit(0); |
4661 } | 4745 } |
4662 EOF | 4746 EOF |
4663 if { (eval echo configure:4664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4664 then | 4748 then |
4665 ac_cv_sizeof_short=`cat conftestval` | 4749 ac_cv_sizeof_short=`cat conftestval` |
4666 else | 4750 else |
4667 conftest_rc="$?" | 4751 conftest_rc="$?" |
4668 echo "configure: failed program was:" >&5 | 4752 echo "configure: failed program was:" >&5 |
4686 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4770 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4687 echo "*** PANIC *** Please examine config.log for compilation errors." | 4771 echo "*** PANIC *** Please examine config.log for compilation errors." |
4688 exit 1 | 4772 exit 1 |
4689 fi | 4773 fi |
4690 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4774 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4691 echo "configure:4692: checking size of int" >&5 | 4775 echo "configure:4776: checking size of int" >&5 |
4692 | 4776 |
4693 cat > conftest.$ac_ext <<EOF | 4777 cat > conftest.$ac_ext <<EOF |
4694 #line 4695 "configure" | 4778 #line 4779 "configure" |
4695 #include "confdefs.h" | 4779 #include "confdefs.h" |
4696 #include <stdio.h> | 4780 #include <stdio.h> |
4697 int main() | 4781 #include <sys/types.h> |
4782 main() | |
4698 { | 4783 { |
4699 FILE *f=fopen("conftestval", "w"); | 4784 FILE *f=fopen("conftestval", "w"); |
4700 if (!f) return(1); | 4785 if (!f) exit(1); |
4701 fprintf(f, "%d\n", sizeof(int)); | 4786 fprintf(f, "%d\n", sizeof(int)); |
4702 return(0); | 4787 exit(0); |
4703 } | 4788 } |
4704 EOF | 4789 EOF |
4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4706 then | 4791 then |
4707 ac_cv_sizeof_int=`cat conftestval` | 4792 ac_cv_sizeof_int=`cat conftestval` |
4708 else | 4793 else |
4709 conftest_rc="$?" | 4794 conftest_rc="$?" |
4710 echo "configure: failed program was:" >&5 | 4795 echo "configure: failed program was:" >&5 |
4722 EOF | 4807 EOF |
4723 } | 4808 } |
4724 | 4809 |
4725 | 4810 |
4726 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4811 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4727 echo "configure:4728: checking size of long" >&5 | 4812 echo "configure:4813: checking size of long" >&5 |
4728 | 4813 |
4729 cat > conftest.$ac_ext <<EOF | 4814 cat > conftest.$ac_ext <<EOF |
4730 #line 4731 "configure" | 4815 #line 4816 "configure" |
4731 #include "confdefs.h" | 4816 #include "confdefs.h" |
4732 #include <stdio.h> | 4817 #include <stdio.h> |
4733 int main() | 4818 #include <sys/types.h> |
4819 main() | |
4734 { | 4820 { |
4735 FILE *f=fopen("conftestval", "w"); | 4821 FILE *f=fopen("conftestval", "w"); |
4736 if (!f) return(1); | 4822 if (!f) exit(1); |
4737 fprintf(f, "%d\n", sizeof(long)); | 4823 fprintf(f, "%d\n", sizeof(long)); |
4738 return(0); | 4824 exit(0); |
4739 } | 4825 } |
4740 EOF | 4826 EOF |
4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4827 if { (eval echo configure:4828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4742 then | 4828 then |
4743 ac_cv_sizeof_long=`cat conftestval` | 4829 ac_cv_sizeof_long=`cat conftestval` |
4744 else | 4830 else |
4745 conftest_rc="$?" | 4831 conftest_rc="$?" |
4746 echo "configure: failed program was:" >&5 | 4832 echo "configure: failed program was:" >&5 |
4758 EOF | 4844 EOF |
4759 } | 4845 } |
4760 | 4846 |
4761 | 4847 |
4762 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4848 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4763 echo "configure:4764: checking size of long long" >&5 | 4849 echo "configure:4850: checking size of long long" >&5 |
4764 | 4850 |
4765 cat > conftest.$ac_ext <<EOF | 4851 cat > conftest.$ac_ext <<EOF |
4766 #line 4767 "configure" | 4852 #line 4853 "configure" |
4767 #include "confdefs.h" | 4853 #include "confdefs.h" |
4768 #include <stdio.h> | 4854 #include <stdio.h> |
4769 int main() | 4855 #include <sys/types.h> |
4856 main() | |
4770 { | 4857 { |
4771 FILE *f=fopen("conftestval", "w"); | 4858 FILE *f=fopen("conftestval", "w"); |
4772 if (!f) return(1); | 4859 if (!f) exit(1); |
4773 fprintf(f, "%d\n", sizeof(long long)); | 4860 fprintf(f, "%d\n", sizeof(long long)); |
4774 return(0); | 4861 exit(0); |
4775 } | 4862 } |
4776 EOF | 4863 EOF |
4777 if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4778 then | 4865 then |
4779 ac_cv_sizeof_long_long=`cat conftestval` | 4866 ac_cv_sizeof_long_long=`cat conftestval` |
4780 else | 4867 else |
4781 conftest_rc="$?" | 4868 conftest_rc="$?" |
4782 echo "configure: failed program was:" >&5 | 4869 echo "configure: failed program was:" >&5 |
4794 EOF | 4881 EOF |
4795 } | 4882 } |
4796 | 4883 |
4797 | 4884 |
4798 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4885 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4799 echo "configure:4800: checking size of void *" >&5 | 4886 echo "configure:4887: checking size of void *" >&5 |
4800 | 4887 |
4801 cat > conftest.$ac_ext <<EOF | 4888 cat > conftest.$ac_ext <<EOF |
4802 #line 4803 "configure" | 4889 #line 4890 "configure" |
4803 #include "confdefs.h" | 4890 #include "confdefs.h" |
4804 #include <stdio.h> | 4891 #include <stdio.h> |
4805 int main() | 4892 #include <sys/types.h> |
4893 main() | |
4806 { | 4894 { |
4807 FILE *f=fopen("conftestval", "w"); | 4895 FILE *f=fopen("conftestval", "w"); |
4808 if (!f) return(1); | 4896 if (!f) exit(1); |
4809 fprintf(f, "%d\n", sizeof(void *)); | 4897 fprintf(f, "%d\n", sizeof(void *)); |
4810 return(0); | 4898 exit(0); |
4811 } | 4899 } |
4812 EOF | 4900 EOF |
4813 if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4901 if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4814 then | 4902 then |
4815 ac_cv_sizeof_void_p=`cat conftestval` | 4903 ac_cv_sizeof_void_p=`cat conftestval` |
4816 else | 4904 else |
4817 conftest_rc="$?" | 4905 conftest_rc="$?" |
4818 echo "configure: failed program was:" >&5 | 4906 echo "configure: failed program was:" >&5 |
4831 } | 4919 } |
4832 | 4920 |
4833 | 4921 |
4834 | 4922 |
4835 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4923 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4836 echo "configure:4837: checking for long file names" >&5 | 4924 echo "configure:4925: checking for long file names" >&5 |
4837 | 4925 |
4838 ac_cv_sys_long_file_names=yes | 4926 ac_cv_sys_long_file_names=yes |
4839 # Test for long file names in all the places we know might matter: | 4927 # Test for long file names in all the places we know might matter: |
4840 # . the current directory, where building will happen | 4928 # . the current directory, where building will happen |
4841 # $prefix/lib where we will be installing things | 4929 # $prefix/lib where we will be installing things |
4877 | 4965 |
4878 fi | 4966 fi |
4879 | 4967 |
4880 | 4968 |
4881 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4969 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4882 echo "configure:4883: checking for sin" >&5 | 4970 echo "configure:4971: checking for sin" >&5 |
4883 | 4971 |
4884 cat > conftest.$ac_ext <<EOF | 4972 cat > conftest.$ac_ext <<EOF |
4885 #line 4886 "configure" | 4973 #line 4974 "configure" |
4886 #include "confdefs.h" | 4974 #include "confdefs.h" |
4887 /* System header to define __stub macros and hopefully few prototypes, | 4975 /* System header to define __stub macros and hopefully few prototypes, |
4888 which can conflict with char sin(); below. */ | 4976 which can conflict with char sin(); below. */ |
4889 #include <assert.h> | 4977 #include <assert.h> |
4890 /* Override any gcc2 internal prototype to avoid an error. */ | 4978 /* Override any gcc2 internal prototype to avoid an error. */ |
4903 sin(); | 4991 sin(); |
4904 #endif | 4992 #endif |
4905 | 4993 |
4906 ; return 0; } | 4994 ; return 0; } |
4907 EOF | 4995 EOF |
4908 if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4996 if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4909 rm -rf conftest* | 4997 rm -rf conftest* |
4910 eval "ac_cv_func_sin=yes" | 4998 eval "ac_cv_func_sin=yes" |
4911 else | 4999 else |
4912 echo "configure: failed program was:" >&5 | 5000 echo "configure: failed program was:" >&5 |
4913 cat conftest.$ac_ext >&5 | 5001 cat conftest.$ac_ext >&5 |
4921 : | 5009 : |
4922 else | 5010 else |
4923 echo "$ac_t""no" 1>&6 | 5011 echo "$ac_t""no" 1>&6 |
4924 | 5012 |
4925 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5013 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4926 echo "configure:4927: checking for sin in -lm" >&5 | 5014 echo "configure:5015: checking for sin in -lm" >&5 |
4927 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5015 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4928 | 5016 |
4929 xe_check_libs=" -lm " | 5017 xe_check_libs=" -lm " |
4930 cat > conftest.$ac_ext <<EOF | 5018 cat > conftest.$ac_ext <<EOF |
4931 #line 4932 "configure" | 5019 #line 5020 "configure" |
4932 #include "confdefs.h" | 5020 #include "confdefs.h" |
4933 /* Override any gcc2 internal prototype to avoid an error. */ | 5021 /* Override any gcc2 internal prototype to avoid an error. */ |
4934 /* We use char because int might match the return type of a gcc2 | 5022 /* We use char because int might match the return type of a gcc2 |
4935 builtin and then its argument prototype would still apply. */ | 5023 builtin and then its argument prototype would still apply. */ |
4936 char sin(); | 5024 char sin(); |
4937 | 5025 |
4938 int main() { | 5026 int main() { |
4939 sin() | 5027 sin() |
4940 ; return 0; } | 5028 ; return 0; } |
4941 EOF | 5029 EOF |
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5030 if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4943 rm -rf conftest* | 5031 rm -rf conftest* |
4944 eval "ac_cv_lib_$ac_lib_var=yes" | 5032 eval "ac_cv_lib_$ac_lib_var=yes" |
4945 else | 5033 else |
4946 echo "configure: failed program was:" >&5 | 5034 echo "configure: failed program was:" >&5 |
4947 cat conftest.$ac_ext >&5 | 5035 cat conftest.$ac_ext >&5 |
4972 | 5060 |
4973 fi | 5061 fi |
4974 | 5062 |
4975 | 5063 |
4976 cat > conftest.$ac_ext <<EOF | 5064 cat > conftest.$ac_ext <<EOF |
4977 #line 4978 "configure" | 5065 #line 5066 "configure" |
4978 #include "confdefs.h" | 5066 #include "confdefs.h" |
4979 #include <math.h> | 5067 #include <math.h> |
4980 int main() { | 5068 int main() { |
4981 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5069 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4982 ; return 0; } | 5070 ; return 0; } |
4983 EOF | 5071 EOF |
4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4985 rm -rf conftest* | 5073 rm -rf conftest* |
4986 { test "$extra_verbose" = "yes" && cat << \EOF | 5074 { test "$extra_verbose" = "yes" && cat << \EOF |
4987 Defining HAVE_INVERSE_HYPERBOLIC | 5075 Defining HAVE_INVERSE_HYPERBOLIC |
4988 EOF | 5076 EOF |
4989 cat >> confdefs.h <<\EOF | 5077 cat >> confdefs.h <<\EOF |
4998 rm -f conftest* | 5086 rm -f conftest* |
4999 | 5087 |
5000 for ac_func in mkstemp | 5088 for ac_func in mkstemp |
5001 do | 5089 do |
5002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5003 echo "configure:5004: checking for $ac_func" >&5 | 5091 echo "configure:5092: checking for $ac_func" >&5 |
5004 | 5092 |
5005 cat > conftest.$ac_ext <<EOF | 5093 cat > conftest.$ac_ext <<EOF |
5006 #line 5007 "configure" | 5094 #line 5095 "configure" |
5007 #include "confdefs.h" | 5095 #include "confdefs.h" |
5008 /* System header to define __stub macros and hopefully few prototypes, | 5096 /* System header to define __stub macros and hopefully few prototypes, |
5009 which can conflict with char $ac_func(); below. */ | 5097 which can conflict with char $ac_func(); below. */ |
5010 #include <assert.h> | 5098 #include <assert.h> |
5011 /* Override any gcc2 internal prototype to avoid an error. */ | 5099 /* Override any gcc2 internal prototype to avoid an error. */ |
5024 $ac_func(); | 5112 $ac_func(); |
5025 #endif | 5113 #endif |
5026 | 5114 |
5027 ; return 0; } | 5115 ; return 0; } |
5028 EOF | 5116 EOF |
5029 if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5030 rm -rf conftest* | 5118 rm -rf conftest* |
5031 eval "ac_cv_func_$ac_func=yes" | 5119 eval "ac_cv_func_$ac_func=yes" |
5032 else | 5120 else |
5033 echo "configure: failed program was:" >&5 | 5121 echo "configure: failed program was:" >&5 |
5034 cat conftest.$ac_ext >&5 | 5122 cat conftest.$ac_ext >&5 |
5053 fi | 5141 fi |
5054 done | 5142 done |
5055 | 5143 |
5056 | 5144 |
5057 echo "checking type of mail spool file locking" 1>&6 | 5145 echo "checking type of mail spool file locking" 1>&6 |
5058 echo "configure:5059: checking type of mail spool file locking" >&5 | 5146 echo "configure:5147: checking type of mail spool file locking" >&5 |
5059 for ac_func in lockf flock | 5147 for ac_func in lockf flock |
5060 do | 5148 do |
5061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5062 echo "configure:5063: checking for $ac_func" >&5 | 5150 echo "configure:5151: checking for $ac_func" >&5 |
5063 | 5151 |
5064 cat > conftest.$ac_ext <<EOF | 5152 cat > conftest.$ac_ext <<EOF |
5065 #line 5066 "configure" | 5153 #line 5154 "configure" |
5066 #include "confdefs.h" | 5154 #include "confdefs.h" |
5067 /* System header to define __stub macros and hopefully few prototypes, | 5155 /* System header to define __stub macros and hopefully few prototypes, |
5068 which can conflict with char $ac_func(); below. */ | 5156 which can conflict with char $ac_func(); below. */ |
5069 #include <assert.h> | 5157 #include <assert.h> |
5070 /* Override any gcc2 internal prototype to avoid an error. */ | 5158 /* Override any gcc2 internal prototype to avoid an error. */ |
5083 $ac_func(); | 5171 $ac_func(); |
5084 #endif | 5172 #endif |
5085 | 5173 |
5086 ; return 0; } | 5174 ; return 0; } |
5087 EOF | 5175 EOF |
5088 if { (eval echo configure:5089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5176 if { (eval echo configure:5177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5089 rm -rf conftest* | 5177 rm -rf conftest* |
5090 eval "ac_cv_func_$ac_func=yes" | 5178 eval "ac_cv_func_$ac_func=yes" |
5091 else | 5179 else |
5092 echo "configure: failed program was:" >&5 | 5180 echo "configure: failed program was:" >&5 |
5093 cat conftest.$ac_ext >&5 | 5181 cat conftest.$ac_ext >&5 |
5165 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5253 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5166 | 5254 |
5167 case "$opsys" in decosf*) | 5255 case "$opsys" in decosf*) |
5168 | 5256 |
5169 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5257 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5170 echo "configure:5171: checking for cma_open in -lpthreads" >&5 | 5258 echo "configure:5259: checking for cma_open in -lpthreads" >&5 |
5171 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5259 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5172 | 5260 |
5173 xe_check_libs=" -lpthreads " | 5261 xe_check_libs=" -lpthreads " |
5174 cat > conftest.$ac_ext <<EOF | 5262 cat > conftest.$ac_ext <<EOF |
5175 #line 5176 "configure" | 5263 #line 5264 "configure" |
5176 #include "confdefs.h" | 5264 #include "confdefs.h" |
5177 /* Override any gcc2 internal prototype to avoid an error. */ | 5265 /* Override any gcc2 internal prototype to avoid an error. */ |
5178 /* We use char because int might match the return type of a gcc2 | 5266 /* We use char because int might match the return type of a gcc2 |
5179 builtin and then its argument prototype would still apply. */ | 5267 builtin and then its argument prototype would still apply. */ |
5180 char cma_open(); | 5268 char cma_open(); |
5181 | 5269 |
5182 int main() { | 5270 int main() { |
5183 cma_open() | 5271 cma_open() |
5184 ; return 0; } | 5272 ; return 0; } |
5185 EOF | 5273 EOF |
5186 if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5274 if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5187 rm -rf conftest* | 5275 rm -rf conftest* |
5188 eval "ac_cv_lib_$ac_lib_var=yes" | 5276 eval "ac_cv_lib_$ac_lib_var=yes" |
5189 else | 5277 else |
5190 echo "configure: failed program was:" >&5 | 5278 echo "configure: failed program was:" >&5 |
5191 cat conftest.$ac_ext >&5 | 5279 cat conftest.$ac_ext >&5 |
5218 c_switch_site="$c_switch_site -threads" ;; | 5306 c_switch_site="$c_switch_site -threads" ;; |
5219 esac | 5307 esac |
5220 | 5308 |
5221 | 5309 |
5222 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5310 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5223 echo "configure:5224: checking whether the -xildoff compiler flag is required" >&5 | 5311 echo "configure:5312: checking whether the -xildoff compiler flag is required" >&5 |
5224 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5312 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5225 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5313 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5226 then echo "$ac_t""no" 1>&6; | 5314 then echo "$ac_t""no" 1>&6; |
5227 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 | 5315 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 |
5228 fi | 5316 fi |
5230 fi | 5318 fi |
5231 | 5319 |
5232 if test "$opsys" = "sol2"; then | 5320 if test "$opsys" = "sol2"; then |
5233 if test "$os_release" -ge 506; then | 5321 if test "$os_release" -ge 506; then |
5234 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5322 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5235 echo "configure:5236: checking for \"-z ignore\" linker flag" >&5 | 5323 echo "configure:5324: checking for \"-z ignore\" linker flag" >&5 |
5236 case "`ld -h 2>&1`" in | 5324 case "`ld -h 2>&1`" in |
5237 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5325 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5238 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5326 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5239 *) echo "$ac_t""no" 1>&6 ;; | 5327 *) echo "$ac_t""no" 1>&6 ;; |
5240 esac | 5328 esac |
5241 fi | 5329 fi |
5242 fi | 5330 fi |
5243 | 5331 |
5244 | 5332 |
5245 echo "checking "for specified window system"" 1>&6 | 5333 echo "checking "for specified window system"" 1>&6 |
5246 echo "configure:5247: checking "for specified window system"" >&5 | 5334 echo "configure:5335: checking "for specified window system"" >&5 |
5247 | 5335 |
5248 | 5336 |
5249 GNOME_CONFIG=no | 5337 GNOME_CONFIG=no |
5250 GTK_CONFIG=no | 5338 GTK_CONFIG=no |
5251 | 5339 |
5252 if test "$with_gnome" != "no"; then | 5340 if test "$with_gnome" != "no"; then |
5253 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5341 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5254 echo "configure:5255: checking for GNOME configuration script" >&5 | 5342 echo "configure:5343: checking for GNOME configuration script" >&5 |
5255 for possible in gnome-config | 5343 for possible in gnome-config |
5256 do | 5344 do |
5257 possible_version=`${possible} --version 2> /dev/null` | 5345 possible_version=`${possible} --version 2> /dev/null` |
5258 if test "x${possible_version}" != "x"; then | 5346 if test "x${possible_version}" != "x"; then |
5259 GNOME_CONFIG="${possible}" | 5347 GNOME_CONFIG="${possible}" |
5280 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5368 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5281 fi | 5369 fi |
5282 | 5370 |
5283 if test "$with_gtk" != "no";then | 5371 if test "$with_gtk" != "no";then |
5284 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5372 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5285 echo "configure:5286: checking for GTK configuration script" >&5 | 5373 echo "configure:5374: checking for GTK configuration script" >&5 |
5286 for possible in gtk12-config gtk14-config gtk-config | 5374 for possible in gtk12-config gtk14-config gtk-config |
5287 do | 5375 do |
5288 possible_version=`${possible} --version 2> /dev/null` | 5376 possible_version=`${possible} --version 2> /dev/null` |
5289 if test "x${possible_version}" != "x"; then | 5377 if test "x${possible_version}" != "x"; then |
5290 GTK_CONFIG="${possible}" | 5378 GTK_CONFIG="${possible}" |
5302 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5390 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5303 fi | 5391 fi |
5304 | 5392 |
5305 if test "${GTK_CONFIG}" != "no"; then | 5393 if test "${GTK_CONFIG}" != "no"; then |
5306 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5394 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5307 echo "configure:5308: checking gtk version" >&5 | 5395 echo "configure:5396: checking gtk version" >&5 |
5308 GTK_VERSION=`${GTK_CONFIG} --version` | 5396 GTK_VERSION=`${GTK_CONFIG} --version` |
5309 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5397 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5310 | 5398 |
5311 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5399 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5312 echo "configure:5313: checking gtk libs" >&5 | 5400 echo "configure:5401: checking gtk libs" >&5 |
5313 GTK_LIBS=`${GTK_CONFIG} --libs` | 5401 GTK_LIBS=`${GTK_CONFIG} --libs` |
5314 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5402 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5315 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5403 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5316 | 5404 |
5317 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5405 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5318 echo "configure:5319: checking gtk cflags" >&5 | 5406 echo "configure:5407: checking gtk cflags" >&5 |
5319 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5407 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5320 if test "$GCC" = "yes"; then | 5408 if test "$GCC" = "yes"; then |
5321 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5409 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5322 fi | 5410 fi |
5323 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5411 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5324 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5412 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5325 | 5413 |
5326 | 5414 |
5327 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5415 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5328 echo "configure:5329: checking for main in -lgdk_imlib" >&5 | 5416 echo "configure:5417: checking for main in -lgdk_imlib" >&5 |
5329 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5417 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5330 | 5418 |
5331 xe_check_libs=" -lgdk_imlib " | 5419 xe_check_libs=" -lgdk_imlib " |
5332 cat > conftest.$ac_ext <<EOF | 5420 cat > conftest.$ac_ext <<EOF |
5333 #line 5334 "configure" | 5421 #line 5422 "configure" |
5334 #include "confdefs.h" | 5422 #include "confdefs.h" |
5335 | 5423 |
5336 int main() { | 5424 int main() { |
5337 main() | 5425 main() |
5338 ; return 0; } | 5426 ; return 0; } |
5339 EOF | 5427 EOF |
5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5428 if { (eval echo configure:5429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5341 rm -rf conftest* | 5429 rm -rf conftest* |
5342 eval "ac_cv_lib_$ac_lib_var=yes" | 5430 eval "ac_cv_lib_$ac_lib_var=yes" |
5343 else | 5431 else |
5344 echo "configure: failed program was:" >&5 | 5432 echo "configure: failed program was:" >&5 |
5345 cat conftest.$ac_ext >&5 | 5433 cat conftest.$ac_ext >&5 |
5357 fi | 5445 fi |
5358 | 5446 |
5359 | 5447 |
5360 | 5448 |
5361 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5449 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5362 echo "configure:5363: checking for Imlib_init in -lImlib" >&5 | 5450 echo "configure:5451: checking for Imlib_init in -lImlib" >&5 |
5363 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5451 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5364 | 5452 |
5365 xe_check_libs=" -lImlib " | 5453 xe_check_libs=" -lImlib " |
5366 cat > conftest.$ac_ext <<EOF | 5454 cat > conftest.$ac_ext <<EOF |
5367 #line 5368 "configure" | 5455 #line 5456 "configure" |
5368 #include "confdefs.h" | 5456 #include "confdefs.h" |
5369 /* Override any gcc2 internal prototype to avoid an error. */ | 5457 /* Override any gcc2 internal prototype to avoid an error. */ |
5370 /* We use char because int might match the return type of a gcc2 | 5458 /* We use char because int might match the return type of a gcc2 |
5371 builtin and then its argument prototype would still apply. */ | 5459 builtin and then its argument prototype would still apply. */ |
5372 char Imlib_init(); | 5460 char Imlib_init(); |
5373 | 5461 |
5374 int main() { | 5462 int main() { |
5375 Imlib_init() | 5463 Imlib_init() |
5376 ; return 0; } | 5464 ; return 0; } |
5377 EOF | 5465 EOF |
5378 if { (eval echo configure:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5466 if { (eval echo configure:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5379 rm -rf conftest* | 5467 rm -rf conftest* |
5380 eval "ac_cv_lib_$ac_lib_var=yes" | 5468 eval "ac_cv_lib_$ac_lib_var=yes" |
5381 else | 5469 else |
5382 echo "configure: failed program was:" >&5 | 5470 echo "configure: failed program was:" >&5 |
5383 cat conftest.$ac_ext >&5 | 5471 cat conftest.$ac_ext >&5 |
5396 | 5484 |
5397 | 5485 |
5398 for ac_func in gdk_imlib_init | 5486 for ac_func in gdk_imlib_init |
5399 do | 5487 do |
5400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5401 echo "configure:5402: checking for $ac_func" >&5 | 5489 echo "configure:5490: checking for $ac_func" >&5 |
5402 | 5490 |
5403 cat > conftest.$ac_ext <<EOF | 5491 cat > conftest.$ac_ext <<EOF |
5404 #line 5405 "configure" | 5492 #line 5493 "configure" |
5405 #include "confdefs.h" | 5493 #include "confdefs.h" |
5406 /* System header to define __stub macros and hopefully few prototypes, | 5494 /* System header to define __stub macros and hopefully few prototypes, |
5407 which can conflict with char $ac_func(); below. */ | 5495 which can conflict with char $ac_func(); below. */ |
5408 #include <assert.h> | 5496 #include <assert.h> |
5409 /* Override any gcc2 internal prototype to avoid an error. */ | 5497 /* Override any gcc2 internal prototype to avoid an error. */ |
5422 $ac_func(); | 5510 $ac_func(); |
5423 #endif | 5511 #endif |
5424 | 5512 |
5425 ; return 0; } | 5513 ; return 0; } |
5426 EOF | 5514 EOF |
5427 if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5515 if { (eval echo configure:5516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5428 rm -rf conftest* | 5516 rm -rf conftest* |
5429 eval "ac_cv_func_$ac_func=yes" | 5517 eval "ac_cv_func_$ac_func=yes" |
5430 else | 5518 else |
5431 echo "configure: failed program was:" >&5 | 5519 echo "configure: failed program was:" >&5 |
5432 cat conftest.$ac_ext >&5 | 5520 cat conftest.$ac_ext >&5 |
5488 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5576 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5489 for ac_hdr in glade/glade.h glade.h | 5577 for ac_hdr in glade/glade.h glade.h |
5490 do | 5578 do |
5491 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5492 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5493 echo "configure:5494: checking for $ac_hdr" >&5 | 5581 echo "configure:5582: checking for $ac_hdr" >&5 |
5494 | 5582 |
5495 cat > conftest.$ac_ext <<EOF | 5583 cat > conftest.$ac_ext <<EOF |
5496 #line 5497 "configure" | 5584 #line 5585 "configure" |
5497 #include "confdefs.h" | 5585 #include "confdefs.h" |
5498 #include <$ac_hdr> | 5586 #include <$ac_hdr> |
5499 EOF | 5587 EOF |
5500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5501 { (eval echo configure:5502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5589 { (eval echo configure:5590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5503 if test -z "$ac_err"; then | 5591 if test -z "$ac_err"; then |
5504 rm -rf conftest* | 5592 rm -rf conftest* |
5505 eval "ac_cv_header_$ac_safe=yes" | 5593 eval "ac_cv_header_$ac_safe=yes" |
5506 else | 5594 else |
5527 fi | 5615 fi |
5528 done | 5616 done |
5529 | 5617 |
5530 | 5618 |
5531 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5619 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5532 echo "configure:5533: checking for main in -lxml" >&5 | 5620 echo "configure:5621: checking for main in -lxml" >&5 |
5533 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5621 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5534 | 5622 |
5535 xe_check_libs=" -lxml " | 5623 xe_check_libs=" -lxml " |
5536 cat > conftest.$ac_ext <<EOF | 5624 cat > conftest.$ac_ext <<EOF |
5537 #line 5538 "configure" | 5625 #line 5626 "configure" |
5538 #include "confdefs.h" | 5626 #include "confdefs.h" |
5539 | 5627 |
5540 int main() { | 5628 int main() { |
5541 main() | 5629 main() |
5542 ; return 0; } | 5630 ; return 0; } |
5543 EOF | 5631 EOF |
5544 if { (eval echo configure:5545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5632 if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5545 rm -rf conftest* | 5633 rm -rf conftest* |
5546 eval "ac_cv_lib_$ac_lib_var=yes" | 5634 eval "ac_cv_lib_$ac_lib_var=yes" |
5547 else | 5635 else |
5548 echo "configure: failed program was:" >&5 | 5636 echo "configure: failed program was:" >&5 |
5549 cat conftest.$ac_ext >&5 | 5637 cat conftest.$ac_ext >&5 |
5561 fi | 5649 fi |
5562 | 5650 |
5563 | 5651 |
5564 | 5652 |
5565 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5653 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5566 echo "configure:5567: checking for main in -lglade" >&5 | 5654 echo "configure:5655: checking for main in -lglade" >&5 |
5567 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5655 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5568 | 5656 |
5569 xe_check_libs=" -lglade " | 5657 xe_check_libs=" -lglade " |
5570 cat > conftest.$ac_ext <<EOF | 5658 cat > conftest.$ac_ext <<EOF |
5571 #line 5572 "configure" | 5659 #line 5660 "configure" |
5572 #include "confdefs.h" | 5660 #include "confdefs.h" |
5573 | 5661 |
5574 int main() { | 5662 int main() { |
5575 main() | 5663 main() |
5576 ; return 0; } | 5664 ; return 0; } |
5577 EOF | 5665 EOF |
5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5666 if { (eval echo configure:5667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5579 rm -rf conftest* | 5667 rm -rf conftest* |
5580 eval "ac_cv_lib_$ac_lib_var=yes" | 5668 eval "ac_cv_lib_$ac_lib_var=yes" |
5581 else | 5669 else |
5582 echo "configure: failed program was:" >&5 | 5670 echo "configure: failed program was:" >&5 |
5583 cat conftest.$ac_ext >&5 | 5671 cat conftest.$ac_ext >&5 |
5595 fi | 5683 fi |
5596 | 5684 |
5597 | 5685 |
5598 | 5686 |
5599 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5687 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5600 echo "configure:5601: checking for main in -lglade-gnome" >&5 | 5688 echo "configure:5689: checking for main in -lglade-gnome" >&5 |
5601 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5689 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5602 | 5690 |
5603 xe_check_libs=" -lglade-gnome " | 5691 xe_check_libs=" -lglade-gnome " |
5604 cat > conftest.$ac_ext <<EOF | 5692 cat > conftest.$ac_ext <<EOF |
5605 #line 5606 "configure" | 5693 #line 5694 "configure" |
5606 #include "confdefs.h" | 5694 #include "confdefs.h" |
5607 | 5695 |
5608 int main() { | 5696 int main() { |
5609 main() | 5697 main() |
5610 ; return 0; } | 5698 ; return 0; } |
5611 EOF | 5699 EOF |
5612 if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5700 if { (eval echo configure:5701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5613 rm -rf conftest* | 5701 rm -rf conftest* |
5614 eval "ac_cv_lib_$ac_lib_var=yes" | 5702 eval "ac_cv_lib_$ac_lib_var=yes" |
5615 else | 5703 else |
5616 echo "configure: failed program was:" >&5 | 5704 echo "configure: failed program was:" >&5 |
5617 cat conftest.$ac_ext >&5 | 5705 cat conftest.$ac_ext >&5 |
5628 echo "$ac_t""no" 1>&6 | 5716 echo "$ac_t""no" 1>&6 |
5629 fi | 5717 fi |
5630 | 5718 |
5631 | 5719 |
5632 cat > conftest.$ac_ext <<EOF | 5720 cat > conftest.$ac_ext <<EOF |
5633 #line 5634 "configure" | 5721 #line 5722 "configure" |
5634 #include "confdefs.h" | 5722 #include "confdefs.h" |
5635 #include <glade/glade-xml.h> | 5723 #include <glade/glade-xml.h> |
5636 EOF | 5724 EOF |
5637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5638 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5726 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5687 # If we find X, set shell vars x_includes and x_libraries to the | 5775 # If we find X, set shell vars x_includes and x_libraries to the |
5688 # paths, otherwise set no_x=yes. | 5776 # paths, otherwise set no_x=yes. |
5689 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5777 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5690 # --without-x overrides everything else, but does not touch the cache. | 5778 # --without-x overrides everything else, but does not touch the cache. |
5691 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5779 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5692 echo "configure:5693: checking for X" >&5 | 5780 echo "configure:5781: checking for X" >&5 |
5693 | 5781 |
5694 # Check whether --with-x or --without-x was given. | 5782 # Check whether --with-x or --without-x was given. |
5695 if test "${with_x+set}" = set; then | 5783 if test "${with_x+set}" = set; then |
5696 withval="$with_x" | 5784 withval="$with_x" |
5697 : | 5785 : |
5747 # Guess where to find include files, by looking for this one X11 .h file. | 5835 # Guess where to find include files, by looking for this one X11 .h file. |
5748 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5836 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5749 | 5837 |
5750 # First, try using that file with no special directory specified. | 5838 # First, try using that file with no special directory specified. |
5751 cat > conftest.$ac_ext <<EOF | 5839 cat > conftest.$ac_ext <<EOF |
5752 #line 5753 "configure" | 5840 #line 5841 "configure" |
5753 #include "confdefs.h" | 5841 #include "confdefs.h" |
5754 #include <$x_direct_test_include> | 5842 #include <$x_direct_test_include> |
5755 EOF | 5843 EOF |
5756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5757 { (eval echo configure:5758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5845 { (eval echo configure:5846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5759 if test -z "$ac_err"; then | 5847 if test -z "$ac_err"; then |
5760 rm -rf conftest* | 5848 rm -rf conftest* |
5761 # We can compile using X headers with no special include directory. | 5849 # We can compile using X headers with no special include directory. |
5762 ac_x_includes= | 5850 ac_x_includes= |
5821 # See if we find them without any special options. | 5909 # See if we find them without any special options. |
5822 # Don't add to $LIBS permanently. | 5910 # Don't add to $LIBS permanently. |
5823 ac_save_LIBS="$LIBS" | 5911 ac_save_LIBS="$LIBS" |
5824 LIBS="-l$x_direct_test_library $LIBS" | 5912 LIBS="-l$x_direct_test_library $LIBS" |
5825 cat > conftest.$ac_ext <<EOF | 5913 cat > conftest.$ac_ext <<EOF |
5826 #line 5827 "configure" | 5914 #line 5915 "configure" |
5827 #include "confdefs.h" | 5915 #include "confdefs.h" |
5828 | 5916 |
5829 int main() { | 5917 int main() { |
5830 ${x_direct_test_function}() | 5918 ${x_direct_test_function}() |
5831 ; return 0; } | 5919 ; return 0; } |
5832 EOF | 5920 EOF |
5833 if { (eval echo configure:5834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5921 if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5834 rm -rf conftest* | 5922 rm -rf conftest* |
5835 LIBS="$ac_save_LIBS" | 5923 LIBS="$ac_save_LIBS" |
5836 # We can link X programs with no special library path. | 5924 # We can link X programs with no special library path. |
5837 ac_x_libraries= | 5925 ac_x_libraries= |
5838 else | 5926 else |
5937 # For Solaris; some versions of Sun CC require a space after -R and | 6025 # For Solaris; some versions of Sun CC require a space after -R and |
5938 # others require no space. Words are not sufficient . . . . | 6026 # others require no space. Words are not sufficient . . . . |
5939 case "`(uname -sr) 2>/dev/null`" in | 6027 case "`(uname -sr) 2>/dev/null`" in |
5940 "SunOS 5"*) | 6028 "SunOS 5"*) |
5941 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6029 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5942 echo "configure:5943: checking whether -R must be followed by a space" >&5 | 6030 echo "configure:6031: checking whether -R must be followed by a space" >&5 |
5943 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6031 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5944 cat > conftest.$ac_ext <<EOF | 6032 cat > conftest.$ac_ext <<EOF |
5945 #line 5946 "configure" | 6033 #line 6034 "configure" |
5946 #include "confdefs.h" | 6034 #include "confdefs.h" |
5947 | 6035 |
5948 int main() { | 6036 int main() { |
5949 | 6037 |
5950 ; return 0; } | 6038 ; return 0; } |
5951 EOF | 6039 EOF |
5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6040 if { (eval echo configure:6041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5953 rm -rf conftest* | 6041 rm -rf conftest* |
5954 ac_R_nospace=yes | 6042 ac_R_nospace=yes |
5955 else | 6043 else |
5956 echo "configure: failed program was:" >&5 | 6044 echo "configure: failed program was:" >&5 |
5957 cat conftest.$ac_ext >&5 | 6045 cat conftest.$ac_ext >&5 |
5963 echo "$ac_t""no" 1>&6 | 6051 echo "$ac_t""no" 1>&6 |
5964 X_LIBS="$X_LIBS -R$x_libraries" | 6052 X_LIBS="$X_LIBS -R$x_libraries" |
5965 else | 6053 else |
5966 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6054 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5967 cat > conftest.$ac_ext <<EOF | 6055 cat > conftest.$ac_ext <<EOF |
5968 #line 5969 "configure" | 6056 #line 6057 "configure" |
5969 #include "confdefs.h" | 6057 #include "confdefs.h" |
5970 | 6058 |
5971 int main() { | 6059 int main() { |
5972 | 6060 |
5973 ; return 0; } | 6061 ; return 0; } |
5974 EOF | 6062 EOF |
5975 if { (eval echo configure:5976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6063 if { (eval echo configure:6064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5976 rm -rf conftest* | 6064 rm -rf conftest* |
5977 ac_R_space=yes | 6065 ac_R_space=yes |
5978 else | 6066 else |
5979 echo "configure: failed program was:" >&5 | 6067 echo "configure: failed program was:" >&5 |
5980 cat conftest.$ac_ext >&5 | 6068 cat conftest.$ac_ext >&5 |
6006 if test "$with_dnet" = "no" ; then | 6094 if test "$with_dnet" = "no" ; then |
6007 ac_cv_lib_dnet_dnet_ntoa=no | 6095 ac_cv_lib_dnet_dnet_ntoa=no |
6008 else | 6096 else |
6009 | 6097 |
6010 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6098 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6011 echo "configure:6012: checking for dnet_ntoa in -ldnet" >&5 | 6099 echo "configure:6100: checking for dnet_ntoa in -ldnet" >&5 |
6012 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6100 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6013 | 6101 |
6014 xe_check_libs=" -ldnet " | 6102 xe_check_libs=" -ldnet " |
6015 cat > conftest.$ac_ext <<EOF | 6103 cat > conftest.$ac_ext <<EOF |
6016 #line 6017 "configure" | 6104 #line 6105 "configure" |
6017 #include "confdefs.h" | 6105 #include "confdefs.h" |
6018 /* Override any gcc2 internal prototype to avoid an error. */ | 6106 /* Override any gcc2 internal prototype to avoid an error. */ |
6019 /* We use char because int might match the return type of a gcc2 | 6107 /* We use char because int might match the return type of a gcc2 |
6020 builtin and then its argument prototype would still apply. */ | 6108 builtin and then its argument prototype would still apply. */ |
6021 char dnet_ntoa(); | 6109 char dnet_ntoa(); |
6022 | 6110 |
6023 int main() { | 6111 int main() { |
6024 dnet_ntoa() | 6112 dnet_ntoa() |
6025 ; return 0; } | 6113 ; return 0; } |
6026 EOF | 6114 EOF |
6027 if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6115 if { (eval echo configure:6116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6028 rm -rf conftest* | 6116 rm -rf conftest* |
6029 eval "ac_cv_lib_$ac_lib_var=yes" | 6117 eval "ac_cv_lib_$ac_lib_var=yes" |
6030 else | 6118 else |
6031 echo "configure: failed program was:" >&5 | 6119 echo "configure: failed program was:" >&5 |
6032 cat conftest.$ac_ext >&5 | 6120 cat conftest.$ac_ext >&5 |
6046 fi | 6134 fi |
6047 | 6135 |
6048 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6136 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6049 | 6137 |
6050 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6138 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6051 echo "configure:6052: checking for dnet_ntoa in -ldnet_stub" >&5 | 6139 echo "configure:6140: checking for dnet_ntoa in -ldnet_stub" >&5 |
6052 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6140 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6053 | 6141 |
6054 xe_check_libs=" -ldnet_stub " | 6142 xe_check_libs=" -ldnet_stub " |
6055 cat > conftest.$ac_ext <<EOF | 6143 cat > conftest.$ac_ext <<EOF |
6056 #line 6057 "configure" | 6144 #line 6145 "configure" |
6057 #include "confdefs.h" | 6145 #include "confdefs.h" |
6058 /* Override any gcc2 internal prototype to avoid an error. */ | 6146 /* Override any gcc2 internal prototype to avoid an error. */ |
6059 /* We use char because int might match the return type of a gcc2 | 6147 /* We use char because int might match the return type of a gcc2 |
6060 builtin and then its argument prototype would still apply. */ | 6148 builtin and then its argument prototype would still apply. */ |
6061 char dnet_ntoa(); | 6149 char dnet_ntoa(); |
6062 | 6150 |
6063 int main() { | 6151 int main() { |
6064 dnet_ntoa() | 6152 dnet_ntoa() |
6065 ; return 0; } | 6153 ; return 0; } |
6066 EOF | 6154 EOF |
6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6155 if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6068 rm -rf conftest* | 6156 rm -rf conftest* |
6069 eval "ac_cv_lib_$ac_lib_var=yes" | 6157 eval "ac_cv_lib_$ac_lib_var=yes" |
6070 else | 6158 else |
6071 echo "configure: failed program was:" >&5 | 6159 echo "configure: failed program was:" >&5 |
6072 cat conftest.$ac_ext >&5 | 6160 cat conftest.$ac_ext >&5 |
6091 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6179 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6092 # needs -lnsl. | 6180 # needs -lnsl. |
6093 # The nsl library prevents programs from opening the X display | 6181 # The nsl library prevents programs from opening the X display |
6094 # on Irix 5.2, according to dickey@clark.net. | 6182 # on Irix 5.2, according to dickey@clark.net. |
6095 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6183 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6096 echo "configure:6097: checking for gethostbyname" >&5 | 6184 echo "configure:6185: checking for gethostbyname" >&5 |
6097 | 6185 |
6098 cat > conftest.$ac_ext <<EOF | 6186 cat > conftest.$ac_ext <<EOF |
6099 #line 6100 "configure" | 6187 #line 6188 "configure" |
6100 #include "confdefs.h" | 6188 #include "confdefs.h" |
6101 /* System header to define __stub macros and hopefully few prototypes, | 6189 /* System header to define __stub macros and hopefully few prototypes, |
6102 which can conflict with char gethostbyname(); below. */ | 6190 which can conflict with char gethostbyname(); below. */ |
6103 #include <assert.h> | 6191 #include <assert.h> |
6104 /* Override any gcc2 internal prototype to avoid an error. */ | 6192 /* Override any gcc2 internal prototype to avoid an error. */ |
6117 gethostbyname(); | 6205 gethostbyname(); |
6118 #endif | 6206 #endif |
6119 | 6207 |
6120 ; return 0; } | 6208 ; return 0; } |
6121 EOF | 6209 EOF |
6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6210 if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6123 rm -rf conftest* | 6211 rm -rf conftest* |
6124 eval "ac_cv_func_gethostbyname=yes" | 6212 eval "ac_cv_func_gethostbyname=yes" |
6125 else | 6213 else |
6126 echo "configure: failed program was:" >&5 | 6214 echo "configure: failed program was:" >&5 |
6127 cat conftest.$ac_ext >&5 | 6215 cat conftest.$ac_ext >&5 |
6138 fi | 6226 fi |
6139 | 6227 |
6140 if test $ac_cv_func_gethostbyname = no; then | 6228 if test $ac_cv_func_gethostbyname = no; then |
6141 | 6229 |
6142 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6230 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6143 echo "configure:6144: checking for gethostbyname in -lnsl" >&5 | 6231 echo "configure:6232: checking for gethostbyname in -lnsl" >&5 |
6144 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6232 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6145 | 6233 |
6146 xe_check_libs=" -lnsl " | 6234 xe_check_libs=" -lnsl " |
6147 cat > conftest.$ac_ext <<EOF | 6235 cat > conftest.$ac_ext <<EOF |
6148 #line 6149 "configure" | 6236 #line 6237 "configure" |
6149 #include "confdefs.h" | 6237 #include "confdefs.h" |
6150 /* Override any gcc2 internal prototype to avoid an error. */ | 6238 /* Override any gcc2 internal prototype to avoid an error. */ |
6151 /* We use char because int might match the return type of a gcc2 | 6239 /* We use char because int might match the return type of a gcc2 |
6152 builtin and then its argument prototype would still apply. */ | 6240 builtin and then its argument prototype would still apply. */ |
6153 char gethostbyname(); | 6241 char gethostbyname(); |
6154 | 6242 |
6155 int main() { | 6243 int main() { |
6156 gethostbyname() | 6244 gethostbyname() |
6157 ; return 0; } | 6245 ; return 0; } |
6158 EOF | 6246 EOF |
6159 if { (eval echo configure:6160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6247 if { (eval echo configure:6248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6160 rm -rf conftest* | 6248 rm -rf conftest* |
6161 eval "ac_cv_lib_$ac_lib_var=yes" | 6249 eval "ac_cv_lib_$ac_lib_var=yes" |
6162 else | 6250 else |
6163 echo "configure: failed program was:" >&5 | 6251 echo "configure: failed program was:" >&5 |
6164 cat conftest.$ac_ext >&5 | 6252 cat conftest.$ac_ext >&5 |
6184 # on later versions), says simon@lia.di.epfl.ch: it contains | 6272 # on later versions), says simon@lia.di.epfl.ch: it contains |
6185 # gethostby* variants that don't use the nameserver (or something). | 6273 # gethostby* variants that don't use the nameserver (or something). |
6186 # -lsocket must be given before -lnsl if both are needed. | 6274 # -lsocket must be given before -lnsl if both are needed. |
6187 # We assume that if connect needs -lnsl, so does gethostbyname. | 6275 # We assume that if connect needs -lnsl, so does gethostbyname. |
6188 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6276 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6189 echo "configure:6190: checking for connect" >&5 | 6277 echo "configure:6278: checking for connect" >&5 |
6190 | 6278 |
6191 cat > conftest.$ac_ext <<EOF | 6279 cat > conftest.$ac_ext <<EOF |
6192 #line 6193 "configure" | 6280 #line 6281 "configure" |
6193 #include "confdefs.h" | 6281 #include "confdefs.h" |
6194 /* System header to define __stub macros and hopefully few prototypes, | 6282 /* System header to define __stub macros and hopefully few prototypes, |
6195 which can conflict with char connect(); below. */ | 6283 which can conflict with char connect(); below. */ |
6196 #include <assert.h> | 6284 #include <assert.h> |
6197 /* Override any gcc2 internal prototype to avoid an error. */ | 6285 /* Override any gcc2 internal prototype to avoid an error. */ |
6210 connect(); | 6298 connect(); |
6211 #endif | 6299 #endif |
6212 | 6300 |
6213 ; return 0; } | 6301 ; return 0; } |
6214 EOF | 6302 EOF |
6215 if { (eval echo configure:6216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6303 if { (eval echo configure:6304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6216 rm -rf conftest* | 6304 rm -rf conftest* |
6217 eval "ac_cv_func_connect=yes" | 6305 eval "ac_cv_func_connect=yes" |
6218 else | 6306 else |
6219 echo "configure: failed program was:" >&5 | 6307 echo "configure: failed program was:" >&5 |
6220 cat conftest.$ac_ext >&5 | 6308 cat conftest.$ac_ext >&5 |
6233 if test $ac_cv_func_connect = no; then | 6321 if test $ac_cv_func_connect = no; then |
6234 | 6322 |
6235 xe_msg_checking="for connect in -lsocket" | 6323 xe_msg_checking="for connect in -lsocket" |
6236 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6324 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6237 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6325 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6238 echo "configure:6239: checking "$xe_msg_checking"" >&5 | 6326 echo "configure:6327: checking "$xe_msg_checking"" >&5 |
6239 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6327 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6240 | 6328 |
6241 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6329 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6242 cat > conftest.$ac_ext <<EOF | 6330 cat > conftest.$ac_ext <<EOF |
6243 #line 6244 "configure" | 6331 #line 6332 "configure" |
6244 #include "confdefs.h" | 6332 #include "confdefs.h" |
6245 /* Override any gcc2 internal prototype to avoid an error. */ | 6333 /* Override any gcc2 internal prototype to avoid an error. */ |
6246 /* We use char because int might match the return type of a gcc2 | 6334 /* We use char because int might match the return type of a gcc2 |
6247 builtin and then its argument prototype would still apply. */ | 6335 builtin and then its argument prototype would still apply. */ |
6248 char connect(); | 6336 char connect(); |
6249 | 6337 |
6250 int main() { | 6338 int main() { |
6251 connect() | 6339 connect() |
6252 ; return 0; } | 6340 ; return 0; } |
6253 EOF | 6341 EOF |
6254 if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6342 if { (eval echo configure:6343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6255 rm -rf conftest* | 6343 rm -rf conftest* |
6256 eval "ac_cv_lib_$ac_lib_var=yes" | 6344 eval "ac_cv_lib_$ac_lib_var=yes" |
6257 else | 6345 else |
6258 echo "configure: failed program was:" >&5 | 6346 echo "configure: failed program was:" >&5 |
6259 cat conftest.$ac_ext >&5 | 6347 cat conftest.$ac_ext >&5 |
6273 | 6361 |
6274 fi | 6362 fi |
6275 | 6363 |
6276 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6364 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6277 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6365 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6278 echo "configure:6279: checking for remove" >&5 | 6366 echo "configure:6367: checking for remove" >&5 |
6279 | 6367 |
6280 cat > conftest.$ac_ext <<EOF | 6368 cat > conftest.$ac_ext <<EOF |
6281 #line 6282 "configure" | 6369 #line 6370 "configure" |
6282 #include "confdefs.h" | 6370 #include "confdefs.h" |
6283 /* System header to define __stub macros and hopefully few prototypes, | 6371 /* System header to define __stub macros and hopefully few prototypes, |
6284 which can conflict with char remove(); below. */ | 6372 which can conflict with char remove(); below. */ |
6285 #include <assert.h> | 6373 #include <assert.h> |
6286 /* Override any gcc2 internal prototype to avoid an error. */ | 6374 /* Override any gcc2 internal prototype to avoid an error. */ |
6299 remove(); | 6387 remove(); |
6300 #endif | 6388 #endif |
6301 | 6389 |
6302 ; return 0; } | 6390 ; return 0; } |
6303 EOF | 6391 EOF |
6304 if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6392 if { (eval echo configure:6393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6305 rm -rf conftest* | 6393 rm -rf conftest* |
6306 eval "ac_cv_func_remove=yes" | 6394 eval "ac_cv_func_remove=yes" |
6307 else | 6395 else |
6308 echo "configure: failed program was:" >&5 | 6396 echo "configure: failed program was:" >&5 |
6309 cat conftest.$ac_ext >&5 | 6397 cat conftest.$ac_ext >&5 |
6320 fi | 6408 fi |
6321 | 6409 |
6322 if test $ac_cv_func_remove = no; then | 6410 if test $ac_cv_func_remove = no; then |
6323 | 6411 |
6324 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6412 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6325 echo "configure:6326: checking for remove in -lposix" >&5 | 6413 echo "configure:6414: checking for remove in -lposix" >&5 |
6326 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6414 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6327 | 6415 |
6328 xe_check_libs=" -lposix " | 6416 xe_check_libs=" -lposix " |
6329 cat > conftest.$ac_ext <<EOF | 6417 cat > conftest.$ac_ext <<EOF |
6330 #line 6331 "configure" | 6418 #line 6419 "configure" |
6331 #include "confdefs.h" | 6419 #include "confdefs.h" |
6332 /* Override any gcc2 internal prototype to avoid an error. */ | 6420 /* Override any gcc2 internal prototype to avoid an error. */ |
6333 /* We use char because int might match the return type of a gcc2 | 6421 /* We use char because int might match the return type of a gcc2 |
6334 builtin and then its argument prototype would still apply. */ | 6422 builtin and then its argument prototype would still apply. */ |
6335 char remove(); | 6423 char remove(); |
6336 | 6424 |
6337 int main() { | 6425 int main() { |
6338 remove() | 6426 remove() |
6339 ; return 0; } | 6427 ; return 0; } |
6340 EOF | 6428 EOF |
6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6429 if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6342 rm -rf conftest* | 6430 rm -rf conftest* |
6343 eval "ac_cv_lib_$ac_lib_var=yes" | 6431 eval "ac_cv_lib_$ac_lib_var=yes" |
6344 else | 6432 else |
6345 echo "configure: failed program was:" >&5 | 6433 echo "configure: failed program was:" >&5 |
6346 cat conftest.$ac_ext >&5 | 6434 cat conftest.$ac_ext >&5 |
6360 | 6448 |
6361 fi | 6449 fi |
6362 | 6450 |
6363 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6451 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6364 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6452 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6365 echo "configure:6366: checking for shmat" >&5 | 6453 echo "configure:6454: checking for shmat" >&5 |
6366 | 6454 |
6367 cat > conftest.$ac_ext <<EOF | 6455 cat > conftest.$ac_ext <<EOF |
6368 #line 6369 "configure" | 6456 #line 6457 "configure" |
6369 #include "confdefs.h" | 6457 #include "confdefs.h" |
6370 /* System header to define __stub macros and hopefully few prototypes, | 6458 /* System header to define __stub macros and hopefully few prototypes, |
6371 which can conflict with char shmat(); below. */ | 6459 which can conflict with char shmat(); below. */ |
6372 #include <assert.h> | 6460 #include <assert.h> |
6373 /* Override any gcc2 internal prototype to avoid an error. */ | 6461 /* Override any gcc2 internal prototype to avoid an error. */ |
6386 shmat(); | 6474 shmat(); |
6387 #endif | 6475 #endif |
6388 | 6476 |
6389 ; return 0; } | 6477 ; return 0; } |
6390 EOF | 6478 EOF |
6391 if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6392 rm -rf conftest* | 6480 rm -rf conftest* |
6393 eval "ac_cv_func_shmat=yes" | 6481 eval "ac_cv_func_shmat=yes" |
6394 else | 6482 else |
6395 echo "configure: failed program was:" >&5 | 6483 echo "configure: failed program was:" >&5 |
6396 cat conftest.$ac_ext >&5 | 6484 cat conftest.$ac_ext >&5 |
6407 fi | 6495 fi |
6408 | 6496 |
6409 if test $ac_cv_func_shmat = no; then | 6497 if test $ac_cv_func_shmat = no; then |
6410 | 6498 |
6411 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6499 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6412 echo "configure:6413: checking for shmat in -lipc" >&5 | 6500 echo "configure:6501: checking for shmat in -lipc" >&5 |
6413 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6501 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6414 | 6502 |
6415 xe_check_libs=" -lipc " | 6503 xe_check_libs=" -lipc " |
6416 cat > conftest.$ac_ext <<EOF | 6504 cat > conftest.$ac_ext <<EOF |
6417 #line 6418 "configure" | 6505 #line 6506 "configure" |
6418 #include "confdefs.h" | 6506 #include "confdefs.h" |
6419 /* Override any gcc2 internal prototype to avoid an error. */ | 6507 /* Override any gcc2 internal prototype to avoid an error. */ |
6420 /* We use char because int might match the return type of a gcc2 | 6508 /* We use char because int might match the return type of a gcc2 |
6421 builtin and then its argument prototype would still apply. */ | 6509 builtin and then its argument prototype would still apply. */ |
6422 char shmat(); | 6510 char shmat(); |
6423 | 6511 |
6424 int main() { | 6512 int main() { |
6425 shmat() | 6513 shmat() |
6426 ; return 0; } | 6514 ; return 0; } |
6427 EOF | 6515 EOF |
6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6516 if { (eval echo configure:6517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6429 rm -rf conftest* | 6517 rm -rf conftest* |
6430 eval "ac_cv_lib_$ac_lib_var=yes" | 6518 eval "ac_cv_lib_$ac_lib_var=yes" |
6431 else | 6519 else |
6432 echo "configure: failed program was:" >&5 | 6520 echo "configure: failed program was:" >&5 |
6433 cat conftest.$ac_ext >&5 | 6521 cat conftest.$ac_ext >&5 |
6459 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6547 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6460 | 6548 |
6461 xe_msg_checking="for IceConnectionNumber in -lICE" | 6549 xe_msg_checking="for IceConnectionNumber in -lICE" |
6462 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6550 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6463 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6551 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6464 echo "configure:6465: checking "$xe_msg_checking"" >&5 | 6552 echo "configure:6553: checking "$xe_msg_checking"" >&5 |
6465 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6553 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6466 | 6554 |
6467 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6555 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6468 cat > conftest.$ac_ext <<EOF | 6556 cat > conftest.$ac_ext <<EOF |
6469 #line 6470 "configure" | 6557 #line 6558 "configure" |
6470 #include "confdefs.h" | 6558 #include "confdefs.h" |
6471 /* Override any gcc2 internal prototype to avoid an error. */ | 6559 /* Override any gcc2 internal prototype to avoid an error. */ |
6472 /* We use char because int might match the return type of a gcc2 | 6560 /* We use char because int might match the return type of a gcc2 |
6473 builtin and then its argument prototype would still apply. */ | 6561 builtin and then its argument prototype would still apply. */ |
6474 char IceConnectionNumber(); | 6562 char IceConnectionNumber(); |
6475 | 6563 |
6476 int main() { | 6564 int main() { |
6477 IceConnectionNumber() | 6565 IceConnectionNumber() |
6478 ; return 0; } | 6566 ; return 0; } |
6479 EOF | 6567 EOF |
6480 if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6568 if { (eval echo configure:6569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6481 rm -rf conftest* | 6569 rm -rf conftest* |
6482 eval "ac_cv_lib_$ac_lib_var=yes" | 6570 eval "ac_cv_lib_$ac_lib_var=yes" |
6483 else | 6571 else |
6484 echo "configure: failed program was:" >&5 | 6572 echo "configure: failed program was:" >&5 |
6485 cat conftest.$ac_ext >&5 | 6573 cat conftest.$ac_ext >&5 |
6521 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6609 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6522 | 6610 |
6523 | 6611 |
6524 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6612 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6525 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6613 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6526 echo "configure:6527: checking for Xm/Xm.h" >&5 | 6614 echo "configure:6615: checking for Xm/Xm.h" >&5 |
6527 | 6615 |
6528 cat > conftest.$ac_ext <<EOF | 6616 cat > conftest.$ac_ext <<EOF |
6529 #line 6530 "configure" | 6617 #line 6618 "configure" |
6530 #include "confdefs.h" | 6618 #include "confdefs.h" |
6531 #include <Xm/Xm.h> | 6619 #include <Xm/Xm.h> |
6532 EOF | 6620 EOF |
6533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6534 { (eval echo configure:6535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6622 { (eval echo configure:6623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6536 if test -z "$ac_err"; then | 6624 if test -z "$ac_err"; then |
6537 rm -rf conftest* | 6625 rm -rf conftest* |
6538 eval "ac_cv_header_$ac_safe=yes" | 6626 eval "ac_cv_header_$ac_safe=yes" |
6539 else | 6627 else |
6546 rm -f conftest* | 6634 rm -f conftest* |
6547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6548 echo "$ac_t""yes" 1>&6 | 6636 echo "$ac_t""yes" 1>&6 |
6549 | 6637 |
6550 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6638 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6551 echo "configure:6552: checking for XmStringFree in -lXm" >&5 | 6639 echo "configure:6640: checking for XmStringFree in -lXm" >&5 |
6552 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6640 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6553 | 6641 |
6554 xe_check_libs=" -lXm " | 6642 xe_check_libs=" -lXm " |
6555 cat > conftest.$ac_ext <<EOF | 6643 cat > conftest.$ac_ext <<EOF |
6556 #line 6557 "configure" | 6644 #line 6645 "configure" |
6557 #include "confdefs.h" | 6645 #include "confdefs.h" |
6558 /* Override any gcc2 internal prototype to avoid an error. */ | 6646 /* Override any gcc2 internal prototype to avoid an error. */ |
6559 /* 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 |
6560 builtin and then its argument prototype would still apply. */ | 6648 builtin and then its argument prototype would still apply. */ |
6561 char XmStringFree(); | 6649 char XmStringFree(); |
6562 | 6650 |
6563 int main() { | 6651 int main() { |
6564 XmStringFree() | 6652 XmStringFree() |
6565 ; return 0; } | 6653 ; return 0; } |
6566 EOF | 6654 EOF |
6567 if { (eval echo configure:6568: \"$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 |
6568 rm -rf conftest* | 6656 rm -rf conftest* |
6569 eval "ac_cv_lib_$ac_lib_var=yes" | 6657 eval "ac_cv_lib_$ac_lib_var=yes" |
6570 else | 6658 else |
6571 echo "configure: failed program was:" >&5 | 6659 echo "configure: failed program was:" >&5 |
6572 cat conftest.$ac_ext >&5 | 6660 cat conftest.$ac_ext >&5 |
6714 EOF | 6802 EOF |
6715 } | 6803 } |
6716 | 6804 |
6717 | 6805 |
6718 echo "checking for X defines extracted by xmkmf" 1>&6 | 6806 echo "checking for X defines extracted by xmkmf" 1>&6 |
6719 echo "configure:6720: checking for X defines extracted by xmkmf" >&5 | 6807 echo "configure:6808: checking for X defines extracted by xmkmf" >&5 |
6720 rm -fr conftestdir | 6808 rm -fr conftestdir |
6721 if mkdir conftestdir; then | 6809 if mkdir conftestdir; then |
6722 cd conftestdir | 6810 cd conftestdir |
6723 cat > Imakefile <<'EOF' | 6811 cat > Imakefile <<'EOF' |
6724 xetest: | 6812 xetest: |
6763 done | 6851 done |
6764 fi | 6852 fi |
6765 | 6853 |
6766 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6854 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6767 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6855 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6768 echo "configure:6769: checking for X11/Intrinsic.h" >&5 | 6856 echo "configure:6857: checking for X11/Intrinsic.h" >&5 |
6769 | 6857 |
6770 cat > conftest.$ac_ext <<EOF | 6858 cat > conftest.$ac_ext <<EOF |
6771 #line 6772 "configure" | 6859 #line 6860 "configure" |
6772 #include "confdefs.h" | 6860 #include "confdefs.h" |
6773 #include <X11/Intrinsic.h> | 6861 #include <X11/Intrinsic.h> |
6774 EOF | 6862 EOF |
6775 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" |
6776 { (eval echo configure:6777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6778 if test -z "$ac_err"; then | 6866 if test -z "$ac_err"; then |
6779 rm -rf conftest* | 6867 rm -rf conftest* |
6780 eval "ac_cv_header_$ac_safe=yes" | 6868 eval "ac_cv_header_$ac_safe=yes" |
6781 else | 6869 else |
6795 fi | 6883 fi |
6796 | 6884 |
6797 | 6885 |
6798 | 6886 |
6799 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6887 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6800 echo "configure:6801: checking for XOpenDisplay in -lX11" >&5 | 6888 echo "configure:6889: checking for XOpenDisplay in -lX11" >&5 |
6801 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6889 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6802 | 6890 |
6803 xe_check_libs=" -lX11 " | 6891 xe_check_libs=" -lX11 " |
6804 cat > conftest.$ac_ext <<EOF | 6892 cat > conftest.$ac_ext <<EOF |
6805 #line 6806 "configure" | 6893 #line 6894 "configure" |
6806 #include "confdefs.h" | 6894 #include "confdefs.h" |
6807 /* Override any gcc2 internal prototype to avoid an error. */ | 6895 /* Override any gcc2 internal prototype to avoid an error. */ |
6808 /* We use char because int might match the return type of a gcc2 | 6896 /* We use char because int might match the return type of a gcc2 |
6809 builtin and then its argument prototype would still apply. */ | 6897 builtin and then its argument prototype would still apply. */ |
6810 char XOpenDisplay(); | 6898 char XOpenDisplay(); |
6811 | 6899 |
6812 int main() { | 6900 int main() { |
6813 XOpenDisplay() | 6901 XOpenDisplay() |
6814 ; return 0; } | 6902 ; return 0; } |
6815 EOF | 6903 EOF |
6816 if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6904 if { (eval echo configure:6905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6817 rm -rf conftest* | 6905 rm -rf conftest* |
6818 eval "ac_cv_lib_$ac_lib_var=yes" | 6906 eval "ac_cv_lib_$ac_lib_var=yes" |
6819 else | 6907 else |
6820 echo "configure: failed program was:" >&5 | 6908 echo "configure: failed program was:" >&5 |
6821 cat conftest.$ac_ext >&5 | 6909 cat conftest.$ac_ext >&5 |
6836 if test "$have_lib_x11" != "yes"; then | 6924 if test "$have_lib_x11" != "yes"; then |
6837 | 6925 |
6838 xe_msg_checking="for XGetFontProperty in -lX11" | 6926 xe_msg_checking="for XGetFontProperty in -lX11" |
6839 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6927 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6840 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6928 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6841 echo "configure:6842: checking "$xe_msg_checking"" >&5 | 6929 echo "configure:6930: checking "$xe_msg_checking"" >&5 |
6842 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6930 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6843 | 6931 |
6844 xe_check_libs=" -lX11 -b i486-linuxaout" | 6932 xe_check_libs=" -lX11 -b i486-linuxaout" |
6845 cat > conftest.$ac_ext <<EOF | 6933 cat > conftest.$ac_ext <<EOF |
6846 #line 6847 "configure" | 6934 #line 6935 "configure" |
6847 #include "confdefs.h" | 6935 #include "confdefs.h" |
6848 /* Override any gcc2 internal prototype to avoid an error. */ | 6936 /* Override any gcc2 internal prototype to avoid an error. */ |
6849 /* We use char because int might match the return type of a gcc2 | 6937 /* We use char because int might match the return type of a gcc2 |
6850 builtin and then its argument prototype would still apply. */ | 6938 builtin and then its argument prototype would still apply. */ |
6851 char XGetFontProperty(); | 6939 char XGetFontProperty(); |
6852 | 6940 |
6853 int main() { | 6941 int main() { |
6854 XGetFontProperty() | 6942 XGetFontProperty() |
6855 ; return 0; } | 6943 ; return 0; } |
6856 EOF | 6944 EOF |
6857 if { (eval echo configure:6858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6945 if { (eval echo configure:6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6858 rm -rf conftest* | 6946 rm -rf conftest* |
6859 eval "ac_cv_lib_$ac_lib_var=yes" | 6947 eval "ac_cv_lib_$ac_lib_var=yes" |
6860 else | 6948 else |
6861 echo "configure: failed program was:" >&5 | 6949 echo "configure: failed program was:" >&5 |
6862 cat conftest.$ac_ext >&5 | 6950 cat conftest.$ac_ext >&5 |
6879 libs_x="-lX11" | 6967 libs_x="-lX11" |
6880 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6968 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6881 | 6969 |
6882 | 6970 |
6883 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6971 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6884 echo "configure:6885: checking for XShapeSelectInput in -lXext" >&5 | 6972 echo "configure:6973: checking for XShapeSelectInput in -lXext" >&5 |
6885 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6973 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6886 | 6974 |
6887 xe_check_libs=" -lXext " | 6975 xe_check_libs=" -lXext " |
6888 cat > conftest.$ac_ext <<EOF | 6976 cat > conftest.$ac_ext <<EOF |
6889 #line 6890 "configure" | 6977 #line 6978 "configure" |
6890 #include "confdefs.h" | 6978 #include "confdefs.h" |
6891 /* Override any gcc2 internal prototype to avoid an error. */ | 6979 /* Override any gcc2 internal prototype to avoid an error. */ |
6892 /* We use char because int might match the return type of a gcc2 | 6980 /* We use char because int might match the return type of a gcc2 |
6893 builtin and then its argument prototype would still apply. */ | 6981 builtin and then its argument prototype would still apply. */ |
6894 char XShapeSelectInput(); | 6982 char XShapeSelectInput(); |
6895 | 6983 |
6896 int main() { | 6984 int main() { |
6897 XShapeSelectInput() | 6985 XShapeSelectInput() |
6898 ; return 0; } | 6986 ; return 0; } |
6899 EOF | 6987 EOF |
6900 if { (eval echo configure:6901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6988 if { (eval echo configure:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6901 rm -rf conftest* | 6989 rm -rf conftest* |
6902 eval "ac_cv_lib_$ac_lib_var=yes" | 6990 eval "ac_cv_lib_$ac_lib_var=yes" |
6903 else | 6991 else |
6904 echo "configure: failed program was:" >&5 | 6992 echo "configure: failed program was:" >&5 |
6905 cat conftest.$ac_ext >&5 | 6993 cat conftest.$ac_ext >&5 |
6918 | 7006 |
6919 | 7007 |
6920 | 7008 |
6921 | 7009 |
6922 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7010 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6923 echo "configure:6924: checking for XtOpenDisplay in -lXt" >&5 | 7011 echo "configure:7012: checking for XtOpenDisplay in -lXt" >&5 |
6924 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7012 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6925 | 7013 |
6926 xe_check_libs=" -lXt " | 7014 xe_check_libs=" -lXt " |
6927 cat > conftest.$ac_ext <<EOF | 7015 cat > conftest.$ac_ext <<EOF |
6928 #line 6929 "configure" | 7016 #line 7017 "configure" |
6929 #include "confdefs.h" | 7017 #include "confdefs.h" |
6930 /* Override any gcc2 internal prototype to avoid an error. */ | 7018 /* Override any gcc2 internal prototype to avoid an error. */ |
6931 /* We use char because int might match the return type of a gcc2 | 7019 /* We use char because int might match the return type of a gcc2 |
6932 builtin and then its argument prototype would still apply. */ | 7020 builtin and then its argument prototype would still apply. */ |
6933 char XtOpenDisplay(); | 7021 char XtOpenDisplay(); |
6934 | 7022 |
6935 int main() { | 7023 int main() { |
6936 XtOpenDisplay() | 7024 XtOpenDisplay() |
6937 ; return 0; } | 7025 ; return 0; } |
6938 EOF | 7026 EOF |
6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7027 if { (eval echo configure:7028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6940 rm -rf conftest* | 7028 rm -rf conftest* |
6941 eval "ac_cv_lib_$ac_lib_var=yes" | 7029 eval "ac_cv_lib_$ac_lib_var=yes" |
6942 else | 7030 else |
6943 echo "configure: failed program was:" >&5 | 7031 echo "configure: failed program was:" >&5 |
6944 cat conftest.$ac_ext >&5 | 7032 cat conftest.$ac_ext >&5 |
6957 fi | 7045 fi |
6958 | 7046 |
6959 | 7047 |
6960 | 7048 |
6961 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7049 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6962 echo "configure:6963: checking the version of X11 being used" >&5 | 7050 echo "configure:7051: checking the version of X11 being used" >&5 |
6963 cat > conftest.$ac_ext <<EOF | 7051 cat > conftest.$ac_ext <<EOF |
6964 #line 6965 "configure" | 7052 #line 7053 "configure" |
6965 #include "confdefs.h" | 7053 #include "confdefs.h" |
6966 #include <X11/Intrinsic.h> | 7054 #include <X11/Intrinsic.h> |
6967 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7055 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6968 EOF | 7056 EOF |
6969 if { (eval echo configure:6970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7057 if { (eval echo configure:7058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6970 then | 7058 then |
6971 ./conftest foobar; x11_release=$? | 7059 ./conftest foobar; x11_release=$? |
6972 else | 7060 else |
6973 conftest_rc="$?" | 7061 conftest_rc="$?" |
6974 echo "configure: failed program was:" >&5 | 7062 echo "configure: failed program was:" >&5 |
6995 fi | 7083 fi |
6996 | 7084 |
6997 for ac_func in XConvertCase | 7085 for ac_func in XConvertCase |
6998 do | 7086 do |
6999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7000 echo "configure:7001: checking for $ac_func" >&5 | 7088 echo "configure:7089: checking for $ac_func" >&5 |
7001 | 7089 |
7002 cat > conftest.$ac_ext <<EOF | 7090 cat > conftest.$ac_ext <<EOF |
7003 #line 7004 "configure" | 7091 #line 7092 "configure" |
7004 #include "confdefs.h" | 7092 #include "confdefs.h" |
7005 /* System header to define __stub macros and hopefully few prototypes, | 7093 /* System header to define __stub macros and hopefully few prototypes, |
7006 which can conflict with char $ac_func(); below. */ | 7094 which can conflict with char $ac_func(); below. */ |
7007 #include <assert.h> | 7095 #include <assert.h> |
7008 /* Override any gcc2 internal prototype to avoid an error. */ | 7096 /* Override any gcc2 internal prototype to avoid an error. */ |
7021 $ac_func(); | 7109 $ac_func(); |
7022 #endif | 7110 #endif |
7023 | 7111 |
7024 ; return 0; } | 7112 ; return 0; } |
7025 EOF | 7113 EOF |
7026 if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7027 rm -rf conftest* | 7115 rm -rf conftest* |
7028 eval "ac_cv_func_$ac_func=yes" | 7116 eval "ac_cv_func_$ac_func=yes" |
7029 else | 7117 else |
7030 echo "configure: failed program was:" >&5 | 7118 echo "configure: failed program was:" >&5 |
7031 cat conftest.$ac_ext >&5 | 7119 cat conftest.$ac_ext >&5 |
7053 | 7141 |
7054 for ac_hdr in X11/Xlocale.h | 7142 for ac_hdr in X11/Xlocale.h |
7055 do | 7143 do |
7056 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7144 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7057 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7058 echo "configure:7059: checking for $ac_hdr" >&5 | 7146 echo "configure:7147: checking for $ac_hdr" >&5 |
7059 | 7147 |
7060 cat > conftest.$ac_ext <<EOF | 7148 cat > conftest.$ac_ext <<EOF |
7061 #line 7062 "configure" | 7149 #line 7150 "configure" |
7062 #include "confdefs.h" | 7150 #include "confdefs.h" |
7063 #include <$ac_hdr> | 7151 #include <$ac_hdr> |
7064 EOF | 7152 EOF |
7065 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7066 { (eval echo configure:7067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7154 { (eval echo configure:7155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7067 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7068 if test -z "$ac_err"; then | 7156 if test -z "$ac_err"; then |
7069 rm -rf conftest* | 7157 rm -rf conftest* |
7070 eval "ac_cv_header_$ac_safe=yes" | 7158 eval "ac_cv_header_$ac_safe=yes" |
7071 else | 7159 else |
7094 | 7182 |
7095 | 7183 |
7096 for ac_func in XRegisterIMInstantiateCallback | 7184 for ac_func in XRegisterIMInstantiateCallback |
7097 do | 7185 do |
7098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7099 echo "configure:7100: checking for $ac_func" >&5 | 7187 echo "configure:7188: checking for $ac_func" >&5 |
7100 | 7188 |
7101 cat > conftest.$ac_ext <<EOF | 7189 cat > conftest.$ac_ext <<EOF |
7102 #line 7103 "configure" | 7190 #line 7191 "configure" |
7103 #include "confdefs.h" | 7191 #include "confdefs.h" |
7104 /* System header to define __stub macros and hopefully few prototypes, | 7192 /* System header to define __stub macros and hopefully few prototypes, |
7105 which can conflict with char $ac_func(); below. */ | 7193 which can conflict with char $ac_func(); below. */ |
7106 #include <assert.h> | 7194 #include <assert.h> |
7107 /* Override any gcc2 internal prototype to avoid an error. */ | 7195 /* Override any gcc2 internal prototype to avoid an error. */ |
7120 $ac_func(); | 7208 $ac_func(); |
7121 #endif | 7209 #endif |
7122 | 7210 |
7123 ; return 0; } | 7211 ; return 0; } |
7124 EOF | 7212 EOF |
7125 if { (eval echo configure:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7213 if { (eval echo configure:7214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7126 rm -rf conftest* | 7214 rm -rf conftest* |
7127 eval "ac_cv_func_$ac_func=yes" | 7215 eval "ac_cv_func_$ac_func=yes" |
7128 else | 7216 else |
7129 echo "configure: failed program was:" >&5 | 7217 echo "configure: failed program was:" >&5 |
7130 cat conftest.$ac_ext >&5 | 7218 cat conftest.$ac_ext >&5 |
7148 echo "$ac_t""no" 1>&6 | 7236 echo "$ac_t""no" 1>&6 |
7149 fi | 7237 fi |
7150 done | 7238 done |
7151 | 7239 |
7152 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7240 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7153 echo "configure:7154: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7241 echo "configure:7242: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7154 cat > conftest.$ac_ext <<EOF | 7242 cat > conftest.$ac_ext <<EOF |
7155 #line 7156 "configure" | 7243 #line 7244 "configure" |
7156 #include "confdefs.h" | 7244 #include "confdefs.h" |
7157 | 7245 |
7158 #define NeedFunctionPrototypes 1 | 7246 #define NeedFunctionPrototypes 1 |
7159 #include <X11/Xlib.h> | 7247 #include <X11/Xlib.h> |
7160 extern Bool XRegisterIMInstantiateCallback( | 7248 extern Bool XRegisterIMInstantiateCallback( |
7162 | 7250 |
7163 int main() { | 7251 int main() { |
7164 | 7252 |
7165 ; return 0; } | 7253 ; return 0; } |
7166 EOF | 7254 EOF |
7167 if { (eval echo configure:7168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7255 if { (eval echo configure:7256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7168 rm -rf conftest* | 7256 rm -rf conftest* |
7169 echo "$ac_t""yes" 1>&6 | 7257 echo "$ac_t""yes" 1>&6 |
7170 else | 7258 else |
7171 echo "configure: failed program was:" >&5 | 7259 echo "configure: failed program was:" >&5 |
7172 cat conftest.$ac_ext >&5 | 7260 cat conftest.$ac_ext >&5 |
7183 fi | 7271 fi |
7184 rm -f conftest* | 7272 rm -f conftest* |
7185 | 7273 |
7186 test -z "$with_xmu" && { | 7274 test -z "$with_xmu" && { |
7187 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7275 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7188 echo "configure:7189: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7276 echo "configure:7277: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7189 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7277 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7190 | 7278 |
7191 xe_check_libs=" -lXmu " | 7279 xe_check_libs=" -lXmu " |
7192 cat > conftest.$ac_ext <<EOF | 7280 cat > conftest.$ac_ext <<EOF |
7193 #line 7194 "configure" | 7281 #line 7282 "configure" |
7194 #include "confdefs.h" | 7282 #include "confdefs.h" |
7195 /* Override any gcc2 internal prototype to avoid an error. */ | 7283 /* Override any gcc2 internal prototype to avoid an error. */ |
7196 /* We use char because int might match the return type of a gcc2 | 7284 /* We use char because int might match the return type of a gcc2 |
7197 builtin and then its argument prototype would still apply. */ | 7285 builtin and then its argument prototype would still apply. */ |
7198 char XmuReadBitmapDataFromFile(); | 7286 char XmuReadBitmapDataFromFile(); |
7199 | 7287 |
7200 int main() { | 7288 int main() { |
7201 XmuReadBitmapDataFromFile() | 7289 XmuReadBitmapDataFromFile() |
7202 ; return 0; } | 7290 ; return 0; } |
7203 EOF | 7291 EOF |
7204 if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7292 if { (eval echo configure:7293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7205 rm -rf conftest* | 7293 rm -rf conftest* |
7206 eval "ac_cv_lib_$ac_lib_var=yes" | 7294 eval "ac_cv_lib_$ac_lib_var=yes" |
7207 else | 7295 else |
7208 echo "configure: failed program was:" >&5 | 7296 echo "configure: failed program was:" >&5 |
7209 cat conftest.$ac_ext >&5 | 7297 cat conftest.$ac_ext >&5 |
7238 | 7326 |
7239 fi | 7327 fi |
7240 | 7328 |
7241 | 7329 |
7242 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7330 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7243 echo "configure:7244: checking for main in -lXbsd" >&5 | 7331 echo "configure:7332: checking for main in -lXbsd" >&5 |
7244 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7332 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7245 | 7333 |
7246 xe_check_libs=" -lXbsd " | 7334 xe_check_libs=" -lXbsd " |
7247 cat > conftest.$ac_ext <<EOF | 7335 cat > conftest.$ac_ext <<EOF |
7248 #line 7249 "configure" | 7336 #line 7337 "configure" |
7249 #include "confdefs.h" | 7337 #include "confdefs.h" |
7250 | 7338 |
7251 int main() { | 7339 int main() { |
7252 main() | 7340 main() |
7253 ; return 0; } | 7341 ; return 0; } |
7254 EOF | 7342 EOF |
7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7256 rm -rf conftest* | 7344 rm -rf conftest* |
7257 eval "ac_cv_lib_$ac_lib_var=yes" | 7345 eval "ac_cv_lib_$ac_lib_var=yes" |
7258 else | 7346 else |
7259 echo "configure: failed program was:" >&5 | 7347 echo "configure: failed program was:" >&5 |
7260 cat conftest.$ac_ext >&5 | 7348 cat conftest.$ac_ext >&5 |
7287 fi | 7375 fi |
7288 | 7376 |
7289 fi | 7377 fi |
7290 if test "$with_msw" != "no"; then | 7378 if test "$with_msw" != "no"; then |
7291 echo "checking for MS-Windows" 1>&6 | 7379 echo "checking for MS-Windows" 1>&6 |
7292 echo "configure:7293: checking for MS-Windows" >&5 | 7380 echo "configure:7381: checking for MS-Windows" >&5 |
7293 | 7381 |
7294 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7382 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7295 echo "configure:7296: checking for main in -lgdi32" >&5 | 7383 echo "configure:7384: checking for main in -lgdi32" >&5 |
7296 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7384 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7297 | 7385 |
7298 xe_check_libs=" -lgdi32 " | 7386 xe_check_libs=" -lgdi32 " |
7299 cat > conftest.$ac_ext <<EOF | 7387 cat > conftest.$ac_ext <<EOF |
7300 #line 7301 "configure" | 7388 #line 7389 "configure" |
7301 #include "confdefs.h" | 7389 #include "confdefs.h" |
7302 | 7390 |
7303 int main() { | 7391 int main() { |
7304 main() | 7392 main() |
7305 ; return 0; } | 7393 ; return 0; } |
7306 EOF | 7394 EOF |
7307 if { (eval echo configure:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7395 if { (eval echo configure:7396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7308 rm -rf conftest* | 7396 rm -rf conftest* |
7309 eval "ac_cv_lib_$ac_lib_var=yes" | 7397 eval "ac_cv_lib_$ac_lib_var=yes" |
7310 else | 7398 else |
7311 echo "configure: failed program was:" >&5 | 7399 echo "configure: failed program was:" >&5 |
7312 cat conftest.$ac_ext >&5 | 7400 cat conftest.$ac_ext >&5 |
7353 test "$with_toolbars" != "no" && with_toolbars=msw | 7441 test "$with_toolbars" != "no" && with_toolbars=msw |
7354 test "$with_dialogs" != "no" && with_dialogs=msw | 7442 test "$with_dialogs" != "no" && with_dialogs=msw |
7355 test "$with_widgets" != "no" && with_widgets=msw | 7443 test "$with_widgets" != "no" && with_widgets=msw |
7356 fi | 7444 fi |
7357 cat > conftest.$ac_ext <<EOF | 7445 cat > conftest.$ac_ext <<EOF |
7358 #line 7359 "configure" | 7446 #line 7447 "configure" |
7359 #include "confdefs.h" | 7447 #include "confdefs.h" |
7360 #include <fcntl.h> | 7448 #include <fcntl.h> |
7361 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7449 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7362 EOF | 7450 EOF |
7363 if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7451 if { (eval echo configure:7452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7364 then | 7452 then |
7365 { test "$extra_verbose" = "yes" && cat << \EOF | 7453 { test "$extra_verbose" = "yes" && cat << \EOF |
7366 Defining HAVE_MSG_SELECT | 7454 Defining HAVE_MSG_SELECT |
7367 EOF | 7455 EOF |
7368 cat >> confdefs.h <<\EOF | 7456 cat >> confdefs.h <<\EOF |
7419 fi | 7507 fi |
7420 | 7508 |
7421 if test "$with_x11" = "yes"; then | 7509 if test "$with_x11" = "yes"; then |
7422 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7510 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7423 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7511 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7424 echo "configure:7425: checking for X11/extensions/shape.h" >&5 | 7512 echo "configure:7513: checking for X11/extensions/shape.h" >&5 |
7425 | 7513 |
7426 cat > conftest.$ac_ext <<EOF | 7514 cat > conftest.$ac_ext <<EOF |
7427 #line 7428 "configure" | 7515 #line 7516 "configure" |
7428 #include "confdefs.h" | 7516 #include "confdefs.h" |
7429 #include <X11/extensions/shape.h> | 7517 #include <X11/extensions/shape.h> |
7430 EOF | 7518 EOF |
7431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7432 { (eval echo configure:7433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7520 { (eval echo configure:7521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7434 if test -z "$ac_err"; then | 7522 if test -z "$ac_err"; then |
7435 rm -rf conftest* | 7523 rm -rf conftest* |
7436 eval "ac_cv_header_$ac_safe=yes" | 7524 eval "ac_cv_header_$ac_safe=yes" |
7437 else | 7525 else |
7477 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7565 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7478 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7566 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7479 esac | 7567 esac |
7480 | 7568 |
7481 echo "checking for WM_COMMAND option" 1>&6 | 7569 echo "checking for WM_COMMAND option" 1>&6 |
7482 echo "configure:7483: checking for WM_COMMAND option" >&5; | 7570 echo "configure:7571: checking for WM_COMMAND option" >&5; |
7483 if test "$with_wmcommand" != "no"; then | 7571 if test "$with_wmcommand" != "no"; then |
7484 { test "$extra_verbose" = "yes" && cat << \EOF | 7572 { test "$extra_verbose" = "yes" && cat << \EOF |
7485 Defining HAVE_WMCOMMAND | 7573 Defining HAVE_WMCOMMAND |
7486 EOF | 7574 EOF |
7487 cat >> confdefs.h <<\EOF | 7575 cat >> confdefs.h <<\EOF |
7492 fi | 7580 fi |
7493 | 7581 |
7494 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7582 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7495 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7583 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7496 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7584 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7497 echo "configure:7498: checking for X11/Xauth.h" >&5 | 7585 echo "configure:7586: checking for X11/Xauth.h" >&5 |
7498 | 7586 |
7499 cat > conftest.$ac_ext <<EOF | 7587 cat > conftest.$ac_ext <<EOF |
7500 #line 7501 "configure" | 7588 #line 7589 "configure" |
7501 #include "confdefs.h" | 7589 #include "confdefs.h" |
7502 #include <X11/Xauth.h> | 7590 #include <X11/Xauth.h> |
7503 EOF | 7591 EOF |
7504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7592 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; } | 7593 { (eval echo configure:7594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7507 if test -z "$ac_err"; then | 7595 if test -z "$ac_err"; then |
7508 rm -rf conftest* | 7596 rm -rf conftest* |
7509 eval "ac_cv_header_$ac_safe=yes" | 7597 eval "ac_cv_header_$ac_safe=yes" |
7510 else | 7598 else |
7523 with_xauth=no | 7611 with_xauth=no |
7524 fi | 7612 fi |
7525 } | 7613 } |
7526 test -z "$with_xauth" && { | 7614 test -z "$with_xauth" && { |
7527 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7615 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7528 echo "configure:7529: checking for XauGetAuthByAddr in -lXau" >&5 | 7616 echo "configure:7617: checking for XauGetAuthByAddr in -lXau" >&5 |
7529 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7617 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7530 | 7618 |
7531 xe_check_libs=" -lXau " | 7619 xe_check_libs=" -lXau " |
7532 cat > conftest.$ac_ext <<EOF | 7620 cat > conftest.$ac_ext <<EOF |
7533 #line 7534 "configure" | 7621 #line 7622 "configure" |
7534 #include "confdefs.h" | 7622 #include "confdefs.h" |
7535 /* Override any gcc2 internal prototype to avoid an error. */ | 7623 /* Override any gcc2 internal prototype to avoid an error. */ |
7536 /* We use char because int might match the return type of a gcc2 | 7624 /* We use char because int might match the return type of a gcc2 |
7537 builtin and then its argument prototype would still apply. */ | 7625 builtin and then its argument prototype would still apply. */ |
7538 char XauGetAuthByAddr(); | 7626 char XauGetAuthByAddr(); |
7539 | 7627 |
7540 int main() { | 7628 int main() { |
7541 XauGetAuthByAddr() | 7629 XauGetAuthByAddr() |
7542 ; return 0; } | 7630 ; return 0; } |
7543 EOF | 7631 EOF |
7544 if { (eval echo configure:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7545 rm -rf conftest* | 7633 rm -rf conftest* |
7546 eval "ac_cv_lib_$ac_lib_var=yes" | 7634 eval "ac_cv_lib_$ac_lib_var=yes" |
7547 else | 7635 else |
7548 echo "configure: failed program was:" >&5 | 7636 echo "configure: failed program was:" >&5 |
7549 cat conftest.$ac_ext >&5 | 7637 cat conftest.$ac_ext >&5 |
7581 | 7669 |
7582 | 7670 |
7583 | 7671 |
7584 | 7672 |
7585 | 7673 |
7586 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | |
7587 : ${XEMACS_CC:="$CC"} | |
7588 | |
7589 if test "$xemacs_compiler" = "g++"; then | 7674 if test "$xemacs_compiler" = "g++"; then |
7590 LIBSTDCPP=-lstdc++ | 7675 LIBSTDCPP=-lstdc++ |
7591 else | 7676 else |
7592 LIBSTDCPP= | 7677 LIBSTDCPP= |
7593 fi | 7678 fi |
7594 | 7679 |
7595 | 7680 |
7596 if test "$with_modules" != "no"; then | 7681 if test "$with_modules" != "no"; then |
7597 echo "checking for module support" 1>&6 | 7682 echo "checking for module support" 1>&6 |
7598 echo "configure:7599: checking for module support" >&5 | 7683 echo "configure:7684: checking for module support" >&5 |
7599 | 7684 |
7600 if test "$with_msw" = "yes"; then | 7685 if test "$with_msw" = "yes"; then |
7601 have_dl=yes; | 7686 have_dl=yes; |
7602 else | 7687 else |
7603 case "$opsys" in | 7688 case "$opsys" in |
7610 } | 7695 } |
7611 ;; | 7696 ;; |
7612 * ) | 7697 * ) |
7613 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7698 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7614 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7699 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7615 echo "configure:7616: checking for dlfcn.h" >&5 | 7700 echo "configure:7701: checking for dlfcn.h" >&5 |
7616 | 7701 |
7617 cat > conftest.$ac_ext <<EOF | 7702 cat > conftest.$ac_ext <<EOF |
7618 #line 7619 "configure" | 7703 #line 7704 "configure" |
7619 #include "confdefs.h" | 7704 #include "confdefs.h" |
7620 #include <dlfcn.h> | 7705 #include <dlfcn.h> |
7621 EOF | 7706 EOF |
7622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7623 { (eval echo configure:7624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7708 { (eval echo configure:7709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7625 if test -z "$ac_err"; then | 7710 if test -z "$ac_err"; then |
7626 rm -rf conftest* | 7711 rm -rf conftest* |
7627 eval "ac_cv_header_$ac_safe=yes" | 7712 eval "ac_cv_header_$ac_safe=yes" |
7628 else | 7713 else |
7635 rm -f conftest* | 7720 rm -f conftest* |
7636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7721 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7637 echo "$ac_t""yes" 1>&6 | 7722 echo "$ac_t""yes" 1>&6 |
7638 | 7723 |
7639 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7724 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7640 echo "configure:7641: checking for dlopen in -lc" >&5 | 7725 echo "configure:7726: checking for dlopen in -lc" >&5 |
7641 cat > conftest.$ac_ext <<EOF | 7726 cat > conftest.$ac_ext <<EOF |
7642 #line 7643 "configure" | 7727 #line 7728 "configure" |
7643 #include "confdefs.h" | 7728 #include "confdefs.h" |
7644 #include <dlfcn.h> | 7729 #include <dlfcn.h> |
7645 int main() { | 7730 int main() { |
7646 dlopen ("", 0); | 7731 dlopen ("", 0); |
7647 ; return 0; } | 7732 ; return 0; } |
7648 EOF | 7733 EOF |
7649 if { (eval echo configure:7650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7734 if { (eval echo configure:7735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7650 rm -rf conftest* | 7735 rm -rf conftest* |
7651 have_dl=yes | 7736 have_dl=yes |
7652 else | 7737 else |
7653 echo "configure: failed program was:" >&5 | 7738 echo "configure: failed program was:" >&5 |
7654 cat conftest.$ac_ext >&5 | 7739 cat conftest.$ac_ext >&5 |
7655 rm -rf conftest* | 7740 rm -rf conftest* |
7656 | 7741 |
7657 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7742 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7658 echo "configure:7659: checking for dlopen in -ldl" >&5 | 7743 echo "configure:7744: checking for dlopen in -ldl" >&5 |
7659 ac_save_LIBS="$LIBS" | 7744 ac_save_LIBS="$LIBS" |
7660 LIBS="-ldl $LIBS" | 7745 LIBS="-ldl $LIBS" |
7661 cat > conftest.$ac_ext <<EOF | 7746 cat > conftest.$ac_ext <<EOF |
7662 #line 7663 "configure" | 7747 #line 7748 "configure" |
7663 #include "confdefs.h" | 7748 #include "confdefs.h" |
7664 #include <dlfcn.h> | 7749 #include <dlfcn.h> |
7665 int main() { | 7750 int main() { |
7666 dlopen ("", 0); | 7751 dlopen ("", 0); |
7667 ; return 0; } | 7752 ; return 0; } |
7668 EOF | 7753 EOF |
7669 if { (eval echo configure:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7754 if { (eval echo configure:7755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7670 rm -rf conftest* | 7755 rm -rf conftest* |
7671 have_dl=yes | 7756 have_dl=yes |
7672 else | 7757 else |
7673 echo "configure: failed program was:" >&5 | 7758 echo "configure: failed program was:" >&5 |
7674 cat conftest.$ac_ext >&5 | 7759 cat conftest.$ac_ext >&5 |
7704 ld_dynamic_link_flags= | 7789 ld_dynamic_link_flags= |
7705 xehost=$canonical | 7790 xehost=$canonical |
7706 xealias=$internal_configuration | 7791 xealias=$internal_configuration |
7707 | 7792 |
7708 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7793 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7709 echo "configure:7710: checking how to build dynamic libraries for ${xehost}" >&5 | 7794 echo "configure:7795: checking how to build dynamic libraries for ${xehost}" >&5 |
7710 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7795 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7711 case "$xehost" in | 7796 case "$xehost" in |
7712 *-*-linux-gnu*) ;; | 7797 *-*-linux-gnu*) ;; |
7713 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7798 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7714 esac | 7799 esac |
7732 # Now see if the compiler is really GCC. | 7817 # Now see if the compiler is really GCC. |
7733 if test "$GCC" = "yes"; then | 7818 if test "$GCC" = "yes"; then |
7734 XEGCC=yes | 7819 XEGCC=yes |
7735 else | 7820 else |
7736 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7821 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7737 echo "configure:7738: checking checking whether we are using GNU C" >&5 | 7822 echo "configure:7823: checking checking whether we are using GNU C" >&5 |
7738 cat > conftest.$ac_ext <<EOF | 7823 cat > conftest.$ac_ext <<EOF |
7739 #line 7740 "configure" | 7824 #line 7825 "configure" |
7740 #include "confdefs.h" | 7825 #include "confdefs.h" |
7741 | 7826 |
7742 #ifdef __GNUC__ | 7827 #ifdef __GNUC__ |
7743 yes; | 7828 yes; |
7744 #endif | 7829 #endif |
7756 | 7841 |
7757 echo "$ac_t""${XEGCC}" 1>&6 | 7842 echo "$ac_t""${XEGCC}" 1>&6 |
7758 fi | 7843 fi |
7759 | 7844 |
7760 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7845 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7761 echo "configure:7762: checking how to produce PIC code" >&5 | 7846 echo "configure:7847: checking how to produce PIC code" >&5 |
7762 wl= | 7847 wl= |
7763 | 7848 |
7764 can_build_shared=yes | 7849 can_build_shared=yes |
7765 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7850 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7766 wl='-Wl,' | 7851 wl='-Wl,' |
7860 if test -n "$dll_cflags"; then | 7945 if test -n "$dll_cflags"; then |
7861 echo "$ac_t""${dll_cflags}" 1>&6 | 7946 echo "$ac_t""${dll_cflags}" 1>&6 |
7862 | 7947 |
7863 # Check to make sure the dll_cflags actually works. | 7948 # Check to make sure the dll_cflags actually works. |
7864 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7949 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7865 echo "configure:7866: checking if PIC flag ${dll_cflags} really works" >&5 | 7950 echo "configure:7951: checking if PIC flag ${dll_cflags} really works" >&5 |
7866 save_CFLAGS="$CFLAGS" | 7951 save_CFLAGS="$CFLAGS" |
7867 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7952 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7868 cat > conftest.$ac_ext <<EOF | 7953 cat > conftest.$ac_ext <<EOF |
7869 #line 7870 "configure" | 7954 #line 7955 "configure" |
7870 #include "confdefs.h" | 7955 #include "confdefs.h" |
7871 | 7956 |
7872 int main() { | 7957 int main() { |
7873 int x=0; | 7958 int x=0; |
7874 ; return 0; } | 7959 ; return 0; } |
7875 EOF | 7960 EOF |
7876 if { (eval echo configure:7877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7961 if { (eval echo configure:7962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7877 rm -rf conftest* | 7962 rm -rf conftest* |
7878 | 7963 |
7879 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7964 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7880 # reports no error. So, we need to grep stderr for (Bundled). | 7965 # reports no error. So, we need to grep stderr for (Bundled). |
7881 if grep '(Bundled)' config.log >/dev/null; then | 7966 if grep '(Bundled)' config.log >/dev/null; then |
7902 if test "$can_build_shared" = "yes"; then | 7987 if test "$can_build_shared" = "yes"; then |
7903 cc_produces_so=no | 7988 cc_produces_so=no |
7904 xldf= | 7989 xldf= |
7905 xcldf= | 7990 xcldf= |
7906 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7991 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7907 echo "configure:7908: checking if C compiler can produce shared libraries" >&5 | 7992 echo "configure:7993: checking if C compiler can produce shared libraries" >&5 |
7908 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7993 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7909 case "$xehost_os" in | 7994 case "$xehost_os" in |
7910 *darwin*) | 7995 *darwin*) |
7911 xcldf='-bundle' | 7996 xcldf='-bundle' |
7912 xldf='-bundle -bundle_loader ../../src/xemacs' | 7997 xldf='-bundle -bundle_loader ../../src/xemacs' |
7961 LDFLAGS="$xcldf $LDFLAGS" | 8046 LDFLAGS="$xcldf $LDFLAGS" |
7962 LIBS= | 8047 LIBS= |
7963 xe_libs= | 8048 xe_libs= |
7964 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8049 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7965 cat > conftest.$ac_ext <<EOF | 8050 cat > conftest.$ac_ext <<EOF |
7966 #line 7967 "configure" | 8051 #line 8052 "configure" |
7967 #include "confdefs.h" | 8052 #include "confdefs.h" |
7968 | 8053 |
7969 int main() { | 8054 int main() { |
7970 int x=0; | 8055 int x=0; |
7971 ; return 0; } | 8056 ; return 0; } |
7972 EOF | 8057 EOF |
7973 if { (eval echo configure:7974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7974 rm -rf conftest* | 8059 rm -rf conftest* |
7975 cc_produces_so=yes | 8060 cc_produces_so=yes |
7976 else | 8061 else |
7977 echo "configure: failed program was:" >&5 | 8062 echo "configure: failed program was:" >&5 |
7978 cat conftest.$ac_ext >&5 | 8063 cat conftest.$ac_ext >&5 |
7993 if test -z "$LTLD"; then | 8078 if test -z "$LTLD"; then |
7994 ac_prog=ld | 8079 ac_prog=ld |
7995 if test "$XEGCC" = yes; then | 8080 if test "$XEGCC" = yes; then |
7996 # Check if gcc -print-prog-name=ld gives a path. | 8081 # Check if gcc -print-prog-name=ld gives a path. |
7997 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8082 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7998 echo "configure:7999: checking for ld used by GCC" >&5 | 8083 echo "configure:8084: checking for ld used by GCC" >&5 |
7999 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8084 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8000 case "$ac_prog" in | 8085 case "$ac_prog" in |
8001 # Accept absolute paths. | 8086 # Accept absolute paths. |
8002 /*) | 8087 /*) |
8003 if test -z "$LTLD"; then | 8088 if test -z "$LTLD"; then |
8019 with_gnu_ld=unknown | 8104 with_gnu_ld=unknown |
8020 ;; | 8105 ;; |
8021 esac | 8106 esac |
8022 else | 8107 else |
8023 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8108 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8024 echo "configure:8025: checking for GNU ld" >&5 | 8109 echo "configure:8110: checking for GNU ld" >&5 |
8025 fi | 8110 fi |
8026 | 8111 |
8027 if test -z "$LTLD"; then | 8112 if test -z "$LTLD"; then |
8028 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8029 for ac_dir in $PATH; do | 8114 for ac_dir in $PATH; do |
8057 | 8142 |
8058 ld_dynamic_link_flags= | 8143 ld_dynamic_link_flags= |
8059 | 8144 |
8060 # Check to see if it really is or isn't GNU ld. | 8145 # Check to see if it really is or isn't GNU ld. |
8061 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8146 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8062 echo "configure:8063: checking if the linker is GNU ld" >&5 | 8147 echo "configure:8148: checking if the linker is GNU ld" >&5 |
8063 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8148 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8064 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8149 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8065 xe_gnu_ld=yes | 8150 xe_gnu_ld=yes |
8066 else | 8151 else |
8067 xe_gnu_ld=no | 8152 xe_gnu_ld=no |
8092 ld_shlibs=yes | 8177 ld_shlibs=yes |
8093 else | 8178 else |
8094 # OK - only NOW do we futz about with ld. | 8179 # OK - only NOW do we futz about with ld. |
8095 # See if the linker supports building shared libraries. | 8180 # See if the linker supports building shared libraries. |
8096 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8181 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8097 echo "configure:8098: checking whether the linker supports shared libraries" >&5 | 8182 echo "configure:8183: checking whether the linker supports shared libraries" >&5 |
8098 dll_ld=$CC | 8183 dll_ld=$CC |
8099 dll_ldflags=$LDFLAGS | 8184 dll_ldflags=$LDFLAGS |
8100 ld_shlibs=yes | 8185 ld_shlibs=yes |
8101 can_build_shared=yes | 8186 can_build_shared=yes |
8102 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8187 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8305 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8390 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8306 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8391 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8307 for ac_func in dlerror _dlerror | 8392 for ac_func in dlerror _dlerror |
8308 do | 8393 do |
8309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8310 echo "configure:8311: checking for $ac_func" >&5 | 8395 echo "configure:8396: checking for $ac_func" >&5 |
8311 | 8396 |
8312 cat > conftest.$ac_ext <<EOF | 8397 cat > conftest.$ac_ext <<EOF |
8313 #line 8314 "configure" | 8398 #line 8399 "configure" |
8314 #include "confdefs.h" | 8399 #include "confdefs.h" |
8315 /* System header to define __stub macros and hopefully few prototypes, | 8400 /* System header to define __stub macros and hopefully few prototypes, |
8316 which can conflict with char $ac_func(); below. */ | 8401 which can conflict with char $ac_func(); below. */ |
8317 #include <assert.h> | 8402 #include <assert.h> |
8318 /* Override any gcc2 internal prototype to avoid an error. */ | 8403 /* Override any gcc2 internal prototype to avoid an error. */ |
8331 $ac_func(); | 8416 $ac_func(); |
8332 #endif | 8417 #endif |
8333 | 8418 |
8334 ; return 0; } | 8419 ; return 0; } |
8335 EOF | 8420 EOF |
8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8421 if { (eval echo configure:8422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8337 rm -rf conftest* | 8422 rm -rf conftest* |
8338 eval "ac_cv_func_$ac_func=yes" | 8423 eval "ac_cv_func_$ac_func=yes" |
8339 else | 8424 else |
8340 echo "configure: failed program was:" >&5 | 8425 echo "configure: failed program was:" >&5 |
8341 cat conftest.$ac_ext >&5 | 8426 cat conftest.$ac_ext >&5 |
8395 | 8480 |
8396 if test "$with_tooltalk" != "no" ; then | 8481 if test "$with_tooltalk" != "no" ; then |
8397 for dir in "" "Tt/" "desktop/" ; do | 8482 for dir in "" "Tt/" "desktop/" ; do |
8398 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8483 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8399 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8484 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8400 echo "configure:8401: checking for ${dir}tt_c.h" >&5 | 8485 echo "configure:8486: checking for ${dir}tt_c.h" >&5 |
8401 | 8486 |
8402 cat > conftest.$ac_ext <<EOF | 8487 cat > conftest.$ac_ext <<EOF |
8403 #line 8404 "configure" | 8488 #line 8489 "configure" |
8404 #include "confdefs.h" | 8489 #include "confdefs.h" |
8405 #include <${dir}tt_c.h> | 8490 #include <${dir}tt_c.h> |
8406 EOF | 8491 EOF |
8407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8408 { (eval echo configure:8409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8410 if test -z "$ac_err"; then | 8495 if test -z "$ac_err"; then |
8411 rm -rf conftest* | 8496 rm -rf conftest* |
8412 eval "ac_cv_header_$ac_safe=yes" | 8497 eval "ac_cv_header_$ac_safe=yes" |
8413 else | 8498 else |
8439 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8524 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8440 | 8525 |
8441 xe_msg_checking="for tt_message_create in -ltt" | 8526 xe_msg_checking="for tt_message_create in -ltt" |
8442 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8527 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8443 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8528 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8444 echo "configure:8445: checking "$xe_msg_checking"" >&5 | 8529 echo "configure:8530: checking "$xe_msg_checking"" >&5 |
8445 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8530 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8446 | 8531 |
8447 xe_check_libs=" -ltt $extra_libs" | 8532 xe_check_libs=" -ltt $extra_libs" |
8448 cat > conftest.$ac_ext <<EOF | 8533 cat > conftest.$ac_ext <<EOF |
8449 #line 8450 "configure" | 8534 #line 8535 "configure" |
8450 #include "confdefs.h" | 8535 #include "confdefs.h" |
8451 /* Override any gcc2 internal prototype to avoid an error. */ | 8536 /* Override any gcc2 internal prototype to avoid an error. */ |
8452 /* We use char because int might match the return type of a gcc2 | 8537 /* We use char because int might match the return type of a gcc2 |
8453 builtin and then its argument prototype would still apply. */ | 8538 builtin and then its argument prototype would still apply. */ |
8454 char tt_message_create(); | 8539 char tt_message_create(); |
8455 | 8540 |
8456 int main() { | 8541 int main() { |
8457 tt_message_create() | 8542 tt_message_create() |
8458 ; return 0; } | 8543 ; return 0; } |
8459 EOF | 8544 EOF |
8460 if { (eval echo configure:8461: \"$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 |
8461 rm -rf conftest* | 8546 rm -rf conftest* |
8462 eval "ac_cv_lib_$ac_lib_var=yes" | 8547 eval "ac_cv_lib_$ac_lib_var=yes" |
8463 else | 8548 else |
8464 echo "configure: failed program was:" >&5 | 8549 echo "configure: failed program was:" >&5 |
8465 cat conftest.$ac_ext >&5 | 8550 cat conftest.$ac_ext >&5 |
8509 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8594 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8510 fi | 8595 fi |
8511 | 8596 |
8512 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8597 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8513 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8598 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8514 echo "configure:8515: checking for Dt/Dt.h" >&5 | 8599 echo "configure:8600: checking for Dt/Dt.h" >&5 |
8515 | 8600 |
8516 cat > conftest.$ac_ext <<EOF | 8601 cat > conftest.$ac_ext <<EOF |
8517 #line 8518 "configure" | 8602 #line 8603 "configure" |
8518 #include "confdefs.h" | 8603 #include "confdefs.h" |
8519 #include <Dt/Dt.h> | 8604 #include <Dt/Dt.h> |
8520 EOF | 8605 EOF |
8521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8522 { (eval echo configure:8523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8607 { (eval echo configure:8608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8524 if test -z "$ac_err"; then | 8609 if test -z "$ac_err"; then |
8525 rm -rf conftest* | 8610 rm -rf conftest* |
8526 eval "ac_cv_header_$ac_safe=yes" | 8611 eval "ac_cv_header_$ac_safe=yes" |
8527 else | 8612 else |
8540 with_cde=no | 8625 with_cde=no |
8541 fi | 8626 fi |
8542 } | 8627 } |
8543 test -z "$with_cde" && { | 8628 test -z "$with_cde" && { |
8544 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8629 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8545 echo "configure:8546: checking for DtDndDragStart in -lDtSvc" >&5 | 8630 echo "configure:8631: checking for DtDndDragStart in -lDtSvc" >&5 |
8546 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8631 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8547 | 8632 |
8548 xe_check_libs=" -lDtSvc " | 8633 xe_check_libs=" -lDtSvc " |
8549 cat > conftest.$ac_ext <<EOF | 8634 cat > conftest.$ac_ext <<EOF |
8550 #line 8551 "configure" | 8635 #line 8636 "configure" |
8551 #include "confdefs.h" | 8636 #include "confdefs.h" |
8552 /* Override any gcc2 internal prototype to avoid an error. */ | 8637 /* Override any gcc2 internal prototype to avoid an error. */ |
8553 /* We use char because int might match the return type of a gcc2 | 8638 /* We use char because int might match the return type of a gcc2 |
8554 builtin and then its argument prototype would still apply. */ | 8639 builtin and then its argument prototype would still apply. */ |
8555 char DtDndDragStart(); | 8640 char DtDndDragStart(); |
8556 | 8641 |
8557 int main() { | 8642 int main() { |
8558 DtDndDragStart() | 8643 DtDndDragStart() |
8559 ; return 0; } | 8644 ; return 0; } |
8560 EOF | 8645 EOF |
8561 if { (eval echo configure:8562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8646 if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8562 rm -rf conftest* | 8647 rm -rf conftest* |
8563 eval "ac_cv_lib_$ac_lib_var=yes" | 8648 eval "ac_cv_lib_$ac_lib_var=yes" |
8564 else | 8649 else |
8565 echo "configure: failed program was:" >&5 | 8650 echo "configure: failed program was:" >&5 |
8566 cat conftest.$ac_ext >&5 | 8651 cat conftest.$ac_ext >&5 |
8637 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8722 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8638 fi | 8723 fi |
8639 | 8724 |
8640 if test "$with_dragndrop" != "no" ; then | 8725 if test "$with_dragndrop" != "no" ; then |
8641 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8726 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8642 echo "configure:8643: checking if drag and drop API is needed" >&5 | 8727 echo "configure:8728: checking if drag and drop API is needed" >&5 |
8643 if test -n "$dragndrop_proto" ; then | 8728 if test -n "$dragndrop_proto" ; then |
8644 with_dragndrop=yes | 8729 with_dragndrop=yes |
8645 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8730 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8646 { test "$extra_verbose" = "yes" && cat << \EOF | 8731 { test "$extra_verbose" = "yes" && cat << \EOF |
8647 Defining HAVE_DRAGNDROP | 8732 Defining HAVE_DRAGNDROP |
8657 echo "$ac_t""no" 1>&6 | 8742 echo "$ac_t""no" 1>&6 |
8658 fi | 8743 fi |
8659 fi | 8744 fi |
8660 | 8745 |
8661 echo "checking for LDAP" 1>&6 | 8746 echo "checking for LDAP" 1>&6 |
8662 echo "configure:8663: checking for LDAP" >&5 | 8747 echo "configure:8748: checking for LDAP" >&5 |
8663 ldap_libs= | 8748 ldap_libs= |
8664 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8749 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8665 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8750 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8666 echo "configure:8667: checking for ldap.h" >&5 | 8751 echo "configure:8752: checking for ldap.h" >&5 |
8667 | 8752 |
8668 cat > conftest.$ac_ext <<EOF | 8753 cat > conftest.$ac_ext <<EOF |
8669 #line 8670 "configure" | 8754 #line 8755 "configure" |
8670 #include "confdefs.h" | 8755 #include "confdefs.h" |
8671 #include <ldap.h> | 8756 #include <ldap.h> |
8672 EOF | 8757 EOF |
8673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8674 { (eval echo configure:8675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8676 if test -z "$ac_err"; then | 8761 if test -z "$ac_err"; then |
8677 rm -rf conftest* | 8762 rm -rf conftest* |
8678 eval "ac_cv_header_$ac_safe=yes" | 8763 eval "ac_cv_header_$ac_safe=yes" |
8679 else | 8764 else |
8692 with_ldap=no | 8777 with_ldap=no |
8693 fi | 8778 fi |
8694 } | 8779 } |
8695 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8780 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8696 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8781 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8697 echo "configure:8698: checking for lber.h" >&5 | 8782 echo "configure:8783: checking for lber.h" >&5 |
8698 | 8783 |
8699 cat > conftest.$ac_ext <<EOF | 8784 cat > conftest.$ac_ext <<EOF |
8700 #line 8701 "configure" | 8785 #line 8786 "configure" |
8701 #include "confdefs.h" | 8786 #include "confdefs.h" |
8702 #include <lber.h> | 8787 #include <lber.h> |
8703 EOF | 8788 EOF |
8704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8705 { (eval echo configure:8706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8790 { (eval echo configure:8791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8707 if test -z "$ac_err"; then | 8792 if test -z "$ac_err"; then |
8708 rm -rf conftest* | 8793 rm -rf conftest* |
8709 eval "ac_cv_header_$ac_safe=yes" | 8794 eval "ac_cv_header_$ac_safe=yes" |
8710 else | 8795 else |
8724 fi | 8809 fi |
8725 } | 8810 } |
8726 if test "$with_ldap" != "no"; then | 8811 if test "$with_ldap" != "no"; then |
8727 | 8812 |
8728 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8813 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8729 echo "configure:8730: checking for ldap_search in -lldap" >&5 | 8814 echo "configure:8815: checking for ldap_search in -lldap" >&5 |
8730 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8815 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8731 | 8816 |
8732 xe_check_libs=" -lldap " | 8817 xe_check_libs=" -lldap " |
8733 cat > conftest.$ac_ext <<EOF | 8818 cat > conftest.$ac_ext <<EOF |
8734 #line 8735 "configure" | 8819 #line 8820 "configure" |
8735 #include "confdefs.h" | 8820 #include "confdefs.h" |
8736 /* Override any gcc2 internal prototype to avoid an error. */ | 8821 /* Override any gcc2 internal prototype to avoid an error. */ |
8737 /* We use char because int might match the return type of a gcc2 | 8822 /* We use char because int might match the return type of a gcc2 |
8738 builtin and then its argument prototype would still apply. */ | 8823 builtin and then its argument prototype would still apply. */ |
8739 char ldap_search(); | 8824 char ldap_search(); |
8740 | 8825 |
8741 int main() { | 8826 int main() { |
8742 ldap_search() | 8827 ldap_search() |
8743 ; return 0; } | 8828 ; return 0; } |
8744 EOF | 8829 EOF |
8745 if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8830 if { (eval echo configure:8831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8746 rm -rf conftest* | 8831 rm -rf conftest* |
8747 eval "ac_cv_lib_$ac_lib_var=yes" | 8832 eval "ac_cv_lib_$ac_lib_var=yes" |
8748 else | 8833 else |
8749 echo "configure: failed program was:" >&5 | 8834 echo "configure: failed program was:" >&5 |
8750 cat conftest.$ac_ext >&5 | 8835 cat conftest.$ac_ext >&5 |
8765 | 8850 |
8766 test "$with_ldap_nolber" = "no" && { | 8851 test "$with_ldap_nolber" = "no" && { |
8767 xe_msg_checking="for ldap_open in -lldap" | 8852 xe_msg_checking="for ldap_open in -lldap" |
8768 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8853 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8769 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8854 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8770 echo "configure:8771: checking "$xe_msg_checking"" >&5 | 8855 echo "configure:8856: checking "$xe_msg_checking"" >&5 |
8771 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8856 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8772 | 8857 |
8773 xe_check_libs=" -lldap -llber" | 8858 xe_check_libs=" -lldap -llber" |
8774 cat > conftest.$ac_ext <<EOF | 8859 cat > conftest.$ac_ext <<EOF |
8775 #line 8776 "configure" | 8860 #line 8861 "configure" |
8776 #include "confdefs.h" | 8861 #include "confdefs.h" |
8777 /* Override any gcc2 internal prototype to avoid an error. */ | 8862 /* Override any gcc2 internal prototype to avoid an error. */ |
8778 /* We use char because int might match the return type of a gcc2 | 8863 /* We use char because int might match the return type of a gcc2 |
8779 builtin and then its argument prototype would still apply. */ | 8864 builtin and then its argument prototype would still apply. */ |
8780 char ldap_open(); | 8865 char ldap_open(); |
8781 | 8866 |
8782 int main() { | 8867 int main() { |
8783 ldap_open() | 8868 ldap_open() |
8784 ; return 0; } | 8869 ; return 0; } |
8785 EOF | 8870 EOF |
8786 if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8787 rm -rf conftest* | 8872 rm -rf conftest* |
8788 eval "ac_cv_lib_$ac_lib_var=yes" | 8873 eval "ac_cv_lib_$ac_lib_var=yes" |
8789 else | 8874 else |
8790 echo "configure: failed program was:" >&5 | 8875 echo "configure: failed program was:" >&5 |
8791 cat conftest.$ac_ext >&5 | 8876 cat conftest.$ac_ext >&5 |
8806 } | 8891 } |
8807 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8892 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8808 xe_msg_checking="for ldap_open in -lldap" | 8893 xe_msg_checking="for ldap_open in -lldap" |
8809 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8894 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8810 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8895 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8811 echo "configure:8812: checking "$xe_msg_checking"" >&5 | 8896 echo "configure:8897: checking "$xe_msg_checking"" >&5 |
8812 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8897 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8813 | 8898 |
8814 xe_check_libs=" -lldap -llber -lkrb" | 8899 xe_check_libs=" -lldap -llber -lkrb" |
8815 cat > conftest.$ac_ext <<EOF | 8900 cat > conftest.$ac_ext <<EOF |
8816 #line 8817 "configure" | 8901 #line 8902 "configure" |
8817 #include "confdefs.h" | 8902 #include "confdefs.h" |
8818 /* Override any gcc2 internal prototype to avoid an error. */ | 8903 /* Override any gcc2 internal prototype to avoid an error. */ |
8819 /* We use char because int might match the return type of a gcc2 | 8904 /* We use char because int might match the return type of a gcc2 |
8820 builtin and then its argument prototype would still apply. */ | 8905 builtin and then its argument prototype would still apply. */ |
8821 char ldap_open(); | 8906 char ldap_open(); |
8822 | 8907 |
8823 int main() { | 8908 int main() { |
8824 ldap_open() | 8909 ldap_open() |
8825 ; return 0; } | 8910 ; return 0; } |
8826 EOF | 8911 EOF |
8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8912 if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8828 rm -rf conftest* | 8913 rm -rf conftest* |
8829 eval "ac_cv_lib_$ac_lib_var=yes" | 8914 eval "ac_cv_lib_$ac_lib_var=yes" |
8830 else | 8915 else |
8831 echo "configure: failed program was:" >&5 | 8916 echo "configure: failed program was:" >&5 |
8832 cat conftest.$ac_ext >&5 | 8917 cat conftest.$ac_ext >&5 |
8847 } | 8932 } |
8848 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8933 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8849 xe_msg_checking="for ldap_open in -lldap" | 8934 xe_msg_checking="for ldap_open in -lldap" |
8850 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8935 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8851 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8936 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8852 echo "configure:8853: checking "$xe_msg_checking"" >&5 | 8937 echo "configure:8938: checking "$xe_msg_checking"" >&5 |
8853 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8938 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8854 | 8939 |
8855 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8940 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8856 cat > conftest.$ac_ext <<EOF | 8941 cat > conftest.$ac_ext <<EOF |
8857 #line 8858 "configure" | 8942 #line 8943 "configure" |
8858 #include "confdefs.h" | 8943 #include "confdefs.h" |
8859 /* Override any gcc2 internal prototype to avoid an error. */ | 8944 /* Override any gcc2 internal prototype to avoid an error. */ |
8860 /* We use char because int might match the return type of a gcc2 | 8945 /* We use char because int might match the return type of a gcc2 |
8861 builtin and then its argument prototype would still apply. */ | 8946 builtin and then its argument prototype would still apply. */ |
8862 char ldap_open(); | 8947 char ldap_open(); |
8863 | 8948 |
8864 int main() { | 8949 int main() { |
8865 ldap_open() | 8950 ldap_open() |
8866 ; return 0; } | 8951 ; return 0; } |
8867 EOF | 8952 EOF |
8868 if { (eval echo configure:8869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8869 rm -rf conftest* | 8954 rm -rf conftest* |
8870 eval "ac_cv_lib_$ac_lib_var=yes" | 8955 eval "ac_cv_lib_$ac_lib_var=yes" |
8871 else | 8956 else |
8872 echo "configure: failed program was:" >&5 | 8957 echo "configure: failed program was:" >&5 |
8873 cat conftest.$ac_ext >&5 | 8958 cat conftest.$ac_ext >&5 |
8912 fi | 8997 fi |
8913 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8998 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8914 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8999 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8915 do | 9000 do |
8916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8917 echo "configure:8918: checking for $ac_func" >&5 | 9002 echo "configure:9003: checking for $ac_func" >&5 |
8918 | 9003 |
8919 cat > conftest.$ac_ext <<EOF | 9004 cat > conftest.$ac_ext <<EOF |
8920 #line 8921 "configure" | 9005 #line 9006 "configure" |
8921 #include "confdefs.h" | 9006 #include "confdefs.h" |
8922 /* System header to define __stub macros and hopefully few prototypes, | 9007 /* System header to define __stub macros and hopefully few prototypes, |
8923 which can conflict with char $ac_func(); below. */ | 9008 which can conflict with char $ac_func(); below. */ |
8924 #include <assert.h> | 9009 #include <assert.h> |
8925 /* Override any gcc2 internal prototype to avoid an error. */ | 9010 /* Override any gcc2 internal prototype to avoid an error. */ |
8938 $ac_func(); | 9023 $ac_func(); |
8939 #endif | 9024 #endif |
8940 | 9025 |
8941 ; return 0; } | 9026 ; return 0; } |
8942 EOF | 9027 EOF |
8943 if { (eval echo configure:8944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8944 rm -rf conftest* | 9029 rm -rf conftest* |
8945 eval "ac_cv_func_$ac_func=yes" | 9030 eval "ac_cv_func_$ac_func=yes" |
8946 else | 9031 else |
8947 echo "configure: failed program was:" >&5 | 9032 echo "configure: failed program was:" >&5 |
8948 cat conftest.$ac_ext >&5 | 9033 cat conftest.$ac_ext >&5 |
8977 | 9062 |
8978 | 9063 |
8979 postgresql_libs= | 9064 postgresql_libs= |
8980 if test "$with_postgresql" != "no"; then | 9065 if test "$with_postgresql" != "no"; then |
8981 echo "checking for PostgreSQL" 1>&6 | 9066 echo "checking for PostgreSQL" 1>&6 |
8982 echo "configure:8983: checking for PostgreSQL" >&5 | 9067 echo "configure:9068: checking for PostgreSQL" >&5 |
8983 | 9068 |
8984 for header_dir in "" "pgsql/" "postgresql/"; do | 9069 for header_dir in "" "pgsql/" "postgresql/"; do |
8985 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9070 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8986 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9071 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8987 echo "configure:8988: checking for ${header_dir}libpq-fe.h" >&5 | 9072 echo "configure:9073: checking for ${header_dir}libpq-fe.h" >&5 |
8988 | 9073 |
8989 cat > conftest.$ac_ext <<EOF | 9074 cat > conftest.$ac_ext <<EOF |
8990 #line 8991 "configure" | 9075 #line 9076 "configure" |
8991 #include "confdefs.h" | 9076 #include "confdefs.h" |
8992 #include <${header_dir}libpq-fe.h> | 9077 #include <${header_dir}libpq-fe.h> |
8993 EOF | 9078 EOF |
8994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8995 { (eval echo configure:8996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8997 if test -z "$ac_err"; then | 9082 if test -z "$ac_err"; then |
8998 rm -rf conftest* | 9083 rm -rf conftest* |
8999 eval "ac_cv_header_$ac_safe=yes" | 9084 eval "ac_cv_header_$ac_safe=yes" |
9000 else | 9085 else |
9014 | 9099 |
9015 done | 9100 done |
9016 | 9101 |
9017 test -n "$libpq_fe_h_file" && { | 9102 test -n "$libpq_fe_h_file" && { |
9018 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9103 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9019 echo "configure:9020: checking for PQconnectdb in -lpq" >&5 | 9104 echo "configure:9105: checking for PQconnectdb in -lpq" >&5 |
9020 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9105 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9021 | 9106 |
9022 xe_check_libs=" -lpq " | 9107 xe_check_libs=" -lpq " |
9023 cat > conftest.$ac_ext <<EOF | 9108 cat > conftest.$ac_ext <<EOF |
9024 #line 9025 "configure" | 9109 #line 9110 "configure" |
9025 #include "confdefs.h" | 9110 #include "confdefs.h" |
9026 /* Override any gcc2 internal prototype to avoid an error. */ | 9111 /* Override any gcc2 internal prototype to avoid an error. */ |
9027 /* We use char because int might match the return type of a gcc2 | 9112 /* We use char because int might match the return type of a gcc2 |
9028 builtin and then its argument prototype would still apply. */ | 9113 builtin and then its argument prototype would still apply. */ |
9029 char PQconnectdb(); | 9114 char PQconnectdb(); |
9030 | 9115 |
9031 int main() { | 9116 int main() { |
9032 PQconnectdb() | 9117 PQconnectdb() |
9033 ; return 0; } | 9118 ; return 0; } |
9034 EOF | 9119 EOF |
9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9036 rm -rf conftest* | 9121 rm -rf conftest* |
9037 eval "ac_cv_lib_$ac_lib_var=yes" | 9122 eval "ac_cv_lib_$ac_lib_var=yes" |
9038 else | 9123 else |
9039 echo "configure: failed program was:" >&5 | 9124 echo "configure: failed program was:" >&5 |
9040 cat conftest.$ac_ext >&5 | 9125 cat conftest.$ac_ext >&5 |
9063 EOF | 9148 EOF |
9064 } | 9149 } |
9065 | 9150 |
9066 | 9151 |
9067 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9152 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9068 echo "configure:9069: checking for PQconnectStart in -lpq" >&5 | 9153 echo "configure:9154: checking for PQconnectStart in -lpq" >&5 |
9069 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9154 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9070 | 9155 |
9071 xe_check_libs=" -lpq " | 9156 xe_check_libs=" -lpq " |
9072 cat > conftest.$ac_ext <<EOF | 9157 cat > conftest.$ac_ext <<EOF |
9073 #line 9074 "configure" | 9158 #line 9159 "configure" |
9074 #include "confdefs.h" | 9159 #include "confdefs.h" |
9075 /* Override any gcc2 internal prototype to avoid an error. */ | 9160 /* Override any gcc2 internal prototype to avoid an error. */ |
9076 /* We use char because int might match the return type of a gcc2 | 9161 /* We use char because int might match the return type of a gcc2 |
9077 builtin and then its argument prototype would still apply. */ | 9162 builtin and then its argument prototype would still apply. */ |
9078 char PQconnectStart(); | 9163 char PQconnectStart(); |
9079 | 9164 |
9080 int main() { | 9165 int main() { |
9081 PQconnectStart() | 9166 PQconnectStart() |
9082 ; return 0; } | 9167 ; return 0; } |
9083 EOF | 9168 EOF |
9084 if { (eval echo configure:9085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9169 if { (eval echo configure:9170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9085 rm -rf conftest* | 9170 rm -rf conftest* |
9086 eval "ac_cv_lib_$ac_lib_var=yes" | 9171 eval "ac_cv_lib_$ac_lib_var=yes" |
9087 else | 9172 else |
9088 echo "configure: failed program was:" >&5 | 9173 echo "configure: failed program was:" >&5 |
9089 cat conftest.$ac_ext >&5 | 9174 cat conftest.$ac_ext >&5 |
9130 | 9215 |
9131 | 9216 |
9132 | 9217 |
9133 if test "$window_system" != "none"; then | 9218 if test "$window_system" != "none"; then |
9134 echo "checking for graphics libraries" 1>&6 | 9219 echo "checking for graphics libraries" 1>&6 |
9135 echo "configure:9136: checking for graphics libraries" >&5 | 9220 echo "configure:9221: checking for graphics libraries" >&5 |
9136 | 9221 |
9137 libpath_xpm= | 9222 libpath_xpm= |
9138 incpath_xpm= | 9223 incpath_xpm= |
9139 case "$opsys" in | 9224 case "$opsys" in |
9140 cygwin*) | 9225 cygwin*) |
9156 xpm_problem="" | 9241 xpm_problem="" |
9157 if test -z "$with_xpm"; then | 9242 if test -z "$with_xpm"; then |
9158 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9243 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9159 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9244 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9160 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9245 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9161 echo "configure:9162: checking for Xpm - no older than 3.4f" >&5 | 9246 echo "configure:9247: checking for Xpm - no older than 3.4f" >&5 |
9162 xe_check_libs=-lXpm | 9247 xe_check_libs=-lXpm |
9163 cat > conftest.$ac_ext <<EOF | 9248 cat > conftest.$ac_ext <<EOF |
9164 #line 9165 "configure" | 9249 #line 9250 "configure" |
9165 #include "confdefs.h" | 9250 #include "confdefs.h" |
9166 #define XPM_NUMBERS | 9251 #define XPM_NUMBERS |
9167 #include <X11/xpm.h> | 9252 #include <X11/xpm.h> |
9168 int main(int c, char **v) { | 9253 int main(int c, char **v) { |
9169 return c == 1 ? 0 : | 9254 return c == 1 ? 0 : |
9170 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9255 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9171 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9256 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9172 EOF | 9257 EOF |
9173 if { (eval echo configure:9174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9258 if { (eval echo configure:9259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9174 then | 9259 then |
9175 ./conftest dummy_arg; xpm_status=$?; | 9260 ./conftest dummy_arg; xpm_status=$?; |
9176 if test "$xpm_status" = "0"; then | 9261 if test "$xpm_status" = "0"; then |
9177 with_xpm=yes; | 9262 with_xpm=yes; |
9178 else | 9263 else |
9212 | 9297 |
9213 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9298 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9214 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9299 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9215 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9300 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9216 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9301 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9217 echo "configure:9218: checking for \"FOR_MSW\" xpm" >&5 | 9302 echo "configure:9303: checking for \"FOR_MSW\" xpm" >&5 |
9218 xe_check_libs=-lXpm | 9303 xe_check_libs=-lXpm |
9219 cat > conftest.$ac_ext <<EOF | 9304 cat > conftest.$ac_ext <<EOF |
9220 #line 9221 "configure" | 9305 #line 9306 "configure" |
9221 #include "confdefs.h" | 9306 #include "confdefs.h" |
9222 | 9307 |
9223 int main() { | 9308 int main() { |
9224 XpmCreatePixmapFromData() | 9309 XpmCreatePixmapFromData() |
9225 ; return 0; } | 9310 ; return 0; } |
9226 EOF | 9311 EOF |
9227 if { (eval echo configure:9228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9228 rm -rf conftest* | 9313 rm -rf conftest* |
9229 xpm_for_msw=no | 9314 xpm_for_msw=no |
9230 else | 9315 else |
9231 echo "configure: failed program was:" >&5 | 9316 echo "configure: failed program was:" >&5 |
9232 cat conftest.$ac_ext >&5 | 9317 cat conftest.$ac_ext >&5 |
9248 fi | 9333 fi |
9249 fi | 9334 fi |
9250 | 9335 |
9251 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9336 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9252 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9337 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9253 echo "configure:9254: checking for compface.h" >&5 | 9338 echo "configure:9339: checking for compface.h" >&5 |
9254 | 9339 |
9255 cat > conftest.$ac_ext <<EOF | 9340 cat > conftest.$ac_ext <<EOF |
9256 #line 9257 "configure" | 9341 #line 9342 "configure" |
9257 #include "confdefs.h" | 9342 #include "confdefs.h" |
9258 #include <compface.h> | 9343 #include <compface.h> |
9259 EOF | 9344 EOF |
9260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9261 { (eval echo configure:9262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9346 { (eval echo configure:9347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9263 if test -z "$ac_err"; then | 9348 if test -z "$ac_err"; then |
9264 rm -rf conftest* | 9349 rm -rf conftest* |
9265 eval "ac_cv_header_$ac_safe=yes" | 9350 eval "ac_cv_header_$ac_safe=yes" |
9266 else | 9351 else |
9279 with_xface=no | 9364 with_xface=no |
9280 fi | 9365 fi |
9281 } | 9366 } |
9282 test -z "$with_xface" && { | 9367 test -z "$with_xface" && { |
9283 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9368 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9284 echo "configure:9285: checking for UnGenFace in -lcompface" >&5 | 9369 echo "configure:9370: checking for UnGenFace in -lcompface" >&5 |
9285 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9370 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9286 | 9371 |
9287 xe_check_libs=" -lcompface " | 9372 xe_check_libs=" -lcompface " |
9288 cat > conftest.$ac_ext <<EOF | 9373 cat > conftest.$ac_ext <<EOF |
9289 #line 9290 "configure" | 9374 #line 9375 "configure" |
9290 #include "confdefs.h" | 9375 #include "confdefs.h" |
9291 /* Override any gcc2 internal prototype to avoid an error. */ | 9376 /* Override any gcc2 internal prototype to avoid an error. */ |
9292 /* We use char because int might match the return type of a gcc2 | 9377 /* We use char because int might match the return type of a gcc2 |
9293 builtin and then its argument prototype would still apply. */ | 9378 builtin and then its argument prototype would still apply. */ |
9294 char UnGenFace(); | 9379 char UnGenFace(); |
9295 | 9380 |
9296 int main() { | 9381 int main() { |
9297 UnGenFace() | 9382 UnGenFace() |
9298 ; return 0; } | 9383 ; return 0; } |
9299 EOF | 9384 EOF |
9300 if { (eval echo configure:9301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9301 rm -rf conftest* | 9386 rm -rf conftest* |
9302 eval "ac_cv_lib_$ac_lib_var=yes" | 9387 eval "ac_cv_lib_$ac_lib_var=yes" |
9303 else | 9388 else |
9304 echo "configure: failed program was:" >&5 | 9389 echo "configure: failed program was:" >&5 |
9305 cat conftest.$ac_ext >&5 | 9390 cat conftest.$ac_ext >&5 |
9344 fi | 9429 fi |
9345 | 9430 |
9346 if test "$with_png $with_tiff" != "no no"; then | 9431 if test "$with_png $with_tiff" != "no no"; then |
9347 | 9432 |
9348 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9433 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9349 echo "configure:9350: checking for inflate in -lc" >&5 | 9434 echo "configure:9435: checking for inflate in -lc" >&5 |
9350 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9435 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9351 | 9436 |
9352 xe_check_libs=" -lc " | 9437 xe_check_libs=" -lc " |
9353 cat > conftest.$ac_ext <<EOF | 9438 cat > conftest.$ac_ext <<EOF |
9354 #line 9355 "configure" | 9439 #line 9440 "configure" |
9355 #include "confdefs.h" | 9440 #include "confdefs.h" |
9356 /* Override any gcc2 internal prototype to avoid an error. */ | 9441 /* Override any gcc2 internal prototype to avoid an error. */ |
9357 /* We use char because int might match the return type of a gcc2 | 9442 /* We use char because int might match the return type of a gcc2 |
9358 builtin and then its argument prototype would still apply. */ | 9443 builtin and then its argument prototype would still apply. */ |
9359 char inflate(); | 9444 char inflate(); |
9360 | 9445 |
9361 int main() { | 9446 int main() { |
9362 inflate() | 9447 inflate() |
9363 ; return 0; } | 9448 ; return 0; } |
9364 EOF | 9449 EOF |
9365 if { (eval echo configure:9366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9366 rm -rf conftest* | 9451 rm -rf conftest* |
9367 eval "ac_cv_lib_$ac_lib_var=yes" | 9452 eval "ac_cv_lib_$ac_lib_var=yes" |
9368 else | 9453 else |
9369 echo "configure: failed program was:" >&5 | 9454 echo "configure: failed program was:" >&5 |
9370 cat conftest.$ac_ext >&5 | 9455 cat conftest.$ac_ext >&5 |
9379 : | 9464 : |
9380 else | 9465 else |
9381 echo "$ac_t""no" 1>&6 | 9466 echo "$ac_t""no" 1>&6 |
9382 | 9467 |
9383 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9468 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9384 echo "configure:9385: checking for inflate in -lz" >&5 | 9469 echo "configure:9470: checking for inflate in -lz" >&5 |
9385 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9470 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9386 | 9471 |
9387 xe_check_libs=" -lz " | 9472 xe_check_libs=" -lz " |
9388 cat > conftest.$ac_ext <<EOF | 9473 cat > conftest.$ac_ext <<EOF |
9389 #line 9390 "configure" | 9474 #line 9475 "configure" |
9390 #include "confdefs.h" | 9475 #include "confdefs.h" |
9391 /* Override any gcc2 internal prototype to avoid an error. */ | 9476 /* Override any gcc2 internal prototype to avoid an error. */ |
9392 /* We use char because int might match the return type of a gcc2 | 9477 /* We use char because int might match the return type of a gcc2 |
9393 builtin and then its argument prototype would still apply. */ | 9478 builtin and then its argument prototype would still apply. */ |
9394 char inflate(); | 9479 char inflate(); |
9395 | 9480 |
9396 int main() { | 9481 int main() { |
9397 inflate() | 9482 inflate() |
9398 ; return 0; } | 9483 ; return 0; } |
9399 EOF | 9484 EOF |
9400 if { (eval echo configure:9401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9485 if { (eval echo configure:9486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9401 rm -rf conftest* | 9486 rm -rf conftest* |
9402 eval "ac_cv_lib_$ac_lib_var=yes" | 9487 eval "ac_cv_lib_$ac_lib_var=yes" |
9403 else | 9488 else |
9404 echo "configure: failed program was:" >&5 | 9489 echo "configure: failed program was:" >&5 |
9405 cat conftest.$ac_ext >&5 | 9490 cat conftest.$ac_ext >&5 |
9414 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9499 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9415 else | 9500 else |
9416 echo "$ac_t""no" 1>&6 | 9501 echo "$ac_t""no" 1>&6 |
9417 | 9502 |
9418 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9503 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9419 echo "configure:9420: checking for inflate in -lgz" >&5 | 9504 echo "configure:9505: checking for inflate in -lgz" >&5 |
9420 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9505 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9421 | 9506 |
9422 xe_check_libs=" -lgz " | 9507 xe_check_libs=" -lgz " |
9423 cat > conftest.$ac_ext <<EOF | 9508 cat > conftest.$ac_ext <<EOF |
9424 #line 9425 "configure" | 9509 #line 9510 "configure" |
9425 #include "confdefs.h" | 9510 #include "confdefs.h" |
9426 /* Override any gcc2 internal prototype to avoid an error. */ | 9511 /* Override any gcc2 internal prototype to avoid an error. */ |
9427 /* We use char because int might match the return type of a gcc2 | 9512 /* We use char because int might match the return type of a gcc2 |
9428 builtin and then its argument prototype would still apply. */ | 9513 builtin and then its argument prototype would still apply. */ |
9429 char inflate(); | 9514 char inflate(); |
9430 | 9515 |
9431 int main() { | 9516 int main() { |
9432 inflate() | 9517 inflate() |
9433 ; return 0; } | 9518 ; return 0; } |
9434 EOF | 9519 EOF |
9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9436 rm -rf conftest* | 9521 rm -rf conftest* |
9437 eval "ac_cv_lib_$ac_lib_var=yes" | 9522 eval "ac_cv_lib_$ac_lib_var=yes" |
9438 else | 9523 else |
9439 echo "configure: failed program was:" >&5 | 9524 echo "configure: failed program was:" >&5 |
9440 cat conftest.$ac_ext >&5 | 9525 cat conftest.$ac_ext >&5 |
9460 | 9545 |
9461 fi | 9546 fi |
9462 | 9547 |
9463 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9548 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9464 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9549 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9465 echo "configure:9466: checking for jpeglib.h" >&5 | 9550 echo "configure:9551: checking for jpeglib.h" >&5 |
9466 | 9551 |
9467 cat > conftest.$ac_ext <<EOF | 9552 cat > conftest.$ac_ext <<EOF |
9468 #line 9469 "configure" | 9553 #line 9554 "configure" |
9469 #include "confdefs.h" | 9554 #include "confdefs.h" |
9470 #include <jpeglib.h> | 9555 #include <jpeglib.h> |
9471 EOF | 9556 EOF |
9472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9473 { (eval echo configure:9474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9558 { (eval echo configure:9559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9475 if test -z "$ac_err"; then | 9560 if test -z "$ac_err"; then |
9476 rm -rf conftest* | 9561 rm -rf conftest* |
9477 eval "ac_cv_header_$ac_safe=yes" | 9562 eval "ac_cv_header_$ac_safe=yes" |
9478 else | 9563 else |
9491 with_jpeg=no | 9576 with_jpeg=no |
9492 fi | 9577 fi |
9493 } | 9578 } |
9494 test -z "$with_jpeg" && { | 9579 test -z "$with_jpeg" && { |
9495 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9580 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9496 echo "configure:9497: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9581 echo "configure:9582: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9497 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9582 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9498 | 9583 |
9499 xe_check_libs=" -ljpeg " | 9584 xe_check_libs=" -ljpeg " |
9500 cat > conftest.$ac_ext <<EOF | 9585 cat > conftest.$ac_ext <<EOF |
9501 #line 9502 "configure" | 9586 #line 9587 "configure" |
9502 #include "confdefs.h" | 9587 #include "confdefs.h" |
9503 /* Override any gcc2 internal prototype to avoid an error. */ | 9588 /* Override any gcc2 internal prototype to avoid an error. */ |
9504 /* We use char because int might match the return type of a gcc2 | 9589 /* We use char because int might match the return type of a gcc2 |
9505 builtin and then its argument prototype would still apply. */ | 9590 builtin and then its argument prototype would still apply. */ |
9506 char jpeg_destroy_decompress(); | 9591 char jpeg_destroy_decompress(); |
9507 | 9592 |
9508 int main() { | 9593 int main() { |
9509 jpeg_destroy_decompress() | 9594 jpeg_destroy_decompress() |
9510 ; return 0; } | 9595 ; return 0; } |
9511 EOF | 9596 EOF |
9512 if { (eval echo configure:9513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9513 rm -rf conftest* | 9598 rm -rf conftest* |
9514 eval "ac_cv_lib_$ac_lib_var=yes" | 9599 eval "ac_cv_lib_$ac_lib_var=yes" |
9515 else | 9600 else |
9516 echo "configure: failed program was:" >&5 | 9601 echo "configure: failed program was:" >&5 |
9517 cat conftest.$ac_ext >&5 | 9602 cat conftest.$ac_ext >&5 |
9543 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9628 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9544 fi | 9629 fi |
9545 | 9630 |
9546 png_problem="" | 9631 png_problem="" |
9547 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9632 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9548 echo "configure:9549: checking for pow" >&5 | 9633 echo "configure:9634: checking for pow" >&5 |
9549 | 9634 |
9550 cat > conftest.$ac_ext <<EOF | 9635 cat > conftest.$ac_ext <<EOF |
9551 #line 9552 "configure" | 9636 #line 9637 "configure" |
9552 #include "confdefs.h" | 9637 #include "confdefs.h" |
9553 /* System header to define __stub macros and hopefully few prototypes, | 9638 /* System header to define __stub macros and hopefully few prototypes, |
9554 which can conflict with char pow(); below. */ | 9639 which can conflict with char pow(); below. */ |
9555 #include <assert.h> | 9640 #include <assert.h> |
9556 /* Override any gcc2 internal prototype to avoid an error. */ | 9641 /* Override any gcc2 internal prototype to avoid an error. */ |
9569 pow(); | 9654 pow(); |
9570 #endif | 9655 #endif |
9571 | 9656 |
9572 ; return 0; } | 9657 ; return 0; } |
9573 EOF | 9658 EOF |
9574 if { (eval echo configure:9575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9659 if { (eval echo configure:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9575 rm -rf conftest* | 9660 rm -rf conftest* |
9576 eval "ac_cv_func_pow=yes" | 9661 eval "ac_cv_func_pow=yes" |
9577 else | 9662 else |
9578 echo "configure: failed program was:" >&5 | 9663 echo "configure: failed program was:" >&5 |
9579 cat conftest.$ac_ext >&5 | 9664 cat conftest.$ac_ext >&5 |
9590 with_png=no | 9675 with_png=no |
9591 fi | 9676 fi |
9592 } | 9677 } |
9593 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9678 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9594 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9679 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9595 echo "configure:9596: checking for png.h" >&5 | 9680 echo "configure:9681: checking for png.h" >&5 |
9596 | 9681 |
9597 cat > conftest.$ac_ext <<EOF | 9682 cat > conftest.$ac_ext <<EOF |
9598 #line 9599 "configure" | 9683 #line 9684 "configure" |
9599 #include "confdefs.h" | 9684 #include "confdefs.h" |
9600 #include <png.h> | 9685 #include <png.h> |
9601 EOF | 9686 EOF |
9602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9603 { (eval echo configure:9604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9688 { (eval echo configure:9689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9605 if test -z "$ac_err"; then | 9690 if test -z "$ac_err"; then |
9606 rm -rf conftest* | 9691 rm -rf conftest* |
9607 eval "ac_cv_header_$ac_safe=yes" | 9692 eval "ac_cv_header_$ac_safe=yes" |
9608 else | 9693 else |
9621 with_png=no | 9706 with_png=no |
9622 fi | 9707 fi |
9623 } | 9708 } |
9624 test -z "$with_png" && { | 9709 test -z "$with_png" && { |
9625 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9710 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9626 echo "configure:9627: checking for png_read_image in -lpng" >&5 | 9711 echo "configure:9712: checking for png_read_image in -lpng" >&5 |
9627 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9712 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9628 | 9713 |
9629 xe_check_libs=" -lpng " | 9714 xe_check_libs=" -lpng " |
9630 cat > conftest.$ac_ext <<EOF | 9715 cat > conftest.$ac_ext <<EOF |
9631 #line 9632 "configure" | 9716 #line 9717 "configure" |
9632 #include "confdefs.h" | 9717 #include "confdefs.h" |
9633 /* Override any gcc2 internal prototype to avoid an error. */ | 9718 /* Override any gcc2 internal prototype to avoid an error. */ |
9634 /* We use char because int might match the return type of a gcc2 | 9719 /* We use char because int might match the return type of a gcc2 |
9635 builtin and then its argument prototype would still apply. */ | 9720 builtin and then its argument prototype would still apply. */ |
9636 char png_read_image(); | 9721 char png_read_image(); |
9637 | 9722 |
9638 int main() { | 9723 int main() { |
9639 png_read_image() | 9724 png_read_image() |
9640 ; return 0; } | 9725 ; return 0; } |
9641 EOF | 9726 EOF |
9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9727 if { (eval echo configure:9728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9643 rm -rf conftest* | 9728 rm -rf conftest* |
9644 eval "ac_cv_lib_$ac_lib_var=yes" | 9729 eval "ac_cv_lib_$ac_lib_var=yes" |
9645 else | 9730 else |
9646 echo "configure: failed program was:" >&5 | 9731 echo "configure: failed program was:" >&5 |
9647 cat conftest.$ac_ext >&5 | 9732 cat conftest.$ac_ext >&5 |
9660 fi | 9745 fi |
9661 | 9746 |
9662 } | 9747 } |
9663 if test -z "$with_png"; then | 9748 if test -z "$with_png"; then |
9664 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9749 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9665 echo "configure:9666: checking for workable png version information" >&5 | 9750 echo "configure:9751: checking for workable png version information" >&5 |
9666 xe_check_libs="-lpng -lz" | 9751 xe_check_libs="-lpng -lz" |
9667 cat > conftest.$ac_ext <<EOF | 9752 cat > conftest.$ac_ext <<EOF |
9668 #line 9669 "configure" | 9753 #line 9754 "configure" |
9669 #include "confdefs.h" | 9754 #include "confdefs.h" |
9670 #include <png.h> | 9755 #include <png.h> |
9671 int main(int c, char **v) { | 9756 int main(int c, char **v) { |
9672 if (c == 1) return 0; | 9757 if (c == 1) return 0; |
9673 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9758 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9674 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9759 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9675 EOF | 9760 EOF |
9676 if { (eval echo configure:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9677 then | 9762 then |
9678 ./conftest dummy_arg; png_status=$?; | 9763 ./conftest dummy_arg; png_status=$?; |
9679 if test "$png_status" = "0"; then | 9764 if test "$png_status" = "0"; then |
9680 with_png=yes; | 9765 with_png=yes; |
9681 else | 9766 else |
9714 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9799 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9715 fi | 9800 fi |
9716 | 9801 |
9717 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9802 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9718 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9803 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9719 echo "configure:9720: checking for tiffio.h" >&5 | 9804 echo "configure:9805: checking for tiffio.h" >&5 |
9720 | 9805 |
9721 cat > conftest.$ac_ext <<EOF | 9806 cat > conftest.$ac_ext <<EOF |
9722 #line 9723 "configure" | 9807 #line 9808 "configure" |
9723 #include "confdefs.h" | 9808 #include "confdefs.h" |
9724 #include <tiffio.h> | 9809 #include <tiffio.h> |
9725 EOF | 9810 EOF |
9726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9727 { (eval echo configure:9728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9729 if test -z "$ac_err"; then | 9814 if test -z "$ac_err"; then |
9730 rm -rf conftest* | 9815 rm -rf conftest* |
9731 eval "ac_cv_header_$ac_safe=yes" | 9816 eval "ac_cv_header_$ac_safe=yes" |
9732 else | 9817 else |
9745 with_tiff=no | 9830 with_tiff=no |
9746 fi | 9831 fi |
9747 } | 9832 } |
9748 test -z "$with_tiff" && { | 9833 test -z "$with_tiff" && { |
9749 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9834 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9750 echo "configure:9751: checking for TIFFClientOpen in -ltiff" >&5 | 9835 echo "configure:9836: checking for TIFFClientOpen in -ltiff" >&5 |
9751 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9836 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9752 | 9837 |
9753 xe_check_libs=" -ltiff " | 9838 xe_check_libs=" -ltiff " |
9754 cat > conftest.$ac_ext <<EOF | 9839 cat > conftest.$ac_ext <<EOF |
9755 #line 9756 "configure" | 9840 #line 9841 "configure" |
9756 #include "confdefs.h" | 9841 #include "confdefs.h" |
9757 /* Override any gcc2 internal prototype to avoid an error. */ | 9842 /* Override any gcc2 internal prototype to avoid an error. */ |
9758 /* We use char because int might match the return type of a gcc2 | 9843 /* We use char because int might match the return type of a gcc2 |
9759 builtin and then its argument prototype would still apply. */ | 9844 builtin and then its argument prototype would still apply. */ |
9760 char TIFFClientOpen(); | 9845 char TIFFClientOpen(); |
9761 | 9846 |
9762 int main() { | 9847 int main() { |
9763 TIFFClientOpen() | 9848 TIFFClientOpen() |
9764 ; return 0; } | 9849 ; return 0; } |
9765 EOF | 9850 EOF |
9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9767 rm -rf conftest* | 9852 rm -rf conftest* |
9768 eval "ac_cv_lib_$ac_lib_var=yes" | 9853 eval "ac_cv_lib_$ac_lib_var=yes" |
9769 else | 9854 else |
9770 echo "configure: failed program was:" >&5 | 9855 echo "configure: failed program was:" >&5 |
9771 cat conftest.$ac_ext >&5 | 9856 cat conftest.$ac_ext >&5 |
9800 | 9885 |
9801 | 9886 |
9802 if test "$with_gtk" = "yes"; then | 9887 if test "$with_gtk" = "yes"; then |
9803 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9888 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9804 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9889 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9805 echo "configure:9806: checking for compface.h" >&5 | 9890 echo "configure:9891: checking for compface.h" >&5 |
9806 | 9891 |
9807 cat > conftest.$ac_ext <<EOF | 9892 cat > conftest.$ac_ext <<EOF |
9808 #line 9809 "configure" | 9893 #line 9894 "configure" |
9809 #include "confdefs.h" | 9894 #include "confdefs.h" |
9810 #include <compface.h> | 9895 #include <compface.h> |
9811 EOF | 9896 EOF |
9812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9813 { (eval echo configure:9814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9898 { (eval echo configure:9899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9815 if test -z "$ac_err"; then | 9900 if test -z "$ac_err"; then |
9816 rm -rf conftest* | 9901 rm -rf conftest* |
9817 eval "ac_cv_header_$ac_safe=yes" | 9902 eval "ac_cv_header_$ac_safe=yes" |
9818 else | 9903 else |
9831 with_xface=no | 9916 with_xface=no |
9832 fi | 9917 fi |
9833 } | 9918 } |
9834 test -z "$with_xface" && { | 9919 test -z "$with_xface" && { |
9835 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9920 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9836 echo "configure:9837: checking for UnGenFace in -lcompface" >&5 | 9921 echo "configure:9922: checking for UnGenFace in -lcompface" >&5 |
9837 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9922 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9838 | 9923 |
9839 xe_check_libs=" -lcompface " | 9924 xe_check_libs=" -lcompface " |
9840 cat > conftest.$ac_ext <<EOF | 9925 cat > conftest.$ac_ext <<EOF |
9841 #line 9842 "configure" | 9926 #line 9927 "configure" |
9842 #include "confdefs.h" | 9927 #include "confdefs.h" |
9843 /* Override any gcc2 internal prototype to avoid an error. */ | 9928 /* Override any gcc2 internal prototype to avoid an error. */ |
9844 /* We use char because int might match the return type of a gcc2 | 9929 /* We use char because int might match the return type of a gcc2 |
9845 builtin and then its argument prototype would still apply. */ | 9930 builtin and then its argument prototype would still apply. */ |
9846 char UnGenFace(); | 9931 char UnGenFace(); |
9847 | 9932 |
9848 int main() { | 9933 int main() { |
9849 UnGenFace() | 9934 UnGenFace() |
9850 ; return 0; } | 9935 ; return 0; } |
9851 EOF | 9936 EOF |
9852 if { (eval echo configure:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9937 if { (eval echo configure:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9853 rm -rf conftest* | 9938 rm -rf conftest* |
9854 eval "ac_cv_lib_$ac_lib_var=yes" | 9939 eval "ac_cv_lib_$ac_lib_var=yes" |
9855 else | 9940 else |
9856 echo "configure: failed program was:" >&5 | 9941 echo "configure: failed program was:" >&5 |
9857 cat conftest.$ac_ext >&5 | 9942 cat conftest.$ac_ext >&5 |
9886 | 9971 |
9887 | 9972 |
9888 | 9973 |
9889 if test "$with_x11" = "yes"; then | 9974 if test "$with_x11" = "yes"; then |
9890 echo "checking for X11 graphics libraries" 1>&6 | 9975 echo "checking for X11 graphics libraries" 1>&6 |
9891 echo "configure:9892: checking for X11 graphics libraries" >&5 | 9976 echo "configure:9977: checking for X11 graphics libraries" >&5 |
9892 fi | 9977 fi |
9893 | 9978 |
9894 case "$with_widgets" in | 9979 case "$with_widgets" in |
9895 "yes" | "athena") detect_athena=yes ;; | 9980 "yes" | "athena") detect_athena=yes ;; |
9896 *) detect_athena=no ;; | 9981 *) detect_athena=no ;; |
9897 esac | 9982 esac |
9898 | 9983 |
9899 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9984 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9900 echo "checking for the Athena widgets" 1>&6 | 9985 echo "checking for the Athena widgets" 1>&6 |
9901 echo "configure:9902: checking for the Athena widgets" >&5 | 9986 echo "configure:9987: checking for the Athena widgets" >&5 |
9902 | 9987 |
9903 case "$with_athena" in | 9988 case "$with_athena" in |
9904 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9989 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9905 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9990 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9906 "next") athena_variant=neXtaw athena_3d=yes ;; | 9991 "next") athena_variant=neXtaw athena_3d=yes ;; |
9910 esac | 9995 esac |
9911 | 9996 |
9912 if test "$athena_3d" = "no"; then | 9997 if test "$athena_3d" = "no"; then |
9913 | 9998 |
9914 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9999 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9915 echo "configure:9916: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10000 echo "configure:10001: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9916 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10001 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9917 | 10002 |
9918 xe_check_libs=" -l$athena_variant " | 10003 xe_check_libs=" -l$athena_variant " |
9919 cat > conftest.$ac_ext <<EOF | 10004 cat > conftest.$ac_ext <<EOF |
9920 #line 9921 "configure" | 10005 #line 10006 "configure" |
9921 #include "confdefs.h" | 10006 #include "confdefs.h" |
9922 /* Override any gcc2 internal prototype to avoid an error. */ | 10007 /* Override any gcc2 internal prototype to avoid an error. */ |
9923 /* We use char because int might match the return type of a gcc2 | 10008 /* We use char because int might match the return type of a gcc2 |
9924 builtin and then its argument prototype would still apply. */ | 10009 builtin and then its argument prototype would still apply. */ |
9925 char XawScrollbarSetThumb(); | 10010 char XawScrollbarSetThumb(); |
9926 | 10011 |
9927 int main() { | 10012 int main() { |
9928 XawScrollbarSetThumb() | 10013 XawScrollbarSetThumb() |
9929 ; return 0; } | 10014 ; return 0; } |
9930 EOF | 10015 EOF |
9931 if { (eval echo configure:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10016 if { (eval echo configure:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9932 rm -rf conftest* | 10017 rm -rf conftest* |
9933 eval "ac_cv_lib_$ac_lib_var=yes" | 10018 eval "ac_cv_lib_$ac_lib_var=yes" |
9934 else | 10019 else |
9935 echo "configure: failed program was:" >&5 | 10020 echo "configure: failed program was:" >&5 |
9936 cat conftest.$ac_ext >&5 | 10021 cat conftest.$ac_ext >&5 |
9942 | 10027 |
9943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9944 echo "$ac_t""yes" 1>&6 | 10029 echo "$ac_t""yes" 1>&6 |
9945 | 10030 |
9946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10031 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9947 echo "configure:9948: checking for threeDClassRec in -l$athena_variant" >&5 | 10032 echo "configure:10033: checking for threeDClassRec in -l$athena_variant" >&5 |
9948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10033 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9949 | 10034 |
9950 xe_check_libs=" -l$athena_variant " | 10035 xe_check_libs=" -l$athena_variant " |
9951 cat > conftest.$ac_ext <<EOF | 10036 cat > conftest.$ac_ext <<EOF |
9952 #line 9953 "configure" | 10037 #line 10038 "configure" |
9953 #include "confdefs.h" | 10038 #include "confdefs.h" |
9954 /* Override any gcc2 internal prototype to avoid an error. */ | 10039 /* Override any gcc2 internal prototype to avoid an error. */ |
9955 /* We use char because int might match the return type of a gcc2 | 10040 /* We use char because int might match the return type of a gcc2 |
9956 builtin and then its argument prototype would still apply. */ | 10041 builtin and then its argument prototype would still apply. */ |
9957 char threeDClassRec(); | 10042 char threeDClassRec(); |
9958 | 10043 |
9959 int main() { | 10044 int main() { |
9960 threeDClassRec() | 10045 threeDClassRec() |
9961 ; return 0; } | 10046 ; return 0; } |
9962 EOF | 10047 EOF |
9963 if { (eval echo configure:9964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9964 rm -rf conftest* | 10049 rm -rf conftest* |
9965 eval "ac_cv_lib_$ac_lib_var=yes" | 10050 eval "ac_cv_lib_$ac_lib_var=yes" |
9966 else | 10051 else |
9967 echo "configure: failed program was:" >&5 | 10052 echo "configure: failed program was:" >&5 |
9968 cat conftest.$ac_ext >&5 | 10053 cat conftest.$ac_ext >&5 |
9989 | 10074 |
9990 | 10075 |
9991 else | 10076 else |
9992 | 10077 |
9993 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10078 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9994 echo "configure:9995: checking for threeDClassRec in -l$athena_variant" >&5 | 10079 echo "configure:10080: checking for threeDClassRec in -l$athena_variant" >&5 |
9995 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10080 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9996 | 10081 |
9997 xe_check_libs=" -l$athena_variant " | 10082 xe_check_libs=" -l$athena_variant " |
9998 cat > conftest.$ac_ext <<EOF | 10083 cat > conftest.$ac_ext <<EOF |
9999 #line 10000 "configure" | 10084 #line 10085 "configure" |
10000 #include "confdefs.h" | 10085 #include "confdefs.h" |
10001 /* Override any gcc2 internal prototype to avoid an error. */ | 10086 /* Override any gcc2 internal prototype to avoid an error. */ |
10002 /* We use char because int might match the return type of a gcc2 | 10087 /* We use char because int might match the return type of a gcc2 |
10003 builtin and then its argument prototype would still apply. */ | 10088 builtin and then its argument prototype would still apply. */ |
10004 char threeDClassRec(); | 10089 char threeDClassRec(); |
10005 | 10090 |
10006 int main() { | 10091 int main() { |
10007 threeDClassRec() | 10092 threeDClassRec() |
10008 ; return 0; } | 10093 ; return 0; } |
10009 EOF | 10094 EOF |
10010 if { (eval echo configure:10011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10011 rm -rf conftest* | 10096 rm -rf conftest* |
10012 eval "ac_cv_lib_$ac_lib_var=yes" | 10097 eval "ac_cv_lib_$ac_lib_var=yes" |
10013 else | 10098 else |
10014 echo "configure: failed program was:" >&5 | 10099 echo "configure: failed program was:" >&5 |
10015 cat conftest.$ac_ext >&5 | 10100 cat conftest.$ac_ext >&5 |
10023 echo "$ac_t""yes" 1>&6 | 10108 echo "$ac_t""yes" 1>&6 |
10024 athena_lib=$athena_variant | 10109 athena_lib=$athena_variant |
10025 else | 10110 else |
10026 echo "$ac_t""no" 1>&6 | 10111 echo "$ac_t""no" 1>&6 |
10027 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10112 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10028 echo "configure:10029: checking for threeDClassRec in -lXaw" >&5 | 10113 echo "configure:10114: checking for threeDClassRec in -lXaw" >&5 |
10029 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10114 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10030 | 10115 |
10031 xe_check_libs=" -lXaw " | 10116 xe_check_libs=" -lXaw " |
10032 cat > conftest.$ac_ext <<EOF | 10117 cat > conftest.$ac_ext <<EOF |
10033 #line 10034 "configure" | 10118 #line 10119 "configure" |
10034 #include "confdefs.h" | 10119 #include "confdefs.h" |
10035 /* Override any gcc2 internal prototype to avoid an error. */ | 10120 /* Override any gcc2 internal prototype to avoid an error. */ |
10036 /* We use char because int might match the return type of a gcc2 | 10121 /* We use char because int might match the return type of a gcc2 |
10037 builtin and then its argument prototype would still apply. */ | 10122 builtin and then its argument prototype would still apply. */ |
10038 char threeDClassRec(); | 10123 char threeDClassRec(); |
10039 | 10124 |
10040 int main() { | 10125 int main() { |
10041 threeDClassRec() | 10126 threeDClassRec() |
10042 ; return 0; } | 10127 ; return 0; } |
10043 EOF | 10128 EOF |
10044 if { (eval echo configure:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10129 if { (eval echo configure:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10045 rm -rf conftest* | 10130 rm -rf conftest* |
10046 eval "ac_cv_lib_$ac_lib_var=yes" | 10131 eval "ac_cv_lib_$ac_lib_var=yes" |
10047 else | 10132 else |
10048 echo "configure: failed program was:" >&5 | 10133 echo "configure: failed program was:" >&5 |
10049 cat conftest.$ac_ext >&5 | 10134 cat conftest.$ac_ext >&5 |
10070 fi | 10155 fi |
10071 | 10156 |
10072 if test "$athena_3d" = "no"; then | 10157 if test "$athena_3d" = "no"; then |
10073 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10158 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10074 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10159 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10075 echo "configure:10076: checking for X11/Xaw/ThreeD.h" >&5 | 10160 echo "configure:10161: checking for X11/Xaw/ThreeD.h" >&5 |
10076 | 10161 |
10077 cat > conftest.$ac_ext <<EOF | 10162 cat > conftest.$ac_ext <<EOF |
10078 #line 10079 "configure" | 10163 #line 10164 "configure" |
10079 #include "confdefs.h" | 10164 #include "confdefs.h" |
10080 #include <X11/Xaw/ThreeD.h> | 10165 #include <X11/Xaw/ThreeD.h> |
10081 EOF | 10166 EOF |
10082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10083 { (eval echo configure:10084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10085 if test -z "$ac_err"; then | 10170 if test -z "$ac_err"; then |
10086 rm -rf conftest* | 10171 rm -rf conftest* |
10087 eval "ac_cv_header_$ac_safe=yes" | 10172 eval "ac_cv_header_$ac_safe=yes" |
10088 else | 10173 else |
10098 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10183 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10099 else | 10184 else |
10100 echo "$ac_t""no" 1>&6 | 10185 echo "$ac_t""no" 1>&6 |
10101 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10186 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10102 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10187 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10103 echo "configure:10104: checking for X11/Xaw/XawInit.h" >&5 | 10188 echo "configure:10189: checking for X11/Xaw/XawInit.h" >&5 |
10104 | 10189 |
10105 cat > conftest.$ac_ext <<EOF | 10190 cat > conftest.$ac_ext <<EOF |
10106 #line 10107 "configure" | 10191 #line 10192 "configure" |
10107 #include "confdefs.h" | 10192 #include "confdefs.h" |
10108 #include <X11/Xaw/XawInit.h> | 10193 #include <X11/Xaw/XawInit.h> |
10109 EOF | 10194 EOF |
10110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10111 { (eval echo configure:10112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10196 { (eval echo configure:10197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10113 if test -z "$ac_err"; then | 10198 if test -z "$ac_err"; then |
10114 rm -rf conftest* | 10199 rm -rf conftest* |
10115 eval "ac_cv_header_$ac_safe=yes" | 10200 eval "ac_cv_header_$ac_safe=yes" |
10116 else | 10201 else |
10132 fi | 10217 fi |
10133 | 10218 |
10134 else | 10219 else |
10135 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10220 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10136 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10221 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10137 echo "configure:10138: checking for X11/$athena_variant/XawInit.h" >&5 | 10222 echo "configure:10223: checking for X11/$athena_variant/XawInit.h" >&5 |
10138 | 10223 |
10139 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
10140 #line 10141 "configure" | 10225 #line 10226 "configure" |
10141 #include "confdefs.h" | 10226 #include "confdefs.h" |
10142 #include <X11/$athena_variant/XawInit.h> | 10227 #include <X11/$athena_variant/XawInit.h> |
10143 EOF | 10228 EOF |
10144 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10145 { (eval echo configure:10146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10146 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10147 if test -z "$ac_err"; then | 10232 if test -z "$ac_err"; then |
10148 rm -rf conftest* | 10233 rm -rf conftest* |
10149 eval "ac_cv_header_$ac_safe=yes" | 10234 eval "ac_cv_header_$ac_safe=yes" |
10150 else | 10235 else |
10157 rm -f conftest* | 10242 rm -f conftest* |
10158 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10159 echo "$ac_t""yes" 1>&6 | 10244 echo "$ac_t""yes" 1>&6 |
10160 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10245 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10161 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10246 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10162 echo "configure:10163: checking for X11/$athena_variant/ThreeD.h" >&5 | 10247 echo "configure:10248: checking for X11/$athena_variant/ThreeD.h" >&5 |
10163 | 10248 |
10164 cat > conftest.$ac_ext <<EOF | 10249 cat > conftest.$ac_ext <<EOF |
10165 #line 10166 "configure" | 10250 #line 10251 "configure" |
10166 #include "confdefs.h" | 10251 #include "confdefs.h" |
10167 #include <X11/$athena_variant/ThreeD.h> | 10252 #include <X11/$athena_variant/ThreeD.h> |
10168 EOF | 10253 EOF |
10169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10170 { (eval echo configure:10171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10172 if test -z "$ac_err"; then | 10257 if test -z "$ac_err"; then |
10173 rm -rf conftest* | 10258 rm -rf conftest* |
10174 eval "ac_cv_header_$ac_safe=yes" | 10259 eval "ac_cv_header_$ac_safe=yes" |
10175 else | 10260 else |
10193 | 10278 |
10194 | 10279 |
10195 if test -z "$athena_h_path"; then | 10280 if test -z "$athena_h_path"; then |
10196 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10281 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10197 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10282 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10198 echo "configure:10199: checking for $athena_variant/XawInit.h" >&5 | 10283 echo "configure:10284: checking for $athena_variant/XawInit.h" >&5 |
10199 | 10284 |
10200 cat > conftest.$ac_ext <<EOF | 10285 cat > conftest.$ac_ext <<EOF |
10201 #line 10202 "configure" | 10286 #line 10287 "configure" |
10202 #include "confdefs.h" | 10287 #include "confdefs.h" |
10203 #include <$athena_variant/XawInit.h> | 10288 #include <$athena_variant/XawInit.h> |
10204 EOF | 10289 EOF |
10205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10206 { (eval echo configure:10207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10208 if test -z "$ac_err"; then | 10293 if test -z "$ac_err"; then |
10209 rm -rf conftest* | 10294 rm -rf conftest* |
10210 eval "ac_cv_header_$ac_safe=yes" | 10295 eval "ac_cv_header_$ac_safe=yes" |
10211 else | 10296 else |
10218 rm -f conftest* | 10303 rm -f conftest* |
10219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10220 echo "$ac_t""yes" 1>&6 | 10305 echo "$ac_t""yes" 1>&6 |
10221 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10306 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10222 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10307 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10223 echo "configure:10224: checking for $athena_variant/ThreeD.h" >&5 | 10308 echo "configure:10309: checking for $athena_variant/ThreeD.h" >&5 |
10224 | 10309 |
10225 cat > conftest.$ac_ext <<EOF | 10310 cat > conftest.$ac_ext <<EOF |
10226 #line 10227 "configure" | 10311 #line 10312 "configure" |
10227 #include "confdefs.h" | 10312 #include "confdefs.h" |
10228 #include <$athena_variant/ThreeD.h> | 10313 #include <$athena_variant/ThreeD.h> |
10229 EOF | 10314 EOF |
10230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10231 { (eval echo configure:10232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10316 { (eval echo configure:10317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10233 if test -z "$ac_err"; then | 10318 if test -z "$ac_err"; then |
10234 rm -rf conftest* | 10319 rm -rf conftest* |
10235 eval "ac_cv_header_$ac_safe=yes" | 10320 eval "ac_cv_header_$ac_safe=yes" |
10236 else | 10321 else |
10255 fi | 10340 fi |
10256 | 10341 |
10257 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10342 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10258 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10343 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10259 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10260 echo "configure:10261: checking for X11/Xaw3d/XawInit.h" >&5 | 10345 echo "configure:10346: checking for X11/Xaw3d/XawInit.h" >&5 |
10261 | 10346 |
10262 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10263 #line 10264 "configure" | 10348 #line 10349 "configure" |
10264 #include "confdefs.h" | 10349 #include "confdefs.h" |
10265 #include <X11/Xaw3d/XawInit.h> | 10350 #include <X11/Xaw3d/XawInit.h> |
10266 EOF | 10351 EOF |
10267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10268 { (eval echo configure:10269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10270 if test -z "$ac_err"; then | 10355 if test -z "$ac_err"; then |
10271 rm -rf conftest* | 10356 rm -rf conftest* |
10272 eval "ac_cv_header_$ac_safe=yes" | 10357 eval "ac_cv_header_$ac_safe=yes" |
10273 else | 10358 else |
10280 rm -f conftest* | 10365 rm -f conftest* |
10281 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10282 echo "$ac_t""yes" 1>&6 | 10367 echo "$ac_t""yes" 1>&6 |
10283 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10368 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10284 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10369 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10285 echo "configure:10286: checking for X11/Xaw3d/ThreeD.h" >&5 | 10370 echo "configure:10371: checking for X11/Xaw3d/ThreeD.h" >&5 |
10286 | 10371 |
10287 cat > conftest.$ac_ext <<EOF | 10372 cat > conftest.$ac_ext <<EOF |
10288 #line 10289 "configure" | 10373 #line 10374 "configure" |
10289 #include "confdefs.h" | 10374 #include "confdefs.h" |
10290 #include <X11/Xaw3d/ThreeD.h> | 10375 #include <X11/Xaw3d/ThreeD.h> |
10291 EOF | 10376 EOF |
10292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10293 { (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10378 { (eval echo configure:10379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10295 if test -z "$ac_err"; then | 10380 if test -z "$ac_err"; then |
10296 rm -rf conftest* | 10381 rm -rf conftest* |
10297 eval "ac_cv_header_$ac_safe=yes" | 10382 eval "ac_cv_header_$ac_safe=yes" |
10298 else | 10383 else |
10320 fi | 10405 fi |
10321 | 10406 |
10322 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10407 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10323 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10408 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10324 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10409 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10325 echo "configure:10326: checking for Xaw3d/XawInit.h" >&5 | 10410 echo "configure:10411: checking for Xaw3d/XawInit.h" >&5 |
10326 | 10411 |
10327 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10328 #line 10329 "configure" | 10413 #line 10414 "configure" |
10329 #include "confdefs.h" | 10414 #include "confdefs.h" |
10330 #include <Xaw3d/XawInit.h> | 10415 #include <Xaw3d/XawInit.h> |
10331 EOF | 10416 EOF |
10332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10333 { (eval echo configure:10334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10335 if test -z "$ac_err"; then | 10420 if test -z "$ac_err"; then |
10336 rm -rf conftest* | 10421 rm -rf conftest* |
10337 eval "ac_cv_header_$ac_safe=yes" | 10422 eval "ac_cv_header_$ac_safe=yes" |
10338 else | 10423 else |
10345 rm -f conftest* | 10430 rm -f conftest* |
10346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10347 echo "$ac_t""yes" 1>&6 | 10432 echo "$ac_t""yes" 1>&6 |
10348 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10433 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10349 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10434 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10350 echo "configure:10351: checking for Xaw3d/ThreeD.h" >&5 | 10435 echo "configure:10436: checking for Xaw3d/ThreeD.h" >&5 |
10351 | 10436 |
10352 cat > conftest.$ac_ext <<EOF | 10437 cat > conftest.$ac_ext <<EOF |
10353 #line 10354 "configure" | 10438 #line 10439 "configure" |
10354 #include "confdefs.h" | 10439 #include "confdefs.h" |
10355 #include <Xaw3d/ThreeD.h> | 10440 #include <Xaw3d/ThreeD.h> |
10356 EOF | 10441 EOF |
10357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10358 { (eval echo configure:10359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10443 { (eval echo configure:10444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10360 if test -z "$ac_err"; then | 10445 if test -z "$ac_err"; then |
10361 rm -rf conftest* | 10446 rm -rf conftest* |
10362 eval "ac_cv_header_$ac_safe=yes" | 10447 eval "ac_cv_header_$ac_safe=yes" |
10363 else | 10448 else |
10385 fi | 10470 fi |
10386 | 10471 |
10387 if test -z "$athena_h_path"; then | 10472 if test -z "$athena_h_path"; then |
10388 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10473 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10389 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10474 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10390 echo "configure:10391: checking for X11/Xaw/ThreeD.h" >&5 | 10475 echo "configure:10476: checking for X11/Xaw/ThreeD.h" >&5 |
10391 | 10476 |
10392 cat > conftest.$ac_ext <<EOF | 10477 cat > conftest.$ac_ext <<EOF |
10393 #line 10394 "configure" | 10478 #line 10479 "configure" |
10394 #include "confdefs.h" | 10479 #include "confdefs.h" |
10395 #include <X11/Xaw/ThreeD.h> | 10480 #include <X11/Xaw/ThreeD.h> |
10396 EOF | 10481 EOF |
10397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10398 { (eval echo configure:10399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10483 { (eval echo configure:10484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10400 if test -z "$ac_err"; then | 10485 if test -z "$ac_err"; then |
10401 rm -rf conftest* | 10486 rm -rf conftest* |
10402 eval "ac_cv_header_$ac_safe=yes" | 10487 eval "ac_cv_header_$ac_safe=yes" |
10403 else | 10488 else |
10432 have_xaw=no | 10517 have_xaw=no |
10433 fi | 10518 fi |
10434 if test "$with_x11" = "yes"; then | 10519 if test "$with_x11" = "yes"; then |
10435 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10520 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10436 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10521 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10437 echo "configure:10438: checking for Xm/Xm.h" >&5 | 10522 echo "configure:10523: checking for Xm/Xm.h" >&5 |
10438 | 10523 |
10439 cat > conftest.$ac_ext <<EOF | 10524 cat > conftest.$ac_ext <<EOF |
10440 #line 10441 "configure" | 10525 #line 10526 "configure" |
10441 #include "confdefs.h" | 10526 #include "confdefs.h" |
10442 #include <Xm/Xm.h> | 10527 #include <Xm/Xm.h> |
10443 EOF | 10528 EOF |
10444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10445 { (eval echo configure:10446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10530 { (eval echo configure:10531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10447 if test -z "$ac_err"; then | 10532 if test -z "$ac_err"; then |
10448 rm -rf conftest* | 10533 rm -rf conftest* |
10449 eval "ac_cv_header_$ac_safe=yes" | 10534 eval "ac_cv_header_$ac_safe=yes" |
10450 else | 10535 else |
10457 rm -f conftest* | 10542 rm -f conftest* |
10458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10459 echo "$ac_t""yes" 1>&6 | 10544 echo "$ac_t""yes" 1>&6 |
10460 | 10545 |
10461 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10546 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10462 echo "configure:10463: checking for XmStringFree in -lXm" >&5 | 10547 echo "configure:10548: checking for XmStringFree in -lXm" >&5 |
10463 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10548 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10464 | 10549 |
10465 xe_check_libs=" -lXm " | 10550 xe_check_libs=" -lXm " |
10466 cat > conftest.$ac_ext <<EOF | 10551 cat > conftest.$ac_ext <<EOF |
10467 #line 10468 "configure" | 10552 #line 10553 "configure" |
10468 #include "confdefs.h" | 10553 #include "confdefs.h" |
10469 /* Override any gcc2 internal prototype to avoid an error. */ | 10554 /* Override any gcc2 internal prototype to avoid an error. */ |
10470 /* We use char because int might match the return type of a gcc2 | 10555 /* We use char because int might match the return type of a gcc2 |
10471 builtin and then its argument prototype would still apply. */ | 10556 builtin and then its argument prototype would still apply. */ |
10472 char XmStringFree(); | 10557 char XmStringFree(); |
10473 | 10558 |
10474 int main() { | 10559 int main() { |
10475 XmStringFree() | 10560 XmStringFree() |
10476 ; return 0; } | 10561 ; return 0; } |
10477 EOF | 10562 EOF |
10478 if { (eval echo configure:10479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10563 if { (eval echo configure:10564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10479 rm -rf conftest* | 10564 rm -rf conftest* |
10480 eval "ac_cv_lib_$ac_lib_var=yes" | 10565 eval "ac_cv_lib_$ac_lib_var=yes" |
10481 else | 10566 else |
10482 echo "configure: failed program was:" >&5 | 10567 echo "configure: failed program was:" >&5 |
10483 cat conftest.$ac_ext >&5 | 10568 cat conftest.$ac_ext >&5 |
10502 fi | 10587 fi |
10503 | 10588 |
10504 | 10589 |
10505 if test "$have_motif" = "yes"; then | 10590 if test "$have_motif" = "yes"; then |
10506 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10591 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10507 echo "configure:10508: checking for Lesstif" >&5 | 10592 echo "configure:10593: checking for Lesstif" >&5 |
10508 cat > conftest.$ac_ext <<EOF | 10593 cat > conftest.$ac_ext <<EOF |
10509 #line 10510 "configure" | 10594 #line 10595 "configure" |
10510 #include "confdefs.h" | 10595 #include "confdefs.h" |
10511 #include <Xm/Xm.h> | 10596 #include <Xm/Xm.h> |
10512 #ifdef LESSTIF_VERSION | 10597 #ifdef LESSTIF_VERSION |
10513 yes | 10598 yes |
10514 #endif | 10599 #endif |
10877 | 10962 |
10878 fi | 10963 fi |
10879 | 10964 |
10880 if test "$with_mule" = "yes" ; then | 10965 if test "$with_mule" = "yes" ; then |
10881 echo "checking for Mule-related features" 1>&6 | 10966 echo "checking for Mule-related features" 1>&6 |
10882 echo "configure:10883: checking for Mule-related features" >&5 | 10967 echo "configure:10968: checking for Mule-related features" >&5 |
10883 { test "$extra_verbose" = "yes" && cat << \EOF | 10968 { test "$extra_verbose" = "yes" && cat << \EOF |
10884 Defining MULE | 10969 Defining MULE |
10885 EOF | 10970 EOF |
10886 cat >> confdefs.h <<\EOF | 10971 cat >> confdefs.h <<\EOF |
10887 #define MULE 1 | 10972 #define MULE 1 |
10891 | 10976 |
10892 for ac_hdr in libintl.h | 10977 for ac_hdr in libintl.h |
10893 do | 10978 do |
10894 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10979 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10895 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10980 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10896 echo "configure:10897: checking for $ac_hdr" >&5 | 10981 echo "configure:10982: checking for $ac_hdr" >&5 |
10897 | 10982 |
10898 cat > conftest.$ac_ext <<EOF | 10983 cat > conftest.$ac_ext <<EOF |
10899 #line 10900 "configure" | 10984 #line 10985 "configure" |
10900 #include "confdefs.h" | 10985 #include "confdefs.h" |
10901 #include <$ac_hdr> | 10986 #include <$ac_hdr> |
10902 EOF | 10987 EOF |
10903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10904 { (eval echo configure:10905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10989 { (eval echo configure:10990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10906 if test -z "$ac_err"; then | 10991 if test -z "$ac_err"; then |
10907 rm -rf conftest* | 10992 rm -rf conftest* |
10908 eval "ac_cv_header_$ac_safe=yes" | 10993 eval "ac_cv_header_$ac_safe=yes" |
10909 else | 10994 else |
10930 fi | 11015 fi |
10931 done | 11016 done |
10932 | 11017 |
10933 | 11018 |
10934 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11019 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10935 echo "configure:10936: checking for strerror in -lintl" >&5 | 11020 echo "configure:11021: checking for strerror in -lintl" >&5 |
10936 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11021 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10937 | 11022 |
10938 xe_check_libs=" -lintl " | 11023 xe_check_libs=" -lintl " |
10939 cat > conftest.$ac_ext <<EOF | 11024 cat > conftest.$ac_ext <<EOF |
10940 #line 10941 "configure" | 11025 #line 11026 "configure" |
10941 #include "confdefs.h" | 11026 #include "confdefs.h" |
10942 /* Override any gcc2 internal prototype to avoid an error. */ | 11027 /* Override any gcc2 internal prototype to avoid an error. */ |
10943 /* We use char because int might match the return type of a gcc2 | 11028 /* We use char because int might match the return type of a gcc2 |
10944 builtin and then its argument prototype would still apply. */ | 11029 builtin and then its argument prototype would still apply. */ |
10945 char strerror(); | 11030 char strerror(); |
10946 | 11031 |
10947 int main() { | 11032 int main() { |
10948 strerror() | 11033 strerror() |
10949 ; return 0; } | 11034 ; return 0; } |
10950 EOF | 11035 EOF |
10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11036 if { (eval echo configure:11037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10952 rm -rf conftest* | 11037 rm -rf conftest* |
10953 eval "ac_cv_lib_$ac_lib_var=yes" | 11038 eval "ac_cv_lib_$ac_lib_var=yes" |
10954 else | 11039 else |
10955 echo "configure: failed program was:" >&5 | 11040 echo "configure: failed program was:" >&5 |
10956 cat conftest.$ac_ext >&5 | 11041 cat conftest.$ac_ext >&5 |
10979 fi | 11064 fi |
10980 | 11065 |
10981 | 11066 |
10982 | 11067 |
10983 echo "checking for Mule input methods" 1>&6 | 11068 echo "checking for Mule input methods" 1>&6 |
10984 echo "configure:10985: checking for Mule input methods" >&5 | 11069 echo "configure:11070: checking for Mule input methods" >&5 |
10985 case "$with_xim" in "" | "yes" ) | 11070 case "$with_xim" in "" | "yes" ) |
10986 echo "checking for XIM" 1>&6 | 11071 echo "checking for XIM" 1>&6 |
10987 echo "configure:10988: checking for XIM" >&5 | 11072 echo "configure:11073: checking for XIM" >&5 |
10988 | 11073 |
10989 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11074 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10990 echo "configure:10991: checking for XOpenIM in -lX11" >&5 | 11075 echo "configure:11076: checking for XOpenIM in -lX11" >&5 |
10991 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11076 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10992 | 11077 |
10993 xe_check_libs=" -lX11 " | 11078 xe_check_libs=" -lX11 " |
10994 cat > conftest.$ac_ext <<EOF | 11079 cat > conftest.$ac_ext <<EOF |
10995 #line 10996 "configure" | 11080 #line 11081 "configure" |
10996 #include "confdefs.h" | 11081 #include "confdefs.h" |
10997 /* Override any gcc2 internal prototype to avoid an error. */ | 11082 /* Override any gcc2 internal prototype to avoid an error. */ |
10998 /* We use char because int might match the return type of a gcc2 | 11083 /* We use char because int might match the return type of a gcc2 |
10999 builtin and then its argument prototype would still apply. */ | 11084 builtin and then its argument prototype would still apply. */ |
11000 char XOpenIM(); | 11085 char XOpenIM(); |
11001 | 11086 |
11002 int main() { | 11087 int main() { |
11003 XOpenIM() | 11088 XOpenIM() |
11004 ; return 0; } | 11089 ; return 0; } |
11005 EOF | 11090 EOF |
11006 if { (eval echo configure:11007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11091 if { (eval echo configure:11092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11007 rm -rf conftest* | 11092 rm -rf conftest* |
11008 eval "ac_cv_lib_$ac_lib_var=yes" | 11093 eval "ac_cv_lib_$ac_lib_var=yes" |
11009 else | 11094 else |
11010 echo "configure: failed program was:" >&5 | 11095 echo "configure: failed program was:" >&5 |
11011 cat conftest.$ac_ext >&5 | 11096 cat conftest.$ac_ext >&5 |
11025 | 11110 |
11026 | 11111 |
11027 if test "$have_motif $have_lesstif" = "yes no"; then | 11112 if test "$have_motif $have_lesstif" = "yes no"; then |
11028 | 11113 |
11029 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11114 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11030 echo "configure:11031: checking for XmImMbLookupString in -lXm" >&5 | 11115 echo "configure:11116: checking for XmImMbLookupString in -lXm" >&5 |
11031 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11116 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11032 | 11117 |
11033 xe_check_libs=" -lXm " | 11118 xe_check_libs=" -lXm " |
11034 cat > conftest.$ac_ext <<EOF | 11119 cat > conftest.$ac_ext <<EOF |
11035 #line 11036 "configure" | 11120 #line 11121 "configure" |
11036 #include "confdefs.h" | 11121 #include "confdefs.h" |
11037 /* Override any gcc2 internal prototype to avoid an error. */ | 11122 /* Override any gcc2 internal prototype to avoid an error. */ |
11038 /* We use char because int might match the return type of a gcc2 | 11123 /* We use char because int might match the return type of a gcc2 |
11039 builtin and then its argument prototype would still apply. */ | 11124 builtin and then its argument prototype would still apply. */ |
11040 char XmImMbLookupString(); | 11125 char XmImMbLookupString(); |
11041 | 11126 |
11042 int main() { | 11127 int main() { |
11043 XmImMbLookupString() | 11128 XmImMbLookupString() |
11044 ; return 0; } | 11129 ; return 0; } |
11045 EOF | 11130 EOF |
11046 if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11047 rm -rf conftest* | 11132 rm -rf conftest* |
11048 eval "ac_cv_lib_$ac_lib_var=yes" | 11133 eval "ac_cv_lib_$ac_lib_var=yes" |
11049 else | 11134 else |
11050 echo "configure: failed program was:" >&5 | 11135 echo "configure: failed program was:" >&5 |
11051 cat conftest.$ac_ext >&5 | 11136 cat conftest.$ac_ext >&5 |
11106 fi | 11191 fi |
11107 fi | 11192 fi |
11108 | 11193 |
11109 if test "$with_xfs" = "yes" ; then | 11194 if test "$with_xfs" = "yes" ; then |
11110 echo "checking for XFontSet" 1>&6 | 11195 echo "checking for XFontSet" 1>&6 |
11111 echo "configure:11112: checking for XFontSet" >&5 | 11196 echo "configure:11197: checking for XFontSet" >&5 |
11112 | 11197 |
11113 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11198 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11114 echo "configure:11115: checking for XmbDrawString in -lX11" >&5 | 11199 echo "configure:11200: checking for XmbDrawString in -lX11" >&5 |
11115 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11200 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11116 | 11201 |
11117 xe_check_libs=" -lX11 " | 11202 xe_check_libs=" -lX11 " |
11118 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
11119 #line 11120 "configure" | 11204 #line 11205 "configure" |
11120 #include "confdefs.h" | 11205 #include "confdefs.h" |
11121 /* Override any gcc2 internal prototype to avoid an error. */ | 11206 /* Override any gcc2 internal prototype to avoid an error. */ |
11122 /* We use char because int might match the return type of a gcc2 | 11207 /* We use char because int might match the return type of a gcc2 |
11123 builtin and then its argument prototype would still apply. */ | 11208 builtin and then its argument prototype would still apply. */ |
11124 char XmbDrawString(); | 11209 char XmbDrawString(); |
11125 | 11210 |
11126 int main() { | 11211 int main() { |
11127 XmbDrawString() | 11212 XmbDrawString() |
11128 ; return 0; } | 11213 ; return 0; } |
11129 EOF | 11214 EOF |
11130 if { (eval echo configure:11131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11215 if { (eval echo configure:11216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11131 rm -rf conftest* | 11216 rm -rf conftest* |
11132 eval "ac_cv_lib_$ac_lib_var=yes" | 11217 eval "ac_cv_lib_$ac_lib_var=yes" |
11133 else | 11218 else |
11134 echo "configure: failed program was:" >&5 | 11219 echo "configure: failed program was:" >&5 |
11135 cat conftest.$ac_ext >&5 | 11220 cat conftest.$ac_ext >&5 |
11165 fi | 11250 fi |
11166 fi | 11251 fi |
11167 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11252 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11168 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11253 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11169 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11254 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11170 echo "configure:11171: checking for wnn/jllib.h" >&5 | 11255 echo "configure:11256: checking for wnn/jllib.h" >&5 |
11171 | 11256 |
11172 cat > conftest.$ac_ext <<EOF | 11257 cat > conftest.$ac_ext <<EOF |
11173 #line 11174 "configure" | 11258 #line 11259 "configure" |
11174 #include "confdefs.h" | 11259 #include "confdefs.h" |
11175 #include <wnn/jllib.h> | 11260 #include <wnn/jllib.h> |
11176 EOF | 11261 EOF |
11177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11178 { (eval echo configure:11179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11263 { (eval echo configure:11264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11180 if test -z "$ac_err"; then | 11265 if test -z "$ac_err"; then |
11181 rm -rf conftest* | 11266 rm -rf conftest* |
11182 eval "ac_cv_header_$ac_safe=yes" | 11267 eval "ac_cv_header_$ac_safe=yes" |
11183 else | 11268 else |
11196 with_wnn=no | 11281 with_wnn=no |
11197 fi | 11282 fi |
11198 } | 11283 } |
11199 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11284 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11200 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11285 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11201 echo "configure:11202: checking for wnn/commonhd.h" >&5 | 11286 echo "configure:11287: checking for wnn/commonhd.h" >&5 |
11202 | 11287 |
11203 cat > conftest.$ac_ext <<EOF | 11288 cat > conftest.$ac_ext <<EOF |
11204 #line 11205 "configure" | 11289 #line 11290 "configure" |
11205 #include "confdefs.h" | 11290 #include "confdefs.h" |
11206 #include <wnn/commonhd.h> | 11291 #include <wnn/commonhd.h> |
11207 EOF | 11292 EOF |
11208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11209 { (eval echo configure:11210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11294 { (eval echo configure:11295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11211 if test -z "$ac_err"; then | 11296 if test -z "$ac_err"; then |
11212 rm -rf conftest* | 11297 rm -rf conftest* |
11213 eval "ac_cv_header_$ac_safe=yes" | 11298 eval "ac_cv_header_$ac_safe=yes" |
11214 else | 11299 else |
11229 } | 11314 } |
11230 if test "$with_wnn" != "no"; then | 11315 if test "$with_wnn" != "no"; then |
11231 for ac_func in crypt | 11316 for ac_func in crypt |
11232 do | 11317 do |
11233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11234 echo "configure:11235: checking for $ac_func" >&5 | 11319 echo "configure:11320: checking for $ac_func" >&5 |
11235 | 11320 |
11236 cat > conftest.$ac_ext <<EOF | 11321 cat > conftest.$ac_ext <<EOF |
11237 #line 11238 "configure" | 11322 #line 11323 "configure" |
11238 #include "confdefs.h" | 11323 #include "confdefs.h" |
11239 /* System header to define __stub macros and hopefully few prototypes, | 11324 /* System header to define __stub macros and hopefully few prototypes, |
11240 which can conflict with char $ac_func(); below. */ | 11325 which can conflict with char $ac_func(); below. */ |
11241 #include <assert.h> | 11326 #include <assert.h> |
11242 /* Override any gcc2 internal prototype to avoid an error. */ | 11327 /* Override any gcc2 internal prototype to avoid an error. */ |
11255 $ac_func(); | 11340 $ac_func(); |
11256 #endif | 11341 #endif |
11257 | 11342 |
11258 ; return 0; } | 11343 ; return 0; } |
11259 EOF | 11344 EOF |
11260 if { (eval echo configure:11261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11345 if { (eval echo configure:11346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11261 rm -rf conftest* | 11346 rm -rf conftest* |
11262 eval "ac_cv_func_$ac_func=yes" | 11347 eval "ac_cv_func_$ac_func=yes" |
11263 else | 11348 else |
11264 echo "configure: failed program was:" >&5 | 11349 echo "configure: failed program was:" >&5 |
11265 cat conftest.$ac_ext >&5 | 11350 cat conftest.$ac_ext >&5 |
11284 fi | 11369 fi |
11285 done | 11370 done |
11286 | 11371 |
11287 test "$ac_cv_func_crypt" != "yes" && { | 11372 test "$ac_cv_func_crypt" != "yes" && { |
11288 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11373 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11289 echo "configure:11290: checking for crypt in -lcrypt" >&5 | 11374 echo "configure:11375: checking for crypt in -lcrypt" >&5 |
11290 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11375 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11291 | 11376 |
11292 xe_check_libs=" -lcrypt " | 11377 xe_check_libs=" -lcrypt " |
11293 cat > conftest.$ac_ext <<EOF | 11378 cat > conftest.$ac_ext <<EOF |
11294 #line 11295 "configure" | 11379 #line 11380 "configure" |
11295 #include "confdefs.h" | 11380 #include "confdefs.h" |
11296 /* Override any gcc2 internal prototype to avoid an error. */ | 11381 /* Override any gcc2 internal prototype to avoid an error. */ |
11297 /* We use char because int might match the return type of a gcc2 | 11382 /* We use char because int might match the return type of a gcc2 |
11298 builtin and then its argument prototype would still apply. */ | 11383 builtin and then its argument prototype would still apply. */ |
11299 char crypt(); | 11384 char crypt(); |
11300 | 11385 |
11301 int main() { | 11386 int main() { |
11302 crypt() | 11387 crypt() |
11303 ; return 0; } | 11388 ; return 0; } |
11304 EOF | 11389 EOF |
11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11306 rm -rf conftest* | 11391 rm -rf conftest* |
11307 eval "ac_cv_lib_$ac_lib_var=yes" | 11392 eval "ac_cv_lib_$ac_lib_var=yes" |
11308 else | 11393 else |
11309 echo "configure: failed program was:" >&5 | 11394 echo "configure: failed program was:" >&5 |
11310 cat conftest.$ac_ext >&5 | 11395 cat conftest.$ac_ext >&5 |
11335 } | 11420 } |
11336 fi | 11421 fi |
11337 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11422 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11338 | 11423 |
11339 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11424 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11340 echo "configure:11341: checking for jl_dic_list_e in -lwnn" >&5 | 11425 echo "configure:11426: checking for jl_dic_list_e in -lwnn" >&5 |
11341 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11426 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11342 | 11427 |
11343 xe_check_libs=" -lwnn " | 11428 xe_check_libs=" -lwnn " |
11344 cat > conftest.$ac_ext <<EOF | 11429 cat > conftest.$ac_ext <<EOF |
11345 #line 11346 "configure" | 11430 #line 11431 "configure" |
11346 #include "confdefs.h" | 11431 #include "confdefs.h" |
11347 /* Override any gcc2 internal prototype to avoid an error. */ | 11432 /* Override any gcc2 internal prototype to avoid an error. */ |
11348 /* We use char because int might match the return type of a gcc2 | 11433 /* We use char because int might match the return type of a gcc2 |
11349 builtin and then its argument prototype would still apply. */ | 11434 builtin and then its argument prototype would still apply. */ |
11350 char jl_dic_list_e(); | 11435 char jl_dic_list_e(); |
11351 | 11436 |
11352 int main() { | 11437 int main() { |
11353 jl_dic_list_e() | 11438 jl_dic_list_e() |
11354 ; return 0; } | 11439 ; return 0; } |
11355 EOF | 11440 EOF |
11356 if { (eval echo configure:11357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11441 if { (eval echo configure:11442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11357 rm -rf conftest* | 11442 rm -rf conftest* |
11358 eval "ac_cv_lib_$ac_lib_var=yes" | 11443 eval "ac_cv_lib_$ac_lib_var=yes" |
11359 else | 11444 else |
11360 echo "configure: failed program was:" >&5 | 11445 echo "configure: failed program was:" >&5 |
11361 cat conftest.$ac_ext >&5 | 11446 cat conftest.$ac_ext >&5 |
11369 echo "$ac_t""yes" 1>&6 | 11454 echo "$ac_t""yes" 1>&6 |
11370 libwnn=wnn | 11455 libwnn=wnn |
11371 else | 11456 else |
11372 echo "$ac_t""no" 1>&6 | 11457 echo "$ac_t""no" 1>&6 |
11373 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11458 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11374 echo "configure:11375: checking for jl_dic_list_e in -lwnn4" >&5 | 11459 echo "configure:11460: checking for jl_dic_list_e in -lwnn4" >&5 |
11375 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11460 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11376 | 11461 |
11377 xe_check_libs=" -lwnn4 " | 11462 xe_check_libs=" -lwnn4 " |
11378 cat > conftest.$ac_ext <<EOF | 11463 cat > conftest.$ac_ext <<EOF |
11379 #line 11380 "configure" | 11464 #line 11465 "configure" |
11380 #include "confdefs.h" | 11465 #include "confdefs.h" |
11381 /* Override any gcc2 internal prototype to avoid an error. */ | 11466 /* Override any gcc2 internal prototype to avoid an error. */ |
11382 /* We use char because int might match the return type of a gcc2 | 11467 /* We use char because int might match the return type of a gcc2 |
11383 builtin and then its argument prototype would still apply. */ | 11468 builtin and then its argument prototype would still apply. */ |
11384 char jl_dic_list_e(); | 11469 char jl_dic_list_e(); |
11385 | 11470 |
11386 int main() { | 11471 int main() { |
11387 jl_dic_list_e() | 11472 jl_dic_list_e() |
11388 ; return 0; } | 11473 ; return 0; } |
11389 EOF | 11474 EOF |
11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11391 rm -rf conftest* | 11476 rm -rf conftest* |
11392 eval "ac_cv_lib_$ac_lib_var=yes" | 11477 eval "ac_cv_lib_$ac_lib_var=yes" |
11393 else | 11478 else |
11394 echo "configure: failed program was:" >&5 | 11479 echo "configure: failed program was:" >&5 |
11395 cat conftest.$ac_ext >&5 | 11480 cat conftest.$ac_ext >&5 |
11403 echo "$ac_t""yes" 1>&6 | 11488 echo "$ac_t""yes" 1>&6 |
11404 libwnn=wnn4 | 11489 libwnn=wnn4 |
11405 else | 11490 else |
11406 echo "$ac_t""no" 1>&6 | 11491 echo "$ac_t""no" 1>&6 |
11407 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11492 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11408 echo "configure:11409: checking for jl_dic_list_e in -lwnn6" >&5 | 11493 echo "configure:11494: checking for jl_dic_list_e in -lwnn6" >&5 |
11409 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11494 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11410 | 11495 |
11411 xe_check_libs=" -lwnn6 " | 11496 xe_check_libs=" -lwnn6 " |
11412 cat > conftest.$ac_ext <<EOF | 11497 cat > conftest.$ac_ext <<EOF |
11413 #line 11414 "configure" | 11498 #line 11499 "configure" |
11414 #include "confdefs.h" | 11499 #include "confdefs.h" |
11415 /* Override any gcc2 internal prototype to avoid an error. */ | 11500 /* Override any gcc2 internal prototype to avoid an error. */ |
11416 /* We use char because int might match the return type of a gcc2 | 11501 /* We use char because int might match the return type of a gcc2 |
11417 builtin and then its argument prototype would still apply. */ | 11502 builtin and then its argument prototype would still apply. */ |
11418 char jl_dic_list_e(); | 11503 char jl_dic_list_e(); |
11419 | 11504 |
11420 int main() { | 11505 int main() { |
11421 jl_dic_list_e() | 11506 jl_dic_list_e() |
11422 ; return 0; } | 11507 ; return 0; } |
11423 EOF | 11508 EOF |
11424 if { (eval echo configure:11425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11425 rm -rf conftest* | 11510 rm -rf conftest* |
11426 eval "ac_cv_lib_$ac_lib_var=yes" | 11511 eval "ac_cv_lib_$ac_lib_var=yes" |
11427 else | 11512 else |
11428 echo "configure: failed program was:" >&5 | 11513 echo "configure: failed program was:" >&5 |
11429 cat conftest.$ac_ext >&5 | 11514 cat conftest.$ac_ext >&5 |
11437 echo "$ac_t""yes" 1>&6 | 11522 echo "$ac_t""yes" 1>&6 |
11438 libwnn=wnn6 | 11523 libwnn=wnn6 |
11439 else | 11524 else |
11440 echo "$ac_t""no" 1>&6 | 11525 echo "$ac_t""no" 1>&6 |
11441 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11526 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11442 echo "configure:11443: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11527 echo "configure:11528: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11443 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11528 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11444 | 11529 |
11445 xe_check_libs=" -lwnn6_fromsrc " | 11530 xe_check_libs=" -lwnn6_fromsrc " |
11446 cat > conftest.$ac_ext <<EOF | 11531 cat > conftest.$ac_ext <<EOF |
11447 #line 11448 "configure" | 11532 #line 11533 "configure" |
11448 #include "confdefs.h" | 11533 #include "confdefs.h" |
11449 /* Override any gcc2 internal prototype to avoid an error. */ | 11534 /* Override any gcc2 internal prototype to avoid an error. */ |
11450 /* We use char because int might match the return type of a gcc2 | 11535 /* We use char because int might match the return type of a gcc2 |
11451 builtin and then its argument prototype would still apply. */ | 11536 builtin and then its argument prototype would still apply. */ |
11452 char dic_list_e(); | 11537 char dic_list_e(); |
11453 | 11538 |
11454 int main() { | 11539 int main() { |
11455 dic_list_e() | 11540 dic_list_e() |
11456 ; return 0; } | 11541 ; return 0; } |
11457 EOF | 11542 EOF |
11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11543 if { (eval echo configure:11544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11459 rm -rf conftest* | 11544 rm -rf conftest* |
11460 eval "ac_cv_lib_$ac_lib_var=yes" | 11545 eval "ac_cv_lib_$ac_lib_var=yes" |
11461 else | 11546 else |
11462 echo "configure: failed program was:" >&5 | 11547 echo "configure: failed program was:" >&5 |
11463 cat conftest.$ac_ext >&5 | 11548 cat conftest.$ac_ext >&5 |
11498 | 11583 |
11499 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11584 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11500 if test "$with_wnn6" != "no"; then | 11585 if test "$with_wnn6" != "no"; then |
11501 | 11586 |
11502 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11587 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11503 echo "configure:11504: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11588 echo "configure:11589: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11504 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11589 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11505 | 11590 |
11506 xe_check_libs=" -l$libwnn " | 11591 xe_check_libs=" -l$libwnn " |
11507 cat > conftest.$ac_ext <<EOF | 11592 cat > conftest.$ac_ext <<EOF |
11508 #line 11509 "configure" | 11593 #line 11594 "configure" |
11509 #include "confdefs.h" | 11594 #include "confdefs.h" |
11510 /* Override any gcc2 internal prototype to avoid an error. */ | 11595 /* Override any gcc2 internal prototype to avoid an error. */ |
11511 /* We use char because int might match the return type of a gcc2 | 11596 /* We use char because int might match the return type of a gcc2 |
11512 builtin and then its argument prototype would still apply. */ | 11597 builtin and then its argument prototype would still apply. */ |
11513 char jl_fi_dic_list(); | 11598 char jl_fi_dic_list(); |
11514 | 11599 |
11515 int main() { | 11600 int main() { |
11516 jl_fi_dic_list() | 11601 jl_fi_dic_list() |
11517 ; return 0; } | 11602 ; return 0; } |
11518 EOF | 11603 EOF |
11519 if { (eval echo configure:11520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11520 rm -rf conftest* | 11605 rm -rf conftest* |
11521 eval "ac_cv_lib_$ac_lib_var=yes" | 11606 eval "ac_cv_lib_$ac_lib_var=yes" |
11522 else | 11607 else |
11523 echo "configure: failed program was:" >&5 | 11608 echo "configure: failed program was:" >&5 |
11524 cat conftest.$ac_ext >&5 | 11609 cat conftest.$ac_ext >&5 |
11549 | 11634 |
11550 canna_includes_found=no | 11635 canna_includes_found=no |
11551 if test "$with_canna" != "no"; then | 11636 if test "$with_canna" != "no"; then |
11552 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11637 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11553 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11638 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11554 echo "configure:11555: checking for canna/jrkanji.h" >&5 | 11639 echo "configure:11640: checking for canna/jrkanji.h" >&5 |
11555 | 11640 |
11556 cat > conftest.$ac_ext <<EOF | 11641 cat > conftest.$ac_ext <<EOF |
11557 #line 11558 "configure" | 11642 #line 11643 "configure" |
11558 #include "confdefs.h" | 11643 #include "confdefs.h" |
11559 #include <canna/jrkanji.h> | 11644 #include <canna/jrkanji.h> |
11560 EOF | 11645 EOF |
11561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11562 { (eval echo configure:11563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11647 { (eval echo configure:11648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11564 if test -z "$ac_err"; then | 11649 if test -z "$ac_err"; then |
11565 rm -rf conftest* | 11650 rm -rf conftest* |
11566 eval "ac_cv_header_$ac_safe=yes" | 11651 eval "ac_cv_header_$ac_safe=yes" |
11567 else | 11652 else |
11584 -d "/usr/local/canna/include"; then | 11669 -d "/usr/local/canna/include"; then |
11585 save_c_switch_site="$c_switch_site" | 11670 save_c_switch_site="$c_switch_site" |
11586 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11671 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11587 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11672 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11588 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11673 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11589 echo "configure:11590: checking for canna/jrkanji.h" >&5 | 11674 echo "configure:11675: checking for canna/jrkanji.h" >&5 |
11590 | 11675 |
11591 cat > conftest.$ac_ext <<EOF | 11676 cat > conftest.$ac_ext <<EOF |
11592 #line 11593 "configure" | 11677 #line 11678 "configure" |
11593 #include "confdefs.h" | 11678 #include "confdefs.h" |
11594 #include <canna/jrkanji.h> | 11679 #include <canna/jrkanji.h> |
11595 EOF | 11680 EOF |
11596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11597 { (eval echo configure:11598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11682 { (eval echo configure:11683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11599 if test -z "$ac_err"; then | 11684 if test -z "$ac_err"; then |
11600 rm -rf conftest* | 11685 rm -rf conftest* |
11601 eval "ac_cv_header_$ac_safe=yes" | 11686 eval "ac_cv_header_$ac_safe=yes" |
11602 else | 11687 else |
11620 fi | 11705 fi |
11621 fi | 11706 fi |
11622 | 11707 |
11623 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11708 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11624 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11709 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11625 echo "configure:11626: checking for canna/RK.h" >&5 | 11710 echo "configure:11711: checking for canna/RK.h" >&5 |
11626 | 11711 |
11627 cat > conftest.$ac_ext <<EOF | 11712 cat > conftest.$ac_ext <<EOF |
11628 #line 11629 "configure" | 11713 #line 11714 "configure" |
11629 #include "confdefs.h" | 11714 #include "confdefs.h" |
11630 #include <canna/RK.h> | 11715 #include <canna/RK.h> |
11631 EOF | 11716 EOF |
11632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11633 { (eval echo configure:11634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11718 { (eval echo configure:11719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11635 if test -z "$ac_err"; then | 11720 if test -z "$ac_err"; then |
11636 rm -rf conftest* | 11721 rm -rf conftest* |
11637 eval "ac_cv_header_$ac_safe=yes" | 11722 eval "ac_cv_header_$ac_safe=yes" |
11638 else | 11723 else |
11651 with_canna=no | 11736 with_canna=no |
11652 fi | 11737 fi |
11653 } | 11738 } |
11654 test -z "$with_canna" && { | 11739 test -z "$with_canna" && { |
11655 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11740 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11656 echo "configure:11657: checking for RkBgnBun in -lRKC" >&5 | 11741 echo "configure:11742: checking for RkBgnBun in -lRKC" >&5 |
11657 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11742 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11658 | 11743 |
11659 xe_check_libs=" -lRKC " | 11744 xe_check_libs=" -lRKC " |
11660 cat > conftest.$ac_ext <<EOF | 11745 cat > conftest.$ac_ext <<EOF |
11661 #line 11662 "configure" | 11746 #line 11747 "configure" |
11662 #include "confdefs.h" | 11747 #include "confdefs.h" |
11663 /* Override any gcc2 internal prototype to avoid an error. */ | 11748 /* Override any gcc2 internal prototype to avoid an error. */ |
11664 /* We use char because int might match the return type of a gcc2 | 11749 /* We use char because int might match the return type of a gcc2 |
11665 builtin and then its argument prototype would still apply. */ | 11750 builtin and then its argument prototype would still apply. */ |
11666 char RkBgnBun(); | 11751 char RkBgnBun(); |
11667 | 11752 |
11668 int main() { | 11753 int main() { |
11669 RkBgnBun() | 11754 RkBgnBun() |
11670 ; return 0; } | 11755 ; return 0; } |
11671 EOF | 11756 EOF |
11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11757 if { (eval echo configure:11758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11673 rm -rf conftest* | 11758 rm -rf conftest* |
11674 eval "ac_cv_lib_$ac_lib_var=yes" | 11759 eval "ac_cv_lib_$ac_lib_var=yes" |
11675 else | 11760 else |
11676 echo "configure: failed program was:" >&5 | 11761 echo "configure: failed program was:" >&5 |
11677 cat conftest.$ac_ext >&5 | 11762 cat conftest.$ac_ext >&5 |
11690 fi | 11775 fi |
11691 | 11776 |
11692 } | 11777 } |
11693 test -z "$with_canna" && { | 11778 test -z "$with_canna" && { |
11694 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11779 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11695 echo "configure:11696: checking for jrKanjiControl in -lcanna" >&5 | 11780 echo "configure:11781: checking for jrKanjiControl in -lcanna" >&5 |
11696 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11781 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11697 | 11782 |
11698 xe_check_libs=" -lcanna " | 11783 xe_check_libs=" -lcanna " |
11699 cat > conftest.$ac_ext <<EOF | 11784 cat > conftest.$ac_ext <<EOF |
11700 #line 11701 "configure" | 11785 #line 11786 "configure" |
11701 #include "confdefs.h" | 11786 #include "confdefs.h" |
11702 /* Override any gcc2 internal prototype to avoid an error. */ | 11787 /* Override any gcc2 internal prototype to avoid an error. */ |
11703 /* We use char because int might match the return type of a gcc2 | 11788 /* We use char because int might match the return type of a gcc2 |
11704 builtin and then its argument prototype would still apply. */ | 11789 builtin and then its argument prototype would still apply. */ |
11705 char jrKanjiControl(); | 11790 char jrKanjiControl(); |
11706 | 11791 |
11707 int main() { | 11792 int main() { |
11708 jrKanjiControl() | 11793 jrKanjiControl() |
11709 ; return 0; } | 11794 ; return 0; } |
11710 EOF | 11795 EOF |
11711 if { (eval echo configure:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11712 rm -rf conftest* | 11797 rm -rf conftest* |
11713 eval "ac_cv_lib_$ac_lib_var=yes" | 11798 eval "ac_cv_lib_$ac_lib_var=yes" |
11714 else | 11799 else |
11715 echo "configure: failed program was:" >&5 | 11800 echo "configure: failed program was:" >&5 |
11716 cat conftest.$ac_ext >&5 | 11801 cat conftest.$ac_ext >&5 |
11752 | 11837 |
11753 if test "$need_motif" = "yes" ; then | 11838 if test "$need_motif" = "yes" ; then |
11754 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11839 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11755 | 11840 |
11756 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11841 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11757 echo "configure:11758: checking for layout_object_getvalue in -li18n" >&5 | 11842 echo "configure:11843: checking for layout_object_getvalue in -li18n" >&5 |
11758 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11843 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11759 | 11844 |
11760 xe_check_libs=" -li18n " | 11845 xe_check_libs=" -li18n " |
11761 cat > conftest.$ac_ext <<EOF | 11846 cat > conftest.$ac_ext <<EOF |
11762 #line 11763 "configure" | 11847 #line 11848 "configure" |
11763 #include "confdefs.h" | 11848 #include "confdefs.h" |
11764 /* Override any gcc2 internal prototype to avoid an error. */ | 11849 /* Override any gcc2 internal prototype to avoid an error. */ |
11765 /* We use char because int might match the return type of a gcc2 | 11850 /* We use char because int might match the return type of a gcc2 |
11766 builtin and then its argument prototype would still apply. */ | 11851 builtin and then its argument prototype would still apply. */ |
11767 char layout_object_getvalue(); | 11852 char layout_object_getvalue(); |
11768 | 11853 |
11769 int main() { | 11854 int main() { |
11770 layout_object_getvalue() | 11855 layout_object_getvalue() |
11771 ; return 0; } | 11856 ; return 0; } |
11772 EOF | 11857 EOF |
11773 if { (eval echo configure:11774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11858 if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11774 rm -rf conftest* | 11859 rm -rf conftest* |
11775 eval "ac_cv_lib_$ac_lib_var=yes" | 11860 eval "ac_cv_lib_$ac_lib_var=yes" |
11776 else | 11861 else |
11777 echo "configure: failed program was:" >&5 | 11862 echo "configure: failed program was:" >&5 |
11778 cat conftest.$ac_ext >&5 | 11863 cat conftest.$ac_ext >&5 |
11855 | 11940 |
11856 | 11941 |
11857 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11942 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11858 do | 11943 do |
11859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11860 echo "configure:11861: checking for $ac_func" >&5 | 11945 echo "configure:11946: checking for $ac_func" >&5 |
11861 | 11946 |
11862 cat > conftest.$ac_ext <<EOF | 11947 cat > conftest.$ac_ext <<EOF |
11863 #line 11864 "configure" | 11948 #line 11949 "configure" |
11864 #include "confdefs.h" | 11949 #include "confdefs.h" |
11865 /* System header to define __stub macros and hopefully few prototypes, | 11950 /* System header to define __stub macros and hopefully few prototypes, |
11866 which can conflict with char $ac_func(); below. */ | 11951 which can conflict with char $ac_func(); below. */ |
11867 #include <assert.h> | 11952 #include <assert.h> |
11868 /* Override any gcc2 internal prototype to avoid an error. */ | 11953 /* Override any gcc2 internal prototype to avoid an error. */ |
11881 $ac_func(); | 11966 $ac_func(); |
11882 #endif | 11967 #endif |
11883 | 11968 |
11884 ; return 0; } | 11969 ; return 0; } |
11885 EOF | 11970 EOF |
11886 if { (eval echo configure:11887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11887 rm -rf conftest* | 11972 rm -rf conftest* |
11888 eval "ac_cv_func_$ac_func=yes" | 11973 eval "ac_cv_func_$ac_func=yes" |
11889 else | 11974 else |
11890 echo "configure: failed program was:" >&5 | 11975 echo "configure: failed program was:" >&5 |
11891 cat conftest.$ac_ext >&5 | 11976 cat conftest.$ac_ext >&5 |
11922 | 12007 |
11923 | 12008 |
11924 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12009 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11925 do | 12010 do |
11926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11927 echo "configure:11928: checking for $ac_func" >&5 | 12012 echo "configure:12013: checking for $ac_func" >&5 |
11928 | 12013 |
11929 cat > conftest.$ac_ext <<EOF | 12014 cat > conftest.$ac_ext <<EOF |
11930 #line 11931 "configure" | 12015 #line 12016 "configure" |
11931 #include "confdefs.h" | 12016 #include "confdefs.h" |
11932 /* System header to define __stub macros and hopefully few prototypes, | 12017 /* System header to define __stub macros and hopefully few prototypes, |
11933 which can conflict with char $ac_func(); below. */ | 12018 which can conflict with char $ac_func(); below. */ |
11934 #include <assert.h> | 12019 #include <assert.h> |
11935 /* Override any gcc2 internal prototype to avoid an error. */ | 12020 /* Override any gcc2 internal prototype to avoid an error. */ |
11948 $ac_func(); | 12033 $ac_func(); |
11949 #endif | 12034 #endif |
11950 | 12035 |
11951 ; return 0; } | 12036 ; return 0; } |
11952 EOF | 12037 EOF |
11953 if { (eval echo configure:11954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11954 rm -rf conftest* | 12039 rm -rf conftest* |
11955 eval "ac_cv_func_$ac_func=yes" | 12040 eval "ac_cv_func_$ac_func=yes" |
11956 else | 12041 else |
11957 echo "configure: failed program was:" >&5 | 12042 echo "configure: failed program was:" >&5 |
11958 cat conftest.$ac_ext >&5 | 12043 cat conftest.$ac_ext >&5 |
11977 fi | 12062 fi |
11978 done | 12063 done |
11979 | 12064 |
11980 | 12065 |
11981 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12066 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11982 echo "configure:11983: checking for openpty" >&5 | 12067 echo "configure:12068: checking for openpty" >&5 |
11983 | 12068 |
11984 cat > conftest.$ac_ext <<EOF | 12069 cat > conftest.$ac_ext <<EOF |
11985 #line 11986 "configure" | 12070 #line 12071 "configure" |
11986 #include "confdefs.h" | 12071 #include "confdefs.h" |
11987 /* System header to define __stub macros and hopefully few prototypes, | 12072 /* System header to define __stub macros and hopefully few prototypes, |
11988 which can conflict with char openpty(); below. */ | 12073 which can conflict with char openpty(); below. */ |
11989 #include <assert.h> | 12074 #include <assert.h> |
11990 /* Override any gcc2 internal prototype to avoid an error. */ | 12075 /* Override any gcc2 internal prototype to avoid an error. */ |
12003 openpty(); | 12088 openpty(); |
12004 #endif | 12089 #endif |
12005 | 12090 |
12006 ; return 0; } | 12091 ; return 0; } |
12007 EOF | 12092 EOF |
12008 if { (eval echo configure:12009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12093 if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12009 rm -rf conftest* | 12094 rm -rf conftest* |
12010 eval "ac_cv_func_openpty=yes" | 12095 eval "ac_cv_func_openpty=yes" |
12011 else | 12096 else |
12012 echo "configure: failed program was:" >&5 | 12097 echo "configure: failed program was:" >&5 |
12013 cat conftest.$ac_ext >&5 | 12098 cat conftest.$ac_ext >&5 |
12022 else | 12107 else |
12023 echo "$ac_t""no" 1>&6 | 12108 echo "$ac_t""no" 1>&6 |
12024 | 12109 |
12025 | 12110 |
12026 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12111 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12027 echo "configure:12028: checking for openpty in -lutil" >&5 | 12112 echo "configure:12113: checking for openpty in -lutil" >&5 |
12028 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12113 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12029 | 12114 |
12030 xe_check_libs=" -lutil " | 12115 xe_check_libs=" -lutil " |
12031 cat > conftest.$ac_ext <<EOF | 12116 cat > conftest.$ac_ext <<EOF |
12032 #line 12033 "configure" | 12117 #line 12118 "configure" |
12033 #include "confdefs.h" | 12118 #include "confdefs.h" |
12034 /* Override any gcc2 internal prototype to avoid an error. */ | 12119 /* Override any gcc2 internal prototype to avoid an error. */ |
12035 /* We use char because int might match the return type of a gcc2 | 12120 /* We use char because int might match the return type of a gcc2 |
12036 builtin and then its argument prototype would still apply. */ | 12121 builtin and then its argument prototype would still apply. */ |
12037 char openpty(); | 12122 char openpty(); |
12038 | 12123 |
12039 int main() { | 12124 int main() { |
12040 openpty() | 12125 openpty() |
12041 ; return 0; } | 12126 ; return 0; } |
12042 EOF | 12127 EOF |
12043 if { (eval echo configure:12044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12044 rm -rf conftest* | 12129 rm -rf conftest* |
12045 eval "ac_cv_lib_$ac_lib_var=yes" | 12130 eval "ac_cv_lib_$ac_lib_var=yes" |
12046 else | 12131 else |
12047 echo "configure: failed program was:" >&5 | 12132 echo "configure: failed program was:" >&5 |
12048 cat conftest.$ac_ext >&5 | 12133 cat conftest.$ac_ext >&5 |
12073 | 12158 |
12074 for ac_hdr in libutil.h util.h | 12159 for ac_hdr in libutil.h util.h |
12075 do | 12160 do |
12076 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12077 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12078 echo "configure:12079: checking for $ac_hdr" >&5 | 12163 echo "configure:12164: checking for $ac_hdr" >&5 |
12079 | 12164 |
12080 cat > conftest.$ac_ext <<EOF | 12165 cat > conftest.$ac_ext <<EOF |
12081 #line 12082 "configure" | 12166 #line 12167 "configure" |
12082 #include "confdefs.h" | 12167 #include "confdefs.h" |
12083 #include <$ac_hdr> | 12168 #include <$ac_hdr> |
12084 EOF | 12169 EOF |
12085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12086 { (eval echo configure:12087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12171 { (eval echo configure:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12088 if test -z "$ac_err"; then | 12173 if test -z "$ac_err"; then |
12089 rm -rf conftest* | 12174 rm -rf conftest* |
12090 eval "ac_cv_header_$ac_safe=yes" | 12175 eval "ac_cv_header_$ac_safe=yes" |
12091 else | 12176 else |
12118 case "$opsys" in | 12203 case "$opsys" in |
12119 hpux*) for ac_hdr in sys/ptyio.h | 12204 hpux*) for ac_hdr in sys/ptyio.h |
12120 do | 12205 do |
12121 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12206 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12122 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12123 echo "configure:12124: checking for $ac_hdr" >&5 | 12208 echo "configure:12209: checking for $ac_hdr" >&5 |
12124 | 12209 |
12125 cat > conftest.$ac_ext <<EOF | 12210 cat > conftest.$ac_ext <<EOF |
12126 #line 12127 "configure" | 12211 #line 12212 "configure" |
12127 #include "confdefs.h" | 12212 #include "confdefs.h" |
12128 #include <$ac_hdr> | 12213 #include <$ac_hdr> |
12129 EOF | 12214 EOF |
12130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12131 { (eval echo configure:12132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12216 { (eval echo configure:12217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12133 if test -z "$ac_err"; then | 12218 if test -z "$ac_err"; then |
12134 rm -rf conftest* | 12219 rm -rf conftest* |
12135 eval "ac_cv_header_$ac_safe=yes" | 12220 eval "ac_cv_header_$ac_safe=yes" |
12136 else | 12221 else |
12159 ;; | 12244 ;; |
12160 *) for ac_hdr in pty.h | 12245 *) for ac_hdr in pty.h |
12161 do | 12246 do |
12162 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12163 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12164 echo "configure:12165: checking for $ac_hdr" >&5 | 12249 echo "configure:12250: checking for $ac_hdr" >&5 |
12165 | 12250 |
12166 cat > conftest.$ac_ext <<EOF | 12251 cat > conftest.$ac_ext <<EOF |
12167 #line 12168 "configure" | 12252 #line 12253 "configure" |
12168 #include "confdefs.h" | 12253 #include "confdefs.h" |
12169 #include <$ac_hdr> | 12254 #include <$ac_hdr> |
12170 EOF | 12255 EOF |
12171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12172 { (eval echo configure:12173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12257 { (eval echo configure:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12174 if test -z "$ac_err"; then | 12259 if test -z "$ac_err"; then |
12175 rm -rf conftest* | 12260 rm -rf conftest* |
12176 eval "ac_cv_header_$ac_safe=yes" | 12261 eval "ac_cv_header_$ac_safe=yes" |
12177 else | 12262 else |
12200 | 12285 |
12201 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12286 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12202 do | 12287 do |
12203 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12204 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12205 echo "configure:12206: checking for $ac_hdr" >&5 | 12290 echo "configure:12291: checking for $ac_hdr" >&5 |
12206 | 12291 |
12207 cat > conftest.$ac_ext <<EOF | 12292 cat > conftest.$ac_ext <<EOF |
12208 #line 12209 "configure" | 12293 #line 12294 "configure" |
12209 #include "confdefs.h" | 12294 #include "confdefs.h" |
12210 #include <$ac_hdr> | 12295 #include <$ac_hdr> |
12211 EOF | 12296 EOF |
12212 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12213 { (eval echo configure:12214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12298 { (eval echo configure:12299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12214 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12215 if test -z "$ac_err"; then | 12300 if test -z "$ac_err"; then |
12216 rm -rf conftest* | 12301 rm -rf conftest* |
12217 eval "ac_cv_header_$ac_safe=yes" | 12302 eval "ac_cv_header_$ac_safe=yes" |
12218 else | 12303 else |
12244 | 12329 |
12245 for ac_hdr in stropts.h | 12330 for ac_hdr in stropts.h |
12246 do | 12331 do |
12247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12249 echo "configure:12250: checking for $ac_hdr" >&5 | 12334 echo "configure:12335: checking for $ac_hdr" >&5 |
12250 | 12335 |
12251 cat > conftest.$ac_ext <<EOF | 12336 cat > conftest.$ac_ext <<EOF |
12252 #line 12253 "configure" | 12337 #line 12338 "configure" |
12253 #include "confdefs.h" | 12338 #include "confdefs.h" |
12254 #include <$ac_hdr> | 12339 #include <$ac_hdr> |
12255 EOF | 12340 EOF |
12256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12257 { (eval echo configure:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12342 { (eval echo configure:12343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12259 if test -z "$ac_err"; then | 12344 if test -z "$ac_err"; then |
12260 rm -rf conftest* | 12345 rm -rf conftest* |
12261 eval "ac_cv_header_$ac_safe=yes" | 12346 eval "ac_cv_header_$ac_safe=yes" |
12262 else | 12347 else |
12285 | 12370 |
12286 if test "$ac_cv_header_stropts_h" = "yes"; then | 12371 if test "$ac_cv_header_stropts_h" = "yes"; then |
12287 for ac_func in isastream | 12372 for ac_func in isastream |
12288 do | 12373 do |
12289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12290 echo "configure:12291: checking for $ac_func" >&5 | 12375 echo "configure:12376: checking for $ac_func" >&5 |
12291 | 12376 |
12292 cat > conftest.$ac_ext <<EOF | 12377 cat > conftest.$ac_ext <<EOF |
12293 #line 12294 "configure" | 12378 #line 12379 "configure" |
12294 #include "confdefs.h" | 12379 #include "confdefs.h" |
12295 /* System header to define __stub macros and hopefully few prototypes, | 12380 /* System header to define __stub macros and hopefully few prototypes, |
12296 which can conflict with char $ac_func(); below. */ | 12381 which can conflict with char $ac_func(); below. */ |
12297 #include <assert.h> | 12382 #include <assert.h> |
12298 /* Override any gcc2 internal prototype to avoid an error. */ | 12383 /* Override any gcc2 internal prototype to avoid an error. */ |
12311 $ac_func(); | 12396 $ac_func(); |
12312 #endif | 12397 #endif |
12313 | 12398 |
12314 ; return 0; } | 12399 ; return 0; } |
12315 EOF | 12400 EOF |
12316 if { (eval echo configure:12317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12317 rm -rf conftest* | 12402 rm -rf conftest* |
12318 eval "ac_cv_func_$ac_func=yes" | 12403 eval "ac_cv_func_$ac_func=yes" |
12319 else | 12404 else |
12320 echo "configure: failed program was:" >&5 | 12405 echo "configure: failed program was:" >&5 |
12321 cat conftest.$ac_ext >&5 | 12406 cat conftest.$ac_ext >&5 |
12342 | 12427 |
12343 for ac_hdr in strtio.h | 12428 for ac_hdr in strtio.h |
12344 do | 12429 do |
12345 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12346 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12347 echo "configure:12348: checking for $ac_hdr" >&5 | 12432 echo "configure:12433: checking for $ac_hdr" >&5 |
12348 | 12433 |
12349 cat > conftest.$ac_ext <<EOF | 12434 cat > conftest.$ac_ext <<EOF |
12350 #line 12351 "configure" | 12435 #line 12436 "configure" |
12351 #include "confdefs.h" | 12436 #include "confdefs.h" |
12352 #include <$ac_hdr> | 12437 #include <$ac_hdr> |
12353 EOF | 12438 EOF |
12354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12355 { (eval echo configure:12356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12440 { (eval echo configure:12441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12357 if test -z "$ac_err"; then | 12442 if test -z "$ac_err"; then |
12358 rm -rf conftest* | 12443 rm -rf conftest* |
12359 eval "ac_cv_header_$ac_safe=yes" | 12444 eval "ac_cv_header_$ac_safe=yes" |
12360 else | 12445 else |
12383 fi | 12468 fi |
12384 | 12469 |
12385 for ac_func in getloadavg | 12470 for ac_func in getloadavg |
12386 do | 12471 do |
12387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12388 echo "configure:12389: checking for $ac_func" >&5 | 12473 echo "configure:12474: checking for $ac_func" >&5 |
12389 | 12474 |
12390 cat > conftest.$ac_ext <<EOF | 12475 cat > conftest.$ac_ext <<EOF |
12391 #line 12392 "configure" | 12476 #line 12477 "configure" |
12392 #include "confdefs.h" | 12477 #include "confdefs.h" |
12393 /* System header to define __stub macros and hopefully few prototypes, | 12478 /* System header to define __stub macros and hopefully few prototypes, |
12394 which can conflict with char $ac_func(); below. */ | 12479 which can conflict with char $ac_func(); below. */ |
12395 #include <assert.h> | 12480 #include <assert.h> |
12396 /* Override any gcc2 internal prototype to avoid an error. */ | 12481 /* Override any gcc2 internal prototype to avoid an error. */ |
12409 $ac_func(); | 12494 $ac_func(); |
12410 #endif | 12495 #endif |
12411 | 12496 |
12412 ; return 0; } | 12497 ; return 0; } |
12413 EOF | 12498 EOF |
12414 if { (eval echo configure:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12499 if { (eval echo configure:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12415 rm -rf conftest* | 12500 rm -rf conftest* |
12416 eval "ac_cv_func_$ac_func=yes" | 12501 eval "ac_cv_func_$ac_func=yes" |
12417 else | 12502 else |
12418 echo "configure: failed program was:" >&5 | 12503 echo "configure: failed program was:" >&5 |
12419 cat conftest.$ac_ext >&5 | 12504 cat conftest.$ac_ext >&5 |
12442 if test "$ac_cv_func_getloadavg" = "yes"; then | 12527 if test "$ac_cv_func_getloadavg" = "yes"; then |
12443 for ac_hdr in sys/loadavg.h | 12528 for ac_hdr in sys/loadavg.h |
12444 do | 12529 do |
12445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12447 echo "configure:12448: checking for $ac_hdr" >&5 | 12532 echo "configure:12533: checking for $ac_hdr" >&5 |
12448 | 12533 |
12449 cat > conftest.$ac_ext <<EOF | 12534 cat > conftest.$ac_ext <<EOF |
12450 #line 12451 "configure" | 12535 #line 12536 "configure" |
12451 #include "confdefs.h" | 12536 #include "confdefs.h" |
12452 #include <$ac_hdr> | 12537 #include <$ac_hdr> |
12453 EOF | 12538 EOF |
12454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12455 { (eval echo configure:12456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12540 { (eval echo configure:12541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12457 if test -z "$ac_err"; then | 12542 if test -z "$ac_err"; then |
12458 rm -rf conftest* | 12543 rm -rf conftest* |
12459 eval "ac_cv_header_$ac_safe=yes" | 12544 eval "ac_cv_header_$ac_safe=yes" |
12460 else | 12545 else |
12486 echo " xemacs will be linked with \"getloadavg.o\"" | 12571 echo " xemacs will be linked with \"getloadavg.o\"" |
12487 fi | 12572 fi |
12488 | 12573 |
12489 | 12574 |
12490 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12575 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12491 echo "configure:12492: checking for kstat_open in -lkstat" >&5 | 12576 echo "configure:12577: checking for kstat_open in -lkstat" >&5 |
12492 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12577 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12493 | 12578 |
12494 xe_check_libs=" -lkstat " | 12579 xe_check_libs=" -lkstat " |
12495 cat > conftest.$ac_ext <<EOF | 12580 cat > conftest.$ac_ext <<EOF |
12496 #line 12497 "configure" | 12581 #line 12582 "configure" |
12497 #include "confdefs.h" | 12582 #include "confdefs.h" |
12498 /* Override any gcc2 internal prototype to avoid an error. */ | 12583 /* Override any gcc2 internal prototype to avoid an error. */ |
12499 /* We use char because int might match the return type of a gcc2 | 12584 /* We use char because int might match the return type of a gcc2 |
12500 builtin and then its argument prototype would still apply. */ | 12585 builtin and then its argument prototype would still apply. */ |
12501 char kstat_open(); | 12586 char kstat_open(); |
12502 | 12587 |
12503 int main() { | 12588 int main() { |
12504 kstat_open() | 12589 kstat_open() |
12505 ; return 0; } | 12590 ; return 0; } |
12506 EOF | 12591 EOF |
12507 if { (eval echo configure:12508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12592 if { (eval echo configure:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12508 rm -rf conftest* | 12593 rm -rf conftest* |
12509 eval "ac_cv_lib_$ac_lib_var=yes" | 12594 eval "ac_cv_lib_$ac_lib_var=yes" |
12510 else | 12595 else |
12511 echo "configure: failed program was:" >&5 | 12596 echo "configure: failed program was:" >&5 |
12512 cat conftest.$ac_ext >&5 | 12597 cat conftest.$ac_ext >&5 |
12537 | 12622 |
12538 for ac_hdr in kstat.h | 12623 for ac_hdr in kstat.h |
12539 do | 12624 do |
12540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12542 echo "configure:12543: checking for $ac_hdr" >&5 | 12627 echo "configure:12628: checking for $ac_hdr" >&5 |
12543 | 12628 |
12544 cat > conftest.$ac_ext <<EOF | 12629 cat > conftest.$ac_ext <<EOF |
12545 #line 12546 "configure" | 12630 #line 12631 "configure" |
12546 #include "confdefs.h" | 12631 #include "confdefs.h" |
12547 #include <$ac_hdr> | 12632 #include <$ac_hdr> |
12548 EOF | 12633 EOF |
12549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12550 { (eval echo configure:12551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12552 if test -z "$ac_err"; then | 12637 if test -z "$ac_err"; then |
12553 rm -rf conftest* | 12638 rm -rf conftest* |
12554 eval "ac_cv_header_$ac_safe=yes" | 12639 eval "ac_cv_header_$ac_safe=yes" |
12555 else | 12640 else |
12577 done | 12662 done |
12578 | 12663 |
12579 | 12664 |
12580 | 12665 |
12581 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12666 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12582 echo "configure:12583: checking for kvm_read in -lkvm" >&5 | 12667 echo "configure:12668: checking for kvm_read in -lkvm" >&5 |
12583 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12668 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12584 | 12669 |
12585 xe_check_libs=" -lkvm " | 12670 xe_check_libs=" -lkvm " |
12586 cat > conftest.$ac_ext <<EOF | 12671 cat > conftest.$ac_ext <<EOF |
12587 #line 12588 "configure" | 12672 #line 12673 "configure" |
12588 #include "confdefs.h" | 12673 #include "confdefs.h" |
12589 /* Override any gcc2 internal prototype to avoid an error. */ | 12674 /* Override any gcc2 internal prototype to avoid an error. */ |
12590 /* We use char because int might match the return type of a gcc2 | 12675 /* We use char because int might match the return type of a gcc2 |
12591 builtin and then its argument prototype would still apply. */ | 12676 builtin and then its argument prototype would still apply. */ |
12592 char kvm_read(); | 12677 char kvm_read(); |
12593 | 12678 |
12594 int main() { | 12679 int main() { |
12595 kvm_read() | 12680 kvm_read() |
12596 ; return 0; } | 12681 ; return 0; } |
12597 EOF | 12682 EOF |
12598 if { (eval echo configure:12599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12683 if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12599 rm -rf conftest* | 12684 rm -rf conftest* |
12600 eval "ac_cv_lib_$ac_lib_var=yes" | 12685 eval "ac_cv_lib_$ac_lib_var=yes" |
12601 else | 12686 else |
12602 echo "configure: failed program was:" >&5 | 12687 echo "configure: failed program was:" >&5 |
12603 cat conftest.$ac_ext >&5 | 12688 cat conftest.$ac_ext >&5 |
12627 | 12712 |
12628 | 12713 |
12629 fi | 12714 fi |
12630 | 12715 |
12631 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12716 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12632 echo "configure:12633: checking whether netdb declares h_errno" >&5 | 12717 echo "configure:12718: checking whether netdb declares h_errno" >&5 |
12633 cat > conftest.$ac_ext <<EOF | 12718 cat > conftest.$ac_ext <<EOF |
12634 #line 12635 "configure" | 12719 #line 12720 "configure" |
12635 #include "confdefs.h" | 12720 #include "confdefs.h" |
12636 #include <netdb.h> | 12721 #include <netdb.h> |
12637 int main() { | 12722 int main() { |
12638 return h_errno; | 12723 return h_errno; |
12639 ; return 0; } | 12724 ; return 0; } |
12640 EOF | 12725 EOF |
12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12726 if { (eval echo configure:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12642 rm -rf conftest* | 12727 rm -rf conftest* |
12643 echo "$ac_t""yes" 1>&6 | 12728 echo "$ac_t""yes" 1>&6 |
12644 { test "$extra_verbose" = "yes" && cat << \EOF | 12729 { test "$extra_verbose" = "yes" && cat << \EOF |
12645 Defining HAVE_H_ERRNO | 12730 Defining HAVE_H_ERRNO |
12646 EOF | 12731 EOF |
12656 echo "$ac_t""no" 1>&6 | 12741 echo "$ac_t""no" 1>&6 |
12657 fi | 12742 fi |
12658 rm -f conftest* | 12743 rm -f conftest* |
12659 | 12744 |
12660 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12745 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12661 echo "configure:12662: checking for sigsetjmp" >&5 | 12746 echo "configure:12747: checking for sigsetjmp" >&5 |
12662 cat > conftest.$ac_ext <<EOF | 12747 cat > conftest.$ac_ext <<EOF |
12663 #line 12664 "configure" | 12748 #line 12749 "configure" |
12664 #include "confdefs.h" | 12749 #include "confdefs.h" |
12665 #include <setjmp.h> | 12750 #include <setjmp.h> |
12666 int main() { | 12751 int main() { |
12667 sigjmp_buf bar; sigsetjmp (bar, 0); | 12752 sigjmp_buf bar; sigsetjmp (bar, 0); |
12668 ; return 0; } | 12753 ; return 0; } |
12669 EOF | 12754 EOF |
12670 if { (eval echo configure:12671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12755 if { (eval echo configure:12756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12671 rm -rf conftest* | 12756 rm -rf conftest* |
12672 echo "$ac_t""yes" 1>&6 | 12757 echo "$ac_t""yes" 1>&6 |
12673 { test "$extra_verbose" = "yes" && cat << \EOF | 12758 { test "$extra_verbose" = "yes" && cat << \EOF |
12674 Defining HAVE_SIGSETJMP | 12759 Defining HAVE_SIGSETJMP |
12675 EOF | 12760 EOF |
12685 echo "$ac_t""no" 1>&6 | 12770 echo "$ac_t""no" 1>&6 |
12686 fi | 12771 fi |
12687 rm -f conftest* | 12772 rm -f conftest* |
12688 | 12773 |
12689 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12774 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12690 echo "configure:12691: checking whether localtime caches TZ" >&5 | 12775 echo "configure:12776: checking whether localtime caches TZ" >&5 |
12691 | 12776 |
12692 if test "$ac_cv_func_tzset" = "yes"; then | 12777 if test "$ac_cv_func_tzset" = "yes"; then |
12693 cat > conftest.$ac_ext <<EOF | 12778 cat > conftest.$ac_ext <<EOF |
12694 #line 12695 "configure" | 12779 #line 12780 "configure" |
12695 #include "confdefs.h" | 12780 #include "confdefs.h" |
12696 #include <time.h> | 12781 #include <time.h> |
12697 #if STDC_HEADERS | 12782 #if STDC_HEADERS |
12698 # include <stdlib.h> | 12783 # include <stdlib.h> |
12699 #endif | 12784 #endif |
12724 if (localtime (&now)->tm_hour != hour_unset) | 12809 if (localtime (&now)->tm_hour != hour_unset) |
12725 exit (1); | 12810 exit (1); |
12726 exit (0); | 12811 exit (0); |
12727 } | 12812 } |
12728 EOF | 12813 EOF |
12729 if { (eval echo configure:12730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12814 if { (eval echo configure:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12730 then | 12815 then |
12731 emacs_cv_localtime_cache=no | 12816 emacs_cv_localtime_cache=no |
12732 else | 12817 else |
12733 conftest_rc="$?" | 12818 conftest_rc="$?" |
12734 echo "configure: failed program was:" >&5 | 12819 echo "configure: failed program was:" >&5 |
12754 | 12839 |
12755 fi | 12840 fi |
12756 | 12841 |
12757 if test "$HAVE_TIMEVAL" = "yes"; then | 12842 if test "$HAVE_TIMEVAL" = "yes"; then |
12758 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12843 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12759 echo "configure:12760: checking whether gettimeofday accepts one or two arguments" >&5 | 12844 echo "configure:12845: checking whether gettimeofday accepts one or two arguments" >&5 |
12760 cat > conftest.$ac_ext <<EOF | 12845 cat > conftest.$ac_ext <<EOF |
12761 #line 12762 "configure" | 12846 #line 12847 "configure" |
12762 #include "confdefs.h" | 12847 #include "confdefs.h" |
12763 | 12848 |
12764 #ifdef TIME_WITH_SYS_TIME | 12849 #ifdef TIME_WITH_SYS_TIME |
12765 #include <sys/time.h> | 12850 #include <sys/time.h> |
12766 #include <time.h> | 12851 #include <time.h> |
12777 struct timeval time; | 12862 struct timeval time; |
12778 gettimeofday (&time, 0); | 12863 gettimeofday (&time, 0); |
12779 | 12864 |
12780 ; return 0; } | 12865 ; return 0; } |
12781 EOF | 12866 EOF |
12782 if { (eval echo configure:12783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12783 rm -rf conftest* | 12868 rm -rf conftest* |
12784 echo "$ac_t""two" 1>&6 | 12869 echo "$ac_t""two" 1>&6 |
12785 else | 12870 else |
12786 echo "configure: failed program was:" >&5 | 12871 echo "configure: failed program was:" >&5 |
12787 cat conftest.$ac_ext >&5 | 12872 cat conftest.$ac_ext >&5 |
12799 rm -f conftest* | 12884 rm -f conftest* |
12800 fi | 12885 fi |
12801 | 12886 |
12802 | 12887 |
12803 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12888 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12804 echo "configure:12805: checking for inline" >&5 | 12889 echo "configure:12890: checking for inline" >&5 |
12805 | 12890 |
12806 ac_cv_c_inline=no | 12891 ac_cv_c_inline=no |
12807 for ac_kw in inline __inline__ __inline; do | 12892 for ac_kw in inline __inline__ __inline; do |
12808 cat > conftest.$ac_ext <<EOF | 12893 cat > conftest.$ac_ext <<EOF |
12809 #line 12810 "configure" | 12894 #line 12895 "configure" |
12810 #include "confdefs.h" | 12895 #include "confdefs.h" |
12811 | 12896 |
12812 int main() { | 12897 int main() { |
12813 } $ac_kw foo() { | 12898 } $ac_kw foo() { |
12814 ; return 0; } | 12899 ; return 0; } |
12815 EOF | 12900 EOF |
12816 if { (eval echo configure:12817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12901 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12817 rm -rf conftest* | 12902 rm -rf conftest* |
12818 ac_cv_c_inline=$ac_kw; break | 12903 ac_cv_c_inline=$ac_kw; break |
12819 else | 12904 else |
12820 echo "configure: failed program was:" >&5 | 12905 echo "configure: failed program was:" >&5 |
12821 cat conftest.$ac_ext >&5 | 12906 cat conftest.$ac_ext >&5 |
12848 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 12933 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
12849 echo " xemacs will be linked with \"inline.o\"" | 12934 echo " xemacs will be linked with \"inline.o\"" |
12850 fi | 12935 fi |
12851 | 12936 |
12852 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 12937 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
12853 echo "configure:12854: checking for typeof" >&5 | 12938 echo "configure:12939: checking for typeof" >&5 |
12854 cat > conftest.$ac_ext <<EOF | 12939 cat > conftest.$ac_ext <<EOF |
12855 #line 12856 "configure" | 12940 #line 12941 "configure" |
12856 #include "confdefs.h" | 12941 #include "confdefs.h" |
12857 | 12942 |
12858 int main() { | 12943 int main() { |
12859 int i; __typeof__(i) j; | 12944 int i; __typeof__(i) j; |
12860 ; return 0; } | 12945 ; return 0; } |
12861 EOF | 12946 EOF |
12862 if { (eval echo configure:12863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12947 if { (eval echo configure:12948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12863 rm -rf conftest* | 12948 rm -rf conftest* |
12864 typeofname="__typeof__" | 12949 typeofname="__typeof__" |
12865 else | 12950 else |
12866 echo "configure: failed program was:" >&5 | 12951 echo "configure: failed program was:" >&5 |
12867 cat conftest.$ac_ext >&5 | 12952 cat conftest.$ac_ext >&5 |
12868 rm -rf conftest* | 12953 rm -rf conftest* |
12869 cat > conftest.$ac_ext <<EOF | 12954 cat > conftest.$ac_ext <<EOF |
12870 #line 12871 "configure" | 12955 #line 12956 "configure" |
12871 #include "confdefs.h" | 12956 #include "confdefs.h" |
12872 | 12957 |
12873 int main() { | 12958 int main() { |
12874 int i; typeof(i) j; | 12959 int i; typeof(i) j; |
12875 ; return 0; } | 12960 ; return 0; } |
12876 EOF | 12961 EOF |
12877 if { (eval echo configure:12878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12962 if { (eval echo configure:12963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12878 rm -rf conftest* | 12963 rm -rf conftest* |
12879 typeofname="typeof" | 12964 typeofname="typeof" |
12880 else | 12965 else |
12881 echo "configure: failed program was:" >&5 | 12966 echo "configure: failed program was:" >&5 |
12882 cat conftest.$ac_ext >&5 | 12967 cat conftest.$ac_ext >&5 |
12901 | 12986 |
12902 if test "$__DECC" != "yes"; then | 12987 if test "$__DECC" != "yes"; then |
12903 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12988 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12904 # for constant arguments. Useless! | 12989 # for constant arguments. Useless! |
12905 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12990 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12906 echo "configure:12907: checking for working alloca.h" >&5 | 12991 echo "configure:12992: checking for working alloca.h" >&5 |
12907 | 12992 |
12908 cat > conftest.$ac_ext <<EOF | 12993 cat > conftest.$ac_ext <<EOF |
12909 #line 12910 "configure" | 12994 #line 12995 "configure" |
12910 #include "confdefs.h" | 12995 #include "confdefs.h" |
12911 #include <alloca.h> | 12996 #include <alloca.h> |
12912 int main() { | 12997 int main() { |
12913 char *p = alloca(2 * sizeof(int)); | 12998 char *p = alloca(2 * sizeof(int)); |
12914 ; return 0; } | 12999 ; return 0; } |
12915 EOF | 13000 EOF |
12916 if { (eval echo configure:12917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13001 if { (eval echo configure:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12917 rm -rf conftest* | 13002 rm -rf conftest* |
12918 ac_cv_header_alloca_h=yes | 13003 ac_cv_header_alloca_h=yes |
12919 else | 13004 else |
12920 echo "configure: failed program was:" >&5 | 13005 echo "configure: failed program was:" >&5 |
12921 cat conftest.$ac_ext >&5 | 13006 cat conftest.$ac_ext >&5 |
12935 } | 13020 } |
12936 | 13021 |
12937 fi | 13022 fi |
12938 | 13023 |
12939 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13024 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12940 echo "configure:12941: checking for alloca" >&5 | 13025 echo "configure:13026: checking for alloca" >&5 |
12941 | 13026 |
12942 cat > conftest.$ac_ext <<EOF | 13027 cat > conftest.$ac_ext <<EOF |
12943 #line 12944 "configure" | 13028 #line 13029 "configure" |
12944 #include "confdefs.h" | 13029 #include "confdefs.h" |
12945 | 13030 |
12946 #ifdef __GNUC__ | 13031 #ifdef __GNUC__ |
12947 # define alloca __builtin_alloca | 13032 # define alloca __builtin_alloca |
12948 #else | 13033 #else |
12966 | 13051 |
12967 int main() { | 13052 int main() { |
12968 char *p = (char *) alloca(1); | 13053 char *p = (char *) alloca(1); |
12969 ; return 0; } | 13054 ; return 0; } |
12970 EOF | 13055 EOF |
12971 if { (eval echo configure:12972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13056 if { (eval echo configure:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12972 rm -rf conftest* | 13057 rm -rf conftest* |
12973 ac_cv_func_alloca_works=yes | 13058 ac_cv_func_alloca_works=yes |
12974 else | 13059 else |
12975 echo "configure: failed program was:" >&5 | 13060 echo "configure: failed program was:" >&5 |
12976 cat conftest.$ac_ext >&5 | 13061 cat conftest.$ac_ext >&5 |
13005 EOF | 13090 EOF |
13006 } | 13091 } |
13007 | 13092 |
13008 | 13093 |
13009 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13094 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13010 echo "configure:13011: checking whether alloca needs Cray hooks" >&5 | 13095 echo "configure:13096: checking whether alloca needs Cray hooks" >&5 |
13011 | 13096 |
13012 cat > conftest.$ac_ext <<EOF | 13097 cat > conftest.$ac_ext <<EOF |
13013 #line 13014 "configure" | 13098 #line 13099 "configure" |
13014 #include "confdefs.h" | 13099 #include "confdefs.h" |
13015 #if defined(CRAY) && ! defined(CRAY2) | 13100 #if defined(CRAY) && ! defined(CRAY2) |
13016 webecray | 13101 webecray |
13017 #else | 13102 #else |
13018 wenotbecray | 13103 wenotbecray |
13032 | 13117 |
13033 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13118 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13034 if test $ac_cv_os_cray = yes; then | 13119 if test $ac_cv_os_cray = yes; then |
13035 for ac_func in _getb67 GETB67 getb67; do | 13120 for ac_func in _getb67 GETB67 getb67; do |
13036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13037 echo "configure:13038: checking for $ac_func" >&5 | 13122 echo "configure:13123: checking for $ac_func" >&5 |
13038 | 13123 |
13039 cat > conftest.$ac_ext <<EOF | 13124 cat > conftest.$ac_ext <<EOF |
13040 #line 13041 "configure" | 13125 #line 13126 "configure" |
13041 #include "confdefs.h" | 13126 #include "confdefs.h" |
13042 /* System header to define __stub macros and hopefully few prototypes, | 13127 /* System header to define __stub macros and hopefully few prototypes, |
13043 which can conflict with char $ac_func(); below. */ | 13128 which can conflict with char $ac_func(); below. */ |
13044 #include <assert.h> | 13129 #include <assert.h> |
13045 /* Override any gcc2 internal prototype to avoid an error. */ | 13130 /* Override any gcc2 internal prototype to avoid an error. */ |
13058 $ac_func(); | 13143 $ac_func(); |
13059 #endif | 13144 #endif |
13060 | 13145 |
13061 ; return 0; } | 13146 ; return 0; } |
13062 EOF | 13147 EOF |
13063 if { (eval echo configure:13064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13148 if { (eval echo configure:13149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13064 rm -rf conftest* | 13149 rm -rf conftest* |
13065 eval "ac_cv_func_$ac_func=yes" | 13150 eval "ac_cv_func_$ac_func=yes" |
13066 else | 13151 else |
13067 echo "configure: failed program was:" >&5 | 13152 echo "configure: failed program was:" >&5 |
13068 cat conftest.$ac_ext >&5 | 13153 cat conftest.$ac_ext >&5 |
13088 | 13173 |
13089 done | 13174 done |
13090 fi | 13175 fi |
13091 | 13176 |
13092 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13177 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13093 echo "configure:13094: checking stack direction for C alloca" >&5 | 13178 echo "configure:13179: checking stack direction for C alloca" >&5 |
13094 | 13179 |
13095 cat > conftest.$ac_ext <<EOF | 13180 cat > conftest.$ac_ext <<EOF |
13096 #line 13097 "configure" | 13181 #line 13182 "configure" |
13097 #include "confdefs.h" | 13182 #include "confdefs.h" |
13098 find_stack_direction () | 13183 find_stack_direction () |
13099 { | 13184 { |
13100 static char *addr = 0; | 13185 static char *addr = 0; |
13101 auto char dummy; | 13186 auto char dummy; |
13110 main () | 13195 main () |
13111 { | 13196 { |
13112 exit (find_stack_direction() < 0); | 13197 exit (find_stack_direction() < 0); |
13113 } | 13198 } |
13114 EOF | 13199 EOF |
13115 if { (eval echo configure:13116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13200 if { (eval echo configure:13201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13116 then | 13201 then |
13117 ac_cv_c_stack_direction=1 | 13202 ac_cv_c_stack_direction=1 |
13118 else | 13203 else |
13119 conftest_rc="$?" | 13204 conftest_rc="$?" |
13120 echo "configure: failed program was:" >&5 | 13205 echo "configure: failed program was:" >&5 |
13139 echo " xemacs will be linked with \"$ALLOCA\"" | 13224 echo " xemacs will be linked with \"$ALLOCA\"" |
13140 fi | 13225 fi |
13141 fi | 13226 fi |
13142 | 13227 |
13143 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13228 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13144 echo "configure:13145: checking for working alloca in function calls" >&5 | 13229 echo "configure:13230: checking for working alloca in function calls" >&5 |
13145 cat > conftest.$ac_ext <<EOF | 13230 cat > conftest.$ac_ext <<EOF |
13146 #line 13147 "configure" | 13231 #line 13232 "configure" |
13147 #include "confdefs.h" | 13232 #include "confdefs.h" |
13148 | 13233 |
13149 #if defined (__CYGWIN__) | 13234 #if defined (__CYGWIN__) |
13150 #include <alloca.h> | 13235 #include <alloca.h> |
13151 #elif defined (__GNUC__) | 13236 #elif defined (__GNUC__) |
13194 return 1; | 13279 return 1; |
13195 return 0; | 13280 return 0; |
13196 } | 13281 } |
13197 | 13282 |
13198 EOF | 13283 EOF |
13199 if { (eval echo configure:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13284 if { (eval echo configure:13285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13200 then | 13285 then |
13201 working_alloca_in_function_calls=yes | 13286 working_alloca_in_function_calls=yes |
13202 else | 13287 else |
13203 conftest_rc="$?" | 13288 conftest_rc="$?" |
13204 echo "configure: failed program was:" >&5 | 13289 echo "configure: failed program was:" >&5 |
13217 EOF | 13302 EOF |
13218 } | 13303 } |
13219 | 13304 |
13220 | 13305 |
13221 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13306 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13222 echo "configure:13223: checking for working strcoll" >&5 | 13307 echo "configure:13308: checking for working strcoll" >&5 |
13223 | 13308 |
13224 cat > conftest.$ac_ext <<EOF | 13309 cat > conftest.$ac_ext <<EOF |
13225 #line 13226 "configure" | 13310 #line 13311 "configure" |
13226 #include "confdefs.h" | 13311 #include "confdefs.h" |
13227 #include <string.h> | 13312 #include <string.h> |
13228 main () | 13313 main () |
13229 { | 13314 { |
13230 exit (strcoll ("abc", "def") >= 0 || | 13315 exit (strcoll ("abc", "def") >= 0 || |
13231 strcoll ("ABC", "DEF") >= 0 || | 13316 strcoll ("ABC", "DEF") >= 0 || |
13232 strcoll ("123", "456") >= 0); | 13317 strcoll ("123", "456") >= 0); |
13233 } | 13318 } |
13234 EOF | 13319 EOF |
13235 if { (eval echo configure:13236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13320 if { (eval echo configure:13321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13236 then | 13321 then |
13237 ac_cv_func_strcoll_works=yes | 13322 ac_cv_func_strcoll_works=yes |
13238 else | 13323 else |
13239 conftest_rc="$?" | 13324 conftest_rc="$?" |
13240 echo "configure: failed program was:" >&5 | 13325 echo "configure: failed program was:" >&5 |
13258 | 13343 |
13259 | 13344 |
13260 for ac_func in getpgrp | 13345 for ac_func in getpgrp |
13261 do | 13346 do |
13262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13263 echo "configure:13264: checking for $ac_func" >&5 | 13348 echo "configure:13349: checking for $ac_func" >&5 |
13264 | 13349 |
13265 cat > conftest.$ac_ext <<EOF | 13350 cat > conftest.$ac_ext <<EOF |
13266 #line 13267 "configure" | 13351 #line 13352 "configure" |
13267 #include "confdefs.h" | 13352 #include "confdefs.h" |
13268 /* System header to define __stub macros and hopefully few prototypes, | 13353 /* System header to define __stub macros and hopefully few prototypes, |
13269 which can conflict with char $ac_func(); below. */ | 13354 which can conflict with char $ac_func(); below. */ |
13270 #include <assert.h> | 13355 #include <assert.h> |
13271 /* Override any gcc2 internal prototype to avoid an error. */ | 13356 /* Override any gcc2 internal prototype to avoid an error. */ |
13284 $ac_func(); | 13369 $ac_func(); |
13285 #endif | 13370 #endif |
13286 | 13371 |
13287 ; return 0; } | 13372 ; return 0; } |
13288 EOF | 13373 EOF |
13289 if { (eval echo configure:13290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13374 if { (eval echo configure:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13290 rm -rf conftest* | 13375 rm -rf conftest* |
13291 eval "ac_cv_func_$ac_func=yes" | 13376 eval "ac_cv_func_$ac_func=yes" |
13292 else | 13377 else |
13293 echo "configure: failed program was:" >&5 | 13378 echo "configure: failed program was:" >&5 |
13294 cat conftest.$ac_ext >&5 | 13379 cat conftest.$ac_ext >&5 |
13312 echo "$ac_t""no" 1>&6 | 13397 echo "$ac_t""no" 1>&6 |
13313 fi | 13398 fi |
13314 done | 13399 done |
13315 | 13400 |
13316 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13401 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13317 echo "configure:13318: checking whether getpgrp takes no argument" >&5 | 13402 echo "configure:13403: checking whether getpgrp takes no argument" >&5 |
13318 | 13403 |
13319 cat > conftest.$ac_ext <<EOF | 13404 cat > conftest.$ac_ext <<EOF |
13320 #line 13321 "configure" | 13405 #line 13406 "configure" |
13321 #include "confdefs.h" | 13406 #include "confdefs.h" |
13322 | 13407 |
13323 /* | 13408 /* |
13324 * If this system has a BSD-style getpgrp(), | 13409 * If this system has a BSD-style getpgrp(), |
13325 * which takes a pid argument, exit unsuccessfully. | 13410 * which takes a pid argument, exit unsuccessfully. |
13370 exit(s>>8); | 13455 exit(s>>8); |
13371 } | 13456 } |
13372 } | 13457 } |
13373 | 13458 |
13374 EOF | 13459 EOF |
13375 if { (eval echo configure:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13376 then | 13461 then |
13377 ac_cv_func_getpgrp_void=yes | 13462 ac_cv_func_getpgrp_void=yes |
13378 else | 13463 else |
13379 conftest_rc="$?" | 13464 conftest_rc="$?" |
13380 echo "configure: failed program was:" >&5 | 13465 echo "configure: failed program was:" >&5 |
13397 | 13482 |
13398 fi | 13483 fi |
13399 | 13484 |
13400 | 13485 |
13401 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13486 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13402 echo "configure:13403: checking for working mmap" >&5 | 13487 echo "configure:13488: checking for working mmap" >&5 |
13403 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13488 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13404 cat > conftest.$ac_ext <<EOF | 13489 cat > conftest.$ac_ext <<EOF |
13405 #line 13406 "configure" | 13490 #line 13491 "configure" |
13406 #include "confdefs.h" | 13491 #include "confdefs.h" |
13407 #include <stdio.h> | 13492 #include <stdio.h> |
13408 #include <unistd.h> | 13493 #include <unistd.h> |
13409 #include <fcntl.h> | 13494 #include <fcntl.h> |
13410 #include <sys/mman.h> | 13495 #include <sys/mman.h> |
13433 return 0; | 13518 return 0; |
13434 perror ("conftest: mmap failed"); | 13519 perror ("conftest: mmap failed"); |
13435 return 1; | 13520 return 1; |
13436 } | 13521 } |
13437 EOF | 13522 EOF |
13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13523 if { (eval echo configure:13524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13439 then | 13524 then |
13440 have_mmap=yes | 13525 have_mmap=yes |
13441 else | 13526 else |
13442 conftest_rc="$?" | 13527 conftest_rc="$?" |
13443 echo "configure: failed program was:" >&5 | 13528 echo "configure: failed program was:" >&5 |
13462 esac | 13547 esac |
13463 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13548 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13464 if test "$rel_alloc $have_mmap" = "default yes"; then | 13549 if test "$rel_alloc $have_mmap" = "default yes"; then |
13465 if test "$doug_lea_malloc" = "yes"; then | 13550 if test "$doug_lea_malloc" = "yes"; then |
13466 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13551 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13467 echo "configure:13468: checking for M_MMAP_THRESHOLD" >&5 | 13552 echo "configure:13553: checking for M_MMAP_THRESHOLD" >&5 |
13468 cat > conftest.$ac_ext <<EOF | 13553 cat > conftest.$ac_ext <<EOF |
13469 #line 13470 "configure" | 13554 #line 13555 "configure" |
13470 #include "confdefs.h" | 13555 #include "confdefs.h" |
13471 #include <malloc.h> | 13556 #include <malloc.h> |
13472 int main() { | 13557 int main() { |
13473 | 13558 |
13474 #ifndef M_MMAP_THRESHOLD | 13559 #ifndef M_MMAP_THRESHOLD |
13476 !@+$%^&*_)(_ - unlikely to compile... | 13561 !@+$%^&*_)(_ - unlikely to compile... |
13477 #endif | 13562 #endif |
13478 | 13563 |
13479 ; return 0; } | 13564 ; return 0; } |
13480 EOF | 13565 EOF |
13481 if { (eval echo configure:13482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13566 if { (eval echo configure:13567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13482 rm -rf conftest* | 13567 rm -rf conftest* |
13483 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13568 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13484 else | 13569 else |
13485 echo "configure: failed program was:" >&5 | 13570 echo "configure: failed program was:" >&5 |
13486 cat conftest.$ac_ext >&5 | 13571 cat conftest.$ac_ext >&5 |
13501 } | 13586 } |
13502 | 13587 |
13503 | 13588 |
13504 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13589 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13505 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13590 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13506 echo "configure:13507: checking for termios.h" >&5 | 13591 echo "configure:13592: checking for termios.h" >&5 |
13507 | 13592 |
13508 cat > conftest.$ac_ext <<EOF | 13593 cat > conftest.$ac_ext <<EOF |
13509 #line 13510 "configure" | 13594 #line 13595 "configure" |
13510 #include "confdefs.h" | 13595 #include "confdefs.h" |
13511 #include <termios.h> | 13596 #include <termios.h> |
13512 EOF | 13597 EOF |
13513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13514 { (eval echo configure:13515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13599 { (eval echo configure:13600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13516 if test -z "$ac_err"; then | 13601 if test -z "$ac_err"; then |
13517 rm -rf conftest* | 13602 rm -rf conftest* |
13518 eval "ac_cv_header_$ac_safe=yes" | 13603 eval "ac_cv_header_$ac_safe=yes" |
13519 else | 13604 else |
13552 | 13637 |
13553 else | 13638 else |
13554 echo "$ac_t""no" 1>&6 | 13639 echo "$ac_t""no" 1>&6 |
13555 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13640 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13556 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13641 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13557 echo "configure:13558: checking for termio.h" >&5 | 13642 echo "configure:13643: checking for termio.h" >&5 |
13558 | 13643 |
13559 cat > conftest.$ac_ext <<EOF | 13644 cat > conftest.$ac_ext <<EOF |
13560 #line 13561 "configure" | 13645 #line 13646 "configure" |
13561 #include "confdefs.h" | 13646 #include "confdefs.h" |
13562 #include <termio.h> | 13647 #include <termio.h> |
13563 EOF | 13648 EOF |
13564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13565 { (eval echo configure:13566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13650 { (eval echo configure:13651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13567 if test -z "$ac_err"; then | 13652 if test -z "$ac_err"; then |
13568 rm -rf conftest* | 13653 rm -rf conftest* |
13569 eval "ac_cv_header_$ac_safe=yes" | 13654 eval "ac_cv_header_$ac_safe=yes" |
13570 else | 13655 else |
13592 fi | 13677 fi |
13593 | 13678 |
13594 | 13679 |
13595 | 13680 |
13596 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13681 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13597 echo "configure:13598: checking for socket" >&5 | 13682 echo "configure:13683: checking for socket" >&5 |
13598 | 13683 |
13599 cat > conftest.$ac_ext <<EOF | 13684 cat > conftest.$ac_ext <<EOF |
13600 #line 13601 "configure" | 13685 #line 13686 "configure" |
13601 #include "confdefs.h" | 13686 #include "confdefs.h" |
13602 /* System header to define __stub macros and hopefully few prototypes, | 13687 /* System header to define __stub macros and hopefully few prototypes, |
13603 which can conflict with char socket(); below. */ | 13688 which can conflict with char socket(); below. */ |
13604 #include <assert.h> | 13689 #include <assert.h> |
13605 /* Override any gcc2 internal prototype to avoid an error. */ | 13690 /* Override any gcc2 internal prototype to avoid an error. */ |
13618 socket(); | 13703 socket(); |
13619 #endif | 13704 #endif |
13620 | 13705 |
13621 ; return 0; } | 13706 ; return 0; } |
13622 EOF | 13707 EOF |
13623 if { (eval echo configure:13624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13624 rm -rf conftest* | 13709 rm -rf conftest* |
13625 eval "ac_cv_func_socket=yes" | 13710 eval "ac_cv_func_socket=yes" |
13626 else | 13711 else |
13627 echo "configure: failed program was:" >&5 | 13712 echo "configure: failed program was:" >&5 |
13628 cat conftest.$ac_ext >&5 | 13713 cat conftest.$ac_ext >&5 |
13633 | 13718 |
13634 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13719 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13635 echo "$ac_t""yes" 1>&6 | 13720 echo "$ac_t""yes" 1>&6 |
13636 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13721 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13637 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13722 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13638 echo "configure:13639: checking for netinet/in.h" >&5 | 13723 echo "configure:13724: checking for netinet/in.h" >&5 |
13639 | 13724 |
13640 cat > conftest.$ac_ext <<EOF | 13725 cat > conftest.$ac_ext <<EOF |
13641 #line 13642 "configure" | 13726 #line 13727 "configure" |
13642 #include "confdefs.h" | 13727 #include "confdefs.h" |
13643 #include <netinet/in.h> | 13728 #include <netinet/in.h> |
13644 EOF | 13729 EOF |
13645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13646 { (eval echo configure:13647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13731 { (eval echo configure:13732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13648 if test -z "$ac_err"; then | 13733 if test -z "$ac_err"; then |
13649 rm -rf conftest* | 13734 rm -rf conftest* |
13650 eval "ac_cv_header_$ac_safe=yes" | 13735 eval "ac_cv_header_$ac_safe=yes" |
13651 else | 13736 else |
13658 rm -f conftest* | 13743 rm -f conftest* |
13659 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13744 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13660 echo "$ac_t""yes" 1>&6 | 13745 echo "$ac_t""yes" 1>&6 |
13661 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13746 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13662 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13747 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13663 echo "configure:13664: checking for arpa/inet.h" >&5 | 13748 echo "configure:13749: checking for arpa/inet.h" >&5 |
13664 | 13749 |
13665 cat > conftest.$ac_ext <<EOF | 13750 cat > conftest.$ac_ext <<EOF |
13666 #line 13667 "configure" | 13751 #line 13752 "configure" |
13667 #include "confdefs.h" | 13752 #include "confdefs.h" |
13668 #include <arpa/inet.h> | 13753 #include <arpa/inet.h> |
13669 EOF | 13754 EOF |
13670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13671 { (eval echo configure:13672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13756 { (eval echo configure:13757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13673 if test -z "$ac_err"; then | 13758 if test -z "$ac_err"; then |
13674 rm -rf conftest* | 13759 rm -rf conftest* |
13675 eval "ac_cv_header_$ac_safe=yes" | 13760 eval "ac_cv_header_$ac_safe=yes" |
13676 else | 13761 else |
13691 #define HAVE_SOCKETS 1 | 13776 #define HAVE_SOCKETS 1 |
13692 EOF | 13777 EOF |
13693 } | 13778 } |
13694 | 13779 |
13695 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13780 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13696 echo "configure:13697: checking "for sun_len member in struct sockaddr_un"" >&5 | 13781 echo "configure:13782: checking "for sun_len member in struct sockaddr_un"" >&5 |
13697 cat > conftest.$ac_ext <<EOF | 13782 cat > conftest.$ac_ext <<EOF |
13698 #line 13699 "configure" | 13783 #line 13784 "configure" |
13699 #include "confdefs.h" | 13784 #include "confdefs.h" |
13700 | 13785 |
13701 #include <sys/types.h> | 13786 #include <sys/types.h> |
13702 #include <sys/socket.h> | 13787 #include <sys/socket.h> |
13703 #include <sys/un.h> | 13788 #include <sys/un.h> |
13704 | 13789 |
13705 int main() { | 13790 int main() { |
13706 static struct sockaddr_un x; x.sun_len = 1; | 13791 static struct sockaddr_un x; x.sun_len = 1; |
13707 ; return 0; } | 13792 ; return 0; } |
13708 EOF | 13793 EOF |
13709 if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13794 if { (eval echo configure:13795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13710 rm -rf conftest* | 13795 rm -rf conftest* |
13711 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13796 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13712 Defining HAVE_SOCKADDR_SUN_LEN | 13797 Defining HAVE_SOCKADDR_SUN_LEN |
13713 EOF | 13798 EOF |
13714 cat >> confdefs.h <<\EOF | 13799 cat >> confdefs.h <<\EOF |
13722 rm -rf conftest* | 13807 rm -rf conftest* |
13723 echo "$ac_t""no" 1>&6 | 13808 echo "$ac_t""no" 1>&6 |
13724 fi | 13809 fi |
13725 rm -f conftest* | 13810 rm -f conftest* |
13726 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13811 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13727 echo "configure:13728: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13812 echo "configure:13813: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13728 cat > conftest.$ac_ext <<EOF | 13813 cat > conftest.$ac_ext <<EOF |
13729 #line 13730 "configure" | 13814 #line 13815 "configure" |
13730 #include "confdefs.h" | 13815 #include "confdefs.h" |
13731 | 13816 |
13732 #include <sys/types.h> | 13817 #include <sys/types.h> |
13733 #include <netinet/in.h> | 13818 #include <netinet/in.h> |
13734 | 13819 |
13735 int main() { | 13820 int main() { |
13736 static struct ip_mreq x; | 13821 static struct ip_mreq x; |
13737 ; return 0; } | 13822 ; return 0; } |
13738 EOF | 13823 EOF |
13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13824 if { (eval echo configure:13825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13740 rm -rf conftest* | 13825 rm -rf conftest* |
13741 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13826 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13742 Defining HAVE_MULTICAST | 13827 Defining HAVE_MULTICAST |
13743 EOF | 13828 EOF |
13744 cat >> confdefs.h <<\EOF | 13829 cat >> confdefs.h <<\EOF |
13765 echo "$ac_t""no" 1>&6 | 13850 echo "$ac_t""no" 1>&6 |
13766 fi | 13851 fi |
13767 | 13852 |
13768 | 13853 |
13769 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13854 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13770 echo "configure:13771: checking for msgget" >&5 | 13855 echo "configure:13856: checking for msgget" >&5 |
13771 | 13856 |
13772 cat > conftest.$ac_ext <<EOF | 13857 cat > conftest.$ac_ext <<EOF |
13773 #line 13774 "configure" | 13858 #line 13859 "configure" |
13774 #include "confdefs.h" | 13859 #include "confdefs.h" |
13775 /* System header to define __stub macros and hopefully few prototypes, | 13860 /* System header to define __stub macros and hopefully few prototypes, |
13776 which can conflict with char msgget(); below. */ | 13861 which can conflict with char msgget(); below. */ |
13777 #include <assert.h> | 13862 #include <assert.h> |
13778 /* Override any gcc2 internal prototype to avoid an error. */ | 13863 /* Override any gcc2 internal prototype to avoid an error. */ |
13791 msgget(); | 13876 msgget(); |
13792 #endif | 13877 #endif |
13793 | 13878 |
13794 ; return 0; } | 13879 ; return 0; } |
13795 EOF | 13880 EOF |
13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13881 if { (eval echo configure:13882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13797 rm -rf conftest* | 13882 rm -rf conftest* |
13798 eval "ac_cv_func_msgget=yes" | 13883 eval "ac_cv_func_msgget=yes" |
13799 else | 13884 else |
13800 echo "configure: failed program was:" >&5 | 13885 echo "configure: failed program was:" >&5 |
13801 cat conftest.$ac_ext >&5 | 13886 cat conftest.$ac_ext >&5 |
13806 | 13891 |
13807 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13892 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13808 echo "$ac_t""yes" 1>&6 | 13893 echo "$ac_t""yes" 1>&6 |
13809 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13894 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13810 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13895 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13811 echo "configure:13812: checking for sys/ipc.h" >&5 | 13896 echo "configure:13897: checking for sys/ipc.h" >&5 |
13812 | 13897 |
13813 cat > conftest.$ac_ext <<EOF | 13898 cat > conftest.$ac_ext <<EOF |
13814 #line 13815 "configure" | 13899 #line 13900 "configure" |
13815 #include "confdefs.h" | 13900 #include "confdefs.h" |
13816 #include <sys/ipc.h> | 13901 #include <sys/ipc.h> |
13817 EOF | 13902 EOF |
13818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13819 { (eval echo configure:13820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13904 { (eval echo configure:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13821 if test -z "$ac_err"; then | 13906 if test -z "$ac_err"; then |
13822 rm -rf conftest* | 13907 rm -rf conftest* |
13823 eval "ac_cv_header_$ac_safe=yes" | 13908 eval "ac_cv_header_$ac_safe=yes" |
13824 else | 13909 else |
13831 rm -f conftest* | 13916 rm -f conftest* |
13832 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13833 echo "$ac_t""yes" 1>&6 | 13918 echo "$ac_t""yes" 1>&6 |
13834 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13919 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13835 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13920 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13836 echo "configure:13837: checking for sys/msg.h" >&5 | 13921 echo "configure:13922: checking for sys/msg.h" >&5 |
13837 | 13922 |
13838 cat > conftest.$ac_ext <<EOF | 13923 cat > conftest.$ac_ext <<EOF |
13839 #line 13840 "configure" | 13924 #line 13925 "configure" |
13840 #include "confdefs.h" | 13925 #include "confdefs.h" |
13841 #include <sys/msg.h> | 13926 #include <sys/msg.h> |
13842 EOF | 13927 EOF |
13843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13844 { (eval echo configure:13845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13929 { (eval echo configure:13930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13846 if test -z "$ac_err"; then | 13931 if test -z "$ac_err"; then |
13847 rm -rf conftest* | 13932 rm -rf conftest* |
13848 eval "ac_cv_header_$ac_safe=yes" | 13933 eval "ac_cv_header_$ac_safe=yes" |
13849 else | 13934 else |
13877 fi | 13962 fi |
13878 | 13963 |
13879 | 13964 |
13880 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13965 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13881 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13966 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13882 echo "configure:13883: checking for dirent.h" >&5 | 13967 echo "configure:13968: checking for dirent.h" >&5 |
13883 | 13968 |
13884 cat > conftest.$ac_ext <<EOF | 13969 cat > conftest.$ac_ext <<EOF |
13885 #line 13886 "configure" | 13970 #line 13971 "configure" |
13886 #include "confdefs.h" | 13971 #include "confdefs.h" |
13887 #include <dirent.h> | 13972 #include <dirent.h> |
13888 EOF | 13973 EOF |
13889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13890 { (eval echo configure:13891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13975 { (eval echo configure:13976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13892 if test -z "$ac_err"; then | 13977 if test -z "$ac_err"; then |
13893 rm -rf conftest* | 13978 rm -rf conftest* |
13894 eval "ac_cv_header_$ac_safe=yes" | 13979 eval "ac_cv_header_$ac_safe=yes" |
13895 else | 13980 else |
13912 | 13997 |
13913 else | 13998 else |
13914 echo "$ac_t""no" 1>&6 | 13999 echo "$ac_t""no" 1>&6 |
13915 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14000 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13916 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14001 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13917 echo "configure:13918: checking for sys/dir.h" >&5 | 14002 echo "configure:14003: checking for sys/dir.h" >&5 |
13918 | 14003 |
13919 cat > conftest.$ac_ext <<EOF | 14004 cat > conftest.$ac_ext <<EOF |
13920 #line 13921 "configure" | 14005 #line 14006 "configure" |
13921 #include "confdefs.h" | 14006 #include "confdefs.h" |
13922 #include <sys/dir.h> | 14007 #include <sys/dir.h> |
13923 EOF | 14008 EOF |
13924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13925 { (eval echo configure:13926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14010 { (eval echo configure:14011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13927 if test -z "$ac_err"; then | 14012 if test -z "$ac_err"; then |
13928 rm -rf conftest* | 14013 rm -rf conftest* |
13929 eval "ac_cv_header_$ac_safe=yes" | 14014 eval "ac_cv_header_$ac_safe=yes" |
13930 else | 14015 else |
13953 fi | 14038 fi |
13954 | 14039 |
13955 | 14040 |
13956 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14041 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13957 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14042 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13958 echo "configure:13959: checking for nlist.h" >&5 | 14043 echo "configure:14044: checking for nlist.h" >&5 |
13959 | 14044 |
13960 cat > conftest.$ac_ext <<EOF | 14045 cat > conftest.$ac_ext <<EOF |
13961 #line 13962 "configure" | 14046 #line 14047 "configure" |
13962 #include "confdefs.h" | 14047 #include "confdefs.h" |
13963 #include <nlist.h> | 14048 #include <nlist.h> |
13964 EOF | 14049 EOF |
13965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13966 { (eval echo configure:13967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14051 { (eval echo configure:14052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13968 if test -z "$ac_err"; then | 14053 if test -z "$ac_err"; then |
13969 rm -rf conftest* | 14054 rm -rf conftest* |
13970 eval "ac_cv_header_$ac_safe=yes" | 14055 eval "ac_cv_header_$ac_safe=yes" |
13971 else | 14056 else |
13991 fi | 14076 fi |
13992 | 14077 |
13993 | 14078 |
13994 | 14079 |
13995 echo "checking "for sound support"" 1>&6 | 14080 echo "checking "for sound support"" 1>&6 |
13996 echo "configure:13997: checking "for sound support"" >&5 | 14081 echo "configure:14082: checking "for sound support"" >&5 |
13997 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14082 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13998 | 14083 |
13999 if test "$with_native_sound" != "no"; then | 14084 if test "$with_native_sound" != "no"; then |
14000 if test -n "$native_sound_lib"; then | 14085 if test -n "$native_sound_lib"; then |
14001 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14086 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14002 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14087 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14003 echo "configure:14004: checking for multimedia/audio_device.h" >&5 | 14088 echo "configure:14089: checking for multimedia/audio_device.h" >&5 |
14004 | 14089 |
14005 cat > conftest.$ac_ext <<EOF | 14090 cat > conftest.$ac_ext <<EOF |
14006 #line 14007 "configure" | 14091 #line 14092 "configure" |
14007 #include "confdefs.h" | 14092 #include "confdefs.h" |
14008 #include <multimedia/audio_device.h> | 14093 #include <multimedia/audio_device.h> |
14009 EOF | 14094 EOF |
14010 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14011 { (eval echo configure:14012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14096 { (eval echo configure:14097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14012 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14013 if test -z "$ac_err"; then | 14098 if test -z "$ac_err"; then |
14014 rm -rf conftest* | 14099 rm -rf conftest* |
14015 eval "ac_cv_header_$ac_safe=yes" | 14100 eval "ac_cv_header_$ac_safe=yes" |
14016 else | 14101 else |
14062 case "$canonical" in | 14147 case "$canonical" in |
14063 *-sgi-* ) | 14148 *-sgi-* ) |
14064 if test -z "$native_sound_lib"; then | 14149 if test -z "$native_sound_lib"; then |
14065 | 14150 |
14066 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14151 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14067 echo "configure:14068: checking for ALopenport in -laudio" >&5 | 14152 echo "configure:14153: checking for ALopenport in -laudio" >&5 |
14068 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14153 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14069 | 14154 |
14070 xe_check_libs=" -laudio " | 14155 xe_check_libs=" -laudio " |
14071 cat > conftest.$ac_ext <<EOF | 14156 cat > conftest.$ac_ext <<EOF |
14072 #line 14073 "configure" | 14157 #line 14158 "configure" |
14073 #include "confdefs.h" | 14158 #include "confdefs.h" |
14074 /* Override any gcc2 internal prototype to avoid an error. */ | 14159 /* Override any gcc2 internal prototype to avoid an error. */ |
14075 /* We use char because int might match the return type of a gcc2 | 14160 /* We use char because int might match the return type of a gcc2 |
14076 builtin and then its argument prototype would still apply. */ | 14161 builtin and then its argument prototype would still apply. */ |
14077 char ALopenport(); | 14162 char ALopenport(); |
14078 | 14163 |
14079 int main() { | 14164 int main() { |
14080 ALopenport() | 14165 ALopenport() |
14081 ; return 0; } | 14166 ; return 0; } |
14082 EOF | 14167 EOF |
14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14168 if { (eval echo configure:14169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14084 rm -rf conftest* | 14169 rm -rf conftest* |
14085 eval "ac_cv_lib_$ac_lib_var=yes" | 14170 eval "ac_cv_lib_$ac_lib_var=yes" |
14086 else | 14171 else |
14087 echo "configure: failed program was:" >&5 | 14172 echo "configure: failed program was:" >&5 |
14088 cat conftest.$ac_ext >&5 | 14173 cat conftest.$ac_ext >&5 |
14109 fi ;; | 14194 fi ;; |
14110 hppa*-hp-hpux* ) | 14195 hppa*-hp-hpux* ) |
14111 if test -z "$native_sound_lib"; then | 14196 if test -z "$native_sound_lib"; then |
14112 | 14197 |
14113 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14198 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14114 echo "configure:14115: checking for AOpenAudio in -lAlib" >&5 | 14199 echo "configure:14200: checking for AOpenAudio in -lAlib" >&5 |
14115 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14200 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14116 | 14201 |
14117 xe_check_libs=" -lAlib " | 14202 xe_check_libs=" -lAlib " |
14118 cat > conftest.$ac_ext <<EOF | 14203 cat > conftest.$ac_ext <<EOF |
14119 #line 14120 "configure" | 14204 #line 14205 "configure" |
14120 #include "confdefs.h" | 14205 #include "confdefs.h" |
14121 /* Override any gcc2 internal prototype to avoid an error. */ | 14206 /* Override any gcc2 internal prototype to avoid an error. */ |
14122 /* We use char because int might match the return type of a gcc2 | 14207 /* We use char because int might match the return type of a gcc2 |
14123 builtin and then its argument prototype would still apply. */ | 14208 builtin and then its argument prototype would still apply. */ |
14124 char AOpenAudio(); | 14209 char AOpenAudio(); |
14125 | 14210 |
14126 int main() { | 14211 int main() { |
14127 AOpenAudio() | 14212 AOpenAudio() |
14128 ; return 0; } | 14213 ; return 0; } |
14129 EOF | 14214 EOF |
14130 if { (eval echo configure:14131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14215 if { (eval echo configure:14216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14131 rm -rf conftest* | 14216 rm -rf conftest* |
14132 eval "ac_cv_lib_$ac_lib_var=yes" | 14217 eval "ac_cv_lib_$ac_lib_var=yes" |
14133 else | 14218 else |
14134 echo "configure: failed program was:" >&5 | 14219 echo "configure: failed program was:" >&5 |
14135 cat conftest.$ac_ext >&5 | 14220 cat conftest.$ac_ext >&5 |
14173 | 14258 |
14174 if test -z "$sound_found"; then | 14259 if test -z "$sound_found"; then |
14175 for dir in "machine" "sys" "linux"; do | 14260 for dir in "machine" "sys" "linux"; do |
14176 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14261 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14177 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14262 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14178 echo "configure:14179: checking for ${dir}/soundcard.h" >&5 | 14263 echo "configure:14264: checking for ${dir}/soundcard.h" >&5 |
14179 | 14264 |
14180 cat > conftest.$ac_ext <<EOF | 14265 cat > conftest.$ac_ext <<EOF |
14181 #line 14182 "configure" | 14266 #line 14267 "configure" |
14182 #include "confdefs.h" | 14267 #include "confdefs.h" |
14183 #include <${dir}/soundcard.h> | 14268 #include <${dir}/soundcard.h> |
14184 EOF | 14269 EOF |
14185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14186 { (eval echo configure:14187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14271 { (eval echo configure:14272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14188 if test -z "$ac_err"; then | 14273 if test -z "$ac_err"; then |
14189 rm -rf conftest* | 14274 rm -rf conftest* |
14190 eval "ac_cv_header_$ac_safe=yes" | 14275 eval "ac_cv_header_$ac_safe=yes" |
14191 else | 14276 else |
14235 fi | 14320 fi |
14236 | 14321 |
14237 if test "$with_nas_sound" != "no"; then | 14322 if test "$with_nas_sound" != "no"; then |
14238 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14323 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14239 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14324 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14240 echo "configure:14241: checking for audio/audiolib.h" >&5 | 14325 echo "configure:14326: checking for audio/audiolib.h" >&5 |
14241 | 14326 |
14242 cat > conftest.$ac_ext <<EOF | 14327 cat > conftest.$ac_ext <<EOF |
14243 #line 14244 "configure" | 14328 #line 14329 "configure" |
14244 #include "confdefs.h" | 14329 #include "confdefs.h" |
14245 #include <audio/audiolib.h> | 14330 #include <audio/audiolib.h> |
14246 EOF | 14331 EOF |
14247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14248 { (eval echo configure:14249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14333 { (eval echo configure:14334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14250 if test -z "$ac_err"; then | 14335 if test -z "$ac_err"; then |
14251 rm -rf conftest* | 14336 rm -rf conftest* |
14252 eval "ac_cv_header_$ac_safe=yes" | 14337 eval "ac_cv_header_$ac_safe=yes" |
14253 else | 14338 else |
14261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14346 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14262 echo "$ac_t""yes" 1>&6 | 14347 echo "$ac_t""yes" 1>&6 |
14263 | 14348 |
14264 | 14349 |
14265 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14350 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14266 echo "configure:14267: checking for AuOpenServer in -laudio" >&5 | 14351 echo "configure:14352: checking for AuOpenServer in -laudio" >&5 |
14267 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14352 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14268 | 14353 |
14269 xe_check_libs=" -laudio " | 14354 xe_check_libs=" -laudio " |
14270 cat > conftest.$ac_ext <<EOF | 14355 cat > conftest.$ac_ext <<EOF |
14271 #line 14272 "configure" | 14356 #line 14357 "configure" |
14272 #include "confdefs.h" | 14357 #include "confdefs.h" |
14273 /* Override any gcc2 internal prototype to avoid an error. */ | 14358 /* Override any gcc2 internal prototype to avoid an error. */ |
14274 /* We use char because int might match the return type of a gcc2 | 14359 /* We use char because int might match the return type of a gcc2 |
14275 builtin and then its argument prototype would still apply. */ | 14360 builtin and then its argument prototype would still apply. */ |
14276 char AuOpenServer(); | 14361 char AuOpenServer(); |
14277 | 14362 |
14278 int main() { | 14363 int main() { |
14279 AuOpenServer() | 14364 AuOpenServer() |
14280 ; return 0; } | 14365 ; return 0; } |
14281 EOF | 14366 EOF |
14282 if { (eval echo configure:14283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14367 if { (eval echo configure:14368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14283 rm -rf conftest* | 14368 rm -rf conftest* |
14284 eval "ac_cv_lib_$ac_lib_var=yes" | 14369 eval "ac_cv_lib_$ac_lib_var=yes" |
14285 else | 14370 else |
14286 echo "configure: failed program was:" >&5 | 14371 echo "configure: failed program was:" >&5 |
14287 cat conftest.$ac_ext >&5 | 14372 cat conftest.$ac_ext >&5 |
14316 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14401 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14317 echo " xemacs will be linked with \"nas.o\"" | 14402 echo " xemacs will be linked with \"nas.o\"" |
14318 fi | 14403 fi |
14319 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14404 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14320 cat > conftest.$ac_ext <<EOF | 14405 cat > conftest.$ac_ext <<EOF |
14321 #line 14322 "configure" | 14406 #line 14407 "configure" |
14322 #include "confdefs.h" | 14407 #include "confdefs.h" |
14323 #include <audio/Xtutil.h> | 14408 #include <audio/Xtutil.h> |
14324 EOF | 14409 EOF |
14325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14326 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14411 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14347 | 14432 |
14348 if test "$with_esd_sound" != "no"; then | 14433 if test "$with_esd_sound" != "no"; then |
14349 # Extract the first word of "esd-config", so it can be a program name with args. | 14434 # Extract the first word of "esd-config", so it can be a program name with args. |
14350 set dummy esd-config; ac_word=$2 | 14435 set dummy esd-config; ac_word=$2 |
14351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14352 echo "configure:14353: checking for $ac_word" >&5 | 14437 echo "configure:14438: checking for $ac_word" >&5 |
14353 | 14438 |
14354 if test -n "$have_esd_config"; then | 14439 if test -n "$have_esd_config"; then |
14355 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14440 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14356 else | 14441 else |
14357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14442 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14376 if test "$have_esd_config" = "yes"; then | 14461 if test "$have_esd_config" = "yes"; then |
14377 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14462 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14378 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 | 14463 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 |
14379 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14464 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14380 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14465 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14381 echo "configure:14382: checking for esd_play_stream" >&5 | 14466 echo "configure:14467: checking for esd_play_stream" >&5 |
14382 | 14467 |
14383 cat > conftest.$ac_ext <<EOF | 14468 cat > conftest.$ac_ext <<EOF |
14384 #line 14385 "configure" | 14469 #line 14470 "configure" |
14385 #include "confdefs.h" | 14470 #include "confdefs.h" |
14386 /* System header to define __stub macros and hopefully few prototypes, | 14471 /* System header to define __stub macros and hopefully few prototypes, |
14387 which can conflict with char esd_play_stream(); below. */ | 14472 which can conflict with char esd_play_stream(); below. */ |
14388 #include <assert.h> | 14473 #include <assert.h> |
14389 /* Override any gcc2 internal prototype to avoid an error. */ | 14474 /* Override any gcc2 internal prototype to avoid an error. */ |
14402 esd_play_stream(); | 14487 esd_play_stream(); |
14403 #endif | 14488 #endif |
14404 | 14489 |
14405 ; return 0; } | 14490 ; return 0; } |
14406 EOF | 14491 EOF |
14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14492 if { (eval echo configure:14493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14408 rm -rf conftest* | 14493 rm -rf conftest* |
14409 eval "ac_cv_func_esd_play_stream=yes" | 14494 eval "ac_cv_func_esd_play_stream=yes" |
14410 else | 14495 else |
14411 echo "configure: failed program was:" >&5 | 14496 echo "configure: failed program was:" >&5 |
14412 cat conftest.$ac_ext >&5 | 14497 cat conftest.$ac_ext >&5 |
14453 | 14538 |
14454 test -z "$with_tty" && with_tty=yes | 14539 test -z "$with_tty" && with_tty=yes |
14455 | 14540 |
14456 if test "$with_tty" = "yes" ; then | 14541 if test "$with_tty" = "yes" ; then |
14457 echo "checking for TTY-related features" 1>&6 | 14542 echo "checking for TTY-related features" 1>&6 |
14458 echo "configure:14459: checking for TTY-related features" >&5 | 14543 echo "configure:14544: checking for TTY-related features" >&5 |
14459 { test "$extra_verbose" = "yes" && cat << \EOF | 14544 { test "$extra_verbose" = "yes" && cat << \EOF |
14460 Defining HAVE_TTY | 14545 Defining HAVE_TTY |
14461 EOF | 14546 EOF |
14462 cat >> confdefs.h <<\EOF | 14547 cat >> confdefs.h <<\EOF |
14463 #define HAVE_TTY 1 | 14548 #define HAVE_TTY 1 |
14466 | 14551 |
14467 | 14552 |
14468 if test -z "$with_ncurses"; then | 14553 if test -z "$with_ncurses"; then |
14469 | 14554 |
14470 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14555 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14471 echo "configure:14472: checking for tgetent in -lncurses" >&5 | 14556 echo "configure:14557: checking for tgetent in -lncurses" >&5 |
14472 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14557 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14473 | 14558 |
14474 xe_check_libs=" -lncurses " | 14559 xe_check_libs=" -lncurses " |
14475 cat > conftest.$ac_ext <<EOF | 14560 cat > conftest.$ac_ext <<EOF |
14476 #line 14477 "configure" | 14561 #line 14562 "configure" |
14477 #include "confdefs.h" | 14562 #include "confdefs.h" |
14478 /* Override any gcc2 internal prototype to avoid an error. */ | 14563 /* Override any gcc2 internal prototype to avoid an error. */ |
14479 /* We use char because int might match the return type of a gcc2 | 14564 /* We use char because int might match the return type of a gcc2 |
14480 builtin and then its argument prototype would still apply. */ | 14565 builtin and then its argument prototype would still apply. */ |
14481 char tgetent(); | 14566 char tgetent(); |
14482 | 14567 |
14483 int main() { | 14568 int main() { |
14484 tgetent() | 14569 tgetent() |
14485 ; return 0; } | 14570 ; return 0; } |
14486 EOF | 14571 EOF |
14487 if { (eval echo configure:14488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14572 if { (eval echo configure:14573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14488 rm -rf conftest* | 14573 rm -rf conftest* |
14489 eval "ac_cv_lib_$ac_lib_var=yes" | 14574 eval "ac_cv_lib_$ac_lib_var=yes" |
14490 else | 14575 else |
14491 echo "configure: failed program was:" >&5 | 14576 echo "configure: failed program was:" >&5 |
14492 cat conftest.$ac_ext >&5 | 14577 cat conftest.$ac_ext >&5 |
14515 EOF | 14600 EOF |
14516 } | 14601 } |
14517 | 14602 |
14518 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14603 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14519 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14604 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14520 echo "configure:14521: checking for ncurses/curses.h" >&5 | 14605 echo "configure:14606: checking for ncurses/curses.h" >&5 |
14521 | 14606 |
14522 cat > conftest.$ac_ext <<EOF | 14607 cat > conftest.$ac_ext <<EOF |
14523 #line 14524 "configure" | 14608 #line 14609 "configure" |
14524 #include "confdefs.h" | 14609 #include "confdefs.h" |
14525 #include <ncurses/curses.h> | 14610 #include <ncurses/curses.h> |
14526 EOF | 14611 EOF |
14527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14528 { (eval echo configure:14529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14613 { (eval echo configure:14614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14530 if test -z "$ac_err"; then | 14615 if test -z "$ac_err"; then |
14531 rm -rf conftest* | 14616 rm -rf conftest* |
14532 eval "ac_cv_header_$ac_safe=yes" | 14617 eval "ac_cv_header_$ac_safe=yes" |
14533 else | 14618 else |
14545 echo "$ac_t""no" 1>&6 | 14630 echo "$ac_t""no" 1>&6 |
14546 fi | 14631 fi |
14547 | 14632 |
14548 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14633 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14549 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14634 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14550 echo "configure:14551: checking for ncurses/term.h" >&5 | 14635 echo "configure:14636: checking for ncurses/term.h" >&5 |
14551 | 14636 |
14552 cat > conftest.$ac_ext <<EOF | 14637 cat > conftest.$ac_ext <<EOF |
14553 #line 14554 "configure" | 14638 #line 14639 "configure" |
14554 #include "confdefs.h" | 14639 #include "confdefs.h" |
14555 #include <ncurses/term.h> | 14640 #include <ncurses/term.h> |
14556 EOF | 14641 EOF |
14557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14558 { (eval echo configure:14559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14643 { (eval echo configure:14644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14560 if test -z "$ac_err"; then | 14645 if test -z "$ac_err"; then |
14561 rm -rf conftest* | 14646 rm -rf conftest* |
14562 eval "ac_cv_header_$ac_safe=yes" | 14647 eval "ac_cv_header_$ac_safe=yes" |
14563 else | 14648 else |
14583 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14668 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14584 save_c_switch_site="$c_switch_site" | 14669 save_c_switch_site="$c_switch_site" |
14585 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14670 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14586 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14671 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14587 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14672 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14588 echo "configure:14589: checking for ncurses/curses.h" >&5 | 14673 echo "configure:14674: checking for ncurses/curses.h" >&5 |
14589 | 14674 |
14590 cat > conftest.$ac_ext <<EOF | 14675 cat > conftest.$ac_ext <<EOF |
14591 #line 14592 "configure" | 14676 #line 14677 "configure" |
14592 #include "confdefs.h" | 14677 #include "confdefs.h" |
14593 #include <ncurses/curses.h> | 14678 #include <ncurses/curses.h> |
14594 EOF | 14679 EOF |
14595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14596 { (eval echo configure:14597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14681 { (eval echo configure:14682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14598 if test -z "$ac_err"; then | 14683 if test -z "$ac_err"; then |
14599 rm -rf conftest* | 14684 rm -rf conftest* |
14600 eval "ac_cv_header_$ac_safe=yes" | 14685 eval "ac_cv_header_$ac_safe=yes" |
14601 else | 14686 else |
14626 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14711 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14627 else | 14712 else |
14628 for lib in curses termlib termcap; do | 14713 for lib in curses termlib termcap; do |
14629 | 14714 |
14630 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14715 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14631 echo "configure:14632: checking for tgetent in -l$lib" >&5 | 14716 echo "configure:14717: checking for tgetent in -l$lib" >&5 |
14632 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14717 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14633 | 14718 |
14634 xe_check_libs=" -l$lib " | 14719 xe_check_libs=" -l$lib " |
14635 cat > conftest.$ac_ext <<EOF | 14720 cat > conftest.$ac_ext <<EOF |
14636 #line 14637 "configure" | 14721 #line 14722 "configure" |
14637 #include "confdefs.h" | 14722 #include "confdefs.h" |
14638 /* Override any gcc2 internal prototype to avoid an error. */ | 14723 /* Override any gcc2 internal prototype to avoid an error. */ |
14639 /* We use char because int might match the return type of a gcc2 | 14724 /* We use char because int might match the return type of a gcc2 |
14640 builtin and then its argument prototype would still apply. */ | 14725 builtin and then its argument prototype would still apply. */ |
14641 char tgetent(); | 14726 char tgetent(); |
14642 | 14727 |
14643 int main() { | 14728 int main() { |
14644 tgetent() | 14729 tgetent() |
14645 ; return 0; } | 14730 ; return 0; } |
14646 EOF | 14731 EOF |
14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14732 if { (eval echo configure:14733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14648 rm -rf conftest* | 14733 rm -rf conftest* |
14649 eval "ac_cv_lib_$ac_lib_var=yes" | 14734 eval "ac_cv_lib_$ac_lib_var=yes" |
14650 else | 14735 else |
14651 echo "configure: failed program was:" >&5 | 14736 echo "configure: failed program was:" >&5 |
14652 cat conftest.$ac_ext >&5 | 14737 cat conftest.$ac_ext >&5 |
14673 if test -n "$libs_termcap"; then | 14758 if test -n "$libs_termcap"; then |
14674 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14759 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14675 else | 14760 else |
14676 | 14761 |
14677 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14762 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14678 echo "configure:14679: checking for tgetent in -lcurses" >&5 | 14763 echo "configure:14764: checking for tgetent in -lcurses" >&5 |
14679 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14764 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14680 | 14765 |
14681 xe_check_libs=" -lcurses " | 14766 xe_check_libs=" -lcurses " |
14682 cat > conftest.$ac_ext <<EOF | 14767 cat > conftest.$ac_ext <<EOF |
14683 #line 14684 "configure" | 14768 #line 14769 "configure" |
14684 #include "confdefs.h" | 14769 #include "confdefs.h" |
14685 /* Override any gcc2 internal prototype to avoid an error. */ | 14770 /* Override any gcc2 internal prototype to avoid an error. */ |
14686 /* We use char because int might match the return type of a gcc2 | 14771 /* We use char because int might match the return type of a gcc2 |
14687 builtin and then its argument prototype would still apply. */ | 14772 builtin and then its argument prototype would still apply. */ |
14688 char tgetent(); | 14773 char tgetent(); |
14689 | 14774 |
14690 int main() { | 14775 int main() { |
14691 tgetent() | 14776 tgetent() |
14692 ; return 0; } | 14777 ; return 0; } |
14693 EOF | 14778 EOF |
14694 if { (eval echo configure:14695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14779 if { (eval echo configure:14780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14695 rm -rf conftest* | 14780 rm -rf conftest* |
14696 eval "ac_cv_lib_$ac_lib_var=yes" | 14781 eval "ac_cv_lib_$ac_lib_var=yes" |
14697 else | 14782 else |
14698 echo "configure: failed program was:" >&5 | 14783 echo "configure: failed program was:" >&5 |
14699 cat conftest.$ac_ext >&5 | 14784 cat conftest.$ac_ext >&5 |
14707 echo "$ac_t""yes" 1>&6 | 14792 echo "$ac_t""yes" 1>&6 |
14708 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14793 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14709 else | 14794 else |
14710 echo "$ac_t""no" 1>&6 | 14795 echo "$ac_t""no" 1>&6 |
14711 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14796 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14712 echo "configure:14713: checking for tgetent in -ltermcap" >&5 | 14797 echo "configure:14798: checking for tgetent in -ltermcap" >&5 |
14713 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14798 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14714 | 14799 |
14715 xe_check_libs=" -ltermcap " | 14800 xe_check_libs=" -ltermcap " |
14716 cat > conftest.$ac_ext <<EOF | 14801 cat > conftest.$ac_ext <<EOF |
14717 #line 14718 "configure" | 14802 #line 14803 "configure" |
14718 #include "confdefs.h" | 14803 #include "confdefs.h" |
14719 /* Override any gcc2 internal prototype to avoid an error. */ | 14804 /* Override any gcc2 internal prototype to avoid an error. */ |
14720 /* We use char because int might match the return type of a gcc2 | 14805 /* We use char because int might match the return type of a gcc2 |
14721 builtin and then its argument prototype would still apply. */ | 14806 builtin and then its argument prototype would still apply. */ |
14722 char tgetent(); | 14807 char tgetent(); |
14723 | 14808 |
14724 int main() { | 14809 int main() { |
14725 tgetent() | 14810 tgetent() |
14726 ; return 0; } | 14811 ; return 0; } |
14727 EOF | 14812 EOF |
14728 if { (eval echo configure:14729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14813 if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14729 rm -rf conftest* | 14814 rm -rf conftest* |
14730 eval "ac_cv_lib_$ac_lib_var=yes" | 14815 eval "ac_cv_lib_$ac_lib_var=yes" |
14731 else | 14816 else |
14732 echo "configure: failed program was:" >&5 | 14817 echo "configure: failed program was:" >&5 |
14733 cat conftest.$ac_ext >&5 | 14818 cat conftest.$ac_ext >&5 |
14771 } | 14856 } |
14772 | 14857 |
14773 | 14858 |
14774 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14859 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14775 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14860 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14776 echo "configure:14777: checking for gpm.h" >&5 | 14861 echo "configure:14862: checking for gpm.h" >&5 |
14777 | 14862 |
14778 cat > conftest.$ac_ext <<EOF | 14863 cat > conftest.$ac_ext <<EOF |
14779 #line 14780 "configure" | 14864 #line 14865 "configure" |
14780 #include "confdefs.h" | 14865 #include "confdefs.h" |
14781 #include <gpm.h> | 14866 #include <gpm.h> |
14782 EOF | 14867 EOF |
14783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14784 { (eval echo configure:14785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14869 { (eval echo configure:14870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14786 if test -z "$ac_err"; then | 14871 if test -z "$ac_err"; then |
14787 rm -rf conftest* | 14872 rm -rf conftest* |
14788 eval "ac_cv_header_$ac_safe=yes" | 14873 eval "ac_cv_header_$ac_safe=yes" |
14789 else | 14874 else |
14802 with_gpm=no | 14887 with_gpm=no |
14803 fi | 14888 fi |
14804 } | 14889 } |
14805 test -z "$with_gpm" && { | 14890 test -z "$with_gpm" && { |
14806 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14891 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14807 echo "configure:14808: checking for Gpm_Open in -lgpm" >&5 | 14892 echo "configure:14893: checking for Gpm_Open in -lgpm" >&5 |
14808 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14893 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14809 | 14894 |
14810 xe_check_libs=" -lgpm " | 14895 xe_check_libs=" -lgpm " |
14811 cat > conftest.$ac_ext <<EOF | 14896 cat > conftest.$ac_ext <<EOF |
14812 #line 14813 "configure" | 14897 #line 14898 "configure" |
14813 #include "confdefs.h" | 14898 #include "confdefs.h" |
14814 /* Override any gcc2 internal prototype to avoid an error. */ | 14899 /* Override any gcc2 internal prototype to avoid an error. */ |
14815 /* We use char because int might match the return type of a gcc2 | 14900 /* We use char because int might match the return type of a gcc2 |
14816 builtin and then its argument prototype would still apply. */ | 14901 builtin and then its argument prototype would still apply. */ |
14817 char Gpm_Open(); | 14902 char Gpm_Open(); |
14818 | 14903 |
14819 int main() { | 14904 int main() { |
14820 Gpm_Open() | 14905 Gpm_Open() |
14821 ; return 0; } | 14906 ; return 0; } |
14822 EOF | 14907 EOF |
14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14908 if { (eval echo configure:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14824 rm -rf conftest* | 14909 rm -rf conftest* |
14825 eval "ac_cv_lib_$ac_lib_var=yes" | 14910 eval "ac_cv_lib_$ac_lib_var=yes" |
14826 else | 14911 else |
14827 echo "configure: failed program was:" >&5 | 14912 echo "configure: failed program was:" >&5 |
14828 cat conftest.$ac_ext >&5 | 14913 cat conftest.$ac_ext >&5 |
14861 done | 14946 done |
14862 fi | 14947 fi |
14863 | 14948 |
14864 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14949 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14865 != "no no no" && echo "checking for database support" 1>&6 | 14950 != "no no no" && echo "checking for database support" 1>&6 |
14866 echo "configure:14867: checking for database support" >&5 | 14951 echo "configure:14952: checking for database support" >&5 |
14867 | 14952 |
14868 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14953 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14869 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14954 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14870 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14955 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14871 echo "configure:14872: checking for ndbm.h" >&5 | 14956 echo "configure:14957: checking for ndbm.h" >&5 |
14872 | 14957 |
14873 cat > conftest.$ac_ext <<EOF | 14958 cat > conftest.$ac_ext <<EOF |
14874 #line 14875 "configure" | 14959 #line 14960 "configure" |
14875 #include "confdefs.h" | 14960 #include "confdefs.h" |
14876 #include <ndbm.h> | 14961 #include <ndbm.h> |
14877 EOF | 14962 EOF |
14878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14879 { (eval echo configure:14880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14964 { (eval echo configure:14965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14881 if test -z "$ac_err"; then | 14966 if test -z "$ac_err"; then |
14882 rm -rf conftest* | 14967 rm -rf conftest* |
14883 eval "ac_cv_header_$ac_safe=yes" | 14968 eval "ac_cv_header_$ac_safe=yes" |
14884 else | 14969 else |
14904 fi | 14989 fi |
14905 | 14990 |
14906 if test "$with_database_gdbm" != "no"; then | 14991 if test "$with_database_gdbm" != "no"; then |
14907 | 14992 |
14908 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14993 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14909 echo "configure:14910: checking for dbm_open in -lgdbm" >&5 | 14994 echo "configure:14995: checking for dbm_open in -lgdbm" >&5 |
14910 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14995 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14911 | 14996 |
14912 xe_check_libs=" -lgdbm " | 14997 xe_check_libs=" -lgdbm " |
14913 cat > conftest.$ac_ext <<EOF | 14998 cat > conftest.$ac_ext <<EOF |
14914 #line 14915 "configure" | 14999 #line 15000 "configure" |
14915 #include "confdefs.h" | 15000 #include "confdefs.h" |
14916 /* Override any gcc2 internal prototype to avoid an error. */ | 15001 /* Override any gcc2 internal prototype to avoid an error. */ |
14917 /* We use char because int might match the return type of a gcc2 | 15002 /* We use char because int might match the return type of a gcc2 |
14918 builtin and then its argument prototype would still apply. */ | 15003 builtin and then its argument prototype would still apply. */ |
14919 char dbm_open(); | 15004 char dbm_open(); |
14920 | 15005 |
14921 int main() { | 15006 int main() { |
14922 dbm_open() | 15007 dbm_open() |
14923 ; return 0; } | 15008 ; return 0; } |
14924 EOF | 15009 EOF |
14925 if { (eval echo configure:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15010 if { (eval echo configure:15011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14926 rm -rf conftest* | 15011 rm -rf conftest* |
14927 eval "ac_cv_lib_$ac_lib_var=yes" | 15012 eval "ac_cv_lib_$ac_lib_var=yes" |
14928 else | 15013 else |
14929 echo "configure: failed program was:" >&5 | 15014 echo "configure: failed program was:" >&5 |
14930 cat conftest.$ac_ext >&5 | 15015 cat conftest.$ac_ext >&5 |
14948 | 15033 |
14949 fi | 15034 fi |
14950 | 15035 |
14951 if test "$with_database_dbm" != "no"; then | 15036 if test "$with_database_dbm" != "no"; then |
14952 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15037 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14953 echo "configure:14954: checking for dbm_open" >&5 | 15038 echo "configure:15039: checking for dbm_open" >&5 |
14954 | 15039 |
14955 cat > conftest.$ac_ext <<EOF | 15040 cat > conftest.$ac_ext <<EOF |
14956 #line 14957 "configure" | 15041 #line 15042 "configure" |
14957 #include "confdefs.h" | 15042 #include "confdefs.h" |
14958 /* System header to define __stub macros and hopefully few prototypes, | 15043 /* System header to define __stub macros and hopefully few prototypes, |
14959 which can conflict with char dbm_open(); below. */ | 15044 which can conflict with char dbm_open(); below. */ |
14960 #include <assert.h> | 15045 #include <assert.h> |
14961 /* Override any gcc2 internal prototype to avoid an error. */ | 15046 /* Override any gcc2 internal prototype to avoid an error. */ |
14974 dbm_open(); | 15059 dbm_open(); |
14975 #endif | 15060 #endif |
14976 | 15061 |
14977 ; return 0; } | 15062 ; return 0; } |
14978 EOF | 15063 EOF |
14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15064 if { (eval echo configure:15065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14980 rm -rf conftest* | 15065 rm -rf conftest* |
14981 eval "ac_cv_func_dbm_open=yes" | 15066 eval "ac_cv_func_dbm_open=yes" |
14982 else | 15067 else |
14983 echo "configure: failed program was:" >&5 | 15068 echo "configure: failed program was:" >&5 |
14984 cat conftest.$ac_ext >&5 | 15069 cat conftest.$ac_ext >&5 |
14993 else | 15078 else |
14994 echo "$ac_t""no" 1>&6 | 15079 echo "$ac_t""no" 1>&6 |
14995 | 15080 |
14996 | 15081 |
14997 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15082 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14998 echo "configure:14999: checking for dbm_open in -ldbm" >&5 | 15083 echo "configure:15084: checking for dbm_open in -ldbm" >&5 |
14999 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15084 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15000 | 15085 |
15001 xe_check_libs=" -ldbm " | 15086 xe_check_libs=" -ldbm " |
15002 cat > conftest.$ac_ext <<EOF | 15087 cat > conftest.$ac_ext <<EOF |
15003 #line 15004 "configure" | 15088 #line 15089 "configure" |
15004 #include "confdefs.h" | 15089 #include "confdefs.h" |
15005 /* Override any gcc2 internal prototype to avoid an error. */ | 15090 /* Override any gcc2 internal prototype to avoid an error. */ |
15006 /* We use char because int might match the return type of a gcc2 | 15091 /* We use char because int might match the return type of a gcc2 |
15007 builtin and then its argument prototype would still apply. */ | 15092 builtin and then its argument prototype would still apply. */ |
15008 char dbm_open(); | 15093 char dbm_open(); |
15009 | 15094 |
15010 int main() { | 15095 int main() { |
15011 dbm_open() | 15096 dbm_open() |
15012 ; return 0; } | 15097 ; return 0; } |
15013 EOF | 15098 EOF |
15014 if { (eval echo configure:15015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15099 if { (eval echo configure:15100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15015 rm -rf conftest* | 15100 rm -rf conftest* |
15016 eval "ac_cv_lib_$ac_lib_var=yes" | 15101 eval "ac_cv_lib_$ac_lib_var=yes" |
15017 else | 15102 else |
15018 echo "configure: failed program was:" >&5 | 15103 echo "configure: failed program was:" >&5 |
15019 cat conftest.$ac_ext >&5 | 15104 cat conftest.$ac_ext >&5 |
15050 } | 15135 } |
15051 | 15136 |
15052 | 15137 |
15053 if test "$with_database_berkdb" != "no"; then | 15138 if test "$with_database_berkdb" != "no"; then |
15054 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15139 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15055 echo "configure:15056: checking for Berkeley db.h" >&5 | 15140 echo "configure:15141: checking for Berkeley db.h" >&5 |
15056 for header in "db/db.h" "db.h"; do | 15141 for header in "db/db.h" "db.h"; do |
15057 cat > conftest.$ac_ext <<EOF | 15142 cat > conftest.$ac_ext <<EOF |
15058 #line 15059 "configure" | 15143 #line 15144 "configure" |
15059 #include "confdefs.h" | 15144 #include "confdefs.h" |
15060 | 15145 |
15061 #include <stdlib.h> | 15146 #include <stdlib.h> |
15062 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15147 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15063 #ifdef HAVE_INTTYPES_H | 15148 #ifdef HAVE_INTTYPES_H |
15075 | 15160 |
15076 int main() { | 15161 int main() { |
15077 | 15162 |
15078 ; return 0; } | 15163 ; return 0; } |
15079 EOF | 15164 EOF |
15080 if { (eval echo configure:15081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15165 if { (eval echo configure:15166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15081 rm -rf conftest* | 15166 rm -rf conftest* |
15082 db_h_file="$header"; break | 15167 db_h_file="$header"; break |
15083 else | 15168 else |
15084 echo "configure: failed program was:" >&5 | 15169 echo "configure: failed program was:" >&5 |
15085 cat conftest.$ac_ext >&5 | 15170 cat conftest.$ac_ext >&5 |
15091 else echo "$ac_t""$db_h_file" 1>&6 | 15176 else echo "$ac_t""$db_h_file" 1>&6 |
15092 fi | 15177 fi |
15093 | 15178 |
15094 if test "$with_database_berkdb" != "no"; then | 15179 if test "$with_database_berkdb" != "no"; then |
15095 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15180 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15096 echo "configure:15097: checking for Berkeley DB version" >&5 | 15181 echo "configure:15182: checking for Berkeley DB version" >&5 |
15097 cat > conftest.$ac_ext <<EOF | 15182 cat > conftest.$ac_ext <<EOF |
15098 #line 15099 "configure" | 15183 #line 15184 "configure" |
15099 #include "confdefs.h" | 15184 #include "confdefs.h" |
15100 #include <$db_h_file> | 15185 #include <$db_h_file> |
15101 #if DB_VERSION_MAJOR > 1 | 15186 #if DB_VERSION_MAJOR > 1 |
15102 yes | 15187 yes |
15103 #endif | 15188 #endif |
15105 EOF | 15190 EOF |
15106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15107 egrep "yes" >/dev/null 2>&1; then | 15192 egrep "yes" >/dev/null 2>&1; then |
15108 rm -rf conftest* | 15193 rm -rf conftest* |
15109 cat > conftest.$ac_ext <<EOF | 15194 cat > conftest.$ac_ext <<EOF |
15110 #line 15111 "configure" | 15195 #line 15196 "configure" |
15111 #include "confdefs.h" | 15196 #include "confdefs.h" |
15112 #include <$db_h_file> | 15197 #include <$db_h_file> |
15113 #if DB_VERSION_MAJOR > 2 | 15198 #if DB_VERSION_MAJOR > 2 |
15114 yes | 15199 yes |
15115 #endif | 15200 #endif |
15117 EOF | 15202 EOF |
15118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15119 egrep "yes" >/dev/null 2>&1; then | 15204 egrep "yes" >/dev/null 2>&1; then |
15120 rm -rf conftest* | 15205 rm -rf conftest* |
15121 cat > conftest.$ac_ext <<EOF | 15206 cat > conftest.$ac_ext <<EOF |
15122 #line 15123 "configure" | 15207 #line 15208 "configure" |
15123 #include "confdefs.h" | 15208 #include "confdefs.h" |
15124 #include <$db_h_file> | 15209 #include <$db_h_file> |
15125 #if DB_VERSION_MAJOR > 3 | 15210 #if DB_VERSION_MAJOR > 3 |
15126 yes | 15211 yes |
15127 #endif | 15212 #endif |
15151 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15236 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15152 fi | 15237 fi |
15153 rm -f conftest* | 15238 rm -f conftest* |
15154 | 15239 |
15155 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15240 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15156 echo "configure:15157: checking for $dbfunc" >&5 | 15241 echo "configure:15242: checking for $dbfunc" >&5 |
15157 | 15242 |
15158 cat > conftest.$ac_ext <<EOF | 15243 cat > conftest.$ac_ext <<EOF |
15159 #line 15160 "configure" | 15244 #line 15245 "configure" |
15160 #include "confdefs.h" | 15245 #include "confdefs.h" |
15161 /* System header to define __stub macros and hopefully few prototypes, | 15246 /* System header to define __stub macros and hopefully few prototypes, |
15162 which can conflict with char $dbfunc(); below. */ | 15247 which can conflict with char $dbfunc(); below. */ |
15163 #include <assert.h> | 15248 #include <assert.h> |
15164 /* Override any gcc2 internal prototype to avoid an error. */ | 15249 /* Override any gcc2 internal prototype to avoid an error. */ |
15177 $dbfunc(); | 15262 $dbfunc(); |
15178 #endif | 15263 #endif |
15179 | 15264 |
15180 ; return 0; } | 15265 ; return 0; } |
15181 EOF | 15266 EOF |
15182 if { (eval echo configure:15183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15267 if { (eval echo configure:15268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15183 rm -rf conftest* | 15268 rm -rf conftest* |
15184 eval "ac_cv_func_$dbfunc=yes" | 15269 eval "ac_cv_func_$dbfunc=yes" |
15185 else | 15270 else |
15186 echo "configure: failed program was:" >&5 | 15271 echo "configure: failed program was:" >&5 |
15187 cat conftest.$ac_ext >&5 | 15272 cat conftest.$ac_ext >&5 |
15196 else | 15281 else |
15197 echo "$ac_t""no" 1>&6 | 15282 echo "$ac_t""no" 1>&6 |
15198 | 15283 |
15199 | 15284 |
15200 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15285 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15201 echo "configure:15202: checking for $dbfunc in -ldb" >&5 | 15286 echo "configure:15287: checking for $dbfunc in -ldb" >&5 |
15202 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15287 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15203 | 15288 |
15204 xe_check_libs=" -ldb " | 15289 xe_check_libs=" -ldb " |
15205 cat > conftest.$ac_ext <<EOF | 15290 cat > conftest.$ac_ext <<EOF |
15206 #line 15207 "configure" | 15291 #line 15292 "configure" |
15207 #include "confdefs.h" | 15292 #include "confdefs.h" |
15208 /* Override any gcc2 internal prototype to avoid an error. */ | 15293 /* Override any gcc2 internal prototype to avoid an error. */ |
15209 /* We use char because int might match the return type of a gcc2 | 15294 /* We use char because int might match the return type of a gcc2 |
15210 builtin and then its argument prototype would still apply. */ | 15295 builtin and then its argument prototype would still apply. */ |
15211 char $dbfunc(); | 15296 char $dbfunc(); |
15212 | 15297 |
15213 int main() { | 15298 int main() { |
15214 $dbfunc() | 15299 $dbfunc() |
15215 ; return 0; } | 15300 ; return 0; } |
15216 EOF | 15301 EOF |
15217 if { (eval echo configure:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15302 if { (eval echo configure:15303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15218 rm -rf conftest* | 15303 rm -rf conftest* |
15219 eval "ac_cv_lib_$ac_lib_var=yes" | 15304 eval "ac_cv_lib_$ac_lib_var=yes" |
15220 else | 15305 else |
15221 echo "configure: failed program was:" >&5 | 15306 echo "configure: failed program was:" >&5 |
15222 cat conftest.$ac_ext >&5 | 15307 cat conftest.$ac_ext >&5 |
15246 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15331 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15247 rm -f $tempcname | 15332 rm -f $tempcname |
15248 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15333 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15249 | 15334 |
15250 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15335 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15251 echo "configure:15252: checking for $dbfunc in -ldb" >&5 | 15336 echo "configure:15337: checking for $dbfunc in -ldb" >&5 |
15252 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15337 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15253 | 15338 |
15254 xe_check_libs=" -ldb " | 15339 xe_check_libs=" -ldb " |
15255 cat > conftest.$ac_ext <<EOF | 15340 cat > conftest.$ac_ext <<EOF |
15256 #line 15257 "configure" | 15341 #line 15342 "configure" |
15257 #include "confdefs.h" | 15342 #include "confdefs.h" |
15258 /* Override any gcc2 internal prototype to avoid an error. */ | 15343 /* Override any gcc2 internal prototype to avoid an error. */ |
15259 /* We use char because int might match the return type of a gcc2 | 15344 /* We use char because int might match the return type of a gcc2 |
15260 builtin and then its argument prototype would still apply. */ | 15345 builtin and then its argument prototype would still apply. */ |
15261 char $dbfunc(); | 15346 char $dbfunc(); |
15262 | 15347 |
15263 int main() { | 15348 int main() { |
15264 $dbfunc() | 15349 $dbfunc() |
15265 ; return 0; } | 15350 ; return 0; } |
15266 EOF | 15351 EOF |
15267 if { (eval echo configure:15268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15352 if { (eval echo configure:15353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15268 rm -rf conftest* | 15353 rm -rf conftest* |
15269 eval "ac_cv_lib_$ac_lib_var=yes" | 15354 eval "ac_cv_lib_$ac_lib_var=yes" |
15270 else | 15355 else |
15271 echo "configure: failed program was:" >&5 | 15356 echo "configure: failed program was:" >&5 |
15272 cat conftest.$ac_ext >&5 | 15357 cat conftest.$ac_ext >&5 |
15321 fi | 15406 fi |
15322 | 15407 |
15323 if test "$with_socks" = "yes"; then | 15408 if test "$with_socks" = "yes"; then |
15324 | 15409 |
15325 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15410 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15326 echo "configure:15327: checking for SOCKSinit in -lsocks" >&5 | 15411 echo "configure:15412: checking for SOCKSinit in -lsocks" >&5 |
15327 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15412 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15328 | 15413 |
15329 xe_check_libs=" -lsocks " | 15414 xe_check_libs=" -lsocks " |
15330 cat > conftest.$ac_ext <<EOF | 15415 cat > conftest.$ac_ext <<EOF |
15331 #line 15332 "configure" | 15416 #line 15417 "configure" |
15332 #include "confdefs.h" | 15417 #include "confdefs.h" |
15333 /* Override any gcc2 internal prototype to avoid an error. */ | 15418 /* Override any gcc2 internal prototype to avoid an error. */ |
15334 /* We use char because int might match the return type of a gcc2 | 15419 /* We use char because int might match the return type of a gcc2 |
15335 builtin and then its argument prototype would still apply. */ | 15420 builtin and then its argument prototype would still apply. */ |
15336 char SOCKSinit(); | 15421 char SOCKSinit(); |
15337 | 15422 |
15338 int main() { | 15423 int main() { |
15339 SOCKSinit() | 15424 SOCKSinit() |
15340 ; return 0; } | 15425 ; return 0; } |
15341 EOF | 15426 EOF |
15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15343 rm -rf conftest* | 15428 rm -rf conftest* |
15344 eval "ac_cv_lib_$ac_lib_var=yes" | 15429 eval "ac_cv_lib_$ac_lib_var=yes" |
15345 else | 15430 else |
15346 echo "configure: failed program was:" >&5 | 15431 echo "configure: failed program was:" >&5 |
15347 cat conftest.$ac_ext >&5 | 15432 cat conftest.$ac_ext >&5 |
15391 | 15476 |
15392 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15477 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15393 fi | 15478 fi |
15394 | 15479 |
15395 cat > conftest.$ac_ext <<EOF | 15480 cat > conftest.$ac_ext <<EOF |
15396 #line 15397 "configure" | 15481 #line 15482 "configure" |
15397 #include "confdefs.h" | 15482 #include "confdefs.h" |
15398 int main(int c,char *v[]){return 0;} | 15483 int main(int c,char *v[]){return 0;} |
15399 EOF | 15484 EOF |
15400 if { (eval echo configure:15401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15485 if { (eval echo configure:15486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15401 then | 15486 then |
15402 : | 15487 : |
15403 else | 15488 else |
15404 conftest_rc="$?" | 15489 conftest_rc="$?" |
15405 echo "configure: failed program was:" >&5 | 15490 echo "configure: failed program was:" >&5 |
15754 | 15839 |
15755 | 15840 |
15756 | 15841 |
15757 | 15842 |
15758 | 15843 |
15844 | |
15759 if test "$with_prefix" = "yes"; then | 15845 if test "$with_prefix" = "yes"; then |
15760 { test "$extra_verbose" = "yes" && cat << \EOF | 15846 { test "$extra_verbose" = "yes" && cat << \EOF |
15761 Defining PREFIX_USER_DEFINED | 15847 Defining PREFIX_USER_DEFINED |
15762 EOF | 15848 EOF |
15763 cat >> confdefs.h <<\EOF | 15849 cat >> confdefs.h <<\EOF |
15980 EOF | 16066 EOF |
15981 cat >> confdefs.h <<\EOF | 16067 cat >> confdefs.h <<\EOF |
15982 #define IPV6_CANONICALIZE 1 | 16068 #define IPV6_CANONICALIZE 1 |
15983 EOF | 16069 EOF |
15984 } | 16070 } |
16071 | |
15985 | 16072 |
15986 | 16073 |
15987 | 16074 |
15988 ( | 16075 ( |
15989 if test -f /etc/osversion; then echo "osversion: `cat /etc/osversion`" | 16076 if test -f /etc/osversion; then echo "osversion: `cat /etc/osversion`" |
16008 echo " | 16095 echo " |
16009 | 16096 |
16010 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" $xemacs_extra_name configured for \`$canonical'. | 16097 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" $xemacs_extra_name configured for \`$canonical'. |
16011 " | 16098 " |
16012 echo " | 16099 echo " |
16013 Compilation / Installation:" | 16100 Compilation Environment and Installation Defaults:" |
16014 echo " Source code location: $srcdir" | 16101 echo " Source code location: $srcdir" |
16015 echo " Installation prefix: $prefix" | 16102 echo " Installation prefix: $prefix" |
16016 if test -n "$site_includes"; then | 16103 if test -n "$site_includes"; then |
16017 echo " Additional header files: $site_includes" | 16104 echo " Additional header files: $site_includes" |
16018 fi | 16105 fi |
16033 if test -n "$machfile" | 16120 if test -n "$machfile" |
16034 then echo " Machine description file: \`$machfile'" | 16121 then echo " Machine description file: \`$machfile'" |
16035 else echo " Not using any machine description file" | 16122 else echo " Not using any machine description file" |
16036 fi | 16123 fi |
16037 | 16124 |
16038 echo " Compiler: $XEMACS_CC $CFLAGS" | 16125 echo " Compiler version: $compiler_version" |
16126 if test -n "$gcc_compiler_specs"; then | |
16127 echo " - GCC specs file: $gcc_compiler_specs" | |
16128 fi | |
16129 echo " - Compiler command: $XEMACS_CC $XE_CFLAGS" | |
16130 if test "$CC" != "$XEMACS_CC"; then | |
16131 echo " Compiler version for lib-src: (detection code unimplemented)" | |
16132 echo " - Compiler command for lib-src: $CC $CFLAGS" | |
16133 if test "$xemacs_cc_cc_mismatch" = "yes"; then | |
16134 echo " WARNING: CC and XEMACS_CC mismatched; check CFLAGS carefully." | |
16135 fi | |
16136 fi | |
16137 echo " libc version: $libc_version" | |
16039 echo " Relocating allocator for buffers: $rel_alloc" | 16138 echo " Relocating allocator for buffers: $rel_alloc" |
16040 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" | 16139 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" |
16041 case "$ld_switch_site" in | 16140 case "$ld_switch_site" in |
16042 *nocombreloc*) echo " Linking with \`-z nocombreloc'. | 16141 *nocombreloc*) echo " Linking with \`-z nocombreloc'. |
16043 - Consider configuring with --pdump." ;; | 16142 - Consider configuring with --pdump." ;; |
16427 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g | 16526 s%@RECURSIVE_MAKE@%$RECURSIVE_MAKE%g |
16428 s%@native_sound_lib@%$native_sound_lib%g | 16527 s%@native_sound_lib@%$native_sound_lib%g |
16429 s%@sound_cflags@%$sound_cflags%g | 16528 s%@sound_cflags@%$sound_cflags%g |
16430 s%@dynodump_arch@%$dynodump_arch%g | 16529 s%@dynodump_arch@%$dynodump_arch%g |
16431 s%@XEMACS_CC@%$XEMACS_CC%g | 16530 s%@XEMACS_CC@%$XEMACS_CC%g |
16531 s%@XE_CFLAGS@%$XE_CFLAGS%g | |
16432 s%@internal_makefile_list@%$internal_makefile_list%g | 16532 s%@internal_makefile_list@%$internal_makefile_list%g |
16433 | 16533 |
16434 CEOF | 16534 CEOF |
16435 EOF | 16535 EOF |
16436 | 16536 |